diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-12-04 10:02:54 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-12-04 10:02:54 +0000 |
commit | 1fd783b7a91f48ac67e1742a6a99a12d2ef3bd99 (patch) | |
tree | ebb0663457208d36390067d404198e18a4714ee8 /net-misc/ndtpd/ndtpd-3.1.5.ebuild | |
parent | Package mask app-emacs/md5 and app-emacs/sha1 for removal. (diff) | |
download | historical-1fd783b7a91f48ac67e1742a6a99a12d2ef3bd99.tar.gz historical-1fd783b7a91f48ac67e1742a6a99a12d2ef3bd99.tar.bz2 historical-1fd783b7a91f48ac67e1742a6a99a12d2ef3bd99.zip |
Don't tamper with /etc/services. Fixes bug #195120.
Package-Manager: portage-2.1.4_rc4
Diffstat (limited to 'net-misc/ndtpd/ndtpd-3.1.5.ebuild')
-rw-r--r-- | net-misc/ndtpd/ndtpd-3.1.5.ebuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/net-misc/ndtpd/ndtpd-3.1.5.ebuild b/net-misc/ndtpd/ndtpd-3.1.5.ebuild index a0aec119b2e6..5ee24cb7b2c9 100644 --- a/net-misc/ndtpd/ndtpd-3.1.5.ebuild +++ b/net-misc/ndtpd/ndtpd-3.1.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ndtpd-3.1.5.ebuild,v 1.12 2007/04/28 16:58:08 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ndtpd-3.1.5.ebuild,v 1.13 2007/12/04 10:02:54 ulm Exp $ inherit eutils @@ -28,8 +28,8 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-eb4-gentoo.diff + cd "${S}" + epatch "${FILESDIR}/${P}-eb4-gentoo.diff" } src_compile() { @@ -44,16 +44,7 @@ src_install() { einstall || die - if ! $(grep 2010/tcp /etc/services >/dev/null 2>&1) ; then - cp /etc/services ${T}/services - cat >>${T}/services<<-EOF - ndtp 2010/tcp # Network Dictionary Transfer Protocol - EOF - insinto /etc - doins ${T}/services - fi - - newinitd ${FILESDIR}/ndtpd.initd ndtpd + newinitd "${FILESDIR}/ndtpd.initd" ndtpd insinto /etc newins ndtpd.conf{.sample,} |