From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24A0E138334 for ; Sun, 14 Oct 2018 13:03:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A5F4E07F6; Sun, 14 Oct 2018 13:03:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7331E07F6 for ; Sun, 14 Oct 2018 13:03:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5E4E335CE4 for ; Sun, 14 Oct 2018 13:03:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F111643F for ; Sun, 14 Oct 2018 13:02:59 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1539522147.c7a8daf132cc7e804ffb23180bad44ecf9b1fe84.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nntp/suck/suck-4.3.3-r1.ebuild X-VCS-Directories: net-nntp/suck/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: c7a8daf132cc7e804ffb23180bad44ecf9b1fe84 X-VCS-Branch: master Date: Sun, 14 Oct 2018 13:02:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6c515871-94e3-4e1f-b1b8-8912ce0ec4ad X-Archives-Hash: defb4a78e66daf3093ef44eca933d65e commit: c7a8daf132cc7e804ffb23180bad44ecf9b1fe84 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 14 12:49:31 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 14 13:02:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a8daf1 net-nntp/suck: Drop optional inn support (#608908) Signed-off-by: Pacho Ramos gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-nntp/suck/suck-4.3.3-r1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) 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 00000000000..264c898d7d6 --- /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/* +}