diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-04-24 01:22:46 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-04-24 01:22:46 +0000 |
commit | 147f21c6c7b18fda6f104726ebb1820d47735af2 (patch) | |
tree | 025c299487ec6d136db1b4c8e428d6a2c26c22f9 /net-news | |
parent | New package (diff) | |
download | gentoo-2-147f21c6c7b18fda6f104726ebb1820d47735af2.tar.gz gentoo-2-147f21c6c7b18fda6f104726ebb1820d47735af2.tar.bz2 gentoo-2-147f21c6c7b18fda6f104726ebb1820d47735af2.zip |
Fixes #2035 and #1976
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/leafnode/ChangeLog | 8 | ||||
-rw-r--r-- | net-news/leafnode/files/digest-leafnode-1.9.22 | 1 | ||||
-rw-r--r-- | net-news/leafnode/leafnode-1.9.22.ebuild | 49 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog index ac0231b476b8..6d309dc3e710 100644 --- a/net-news/leafnode/ChangeLog +++ b/net-news/leafnode/ChangeLog @@ -2,6 +2,14 @@ # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL # /space/gentoo/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.1 2002/02/01 21:52:59 gbevin Exp +*leafnode-1.9.22 (23 Apr 2002) + + 23 Apr 2002; Markus Krainer <krainer@chello.at> leafnode-1.9.22.ebuild, + files/digest-leafnode-1.9.22, ChangeLog : + + - New version 1.9.22 + - Fix /var/lock/news not being created (bug #1976) + *leafnode-1.9.21 (16 Apr 2002) 16 Apr 2002; Bruce A. Locke <blocke@shivan.org> leafnode-1.9.21.ebuild: diff --git a/net-news/leafnode/files/digest-leafnode-1.9.22 b/net-news/leafnode/files/digest-leafnode-1.9.22 new file mode 100644 index 000000000000..d83937a76da8 --- /dev/null +++ b/net-news/leafnode/files/digest-leafnode-1.9.22 @@ -0,0 +1 @@ +MD5 0c9ea56a4776c0a0c0dde10f1af168be leafnode-1.9.22.tar.gz 641708 diff --git a/net-news/leafnode/leafnode-1.9.22.ebuild b/net-news/leafnode/leafnode-1.9.22.ebuild new file mode 100644 index 000000000000..105a7ea8100e --- /dev/null +++ b/net-news/leafnode/leafnode-1.9.22.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Markus Krainer <markus-krainer@chello.at> +# /space/gentoo/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.9.21.ebuild,v 1.1 2002/04/16 09:42:11 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}.tar.gz" +HOMEPAGE="http://www.leafnode.org" + +# leafnode uses pcre +DEPEND=">=dev-libs/libpcre-3.5" +#RDEPEND="" + +src_compile() { + use ipv6 && myconf="--with-ipv6" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc/leafnode \ + --localstatedir=/var \ + ${myconf} || die "./configure failed" + + emake DEBUG="$CFLAGS" || 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 + dodoc COPYING CREDITS ChangeLog FAQ INSTALL README TODO README.FIRST \ + README-MAINTAINER 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 +} |