Index: head/dns/powerdns/Makefile =================================================================== --- head/dns/powerdns/Makefile (revision 389280) +++ head/dns/powerdns/Makefile (revision 389281) @@ -1,172 +1,173 @@ # $FreeBSD$ PORTNAME= powerdns PORTVERSION= 3.4.4 +PORTREVISION= 1 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS server with multiple backends including SQL LICENSE= GPLv2 LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs CONFLICTS= powerdns-devel-[2-3].[0-9]* USES= gmake libtool lua pkgconfig tar:bzip2 USE_LDCONFIG= YES USE_SUBMAKE= YES GNU_CONFIGURE= YES INSTALL_TARGET= install-strip CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" CONFIGURE_ARGS= --disable-static \ --with-modules="" \ --with-dynmodules="pipe bind ${MODULES}" \ --docdir="${PREFIX}/share/doc/powerdns" \ --sysconfdir="${PREFIX}/etc/pdns" \ --with-boost="${LOCALBASE}" SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ CURDIR2="${.CURDIR}" \ MKDIR="${MKDIR}" \ DISTNAME="${DISTNAME}" \ POWERDNS_OPTIONS="${POWERDNS_OPTIONS}" SUB_FILES= pkg-message USE_RC_SUBR= pdns OPTIONS_DEFINE= GEO GEOIP LMDB MYSQL OPENDBX OPENLDAP PGSQL POLARSSL REMOTE SQLITE3 TOOLS OPTIONS_GROUP= DNSSEC EXPERIMENTAL REMOTEOPT OPTIONS_GROUP_DNSSEC= BOTAN110 OPTIONS_GROUP_EXPERIMENTAL= LUA MYDNS TINYDNS OPTIONS_GROUP_REMOTEOPT= ZEROMQ PGSQL_DESC= PostgreSQL backend MYSQL_DESC= MySQL backend OPENDBX_DESC= OpenDBX backend OPENLDAP_DESC= OpenLDAP backend SQLITE3_DESC= SQLite 3 backend GEO_DESC= Geo backend GEOIP_DESC= GeoIP backend DNSSEC_DESC= Extra DNSSEC options BOTAN110_DESC= Faster signing + ECDSA & GOST algorithms POLARSSL_DESC= Use embedded PolarSSL LMDB_DESC= LMDB backend LUA_DESC= Lua backend MYDNS_DESC= MyDNS backend REMOTE_DESC= Remote backend TINYDNS_DESC= TinyDNS backend TOOLS_DESC= Build extra tools REMOTEOPT_DESC= Remote backend connectors ZEROMQ_DESC= Enable ZeroMQ connector OPTIONS_DEFAULT= PGSQL DNSSEC BOTAN110 POLARSSL OPTIONS_SUB= yes # Don't use CONFIGURE_ENABLE, the configure script # has a bug. The options are being enabled even using --disable- TOOLS_CONFIGURE_ON= --enable-tools PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql PGSQL_USES= pgsql MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_USE= MYSQL=YES MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE} MYDNS_USE= MYSQL=YES OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 OPENLDAP_USE= OPENLDAP=YES SQLITE3_USE= SQLITE=3 OPENDBX_LIB_DEPENDS= libopendbx.so:${PORTSDIR}/databases/opendbx BOTAN110_CONFIGURE_ON= --enable-botan1.10 BOTAN110_LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR}/security/botan110 TINYDNS_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb TINYDNS_CONFIGURE_ON= CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include" LMDB_LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb GEOIP_LIB_DEPENDS= libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp \ libGeoIP.so:${PORTSDIR}/net/GeoIP .include .if ${PORT_OPTIONS:MGEO} MODULES+= geo .endif .if ${PORT_OPTIONS:MGEOIP} MODULES+= geoip .endif .if ${PORT_OPTIONS:MPGSQL} MODULES+= gpgsql .endif .if ${PORT_OPTIONS:MMYSQL} MODULES+= gmysql .endif .if ${PORT_OPTIONS:MOPENLDAP} MODULES+= ldap .endif .if ${PORT_OPTIONS:MSQLITE3} MODULES+= gsqlite3 .endif .if ${PORT_OPTIONS:MLMDB} MODULES+= lmdb .endif .if ${PORT_OPTIONS:MLUA} MODULES+= lua .endif .if ${PORT_OPTIONS:MMYDNS} MODULES+= mydns .endif .if ${PORT_OPTIONS:MREMOTE} MODULES+= remote . if ${PORT_OPTIONS:MZEROMQ} CONFIGURE_ARGS+= --enable-remotebackend-zeromq LIB_DEPENDS+= libzmq.so:${PORTSDIR}/net/libzmq4 . endif .endif .if ${PORT_OPTIONS:MTINYDNS} MODULES+= tinydns .endif .if ${PORT_OPTIONS:MOPENDBX} MODULES+= opendbx .endif .if ${PORT_OPTIONS:MPOLARSSL} CONFIGURE_ARGS+= --without-system-polarssl .else -LIB_DEPENDS+= libpolarssl.so.8:${PORTSDIR}/security/polarssl13 +LIB_DEPENDS+= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 .endif post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in pdns.conf ${INSTALL_DATA} ${FILESDIR}/$i ${STAGEDIR}${EXAMPLESDIR}/ .endfor .include Index: head/ftp/curl/Makefile =================================================================== --- head/ftp/curl/Makefile (revision 389280) +++ head/ftp/curl/Makefile (revision 389281) @@ -1,201 +1,202 @@ # Created by: Neil Blakey-Milner # $FreeBSD$ PORTNAME= curl PORTVERSION= 7.42.1 +PORTREVISION= 1 CATEGORIES= ftp www MASTER_SITES= http://curl.haxx.se/download/ \ LOCAL/sunpoet MAINTAINER?= sunpoet@FreeBSD.org COMMENT?= Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers LICENSE= MIT OPTIONS_DEFINE= CA_BUNDLE COOKIES CURL_DEBUG DEBUG DOCS EXAMPLES HTTP2 IDN IPV6 LDAP LDAPS LIBSSH2 PROXY RTMP TLS_SRP OPTIONS_RADIO= RESOLV SSL OPTIONS_SINGLE= GSSAPI OPTIONS_RADIO_RESOLV= CARES THREADED_RESOLVER OPTIONS_RADIO_SSL= GNUTLS NSS OPENSSL POLARSSL WOLFSSL OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= CA_BUNDLE COOKIES GSSAPI_BASE IPV6 OPENSSL PROXY RESOLV THREADED_RESOLVER TLS_SRP CA_BUNDLE_DESC= Install CA bundle for OpenSSL COOKIES_DESC= Cookies support CURL_DEBUG_DESC= cURL debug memory tracking GSSAPI_BASE_DESC= GSSAPI support via base system (Kerberos required) GSSAPI_HEIMDAL_DESC= GSSAPI support via security/heimdal GSSAPI_MIT_DESC= GSSAPI support via security/krb5 GSSAPI_NONE_DESC= Disable GSSAPI support LIBSSH2_DESC= SCP/SFTP support via libssh2 RESOLV_DESC= DNS resolving options THREADED_RESOLVER_DESC= Threaded DNS resolver TLS_SRP_DESC= TLS-SRP (Secure Remote Password) support CONFIGURE_ARGS+=--disable-werror \ --enable-imap --enable-pop3 --enable-rtsp --enable-smtp \ --without-axtls CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \ ac_cv_func_SSLv2_client_method=no GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_PERL5= build USES= libtool pathfix perl5 tar:lzma .if !defined(BUILDING_HIPHOP) USE_LDCONFIG= yes USES+= cpe PORTDOCS= * PORTEXAMPLES= * CPE_VENDOR= haxx DOCS= BINDINGS BUGS CONTRIBUTE DISTRO-DILEMMA FAQ FEATURES HISTORY \ HTTP-COOKIES INSTALL INSTALL.devcpp INTERNALS KNOWN_BUGS \ LIBCURL-STRUCTS LICENSE-MIXING MAIL-ETIQUETTE MANUAL \ README.netware README.win32 RELEASE-PROCEDURE RESOURCES \ SECURITY SSL-PROBLEMS SSLCERTS THANKS TODO \ TheArtOfHttpScripting VERSIONS curl-config.html \ curl-config.pdf curl.html curl.pdf index.html \ mk-ca-bundle.html mk-ca-bundle.pdf .endif SLAVEDIRS= ftp/curl-hiphop CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss CARES_CONFIGURE_OFF= --disable-ares CARES_CONFIGURE_ON= --enable-ares=${LOCALBASE} CARES_LIB_DEPENDS= libcares.so:${PORTSDIR}/dns/c-ares COOKIES_CONFIGURE_OFF= --disable-cookies COOKIES_CONFIGURE_ON= --enable-cookies CURL_DEBUG_CONFIGURE_OFF= --disable-curldebug CURL_DEBUG_CONFIGURE_ON=--enable-curldebug DEBUG_CONFIGURE_OFF= --disable-debug DEBUG_CONFIGURE_ON= --enable-debug GNUTLS_CONFIGURE_OFF= --without-gnutls GNUTLS_CONFIGURE_ON= --with-gnutls=${LOCALBASE} GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls GSSAPI_BASE_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_BASE_CPPFLAGS= ${GSSAPICPPFLAGS} GSSAPI_BASE_LDFLAGS= ${GSSAPILDFLAGS} GSSAPI_BASE_LIBS= ${GSSAPILIBS} GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_HEIMDAL_CPPFLAGS=${GSSAPICPPFLAGS} GSSAPI_HEIMDAL_LDFLAGS= ${GSSAPILDFLAGS} GSSAPI_HEIMDAL_LIBS= ${GSSAPILIBS} GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_CONFIGURE_ON= --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_CPPFLAGS= ${GSSAPICPPFLAGS} GSSAPI_MIT_LDFLAGS= ${GSSAPILDFLAGS} GSSAPI_MIT_LIBS= ${GSSAPILIBS} GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CONFIGURE_ON= --without-gssapi HTTP2_BUILD_DEPENDS= nghttp2>=0.6.0:${PORTSDIR}/www/nghttp2 HTTP2_CONFIGURE_OFF= --without-nghttp2 HTTP2_CONFIGURE_ON= --with-nghttp2=${LOCALBASE} HTTP2_LIB_DEPENDS= libnghttp2.so:${PORTSDIR}/www/nghttp2 HTTP2_RUN_DEPENDS= nghttp2>=0.6.0:${PORTSDIR}/www/nghttp2 HTTP2_USES= pkgconfig IDN_CONFIGURE_OFF= --without-libidn IDN_CONFIGURE_ON= --with-libidn=${LOCALBASE} IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn IPV6_CATEGORIES= ipv6 IPV6_CONFIGURE_OFF= --disable-ipv6 IPV6_CONFIGURE_ON= --enable-ipv6 LDAP_CONFIGURE_OFF= --disable-ldap LDAP_CONFIGURE_ON= --enable-ldap LDAP_CPPFLAGS= -I${LOCALBASE}/include LDAP_LDFLAGS= -L${LOCALBASE}/lib LDAP_USE= OPENLDAP=yes LDAPS_CONFIGURE_OFF= --disable-ldaps LDAPS_CONFIGURE_ON= --enable-ldaps LIBSSH2_CONFIGURE_OFF= --without-libssh2 LIBSSH2_CONFIGURE_ON= --with-libssh2=${LOCALBASE} LIBSSH2_LIB_DEPENDS= libssh2.so:${PORTSDIR}/security/libssh2 NSS_CONFIGURE_OFF= --without-nss NSS_CONFIGURE_ON= --with-nss=yes NSS_LIB_DEPENDS= libnss3.so:${PORTSDIR}/security/nss NSS_USES= pkgconfig OPENSSL_CONFIGURE_OFF= --without-ssl OPENSSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE} OPENSSL_CPPFLAGS= -I${OPENSSLINC} OPENSSL_LDFLAGS= -L${OPENSSLLIB} OPENSSL_USE= OPENSSL=yes POLARSSL_CONFIGURE_OFF= --without-polarssl POLARSSL_CONFIGURE_ON= --with-polarssl=${LOCALBASE} -POLARSSL_LIB_DEPENDS= libpolarssl.so.8:${PORTSDIR}/security/polarssl13 +POLARSSL_LIB_DEPENDS= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 PROXY_CONFIGURE_OFF= --disable-proxy PROXY_CONFIGURE_ON= --enable-proxy RTMP_CONFIGURE_OFF= --without-librtmp RTMP_CONFIGURE_ON= --with-librtmp=${LOCALBASE} RTMP_LIB_DEPENDS= librtmp.so:${PORTSDIR}/multimedia/librtmp THREADED_RESOLVER_CONFIGURE_OFF=--disable-threaded-resolver THREADED_RESOLVER_CONFIGURE_ON= --enable-threaded-resolver TLS_SRP_CONFIGURE_OFF= --disable-tls-srp TLS_SRP_CONFIGURE_ON= --enable-tls-srp WOLFSSL_CONFIGURE_OFF= --without-cyassl WOLFSSL_CONFIGURE_ON= --with-cyassl=${LOCALBASE} WOLFSSL_LIB_DEPENDS= libwolfssl.so:${PORTSDIR}/security/wolfssl .include .if ${PORT_OPTIONS:MCA_BUNDLE} && !${PORT_OPTIONS:MOPENSSL} IGNORE= only supports CA bundle with OpenSSL .endif .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MTLS_SRP} IGNORE= only supports TLS-SRP with either OpenSSL or GnuTLS .endif .if !${PORT_OPTIONS:MLDAP} && ${PORT_OPTIONS:MLDAPS} IGNORE= only supports LDAPS with LDAP .endif .if ${PORT_OPTIONS:MLDAPS} && !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MNSS} && !${PORT_OPTIONS:MOPENSSL} && !${PORT_OPTIONS:MPOLARSSL} && !${PORT_OPTIONS:MWOLFSSL} IGNORE= only supports LDAPS with SSL .endif .if ${PORT_OPTIONS:MLIBSSH2} && !${PORT_OPTIONS:MOPENSSL} IGNORE= only supports LIBSSH2 with OpenSSL .endif .if ${PORT_OPTIONS:MOPENSSL} && defined(OPENSSL_PORT) && ${OPENSSL_PORT} == "security/libressl" .if ${PORT_OPTIONS:MGSSAPI_BASE} IGNORE= with GSSAPI_BASE, configure failed to detect OpenSSL/LibreSSL from ports and link against base OpenSSL .endif .if ${PORT_OPTIONS:MTLS_SRP} IGNORE= unsupported TLS-SRP in LibreSSL .endif .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS = / s|$$| docs|; /^DIST_SUBDIRS = / s| docs||; /cd docs &&/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\(flags_dbg_off=\)".*"|\1""|; s|\(flags_opt_off=\)".*"|\1""|; s|lib/pkgconfig|libdata/pkgconfig|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|include |include |' ${WRKSRC}/lib/curl_gssapi.h ${WRKSRC}/lib/urldata.h @${REINPLACE_CMD} -e 's|gss_nt_service_name|GSS_C_NT_HOSTBASED_SERVICE|' ${WRKSRC}/lib/curl_sasl_gssapi.c post-install: .if !defined(BUILDING_HIPHOP) ${LN} -s libcurl.so.4 ${STAGEDIR}${PREFIX}/lib/libcurl.so.7 ${INSTALL_DATA} ${WRKSRC}/docs/libcurl/libcurl.m4 ${STAGEDIR}${PREFIX}/share/aclocal/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${DOCSDIR}/libcurl/ cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/docs/libcurl/ && ${INSTALL_DATA} ABI *.html *.pdf *.m4 ${STAGEDIR}${DOCSDIR}/libcurl/ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ cd ${WRKSRC}/docs/examples/ && ${INSTALL_DATA} README Makefile.example makefile* *.c *.cpp ${STAGEDIR}${EXAMPLESDIR}/ .endif regression-test test: build .if !${PORT_OPTIONS:MPROXY} @${ECHO_MSG} "******************************************" @${ECHO_MSG} "* You have disabled curl proxy support. *" @${ECHO_MSG} "* Some tests SHALL FAIL! *" @${ECHO_MSG} "* This is being addressed. *" @${ECHO_MSG} "******************************************" .endif cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} LC_ALL=C ${MAKE_CMD} test .include Index: head/net/belle-sip/Makefile =================================================================== --- head/net/belle-sip/Makefile (revision 389280) +++ head/net/belle-sip/Makefile (revision 389281) @@ -1,45 +1,46 @@ # $FreeBSD$ PORTNAME= belle-sip PORTVERSION= 1.4.1 +PORTREVISION= 1 CATEGORIES= net java MASTER_SITES= SAVANNAH/linphone/${PORTNAME}/ \ http://www.antlr3.org/download/:source2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ antlr-3.4-complete.jar:source2 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Belle-sip is a SIP (RFC3261) implementation written in C LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libantlr3c.so:${PORTSDIR}/devel/libantlr3c GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-silent-rules --disable-strict --disable-tests \ --with-antlr=${LOCALBASE} INSTALL_TARGET= install-strip USES= compiler:c11 gmake libtool pathfix USE_JAVA= yes JAVA_BUILD= jre JAVA_VERSION= 1.6+ USE_LDCONFIG= yes OPTIONS_DEFINE= POLARSSL OPTIONS_DEFAULT=POLARSSL POLARSSL_CONFIGURE_ENABLE= tls -POLARSSL_LIB_DEPENDS= libpolarssl.so.8:${PORTSDIR}/security/polarssl13 +POLARSSL_LIB_DEPENDS= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 post-extract: @${CP} ${DISTDIR}/antlr-3.4-complete.jar ${WRKDIR}/antlr-complete.jar post-patch: @${REINPLACE_CMD} -e 's|%%WRKDIR%%|${WRKDIR}|' -e 's|-lrt||' \ ${WRKSRC}/configure .include Index: head/net/mediastreamer/Makefile =================================================================== --- head/net/mediastreamer/Makefile (revision 389280) +++ head/net/mediastreamer/Makefile (revision 389281) @@ -1,107 +1,107 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= mediastreamer PORTVERSION= 2.11.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= SAVANNAH/linphone/mediastreamer MAINTAINER= tijl@FreeBSD.org COMMENT= Real-time audio and video streaming and processing LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libortp.so:${PORTSDIR}/net/ortp \ libsrtp.so:${PORTSDIR}/net/libsrtp \ libbzrtp.so:${PORTSDIR}/security/libbzrtp \ - libpolarssl.so.8:${PORTSDIR}/security/polarssl13 + libmbedtls.so.9:${PORTSDIR}/security/polarssl13 CONFLICTS_INSTALL= linphone-base-[0-9]* GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa --disable-matroska --disable-pulseaudio \ --disable-silent-rules --disable-strict \ --with-gsm=${LOCALBASE} --with-srtp=${LOCALBASE} \ --with-polarssl=${LOCALBASE} xxd_found=yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_ARC4RANDOM LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= gettext-tools gmake libtool pathfix pkgconfig USE_GNOME= intlhack USE_LDCONFIG= yes OPTIONS_DEFINE= NLS UPNP VIDEO OPTIONS_GROUP= AUDIOOPT VIDEOOPT OPTIONS_GROUP_AUDIOOPT= GSM OPUS SPANDSP SPEEX OPTIONS_GROUP_VIDEOOPT= FFMPEG GLX THEORA V4L VPX XVIDEO OPTIONS_DEFAULT= UPNP VIDEO \ GSM OPUS SPANDSP SPEEX \ FFMPEG GLX THEORA V4L VPX XVIDEO OPTIONS_SUB= yes AUDIOOPT_DESC= Audio options FFMPEG_CONFIGURE_ENABLE=ffmpeg FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg GLX_CONFIGURE_ENABLE= glx GLX_USE= GL=glew GSM_CONFIGURE_ENABLE= gsm GSM_LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime OPUS_CONFIGURE_ENABLE= opus OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus SPANDSP_CONFIGURE_ENABLE= spandsp SPANDSP_LIB_DEPENDS= libspandsp.so:${PORTSDIR}/comms/spandsp SPEEX_CONFIGURE_ENABLE= speex SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex THEORA_CONFIGURE_ENABLE=theora THEORA_LIB_DEPENDS= libtheora.so:${PORTSDIR}/multimedia/libtheora UPNP_CONFIGURE_ENABLE= upnp UPNP_LIB_DEPENDS= libupnp.so:${PORTSDIR}/devel/upnp V4L_CONFIGURE_ENABLE= libv4l1 libv4l2 V4L_CONFIGURE_OFF= ac_cv_header_linux_videodev_h=no \ ac_cv_header_linux_videodev2_h=no V4L_BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l VIDEOOPT_DESC= Video options VIDEO_CONFIGURE_ENABLE= video VPX_CONFIGURE_ENABLE= vp8 VPX_LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx XVIDEO_CONFIGURE_ENABLE=x11 xv XVIDEO_USE= XORG=videoproto,x11,xv .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) CONFIGURE_ARGS+=--enable-debug .endif post-patch: @${REINPLACE_CMD} 's,gsm/gsm\.h,gsm.h,' \ ${WRKSRC}/configure ${WRKSRC}/src/audiofilters/gsm.c pre-build: # Transform file to C array (similar to xxd -i from editors/vim) .for i in yuv2rgb.fs yuv2rgb.vs (cd ${WRKSRC}/src && { \ ${ECHO_CMD} 'unsigned char ${i:S/./_/}[] = {' && \ /usr/bin/hexdump -v -e '" " 12/1 " 0x%02x," "\n" \ " 0x00 };\nunsigned int ${i:S/./_/}_len = %_Ad;"' ${i} | \ ${SED} 's/ 0x ,//g' ; } > ${i}.h) .endfor .include Index: head/security/libbzrtp/Makefile =================================================================== --- head/security/libbzrtp/Makefile (revision 389280) +++ head/security/libbzrtp/Makefile (revision 389281) @@ -1,25 +1,26 @@ # $FreeBSD$ PORTNAME= libbzrtp PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SAVANNAH/linphone/bzrtp DISTNAME= bzrtp-${DISTVERSION} MAINTAINER= tijl@FreeBSD.org COMMENT= ZRTP support library (RFC 6189) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpolarssl.so.8:${PORTSDIR}/security/polarssl13 +LIB_DEPENDS= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules --disable-strict \ --with-polarssl=${LOCALBASE} INSTALL_TARGET= install-strip USES= libtool pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes .include Index: head/security/openvpn-devel/Makefile =================================================================== --- head/security/openvpn-devel/Makefile (revision 389280) +++ head/security/openvpn-devel/Makefile (revision 389281) @@ -1,116 +1,117 @@ # Created by: Eric F Crist # $FreeBSD$ PORTNAME= openvpn DISTVERSION= 201516 +PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ \ ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ PKGNAMESUFFIX= -devel MAINTAINER= ecrist@secure-computing.net COMMENT= Secure IP/Ethernet tunnel daemon LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX} CONFLICTS_INSTALL= openvpn-[0-9]* openvpn-beta-[0-9]* GNU_CONFIGURE= yes USES= libtool pkgconfig shebangfix tar:xz SHEBANG_FILES= sample/sample-scripts/verify-cn \ sample/sample-scripts/auth-pam.pl \ sample/sample-scripts/ucn.pl # let OpenVPN's configure script pick up the requisite libraries: CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= PW_SAVE PKCS11 EASYRSA LZO SNAPPY DOCS EXAMPLES OPTIONS_DEFAULT= EASYRSA OPENSSL LZO SNAPPY OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL POLARSSL PW_SAVE_DESC= Interactive passwords may be read from a file SNAPPY_DESC= Enable the Snappy compression library LZO_DESC= Enable the LZO compression library PKCS11_DESC= Use security/pkcs11-helper 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 PKCS11_LIB_DEPENDS= libpkcs11-helper.so:${PORTSDIR}/security/pkcs11-helper PKCS11_CONFIGURE_ENABLE= pkcs11 PW_SAVE_CONFIGURE_ENABLE= password-save .include .if ${PORT_OPTIONS:MPOLARSSL} -LIB_DEPENDS+= libpolarssl.so.8:${PORTSDIR}/security/polarssl13 +LIB_DEPENDS+= libmbedtls.so.9:${PORTSDIR}/security/polarssl13 CONFIGURE_ARGS+=--with-crypto-library=polarssl .else USE_OPENSSL= yes CONFIGURE_ARGS+=--with-crypto-library=openssl .endif USE_RC_SUBR= openvpn USE_LDCONFIG= ${PREFIX}/lib SUB_FILES= pkg-message .ifdef (LOG_OPENVPN) CFLAGS+= -DLOG_OPENVPN=${LOG_OPENVPN} .endif .if ${PORT_OPTIONS:MLZO} LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 .else CONFIGURE_ARGS+=--disable-lzo .endif .if ${PORT_OPTIONS:MSNAPPY} LIB_DEPENDS+= libsnappy.so:${PORTSDIR}/archivers/snappy .else CONFIGURE_ARGS+=--disable-snappy .endif PORTDOCS= * PORTEXAMPLES= * pre-configure: .ifdef (LOG_OPENVPN) @${ECHO} "Building with LOG_OPENVPN=${LOG_OPENVPN}" .else @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" @${ECHO} " LOG_OPENVPN={Valid syslog facility, default LOG_DAEMON}" @${ECHO} " EXAMPLE: make LOG_OPENVPN=LOG_LOCAL6" @${ECHO} "" .endif post-build: @# self-tests here .if !defined(WITHOUT_CHECK) @${ECHO} ; ${ECHO} "### Note that you can skip these lengthy selftests with WITHOUT_CHECK=yes ###" ; ${ECHO} cd ${WRKSRC} && ${DO_MAKE_BUILD} check .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so ${MKDIR} ${STAGEDIR}${PREFIX}/include .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for i in AUTHORS ChangeLog PORTS ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} (cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/) ${CHMOD} ${BINMODE} ${STAGEDIR}${EXAMPLESDIR}/sample-scripts/* .endif .include Index: head/security/polarssl13/files/patch-include_polarssl_config.h =================================================================== --- head/security/polarssl13/files/patch-include_polarssl_config.h (revision 389280) +++ head/security/polarssl13/files/patch-include_polarssl_config.h (nonexistent) @@ -1,9 +0,0 @@ ---- include/polarssl/config.h.bak 2014-04-11 22:33:59.000000000 +0900 -+++ include/polarssl/config.h 2014-04-30 17:36:41.000000000 +0900 -@@ -2383,4 +2383,6 @@ - #error "POLARSSL_X509_CSR_WRITE_C defined, but not all prerequisites" - #endif - -+#define SHOW_PROTOTYPE_CHANGE_WARNINGS -+ - #endif /* config.h */ Property changes on: head/security/polarssl13/files/patch-include_polarssl_config.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/polarssl13/files/patch-library-Makefile =================================================================== --- head/security/polarssl13/files/patch-library-Makefile (revision 389280) +++ head/security/polarssl13/files/patch-library-Makefile (nonexistent) @@ -1,24 +0,0 @@ ---- library/Makefile.orig 2015-02-11 01:00:42.000000000 +0900 -+++ library/Makefile 2015-02-18 12:47:25.000000000 +0900 -@@ -18,9 +18,7 @@ - # CFLAGS += -D_BSD_EXTENSION - - # To compile as a shared library: --ifdef SHARED - CFLAGS += -fPIC --endif - - SONAME=libmbedtls.so.8 - -@@ -65,11 +63,7 @@ - - .SILENT: - --ifndef SHARED --all: static --else - all: shared static --endif - - static: libpolarssl.a - Property changes on: head/security/polarssl13/files/patch-library-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/polarssl13/files/patch-include-polarssl-config_h =================================================================== --- head/security/polarssl13/files/patch-include-polarssl-config_h (revision 389280) +++ head/security/polarssl13/files/patch-include-polarssl-config_h (nonexistent) @@ -1,11 +0,0 @@ ---- include/polarssl/config.h.old 2014-11-28 15:57:37.000000000 +0000 -+++ include/polarssl/config.h 2014-11-28 16:00:32.000000000 +0000 -@@ -1518,7 +1518,7 @@ - * - * Uncomment to enable the HAVEGE random generator. - */ --//#define POLARSSL_HAVEGE_C -+#define POLARSSL_HAVEGE_C - - /** - * \def POLARSSL_HMAC_DRBG_C Property changes on: head/security/polarssl13/files/patch-include-polarssl-config_h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/security/polarssl13/Makefile =================================================================== --- head/security/polarssl13/Makefile (revision 389280) +++ head/security/polarssl13/Makefile (revision 389281) @@ -1,61 +1,36 @@ # $FreeBSD$ PORTNAME= polarssl -PORTVERSION= 1.3.10 +PORTVERSION= 1.3.11 DISTVERSIONSUFFIX= -gpl -#PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= https://polarssl.org/download/ PKGNAMESUFFIX= 13 DISTNAME= mbedtls-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org -COMMENT= Open Source embedded SSL/TLS cryptographic library +COMMENT= SSL/TLS and cryptography library LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE ALL_TARGET= no_test - +MAKE_ENV= SHARED=1 USES= cpe gmake tar:tgz USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/mbedtls-${PORTVERSION} CONFLICTS= polarssl-[0-9]* -DOCFILES= ChangeLog README.rst LICENSE -BINFILES= aescrypt2 benchmark dh_client dh_genprime dh_server hello \ - md5sum mpi_demo rsa_genkey rsa_sign rsa_verify selftest \ - sha1sum sha2sum ssl_cert_test ssl_client1 ssl_client2 \ - ssl_server ssl_test +post-patch: + @${REINPLACE_CMD} \ + -e 's/PREFIX/NAMEPREFIX/' \ + -e 's/$$(DESTDIR)/&$$(PREFIX)/' \ + ${WRKSRC}/Makefile -# cmake install is broken, so we do it by hand -do-install: - @cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include "! -name *.orig" - ${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.a ${STAGEDIR}${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/library/libpolarssl.so ${STAGEDIR}${PREFIX}/lib/libpolarssl.so.8 - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpolarssl.so.8 - (cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -sf libpolarssl.so.8 libpolarssl.so) - (cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -sf libpolarssl.so.8 libmbedtls.so.8) - (cd ${STAGEDIR}${PREFIX}/lib/ && ${LN} -sf libmbedtls.so.8 libmbedtls.so) -.for i in ${BINFILES} - ${INSTALL_PROGRAM} ${WRKSRC}/programs/*/${i} ${STAGEDIR}${PREFIX}/bin/polarssl_${i} -.endfor - -OPTIONS_DEFINE= DOCS - -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${DOCFILES} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor -.endif - -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif + ${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f | \ + ${XARGS} ${STRIP_CMD} .include Index: head/security/polarssl13/distinfo =================================================================== --- head/security/polarssl13/distinfo (revision 389280) +++ head/security/polarssl13/distinfo (revision 389281) @@ -1,2 +1,2 @@ -SHA256 (mbedtls-1.3.10-gpl.tgz) = 746fd88e0c6623691fc56c4eed52e40a57b2da0ac80f6dd8995094aa6adb407e -SIZE (mbedtls-1.3.10-gpl.tgz) = 1709888 +SHA256 (mbedtls-1.3.11-gpl.tgz) = 67a593027b6a442a4fa5b6c224c4ac8cdae5be721f5a28a11d34f10dcda441cb +SIZE (mbedtls-1.3.11-gpl.tgz) = 1731809 Index: head/security/polarssl13/pkg-descr =================================================================== --- head/security/polarssl13/pkg-descr (revision 389280) +++ head/security/polarssl13/pkg-descr (revision 389281) @@ -1,21 +1,4 @@ -PolarSSL is a light-weight open source cryptographic and SSL/TLS library -written in C. PolarSSL is written with embedded systems in mind and has -been ported on a number of architectures, including ARM, PowerPC, MIPS -and Motorola 68000. +mbed TLS is a lightweight, portable, fully featured and standards compliant +SSL/TLS and cryptography library. -Features include: - * Small memory footprint - * Clean and simple API for integration - * Loose coupling of cryptographic code. - * Symmetric encryption algorithms: AES, Triple-DES, DES, ARC4, Camellia, XTEA - * Hash algorithms: MD2, MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 - * HAVEGE random number generator - * RSA with PKCS#1 v1.5 padding - * SSL version 3 and TLS version 1 client support - * X.509 certificate and CRL reading from memory or disk in PEM and DER formats - * Over 900 regression and code coverage tests - * Example applications - -LICENSE: GPL2 - -WWW: http://polarssl.org/ +WWW: https://tls.mbed.org/ Index: head/security/polarssl13/pkg-plist =================================================================== --- head/security/polarssl13/pkg-plist (revision 389280) +++ head/security/polarssl13/pkg-plist (revision 389281) @@ -1,92 +1,158 @@ +bin/mbedtls_aescrypt2 +bin/mbedtls_benchmark +bin/mbedtls_cert_app +bin/mbedtls_cert_req +bin/mbedtls_crl_app +bin/mbedtls_crypt_and_hash +bin/mbedtls_dh_client +bin/mbedtls_dh_genprime +bin/mbedtls_dh_server +bin/mbedtls_gen_entropy +bin/mbedtls_gen_key +bin/mbedtls_gen_random_ctr_drbg +bin/mbedtls_gen_random_havege +bin/mbedtls_generic_sum +bin/mbedtls_hello +bin/mbedtls_key_app +bin/mbedtls_key_app_writer +bin/mbedtls_md5sum +bin/mbedtls_mini_client +bin/mbedtls_mpi_demo +bin/mbedtls_pem2der +bin/mbedtls_pk_decrypt +bin/mbedtls_pk_encrypt +bin/mbedtls_pk_sign +bin/mbedtls_pk_verify +bin/mbedtls_rsa_decrypt +bin/mbedtls_rsa_encrypt +bin/mbedtls_rsa_genkey +bin/mbedtls_rsa_sign +bin/mbedtls_rsa_sign_pss +bin/mbedtls_rsa_verify +bin/mbedtls_rsa_verify_pss +bin/mbedtls_selftest +bin/mbedtls_sha1sum +bin/mbedtls_sha2sum +bin/mbedtls_ssl_cert_test +bin/mbedtls_ssl_client1 +bin/mbedtls_ssl_client2 +bin/mbedtls_ssl_fork_server +bin/mbedtls_ssl_mail_client +bin/mbedtls_ssl_server +bin/mbedtls_ssl_server2 +bin/mbedtls_ssl_test +bin/mbedtls_strerror bin/polarssl_aescrypt2 bin/polarssl_benchmark +bin/polarssl_cert_app +bin/polarssl_cert_req +bin/polarssl_crl_app +bin/polarssl_crypt_and_hash bin/polarssl_dh_client bin/polarssl_dh_genprime bin/polarssl_dh_server +bin/polarssl_gen_entropy +bin/polarssl_gen_key +bin/polarssl_gen_random_ctr_drbg +bin/polarssl_gen_random_havege +bin/polarssl_generic_sum bin/polarssl_hello +bin/polarssl_key_app +bin/polarssl_key_app_writer bin/polarssl_md5sum +bin/polarssl_mini_client bin/polarssl_mpi_demo +bin/polarssl_pem2der +bin/polarssl_pk_decrypt +bin/polarssl_pk_encrypt +bin/polarssl_pk_sign +bin/polarssl_pk_verify +bin/polarssl_rsa_decrypt +bin/polarssl_rsa_encrypt bin/polarssl_rsa_genkey bin/polarssl_rsa_sign +bin/polarssl_rsa_sign_pss bin/polarssl_rsa_verify +bin/polarssl_rsa_verify_pss bin/polarssl_selftest bin/polarssl_sha1sum bin/polarssl_sha2sum bin/polarssl_ssl_cert_test bin/polarssl_ssl_client1 bin/polarssl_ssl_client2 +bin/polarssl_ssl_fork_server +bin/polarssl_ssl_mail_client bin/polarssl_ssl_server +bin/polarssl_ssl_server2 bin/polarssl_ssl_test +bin/polarssl_strerror include/polarssl/aes.h include/polarssl/aesni.h include/polarssl/arc4.h include/polarssl/asn1.h include/polarssl/asn1write.h include/polarssl/base64.h include/polarssl/bignum.h include/polarssl/blowfish.h include/polarssl/bn_mul.h include/polarssl/camellia.h include/polarssl/ccm.h include/polarssl/certs.h include/polarssl/check_config.h include/polarssl/cipher.h include/polarssl/cipher_wrap.h include/polarssl/compat-1.2.h include/polarssl/config.h include/polarssl/ctr_drbg.h include/polarssl/debug.h include/polarssl/des.h include/polarssl/dhm.h include/polarssl/ecdh.h include/polarssl/ecdsa.h include/polarssl/ecp.h include/polarssl/entropy.h include/polarssl/entropy_poll.h include/polarssl/error.h include/polarssl/gcm.h include/polarssl/havege.h include/polarssl/hmac_drbg.h include/polarssl/md.h include/polarssl/md2.h include/polarssl/md4.h include/polarssl/md5.h include/polarssl/md_wrap.h include/polarssl/memory.h include/polarssl/memory_buffer_alloc.h include/polarssl/net.h include/polarssl/oid.h include/polarssl/openssl.h include/polarssl/padlock.h include/polarssl/pbkdf2.h include/polarssl/pem.h include/polarssl/pk.h include/polarssl/pk_wrap.h include/polarssl/pkcs11.h include/polarssl/pkcs12.h include/polarssl/pkcs5.h include/polarssl/platform.h include/polarssl/ripemd160.h include/polarssl/rsa.h include/polarssl/sha1.h include/polarssl/sha256.h include/polarssl/sha512.h include/polarssl/ssl.h include/polarssl/ssl_cache.h include/polarssl/ssl_ciphersuites.h include/polarssl/threading.h include/polarssl/timing.h include/polarssl/version.h include/polarssl/x509.h include/polarssl/x509_crl.h include/polarssl/x509_crt.h include/polarssl/x509_csr.h include/polarssl/xtea.h +lib/libmbedtls.a +lib/libmbedtls.so +lib/libmbedtls.so.9 lib/libpolarssl.a lib/libpolarssl.so -lib/libpolarssl.so.8 -lib/libmbedtls.so -lib/libmbedtls.so.8 -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README.rst -%%PORTDOCS%%%%DOCSDIR%%/LICENSE