diff options
Diffstat (limited to 'net-dialup/lrzsz')
-rw-r--r-- | net-dialup/lrzsz/Manifest | 2 | ||||
-rw-r--r-- | net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.22.patch | 48 | ||||
-rw-r--r-- | net-dialup/lrzsz/lrzsz-0.12.20-r6.ebuild | 67 |
3 files changed, 117 insertions, 0 deletions
diff --git a/net-dialup/lrzsz/Manifest b/net-dialup/lrzsz/Manifest index c15f6e7ea8ca..e5a901fbfa40 100644 --- a/net-dialup/lrzsz/Manifest +++ b/net-dialup/lrzsz/Manifest @@ -3,8 +3,10 @@ AUX lrzsz-0.12.20-automake-1.12.patch 793 BLAKE2B 969e4f452c6c8240eeea343ebb809f AUX lrzsz-0.12.20-automake-1.13.patch 454 BLAKE2B 19627ec86b92c5e1dfcd4404408b9a64f1bc39ec08746f0c848db5a56be67e16341ccb4c37dcad7369e95b13b32788646daf76d5f0712b6d77c859e3dbea7a0f SHA512 75b0f707704bb4f788de9f2fbb82c29daaa4b748e151271ba2617d24d759a84dea323f2f160b727e2c94675df78ffe1bd8368dd593d4582cbb567643717ec68e AUX lrzsz-0.12.20-configure-clang16.patch 283 BLAKE2B 93e58683157cb3da035d8974fe35ecd1b8569df44818bfbdd60d6f4e3e406a86d0b0ce41631c648fc0e3aa6640f753f3912f113caaf07a86a2ee8dc3067aadb9 SHA512 92b6cb4a7575413f63e62225b8c0f852a89703a732625ec7d589890546459a61762260547b6acb8efec87447407cec13e493eebd2610c6e2838f6ef66c06e239 AUX lrzsz-0.12.20-gettext-0.20.patch 850 BLAKE2B f3d810b7335c33f1e28247cd7a68d50f939a8b6b4ad1d15839a22d46460627343c7515b13729c1cebd8b669310210ca985b17671e538deb9b4fcb9c42cbfd04f SHA512 39c140c7cef024604cd0148d32587176b3ab2e50a622bca2f02307bbf89ae62db3928a6defbcc3790bf1e35f30eaf0fa66e43174ff8dca8a86cb01bda4050b15 +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 lrzsz-0.12.20.tar.gz 280938 BLAKE2B 86511ab112da849f5894f18c045f2c8a9dd4c4e97426c1d98c5b91aade6c39e26f4a7e5674e057c9596a240dfd3ef32053fcdc8ee58b33654cf15eec64779b1e SHA512 9bce64036f1f1c65f5910f19802aecaf3dc5ffeab0feeca10fa8d2fe1b83e212391cce23056d22fd0eda52df89e12ede68eb5d22ffcf22f935910d2af7399f12 EBUILD lrzsz-0.12.20-r5.ebuild 1573 BLAKE2B f5169193335b6b83c12e06b11a5af6cd89f18f1cd014599c14471d0f950c482d467be2bff07dc5ed4c54d681bdd2c456256829ced1a95200e6015b19eefbe230 SHA512 41683f47f75855addfaf84f83248501e4a6fb8c2b238a7de8a368639fb8f68c2d09ffb8cd64f80bbc2d788662cd857b27e081a43eeda7921957b846162d43c17 +EBUILD lrzsz-0.12.20-r6.ebuild 1613 BLAKE2B 83851c4a9bbb5844ebab6d588cba9c920813b7e7ad07c86bef341e7b2ed4815c3305022745afe246e194aa22c2d30bf3f37e1bd7f1d6e64ce93294dc709247e4 SHA512 220ea2b5e8f85ca57c88dfba112de48d3661b5421143790922a4fea5aaee3768a8e8820577bc5d2541adafe343fd1cc9388f4d5385e6aa0856dceb695f5db590 MISC metadata.xml 248 BLAKE2B 9858a97a2186d5b06e272fe28021e0e668897630d8b99023000e8e58e852e80e16b399d8f864b9dff6c9fda25e1519ac8b4331792a4b441be23922707c4ad6a9 SHA512 a1e8f757e473af3ab0ccf695f849dc91e1be877dd505d339bdd26e35a2cf7fb5ffd8f5bf34e933873a462023aecb0edbddefbbda455289279182059cd6c1b0e5 diff --git a/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.22.patch b/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.22.patch new file mode 100644 index 000000000000..016e6dd40262 --- /dev/null +++ b/net-dialup/lrzsz/files/lrzsz-0.12.20-gettext-0.22.patch @@ -0,0 +1,48 @@ +gettext 0.22 removed BUILD_INCLUDED_LIBINTL and USE_INCLUDED_LIBINTL is 'no' + +INSTOBJEXT was deprecated and removed, replace with .mo + +Bug: https://bugs.gentoo.org/908861 + +--- a/intl/Makefile.in ++++ b/intl/Makefile.in +@@ -81,7 +81,7 @@ + + INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib + +-all: all-@USE_INCLUDED_LIBINTL@ ++all: all-no + + all-yes: libintl.$la intlh.inst + all-no: +--- a/configure.in ++++ b/configure.in +@@ -98,7 +98,7 @@ + AM_PROG_AR + AC_ISC_POSIX + AC_USE_SYSTEM_EXTENSIONS +-AM_GNU_GETTEXT ++AM_GNU_GETTEXT([use-libtool]) + AC_C_CONST + AC_C_INLINE + +@@ -264,6 +264,8 @@ + AC_SUBST(LDFLAGS) + AC_SUBST(LIBS) + ++INTLLIBS="$LIBINTL" ++AC_SUBST(INTLLIBS) + + AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME", [LOCALEDIR]) + AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl) +--- a/po/Makefile.in.in ++++ b/po/Makefile.in.in +@@ -53,7 +53,7 @@ + + CATALOGS = de.gmo + CATOBJEXT = @CATOBJEXT@ +-INSTOBJEXT = @INSTOBJEXT@ ++INSTOBJEXT = .mo + + .SUFFIXES: + .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat diff --git a/net-dialup/lrzsz/lrzsz-0.12.20-r6.ebuild b/net-dialup/lrzsz/lrzsz-0.12.20-r6.ebuild new file mode 100644 index 000000000000..08671484501a --- /dev/null +++ b/net-dialup/lrzsz/lrzsz-0.12.20-r6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="nls" + +DEPEND="nls? ( virtual/libintl )" + +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 +) + +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 + + 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 +} |