diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-05-30 21:13:21 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-05-30 21:13:21 +0000 |
commit | 9ecb59fb6d6c9e32441ff8796d32d2252d853b6a (patch) | |
tree | 475af74bbfa09c598d6cba481d23bd4ad7154fc7 /net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild | |
parent | Version bump, closing bug #116045, security bug #134010, bug #134505 and bug ... (diff) | |
download | historical-9ecb59fb6d6c9e32441ff8796d32d2252d853b6a.tar.gz historical-9ecb59fb6d6c9e32441ff8796d32d2252d853b6a.tar.bz2 historical-9ecb59fb6d6c9e32441ff8796d32d2252d853b6a.zip |
Interblock l2tpd with xl2tpd. Install only basic configuration files and change init script to check the existence of the l2tpd.conf file (#134029).
Package-Manager: portage-2.0.54-r2
Diffstat (limited to 'net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild')
-rw-r--r-- | net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild b/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild index 3a4172b515cd..b06883cc32f5 100644 --- a/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild +++ b/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild,v 1.5 2006/03/12 16:07:36 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/l2tpd/l2tpd-0.70_pre20031121.ebuild,v 1.6 2006/05/30 21:13:21 mrness Exp $ inherit eutils @@ -16,6 +16,9 @@ KEYWORDS="x86 ~ppc" SLOT="0" IUSE="" +RDEPEND="!net-dialup/xl2tpd + net-dialup/ppp" + S="${WORKDIR}/${P/_/-}.orig" src_unpack() { @@ -32,12 +35,12 @@ src_install() { doman doc/*.[85] doman *.[85] - dodoc BUGS CHANGELOG LICENSE CREDITS README TODO \ + dodoc BUGS CHANGELOG CREDITS README TODO \ doc/rfc2661.txt doc/*.sample - insinto /etc/l2tpd - newins doc/l2tp-secrets.sample l2tp-secrets - newins doc/l2tpd.conf.sample l2tpd.conf + dodir /etc/l2tpd + head -n 2 doc/l2tp-secrets.sample > "${D}/etc/l2tpd/l2tp-secrets" + fperms 0600 /etc/l2tpd/l2tp-secrets newinitd "${FILESDIR}/l2tpd-init" l2tpd } |