summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-22 20:51:12 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-22 20:51:12 +0000
commit2d7ce55b2c9c9e3ad50cb5bc08c2d8093700840c (patch)
tree728207144e86441bc98c648793e74c57ef15f12c
parentStable on alpha, bug #288118 (diff)
downloadgentoo-2-2d7ce55b2c9c9e3ad50cb5bc08c2d8093700840c.tar.gz
gentoo-2-2d7ce55b2c9c9e3ad50cb5bc08c2d8093700840c.tar.bz2
gentoo-2-2d7ce55b2c9c9e3ad50cb5bc08c2d8093700840c.zip
Bump, fixes #288713
(Portage version: 2.2_rc46/cvs/Linux x86_64)
-rw-r--r--net-nntp/leafnode/ChangeLog9
-rw-r--r--net-nntp/leafnode/leafnode-1.11.7.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/net-nntp/leafnode/ChangeLog b/net-nntp/leafnode/ChangeLog
index 22757763160c..8d9307fb02f0 100644
--- a/net-nntp/leafnode/ChangeLog
+++ b/net-nntp/leafnode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nntp/leafnode
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.32 2008/06/20 21:10:01 swegener Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.33 2009/10/22 20:51:12 patrick Exp $
+
+*leafnode-1.11.7 (22 Oct 2009)
+
+ 22 Oct 2009; Patrick Lauer <patrick@gentoo.org> +leafnode-1.11.7.ebuild:
+ Bump, fixes #288713
20 Jun 2008; Sven Wegener <swegener@gentoo.org>
leafnode-2.0.0_alpha20070108.ebuild:
diff --git a/net-nntp/leafnode/leafnode-1.11.7.ebuild b/net-nntp/leafnode/leafnode-1.11.7.ebuild
new file mode 100644
index 000000000000..da072fa7ebb0
--- /dev/null
+++ b/net-nntp/leafnode/leafnode-1.11.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-1.11.7.ebuild,v 1.1 2009/10/22 20:51:12 patrick Exp $
+
+DESCRIPTION="A USENET software package designed for small sites"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://leafnode.sourceforge.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="ipv6"
+
+DEPEND=">=dev-libs/libpcre-3.9"
+RDEPEND="${DEPEND}
+ virtual/inetd"
+
+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"
+
+ keepdir \
+ /var/lock/news \
+ /var/lib/news \
+ /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \
+ /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}
+
+ fowners -R news:news /var/{lib,spool}/news
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp
+
+ exeinto /etc/cron.hourly
+ newexe "${FILESDIR}"/fetchnews.cron fetchnews
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/texpire.cron texpire
+
+ dodoc \
+ CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS \
+ README.FIRST README-daemontools UNINSTALL-daemontools \
+ README README-MAINTAINER README-FQDN
+ dohtml FAQ.html FAQ.xml README-FQDN.html
+}