summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Honsberger <blkdeath@gentoo.org>2003-11-17 08:41:08 +0000
committerStewart Honsberger <blkdeath@gentoo.org>2003-11-17 08:41:08 +0000
commitf4f508472d5d08054eb05e5a31cabe82c51a3d03 (patch)
tree8abf4f8e5e2149321f11e1b7c5f732ea3b7efc74 /net-news
parentFirst version in portage (diff)
downloadgentoo-2-f4f508472d5d08054eb05e5a31cabe82c51a3d03.tar.gz
gentoo-2-f4f508472d5d08054eb05e5a31cabe82c51a3d03.tar.bz2
gentoo-2-f4f508472d5d08054eb05e5a31cabe82c51a3d03.zip
Version bump, ${S} cleanups
Diffstat (limited to 'net-news')
-rw-r--r--net-news/leafnode/ChangeLog5
-rw-r--r--net-news/leafnode/Manifest9
-rw-r--r--net-news/leafnode/files/digest-leafnode-2.0.0_alpha200310281
-rw-r--r--net-news/leafnode/leafnode-2.0.0_alpha20031028.ebuild74
-rw-r--r--net-news/leafnode/metadata.xml9
5 files changed, 94 insertions, 4 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog
index c675a298a1a1..c270ec9019c0 100644
--- a/net-news/leafnode/ChangeLog
+++ b/net-news/leafnode/ChangeLog
@@ -1,6 +1,9 @@
# 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.18 2003/10/29 23:32:45 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.19 2003/11/17 08:41:05 blkdeath Exp $
+
+ 17 Nov 2003; Stewart Honsberger <blkdeath@gentoo.org> metadata.xml:
+ Version bump, ${S} and mkdir fixes
30 Oct 2003; Martin Holzer <mholzer@gentoo.org> leafnode-1.9.42.ebuild,
leafnode-2.0.0_alpha20030621.ebuild:
diff --git a/net-news/leafnode/Manifest b/net-news/leafnode/Manifest
index c2bb25931811..133b78375381 100644
--- a/net-news/leafnode/Manifest
+++ b/net-news/leafnode/Manifest
@@ -1,8 +1,11 @@
-MD5 b4b3a95eae426d035bf244afad7eea28 ChangeLog 4126
-MD5 fa92fe676f7817a2f451e57a5129a290 leafnode-1.9.42.ebuild 1866
+MD5 19340b6a0bcc45e9afb3c3acac22efa7 ChangeLog 4235
MD5 cc8bbd461a0559ee54683531d80991ba leafnode-2.0.0_alpha20030621.ebuild 2466
+MD5 fa92fe676f7817a2f451e57a5129a290 leafnode-1.9.42.ebuild 1866
+MD5 63bd6e87942a25d48bd5365edd8246c0 metadata.xml 268
+MD5 1a715b0df0d8ad222b7815e216d28248 leafnode-2.0.0_alpha20031028.ebuild 2425
MD5 c9e3a9028be25e8e193bccd6a72179f0 files/fetchnews.cron 179
MD5 510836c882c3365d0441ba7d8854ba6b files/leafnode.xinetd 230
MD5 2f9497c399cca56885460b88ee53da0b files/texpire.cron 159
-MD5 d07ba6707cd78e8407f2c28c2e016ff9 files/digest-leafnode-1.9.42 72
MD5 06eec26c72070f70f182ebcf05cd22a3 files/digest-leafnode-2.0.0_alpha20030621 82
+MD5 d07ba6707cd78e8407f2c28c2e016ff9 files/digest-leafnode-1.9.42 72
+MD5 06eec26c72070f70f182ebcf05cd22a3 files/digest-leafnode-2.0.0_alpha20031028 82
diff --git a/net-news/leafnode/files/digest-leafnode-2.0.0_alpha20031028 b/net-news/leafnode/files/digest-leafnode-2.0.0_alpha20031028
new file mode 100644
index 000000000000..57e22ffe1014
--- /dev/null
+++ b/net-news/leafnode/files/digest-leafnode-2.0.0_alpha20031028
@@ -0,0 +1 @@
+MD5 ea2feabdb4071824156cd0b2cf95ec58 leafnode-2.0.0.alpha20030621b.tar.bz2 301611
diff --git a/net-news/leafnode/leafnode-2.0.0_alpha20031028.ebuild b/net-news/leafnode/leafnode-2.0.0_alpha20031028.ebuild
new file mode 100644
index 000000000000..523ac1b69343
--- /dev/null
+++ b/net-news/leafnode/leafnode-2.0.0_alpha20031028.ebuild
@@ -0,0 +1,74 @@
+# 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-2.0.0_alpha20031028.ebuild,v 1.1 2003/11/17 08:41:05 blkdeath Exp $
+
+DESCRIPTION="leafnode - A USENET software package designed for small sites"
+SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/leafnode-2.0.0.alpha20031028a.tar.bz2"
+HOMEPAGE="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/"
+DEPEND=">=dev-libs/libpcre-3.9
+ virtual/inetd"
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~x86 ~ppc"
+IUSE="ipv6"
+
+src_compile() {
+ local myconf
+
+ # ------------------------------------------------------
+ # Enabling IPv6.
+ # ------------------------------------------------------
+ # If this was misdetected, then run either
+ # env cf_cv_ipv6=no /bin/sh ./configure YOUR_OPTIONS
+ # or
+ # env cf_cv_ipv6=yes /bin/sh ./configure YOUR_OPTIONS
+ # (of course, you need to replace YOUR_OPTIONS)
+ # ------------------------------------------------------
+
+ use ipv6 && myconf="--with-ipv6" || export cf_cv_ipv6=no
+
+ econf \
+ --with-runas-user=news --with-spooldir="/var/spool/news" \
+ ${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/
+ # ... and keep texpire from complaining about missing dir
+ keepdir /etc/leafnode/local.groups
+
+ 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 AUTHORS COPYING* CREDITS ChangeLog DEBUGGING ENVIRONMENT FAQ \
+ INSTALL NEWS TODO README README_FIRST UPDATING
+ dohtml README.html
+}
+
+pkg_postinst() {
+ dodir ${D}/var/spool/news/{leaf.node,failed.postings,interesting.groups,out.going}
+ dodir ${D}/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
+
+ zcat ${ROOT}/usr/share/doc/${P}/README_FIRST.gz | while read line ;
+ do
+ einfo $line
+ done
+
+ einfo
+ einfo "DO MAKE SURE THAT YOU RUN texpire -r IF YOU HAVE ARTICLES IN THE SPOOL"
+}
diff --git a/net-news/leafnode/metadata.xml b/net-news/leafnode/metadata.xml
new file mode 100644
index 000000000000..8c2d9d6d7f2c
--- /dev/null
+++ b/net-news/leafnode/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>blkdeath@gentoo.org</email>
+ <name>Stewart Honsberger</name>
+ </maintainer>
+</pkgmetadata>