Advertisement
Guest User

Untitled

a guest
Jan 6th, 2012
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.56 KB | None | 0 0
  1. --- openvpn-2.1.4-r1.ebuild     2012-01-06 11:39:25.081148010 +0100
  2. +++ /usr/portage/net-misc/openvpn/openvpn-2.1.4.ebuild  2011-03-21 09:31:20.000000000 +0100
  3. @@ -110,7 +110,6 @@
  4.         newinitd "${FILESDIR}/${PN}-2.1.init" openvpn || die "newinitd failed"
  5.         newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn || die "newconfd failed"
  6.  
  7. -       dodir /var/run/openvpn
  8.         # install examples, controlled by the respective useflag
  9.         if use examples ; then
  10.                 # dodoc does not supportly support directory traversal, #15193
  11. --- files/openvpn.init  2012-01-06 11:40:20.151148016 +0100
  12. +++ /usr/portage/net-misc/openvpn/files/openvpn.init    2010-02-28 17:21:32.000000000 +0100
  13. @@ -5,9 +5,9 @@
  14.  VPNDIR="/etc/openvpn"
  15.  VPN="${SVCNAME#*.}"
  16.  if [ -n "${VPN}" ] && [ "${SVCNAME}" != "openvpn" ]; then
  17. -       VPNPID="/var/run/openvpn/openvpn.${VPN}.pid"
  18. +       VPNPID="/var/run/openvpn.${VPN}.pid"
  19.  else
  20. -       VPNPID="/var/run/openvpn/openvpn.pid"
  21. +       VPNPID="/var/run/openvpn.pid"
  22.  fi
  23.  VPNCONF="${VPNDIR}/${VPN}.conf"
  24. --- files/openvpn-2.1.init      2012-01-06 11:41:52.151148029 +0100
  25. +++ /usr/portage/net-misc/openvpn/files/openvpn-2.1.init        2010-02-28 17:21:32.000000000 +0100
  26. @@ -5,9 +5,9 @@
  27.  VPNDIR=${VPNDIR:-/etc/openvpn}
  28.  VPN=${SVCNAME#*.}
  29.  if [ -n "${VPN}" ] && [ ${SVCNAME} != "openvpn" ]; then
  30. -       VPNPID="/var/run/openvpn/openvpn.${VPN}.pid"
  31. +       VPNPID="/var/run/openvpn.${VPN}.pid"
  32.  else
  33. -       VPNPID="/var/run/openvpn/openvpn.pid"
  34. +       VPNPID="/var/run/openvpn.pid"
  35.  fi
  36.  VPNCONF="${VPNDIR}/${VPN}.conf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement