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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Mar 23 11:37:05 2007 UTC (11 years, 8 months ago) by swegener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump. Cleanup.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2006 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.3.ebuild,v 1.4 2006/05/06 23:40:36 weeve 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="~amd64 ppc sparc x86"
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,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