summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-04-16 09:42:11 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-04-16 09:42:11 +0000
commitf235a0dfef5755b118d52cfe0afbef2e64175dda (patch)
treee93dcad1b72602c16d67b5cd7d483fc82f788fad /net-news/leafnode
parentclarify voodoo stuff (diff)
downloadhistorical-f235a0dfef5755b118d52cfe0afbef2e64175dda.tar.gz
historical-f235a0dfef5755b118d52cfe0afbef2e64175dda.tar.bz2
historical-f235a0dfef5755b118d52cfe0afbef2e64175dda.zip
ebuild overhaul by markus-krainer@chello.at (Markus Krainer)
Diffstat (limited to 'net-news/leafnode')
-rw-r--r--net-news/leafnode/ChangeLog17
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.211
-rw-r--r--net-news/leafnode/leafnode-1.9.21.ebuild45
3 files changed, 63 insertions, 0 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index a9fdaf9fc57a..ac0231b476b8 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -2,6 +2,23 @@
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
# /space/gentoo/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.1 2002/02/01 21:52:59 gbevin Exp
+*leafnode-1.9.21 (16 Apr 2002)
+
+ 16 Apr 2002; Bruce A. Locke <blocke@shivan.org> leafnode-1.9.21.ebuild:
+
+ Committed to CVS as 1.9.21 ebuild
+
+ 07 Apr 2002; Markus Krainer <krainer@chello.at> leafnode-1.9.20.ebuild,
+ files/digest-leafnode-1.9.20, ChangeLog :
+
+ - New version 1.9.20
+ - Removed "--host" option for ./configure (seems deprecated)
+ - Added "--localstatedir=/var" to ./configure (use /var instead of /usr/var)
+ - Added "--sysconfdir=/etc/leafnode" to ./configure
+ - Changed INSTALLROOT to DESTDIR in make install
+ - Removed doc_german from dodoc
+ - display a warning as there are incompatible changes to prev. version
+
*leafnode-1.9.19 (24 Feb 2002)
24 Feb 2002; Chris Houser <chouser@gentoo.org> leafnode-1.9.19.ebuild :
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.21 b/net-news/leafnode/files/digest-leafnode-1.9.21
new file mode 100644
index 000000000000..501bbab94e37
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.21
@@ -0,0 +1 @@
+MD5 f8722e9077789fd48feb08c3547a654a leafnode-1.9.21.tar.gz 639093
diff --git a/net-news/leafnode/leafnode-1.9.21.ebuild b/net-news/leafnode/leafnode-1.9.21.ebuild
new file mode 100644
index 000000000000..8165641d4275
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.21.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.9.21.ebuild,v 1.1 2002/04/16 09:42:11 blocke Exp $
+
+S=${WORKDIR}/${P}.rel
+DESCRIPTION="leafnode - A USENET software package designed for small sites"
+SRC_URI="ftp://wpxx02.toxi.uni-wuerzburg.de/pub/${P}.tar.gz"
+HOMEPAGE="http://www.leafnode.org"
+
+# leafnode uses pcre
+DEPEND=">=dev-libs/libpcre-3.5"
+#RDEPEND=""
+
+src_compile() {
+ use ipv6 && myconf="--with-ipv6"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc/leafnode \
+ --localstatedir=/var \
+ ${myconf} || die "./configure failed"
+
+ emake DEBUG="$CFLAGS" || 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
+
+ insinto /etc/xinetd.d
+ newins ${FILESDIR}/leafnode.xinetd leafnode-nntp
+ dodoc COPYING CREDITS ChangeLog FAQ INSTALL README TODO README.FIRST \
+ README-MAINTAINER 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
+}