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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 31 12:34:45 2011 UTC (7 years, 4 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump, remove old

(Portage version: 2.1.9.42/cvs/Linux x86_64)

1 # Copyright 1999-2007 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.6.ebuild,v 1.1 2007/03/23 11:37:05 swegener 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 ~sparc ~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