summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-08-04 01:55:21 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-08-04 01:55:21 +0000
commitdd2418ec89c6dbcce9a7d42255ecef9e701b5570 (patch)
treed38799829924651fc08b9d8c7b50f133d8b7cf8c /net-news
parentLICENSE was incorrect (diff)
downloadhistorical-dd2418ec89c6dbcce9a7d42255ecef9e701b5570.tar.gz
historical-dd2418ec89c6dbcce9a7d42255ecef9e701b5570.tar.bz2
historical-dd2418ec89c6dbcce9a7d42255ecef9e701b5570.zip
updated version contributed by markus-krainer@chello.at (Markus Krainer)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/leafnode/ChangeLog10
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.241
-rw-r--r--net-news/leafnode/files/fetchnews.cron12
-rw-r--r--net-news/leafnode/files/leafnode.xinetd2
-rw-r--r--net-news/leafnode/files/texpire.cron11
-rw-r--r--net-news/leafnode/leafnode-1.9.24.ebuild55
6 files changed, 89 insertions, 2 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index 1094d0af73a1..8caf1062a4b1 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,6 +1,14 @@
# 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.4 2002/04/27 23:34:20 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.5 2002/08/04 01:55:21 blocke Exp $
+
+*leafnode-1.9.24 (03 Aug 2002)
+
+ 03 Aug 2002; Bruce A. Locke <blocke@shivan.org> leafnode-1.9.24.ebuild,
+ files/digest-leafnode-1.9.24, files/fetchnews.cron, files/texpire.cron:
+
+ Version bump, dodoc update, and two new cron files contributed by
+ Markus Krainer (markus-krainer@chello.at)
*leafnode-1.9.22 (23 Apr 2002)
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.24 b/net-news/leafnode/files/digest-leafnode-1.9.24
new file mode 100644
index 000000000000..8b19fbb76952
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.24
@@ -0,0 +1 @@
+MD5 92e992ec99343b0d1eea7359f90e7a44 leafnode-1.9.24.rel.tar.gz 654059
diff --git a/net-news/leafnode/files/fetchnews.cron b/net-news/leafnode/files/fetchnews.cron
new file mode 100644
index 000000000000..44c196a56c5d
--- /dev/null
+++ b/net-news/leafnode/files/fetchnews.cron
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Uncomment the following if you want to regularly
+# fetch new messages from your news server.
+#
+#
+# This is part of the leafnode package.
+#
+
+
+#/usr/sbin/fetchnews
+
diff --git a/net-news/leafnode/files/leafnode.xinetd b/net-news/leafnode/files/leafnode.xinetd
index 840ec8a754c9..fc36ecaaaa03 100644
--- a/net-news/leafnode/files/leafnode.xinetd
+++ b/net-news/leafnode/files/leafnode.xinetd
@@ -8,5 +8,5 @@ service nntp
wait = no
user = news
server = /usr/sbin/leafnode
- disable = no
+ disable = yes
}
diff --git a/net-news/leafnode/files/texpire.cron b/net-news/leafnode/files/texpire.cron
new file mode 100644
index 000000000000..6b4540e5fd55
--- /dev/null
+++ b/net-news/leafnode/files/texpire.cron
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# Uncomment the following if you want to
+# clean up your news spool regularly.
+#
+#
+# This is part of the leafnode package.
+#
+
+#/usr/sbin/texpire
+
diff --git a/net-news/leafnode/leafnode-1.9.24.ebuild b/net-news/leafnode/leafnode-1.9.24.ebuild
new file mode 100644
index 000000000000..07b77d5431f3
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.24.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.24.ebuild,v 1.1 2002/08/04 01:55:21 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}.rel.tar.gz"
+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
+}