diff options
-rw-r--r-- | net-nntp/leafnode/Manifest | 1 | ||||
-rw-r--r-- | net-nntp/leafnode/leafnode-1.12.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-nntp/leafnode/Manifest b/net-nntp/leafnode/Manifest index 3bfa7002ea48..3f782a13c138 100644 --- a/net-nntp/leafnode/Manifest +++ b/net-nntp/leafnode/Manifest @@ -1 +1,2 @@ DIST leafnode-1.11.11.tar.xz 453396 BLAKE2B 70471c7a68dd8c679d119bbca28c0073d78b3d577d3d64aa22540939125aa0bba464e161b6f24d78b6af771df2e0a8b9313c547e3469c4c9b406f7180a4564ec SHA512 a031306389c2c85777c6e9fc3c8529a5ef420e95be301ee60189f20db10cd8cf9328fac8adcd7f56b96d0e4a9c9c9a0c036775e604bd8f6749e5facc8e8228e7 +DIST leafnode-1.12.0.tar.xz 464572 BLAKE2B 25e86ed87e81fb8551fd7b613464d1989eef896bdad585b8d5a94b311402856f336e027c5d56a37a4f488f2a3d5531f8763add2ae4582f2c310e5581dd73de10 SHA512 99cc49b4cbfb6b6d5fdcb64fcc8b77aabd6b675cf6ea51e2aaf275830014171c408f21fd88729c5422b5845bcd27fcf9a1640f54e449f7fbe5d956a05afe10d7 diff --git a/net-nntp/leafnode/leafnode-1.12.0.ebuild b/net-nntp/leafnode/leafnode-1.12.0.ebuild new file mode 100644 index 000000000000..6664ad79fae0 --- /dev/null +++ b/net-nntp/leafnode/leafnode-1.12.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A USENET software package designed for small sites" +HOMEPAGE="http://leafnode.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=">=dev-libs/libpcre2-10" +RDEPEND="${DEPEND} + virtual/inetd" +DOCS=( CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS UNINSTALL-daemontools README README-MAINTAINER README-FQDN ) + +src_configure() { + econf \ + --sysconfdir=/etc/leafnode \ + --localstatedir=/var \ + --with-spooldir=/var/spool/news \ + --with-ipv6 +} + +src_install() { + default + + keepdir \ + /var/lib/news \ + /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \ + /var/spool/news/message.id/{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9}{0,1,2,3,4,5,6,7,8,9} + + fowners -R news:news /var/{lib,spool}/news + + insinto /etc/xinetd.d + newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp + + exeinto /etc/cron.hourly + newexe "${FILESDIR}"/fetchnews.cron fetchnews + exeinto /etc/cron.daily + newexe "${FILESDIR}"/texpire.cron texpire + + dodoc FAQ.html FAQ.xml README-FQDN.html +} |