[Midnightbsd-cvs] mports [23542] trunk/security: fix more ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 12 16:52:29 EDT 2018


Revision: 23542
          http://svnweb.midnightbsd.org/mports/?rev=23542
Author:   laffer1
Date:     2018-05-12 16:52:28 -0400 (Sat, 12 May 2018)
Log Message:
-----------
fix more ports

Modified Paths:
--------------
    trunk/security/cyrus-sasl2/Makefile.common
    trunk/security/ipsec-tools/Makefile
    trunk/security/krb5/Makefile
    trunk/security/libssh/Makefile
    trunk/security/libssh2/Makefile
    trunk/security/nettle/Makefile
    trunk/security/opensc/Makefile
    trunk/security/openssh-portable/Makefile
    trunk/security/openvpn/Makefile
    trunk/security/p5-Crypt-SSLeay/Makefile

Modified: trunk/security/cyrus-sasl2/Makefile.common
===================================================================
--- trunk/security/cyrus-sasl2/Makefile.common	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/cyrus-sasl2/Makefile.common	2018-05-12 20:52:28 UTC (rev 23542)
@@ -13,8 +13,8 @@
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USE_LDCONFIG=	yes
-USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
+USES+=		ssl
 
 CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc \
 		--with-configdir=${PREFIX}/lib/sasl2:${PREFIX}/etc/sasl2 \

Modified: trunk/security/ipsec-tools/Makefile
===================================================================
--- trunk/security/ipsec-tools/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/ipsec-tools/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -14,11 +14,10 @@
 CONFLICTS=	racoon-[0-9]*
 
 USE_RC_SUBR=	racoon
-USE_OPENSSL=	yes
 
 INSTALL_TARGET=	install-strip
 
-USES=		libtool tar:bzip2
+USES=		libtool tar:bzip2 ssl
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--enable-shared --sysconfdir=${PREFIX}/etc/racoon \

Modified: trunk/security/krb5/Makefile
===================================================================
--- trunk/security/krb5/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/krb5/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -28,7 +28,7 @@
 USE_CSTD=		gnu99
 GNU_CONFIGURE=		yes
 USES=			cpe gettext gmake perl5 libtool:build \
-			gssapi:bootstrap,mit
+			gssapi:bootstrap,mit ssl
 CONFIGURE_ARGS?=	--enable-shared --without-system-verto \
 			--disable-rpath --localstatedir="${PREFIX}/var"
 CONFIGURE_ENV=		INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}"
@@ -51,7 +51,6 @@
 CPPFLAGS+=		-I${LOCALBASE}/include -I${OPENSSLINC}
 LDFLAGS+=		-L${LOCALBASE}/lib -L${OPENSSLLIB}
 
-USE_OPENSSL=		yes
 USE_RC_SUBR=		kpropd
 
 .include <bsd.port.pre.mk>

Modified: trunk/security/libssh/Makefile
===================================================================
--- trunk/security/libssh/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/libssh/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -20,7 +20,7 @@
 OPTIONS_DEFAULT=	OPENSSL STATIC
 OPTIONS_SUB=	yes
 
-USES=		cmake:outsource cpe tar:xz
+USES=		cmake:outsource cpe tar:xz ssl
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DWITH_EXAMPLES:BOOL=OFF \
@@ -32,8 +32,6 @@
 GCRYPT_CMAKE_ON=	-DWITH_GCRYPT:BOOL=ON
 GCRYPT_CMAKE_OFF=	-DWITH_GCRYPT:BOOL=OFF
 
-USE_OPENSSL=		yes
-
 SSH1_DESC=		Build with SSH1 support
 SSH1_CMAKE_ON=		-DWITH_SSH1:BOOL=ON
 SSH1_CMAKE_OFF=		-DWITH_SSH1:BOOL=OFF

Modified: trunk/security/libssh2/Makefile
===================================================================
--- trunk/security/libssh2/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/libssh2/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -33,7 +33,7 @@
 .include <bsd.mport.options.mk>
 
 .if ! ${PORT_OPTIONS:MGCRYPT}
-USE_OPENSSL=	yes
+EXTENSIONS+=	ssl
 .endif
 
 .include <bsd.port.pre.mk>

Modified: trunk/security/nettle/Makefile
===================================================================
--- trunk/security/nettle/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/nettle/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -13,8 +13,7 @@
 
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		gmake makeinfo
-USE_OPENSSL=	yes
+USES=		gmake makeinfo ssl
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	M4="/usr/bin/m4 -g"
 CONFIGURE_ARGS=	--enable-shared

