FreeBSD Bugzilla – Attachment 211804 Details for
Bug 244286
[patch] security/openvpn: Add option to build with --enable-async-push
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
openvpn_async_push.diff (text/plain), 1.95 KB, created by
Renato Botelho
on 2020-02-21 17:43:59 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2020-02-21 17:43:59 UTC
Size:
1.95 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 526625) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= openvpn > DISTVERSION= 2.4.8 >-PORTREVISION?= 1 >+PORTREVISION?= 2 > CATEGORIES= security net net-vpn > MASTER_SITES= https://swupdate.openvpn.org/community/releases/ \ > https://build.openvpn.net/downloads/releases/ >@@ -35,10 +35,11 @@ > CPPFLAGS+= -DPLUGIN_LIBDIR=\\\"${PREFIX}/lib/openvpn/plugins\\\" > > OPTIONS_DEFINE= PKCS11 EASYRSA DOCS EXAMPLES X509ALTUSERNAME \ >- TEST LZ4 LZO SMALL TUNNELBLICK >+ TEST LZ4 LZO SMALL TUNNELBLICK ASYNC_PUSH > OPTIONS_DEFAULT= EASYRSA OPENSSL TEST LZ4 LZO > OPTIONS_SINGLE= SSL > OPTIONS_SINGLE_SSL= OPENSSL MBEDTLS >+ASYNC_PUSH_DESC= Enable async-push support > PKCS11_DESC= Use security/pkcs11-helper (OpenSSL only) > EASYRSA_DESC= Install security/easy-rsa RSA helper package > MBEDTLS_DESC= SSL/TLS via mbedTLS (lacks TLS v1.3) >@@ -46,6 +47,9 @@ > X509ALTUSERNAME_DESC= Enable --x509-username-field (OpenSSL only) > SMALL_DESC= Build a smaller executable with fewer features > >+ASYNC_PUSH_CONFIGURE_ENABLE= async-push >+ASYNC_PUSH_LIB_DEPENDS= libinotify.so:devel/libinotify >+ > EASYRSA_RUN_DEPENDS= easy-rsa>=0:security/easy-rsa > > PKCS11_LIB_DEPENDS= libpkcs11-helper.so:security/pkcs11-helper >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 526625) >+++ files/patch-configure (working copy) >@@ -1,6 +1,15 @@ >---- configure.orig 2019-02-20 12:28:34 UTC >+--- configure.orig 2019-10-30 12:38:02 UTC > +++ configure >-@@ -18120,8 +18120,6 @@ fi >+@@ -17930,6 +17930,8 @@ _ACEOF >+ >+ $as_echo "#define ENABLE_ASYNC_PUSH 1" >>confdefs.h >+ >++LIBS="-linotify $LIBS" >++ >+ else >+ as_fn_error $? "inotify.h not found." "$LINENO" 5 >+ >+@@ -18112,8 +18114,6 @@ fi > $as_echo "!! WARNING !! The cmoka git submodule has not been initialized or updated. Unit testing cannot be performed." >&6; } > fi > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244286
: 211804