summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-10-03 19:15:52 +0000
committerSven Wegener <swegener@gentoo.org>2004-10-03 19:15:52 +0000
commitb0c82c73acfed9653c91ab7a8b1d9a5ae65e7c99 (patch)
tree69ae82565b275359e77ed12e91668678f67ad795 /net-news/leafnode
parentMarked stable on x86. Removed old ebuilds. (Manifest recommit) (diff)
downloadgentoo-2-b0c82c73acfed9653c91ab7a8b1d9a5ae65e7c99.tar.gz
gentoo-2-b0c82c73acfed9653c91ab7a8b1d9a5ae65e7c99.tar.bz2
gentoo-2-b0c82c73acfed9653c91ab7a8b1d9a5ae65e7c99.zip
Version bump.
Diffstat (limited to 'net-news/leafnode')
-rw-r--r--net-news/leafnode/ChangeLog7
-rw-r--r--net-news/leafnode/Manifest12
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.10.61
-rw-r--r--net-news/leafnode/leafnode-1.10.6.ebuild68
4 files changed, 77 insertions, 11 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index a43d03bc4ec8..8e10edea818a 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-news/leafnode
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.36 2004/10/03 19:11:53 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.37 2004/10/03 19:15:52 swegener Exp $
+
+*leafnode-1.10.6 (03 Oct 2004)
+
+ 03 Oct 2004; Sven Wegener <swegener@gentoo.org> +leafnode-1.10.6.ebuild:
+ Version bump.
03 Oct 2004; Sven Wegener <swegener@gentoo.org> -leafnode-1.10.1.ebuild,
-leafnode-1.10.2.ebuild, -leafnode-1.10.4.ebuild, leafnode-1.10.5.ebuild,
diff --git a/net-news/leafnode/Manifest b/net-news/leafnode/Manifest
index fab90d678b34..219b74ec0ded 100644
--- a/net-news/leafnode/Manifest
+++ b/net-news/leafnode/Manifest
@@ -1,21 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 50ab7e4a02331c9c8bc461228f3855cc ChangeLog 7517
MD5 815ce631650114d4a9b2c8425a17fd78 leafnode-2.0.0_alpha20040513.ebuild 2051
MD5 af48f458dde0b0f775f3aee346eb2e77 leafnode-2.0.0_alpha20040813.ebuild 2051
MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161
MD5 4afeb2cd7b3f5b6c471c64c5f09b0d23 leafnode-1.10.5.ebuild 1914
+MD5 59b688352b47ebb8623a214b8be77cf9 leafnode-1.10.6.ebuild 1915
MD5 400f282f47bfa31b927f0b1cb06ef29e files/digest-leafnode-2.0.0_alpha20040513 82
MD5 bbfb0fb543ca0ee706edc3849299d1eb files/digest-leafnode-2.0.0_alpha20040813 82
MD5 5909cb0566e88e7694e85246c78fe4ff files/fetchnews.cron 177
MD5 510836c882c3365d0441ba7d8854ba6b files/leafnode.xinetd 230
MD5 72cc5e849b413ec0cf288a65980dd3b5 files/texpire.cron 158
MD5 77f5baae985324905dc359a4db23776a files/digest-leafnode-1.10.5 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBYE8CI1lqEGTUzyQRAocCAKCJBONV2nBfyEkDwcgzz32T2YkmagCgrtIZ
-aRJhDN4j9GJ49Ku6ZQI9RZA=
-=XkXF
------END PGP SIGNATURE-----
+MD5 6124341facdbd0739add2a9fb4f7decc files/digest-leafnode-1.10.6 72
diff --git a/net-news/leafnode/files/digest-leafnode-1.10.6 b/net-news/leafnode/files/digest-leafnode-1.10.6
new file mode 100644
index 000000000000..08bc7a74a39d
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.10.6
@@ -0,0 +1 @@
+MD5 5280f805fdc3db66e7b168944732f852 leafnode-1.10.6.rel.tar.bz2 384293
diff --git a/net-news/leafnode/leafnode-1.10.6.ebuild b/net-news/leafnode/leafnode-1.10.6.ebuild
new file mode 100644
index 000000000000..d38230798bd8
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.10.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.10.6.ebuild,v 1.1 2004/10/03 19:15:52 swegener Exp $
+
+MY_P=${P}.rel
+
+DESCRIPTION="A USENET software package designed for small sites"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+HOMEPAGE="http://leafnode.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="ipv6"
+
+DEPEND=">=dev-libs/libpcre-3.9"
+RDEPEND="${DEPEND}
+ virtual/inetd"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/leafnode \
+ --localstatedir=/var \
+ --with-spooldir=/var/spool/news \
+ $(use_with ipv6) \
+ || die "econf 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
+ dohtml FAQ.html FAQ.xml README-FQDN.html
+}
+
+pkg_postinst() {
+ mkdir -p ${ROOT}/var/spool/news/{leaf.node,failed.postings,interesting.groups,out.going}
+ mkdir -p ${ROOT}/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 ${ROOT}/var/spool/news
+
+ mkdir -p ${ROOT}/var/lib/news
+ chown -R news:news ${ROOT}/var/lib/news
+
+ zcat ${ROOT}/usr/share/doc/${PF}/README.FIRST.gz | while read line ;
+ do
+ einfo $line
+ done
+}