commit: 1ce841ff7dbb245a581c6cfcc699d33defa16c2c Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Wed Jan 11 16:36:19 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jan 15 09:48:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce841ff
net-misc/openvpn: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/3434 ...n-2.4_rc1-arm-inotify-only-in-server-mode.patch | 30 -------------------- .../files/openvpn-2.4_rc1-fix-async-push.patch | 32 ---------------------- 2 files changed, 62 deletions(-) diff --git a/net-misc/openvpn/files/openvpn-2.4_rc1-arm-inotify-only-in-server-mode.patch b/net-misc/openvpn/files/openvpn-2.4_rc1-arm-inotify-only-in-server-mode.patch deleted file mode 100644 index 94d80b6..00000000 --- a/net-misc/openvpn/files/openvpn-2.4_rc1-arm-inotify-only-in-server-mode.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 7084a3993fa35c6fb71abe8aac7b30f442205e2a -Author: Lev Stipakov <[email protected]> -Date: Wed Dec 7 01:45:51 2016 +0200 - - Arm inotify only in server mode - - Async-push is a server side feature and inotify_fd is - initialized in server mode. - - Trac: #786 - Signed-off-by: Lev Stipakov <[email protected]> - Acked-by: David Sommerseth <[email protected]> - Message-Id: <[email protected]> - URL: https://www.mail-archive.com/[email protected]/msg13415.html - Signed-off-by: David Sommerseth <[email protected]> - -diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c -index b50a2e0..4502e10 100644 ---- a/src/openvpn/forward.c -+++ b/src/openvpn/forward.c -@@ -1578,7 +1578,8 @@ io_wait_dowork (struct context *c, const unsigned int flags) - - #ifdef ENABLE_ASYNC_PUSH - /* arm inotify watcher */ -- event_ctl (c->c2.event_set, c->c2.inotify_fd, EVENT_READ, (void*)&file_shift); -+ if (c->options.mode == MODE_SERVER) -+ event_ctl (c->c2.event_set, c->c2.inotify_fd, EVENT_READ, (void*)&file_shift); - #endif - - /* diff --git a/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch b/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch deleted file mode 100644 index 93b9045..00000000 --- a/net-misc/openvpn/files/openvpn-2.4_rc1-fix-async-push.patch +++ /dev/null @@ -1,32 +0,0 @@ -commit e62eccf025aa60ec268787d2aa4a46310ed1cd60 -Author: David Sommerseth <[email protected]> -Date: Tue Dec 6 23:10:51 2016 +0100 - - Fix wrong configure.ac parsing of --enable-async-push - - AC_ARG_ENABLE() was used wrong, which led enable_async_push to - always be set, regardless if --enable-async-push or --disable-async-push - was used. - - Also spotted the exact same patch when writing this commit message as - GitHub PR#70. - - Trac: #786 - Signed-off-by: David Sommerseth <[email protected]> - Acked-by: Lev Stipakov <[email protected]> - Message-Id: <[email protected]> - URL: https://www.mail-archive.com/[email protected]/msg13411.html - -diff --git a/configure.ac b/configure.ac -index f4073d0..27bdcc3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -267,7 +267,7 @@ AC_ARG_ENABLE( - AC_ARG_ENABLE( - [async-push], - [AS_HELP_STRING([--enable-async-push], [enable async-push support @<:@default=no@:>@])], -- [enable_async_push="yes"], -+ , - [enable_async_push="no"] - ) -
