diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2010-08-13 08:39:49 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2010-08-13 08:39:49 +0000 |
commit | c7b703456bb1d5c8bd8666ad14eaff0cc8f68e39 (patch) | |
tree | 4f21fe4afc2f4b4a4611a459998f4da12199f4fb /net-misc/vpnc | |
parent | Version bump: minor fixes to rpm-mode. (diff) | |
download | gentoo-2-c7b703456bb1d5c8bd8666ad14eaff0cc8f68e39.tar.gz gentoo-2-c7b703456bb1d5c8bd8666ad14eaff0cc8f68e39.tar.bz2 gentoo-2-c7b703456bb1d5c8bd8666ad14eaff0cc8f68e39.zip |
create /var/run/vpnc on the fly in init script not by keepdir in ebuild
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'net-misc/vpnc')
-rw-r--r-- | net-misc/vpnc/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/vpnc/files/vpnc-2.init | 5 | ||||
-rw-r--r-- | net-misc/vpnc/files/vpnc-3.init | 5 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.5.3.ebuild | 5 | ||||
-rw-r--r-- | net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild | 3 |
5 files changed, 14 insertions, 10 deletions
diff --git a/net-misc/vpnc/ChangeLog b/net-misc/vpnc/ChangeLog index afe7d8372078..60c6a38b9209 100644 --- a/net-misc/vpnc/ChangeLog +++ b/net-misc/vpnc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/vpnc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.88 2010/03/23 22:54:22 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.89 2010/08/13 08:39:49 fauli Exp $ + + 13 Aug 2010; Christian Faulhammer <fauli@gentoo.org> vpnc-0.5.3.ebuild, + vpnc-0.5.3_p449-r1.ebuild, files/vpnc-2.init, files/vpnc-3.init: + create /var/run/vpnc on the fly in init script not by keepdir in ebuild *vpnc-0.5.3_p449-r1 (23 Mar 2010) diff --git a/net-misc/vpnc/files/vpnc-2.init b/net-misc/vpnc/files/vpnc-2.init index 353ecc794aab..78df1eac9e67 100644 --- a/net-misc/vpnc/files/vpnc-2.init +++ b/net-misc/vpnc/files/vpnc-2.init @@ -1,12 +1,13 @@ #!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-2.init,v 1.4 2008/10/16 16:46:39 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-2.init,v 1.5 2010/08/13 08:39:48 fauli Exp $ VPNDIR="/etc/vpnc" VPN="${SVCNAME#*.}" if [ -n ${VPN} ] && [ ${SVCNAME} != "vpnc" ]; then + mkdir -p /var/run/vpnc VPNPID="/var/run/vpnc/${VPN}.pid" else VPNPID="/var/run/vpnc.pid" diff --git a/net-misc/vpnc/files/vpnc-3.init b/net-misc/vpnc/files/vpnc-3.init index 61ba36b54ede..f5c5dc6e634b 100644 --- a/net-misc/vpnc/files/vpnc-3.init +++ b/net-misc/vpnc/files/vpnc-3.init @@ -1,12 +1,13 @@ #!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-3.init,v 1.1 2010/03/23 22:54:22 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/files/vpnc-3.init,v 1.2 2010/08/13 08:39:48 fauli Exp $ VPNDIR="/etc/vpnc" VPN="${SVCNAME#*.}" if [ -n ${VPN} ] && [ ${SVCNAME} != "vpnc" ]; then + mkdir -p /var/run/vpnc VPNPID="/var/run/vpnc/${VPN}.pid" else VPNPID="/var/run/vpnc.pid" diff --git a/net-misc/vpnc/vpnc-0.5.3.ebuild b/net-misc/vpnc/vpnc-0.5.3.ebuild index 04f3d750db68..3665865ce9ee 100644 --- a/net-misc/vpnc/vpnc-0.5.3.ebuild +++ b/net-misc/vpnc/vpnc-0.5.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3.ebuild,v 1.5 2009/05/29 10:47:11 dagger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3.ebuild,v 1.6 2010/08/13 08:39:49 fauli Exp $ DESCRIPTION="Free client for Cisco VPN routing software" HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" @@ -37,7 +37,6 @@ src_compile() { src_install() { emake PREFIX="/usr" DESTDIR="${D}" install || die dodoc README TODO VERSION - keepdir /var/run/vpnc keepdir /etc/vpnc/scripts.d newinitd "${FILESDIR}/vpnc-2.init" vpnc newconfd "${FILESDIR}/vpnc.confd" vpnc diff --git a/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild b/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild index cf6ee3346206..5dc14f6d5148 100644 --- a/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild +++ b/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild,v 1.1 2010/03/23 22:54:22 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild,v 1.2 2010/08/13 08:39:49 fauli Exp $ DESCRIPTION="Free client for Cisco VPN routing software" HOMEPAGE="http://www.unix-ag.uni-kl.de/~massar/vpnc/" @@ -21,7 +21,6 @@ RDEPEND="${DEPEND} src_install() { emake PREFIX="/usr" DESTDIR="${D}" install || die dodoc README TODO VERSION || die - keepdir /var/run/vpnc keepdir /etc/vpnc/scripts.d newinitd "${FILESDIR}/vpnc-3.init" vpnc || die newconfd "${FILESDIR}/vpnc.confd" vpnc || die |