diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /media-radio | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'media-radio')
28 files changed, 553 insertions, 132 deletions
diff --git a/media-radio/Manifest.gz b/media-radio/Manifest.gz Binary files differindex ae9089f02c1d..a7a180dc5d04 100644 --- a/media-radio/Manifest.gz +++ b/media-radio/Manifest.gz diff --git a/media-radio/ax25-apps/Manifest b/media-radio/ax25-apps/Manifest index 31f40dd5d7cd..bc50ff41740e 100644 --- a/media-radio/ax25-apps/Manifest +++ b/media-radio/ax25-apps/Manifest @@ -1,9 +1,8 @@ -AUX ax25-apps-0.0.8-fno-common.patch 3406 BLAKE2B 528aa74bfb7a6b51215dbc4ace9b257d9bde40dd447051c1484f9bfb82df38befe8de39cc1d91d60a9065e4227c4272606a05d3351dd1d36bf9da148a44df36a SHA512 102672cffc39a942e361ebffc3d1cd910ef7977b653e8c9d1165f5bb0ca456d196f1d63dcaee55e4ea9e257c6d37c053a451c0477a916b50745e7cec2e14aa2d AUX ax25-apps-0.0.8_rc5-tinfo.patch 696 BLAKE2B b17b0888a7b571ad039281ee6df87aedc9549c53e08e75ff65f6c022ad643d0e92d24d9c5a8487a4b7669fb2dffe70dea8d89a774b3f6967a793963c58c2cf27 SHA512 930d1edcd56b99c9337a7306a492a9514fa38399b74ad2d6a9d80369cf5f78d86d1f2043f737fb072071db75ae937b2fdec3260bc53595ce28c7a08c47b9f80a -AUX ax25-apps-0.8.4-tinfo.patch 582 BLAKE2B 6f5431add14ef4c2ac789d6a3159ec30a4d0a92336a90773968453658964a18db9a6afb2917e41e3688d121718f86d5ee5205effb23b8db4c29155b6eb949b45 SHA512 901218e0dd279f61892e0eadcdcb9e1bc46007c9735efb658f1ee1bd0bb6df9ab8704eec1087ce7550674e03fe643ea13811721c28f9cf0be445e881cb19b626 AUX ax25ipd.rc 379 BLAKE2B dfc102809a52feffee96d0a5f67874f9241b26a9ee18ccf88a5c04f154f0681f8b9da9190bbad81588de805e10bd49ec0fb0c534f5861405ab0ca59129852a33 SHA512 ce11d6f4bd4f66d79feafec81cde34a62278c9a980299da2feedba8137df8efc607298ff03324dc02ceaacebd2fef9e3a100533b887ba44dec191b759d8e1e67 AUX ax25mond.rc 383 BLAKE2B 65f830cea757b7c649ab31480e7beaa0e8b40017c3fd59559969942c27c6459340dfa0223de829049bdc0cedd67a2441202ecca60c341162f5eaf621c6fef01e SHA512 c8d8dc7ada7fa427da85b794969e821c5e3cde66871427d36fa5cfc3a03c30735d869444594f3f17074529465325c7b48806a67257b9b3e0ef3fa6ca258e90c2 AUX ax25rtd.rc 379 BLAKE2B 823318cdaf456d0536d843ddf0a25e2a614ddcc6dfe69f98b7c6c8dda555ef6b2977b873c9e35aaab10974f1ea3d91d8743798f228665908859dc33ff34f3708 SHA512 95df04124449a652bf76a60822c9468bce71d02490beadef409975da3709f7cf2a43ee9088468146d985464a6992125c90980e38efd397c145799cca537ff8dc DIST ax25-apps-0.0.8-rc5.tar.gz 479590 BLAKE2B baa4814ebb68c435a9986158dcdad1333376c75202db8e3595ec35851fabb3c718e7015a721d587ee307b8b8c918a690b898addcf4194532f6d26b70219c4c98 SHA512 5886f79dcdd4b02374289e04a61101b1ccdcdd936a6a98bdefa7b091689381de75f722a0bf32a914c85a3759c7b42489fabf74a53492fe2f937b22c953fc230d +EBUILD ax25-apps-0.0.8_rc5-r1.ebuild 1430 BLAKE2B a510223fb9fd8b26041309d3ff874ae8347b5ef8099dc34f3f22419363e61485638cf1ba39af9fc7daaa3b169e7aae2e02163ec8ebc2d80e0db9c979ba544fc3 SHA512 af665a628d8f5fe6f0cacc27dca4714934ddb9e9bf66e7dadf770eed19786e21721336349bd414146f0555bcd912e116da2ffc730c2fe0580fa3cf49f5a577b8 EBUILD ax25-apps-0.0.8_rc5.ebuild 1228 BLAKE2B 9a67580677e0d387e146fc6ef71cb2fe462ae2c13d13b500dd5e1eee2f6d4e5e8e5d52eee1dc2762621ff294f977ab902e3235e85909a06bb5dea1d81a242e26 SHA512 fbbf685e18f4a6af2c5bea8d5a77ff1c73e51850035512995f458614744f56c1220a8772e5fee5435b5b1d4e1a0cdebe3b9584c53440401291fd65ed8e37993b MISC metadata.xml 256 BLAKE2B f5d5a93344d150a5211f11075344a863ec1b6b11b1ac9acb15364a05f23b7439d9688ab2a153af32e610e4ed5120cd8a044558edc48e5ee0d91f96ed9ba9ed71 SHA512 1971736573e03d6f2bbc45273991f004e8766d076ccf6369c6bf96583afe3a98665a1a0cf51cda40d678e9ef38739453837395c3f1d50c637c35d395a392ca15 diff --git a/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild new file mode 100644 index 000000000000..b2cbb93ef638 --- /dev/null +++ b/media-radio/ax25-apps/ax25-apps-0.0.8_rc5-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_P="${P/_/-}" + +DESCRIPTION="Basic AX.25 (Amateur Radio) user tools, additional daemons" +HOMEPAGE=" + https://linux-ax25.in-berlin.de/ + https://packet-radio.net/ax-25/ +" # NOTE: ...in-berlin.de does not work but subdomains do +SRC_URI=" + https://linux-ax25.in-berlin.de/pub/${PN}/${MY_P}.tar.gz + https://ham.packet-radio.net/packet/ax25/ax25-apps/${MY_P}.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + >=dev-libs/libax25-0.0.12_rc2:= + sys-libs/ncurses:= + !dev-ruby/listen +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + # fix missing prototype for malloc + sed -i -e "/^#include /i #include <stdlib.h>" ax25ipd/routing.c || die + eapply "${FILESDIR}"/${PN}-0.0.8_rc5-tinfo.patch + eapply_user + eautoreconf +} + +src_install() { + default + + newinitd "${FILESDIR}"/ax25ipd.rc ax25ipd + newinitd "${FILESDIR}"/ax25mond.rc ax25mond + newinitd "${FILESDIR}"/ax25rtd.rc ax25rtd + + # HACK: one should not create instead of removing + rm -r "${ED}"/usr/share/doc/${PF} || die + + dodoc AUTHORS ChangeLog NEWS README ax25ipd/README.ax25ipd \ + ax25rtd/README.ax25rtd ax25ipd/HISTORY.ax25ipd ax25rtd/TODO.ax25rtd + + dodir /var/lib/ax25/ax25rtd + touch "${ED}"/var/lib/ax25/ax25rtd/ax25_route || die + touch "${ED}"/var/lib/ax25/ax25rtd/ip_route || die +} diff --git a/media-radio/ax25-apps/files/ax25-apps-0.0.8-fno-common.patch b/media-radio/ax25-apps/files/ax25-apps-0.0.8-fno-common.patch deleted file mode 100644 index 1ea5c779ff38..000000000000 --- a/media-radio/ax25-apps/files/ax25-apps-0.0.8-fno-common.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c -index 461147d..e85b44d 100644 ---- a/ax25ipd/ax25ipd.c -+++ b/ax25ipd/ax25ipd.c -@@ -35,6 +35,25 @@ int opt_help = 0; - char opt_configfile[PATH_MAX]; - char opt_ttydevice[PATH_MAX]; - -+struct stats_s stats; -+ -+int udp_mode; -+int ip_mode; -+unsigned short my_udp; -+char ttydevice[PATH_MAX]; -+int ttyspeed; -+signed char mycallsign[7]; -+unsigned char mycallsign2[7]; -+unsigned char myalias[7]; -+unsigned char myalias2[7]; -+char bc_text[128]; -+int bc_interval; -+int bc_every; -+ -+int digi; -+int loglevel; -+int dual_port; -+ - struct option options[] = { - {"version", 0, NULL, 'v'}, - {"loglevel", 1, NULL, 'l'}, -diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h -index b088247..367024b 100644 ---- a/ax25ipd/ax25ipd.h -+++ b/ax25ipd/ax25ipd.h -@@ -72,24 +72,25 @@ - #include <sys/types.h> - #include <netax25/daemon.h> - --int udp_mode; /* true if we need a UDP socket */ --int ip_mode; /* true if we need the raw IP socket */ --unsigned short my_udp; /* the UDP port to use (network byte order) */ --char ttydevice[PATH_MAX]; /* the tty device for serial comms */ --int ttyspeed; /* The baud rate on the tty device */ --unsigned char mycallsign[7]; /* My callsign, shifted ASCII with SSID */ --unsigned char mycallsign2[7]; /* My seconds port callsign, shifted ASCII with SSID */ --unsigned char myalias[7]; /* An alias to use */ --unsigned char myalias2[7]; /* An alias for second port */ --char bc_text[128]; /* The text for beacon messages */ --int bc_interval; /* The interval, in seconds, between beacons */ --int bc_every; /* true=every, false=after */ --int digi; /* True if we are connected to a TNC */ --int loglevel; /* Verbosity level */ -+extern int udp_mode; /* true if we need a UDP socket */ -+extern int ip_mode; /* true if we need the raw IP socket */ -+extern unsigned short my_udp; /* the UDP port to use (network byte order) */ -+extern char ttydevice[PATH_MAX]; /* the tty device for serial comms */ -+extern int ttyspeed; /* The baud rate on the tty device */ -+extern signed char mycallsign[7]; /* My callsign, shifted ASCII with SSID */ -+extern unsigned char mycallsign2[7]; /* My seconds port callsign, shifted ASCII with SSID */ -+extern unsigned char myalias[7]; /* An alias to use */ -+extern unsigned char myalias2[7]; /* An alias for second port */ -+extern char bc_text[128]; /* The text for beacon messages */ -+extern int bc_interval; /* The interval, in seconds, between beacons */ -+extern int bc_every; /* true=every, false=after */ -+ -+extern int digi; /* True if we are connected to a TNC */ -+extern int loglevel; /* Verbosity level */ - /* addition for dual port flag */ --int dual_port; -+extern int dual_port; - --struct { -+struct stats_s { - int kiss_in; /* # packets received */ - int kiss_toobig; /* packet too large */ - int kiss_badtype; /* control byte non-zero */ -@@ -107,7 +108,9 @@ struct { - int ip_tooshort; /* packet too short to be a valid frame */ - int ip_not_for_me; /* packet not for me (in digi mode) */ - int ip_i_am_dest; /* I am destination (in digi mode) */ --} stats; -+}; -+ -+extern struct stats_s stats; - - #define MAX_FRAME 2048 - diff --git a/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch b/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch deleted file mode 100644 index ee1c2ffd92b6..000000000000 --- a/media-radio/ax25-apps/files/ax25-apps-0.8.4-tinfo.patch +++ /dev/null @@ -1,12 +0,0 @@ -# fix tinof handling (bug 529776) ---- a/configure.ac -+++ b/configure.ac -@@ -17,7 +17,7 @@ - AC_SUBST(AX25_LIB) - AC_SUBST(NCURSES_LIB) - AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting)) --AC_CHECK_LIB(ncurses, initscr,NCURSES_LIB="-lncurses", AC_MSG_ERROR(Could not find the ncurses library; aborting)) -+PKG_CHECK_MODULES(ncurses, ncurses, [NCURSES_LIB="$ncurses_LIBS"], AC_MSG_ERROR(Could not find the ncurses library)) - - dnl Checks for working glibc 2.1 headers - AC_CHECK_TYPES([struct ax25_fwd_struct], [], diff --git a/media-radio/ax25-tools/Manifest b/media-radio/ax25-tools/Manifest index d4e5e90c5fa8..721031968ba9 100644 --- a/media-radio/ax25-tools/Manifest +++ b/media-radio/ax25-tools/Manifest @@ -1,3 +1,4 @@ +AUX ax25-tools-0.0.10-musl.patch 6036 BLAKE2B 0ee7c3c12854b2de007727d954623dc0ab66ba7e6bc3d9c798e098b081ade4f2df6282397ef7219dc1274eac03e644d401884d48edfa24233f300d09326e14db SHA512 54fad59f632f08ca1faee9cf2cac675e745f29d86ce939cc2ded3938d4a8c2823354da422f4f4ec811a66526235b5af215ad567062c6408ba9d1cda60e4eca72 AUX ax25d.rc 371 BLAKE2B 4ea23047b4cfde20a40f7cfccb6bb8da9bf8d0616880dc0df258746a250d50c91b79c599c55ae78475d5eb6e8e3b99dc9ea2e8f3c41cf7da4e14de4054d63e75 SHA512 1d1e836cac175c47fdc7168bebb7d91bd6723c3304536d9e879be81c88892654a2e2b6e6783b08cc9d7ffde42477c8f53a15d281edb728d606145712f77b6998 AUX mheardd.rc 379 BLAKE2B a9c5bd6cd890c3ba74ae95207fc42abf4f0840605603bededb51888fd752ba9990b92b316aed6870fcf0103fdd7ea4c32d094987b7ac0c8b6a6d46502545d891 SHA512 873c3befc0907c2bafbe7107f345623cae9da45721321072e6aab6990a11fea87ab88df12c2c3b640a93c177c9f8557666106ef05fa73e3d0a886a5714c88056 AUX netromd.rc 379 BLAKE2B 5ea6e91d4d5f3851ff759536e0f90a37258759afc915dab3f26bc14cb66480c4bb6e8e2a381c075dd610e5d60ab59b394cc9d55b7d65684c2f695feb18abe01b SHA512 7a9b4a75ad7f5fd83f30defd429e6cfcbad60f441faf4594aa6045aa3c86291ea38d52dc61f38b0513cdec8621f72694b0f644bc32f45459bb75fb787dd2329c @@ -5,5 +6,6 @@ AUX rip98d.rc 375 BLAKE2B ed2a72057b01d168219bbb94cfdf24dfbe5ab82ecc1c7945d7a4a4 AUX rxecho.rc 375 BLAKE2B 0500e79dab2ed7fd2488a9a1a72344bc1ee1a8433c2703c4d63d0671e4cee11d9af5111ced837141c033db3406943eda2d128a718687d6389679d60f5649b326 SHA512 4787767fc0a2c7fda39b2817dc9809a72e666bbfe98b40d9e335fe00fa5a1136fb900b6d32f58b37edffb85327482a75063d3caef7c02c40aeb46f6158bb575a AUX ttylinkd.rc 383 BLAKE2B 9dd842128b64751696e704ad4a5e2930e103a8bb41931186bd60e26ed66697441abca16b52d61dfbfb2ece58c49e4328aa20b4c7dc810f26a03390b5313f5072 SHA512 499f9373ecdc76b863e43d3d508231754707087197ade8b9e9c151186e953c40e57528773ddc2e8d3f116daa16ba286bcab34b6e46a6870965780c459045a9ed DIST ax25-tools-0.0.10-rc5.tar.gz 372851 BLAKE2B 1129e3aff22221662bfe3840288922e60236bbd09ec1f6be72ba4a9ef51a818923af55635bc50b5f6b7befd716732dad3536282b8875d7a996518dcd8c02342d SHA512 4aac4e53af5924f8f0b807bdc406fbba43043fcd33c509c1129f009e6cf8854abdd8f11087d17d9710fac2b231e80aca630ca17b8a2fe771f49df2c480c059cb +EBUILD ax25-tools-0.0.10_rc5-r1.ebuild 1152 BLAKE2B dd485cd9be9685dcc9834cb1320668ca98857c8b85783bb62b68f48515ece2bb041279a5324059e1fe8ebd8576915cfc4144c49580ee654692931790c479416d SHA512 ac89d619c396674853adf2ff7045d03f9581a55cf103711dcfdd86311b27e9029da99b99e6a3cea5238c507bd2a87df96ecea5b24fe9cebe278b1ac9f4c830ea EBUILD ax25-tools-0.0.10_rc5.ebuild 1019 BLAKE2B b469bd0cda14be830c10f1893d558b54bbfba185798d507c37e535dd9e236deacf24fa347ab9740fa02be9135793e4319d1799eafb594f7647f9e24c463fa93c SHA512 3fbe3c57b236b9a17607b9b0865b8d6e817b2db5b544ff65eb04a7b5ac80fa63e1eb300c6d92c09b9755c57d2e6acda5425c7a23a8ab5f719e405593797b2f69 MISC metadata.xml 330 BLAKE2B 1b3660ead0c7ef602da0d698a9a5b80772954c87017777790cadcf47425f039ef8e378fb39989ee62ee360e8e8cb7b18b59ab73e71b1fb35704a9dcd1fd04232 SHA512 22bf963ec3271b9e79efe6d58e972df3ee2df4e6add743c0e25869c9755b261d3a44c7db5f28b70fd35927fd8a802fe7fe6fa456d05dd673ec4e6430bdc7366c diff --git a/media-radio/ax25-tools/ax25-tools-0.0.10_rc5-r1.ebuild b/media-radio/ax25-tools/ax25-tools-0.0.10_rc5-r1.ebuild new file mode 100644 index 000000000000..17ee50418cad --- /dev/null +++ b/media-radio/ax25-tools/ax25-tools-0.0.10_rc5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +MY_P=${P/_/-} + +DESCRIPTION="Basic AX.25 (Amateur Radio) administrative tools and daemons" +HOMEPAGE="http://www.linux-ax25.org/" +SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz" + +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X" + +DOCS=( AUTHORS ChangeLog NEWS README tcpip/ttylinkd.README \ + user_call/README.user_call yamdrv/README.yamdrv dmascc/README.dmascc \ + tcpip/ttylinkd.INSTALL ) + +DEPEND=" + dev-libs/libax25 + X? ( + x11-libs/libX11 + media-libs/mesa[X(+)] + )" +RDEPEND="${DEPEND} + sys-libs/zlib" + +src_prepare() { + eapply_user + if use elibc_musl ; then + eapply -p1 "${FILESDIR}/${PN}-0.0.10-musl.patch" + fi +} + +src_configure() { + econf $(use_with X x) +} + +src_install() { + emake DESTDIR="${D}" install installconf + einstalldocs + + newinitd "${FILESDIR}"/ax25d.rc ax25d + newinitd "${FILESDIR}"/mheardd.rc mheardd + newinitd "${FILESDIR}"/netromd.rc netromd + newinitd "${FILESDIR}"/rip98d.rc rip98d + newinitd "${FILESDIR}"/rxecho.rc rxecho + newinitd "${FILESDIR}"/ttylinkd.rc ttylinkd +} diff --git a/media-radio/ax25-tools/files/ax25-tools-0.0.10-musl.patch b/media-radio/ax25-tools/files/ax25-tools-0.0.10-musl.patch new file mode 100644 index 000000000000..f2b240bb34a2 --- /dev/null +++ b/media-radio/ax25-tools/files/ax25-tools-0.0.10-musl.patch @@ -0,0 +1,155 @@ +# Provide missing header file +# From https://github.com/void-linux +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/media-radio/flamp/Manifest b/media-radio/flamp/Manifest index a23c35733241..fafada497b48 100644 --- a/media-radio/flamp/Manifest +++ b/media-radio/flamp/Manifest @@ -1,3 +1,3 @@ DIST flamp-2.2.07.tar.gz 518713 BLAKE2B 83c9bc9ee30b84636b54a17d9c824c74c3236225ef77c54d9f12aa449757b18186bec92cfdd768b2761c0987f2ab2620e51f89183d503fa85d38772354b70d92 SHA512 0f85ed8aa4adfcf380fe8397ac616b3d04721291238f0f6f074d4201f8936d64d2754a7dfc562fce066afa49c53135c0ada62085a3b6c792beaa692e070da23a -EBUILD flamp-2.2.07.ebuild 467 BLAKE2B 23e3192b3d8cd0a0d974ce5b8dad05d31446050f36c2de8eb0a715ece15d6e2cc71941ed3f52fb0a8cacb40595c9ccfc306899dc62868136dc27a42f36f2073e SHA512 ef8f150f3db4b6a215ec67097814799c1815b559fc677875830d36e5cdb36dfadf89e54603d4534f9b713519f33bcf85404f40c9092b013a1c6455cbf27b7a0a +EBUILD flamp-2.2.07.ebuild 459 BLAKE2B 92b05b1cbd3de4a4a593bbbd8f6c917f3be153aa302a314a79b00e850405764eb9bb44b88c31df88df115de5559ff2c1418e3a224ea38cdde9ed045dea3e47df SHA512 b95909bff1bfe00d687d9197523902987e11f26ac610f2fd8a72dd5fcc719fd447a3d01de245dc41b1de4d3aab23f93278b3a9ec500b0466496bba533d66689d MISC metadata.xml 391 BLAKE2B f3f074665f35891a5e0718da6e69cafeaae7ca3dba9d972014691d204be3b63c72d8fe0a2e71be31ee7f655942f7d04114df8413d9b648e56ee5376d605ed535 SHA512 ce962cdf53ab62807957f76d8a8db60e640252be66961ad6d897f3c482fd2658c6e5263b0ad503ebe22084d3736ff5ba4977d8538049db0f5e6b351614d24721 diff --git a/media-radio/flamp/flamp-2.2.07.ebuild b/media-radio/flamp/flamp-2.2.07.ebuild index cab8f172f708..dde1b15ae858 100644 --- a/media-radio/flamp/flamp-2.2.07.ebuild +++ b/media-radio/flamp/flamp-2.2.07.ebuild @@ -10,7 +10,6 @@ SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND="media-radio/fldigi x11-libs/fltk:= diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 19fcdf8b7ef0..2e8f0fbc0400 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,4 +1,5 @@ AUX fldigi-drop-nullptr-definition.patch 596 BLAKE2B d258036b22f597d82b6a66ecadbf12f8dde20be21464910e6d205d4c24dbc19ae60e00cb089818f3504d88d8dbc56e9dc4894dc5cc2f2b3925b614c3cb231206 SHA512 71993594183394a6f8f9329e43c14cf08b759b35d462632bab8a02ec4540107fbc99e50c95b0239daa61e279cb10c442ccc0b4fabf419bea3b6841f0d89ba54d DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407 +EBUILD fldigi-4.2.05-r1.ebuild 1535 BLAKE2B 1e87044beaa028190c7ed6994f121709907e6220e308eb7d138b347f11ec66453bd0e0641984418e635e1afaf1ee51450c52b095e75c75163c5b26052e9c9209 SHA512 c30529e9ce983e424e8fc81c8ff7c1a7628a54d05762275a2e57d553a8326c486a370c5bb7750fa1311c892ccfd7c744043c995c77a3490ec6584d07cd644f14 EBUILD fldigi-4.2.05.ebuild 1501 BLAKE2B dfd9ccc42d366064147581de4b55bb6867d1e366aa644dbd9ab366ccdd614619231db3f3352f63a863346e6fc5e5c4ce7f650da1a5bc43d8dc5bf46078cd50c1 SHA512 a046fff36d638c49a0db33b36f830fcbf83914b7ef048ea6d19347ae25278aa0f9134f1f6dfc77c25e73d77efdf8b2f70fb85600b9e146d7885329e3050aad3d -MISC metadata.xml 548 BLAKE2B c527aea6c74ff1af56467b594775abdd47e6c57b0f1772013a38f941a5ca32eae9edebf2224c0f435a3f3ca6cbe076d1e33996f66d81e25504e2bd66e04cb9ad SHA512 200dba843700a8361c0f1367038a24c2d8d1389ad6bb36a609543272b44ae672118ab9c74ab7a63036b2bb130a1a288487a204b187e1780dc2bef132e6a1511d +MISC metadata.xml 647 BLAKE2B 1acc1909ca9e9e64ce6387c1775ee3947848ac1f7f29cd0e43cec1936967595b7d2bbf44b68080e23d4ddcc23f74075ff0fad1bfc45d9ad4477679adbc452e7b SHA512 89f0532a41977f17d7c36d218a967739b47f0a6ac73d92666a2d7b06ebdfd320bab28bbaf4c9dc97a59ffa8ce6ed963796ca053501480863d0c82a5d144b68d8 diff --git a/media-radio/fldigi/fldigi-4.2.05-r1.ebuild b/media-radio/fldigi/fldigi-4.2.05-r1.ebuild new file mode 100644 index 000000000000..5ba583270456 --- /dev/null +++ b/media-radio/fldigi/fldigi-4.2.05-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Sound card based multimode software modem for Amateur Radio use" +HOMEPAGE="http://www.w1hkj.com" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="hamlib nls pulseaudio" +IUSE_CPU_FLAGS=" sse sse2 sse3" +IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}" + +RDEPEND="x11-libs/fltk:1[threads,xft] + x11-libs/libX11 + sys-apps/systemd-utils + media-libs/libsamplerate + media-libs/libpng:= + x11-misc/xdg-utils + dev-perl/RPC-XML + dev-perl/Term-ReadLine-Perl + || ( + media-libs/portaudio[oss] + media-libs/portaudio[alsa] + ) + hamlib? ( media-libs/hamlib:= ) + pulseaudio? ( media-libs/libpulse ) + media-libs/libsndfile" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +PATCHES=( "${FILESDIR}/${PN}-drop-nullptr-definition.patch" ) + +src_prepare() { + eapply ${PATCHES[@]} + eapply_user +} + +src_configure() { + #fails to compile with -flto (bug #860405) + filter-lto + + append-cxxflags $(test-flags-CXX -std=c++14) + local myconf="" + + use cpu_flags_x86_sse && myconf="${myconf} --enable-optimizations=sse" + use cpu_flags_x86_sse2 && myconf="${myconf} --enable-optimizations=sse2" + use cpu_flags_x86_sse3 && myconf="${myconf} --enable-optimizations=sse3" + + econf ${myconf} \ + --with-sndfile \ + $(use_with hamlib) \ + $(use_enable nls) \ + $(use_with pulseaudio) \ + --without-asciidoc +} diff --git a/media-radio/fldigi/metadata.xml b/media-radio/fldigi/metadata.xml index 53fe1ec5edcd..b36fe08c9f02 100644 --- a/media-radio/fldigi/metadata.xml +++ b/media-radio/fldigi/metadata.xml @@ -5,6 +5,10 @@ <email>tomjbe@gentoo.org</email> <name>Thomas Beierlein</name> </maintainer> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> <use> <flag name="hamlib">Enables support by the Hamlib amateur radio rig control library to get/set frequency and mode of the diff --git a/media-radio/flmsg/Manifest b/media-radio/flmsg/Manifest index e4e7c018c8bc..f51218db28b2 100644 --- a/media-radio/flmsg/Manifest +++ b/media-radio/flmsg/Manifest @@ -3,5 +3,5 @@ DIST flmsg-4.0.22.tar.gz 838644 BLAKE2B d81fe3438f7f47ae77061dcd390b742ba74694b5 DIST flmsg-4.0.23.tar.gz 838006 BLAKE2B 98c343ace7b0318d6d4c071a82936b67a5ec462dc4e3128c3215f86e9adda0bd7979191c873452335e6fa2366945303e1732f0af7a5be52dbf8859d7f86158e2 SHA512 b7d8ff15370b456df605a07d263ffe39df7b21edf390b1c3850550bf871443fb77e3a00aaa32407a5d2016fb8d92d52b451d22750135c145ddbdf970aebc6730 EBUILD flmsg-4.0.20.ebuild 467 BLAKE2B dcaef7063aa8431d08c76efc195641d86ce9b19f7895de450c9ea97f02be28794695c0fdfc6173679193c8fba792180d2a5eb120b4d20e28eee9f1bc842012bf SHA512 4acff261ebf21d15df6530fb7db78e3bb1d1b43d66e3f0cb616003504c1329401a6fbbcc534ff15fc85a18e28107306f8e5950db3bb958ef6b2c602d2e35fd7e EBUILD flmsg-4.0.22.ebuild 467 BLAKE2B dcaef7063aa8431d08c76efc195641d86ce9b19f7895de450c9ea97f02be28794695c0fdfc6173679193c8fba792180d2a5eb120b4d20e28eee9f1bc842012bf SHA512 4acff261ebf21d15df6530fb7db78e3bb1d1b43d66e3f0cb616003504c1329401a6fbbcc534ff15fc85a18e28107306f8e5950db3bb958ef6b2c602d2e35fd7e -EBUILD flmsg-4.0.23.ebuild 467 BLAKE2B dcaef7063aa8431d08c76efc195641d86ce9b19f7895de450c9ea97f02be28794695c0fdfc6173679193c8fba792180d2a5eb120b4d20e28eee9f1bc842012bf SHA512 4acff261ebf21d15df6530fb7db78e3bb1d1b43d66e3f0cb616003504c1329401a6fbbcc534ff15fc85a18e28107306f8e5950db3bb958ef6b2c602d2e35fd7e +EBUILD flmsg-4.0.23.ebuild 459 BLAKE2B e703e0b2e79ef3030e795b6dab8a3c82df23f4014935a7044fbde40a94b94498e76fe0790a53e578452f9ed1d9a733431004279f2ac067b8bc0e905e17021def SHA512 4857e9fbbf02a399faf95f2a9d87e255c07ada161fa48976c15ab0f9b26de0048c3e89cc467f917df75017704c6ca2dde26aa8030d5ae4ef9a5b5eb89ccb0739 MISC metadata.xml 391 BLAKE2B f3f074665f35891a5e0718da6e69cafeaae7ca3dba9d972014691d204be3b63c72d8fe0a2e71be31ee7f655942f7d04114df8413d9b648e56ee5376d605ed535 SHA512 ce962cdf53ab62807957f76d8a8db60e640252be66961ad6d897f3c482fd2658c6e5263b0ad503ebe22084d3736ff5ba4977d8538049db0f5e6b351614d24721 diff --git a/media-radio/flmsg/flmsg-4.0.23.ebuild b/media-radio/flmsg/flmsg-4.0.23.ebuild index 097720e0ab7b..bfe27396050e 100644 --- a/media-radio/flmsg/flmsg-4.0.23.ebuild +++ b/media-radio/flmsg/flmsg-4.0.23.ebuild @@ -10,7 +10,6 @@ SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND="media-radio/fldigi x11-libs/fltk:= diff --git a/media-radio/fsync-mdc1200-decode/Manifest b/media-radio/fsync-mdc1200-decode/Manifest index c29a8289bfbb..ecfc332adcd4 100644 --- a/media-radio/fsync-mdc1200-decode/Manifest +++ b/media-radio/fsync-mdc1200-decode/Manifest @@ -1,4 +1,4 @@ DIST fsync-mdc1200-decode-1.0.tar.gz 19791 BLAKE2B 86000b3b6a71895c211ae123eedfd54ba0dfa9bfc8619a28effb1f5187349aa33968acf6a24fd4e7b10e07a5693cf3410d5242d9719f34bec0a847794098196a SHA512 94525b88800f285816d6c76f0474854543a805f85a3156cd516a3c952ce05e40c9c845dfb799eb5aea9cd2e659713c468e35407804b42db98981dff91d08fb92 -EBUILD fsync-mdc1200-decode-1.0-r1.ebuild 827 BLAKE2B a2b17a25dae728c0baa23cacd94c6536fcdcda048d16bafc0b2a4e37814d5feece58635f94460e261a90b67b0e05a0584a9bcde12bd49c04a6f444a2e1886a8c SHA512 935acf0f39b3767ab55b5a6523457267e00edec24069cdcd24c679d8d6bf9c1fed2005afdbb088396337ce99f2210588b6a94e2556a1c5e6ccf548d4521e5059 -EBUILD fsync-mdc1200-decode-9999.ebuild 827 BLAKE2B a2b17a25dae728c0baa23cacd94c6536fcdcda048d16bafc0b2a4e37814d5feece58635f94460e261a90b67b0e05a0584a9bcde12bd49c04a6f444a2e1886a8c SHA512 935acf0f39b3767ab55b5a6523457267e00edec24069cdcd24c679d8d6bf9c1fed2005afdbb088396337ce99f2210588b6a94e2556a1c5e6ccf548d4521e5059 +EBUILD fsync-mdc1200-decode-1.0-r1.ebuild 819 BLAKE2B 3189340fbbbb1e4e0e907f757e28ca1746d8b97980755b7b578720f12290bb56ed228db5415473cf0bbf111024c2016f81d6257fc4a93a29db57746a64cf6e2b SHA512 efcc18d1ef10afb3035a89fd5330436ac98e9fb51a19365ed6688a0355e30b92fc2f4259da5b780d5b3f80dc89ca1217066afe9af91461d5e4847aeecf63c53b +EBUILD fsync-mdc1200-decode-9999.ebuild 819 BLAKE2B 3189340fbbbb1e4e0e907f757e28ca1746d8b97980755b7b578720f12290bb56ed228db5415473cf0bbf111024c2016f81d6257fc4a93a29db57746a64cf6e2b SHA512 efcc18d1ef10afb3035a89fd5330436ac98e9fb51a19365ed6688a0355e30b92fc2f4259da5b780d5b3f80dc89ca1217066afe9af91461d5e4847aeecf63c53b MISC metadata.xml 431 BLAKE2B ecb04f0dfd4e93a051f1963354b5ac15e0843308b8abe159aa27b74b3a9934b0bda908040c138c2d6dc8f64d27076135a0746f1e472bda226a544e984753fa96 SHA512 f330b82802622f991571fa02859237d7d238ff495d3b08e522fde056d147dfcf558eac7484c141d7beedc907cfe7092b902bb4234993a9fc62b20c58e5ddd15c diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0-r1.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0-r1.ebuild index f484d5a429ac..9c64790346f9 100644 --- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0-r1.ebuild +++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,12 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/russinnes/fsync-mdc1200-decode.git" else - KEYWORDS="~amd64 ~x86" SRC_URI="https://github.com/russinnes/fsync-mdc1200-decode/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-2+" SLOT="0" -IUSE="" DEPEND="media-libs/libpulse" RDEPEND="${DEPEND}" diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild index f484d5a429ac..9c64790346f9 100644 --- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild +++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,13 +12,12 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/russinnes/fsync-mdc1200-decode.git" else - KEYWORDS="~amd64 ~x86" SRC_URI="https://github.com/russinnes/fsync-mdc1200-decode/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-2+" SLOT="0" -IUSE="" DEPEND="media-libs/libpulse" RDEPEND="${DEPEND}" diff --git a/media-radio/kochmorse/Manifest b/media-radio/kochmorse/Manifest index 6d088754ad10..2a602d655840 100644 --- a/media-radio/kochmorse/Manifest +++ b/media-radio/kochmorse/Manifest @@ -1,3 +1,3 @@ DIST kochmorse-3.5.1.tar.gz 1154862 BLAKE2B eb74aadc1e2029576f3cc96ea698742aca70bcd616f7123543c189924689b71bae6d330e2f857027ac57026effa26a6b27866184e391840073c48aff4503e3d1 SHA512 3d073ae25461a30d58ee58e8a606f240313b32c5d036ee3087c78daf2fd78da9640d720649b807e1b19b19bc60f00bb077a7cbc9d799b4c6d232dc8bea8c2168 -EBUILD kochmorse-3.5.1.ebuild 522 BLAKE2B b6563765bfae66a60492e022c259ac0256fbcce9c85212fb99337127445589cf595da8f603cef48003938accc9bc325a5f6386decfbaf38c516eb6e732f3b442 SHA512 16830e5a568c66b44b6e43b9fa44330c55e0bdaf0c144f9f7dc01d3b352c165363fc0f3ac7b5f20bf75bfbb1d30e5f45d2e37ec5da17ea6b5f721eb56de12ee1 -MISC metadata.xml 426 BLAKE2B e421395256aa86a68186fbb160da537051fc29c8c7f196db97f4ff6ef0c885f0ecc6b84132d7edcb7b6b985476f432d648b9ed247837150f58d63a5a83b13b67 SHA512 31ced6d7369322c61ac0f0927c159a83bd0898348ccf433d04e541d35688f68ffbabd628162e1e3db2d6810ffac9f3198ac8e0b4b071ebc77c031d11a7fdafaa +EBUILD kochmorse-3.5.1.ebuild 514 BLAKE2B 3b24f6cf5bcd7bc0eb75bbc414f0fcb4f49196deed49196fc068c6a9e4951edd70410c50040fe661aee19c9e0ba719fd1482eb99f46955ca85bb33b2dd69d095 SHA512 123df98403bd8ce855205e07a38d2e077061809143b7db58f01e53d64a69d5687d22500205a8fc9134a01c37ad90aa2a6e2d68e41f0d0e43213659e8833fd730 +MISC metadata.xml 508 BLAKE2B 9d1c2f3017798e70f605adc2f02528bc4421ddb6398c1f53189195776967fb2238bd997a5f0ac32af30ffc1a2a17c9a6a85df1a14c054f44157d2328525e1e92 SHA512 24dc93747ac7fc2cdb1bddbd9b35a0c57ca1b0514a2c3ab1de3164742f9b836085d37022b7c63fd250520cb8a6583c636704439e5a8896b07daba4125c1e4643 diff --git a/media-radio/kochmorse/kochmorse-3.5.1.ebuild b/media-radio/kochmorse/kochmorse-3.5.1.ebuild index 897a766fc21d..e45bbb5ea6a5 100644 --- a/media-radio/kochmorse/kochmorse-3.5.1.ebuild +++ b/media-radio/kochmorse/kochmorse-3.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,6 @@ SRC_URI="https://github.com/hmatuschek/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" BDEPEND="dev-qt/linguist-tools:5" RDEPEND=" diff --git a/media-radio/kochmorse/metadata.xml b/media-radio/kochmorse/metadata.xml index 136b7868ebc4..a9a4ec2987a1 100644 --- a/media-radio/kochmorse/metadata.xml +++ b/media-radio/kochmorse/metadata.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>tomjbe@gentoo.org</email> + <name>Thomas Beierlein</name> + </maintainer> <longdescription> KochMorse is a simple morse-code tutor using the Koch method. It is written in C++ and uses Qt5 for the graphical user interface. diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index 0861a72476c9..dd9834cd5664 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1,11 +1,12 @@ AUX remotetrx.init 786 BLAKE2B ec1183abfa81ee2e309bf91476623f8030a997f9a17ce8ba37a523fb30fb424972759d8aa81bfd776d7d53222ce6594739231db827248b0cf27876c9267f28d4 SHA512 66222df5ee57a28b5f857ee1209efa3e9af270be3f38ef763ec757b55ef58bd831f18e4704f6dd5554435522a24982ce59c8e70e013e2098b16b997495fb2d05 AUX remotetrx.rc 578 BLAKE2B 1f80f1c09aa77fc11a004a40a0a878f2b0b2f2c7d0dc2a70510e58442d7557b9424807cc1168a806e5348c314d1fb5c5afc562f3ae9a82daf470d5b07b412c5e SHA512 759adaa668f5f0315dd9d710d3ed738b4a0e042a7d12541862c2a311073d25573195336416b3940aaa89443242ce34abf7994c902603cd2640d08291037f465f AUX remotetrx.service 725 BLAKE2B ecc70328d89dc6ab1e96cea7160e532847263d9307ceedb53faa6548d4215dc0c34f3aceaffc04192f4b7f199ea584672345436b4719d8afecd24be910893ca3 SHA512 28ce7d82aebfa074fafdee3bd59b411acbdf469e12c0fd06d16f9738168539d1dd0d293e380ad47b0266b809a15dab8504688f52f03efaaa7fda1338603dd287 +AUX svxlink-24.02-musl.patch 2839 BLAKE2B 52a1209e0455992451e5ca98de6e6f405bdc1da3e3d3230e25ce88e15ade07c4fdf8704aaa7a95adc326d5573544a291ae64754b5cb8f6175896b6eb311af9e6 SHA512 ea9390206e449a866b006f2d3dae9d39cfa5200f21aef43d1be86c5cbcc3680478139c91af357582f63f86fe99137cafe63d69d5e458ff773890351797f34385 AUX svxlink.init 782 BLAKE2B 536435d70a3a5afbcf533ce39cc1b8bc0de5320ac57728a4ef7e7ed6aa3a702afb52c2b8e986c270c628b28b893a0a4058941addc6c29362c62bd6766ed69365 SHA512 ad3f8c2310a346bc34eeecf541cef87a5eb24649060695d8b510de3f08de1c0cdb4cccac229dc53ab1bf5bc6386aa7b191a6df3a1546a5ddcdfdc146b9f16b51 AUX svxlink.rc 568 BLAKE2B 7e0fa55b6d7d099778f2b20cf3b85b54a943460ade694bdf75159945f0be671eefefbffdfceaf28b092dcd4078970f88194d63311f3cea9cfb38922d83e9f1de SHA512 96e95116c031e3e5f21d1239362736c093c3e5c32adcb4eef1fa667c89a08d62cdb82640a246cf11b9fddc62544f98a660f626e91c67dd7a0d608904b8ddf6dd AUX svxlink.service 690 BLAKE2B 7f62518556c7c0fd0a4e759031520181f5a9a61a4d5ebcf874e60e8cd400327feee0306011ab8c88b17b8a5b666cc0fda90244b7a9e5ad9734ec629e0bf3d2f3 SHA512 2879820eaa64bc574e1a2c57492ba429cb4b5748b56132fac8922727a8924197b719075c39a6ab0ffcb698b3cf4b5eb889f19c2aac0a9d143f0aef6de778b225 DIST svxlink-19.09.2.tar.gz 1730836 BLAKE2B 7fe8a1b018dba7837486dbed21242d8514a1f546b5eecbd2d2bfdf620d7e093cddbedab17f19d5f2cbd79c9a66825713c45a981335f0b526ba0946e764efc535 SHA512 f3c8b29953da3b2f61eba528a07152f40a2aca2efe511cb98637b1ef77fa676e506a3f4766edb81069f13333ddbae2d39f679874455b05286d3daf96a903e1c1 DIST svxlink-24.02.tar.gz 1974323 BLAKE2B ca743d8356bdcde85bc560015ffa51f97f8fa1bcbbe6972f1789b68dbda33210cc2194f950b0ead57272963de67244bb57a6cbb546e3091215d288cdb6a16c2a SHA512 7bd8d9bf272922ec5d4b134ca1d5ee9cb1f9713c5cb9985aed5f63e601425bb6b6a17de026095c9cbb83797cf58228bcf05284c5a87384b4d019f6c27ac3e848 EBUILD svxlink-19.09.2.ebuild 1784 BLAKE2B d638f02362366921150f97b6d7b2643eee8f2fff96d55fa17cf8d090b3245e4b1dc4b1c24fe6c3fc413ced2807453bd567d24798c03d5d76732f4c233f441862 SHA512 e178a15514d14448e8454d744efc2600292195937b140aab35c53b94f71fb8e45406d885052a7a68d8d6864a20b50651290c67a0c752e90ffbfc659954d24e6a -EBUILD svxlink-24.02.ebuild 1836 BLAKE2B 1616673a246a9831ac8df28089f8779898c25b495e0f38f046cf52f15263a10172957967a1d2e0d2f219a2c40fcbac96f122f523bc82c2194d79e2215651679b SHA512 eef79af0f747c5873660019030a567aaf62f676fa60310006beb3eaaa516b47ed2c7b90813a18debabebc2e964741b7c2cbfc484be2614021ca85b1bd47443a3 -MISC metadata.xml 697 BLAKE2B 069f55a9c5052ba06c5caca06588e3c137a2eea1a81dfee5df102de20f6e7c69e027c8eabddb3458877a035a982f4516cfd898b15bdd6cdeebbb4978147c4c52 SHA512 bf9262e8f4fbd0256705237a7281b211b34588b668093e6288435ffced019a288433f0b9304f67f2b7623c4781c29bfeb563c0af60452e6a3f584a71063f348c +EBUILD svxlink-24.02-r2.ebuild 2457 BLAKE2B e995113f2dcfd41a98ef8a6a3253e2be2a67742598d130a2d77fb5da193dbb3cba97d151034861fd55ae2d83e4d979e125fb6b100464317f7f8605e8f5ae5a33 SHA512 d6acb42fe7c33eeec04ef6d68a19cd00417a4444135bb04514400911bbff672d8212c2f7f584b80ca04aacffcb88629d572eb56c3c5edcb348516a3be0adacb6 +MISC metadata.xml 834 BLAKE2B ac97ce768df03134c0bc4ede7f4323cc6ce252552a8016ce061a710453b7c2f107d764c49842dbb174cc3e68e4c51362f4a52bc3d7f4b61c8612ecc704e27909 SHA512 0851b95cc047777999f0861a4c0cbbf0f347ad8b43cc70c1c02f5990eda8f99b90ae86136b39ba8b20612ea739ed31887811bc075306c9807af5b4d31e935dd0 diff --git a/media-radio/svxlink/files/svxlink-24.02-musl.patch b/media-radio/svxlink/files/svxlink-24.02-musl.patch new file mode 100644 index 000000000000..20eb97f85716 --- /dev/null +++ b/media-radio/svxlink/files/svxlink-24.02-musl.patch @@ -0,0 +1,81 @@ +diff --git a/src/async/audio/AsyncAudioContainerPcm.h b/src/async/audio/AsyncAudioContainerPcm.h +index 5ce66dd..a38bd9f 100644 +# add forgotten include +--- a/src/async/audio/AsyncAudioContainerPcm.h ++++ b/src/async/audio/AsyncAudioContainerPcm.h +@@ -40,7 +40,6 @@ An example of how to use the Async::AudioContainer class + + #include <vector> + +- + /**************************************************************************** + * + * Project Includes +@@ -48,7 +47,7 @@ An example of how to use the Async::AudioContainer class + ****************************************************************************/ + + #include <AsyncAudioContainer.h> +- ++#include <cstdint> + + /**************************************************************************** + * +diff --git a/src/async/core/AsyncAtTimer.h b/src/async/core/AsyncAtTimer.h +index 7aa593b..5404a47 100644 +# timeval is defined in <<F2>sys/tims.h> +--- a/src/async/core/AsyncAtTimer.h ++++ b/src/async/core/AsyncAtTimer.h +@@ -43,7 +43,7 @@ An example of how to use the AsyncAtTimer class + * + ****************************************************************************/ + +-#include <time.h> ++#include <sys/time.h> + #include <sigc++/sigc++.h> + + +diff --git a/src/async/cpp/AsyncCppDnsLookupWorker.cpp b/src/async/cpp/AsyncCppDnsLookupWorker.cpp +index f2e39b0..df73eb9 100644 +# res_xx functions are stateless in MUSL, so no res_nxxx is needed +# furthermore no res_close exists +--- a/src/async/cpp/AsyncCppDnsLookupWorker.cpp ++++ b/src/async/cpp/AsyncCppDnsLookupWorker.cpp +@@ -306,12 +306,12 @@ void CppDnsLookupWorker::workerFunc(CppDnsLookupWorker::ThreadContext& ctx) + if (qtype != 0) + { + struct __res_state state; +- int ret = res_ninit(&state); ++ int ret = res_init(); + if (ret != -1) + { + state.options = RES_DEFAULT; + const char *dname = ctx.label.c_str(); +- ctx.anslen = res_nsearch(&state, dname, ns_c_in, qtype, ++ ctx.anslen = res_search(dname, ns_c_in, qtype, + ctx.answer, sizeof(ctx.answer)); + if (ctx.anslen == -1) + { +@@ -324,7 +324,7 @@ void CppDnsLookupWorker::workerFunc(CppDnsLookupWorker::ThreadContext& ctx) + // does not grow with every failed lookup. But even so, it seems + // that res_close is not cleaning up properly. + // Glibc 2.33-18 on Fedora 34. +- res_nclose(&state); ++ + } + else + { +@@ -538,12 +538,10 @@ void CppDnsLookupWorker::printErrno(const std::string& msg) + { + char errbuf[1024]; + char* errmsg = errbuf; +-#if (_POSIX_C_SOURCE >= 200112L) && ! _GNU_SOURCE ++ + int ret = strerror_r(errno, errbuf, sizeof(errbuf)); + assert(ret == 0); +-#else +- errmsg = strerror_r(errno, errbuf, sizeof(errbuf)); +-#endif ++ + std::cerr << "*** " << msg << ": " << errmsg << std::endl; + } /* CppDnsLookupWorker::printErrno */ + diff --git a/media-radio/svxlink/metadata.xml b/media-radio/svxlink/metadata.xml index 069d81756da7..3b0e34d555a2 100644 --- a/media-radio/svxlink/metadata.xml +++ b/media-radio/svxlink/metadata.xml @@ -15,4 +15,8 @@ <remote-id type="sourceforge">svxlink</remote-id> <remote-id type="github">sm0svx/svxlink</remote-id> </upstream> + <use> + <flag name="qt5">Build and install qtel application</flag> + <flag name="rtlsdr">Add support for rtlsdr hardware</flag> + </use> </pkgmetadata> diff --git a/media-radio/svxlink/svxlink-24.02.ebuild b/media-radio/svxlink/svxlink-24.02-r2.ebuild index 6a9e245becf4..c179c98aeac6 100644 --- a/media-radio/svxlink/svxlink-24.02.ebuild +++ b/media-radio/svxlink/svxlink-24.02-r2.ebuild @@ -16,27 +16,49 @@ SRC_URI="https://github.com/sm0svx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="ogg qt5 rtlsdr" -DEPEND="dev-lang/tcl:0 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 +DEPEND="dev-lang/tcl:= + dev-libs/jsoncpp:= + dev-libs/libgcrypt:= + =dev-libs/libgpiod-1*:= + dev-libs/libsigc++:2 + dev-libs/popt media-libs/alsa-lib media-sound/gsm - dev-libs/libgcrypt:0 media-libs/speex media-libs/opus - dev-libs/libsigc++:2 - dev-libs/popt" + net-misc/curl + ogg? ( media-libs/libogg ) + rtlsdr? ( net-wireless/rtl-sdr ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + )" RDEPEND="${DEPEND} acct-group/svxlink acct-user/svxlink" BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig" + virtual/pkgconfig + qt5? ( dev-qt/linguist-tools:5 )" src_prepare() { + # fix build for MUSL (bug #936813) + if use elibc_musl ; then + eapply -p1 "${FILESDIR}/$P-musl.patch" + fi + if ! use ogg ; then + # drop automatic discovery of dependency + sed -i -e "s/find_package(OGG)/#/g" \ + src/async/audio/CMakeLists.txt || die + fi + if ! use rtlsdr ; then + # drop automatic discovery of dependency + sed -i -e "s/find_package(RtlSdr)/#/g" \ + src/svxlink/trx/CMakeLists.txt || die + fi cmake_src_prepare # drop deprecated desktop category (bug #475730) sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die @@ -47,8 +69,10 @@ src_configure() { filter-lto local mycmakeargs=( + -DUSE_QT="$(usex qt5)" -DSYSCONF_INSTALL_DIR=/etc -DLOCAL_STATE_DIR=/var + -DUSE_OSS=NO ) cmake_src_configure } diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest index 4640d79819aa..ec2c299b0dba 100644 --- a/media-radio/tucnak/Manifest +++ b/media-radio/tucnak/Manifest @@ -1,5 +1,7 @@ DIST tucnak-4.59.tar.gz 6822110 BLAKE2B ba6a9912886c8ac5a0506c0170232f7f441e10d3bff2a45309cf4b03a67465165438c2955d080d7dd2616c0404594d7af370f5ada13337d91d46c07713ddf1a2 SHA512 a66ae8aba0bab19c1ac4a68889a9134eb24ba01e4ae444eac96c6f6829a09d307884ed4b448b606e2c9fea21d2fe33df68f5cd982177fc8d2c4b366ee090cfaa DIST tucnak-4.60.tar.gz 6823505 BLAKE2B 4c0bea1a3f179f0ee8fe0b652f42148171c73b6b558f44c7ded86bc9964d08a13004c490fa4f9337ff92bf2c685b37682212171a0331cb47667a32019cc26ada SHA512 37f2820d451dae83ffdfe52e8a1a8a7195cb518a831b8e2d9553387c504a7407cf15a70d7744a2ed88585f12638c1ae3e62f47914b232e5b20f8b07d3c2fac8c +DIST tucnak-4.61.tar.gz 6824381 BLAKE2B f995271f309d24725993bd243ade28744a81d5ab80f994dd3425336930bcd8212433f17d682575d3725243c0e1fc84510e9bd063a6b5372158d3a88558898e34 SHA512 67d17da2a321492c8c38f2207570631851122fe2615f7cc20716ad0906b0fc2422e414e0be91fdfad2474b08d20c4c05c0d2aec9ad2d1d6afc3450af0d9eeb62 EBUILD tucnak-4.59.ebuild 1960 BLAKE2B 7fdf98d50e817a0786987b86e6240e22f30d0a2e0740a0329ff3e99ae84c1e909e7587cfee1fc241596a00039f4a22738eb9accec3b99f4e5a1792bf33056739 SHA512 fd4046d57bb137aac57891d5eac2ec986a05b5f8d0a3bdbc24ed4600341260cb73aa636abfebef6e7859e5ec1e05447dff36b45dd275aed8d1325e4f38490f1b EBUILD tucnak-4.60.ebuild 1962 BLAKE2B 537f04130eddcbfbc4f079bbf69e70d8119a250a01a88c67393e630c07baf8b4c06a21bff77a35c9e7ac49bd785e33992b72ea10e687e8e57adb2cb188dc4a66 SHA512 c269539868d240ee0d91bdf86024ba3af0d29f51d72752c7dd3dc9e151994a9329805070525e4ac4c265947b02ee9ff491fc2378446a6303752acceb8085633b -MISC metadata.xml 409 BLAKE2B 8179722b95bb5d639bbf3755eac5ec6d3a2492d117a9af0edd5aba1910974f7ca99c35bf759f9c44a6ee59d18a4b7088c1f009abf0dbdfbafd04f6c3a6875b3a SHA512 e07f3bbf055dfafb6d6fb2596fe20bdb0aaccb8960fc5d1ad5ea372a51baafb75458571729f99afc1086fcc596aa35cd22aafbc9af4d422dba2aba1243c93422 +EBUILD tucnak-4.61.ebuild 2125 BLAKE2B ccc4b40e3226f82a0cbcbda117bbd179012dead13333de6fae9f9c4cca52e49b55d4ec21effbe8451c842d5f69f40710cb9a1b7212d5b920765b449958eb4a3f SHA512 c243e37ad68c34e83685a7a17dc21dbcfd14c29fb49997550f479d14e9912dd250c5270a1bf9b1167fa4d84acbe459a3b4f74ada982887ced4bdfef84307c506 +MISC metadata.xml 470 BLAKE2B 7167b7b0bc863814a9b242d14a8a0145a64f2836fe70d3da522bd0b5517614e42a0e42fb930c5129aa7aa3ee0024bb6ab83c95b95a2e81918edbe3cd368b2203 SHA512 551d5e403e497e67582b16ddcc2bd00aed6ce2ac02a801a3d9b1d85c98dfe393faeadf094c41809461999ba6b118faa61e947a6b6aa78eba6015afebb9ff68ec diff --git a/media-radio/tucnak/metadata.xml b/media-radio/tucnak/metadata.xml index d94c8d78c9bb..9421358483f1 100644 --- a/media-radio/tucnak/metadata.xml +++ b/media-radio/tucnak/metadata.xml @@ -8,5 +8,6 @@ <use> <flag name="hamlib">Enables support by the Hamlib amateur radio rig control library to get/set frequency and mode of the ham radio</flag> + <flag name="rtlsdr">Add support for rtlsdr hardware</flag> </use> </pkgmetadata> diff --git a/media-radio/tucnak/tucnak-4.61.ebuild b/media-radio/tucnak/tucnak-4.61.ebuild new file mode 100644 index 000000000000..e424442c7ed4 --- /dev/null +++ b/media-radio/tucnak/tucnak-4.61.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools flag-o-matic + +DESCRIPTION="Amateur Radio VHF Contest Logbook" +HOMEPAGE="http://tucnak.nagano.cz" +SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa fftw gpm hamlib portaudio rtlsdr suid" + +RDEPEND="dev-libs/glib:2 + ~dev-libs/libzia-4.61 + media-libs/libsndfile + media-libs/libsdl2 + alsa? ( media-libs/alsa-lib ) + fftw? ( sci-libs/fftw:3.0= ) + gpm? ( sys-libs/gpm ) + hamlib? ( media-libs/hamlib:= ) + portaudio? ( media-libs/portaudio ) + rtlsdr? ( net-wireless/rtl-sdr )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + eapply_user + # fix destop file + sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die + # fix doc install path + sed -i -e "s/docsdir/# docsdir/" \ + -e "s/docs_DATA =/# docs_DATA/" \ + -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am || die + eautoreconf +} + +src_configure() { + append-ldflags -L/usr/$(get_libdir)/hamlib + econf $(use_with alsa) \ + $(use_with gpm) \ + $(use_with hamlib) \ + $(use_with fftw fftw3) \ + $(use_with portaudio) \ + $(use_with rtlsdr) \ + --without-hidapi +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog doc/NAVOD.pdf + if use suid ; then + fperms 4711 /usr/bin/soundwrapper + fi +} + +pkg_postinst() { + elog "In order to use sound with tucnak add yourself to the 'audio' group" + elog "and to key your rig via the parport add yourself to the 'lp' group" + elog "" + elog "tucnak can be used with the following additional packages:" + elog " media-radio/cwdaemon : Morse output via code cwdaemon" + elog " (No need to recompile)" + if use suid ; then + ewarn "You have choosen to install the little helper program 'soundwrapper'" + ewarn "setuid by setting USE=suid. That helper is only needed if you" + ewarn "want to use morse sidetone output via the PC speaker." + ewarn "" + ewarn "While the helper should be safe by design be aware that setting" + ewarn "any program setuid is a security risk." + fi +} |