rpms/vpnc/devel vpnc-0.5.1-mtu.patch,1.1,1.2 vpnc.spec,1.28,1.29
Michal Schmidt (michich)
fedora-extras-commits at redhat.com
Sat Apr 5 19:16:26 UTC 2008
Author: michich
Update of /cvs/pkgs/rpms/vpnc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12508
Modified Files:
vpnc-0.5.1-mtu.patch vpnc.spec
Log Message:
* Sat Apr 5 2008 Michal Schmidt <mschmidt at redhat.com> - 0.5.1-5
- vpnc-script: fix 'ip link ...' syntax.
vpnc-0.5.1-mtu.patch:
Index: vpnc-0.5.1-mtu.patch
===================================================================
RCS file: /cvs/pkgs/rpms/vpnc/devel/vpnc-0.5.1-mtu.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vpnc-0.5.1-mtu.patch 3 Apr 2008 08:32:21 -0000 1.1
+++ vpnc-0.5.1-mtu.patch 5 Apr 2008 19:16:05 -0000 1.2
@@ -8,7 +8,7 @@
- ifconfig "$TUNDEV" inet "$INTERNAL_IP4_ADDRESS" $ifconfig_syntax_ptp "$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu 1412 up
+ if [ -n "$IPROUTE" ]; then
+ DEV=$($IPROUTE route | grep ^default | sed 's/^.* dev \([[:alnum:]-]\+\).*$/\1/')
-+ MTU=$(($($IPROUTE link "$DEV" | grep mtu | sed 's/^.* mtu \([[:digit:]]\+\).*$/\1/') - 88))
++ MTU=$(($($IPROUTE link show "$DEV" | grep mtu | sed 's/^.* mtu \([[:digit:]]\+\).*$/\1/') - 88))
+ else
+ MTU=1412
+ fi
Index: vpnc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vpnc/devel/vpnc.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- vpnc.spec 3 Apr 2008 08:32:21 -0000 1.28
+++ vpnc.spec 5 Apr 2008 19:16:05 -0000 1.29
@@ -1,6 +1,6 @@
Name: vpnc
Version: 0.5.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: IPSec VPN client compatible with Cisco equipment
@@ -101,6 +101,9 @@
%{_sbindir}/vpnc-helper
%changelog
+* Sat Apr 5 2008 Michal Schmidt <mschmidt at redhat.com> - 0.5.1-5
+- vpnc-script: fix 'ip link ...' syntax.
+
* Thu Apr 3 2008 Tomas Mraz <tmraz at redhat.com> - 0.5.1-4
- drop autogenerated perl requires (#440304)
- compute MTU based on default route device (#433846)
More information about the fedora-extras-commits
mailing list