1 |
commit: 8ddc4e49bf03179181c421e403b69b8c13276687 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 10:55:26 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 11:47:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ddc4e49 |
7 |
|
8 |
net-nntp/leafnode: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
net-nntp/leafnode/leafnode-1.11.11.ebuild | 52 ------------------------------- |
14 |
1 file changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/net-nntp/leafnode/leafnode-1.11.11.ebuild b/net-nntp/leafnode/leafnode-1.11.11.ebuild |
17 |
deleted file mode 100644 |
18 |
index e33becee0edf..000000000000 |
19 |
--- a/net-nntp/leafnode/leafnode-1.11.11.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,52 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit epatch |
28 |
- |
29 |
-DESCRIPTION="A USENET software package designed for small sites" |
30 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
31 |
-HOMEPAGE="http://leafnode.sourceforge.net/" |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 ppc x86" |
35 |
-IUSE="ipv6" |
36 |
- |
37 |
-DEPEND=">=dev-libs/libpcre-3.9" |
38 |
-RDEPEND="${DEPEND} |
39 |
- virtual/inetd" |
40 |
-DOCS=( CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS README-daemontools UNINSTALL-daemontools README README-MAINTAINER README-FQDN ) |
41 |
- |
42 |
-src_prepare() { |
43 |
- epatch "${FILESDIR}/${PN}-${PV}-checkpeerlocal_ipv6_fix.patch" |
44 |
-} |
45 |
- |
46 |
-src_configure() { |
47 |
- econf \ |
48 |
- --sysconfdir=/etc/leafnode \ |
49 |
- --localstatedir=/var \ |
50 |
- --with-spooldir=/var/spool/news \ |
51 |
- $(use_with ipv6) |
52 |
-} |
53 |
- |
54 |
-src_install() { |
55 |
- default |
56 |
- |
57 |
- keepdir \ |
58 |
- /var/lib/news \ |
59 |
- /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \ |
60 |
- /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} |
61 |
- |
62 |
- fowners -R news:news /var/{lib,spool}/news |
63 |
- |
64 |
- insinto /etc/xinetd.d |
65 |
- newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp |
66 |
- |
67 |
- exeinto /etc/cron.hourly |
68 |
- newexe "${FILESDIR}"/fetchnews.cron fetchnews |
69 |
- exeinto /etc/cron.daily |
70 |
- newexe "${FILESDIR}"/texpire.cron texpire |
71 |
- |
72 |
- dohtml FAQ.html FAQ.xml README-FQDN.html |
73 |
-} |