diff options
Diffstat (limited to 'net-nntp')
-rw-r--r-- | net-nntp/Manifest.gz | bin | 2696 -> 2694 bytes | |||
-rw-r--r-- | net-nntp/suck/Manifest | 1 | ||||
-rw-r--r-- | net-nntp/suck/suck-4.3.3-r1.ebuild | 60 |
3 files changed, 61 insertions, 0 deletions
diff --git a/net-nntp/Manifest.gz b/net-nntp/Manifest.gz Binary files differindex 1082ebff4ba4..573c453b040b 100644 --- a/net-nntp/Manifest.gz +++ b/net-nntp/Manifest.gz diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest index bc749ddcb3ae..a49e0f75b5a1 100644 --- a/net-nntp/suck/Manifest +++ b/net-nntp/suck/Manifest @@ -1,4 +1,5 @@ AUX 4.3.3-fputs.patch 639 BLAKE2B acbb1344a34b8176abcc10d61ed08d506cd80ad331aba78c97c5c0de97192ec2708d5c21f34a9b329303ab6c5066b0b248128977eb5d9e2c44633acb56a9919e SHA512 70e7e117692b27e9bcc646eca4e41cf432aca180358922f900e02b0ffa4c98e0a4814f05aa6b318cb38c50075bedf560a74f1a3e9dadf3e88c855d4a43bcc24d DIST suck-4.3.3.tar.gz 153624 BLAKE2B 434bdb21ba37deefcba4c0fa9ec3cdf14bc49e1295533ae3c7fb298f49819113ad05e26b3ca72e20ebdd498b0514155f8d79e7c82e95f423521586de889c2371 SHA512 629ecbd7e8d070fc9c1175be6dd10d49fe71b59b8694f32a81cc2dd5ec46e32d64463d221052922a7e21fcac1c9a330f56399bad7c64fa653d68127cd16dbfdc +EBUILD suck-4.3.3-r1.ebuild 1329 BLAKE2B 6f34ff3cf4f838877b981b6afa99a87e9b393ddc1cde51ac5dd17fabd1e68b316fe64b5346b67a8aacf4c14eb2a3b17372cbde77b163e3afb0f379b4c5ab51f1 SHA512 afe4b0bf7cc4102623565af5a1a02d448a0c59519d48e4333ff6a702dfdffb5a837ca4d8f313c56576896f2d5ac1887d0cdece05a8d014e8e461a735fdf9c6a7 EBUILD suck-4.3.3.ebuild 1343 BLAKE2B 6a2982dac36e91102fa96da5b7035f66e3271fe9c5e8f64e3f7513df0acbb40e817219ef9d51b76e892d0a6594282ecfda9409e594caf3e778ea58dfb9dcb0dc SHA512 f8179fb68e8033c44e00d6cd68c855dd3790b93fdae78909bfaabf7e67f8102cd591e0171eabdc3426ed097fc875165b2bcd19b1f032aa77b14ea2ca7c5ecd8e MISC metadata.xml 446 BLAKE2B f1536ea731934392d13bec8052913b2b1735afb5bb8af79916fab70162b2575ece91eb5a93fecc69d1a964264bc1cf9ae4a44cbec89685fd02297bb1262c68ac SHA512 f8655b719c3dc9bd0a7fd4ef046c88c4e44624d206d544ba9c5f668084fc908c217813aedb6970dc9e081c8483fb1ddbf777e8e78e1432cb262c020e704e5c7c diff --git a/net-nntp/suck/suck-4.3.3-r1.ebuild b/net-nntp/suck/suck-4.3.3-r1.ebuild new file mode 100644 index 000000000000..264c898d7d64 --- /dev/null +++ b/net-nntp/suck/suck-4.3.3-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Grab news from a remote NNTP server and feed them to another" +HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html" +SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="perl ssl" + +RDEPEND=" + sys-libs/gdbm:= + ssl? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND} + sys-libs/db + perl? ( dev-lang/perl ) +" + +PATCHES=( "${FILESDIR}/${PV}-fputs.patch" ) + +src_prepare() { + default + + # Fix paths to the locations in Gentoo + sed -i \ + -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \ + -e 's:/var/lib/news/history:/var/spool/news/db/history:' \ + suck_config.h || die "path adaption sed failed" + + eautoreconf +} + +src_configure() { + use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" + use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" + + econf --without-inn-lib --without-inn-include +} + +src_compile() { + emake phrases.h + emake all lpost +} + +src_install() { + dobin lmove lpost rpost suck testhost + doman man/* + dodoc CHANGELOG CONTENTS README* + docinto java + dodoc java/* + docinto perl + dodoc perl/* + docinto sample + dodoc sample/* +} |