diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2002-12-29 23:52:18 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2002-12-29 23:52:18 +0000 |
commit | f706f59fb13da7af07a5aa73dae4f64e0b93a02c (patch) | |
tree | 16fd2286730b2cc10335befffda7e769d4adaeb1 /net-news/leafnode | |
parent | new (dummy) ebuild (got renamed to zinf) (diff) | |
download | gentoo-2-f706f59fb13da7af07a5aa73dae4f64e0b93a02c.tar.gz gentoo-2-f706f59fb13da7af07a5aa73dae4f64e0b93a02c.tar.bz2 gentoo-2-f706f59fb13da7af07a5aa73dae4f64e0b93a02c.zip |
added dep for xinetd (s. ChangeLog)
Diffstat (limited to 'net-news/leafnode')
-rw-r--r-- | net-news/leafnode/ChangeLog | 8 | ||||
-rw-r--r-- | net-news/leafnode/files/digest-leafnode-1.9.30-r1 | 1 | ||||
-rw-r--r-- | net-news/leafnode/leafnode-1.9.30-r1.ebuild | 56 | ||||
-rw-r--r-- | net-news/leafnode/leafnode-1.9.30.ebuild | 5 |
4 files changed, 66 insertions, 4 deletions
diff --git a/net-news/leafnode/ChangeLog b/net-news/leafnode/ChangeLog index c29d4e4cc530..c62ffc1df73f 100644 --- a/net-news/leafnode/ChangeLog +++ b/net-news/leafnode/ChangeLog @@ -1,9 +1,13 @@ # 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.7 2002/12/29 23:13:08 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/ChangeLog,v 1.8 2002/12/29 23:52:18 lordvan Exp $ +*leafnode-1.9.30-r1 (30 Dec 2002) + 30 Dec 2002; Thomas Raschbacher <lordvan@gentoo.org> leafnode-1.9.30-r1 ebuild: + fixed dep for xinetd(reported in IRC by SirDodger in #gentoo.de) + *leafnode-1.9.30 (30 Dec 2002) - 30 Dec 2002; Thomas Raschbacher <lordvan@gentoo.org> leafnode-1.9.29 ebuild: + 30 Dec 2002; Thomas Raschbacher <lordvan@gentoo.org> leafnode-1.9.30 ebuild: Version bump and removed patch again :) *leafnode-1.9.29 (06 Nov 2002) diff --git a/net-news/leafnode/files/digest-leafnode-1.9.30-r1 b/net-news/leafnode/files/digest-leafnode-1.9.30-r1 new file mode 100644 index 000000000000..af02215e2b8d --- /dev/null +++ b/net-news/leafnode/files/digest-leafnode-1.9.30-r1 @@ -0,0 +1 @@ +MD5 3557f751441b880d6321dec475a001d7 leafnode-1.9.30.rel.tar.bz2 623456 diff --git a/net-news/leafnode/leafnode-1.9.30-r1.ebuild b/net-news/leafnode/leafnode-1.9.30-r1.ebuild new file mode 100644 index 000000000000..37a4c29c7139 --- /dev/null +++ b/net-news/leafnode/leafnode-1.9.30-r1.ebuild @@ -0,0 +1,56 @@ +# 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.30-r1.ebuild,v 1.1 2002/12/29 23:52:18 lordvan Exp $ + +S=${WORKDIR}/${P}.rel +DESCRIPTION="leafnode - A USENET software package designed for small sites" +SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/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" + +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 +} diff --git a/net-news/leafnode/leafnode-1.9.30.ebuild b/net-news/leafnode/leafnode-1.9.30.ebuild index 685e8195751f..3d1c781a078c 100644 --- a/net-news/leafnode/leafnode-1.9.30.ebuild +++ b/net-news/leafnode/leafnode-1.9.30.ebuild @@ -1,12 +1,13 @@ # 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.30.ebuild,v 1.1 2002/12/29 23:13:08 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/leafnode/leafnode-1.9.30.ebuild,v 1.2 2002/12/29 23:52:18 lordvan Exp $ S=${WORKDIR}/${P}.rel DESCRIPTION="leafnode - A USENET software package designed for small sites" SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/${P}.rel.tar.bz2" HOMEPAGE="http://www.leafnode.org" -DEPEND=">=dev-libs/libpcre-3.9" +DEPEND=">=dev-libs/libpcre-3.9 + >=sys-apps/xinetd-2.3.4" RDEPEND="$DEPEND" LICENSE="GPL-2" SLOT="0" |