diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-03-08 23:56:45 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-03-08 23:56:45 +0000 |
commit | 98b693d2631b052d0727022e8aa5577828086a9e (patch) | |
tree | 3d4b78ca25bddfba69f0529cca62e220ca8cdf12 /net-news | |
parent | Initial import. (diff) | |
download | historical-98b693d2631b052d0727022e8aa5577828086a9e.tar.gz historical-98b693d2631b052d0727022e8aa5577828086a9e.tar.bz2 historical-98b693d2631b052d0727022e8aa5577828086a9e.zip |
Version bump.
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/leafnode/ChangeLog | 7 | ||||
-rw-r--r-- | net-news/leafnode/files/digest-leafnode-1.9.33 | 1 | ||||
-rw-r--r-- | net-news/leafnode/leafnode-1.9.33.ebuild | 57 |
3 files changed, 64 insertions, 1 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog index 6fad8cb5b0fe..678b91a9aa20 100644 --- a/net-news/leafnode/ChangeLog +++ b/net-news/leafnode/ChangeLog @@ -1,6 +1,11 @@ # 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.11 2003/02/12 08:37:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.12 2003/03/08 23:56:45 aliz Exp $ + +*leafnode-1.9.33 (09 Mar 2003) + + 09 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> : + Version bump. *leafnode-1.9.31 (02 Jan 2003) diff --git a/net-news/leafnode/files/digest-leafnode-1.9.33 b/net-news/leafnode/files/digest-leafnode-1.9.33 new file mode 100644 index 000000000000..84264cb098b5 --- /dev/null +++ b/net-news/leafnode/files/digest-leafnode-1.9.33 @@ -0,0 +1 @@ +MD5 f55ac1bce56c57f994b67bddd85c2a09 leafnode-1.9.33.rel.tar.bz2 616337 diff --git a/net-news/leafnode/leafnode-1.9.33.ebuild b/net-news/leafnode/leafnode-1.9.33.ebuild new file mode 100644 index 000000000000..ab0a3a9678da --- /dev/null +++ b/net-news/leafnode/leafnode-1.9.33.ebuild @@ -0,0 +1,57 @@ +# 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-1.9.33.ebuild,v 1.1 2003/03/08 23:56:45 aliz Exp $ + +S=${WORKDIR}/${P}.rel +DESCRIPTION="leafnode - A USENET software package designed for small sites" +SRC_URI="mirror://sourceforge/leafnode/${P}.rel.tar.bz2" +HOMEPAGE="http://www.leafnode.org" +DEPEND=">=dev-libs/libpcre-3.9 + >=sys-apps/xinetd-2.3.4" +RDEPEND="$DEPEND" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ipv6" + +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 + keepdir /var/lock/news/ + + 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 +} |