[arch-commits] CVS update of extra/network/openswan-klips-beyond (3 files)
Travis Willard
travis at archlinux.org
Sun May 20 14:16:57 UTC 2007
Date: Sunday, May 20, 2007 @ 10:16:57
Author: travis
Path: /home/cvs-extra/extra/network/openswan-klips-beyond
Removed: PKGBUILD (1.5) openswan-2.4.7-2.6.19.diff (1.1)
openswan-klips.install (1.3)
Beyond removed from repos
----------------------------+
PKGBUILD | 28 ----------------------------
openswan-2.4.7-2.6.19.diff | 29 -----------------------------
openswan-klips.install | 30 ------------------------------
3 files changed, 87 deletions(-)
Index: extra/network/openswan-klips-beyond/PKGBUILD
diff -u extra/network/openswan-klips-beyond/PKGBUILD:1.5 extra/network/openswan-klips-beyond/PKGBUILD:removed
--- extra/network/openswan-klips-beyond/PKGBUILD:1.5 Tue Dec 12 17:38:04 2006
+++ extra/network/openswan-klips-beyond/PKGBUILD Sun May 20 10:16:56 2007
@@ -1,28 +0,0 @@
-# Contributor: Tom Killian <tomk at runbox.com>
-# Maintainer: Tom Killian <tomk at runbox.com>
-
-pkgname=openswan-klips-beyond
-pkgver=2.4.7
-pkgrel=2
-pkgdesc="Openswan's KLIPS kernel module, supporting ipsecX virtual interfaces. For kernel26beyond"
-url="http://www.openswan.org"
-license=('GPL' 'custom')
-depends=('openswan')
-source=(http://www.openswan.org/download/openswan-$pkgver.tar.gz \
- openswan-2.4.7-2.6.19.diff)
-install=openswan-klips.install
-
-_kernver=2.6.19-beyond
-
-build() {
- cd $startdir/src/openswan-$pkgver
- patch -Np1 -i ../openswan-2.4.7-2.6.19.diff || return 1
-
- make KERNELSRC=/usr/src/linux-$_kernver module || return 1
- install -Dm644 modobj26/ipsec.ko \
- $startdir/pkg/lib/modules/$_kernver/kernel/net/ipsec/ipsec.ko
-
- # Update kernel version in .install script
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/g" $startdir/openswan-klips.install
-}
-md5sums=('70f22e8adc39e07a165f75eccb7cd079' '32d6f5221aed94fd0d08729b860bc867')
Index: extra/network/openswan-klips-beyond/openswan-2.4.7-2.6.19.diff
diff -u extra/network/openswan-klips-beyond/openswan-2.4.7-2.6.19.diff:1.1 extra/network/openswan-klips-beyond/openswan-2.4.7-2.6.19.diff:removed
--- extra/network/openswan-klips-beyond/openswan-2.4.7-2.6.19.diff:1.1 Tue Dec 12 17:38:04 2006
+++ extra/network/openswan-klips-beyond/openswan-2.4.7-2.6.19.diff Sun May 20 10:16:56 2007
@@ -1,29 +0,0 @@
-diff -urN openswan-2.4.7/linux/include/openswan/ipsec_kversion.h openswan-2.4.7-2.6.19/linux/include/openswan/ipsec_kversion.h
---- openswan-2.4.7/linux/include/openswan/ipsec_kversion.h 2006-07-29 08:00:40.000000000 +0300
-+++ openswan-2.4.7-2.6.19/linux/include/openswan/ipsec_kversion.h 2006-12-01 21:15:45.000000000 +0200
-@@ -142,6 +142,10 @@
- #define HAVE_NEW_SKB_LINEARIZE
- #endif
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
-+#define VOID_SOCK_UNREGISTER
-+#endif
-+
- #ifdef NET_21
- # include <linux/in6.h>
- #else
-diff -urN openswan-2.4.7/linux/net/ipsec/pfkey_v2.c openswan-2.4.7-2.6.19/linux/net/ipsec/pfkey_v2.c
---- openswan-2.4.7/linux/net/ipsec/pfkey_v2.c 2006-10-10 23:43:28.000000000 +0300
-+++ openswan-2.4.7-2.6.19/linux/net/ipsec/pfkey_v2.c 2006-12-01 21:17:16.000000000 +0200
-@@ -1503,7 +1503,11 @@
-
- printk(KERN_INFO "klips_info:pfkey_cleanup: "
- "shutting down PF_KEY domain sockets.\n");
-+#ifdef VOID_SOCK_UNREGISTER
-+ sock_unregister(PF_KEY);
-+#else
- error |= sock_unregister(PF_KEY);
-+#endif
-
- error |= supported_remove_all(SADB_SATYPE_AH);
- error |= supported_remove_all(SADB_SATYPE_ESP);
Index: extra/network/openswan-klips-beyond/openswan-klips.install
diff -u extra/network/openswan-klips-beyond/openswan-klips.install:1.3 extra/network/openswan-klips-beyond/openswan-klips.install:removed
--- extra/network/openswan-klips-beyond/openswan-klips.install:1.3 Tue Dec 12 17:38:04 2006
+++ extra/network/openswan-klips-beyond/openswan-klips.install Sun May 20 10:16:56 2007
@@ -1,30 +0,0 @@
-# arg 1: the new package version
-post_install() {
- post_upgrade
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.19-beyond
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.19-beyond
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list