Github messages for voidlinux
 help / color / mirror / Atom feed
From: Emru1 <Emru1@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: ax25-tools-0.0.10rc5
Date: Thu, 06 Apr 2023 15:07:29 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43301@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

There is a new pull request by Emru1 against master on the void-packages repository

https://github.com/Emru1/void-packages ax25-tools
https://github.com/void-linux/void-packages/pull/43301

New package: ax25-tools-0.0.10rc5
#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv6l-musl


A patch file from https://github.com/void-linux/void-packages/pull/43301.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ax25-tools-43301.patch --]
[-- Type: text/x-diff, Size: 7619 bytes --]

From 2c0ef01d85a70e935521b2a1dcc63ce1b7e9dfe9 Mon Sep 17 00:00:00 2001
From: Emil Tomczyk <emil.tomczyk@skni.umcs.pl>
Date: Thu, 2 Sep 2021 00:14:39 +0200
Subject: [PATCH] New package: ax25-tools-0.0.10rc5

---
 srcpkgs/ax25-tools/patches/musl.patch | 154 ++++++++++++++++++++++++++
 srcpkgs/ax25-tools/template           |  13 +++
 2 files changed, 167 insertions(+)
 create mode 100644 srcpkgs/ax25-tools/patches/musl.patch
 create mode 100644 srcpkgs/ax25-tools/template

