summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Honsberger <blkdeath@gentoo.org>2004-02-25 20:31:29 +0000
committerStewart Honsberger <blkdeath@gentoo.org>2004-02-25 20:31:29 +0000
commit2741fc68a587f245b23c2c06bcf772d077a8bcde (patch)
tree6edb2f809fba679f19e0dbfec131aef5d0b18a66 /net-news/leafnode
parentremoved some old lib links, looks like they were from the evms1 days, fixes (diff)
downloadgentoo-2-2741fc68a587f245b23c2c06bcf772d077a8bcde.tar.gz
gentoo-2-2741fc68a587f245b23c2c06bcf772d077a8bcde.tar.bz2
gentoo-2-2741fc68a587f245b23c2c06bcf772d077a8bcde.zip
Version bump.
Diffstat (limited to 'net-news/leafnode')
-rw-r--r--net-news/leafnode/ChangeLog8
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.501
-rw-r--r--net-news/leafnode/leafnode-1.9.50.ebuild64
3 files changed, 72 insertions, 1 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index 41bcbbe773e8..1b129b722868 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-news/leafnode
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.21 2004/02/17 06:07:35 blkdeath Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.22 2004/02/25 20:31:29 blkdeath Exp $
+
+*leafnode-1.9.50 (25 Feb 2004)
+
+ 25 Feb 2004; Stewart Honsberger <blkdeath@gentoo.org>
+ leafnode-1.9.50.ebuild:
+ Version bump.
*leafnode-1.9.49 (17 Feb 2004)
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.50 b/net-news/leafnode/files/digest-leafnode-1.9.50
new file mode 100644
index 000000000000..4c82bff1330a
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.50
@@ -0,0 +1 @@
+MD5 01eca56004e6851475aded132c01f5de leafnode-1.9.50.rel.tar.bz2 649305
diff --git a/net-news/leafnode/leafnode-1.9.50.ebuild b/net-news/leafnode/leafnode-1.9.50.ebuild
new file mode 100644
index 000000000000..e87ba80331e3
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.50.ebuild
@@ -0,0 +1,64 @@
+# 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.50.ebuild,v 1.1 2004/02/25 20:31:29 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
+ zcat ${ROOT}/usr/share/doc/${P}/README_FIRST.gz | while read line ;
+ do
+ einfo $line
+ done
+}