Modified: trunk/security/opensc/Makefile
===================================================================
--- trunk/security/opensc/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/opensc/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -23,8 +23,7 @@
 CTAPI_DESC=	Use CT-API backend
 SM_DESC=	Enable secure messaging support
 
-USES=		libtool pkgconfig gmake
-USE_OPENSSL=	yes
+USES=		libtool pkgconfig gmake ssl
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip

Modified: trunk/security/openssh-portable/Makefile
===================================================================
--- trunk/security/openssh-portable/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/openssh-portable/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openssh
 DISTVERSION=	7.4p1
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	security ipv6
 MASTER_SITES=	OPENBSD/OpenSSH/portable
@@ -17,9 +17,8 @@
 
 CONFLICTS?=		openssh-3.* ssh-1.* ssh2-3.*
 
-USES=			alias ncurses
+USES=			alias ncurses ssl
 USE_AUTOTOOLS=		autoconf autoheader
-USE_OPENSSL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_ENV=		ac_cv_func_strnvis=no
 CONFIGURE_ARGS=		--prefix=${PREFIX} --with-md5-passwords \

Modified: trunk/security/openvpn/Makefile
===================================================================
--- trunk/security/openvpn/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/openvpn/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -2,6 +2,7 @@
 
 PORTNAME=	openvpn
 DISTVERSION=	2.3.6
+PORTREVISION=	1
 CATEGORIES=	security net
 MASTER_SITES=	http://swupdate.openvpn.net/community/releases/ \
 		http://build.openvpn.net/downloads/releases/
@@ -14,8 +15,7 @@
 CONFLICTS=	openvpn-devel-[0-9]* openvpn-2.0* openvpn-beta-[0-9]*
 
 GNU_CONFIGURE=	yes
-USES=		cpe libtool pkgconfig shebangfix tar:xz
-USE_OPENSSL=	yes
+USES=		cpe libtool pkgconfig shebangfix tar:xz ssl
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd9.1
 CONFIGURE_ARGS=	--with-lzo-lib=${LOCALBASE}/lib \
 		--with-lzo-headers=${LOCALBASE}/include
@@ -34,9 +34,9 @@
 EASYRSA_DESC=		Install security/easy-rsa RSA helper package
 POLARSSL_DESC=		SSL/TLS support via PolarSSL
 
-EASYRSA_RUN_DEPENDS=	easy-rsa>=0:${PORTSDIR}/security/easy-rsa
+EASYRSA_RUN_DEPENDS=	easy-rsa>=0:security/easy-rsa
 
-PKCS11_LIB_DEPENDS=	libpkcs11-helper.so:${PORTSDIR}/security/pkcs11-helper
+PKCS11_LIB_DEPENDS=	libpkcs11-helper.so:security/pkcs11-helper
 PKCS11_CONFIGURE_ENABLE=	pkcs11
 
 PW_SAVE_CONFIGURE_ENABLE=	password-save
@@ -44,10 +44,9 @@
 .include <bsd.mport.options.mk>
 
 .if ${PORT_OPTIONS:MPOLARSSL}
-LIB_DEPENDS+=		libpolarssl.so:${PORTSDIR}/security/polarssl
+LIB_DEPENDS+=		libpolarssl.so:security/polarssl
 CONFIGURE_ARGS+=	--with-crypto-library=polarssl
 .else
-USE_OPENSSL=		yes
 CONFIGURE_ARGS+=	--with-crypto-library=openssl
 .endif
 

Modified: trunk/security/p5-Crypt-SSLeay/Makefile
===================================================================
--- trunk/security/p5-Crypt-SSLeay/Makefile	2018-05-12 20:48:43 UTC (rev 23541)
+++ trunk/security/p5-Crypt-SSLeay/Makefile	2018-05-12 20:52:28 UTC (rev 23542)
@@ -17,10 +17,9 @@
 		p5-Try-Tiny>=0.19:${PORTSDIR}/lang/p5-Try-Tiny
 RUN_DEPENDS=	p5-LWP-Protocol-https>=6.02:${PORTSDIR}/www/p5-LWP-Protocol-https
 
-USES=		perl5
+USES=		perl5 ssl
 PERL_CONFIGURE=	yes
 USE_PERL5=	configure
-USE_OPENSSL=	yes
 CONFIGURE_ARGS=	--no-live-tests
 
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list