diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/Manifest.gz | bin | 5052 -> 5051 bytes | |||
-rw-r--r-- | net-dialup/lrzsz/Manifest | 3 | ||||
-rw-r--r-- | net-dialup/lrzsz/files/lrzsz-0.12.20-c23.patch | 98 | ||||
-rw-r--r-- | net-dialup/lrzsz/lrzsz-0.12.20-r10.ebuild | 77 |
4 files changed, 178 insertions, 0 deletions
diff --git a/net-dialup/Manifest.gz b/net-dialup/Manifest.gz Binary files differindex 2366df7b9970..7fafb8b2a2f5 100644 --- a/net-dialup/Manifest.gz +++ b/net-dialup/Manifest.gz diff --git a/net-dialup/lrzsz/Manifest b/net-dialup/lrzsz/Manifest index 48047917a42e..0ffa5891c71f 100644 --- a/net-dialup/lrzsz/Manifest +++ b/net-dialup/lrzsz/Manifest @@ -1,6 +1,7 @@ AUX lrzsz-0.12.20-AR.patch 266 BLAKE2B 51c7a264e02d4609cf771289f897789121cff57a64a99eb9f7238ca8aed1202505cb215436e351650e8adfaf291a999241d2431b1c2a6bfb0cb3bfbda37274e2 SHA512 9cf23cc68ccacdd54a61d6667c207a1a68c7e5f5ab82399de696a2963fe0aa437b77a191b29d8f6ba868f42efda3f2887b8773cf04c3202477ead33cc3edf03c AUX lrzsz-0.12.20-automake-1.12.patch 793 BLAKE2B 969e4f452c6c8240eeea343ebb809fd2d8b33e11bd37dbba679aa5f98ba10a8f182140d1ffe35b83a77fc5db2c0c14cf338a2f3605f7f4d30763d1b1f6b27739 SHA512 8e55cec506a494f97e7bd0c7bf910a0f49ab56485fe916e6d9e7dec7c6ff0f14aadd2b88d393ea16493c1780405e69ec7876490bf93fd05a8c51a3f58666a4a0 AUX lrzsz-0.12.20-automake-1.13.patch 454 BLAKE2B 19627ec86b92c5e1dfcd4404408b9a64f1bc39ec08746f0c848db5a56be67e16341ccb4c37dcad7369e95b13b32788646daf76d5f0712b6d77c859e3dbea7a0f SHA512 75b0f707704bb4f788de9f2fbb82c29daaa4b748e151271ba2617d24d759a84dea323f2f160b727e2c94675df78ffe1bd8368dd593d4582cbb567643717ec68e +AUX lrzsz-0.12.20-c23.patch 2251 BLAKE2B 6b052364cc7a45e31f4255d02e60a8ebbf16a33e39acd18072e91dcb1081f8e52fec84dd98eb90a616e5ad01c8e7aea096f2b0c98c9650c2393803b10849d259 SHA512 6cde7e3b27e063d8e889dc3d788a0be3817f221341c0c6cf8238e8fb2547372e505b668d6d1219e6d8adbf59b52b6bb837ad222417f77beb38aa6ebb8cd4b5ea AUX lrzsz-0.12.20-c99.patch 714 BLAKE2B 5e475fd00cc6b49cf4b5a6ba54035fff9eee5a7d476825d127264f6295c4e625c987699a2c88fe806f9373d722c7992ee484a109be21c43847682bb7f272bb45 SHA512 940024654054dfe5a2f9fdb55c893ed58dffbbf98b95716e01691167503c4c6ae0b02ea7e16f1ae166921c1662fa6864ad4da9e50fdc679e77dde519a7e0a4d3 AUX lrzsz-0.12.20-configure-clang16.patch 283 BLAKE2B 93e58683157cb3da035d8974fe35ecd1b8569df44818bfbdd60d6f4e3e406a86d0b0ce41631c648fc0e3aa6640f753f3912f113caaf07a86a2ee8dc3067aadb9 SHA512 92b6cb4a7575413f63e62225b8c0f852a89703a732625ec7d589890546459a61762260547b6acb8efec87447407cec13e493eebd2610c6e2838f6ef66c06e239 AUX lrzsz-0.12.20-disable-nls.patch 616 BLAKE2B c90986a3b3acf8aecfdd0ccbdd07946ee4fd342db26506afbde872f0c9102a04227fe8e563c7f7bf85881884dad4f011a34bd238e070acf0d6e87a3d6ed5eb2f SHA512 df8535ec3035d6120d00d72c5e3fd1d4171d4e506af027dc9af6f7d1a24a09374b3ae2cf576ddef6aa4a49fee299a72a60b8d5503da353d9de95688a48a4f185 @@ -9,7 +10,9 @@ AUX lrzsz-0.12.20-gettext-0.20.patch 850 BLAKE2B f3d810b7335c33f1e28247cd7a68d50 AUX lrzsz-0.12.20-gettext-0.22.patch 1016 BLAKE2B 415f2b2bbb9311bc306ab43f56df416cd66f4c08d95db81f473f284fa4d0618218ca53c55e1765480f2bfeb29b3d2efe7a78d012e26ef339262470ba556ed105 SHA512 0dbf6dc3e3bf6c91e194f19af6ded6c02fe5ad9ef9467669e4151dcaab15ab934a6b7a7e67c3be12ea7bbfa3f063b3932d5f9ce2e9a72976484e54dea329229a AUX lrzsz-autotools.patch 8725 BLAKE2B 8f499974f0184784d1e800a43e8fdd09b389bb2a2c48ae335708ca25eb2b7130b5554fcbb8217aa3833ffdf2d0756fe091df615351b4c23214e7889dbf2399aa SHA512 4ba98fb4a72d8fcc654741d57992598d56eded61e7b89c54d44edd7a609149e15d9948d777d70bf41137daa0b860c67e1212a3f38519434cb5d44546bfb94909 AUX lrzsz-implicit-decl.patch 428 BLAKE2B c08a244d292be32bb49fff6186cbe847c106dee67b3ea463860d1e6387e159af1b106e5f78ea5bce31c347cb7207c95116243fa515e4daafb23d2cc309776480 SHA512 7dd642aa6701671986e6ab1635935c7a8088ad5ee74131b7c486e2e87d748fc835798d1a8a291e85a80ba3f88328ce4f293a8dafb1ebd9924f1f31fb2bd3a7d7 +DIST gettext-0.19.8-runtime-m4.tar.xz 26092 BLAKE2B 671c43cbdc393658c0f9960cf6b743b5126a52ff0a87dbd8a59f6a8c398eecfab7509421d6e01096d73e40f2feb7b2bc229822c4d475d91a703c941134a506b5 SHA512 a5e5a64c7e2bd1a0fa6d426ff72a286027451ff034050541a92ba5a4d7889f925e4674e1df89e0c7e9657329209284995afcb0180a2e441136694556450e4edd DIST lrzsz-0.12.20.tar.gz 280938 BLAKE2B 86511ab112da849f5894f18c045f2c8a9dd4c4e97426c1d98c5b91aade6c39e26f4a7e5674e057c9596a240dfd3ef32053fcdc8ee58b33654cf15eec64779b1e SHA512 9bce64036f1f1c65f5910f19802aecaf3dc5ffeab0feeca10fa8d2fe1b83e212391cce23056d22fd0eda52df89e12ede68eb5d22ffcf22f935910d2af7399f12 DIST lrzsz-m4-0.12.20.tar.bz2 23959 BLAKE2B 933e43f80a40478baef77d69f81fcb04947f2d0afb87f777b0c000ea4223408bf3e55d687cf625ab4835fb30e274f7058ff09ee3b51ad90e09723cd3053ee038 SHA512 c8818381f2e5271bc2dd7d469c0a33a6b22d42d3159b41f168223473a8b03322f3ff91a49ce398e3ef5abe7b355d92b83b1429d0c6d450d19985a60e2e1190d4 +EBUILD lrzsz-0.12.20-r10.ebuild 1963 BLAKE2B 8e768e4cdd59314716abb658b6e5051f8ed406c40b91309326c1fd0d0875d9153a2b0441938477dbf74239d4d3d794ddf100f0b1abbe91b6ea85aea12835d02e SHA512 f166454f31b44c3f714027e083d3b728ca165abb3bc6a801e85321710280973cf19ff008bc4543ebf12c3810e637b93fa539058980c9e568d6e8f2b221220796 EBUILD lrzsz-0.12.20-r9.ebuild 1916 BLAKE2B 8c0ca5cda2f8a0ebe8c5efb1055a0042bf7a0a1efff4426f7cbb19f4fdb0441e59832680e7498fb4aa377a867c05c12dde6ab6166afac7f713d0b9b37b37637a SHA512 75bd2245d5975e8ecd6a74635f7e18f5cc5ec7d779c088008624e9f68ac6662a3b8f6331fd10458aa9636d60f6fa6aa03b5bd299f8b052aaa94072f94c087425 MISC metadata.xml 333 BLAKE2B df605c89da2e450f542b023df0a51e50a6177752593c7b2e97fab91cade3550cb0a93ebade7edcd4e4569853987b57449226709d6fb96643a5057e2e80d986ae SHA512 806f343912c267d02df9ab3715f57a63c6457db97f67c0737114533fb99bf94ab2f8ebe5da839f4b19993d6d705be6efc549783d42100ee49b77e57ffbda7908 diff --git a/net-dialup/lrzsz/files/lrzsz-0.12.20-c23.patch b/net-dialup/lrzsz/files/lrzsz-0.12.20-c23.patch new file mode 100644 index 000000000000..d3412a2bd7ed --- /dev/null +++ b/net-dialup/lrzsz/files/lrzsz-0.12.20-c23.patch @@ -0,0 +1,98 @@ +https://bugs.gentoo.org/943880 + +--- a/lib/error.c ++++ b/lib/error.c +@@ -73,7 +73,7 @@ extern char *program_name; + + # if HAVE_STRERROR + # ifndef strerror /* On some systems, strerror is a macro */ +-char *strerror (); ++char *strerror (int); + # endif + # else + static char * +--- a/lib/long-options.c ++++ b/lib/long-options.c +@@ -36,11 +36,11 @@ static struct option const long_options[] = + /* Process long options --help and --version, but only if argc == 2. + Be careful not to gobble up `--'. */ + void +-parse_long_options (argc, argv,version, usage) +- int argc; +- char **argv; +- void (*version)(); +- void (*usage)(); ++parse_long_options ( ++ int argc, ++ char **argv, ++ void (*version)(void), ++ void (*usage)(int)) + { + int c; + int saved_opterr; +@@ -61,7 +61,7 @@ parse_long_options (argc, argv,version, usage) + (*usage) (0); + + case 'v': +- (*version) (0); ++ (*version) (); + /* printf ("%s (%s) %s\n", command_name, package, version_string); */ + exit (0); + +--- a/lib/xstrtol.c ++++ b/lib/xstrtol.c +@@ -65,17 +65,17 @@ extern int errno; + } \ + while (0) + +-__unsigned long int __strtol (); ++__unsigned long int __strtol (const char*, char**, int); + + /* FIXME: comment. */ + + strtol_error +-__xstrtol (s, ptr, base, val, valid_suffixes) +- const char *s; +- char **ptr; +- int base; +- __unsigned long int *val; +- const char *valid_suffixes; ++__xstrtol ( ++ const char *s, ++ char **ptr, ++ int base, ++ __unsigned long int *val, ++ const char *valid_suffixes) + { + char *t_ptr; + char **p; +--- a/src/lrz.c ++++ b/src/lrz.c +@@ -42,9 +42,9 @@ + #include "error.h" + + #ifndef STRICT_PROTOTYPES +-extern time_t time(); +-extern char *strerror(); +-extern char *strstr(); ++extern time_t time(time_t*); ++extern char *strerror(int); ++extern char *strstr(const char* , const char*); + #endif + + #ifndef HAVE_ERRNO_DECLARATION +--- a/src/lsz.c ++++ b/src/lsz.c +@@ -51,9 +51,9 @@ void *mm_addr=NULL; + #include "error.h" + + #ifndef STRICT_PROTOTYPES +-extern time_t time(); +-extern char *strerror(); +-extern char *strstr(); ++extern time_t time(time_t*); ++extern char *strerror(int); ++extern char *strstr(const char*, const char*); + #endif + + #ifndef HAVE_ERRNO_DECLARATION diff --git a/net-dialup/lrzsz/lrzsz-0.12.20-r10.ebuild b/net-dialup/lrzsz/lrzsz-0.12.20-r10.ebuild new file mode 100644 index 000000000000..d1ea630d21b1 --- /dev/null +++ b/net-dialup/lrzsz/lrzsz-0.12.20-r10.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Communication package providing the X, Y, and ZMODEM file transfer protocols" +HOMEPAGE="https://www.ohse.de/uwe/software/lrzsz.html" +SRC_URI=" + https://www.ohse.de/uwe/releases/${P}.tar.gz + https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/gettext-0.19.8-runtime-m4.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="nls" + +DEPEND="nls? ( virtual/libintl )" +BDEPEND="nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-autotools.patch + "${FILESDIR}"/${PN}-implicit-decl.patch + "${FILESDIR}"/${P}-automake-1.12.patch + "${FILESDIR}"/${P}-automake-1.13.patch + "${FILESDIR}"/${P}-gettext-0.20.patch + "${FILESDIR}"/${P}-AR.patch + "${FILESDIR}"/${P}-configure-clang16.patch + "${FILESDIR}"/${P}-gettext-0.22.patch + "${FILESDIR}"/${P}-disable-nls.patch + "${FILESDIR}"/${P}-c99.patch + "${FILESDIR}"/${P}-fix-integer-overflow.patch + "${FILESDIR}"/${P}-c23.patch +) + +DOCS=( AUTHORS COMPATABILITY ChangeLog NEWS \ + README{,.cvs,.gettext,.isdn4linux,.tests} THANKS TODO ) + +src_prepare() { + default + + # automake is unhappy if this is missing + >> config.rpath || die + # This is too old. Remove it so automake puts in a newer copy. + rm missing || die + # Autoheader does not like seeing this file. + rm acconfig.h || die + # embed default m4 files in case gettext is not installed + mv "${WORKDIR}"/m4 . || die + + eautoreconf +} + +src_configure() { + tc-export CC + + econf $(use_enable nls) +} + +src_test() { + # Don't use check target. + # See bug #120748 before changing this function. + emake vcheck +} + +src_install() { + default + + local x + for x in {r,s}{b,x,z} ; do + dosym l${x} /usr/bin/${x} + dosym l${x:0:1}z.1 /usr/share/man/man1/${x}.1 + [ "${x:1:1}" = "z" ] || dosym l${x:0:1}z.1 /usr/share/man/man1/l${x}.1 + done +} |