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

Contents of /net-nntp/leafnode/leafnode-2.0.0_alpha20070108.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Nov 14 12:53:16 2009 UTC (8 years, 8 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove alpha verion that is masked since 2005 and not updated.
(Portage version: 2.2_rc49/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nntp/leafnode/leafnode-2.0.0_alpha20070108.ebuild,v 1.3 2008/06/20 21:10:01 swegener Exp $
4
5 MY_P=${P/_/.}a
6
7 DESCRIPTION="A USENET software package designed for small sites"
8 SRC_URI="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/${MY_P}.tar.bz2"
9 HOMEPAGE="http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/"
10 LICENSE="LGPL-2.1"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
13 IUSE="ipv6 pam"
14
15 DEPEND=">=dev-libs/libpcre-3.9
16 pam? ( sys-libs/pam )"
17 RDEPEND="${DEPEND}
18 virtual/inetd"
19
20 S="${WORKDIR}/${MY_P}"
21
22 src_compile() {
23 econf \
24 --sysconfdir=/etc/leafnode \
25 --with-runas-user=news \
26 --localstatedir=/var \
27 --with-spooldir=/var/spool/news \
28 $(use_with ipv6) \
29 $(use_with pam) \
30 || die "econf failed"
31 emake || die "emake failed"
32 }
33
34 src_install() {
35 make DESTDIR="${D}" install || die "make install failed"
36
37 keepdir \
38 /var/lock/news \
39 /var/lib/news \
40 /var/spool/news
41
42 insinto /etc/leafnode
43 doins "${FILESDIR}"/{local.groups,moderators} || die "doins failed"
44
45 insinto /etc/xinetd.d
46 newins "${FILESDIR}"/leafnode.xinetd leafnode-nntp || die "newins failed"
47
48 exeinto /etc/cron.hourly
49 newexe "${FILESDIR}"/fetchnews.cron fetchnews || die "doexe failed"
50 exeinto /etc/cron.daily
51 newexe "${FILESDIR}"/texpire.cron texpire || die "doexe failed"
52
53 dodoc \
54 AUTHORS COPYING* CREDITS ChangeLog DEBUGGING ENVIRONMENT \
55 INSTALL NEWS TODO README || die "dodoc failed"
56 dohtml README.html || die "dohtml failed"
57 }

  ViewVC Help
Powered by ViewVC 1.1.20