/[gentoo-x86]/sys-apps/xinetd/xinetd-2.3.14.ebuild
Gentoo

Contents of /sys-apps/xinetd/xinetd-2.3.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Sat Apr 16 19:16:41 2011 UTC (3 years, 3 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +2 -3 lines
Don't PROVIDE virtual/inetd, bug 358831.

(Portage version: 2.1.9.46/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.14.ebuild,v 1.15 2009/06/20 12:18:09 vapier Exp $
4
5 inherit eutils
6
7 DESCRIPTION="powerful replacement for inetd"
8 HOMEPAGE="http://www.xinetd.org/"
9 SRC_URI="http://www.xinetd.org/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 ~sparc-fbsd sh sparc x86 ~x86-fbsd"
14 IUSE="perl tcpd"
15
16 DEPEND="tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
17 RDEPEND="${DEPEND}
18 perl? ( dev-lang/perl )"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}"/${P}-DESTDIR.patch
24 epatch "${FILESDIR}"/${P}-install-contrib.patch
25 epatch "${FILESDIR}"/${P}-config.patch
26 }
27
28 src_compile() {
29 econf \
30 $(use_with tcpd libwrap) \
31 --with-loadavg \
32 || die "econf failed"
33 emake || die "Failed to compile"
34 }
35
36 src_install() {
37 emake install install-contrib DESTDIR="${D}" || die "failed install"
38 use perl || rm -f "${D}"/usr/sbin/xconv.pl
39
40 newinitd "${FILESDIR}"/xinetd.rc6 xinetd || die
41 newconfd "${FILESDIR}"/xinetd.confd xinetd || die
42
43 newdoc contrib/xinetd.conf xinetd.conf.dist.sample
44 dodoc AUDIT INSTALL README TODO CHANGELOG
45 }

  ViewVC Help
Powered by ViewVC 1.1.20