summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Honsberger <blkdeath@gentoo.org>2004-02-14 21:28:19 +0000
committerStewart Honsberger <blkdeath@gentoo.org>2004-02-14 21:28:19 +0000
commitb77461e8a481db7f767147c4c01f8855168ea273 (patch)
tree5b879a86ccf8babcf82b54bd1aa7f671f9328ff4 /net-news
parentadd ucl dep (diff)
downloadhistorical-b77461e8a481db7f767147c4c01f8855168ea273.tar.gz
historical-b77461e8a481db7f767147c4c01f8855168ea273.tar.bz2
historical-b77461e8a481db7f767147c4c01f8855168ea273.zip
Version bump to 1.9.49, updated homepage, removed dupe "RESTRICT" line
Diffstat (limited to 'net-news')
-rw-r--r--net-news/leafnode/Manifest2
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.491
-rw-r--r--net-news/leafnode/leafnode-1.9.49.ebuild61
3 files changed, 64 insertions, 0 deletions
diff --git a/net-news/leafnode/Manifest b/net-news/leafnode/Manifest
index 1364c7f7986f..b1d7c471b702 100644
--- a/net-news/leafnode/Manifest
+++ b/net-news/leafnode/Manifest
@@ -3,9 +3,11 @@ MD5 cc8bbd461a0559ee54683531d80991ba leafnode-2.0.0_alpha20030621.ebuild 2466
MD5 fa92fe676f7817a2f451e57a5129a290 leafnode-1.9.42.ebuild 1866
MD5 63bd6e87942a25d48bd5365edd8246c0 metadata.xml 268
MD5 2ae0fa913eb09f0843235c67be8acca6 leafnode-2.0.0_alpha20031028.ebuild 2470
+MD5 cb4ce6451c9a492f0105233f5e2d55a4 leafnode-1.9.49.ebuild 1857
MD5 c9e3a9028be25e8e193bccd6a72179f0 files/fetchnews.cron 179
MD5 510836c882c3365d0441ba7d8854ba6b files/leafnode.xinetd 230
MD5 2f9497c399cca56885460b88ee53da0b files/texpire.cron 159
MD5 06eec26c72070f70f182ebcf05cd22a3 files/digest-leafnode-2.0.0_alpha20030621 82
MD5 d07ba6707cd78e8407f2c28c2e016ff9 files/digest-leafnode-1.9.42 72
MD5 6c9c7d9c54204328331615d7b725fe7b files/digest-leafnode-2.0.0_alpha20031028 82
+MD5 55746f46949f232f8cc02f902f807b08 files/digest-leafnode-1.9.49 72
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.49 b/net-news/leafnode/files/digest-leafnode-1.9.49
new file mode 100644
index 000000000000..360f53b0ce30
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.49
@@ -0,0 +1 @@
+MD5 cbaedb673882d90ee4301dc29728e7dc leafnode-1.9.49.rel.tar.bz2 666698
diff --git a/net-news/leafnode/leafnode-1.9.49.ebuild b/net-news/leafnode/leafnode-1.9.49.ebuild
new file mode 100644
index 000000000000..c46fd0b26b98
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.49.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.9.49.ebuild,v 1.1 2004/02/14 21:28:11 blkdeath Exp $
+
+S=${WORKDIR}/${P}.rel
+DESCRIPTION="leafnode - A USENET software package designed for small sites"
+SRC_URI="mirror://sourceforge/leafnode/${P}.rel.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://leafnode.sourceforge.net/"
+DEPEND=">=dev-libs/libpcre-3.9
+ virtual/inetd"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ipv6"
+
+src_compile() {
+ use ipv6 && myconf="--with-ipv6"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc/leafnode \
+ --localstatedir=/var \
+ ${myconf} || die "./configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ # remove the spool dirs -- put them back in during pkg_postinst, so that
+ # they don't get removed during an unmerge or upgrade
+ rm -rf ${D}/var/spool
+
+ # add .keep file to /var/lock/news to avoid ebuild to ignore the empty dir
+ keepdir /var/lock/news/
+
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/leafnode.xinetd leafnode-nntp
+
+ exeinto /etc/cron.hourly
+ doexe ${FILESDIR}/fetchnews.cron
+ exeinto /etc/cron.daily
+ doexe ${FILESDIR}/texpire.cron
+
+ dodoc COPYING* CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS \
+ TODO README.FIRST README-daemontools UNINSTALL-daemontools \
+ README README-MAINTAINER README-FQDN PCRE_README
+ dohtml FAQ.html FAQ.xml README-FQDN.html
+}
+
+pkg_postinst() {
+ mkdir -p /var/spool/news/{leaf.node,failed.postings,interesting.groups,out.going}
+ mkdir -p /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}
+ chown -R news:news /var/spool/news
+ mkdir -p /var/lib/news
+ chown -R news:news /var/lib/news
+ cat ${S}/README.FIRST
+}