diff options
author | 2010-08-23 13:34:28 +0000 | |
---|---|---|
committer | 2010-08-23 13:34:28 +0000 | |
commit | 1dc59f2fcdc02faaee60eb414f5b380ac6f22713 (patch) | |
tree | 4b27f4535e198ab64c08eb1c35928ac6836eb6a4 /net-misc/openvpn/files | |
parent | Version bump. Cleanup (diff) | |
download | historical-1dc59f2fcdc02faaee60eb414f5b380ac6f22713.tar.gz historical-1dc59f2fcdc02faaee60eb414f5b380ac6f22713.tar.bz2 historical-1dc59f2fcdc02faaee60eb414f5b380ac6f22713.zip |
Clean up old versions.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-misc/openvpn/files')
-rw-r--r-- | net-misc/openvpn/files/openvpn-2.0.7-pam.patch | 34 | ||||
-rw-r--r-- | net-misc/openvpn/files/openvpn-2.0.7-persistent.patch | 44 |
2 files changed, 0 insertions, 78 deletions
diff --git a/net-misc/openvpn/files/openvpn-2.0.7-pam.patch b/net-misc/openvpn/files/openvpn-2.0.7-pam.patch deleted file mode 100644 index 34fa3aeb0108..000000000000 --- a/net-misc/openvpn/files/openvpn-2.0.7-pam.patch +++ /dev/null @@ -1,34 +0,0 @@ -We should use pam property - this works on both LinuxPAM and OpenPAM - -diff -ur openvpn-2.0.7.orig/plugin/auth-pam/Makefile openvpn-2.0.7/plugin/auth-pam/Makefile ---- openvpn-2.0.7.orig/plugin/auth-pam/Makefile 2005-11-02 18:02:49 +0000 -+++ openvpn-2.0.7/plugin/auth-pam/Makefile 2006-10-11 12:05:55 +0100 -@@ -4,7 +4,7 @@ - - # If PAM modules are not linked against libpam.so, set DLOPEN_PAM to 1. This - # must be done on SUSE 9.1, at least. --DLOPEN_PAM=1 -+DLOPEN_PAM=0 - - ifeq ($(DLOPEN_PAM),1) - LIBPAM=-ldl -diff -ur openvpn-2.0.7.orig/plugin/auth-pam/pamdl.c openvpn-2.0.7/plugin/auth-pam/pamdl.c ---- openvpn-2.0.7.orig/plugin/auth-pam/pamdl.c 2005-11-02 18:02:49 +0000 -+++ openvpn-2.0.7/plugin/auth-pam/pamdl.c 2006-10-11 12:04:48 +0100 -@@ -10,7 +10,6 @@ - #include <stdio.h> - #include <dlfcn.h> - #include <security/pam_appl.h> --#include <security/_pam_macros.h> - - #include "pamdl.h" - -@@ -74,7 +73,7 @@ - return real_pam_set_item(pamh, item_type, item); - } - --int pam_get_item(const pam_handle_t *pamh, int item_type, const void **item) -+int pam_get_item(pam_handle_t *pamh, int item_type, const void **item) - { - int (*real_pam_get_item)(const pam_handle_t *, int, const void **); - RESOLVE_PAM_FUNCTION(pam_get_item, int, diff --git a/net-misc/openvpn/files/openvpn-2.0.7-persistent.patch b/net-misc/openvpn/files/openvpn-2.0.7-persistent.patch deleted file mode 100644 index cddfcdbd33be..000000000000 --- a/net-misc/openvpn/files/openvpn-2.0.7-persistent.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -u /tmp/openvpn-2.0.7/init.c openvpn-2.0.7/init.c ---- openvpn-2.0.7/init.c 2006-11-08 13:33:02.043877584 +0000 -+++ openvpn-2.0.7/init.c 2006-11-08 13:33:24.000000000 +0000 -@@ -347,7 +347,8 @@ - msg (M_FATAL|M_OPTERR, - "options --mktun or --rmtun should only be used together with --dev"); - tuncfg (options->dev, options->dev_type, options->dev_node, -- options->tun_ipv6, options->persist_mode); -+ options->tun_ipv6, options->persist_mode, -+ &options->tuntap_options); - return true; - } - #endif -diff -u /tmp/openvpn-2.0.7/tun.c openvpn-2.0.7/tun.c ---- openvpn-2.0.7/tun.c 2006-11-08 13:33:02.037878496 +0000 -+++ openvpn-2.0.7/tun.c 2006-11-08 13:34:20.000000000 +0000 -@@ -1095,13 +1095,14 @@ - #ifdef TUNSETPERSIST - - void --tuncfg (const char *dev, const char *dev_type, const char *dev_node, bool ipv6, int persist_mode) -+tuncfg (const char *dev, const char *dev_type, const char *dev_node, bool ipv6, int persist_mode, const struct tuntap_options *options) - { - struct tuntap *tt; - - ALLOC_OBJ (tt, struct tuntap); - clear_tuntap (tt); - tt->type = dev_type_enum (dev, dev_type); -+ tt->options = *options; - open_tun (dev, dev_type, dev_node, ipv6, tt); - if (ioctl (tt->fd, TUNSETPERSIST, persist_mode) < 0) - msg (M_ERR, "Cannot ioctl TUNSETPERSIST(%d) %s", persist_mode, dev); -diff -u /tmp/openvpn-2.0.7/tun.h openvpn-2.0.7/tun.h ---- openvpn-2.0.7/tun.h 2006-11-08 13:33:02.042877736 +0000 -+++ openvpn-2.0.7/tun.h 2006-11-08 13:33:50.000000000 +0000 -@@ -194,7 +194,7 @@ - int read_tun (struct tuntap* tt, uint8_t *buf, int len); - - void tuncfg (const char *dev, const char *dev_type, const char *dev_node, -- bool ipv6, int persist_mode); -+ bool ipv6, int persist_mode, const struct tuntap_options *options); - - const char *guess_tuntap_dev (const char *dev, - const char *dev_type, |