summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-03-18 20:26:31 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-03-18 20:26:31 +0000
commitf271b0f4af04fb1a4ed7c06ecb21fb2238763658 (patch)
treeea91ea7da5a610dc04566214adf27d1593ceefd5 /net-news/leafnode
parentversion bumped. closes #17745. (diff)
downloadhistorical-f271b0f4af04fb1a4ed7c06ecb21fb2238763658.tar.gz
historical-f271b0f4af04fb1a4ed7c06ecb21fb2238763658.tar.bz2
historical-f271b0f4af04fb1a4ed7c06ecb21fb2238763658.zip
version bumped. closes #17745.
Diffstat (limited to 'net-news/leafnode')
-rw-r--r--net-news/leafnode/ChangeLog4
-rw-r--r--net-news/leafnode/files/digest-leafnode-1.9.361
-rw-r--r--net-news/leafnode/leafnode-1.9.31.ebuild10
-rw-r--r--net-news/leafnode/leafnode-1.9.36.ebuild59
4 files changed, 68 insertions, 6 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index 738fd8629409..bb924e73a75f 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,12 +1,12 @@
# ChangeLog for net-news/leafnode
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.13 2003/03/18 20:25:40 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.14 2003/03/18 20:26:31 mholzer Exp $
*leafnode-1.9.36 (18 Mar 2003)
18 Mar 2003; Martin Holzer <mholzer@gentoo.org> leafnode-1.9.31.ebuild,
leafnode-1.9.36.ebuild:
- version bumped. closes #17745.
+ version bumped. added addictional docs being installed. closes #17745.
*leafnode-1.9.33 (09 Mar 2003)
diff --git a/net-news/leafnode/files/digest-leafnode-1.9.36 b/net-news/leafnode/files/digest-leafnode-1.9.36
new file mode 100644
index 000000000000..7adacfb4ebd4
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-1.9.36
@@ -0,0 +1 @@
+MD5 b4c8a8421292c4dc8ddc714095e79c55 leafnode-1.9.36.rel.tar.bz2 615951
diff --git a/net-news/leafnode/leafnode-1.9.31.ebuild b/net-news/leafnode/leafnode-1.9.31.ebuild
index fbc203bf31e0..3335d83447f8 100644
--- a/net-news/leafnode/leafnode-1.9.31.ebuild
+++ b/net-news/leafnode/leafnode-1.9.31.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.31.ebuild,v 1.4 2003/02/13 15:16:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.9.31.ebuild,v 1.5 2003/03/18 20:25:40 mholzer Exp $
S=${WORKDIR}/${P}.rel
DESCRIPTION="leafnode - A USENET software package designed for small sites"
@@ -35,7 +35,7 @@ src_install() {
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
+ keepdir /var/lock/news/
insinto /etc/xinetd.d
newins ${FILESDIR}/leafnode.xinetd leafnode-nntp
@@ -45,8 +45,10 @@ src_install() {
exeinto /etc/cron.daily
doexe ${FILESDIR}/texpire.cron
- dodoc COPYING CREDITS ChangeLog FAQ INSTALL README TODO README.FIRST \
- README-MAINTAINER README.FQDN PCRE_README
+ 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() {
diff --git a/net-news/leafnode/leafnode-1.9.36.ebuild b/net-news/leafnode/leafnode-1.9.36.ebuild
new file mode 100644
index 000000000000..961e3510eecd
--- /dev/null
+++ b/net-news/leafnode/leafnode-1.9.36.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 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.36.ebuild,v 1.1 2003/03/18 20:25:40 mholzer Exp $
+
+S=${WORKDIR}/${P}.rel
+DESCRIPTION="leafnode - A USENET software package designed for small sites"
+SRC_URI="mirror://sourceforge/leafnode/${P}.rel.tar.bz2"
+HOMEPAGE="http://www.leafnode.org"
+DEPEND=">=dev-libs/libpcre-3.9
+ >=sys-apps/xinetd-2.3.4"
+RDEPEND="$DEPEND"
+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
+ cat ${S}/README.FIRST
+}