From 246c5b651ff44241b3a15396d5f678c5c89134ad0038d09d3adc4f6ddfc4c6ac Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Sat, 26 Dec 2009 12:58:52 +0000 Subject: [PATCH] Accepting request 27539 from network Copy from network/vpnc based on submit request 27539 from user coolo OBS-URL: https://build.opensuse.org/request/show/27539 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vpnc?expand=0&rev=4 --- bugfix.diff | 14 ++++++++++++++ vpnc.changes | 7 +++++++ vpnc.spec | 6 ++++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 bugfix.diff 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