summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-nntp/leafnode/ChangeLog9
-rw-r--r--net-nntp/leafnode/files/digest-leafnode-2.0.0_alpha200607113
-rw-r--r--net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild61
3 files changed, 72 insertions, 1 deletions
diff --git a/net-nntp/leafnode/ChangeLog b/net-nntp/leafnode/ChangeLog
index 4b2436995387..f555ee6ce547 100644
--- a/net-nntp/leafnode/ChangeLog
+++ b/net-nntp/leafnode/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nntp/leafnode
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.23 2006/08/06 12:02:32 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/ChangeLog,v 1.24 2006/08/09 18:54:15 swegener Exp $
+
+*leafnode-2.0.0_alpha20060711 (09 Aug 2006)
+
+ 09 Aug 2006; Sven Wegener <swegener@gentoo.org>
+ -leafnode-2.0.0_alpha20060321.ebuild,
+ +leafnode-2.0.0_alpha20060711.ebuild:
+ Version bump in the development series.
06 Aug 2006; Simon Stelling <blubb@gentoo.org> leafnode-1.11.5.ebuild:
stable on amd64
diff --git a/net-nntp/leafnode/files/digest-leafnode-2.0.0_alpha20060711 b/net-nntp/leafnode/files/digest-leafnode-2.0.0_alpha20060711
new file mode 100644
index 000000000000..369d7e4798f5
--- /dev/null
+++ b/net-nntp/leafnode/files/digest-leafnode-2.0.0_alpha20060711
@@ -0,0 +1,3 @@
+MD5 f71f1870a93c28d2d2afdf0d8151cdbd leafnode-2.0.0.alpha20060711a.tar.bz2 350498
+RMD160 854e3f19f43399c1e7cb72a1122847929d08cad7 leafnode-2.0.0.alpha20060711a.tar.bz2 350498
+SHA256 850d3446a0795e741485fbfe505bbb7af9386bd2845fc72fb92dd380b685fd0b leafnode-2.0.0.alpha20060711a.tar.bz2 350498
diff --git a/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild b/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild
new file mode 100644
index 000000000000..ec1c9d2c3828
--- /dev/null
+++ b/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-2.0.0_alpha20060711.ebuild,v 1.1 2006/08/09 18:54:15 swegener Exp $
+
+inherit flag-o-matic
+
+MY_P=${P/_/.}a
+
+DESCRIPTION="A USENET software package designed for small sites"
+SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/${MY_P}.tar.bz2"
+HOMEPAGE="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="ipv6 pam"
+
+DEPEND=">=dev-libs/libpcre-3.9
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ virtual/inetd"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ append-ldflags $(bindnow-flags)
+
+ econf \
+ --sysconfdir=/etc/leafnode \
+ --with-runas-user=news \
+ --localstatedir=/var \
+ --with-spooldir=/var/spool/news \
+ $(use_with ipv6) \
+ $(use_with pam) \
+ || 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
+
+ insinto /etc/leafnode
+ doins "${FILESDIR}"/{local.groups,moderators} || die "doins failed"
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp || die "newins failed"
+
+ exeinto /etc/cron.hourly
+ newexe "${FILESDIR}"/fetchnews.cron fetchnews || die "doexe failed"
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/texpire.cron texpire || die "doexe failed"
+
+ dodoc \
+ AUTHORS COPYING* CREDITS ChangeLog DEBUGGING ENVIRONMENT \
+ INSTALL NEWS TODO README || die "dodoc failed"
+ dohtml README.html || die "dohtml failed"
+}