Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 397863 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-8 / +7 lines)
Line  Link Here
0
-- openvpn-2.1.4-r1.ebuild     2012-01-06 11:39:25.081148010 +0100
0
++ /usr/portage/net-misc/openvpn/openvpn-2.1.4.ebuild  2011-03-21 09:31:20.000000000 +0100
Lines 110-116 Link Here
110
       newinitd "${FILESDIR}/${PN}-2.1.init" openvpn || die "newinitd failed"
110
       newinitd "${FILESDIR}/${PN}-2.1.init" openvpn || die "newinitd failed"
111
       newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn || die "newconfd failed"
111
       newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn || die "newconfd failed"
112
       dodir /var/run/openvpn
113
       # install examples, controlled by the respective useflag
112
       # install examples, controlled by the respective useflag
114
       if use examples ; then
113
       if use examples ; then
115
               # dodoc does not supportly support directory traversal, #15193
114
               # dodoc does not supportly support directory traversal, #15193
116
-- files/openvpn.init  2012-01-06 11:40:20.151148016 +0100
115
++ /usr/portage/net-misc/openvpn/files/openvpn.init    2010-02-28 17:21:32.000000000 +0100
Lines 5-13 Link Here
5
VPNDIR="/etc/openvpn"
5
VPNDIR="/etc/openvpn"
6
VPN="${SVCNAME#*.}"
6
VPN="${SVCNAME#*.}"
7
if [ -n "${VPN}" ] && [ "${SVCNAME}" != "openvpn" ]; then
7
if [ -n "${VPN}" ] && [ "${SVCNAME}" != "openvpn" ]; then
8
       VPNPID="/var/run/openvpn/openvpn.${VPN}.pid"
8
       VPNPID="/var/run/openvpn.${VPN}.pid"
9
else
9
else
10
       VPNPID="/var/run/openvpn/openvpn.pid"
10
       VPNPID="/var/run/openvpn.pid"
11
fi
11
fi
12
VPNCONF="${VPNDIR}/${VPN}.conf"
12
VPNCONF="${VPNDIR}/${VPN}.conf"
13
-- files/openvpn-2.1.init      2012-01-06 11:41:52.151148029 +0100
13
++ /usr/portage/net-misc/openvpn/files/openvpn-2.1.init        2010-02-28 17:21:32.000000000 +0100
Lines 5-13 Link Here
5
VPNDIR=${VPNDIR:-/etc/openvpn}
5
VPNDIR=${VPNDIR:-/etc/openvpn}
6
VPN=${SVCNAME#*.}
6
VPN=${SVCNAME#*.}
7
if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then
7
if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then
8
       VPNPID="/var/run/openvpn/openvpn.${VPN}.pid"
8
       VPNPID="/var/run/openvpn.${VPN}.pid"
9
else
9
else
10
       VPNPID="/var/run/openvpn/openvpn.pid"
10
       VPNPID="/var/run/openvpn.pid"
11
fi
11
fi
12
VPNCONF="${VPNDIR}/${VPN}.conf"
12
VPNCONF="${VPNDIR}/${VPN}.conf"

Return to bug 397863