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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Feb 6 08:12:42 2013 UTC (5 years, 7 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

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

  ViewVC Help
Powered by ViewVC 1.1.20