diff options
| author | J0WI <J0WI@users.noreply.github.com> | 2019-10-23 11:42:31 +0200 |
|---|---|---|
| committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-10-25 16:06:31 +0200 |
| commit | 96509889cf5825f907d6d17bc6da053cf0eea89f (patch) | |
| tree | 75db9184353ec00e5ee3b266dc1eb203a24c259b /testing/vpnc/working.patch | |
| parent | 00ece49a34b1dd0edfc9a25da5ec7ef28b2936af (diff) | |
| download | aports-96509889cf5825f907d6d17bc6da053cf0eea89f.tar.bz2 aports-96509889cf5825f907d6d17bc6da053cf0eea89f.tar.xz | |
testing/vpnc: modernize
* build with TLS support
* use patched fork, previous source was defunct and unmaintained
* See: https://github.com/alpinelinux/aports/pull/11961
Diffstat (limited to 'testing/vpnc/working.patch')
| -rw-r--r-- | testing/vpnc/working.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/testing/vpnc/working.patch b/testing/vpnc/working.patch deleted file mode 100644 index 52ec3975cc..0000000000 --- a/testing/vpnc/working.patch +++ /dev/null @@ -1,48 +0,0 @@ -Author: Rien Maertens <maertensrien@gmail.com> -Description: Fixes VPNC not working. Patch taken and modified from OpenWRT. -URL: https://github.com/openwrt/packages/blob/master/net/vpnc/patches/100-musl-compat.patch ---- orig/config.c -+++ patched/config.c -@@ -26,7 +26,10 @@ - #include <unistd.h> - #include <string.h> - #include <errno.h> -+#include <sys/ttydefaults.h> -+#include <sys/types.h> - #include <sys/utsname.h> -+#include <sys/wait.h> - - #include <gcrypt.h> - ---- orig/sysdep.c -+++ patched/sysdep.c -@@ -59,6 +59,10 @@ - #if defined(__DragonFly__) - #include <net/tun/if_tun.h> - #elif defined(__linux__) -+# if !defined(__GLIBC__) && !defined(__UCLIBC__) -+# define _LINUX_IF_ETHER_H -+# include <net/ethernet.h> -+# endif - #include <linux/if_tun.h> - #elif defined(__APPLE__) - /* no header for tun */ ---- orig/sysdep.h -+++ patched/sysdep.h -@@ -37,12 +37,14 @@ - int tun_get_hwaddr(int fd, char *dev, uint8_t *hwaddr); - - /***************************************************************************/ --#if defined(__linux__) || defined(__GLIBC__) -+#if defined(__GLIBC__) || defined(__UCLIBC__) - #include <error.h> -+#define HAVE_ERROR 1 -+#endif - -+#if defined(__linux__) || defined(__GLIBC__) - #define HAVE_VASPRINTF 1 - #define HAVE_ASPRINTF 1 --#define HAVE_ERROR 1 - #define HAVE_GETLINE 1 - #define HAVE_UNSETENV 1 - #define HAVE_SETENV 1 |