diff --git a/srcpkgs/ax25-tools/patches/musl.patch b/srcpkgs/ax25-tools/patches/musl.patch
new file mode 100644
index 000000000000..53a8ac88f800
--- /dev/null
+++ b/srcpkgs/ax25-tools/patches/musl.patch
@@ -0,0 +1,154 @@
+Common subdirectories: tcpip/.deps and tcpip_a/.deps
+diff --color --new-file -Np1 tcpip/talkd.h tcpip_a/talkd.h
+*** a/tcpip/talkd.h	1970-01-01 01:00:00.000000000 +0100
+--- b/tcpip/talkd.h	2021-09-01 23:25:25.059430912 +0200
+***************
+*** 0 ****
+--- 1,127 ----
++ 
++ /*
++  * Copyright (c) 1983, 1993
++  *	The Regents of the University of California.  All rights reserved.
++  *
++  * Redistribution and use in source and binary forms, with or without
++  * modification, are permitted provided that the following conditions
++  * are met:
++  * 1. Redistributions of source code must retain the above copyright
++  *    notice, this list of conditions and the following disclaimer.
++  * 2. Redistributions in binary form must reproduce the above copyright
++  *    notice, this list of conditions and the following disclaimer in the
++  *    documentation and/or other materials provided with the distribution.
++  * 4. Neither the name of the University nor the names of its contributors
++  *    may be used to endorse or promote products derived from this software
++  *    without specific prior written permission.
++  *
++  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++  * SUCH DAMAGE.
++  *
++  *	@(#)talkd.h	8.1 (Berkeley) 6/2/93
++  */
++ 
++ #ifndef _PROTOCOLS_TALKD_H
++ #define	_PROTOCOLS_TALKD_H 1
++ 
++ /*
++  * This describes the protocol used by the talk server and clients.
++  *
++  * The talk server acts a repository of invitations, responding to
++  * requests by clients wishing to rendezvous for the purpose of
++  * holding a conversation.  In normal operation, a client, the caller,
++  * initiates a rendezvous by sending a CTL_MSG to the server of
++  * type LOOK_UP.  This causes the server to search its invitation
++  * tables to check if an invitation currently exists for the caller
++  * (to speak to the callee specified in the message).  If the lookup
++  * fails, the caller then sends an ANNOUNCE message causing the server
++  * to broadcast an announcement on the callee's login ports requesting
++  * contact.  When the callee responds, the local server uses the
++  * recorded invitation to respond with the appropriate rendezvous
++  * address and the caller and callee client programs establish a
++  * stream connection through which the conversation takes place.
++  */
++ 
++ #include <sys/types.h>
++ #include <sys/socket.h>
++ #include <stdint.h>
++ 
++ #include <features.h>
++ #ifndef __GLIBC__
++ struct osockaddr
++ {
++   unsigned short int sa_family;
++   unsigned char sa_data[14];
++ };
++ #else
++ #include <bits/types/struct_osockaddr.h>
++ #endif
++ 
++ /*
++  * Client->server request message format.
++  */
++ typedef struct {
++ 	unsigned char	vers;	/* protocol version */
++ 	unsigned char	type;	/* request type, see below */
++ 	unsigned char	answer;	/* not used */
++ 	unsigned char	pad;
++ 	uint32_t id_num;	/* message id */
++ 	struct	osockaddr addr;		/* old (4.3) style */
++ 	struct	osockaddr ctl_addr;	/* old (4.3) style */
++ 	int32_t	pid;		/* caller's process id */
++ #define	NAME_SIZE	12
++ 	char	l_name[NAME_SIZE];/* caller's name */
++ 	char	r_name[NAME_SIZE];/* callee's name */
++ #define	TTY_SIZE	16
++ 	char	r_tty[TTY_SIZE];/* callee's tty name */
++ } CTL_MSG;
++ 
++ /*
++  * Server->client response message format.
++  */
++ typedef struct {
++ 	unsigned char	vers;	/* protocol version */
++ 	unsigned char	type;	/* type of request message, see below */
++ 	unsigned char	answer;	/* response to request message, see below */
++ 	unsigned char	pad;
++ 	uint32_t	id_num;	/* message id */
++ 	struct	osockaddr addr;	/* address for establishing conversation */
++ } CTL_RESPONSE;
++ 
++ #define	TALK_VERSION	1		/* protocol version */
++ 
++ /* message type values */
++ #define LEAVE_INVITE	0	/* leave invitation with server */
++ #define LOOK_UP		1	/* check for invitation by callee */
++ #define DELETE		2	/* delete invitation by caller */
++ #define ANNOUNCE	3	/* announce invitation by caller */
++ 
++ /* answer values */
++ #define SUCCESS		0	/* operation completed properly */
++ #define NOT_HERE	1	/* callee not logged in */
++ #define FAILED		2	/* operation failed for unexplained reason */
++ #define MACHINE_UNKNOWN	3	/* caller's machine name unknown */
++ #define PERMISSION_DENIED 4	/* callee's tty doesn't permit announce */
++ #define UNKNOWN_REQUEST	5	/* request has invalid type value */
++ #define	BADVERSION	6	/* request has invalid protocol version */
++ #define	BADADDR		7	/* request has invalid addr value */
++ #define	BADCTLADDR	8	/* request has invalid ctl_addr value */
++ 
++ /*
++  * Operational parameters.
++  */
++ #define MAX_LIFE	60	/* max time daemon saves invitations */
++ /* RING_WAIT should be 10's of seconds less than MAX_LIFE */
++ #define RING_WAIT	30	/* time to wait before resending invitation */
++ 
++ #endif /* protocols/talkd.h */
++ 
+diff --color --new-file -Np1 tcpip/ttylinkd.c tcpip_a/ttylinkd.c
+*** a/tcpip/ttylinkd.c	2021-09-01 23:20:39.121449187 +0200
+--- b/tcpip/ttylinkd.c	2021-09-01 23:25:25.059430912 +0200
+***************
+*** 41,43 ****
+  
+! #include <protocols/talkd.h>
+  
+--- 41,43 ----
+  
+! #include "talkd.h"
+  
+*** a/dmascc/dmascc_cfg.c	2019-03-28 19:07:47.000000000 +0100
+--- b/dmascc/dmascc_cfg.c	2021-09-01 23:41:28.698369324 +0200
+***************
+*** 26,27 ****
+--- 26,28 ----
+  #include <sys/ioctl.h>
++ #include <sys/types.h>
+  #include <linux/if.h>
diff --git a/srcpkgs/ax25-tools/template b/srcpkgs/ax25-tools/template
new file mode 100644
index 000000000000..9e23aa0463ff
--- /dev/null
+++ b/srcpkgs/ax25-tools/template
@@ -0,0 +1,13 @@
+# Template file for 'ax25-tools'
+pkgname=ax25-tools
+version=0.0.10rc5
+revision=1
+wrksrc="ax25-tools-${version/rc/-rc}"
+build_style=gnu-configure
+makedepends="zlib-devel libax25-devel"
+short_desc="Package containing many essential tools for hamradio on Linux"
+maintainer="Emil Tomczyk <emil.tomczyk@skni.umcs.pl>"
+license="GPL-2.0-only"
+homepage="https://linux-ax25.in-berlin.de/wiki/Main_Page"
+distfiles="https://linux-ax25.in-berlin.de/pub/ax25-tools/${wrksrc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

             reply	other threads:[~2023-04-06 13:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 13:07 Emru1 [this message]
2023-04-06 13:14 ` [PR PATCH] [Updated] " Emru1
2023-04-18 20:23 ` Emru1
2023-06-25 18:28 ` [PR PATCH] [Closed]: New package: ax25-tools-0.0.10.rc5 Duncaen
  -- strict thread matches above, loose matches on Subject: below --
2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43301@inbox.vuxu.org \
    --to=emru1@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).