summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/leafnode/ChangeLog7
-rw-r--r--net-nntp/leafnode/Manifest10
-rw-r--r--net-nntp/leafnode/files/digest-leafnode-1.10.81
-rw-r--r--net-nntp/leafnode/leafnode-1.10.8.ebuild68
4 files changed, 81 insertions, 5 deletions
diff --git a/net-nntp/leafnode/ChangeLog b/net-nntp/leafnode/ChangeLog
index 367cc0cc89b7..a389f6119df2 100644
--- a/net-nntp/leafnode/ChangeLog
+++ b/net-nntp/leafnode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nntp/leafnode
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.2 2005/01/17 21:41:11 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.3 2005/01/23 03:07:46 swegener Exp $
+
+*leafnode-1.10.8 (23 Jan 2005)
+
+ 23 Jan 2005; Sven Wegener <swegener@gentoo.org> +leafnode-1.10.8.ebuild:
+ Version bump.
*leafnode-1.10.7 (17 Jan 2005)
diff --git a/net-nntp/leafnode/Manifest b/net-nntp/leafnode/Manifest
index 47ff04290b9b..38ca626038f9 100644
--- a/net-nntp/leafnode/Manifest
+++ b/net-nntp/leafnode/Manifest
@@ -4,20 +4,22 @@ Hash: SHA1
MD5 61bf3a09356cfd09ca84e94a369dd49e leafnode-1.10.7.ebuild 1915
MD5 2c827d059de964302f29f8956b35b179 leafnode-1.10.6.ebuild 1914
MD5 ba27282fd42c48e5d331a1693390c663 leafnode-2.0.0_alpha20041227.ebuild 2123
-MD5 e73f40d3d9f22714589a8ea661fc4602 ChangeLog 9659
+MD5 09946789e1d3b801adc5403467e7c06a leafnode-1.10.8.ebuild 1915
+MD5 d4ae01c23fa72c06ff40f29b9a436311 ChangeLog 9783
MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161
MD5 dbc24acfe37122337d045dc7045c6dd7 files/local.groups 83
MD5 510836c882c3365d0441ba7d8854ba6b files/leafnode.xinetd 230
MD5 5909cb0566e88e7694e85246c78fe4ff files/fetchnews.cron 177
MD5 6124341facdbd0739add2a9fb4f7decc files/digest-leafnode-1.10.6 72
MD5 b6d88ee397baea66413c839681c4e717 files/digest-leafnode-1.10.7 72
+MD5 470b11805aad5138966a811057d70f1d files/digest-leafnode-1.10.8 72
MD5 c26d4b571aa7c3964a7e9fa0a10a3c90 files/moderators 29
MD5 9c64ff9210bac687cdee3cfe9af1696f files/digest-leafnode-2.0.0_alpha20041227 82
MD5 72cc5e849b413ec0cf288a65980dd3b5 files/texpire.cron 158
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFB7DEgI1lqEGTUzyQRAgbNAKDKIa8ERJfsdykHjkrn6V3ZrUzrkACdF4q1
-O8Tnu4m6rUoVB86BGZOc/jQ=
-=IOX7
+iD8DBQFB8xUOI1lqEGTUzyQRAiEDAKDOqL9kV489fPHjEXbMFLwixKjViQCeLz/5
+Of3+vaDRBjAh94kaMMfgz4o=
+=bjeD
-----END PGP SIGNATURE-----
diff --git a/net-nntp/leafnode/files/digest-leafnode-1.10.8 b/net-nntp/leafnode/files/digest-leafnode-1.10.8
new file mode 100644
index 000000000000..98d9ea6acaa3
--- /dev/null
+++ b/net-nntp/leafnode/files/digest-leafnode-1.10.8
@@ -0,0 +1 @@
+MD5 1d8d27673780ba49fcb69883c2cabdec leafnode-1.10.8.rel.tar.bz2 385282
diff --git a/net-nntp/leafnode/leafnode-1.10.8.ebuild b/net-nntp/leafnode/leafnode-1.10.8.ebuild
new file mode 100644
index 000000000000..06da68a3dffe
--- /dev/null
+++ b/net-nntp/leafnode/leafnode-1.10.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-1.10.8.ebuild,v 1.1 2005/01/23 03:07:46 swegener Exp $
+
+MY_P=${P}.rel
+
+DESCRIPTION="A USENET software package designed for small sites"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+HOMEPAGE="http://leafnode.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="ipv6"
+
+DEPEND=">=dev-libs/libpcre-3.9"
+RDEPEND="${DEPEND}
+ virtual/inetd"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/leafnode \
+ --localstatedir=/var \
+ --with-spooldir=/var/spool/news \
+ $(use_with ipv6) \
+ || die "econf 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
+ dohtml FAQ.html FAQ.xml README-FQDN.html
+}
+
+pkg_postinst() {
+ mkdir -p ${ROOT}/var/spool/news/{leaf.node,failed.postings,interesting.groups,out.going}
+ mkdir -p ${ROOT}/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 ${ROOT}/var/spool/news
+
+ mkdir -p ${ROOT}/var/lib/news
+ chown -R news:news ${ROOT}/var/lib/news
+
+ zcat ${ROOT}/usr/share/doc/${PF}/README.FIRST.gz | while read line ;
+ do
+ einfo $line
+ done
+}