Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ax25-tools-0.0.10rc5
@ 2021-09-01 20:08 Emru1
  2021-09-01 20:42 ` [PR PATCH] [Updated] " Emru1
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Emru1 @ 2021-09-01 20:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1594 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/32800

New package: ax25-tools-0.0.10rc5
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 6dab00dac523f53d605cf3a07a05aceeac99070d Mon Sep 17 00:00:00 2001
From: Emil Tomczyk <emil.tomczyk@skni.umcs.pl>
Date: Wed, 1 Sep 2021 22:07:22 +0200
Subject: [PATCH] New package: ax25-tools-0.0.10rc5

---
 srcpkgs/ax25-tools/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/ax25-tools/template

diff --git a/srcpkgs/ax25-tools/template b/srcpkgs/ax25-tools/template
new file mode 100644
index 000000000000..393da9c4f059
--- /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"
+homepage="https://www.linux-ax25.org/wiki/Main_Page"
+distfiles="https://www.linux-ax25.org/pub/ax25-tools/${wrksrc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: ax25-tools-0.0.10rc5
  2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1
@ 2021-09-01 20:42 ` Emru1
  2021-09-01 22:15 ` Emru1
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Emru1 @ 2021-09-01 20:42 UTC (permalink / raw)
  To: ml

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

There is an updated 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/32800

New package: ax25-tools-0.0.10rc5
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 009821340298bcf1d89c6b77a9cf69343000f870 Mon Sep 17 00:00:00 2001
From: Emil Tomczyk <emil.tomczyk@skni.umcs.pl>
Date: Wed, 1 Sep 2021 22:42:11 +0200
Subject: [PATCH] New package: ax25-tools-0.0.10rc5

---
 srcpkgs/ax25-tools/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/ax25-tools/template

diff --git a/srcpkgs/ax25-tools/template b/srcpkgs/ax25-tools/template
new file mode 100644
index 000000000000..fa6ba15a7f0a
--- /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://www.linux-ax25.org/wiki/Main_Page"
+distfiles="https://www.linux-ax25.org/pub/ax25-tools/${wrksrc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: ax25-tools-0.0.10rc5
  2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1
  2021-09-01 20:42 ` [PR PATCH] [Updated] " Emru1
@ 2021-09-01 22:15 ` Emru1
  2022-06-05  2:14 ` github-actions
  2022-06-19  2:15 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 7+ messages in thread
From: Emru1 @ 2021-09-01 22:15 UTC (permalink / raw)
  To: ml

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

There is an updated 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/32800

New package: ax25-tools-0.0.10rc5
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 1e0e21671200b878f0b43f20ca60b680656c9b4e 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..fa6ba15a7f0a
--- /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://www.linux-ax25.org/wiki/Main_Page"
+distfiles="https://www.linux-ax25.org/pub/ax25-tools/${wrksrc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: ax25-tools-0.0.10rc5
  2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1
  2021-09-01 20:42 ` [PR PATCH] [Updated] " Emru1
  2021-09-01 22:15 ` Emru1
@ 2022-06-05  2:14 ` github-actions
  2022-06-19  2:15 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-06-05  2:14 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/32800#issuecomment-1146724889

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: ax25-tools-0.0.10rc5
  2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1
                   ` (2 preceding siblings ...)
  2022-06-05  2:14 ` github-actions
@ 2022-06-19  2:15 ` github-actions
  3 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-06-19  2:15 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: ax25-tools-0.0.10rc5
https://github.com/void-linux/void-packages/pull/32800

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: ax25-tools-0.0.10rc5
  2023-04-06 13:07 [PR PATCH] " Emru1
  2023-04-06 13:14 ` [PR PATCH] [Updated] " Emru1
@ 2023-04-18 20:23 ` Emru1
  1 sibling, 0 replies; 7+ messages in thread
From: Emru1 @ 2023-04-18 20:23 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 7601 bytes --]

From e521e31fe36a16bac7fc3d6832657ceb045fe9a4 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.10.rc5

---
 srcpkgs/ax25-tools/patches/musl.patch | 154 ++++++++++++++++++++++++++
 srcpkgs/ax25-tools/template           |  12 ++
 2 files changed, 166 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..aa4379ec4eb9
--- /dev/null
+++ b/srcpkgs/ax25-tools/template
@@ -0,0 +1,12 @@
+# Template file for 'ax25-tools'
+pkgname=ax25-tools
+version=0.0.10.rc5
+revision=1
+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/ax25-tools-${version/.rc/-rc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: ax25-tools-0.0.10rc5
  2023-04-06 13:07 [PR PATCH] " Emru1
@ 2023-04-06 13:14 ` Emru1
  2023-04-18 20:23 ` Emru1
  1 sibling, 0 replies; 7+ messages in thread
From: Emru1 @ 2023-04-06 13:14 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 7598 bytes --]

From b431176360728153d6f159b2e872a161272a8366 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           |  12 ++
 2 files changed, 166 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..62c942bfc27d
--- /dev/null
+++ b/srcpkgs/ax25-tools/template
@@ -0,0 +1,12 @@
+# Template file for 'ax25-tools'
+pkgname=ax25-tools
+version=0.0.10rc5
+revision=1
+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/ax25-tools-${version/rc/-rc}.tar.gz"
+checksum=92a9cb8b58a86dcb9f55630fc54c9a46c58a20fc93bed524b8c111190b36aa06

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-18 20:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 20:08 [PR PATCH] New package: ax25-tools-0.0.10rc5 Emru1
2021-09-01 20:42 ` [PR PATCH] [Updated] " Emru1
2021-09-01 22:15 ` Emru1
2022-06-05  2:14 ` github-actions
2022-06-19  2:15 ` [PR PATCH] [Closed]: " github-actions
2023-04-06 13:07 [PR PATCH] " Emru1
2023-04-06 13:14 ` [PR PATCH] [Updated] " Emru1
2023-04-18 20:23 ` Emru1

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).