summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2002-12-29 23:13:08 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2002-12-29 23:13:08 +0000
commitb8ab52cefa32d4ccec040b37cd07a614faa7cf0b (patch)
tree7b16534e26e66dcff52a4bf4e2c1e313a95f4ec3 /net-news
parentbuild with kernel 2.5 (diff)
downloadhistorical-b8ab52cefa32d4ccec040b37cd07a614faa7cf0b.tar.gz
historical-b8ab52cefa32d4ccec040b37cd07a614faa7cf0b.tar.bz2
historical-b8ab52cefa32d4ccec040b37cd07a614faa7cf0b.zip
new version + digest
Diffstat (limited to 'net-news')
-rw-r--r--net-news/leafnode/ChangeLog6
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.302
-rw-r--r--net-news/leafnode/leafnode-1.9.30.ebuild55
3 files changed, 62 insertions, 1 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index b1dfe9db9369..c29d4e4cc530 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-news/leafnode
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.6 2002/11/06 07:09:05 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.7 2002/12/29 23:13:08 lordvan Exp $
+*leafnode-1.9.30 (30 Dec 2002)
+ 30 Dec 2002; Thomas Raschbacher <lordvan@gentoo.org> leafnode-1.9.29 ebuild:
+ Version bump and removed patch again :)
+
*leafnode-1.9.29 (06 Nov 2002)
06 Nov 2002; Bruce A. Locke <blocke@shivan.org> leafnode-1.9.29.ebuild:
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.30 b/net-news/leafnode/files/digest-leafnode-1.9.30
new file mode 100644
index 000000000000..07479abb22be
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.30
@@ -0,0 +1,2 @@
+MD5 3557f751441b880d6321dec475a001d7 leafnode-1.9.30.rel.tar.bz2 623456
+MD5 1eab37ab0341cb85cfac95794ea03a01 leafnode-1.9.29.only_groups_pcre.patch 951
diff --git a/net-news/leafnode/leafnode-1.9.30.ebuild b/net-news/leafnode/leafnode-1.9.30.ebuild
new file mode 100644
index 000000000000..685e8195751f
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.30.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 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.30.ebuild,v 1.1 2002/12/29 23:13:08 lordvan Exp $
+
+S=${WORKDIR}/${P}.rel
+DESCRIPTION="leafnode - A USENET software package designed for small sites"
+SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/${P}.rel.tar.bz2"
+HOMEPAGE="http://www.leafnode.org"
+DEPEND=">=dev-libs/libpcre-3.9"
+RDEPEND="$DEPEND"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+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
+ touch ${D}/var/lock/news/.keep
+
+ 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 INSTALL README TODO README.FIRST \
+ README-MAINTAINER README.FQDN PCRE_README
+}
+
+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
+ cat ${S}/README.FIRST
+}