forked from ports/contrib
vpnclient: removed deprecated port
This commit is contained in:
parent
e4e9aad717
commit
798fd043c3
@ -1,26 +0,0 @@
|
|||||||
drwxr-xr-x root/root etc/
|
|
||||||
drwxr-xr-x root/root etc/opt/
|
|
||||||
drwxr-xr-x root/root etc/opt/cisco-vpnclient/
|
|
||||||
drwxr-xr-x root/root etc/opt/cisco-vpnclient/Profiles/
|
|
||||||
drwxr-xr-x root/root lib/
|
|
||||||
drwxr-xr-x root/root lib/modules/
|
|
||||||
drwxr-xr-x root/root lib/modules/<kernel-version>/
|
|
||||||
drwxr-xr-x root/root lib/modules/<kernel-version>/extra/
|
|
||||||
-rw-r--r-- root/root lib/modules/<kernel-version>/extra/cisco_ipsec.ko
|
|
||||||
drwxr-xr-x root/root opt/
|
|
||||||
drwxr-xr-x root/root opt/cisco-vpnclient/
|
|
||||||
drwxr-xr-x root/root opt/cisco-vpnclient/bin/
|
|
||||||
-rwxr-xr-x root/root opt/cisco-vpnclient/bin/cisco_cert_mgr
|
|
||||||
-rwxr-xr-x root/root opt/cisco-vpnclient/bin/cvpnd
|
|
||||||
-rwxr-xr-x root/root opt/cisco-vpnclient/bin/ipseclog
|
|
||||||
-rwxr-xr-x root/root opt/cisco-vpnclient/bin/vpnclient
|
|
||||||
drwxr-xr-x root/root opt/cisco-vpnclient/include/
|
|
||||||
-rw-r--r-- root/root opt/cisco-vpnclient/include/vpnapi.h
|
|
||||||
drwxr-xr-x root/root opt/cisco-vpnclient/lib/
|
|
||||||
-rwxr-xr-x root/root opt/cisco-vpnclient/lib/libvpnapi.so
|
|
||||||
drwxr-xr-x root/root usr/
|
|
||||||
drwxr-xr-x root/root usr/bin/
|
|
||||||
lrwxrwxrwx root/root usr/bin/cisco_cert_mgr -> /opt/cisco-vpnclient/bin/cisco_cert_mgr
|
|
||||||
lrwxrwxrwx root/root usr/bin/cvpnd -> /opt/cisco-vpnclient/bin/cvpnd
|
|
||||||
lrwxrwxrwx root/root usr/bin/ipseclog -> /opt/cisco-vpnclient/bin/ipseclog
|
|
||||||
lrwxrwxrwx root/root usr/bin/vpnclient -> /opt/cisco-vpnclient/bin/vpnclient
|
|
@ -1,2 +0,0 @@
|
|||||||
4204c9cc10d57d3e0d8de0fc7548bbf5 vpnclient-linux-4.6.00.0045-k9.tar.gz
|
|
||||||
13c906ba0a307a650121fa018aa4bf8f vpnclient.patch
|
|
@ -1,42 +0,0 @@
|
|||||||
# Description: Cisco VPN Client
|
|
||||||
# URL: http://www.cisco.com/en/US/products/sw/secursw/ps2308/
|
|
||||||
# Maintainer: Rene Lengwinat, rugek at dirtyhack dot net
|
|
||||||
|
|
||||||
name=vpnclient
|
|
||||||
version=4.6.00.0045-k9
|
|
||||||
release=1
|
|
||||||
|
|
||||||
source=($name-linux-$version.tar.gz \
|
|
||||||
vpnclient.patch)
|
|
||||||
|
|
||||||
build () {
|
|
||||||
cd $name
|
|
||||||
cp $SRC/vpnclient.patch .
|
|
||||||
patch -p0 < vpnclient.patch
|
|
||||||
make
|
|
||||||
|
|
||||||
# create directories
|
|
||||||
mkdir -p $PKG/etc/opt/cisco-vpnclient/Profiles
|
|
||||||
mkdir -p $PKG/usr/bin
|
|
||||||
for dir in bin lib include; do
|
|
||||||
mkdir -p $PKG/opt/cisco-vpnclient/$dir
|
|
||||||
done
|
|
||||||
|
|
||||||
# install binaries
|
|
||||||
for binary in vpnclient cisco_cert_mgr ipseclog cvpnd; do
|
|
||||||
cp $binary $PKG/opt/cisco-vpnclient/bin
|
|
||||||
ln -s /opt/cisco-vpnclient/bin/$binary $PKG/usr/bin/$binary
|
|
||||||
done
|
|
||||||
|
|
||||||
# library
|
|
||||||
cp libvpnapi.so $PKG/opt/cisco-vpnclient/lib
|
|
||||||
|
|
||||||
# header
|
|
||||||
cp vpnapi.h $PKG/opt/cisco-vpnclient/include
|
|
||||||
|
|
||||||
# module
|
|
||||||
test ! -d $PKG/lib/modules/`uname -r`/extra && mkdir -p $PKG/lib/modules/`uname -r`/extra
|
|
||||||
cp cisco_ipsec.ko $PKG/lib/modules/`uname -r`/extra
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
You need the original vpnclient from cisco.com. Just copy it into this directory and start build.
|
|
@ -1,69 +0,0 @@
|
|||||||
--- interceptor.c.orig 2005-05-11 18:48:42.000000000 +0200
|
|
||||||
+++ interceptor.c 2005-05-11 18:49:08.000000000 +0200
|
|
||||||
@@ -236,6 +236,24 @@
|
|
||||||
dev_kfree_skb(skb);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+static int
|
|
||||||
+inline supported_device(struct net_device* dev)
|
|
||||||
+{
|
|
||||||
+ int rc=0;
|
|
||||||
+
|
|
||||||
+ if(dev->type == ARPHRD_ETHER)
|
|
||||||
+ {
|
|
||||||
+ rc=1;
|
|
||||||
+ }
|
|
||||||
+ else if(dev->type == ARPHRD_PPP)
|
|
||||||
+ {
|
|
||||||
+ rc=1;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
static int
|
|
||||||
add_netdev(struct net_device *dev)
|
|
||||||
{
|
|
||||||
@@ -476,23 +494,6 @@
|
|
||||||
s->rc = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-static int
|
|
||||||
-inline supported_device(struct net_device* dev)
|
|
||||||
-{
|
|
||||||
- int rc=0;
|
|
||||||
-
|
|
||||||
- if(dev->type == ARPHRD_ETHER)
|
|
||||||
- {
|
|
||||||
- rc=1;
|
|
||||||
- }
|
|
||||||
- else if(dev->type == ARPHRD_PPP)
|
|
||||||
- {
|
|
||||||
- rc=1;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- return rc;
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
|
|
||||||
static BINDING *
|
|
||||||
getbindingbydev(struct net_device *dev)
|
|
||||||
@@ -604,7 +605,7 @@
|
|
||||||
if (skb->ip_summed == CHECKSUM_HW)
|
|
||||||
{
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
|
|
||||||
- if (skb_checksum_help(&skb,1))
|
|
||||||
+ if (skb_checksum_help(skb,1))
|
|
||||||
{
|
|
||||||
dev_kfree_skb(skb);
|
|
||||||
skb = NULL;
|
|
||||||
@@ -729,7 +730,7 @@
|
|
||||||
if (skb->ip_summed == CHECKSUM_HW)
|
|
||||||
{
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
|
|
||||||
- if (skb_checksum_help(&skb,0))
|
|
||||||
+ if (skb_checksum_help(skb,0))
|
|
||||||
#else
|
|
||||||
if ((skb = skb_checksum_help(skb)) == NULL)
|
|
||||||
#endif //LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,7)
|
|
Loading…
x
Reference in New Issue
Block a user