/[gentoo-x86]/net-nntp/leafnode/leafnode-1.11.1.ebuild
Gentoo

Contents of /net-nntp/leafnode/leafnode-1.11.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 5 14:16:09 2005 UTC (13 years, 4 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, security bug #91546. Stable on x86.
(Portage version: 2.0.51.21)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-1.11.1.ebuild,v 1.1 2005/04/26 21:44:08 swegener Exp $
4
5 MY_P=${P}.rel
6
7 DESCRIPTION="A USENET software package designed for small sites"
8 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
9 HOMEPAGE="http://leafnode.sourceforge.net/"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~x86 ~ppc ~sparc ~amd64"
13 IUSE="ipv6"
14
15 DEPEND=">=dev-libs/libpcre-3.9"
16 RDEPEND="${DEPEND}
17 virtual/inetd"
18
19 S=${WORKDIR}/${MY_P}
20
21 src_compile() {
22 econf \
23 --sysconfdir=/etc/leafnode \
24 --localstatedir=/var \
25 --with-spooldir=/var/spool/news \
26 $(use_with ipv6) \
27 || die "econf failed"
28 emake || die "emake failed"
29 }
30
31 src_install() {
32 make DESTDIR=${D} install || die "make install failed"
33
34 keepdir \
35 /var/lock/news \
36 /var/lib/news \
37 /var/spool/news/{failed.postings,interesting.groups,leaf.node,out.going,temp.files} \
38 /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}
39
40 chown -R news:news ${D}/var/lib/news ${D}/var/spool/news
41
42 insinto /etc/xinetd.d
43 newins ${FILESDIR}/leafnode.xinetd leafnode-nntp
44
45 exeinto /etc/cron.hourly
46 newexe ${FILESDIR}/fetchnews.cron fetchnews
47 exeinto /etc/cron.daily
48 newexe ${FILESDIR}/texpire.cron texpire
49
50 dodoc \
51 CREDITS ChangeLog FAQ.txt FAQ.pdf INSTALL NEWS \
52 README.FIRST README-daemontools UNINSTALL-daemontools \
53 README README-MAINTAINER README-FQDN
54 dohtml FAQ.html FAQ.xml README-FQDN.html
55 }

  ViewVC Help
Powered by ViewVC 1.1.20