diff options
author | Bruce A. Locke <blocke@gentoo.org> | 2002-08-04 01:55:21 +0000 |
---|---|---|
committer | Bruce A. Locke <blocke@gentoo.org> | 2002-08-04 01:55:21 +0000 |
commit | 7f43f5a1daa7c444aac3048f6e08bb09d1a0d7d8 (patch) | |
tree | 82ede6f2cf70aacdae34f8081851d07f3773939d /net-news/leafnode | |
parent | LICENSE was incorrect (diff) | |
download | gentoo-2-7f43f5a1daa7c444aac3048f6e08bb09d1a0d7d8.tar.gz gentoo-2-7f43f5a1daa7c444aac3048f6e08bb09d1a0d7d8.tar.bz2 gentoo-2-7f43f5a1daa7c444aac3048f6e08bb09d1a0d7d8.zip |
updated version contributed by markus-krainer@chello.at (Markus Krainer)
Diffstat (limited to 'net-news/leafnode')
-rw-r--r-- | net-news/leafnode/ChangeLog | 10 | ||||
-rw-r--r-- | net-news/leafnode/files/digest-leafnode-1.9.24 | 1 | ||||
-rw-r--r-- | net-news/leafnode/files/fetchnews.cron | 12 | ||||
-rw-r--r-- | net-news/leafnode/files/leafnode.xinetd | 2 | ||||
-rw-r--r-- | net-news/leafnode/files/texpire.cron | 11 | ||||
-rw-r--r-- | net-news/leafnode/leafnode-1.9.24.ebuild | 55 |
6 files changed, 89 insertions, 2 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog index 1094d0af73a1..8caf1062a4b1 100644 --- a/net-news/leafnode/ChangeLog +++ b/net-news/leafnode/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-news/leafnode # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.4 2002/04/27 23:34:20 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.5 2002/08/04 01:55:21 blocke Exp $ + +*leafnode-1.9.24 (03 Aug 2002) + + 03 Aug 2002; Bruce A. Locke <blocke@shivan.org> leafnode-1.9.24.ebuild, + files/digest-leafnode-1.9.24, files/fetchnews.cron, files/texpire.cron: + + Version bump, dodoc update, and two new cron files contributed by + Markus Krainer (markus-krainer@chello.at) *leafnode-1.9.22 (23 Apr 2002) diff --git a/net-news/leafnode/files/digest-leafnode-1.9.24 b/net-news/leafnode/files/digest-leafnode-1.9.24 new file mode 100644 index 000000000000..8b19fbb76952 --- /dev/null +++ b/net-news/leafnode/files/digest-leafnode-1.9.24 @@ -0,0 +1 @@ +MD5 92e992ec99343b0d1eea7359f90e7a44 leafnode-1.9.24.rel.tar.gz 654059 diff --git a/net-news/leafnode/files/fetchnews.cron b/net-news/leafnode/files/fetchnews.cron new file mode 100644 index 000000000000..44c196a56c5d --- /dev/null +++ b/net-news/leafnode/files/fetchnews.cron @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Uncomment the following if you want to regularly +# fetch new messages from your news server. +# +# +# This is part of the leafnode package. +# + + +#/usr/sbin/fetchnews + diff --git a/net-news/leafnode/files/leafnode.xinetd b/net-news/leafnode/files/leafnode.xinetd index 840ec8a754c9..fc36ecaaaa03 100644 --- a/net-news/leafnode/files/leafnode.xinetd +++ b/net-news/leafnode/files/leafnode.xinetd @@ -8,5 +8,5 @@ service nntp wait = no user = news server = /usr/sbin/leafnode - disable = no + disable = yes } diff --git a/net-news/leafnode/files/texpire.cron b/net-news/leafnode/files/texpire.cron new file mode 100644 index 000000000000..6b4540e5fd55 --- /dev/null +++ b/net-news/leafnode/files/texpire.cron @@ -0,0 +1,11 @@ +#!/bin/sh +# +# Uncomment the following if you want to +# clean up your news spool regularly. +# +# +# This is part of the leafnode package. +# + +#/usr/sbin/texpire + diff --git a/net-news/leafnode/leafnode-1.9.24.ebuild b/net-news/leafnode/leafnode-1.9.24.ebuild new file mode 100644 index 000000000000..07b77d5431f3 --- /dev/null +++ b/net-news/leafnode/leafnode-1.9.24.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2002 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.24.ebuild,v 1.1 2002/08/04 01:55:21 blocke Exp $ + +S=${WORKDIR}/${P}.rel +DESCRIPTION="leafnode - A USENET software package designed for small sites" +SRC_URI="ftp://wpxx02.toxi.uni-wuerzburg.de/pub/${P}.rel.tar.gz" +HOMEPAGE="http://www.leafnode.org" +DEPEND=">=dev-libs/libpcre-3.9" +RDEPEND="$DEPEND" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +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 + touch ${D}/var/lock/news/.keep + + 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 INSTALL README TODO README.FIRST \ + README-MAINTAINER README.FQDN PCRE_README +} + +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 +} |