diff --git a/bugfix.diff b/bugfix.diff new file mode 100644 index 0000000..fafa5b9 --- /dev/null +++ b/bugfix.diff @@ -0,0 +1,14 @@ +Index: vpnc-0.5.2r394/vpnc-script.in +=================================================================== +--- vpnc-0.5.2r394.orig/vpnc-script.in ++++ vpnc-0.5.2r394/vpnc-script.in +@@ -445,8 +445,8 @@ + echo + fi + +- do_ifconfig + set_vpngateway_route ++ do_ifconfig + if [ -n "$CISCO_SPLIT_INC" ]; then + i=0 + while [ $i -lt $CISCO_SPLIT_INC ] ; do diff --git a/vpnc.changes b/vpnc.changes index 3bf5200..05fd822 100644 --- a/vpnc.changes +++ b/vpnc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Dec 20 19:17:47 UTC 2009 - tittiatcoke@gmail.com + +- Added a fix for bug (bno#555577) + * This fix would take network routes send by the VPN gateway + into account + ------------------------------------------------------------------- Sun Nov 1 12:09:54 UTC 2009 - tittiatcoke@gmail.com diff --git a/vpnc.spec b/vpnc.spec index 8e8c02e..d98f537 100644 --- a/vpnc.spec +++ b/vpnc.spec @@ -23,12 +23,13 @@ Group: Productivity/Networking/Security BuildRequires: libgcrypt-devel BuildRequires: gnutls libgnutls-devel pkg-config Version: 0.5.3r449 -Release: 1 -License: BSD 3-clause (or similar) ; GPL v2 or later +Release: 2 +License: BSD3c(or similar) ; GPLv2+ AutoReqProv: on Summary: A Client for Cisco VPN concentrator Requires: /usr/bin/sed /sbin/ip Source: %{name}-%{version}.tar.bz2 +Patch0: bugfix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,6 +54,7 @@ Authors: %prep %setup -n %{name} +%patch0 -p1 %build make PREFIX=/usr