aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-03-15 14:45:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-03-15 14:45:30 +0000
commita28f0f7f7f7687e6ab6ebc4b3313f96232c00aa0 (patch)
treebaf6ab0b133f634d778359bdbf4c920166db5b76
parentc285e43283c14c5abf4dc12cfdf0793f4ca0d130 (diff)
downloadports-a28f0f7f7f7687e6ab6ebc4b3313f96232c00aa0.tar.gz
ports-a28f0f7f7f7687e6ab6ebc4b3313f96232c00aa0.zip
Remove all USE_OPENSSL occurrences.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=436247
-rw-r--r--archivers/py-attic/Makefile3
-rw-r--r--audio/baresip/Makefile3
-rw-r--r--audio/libshairport/Makefile3
-rw-r--r--audio/rem/Makefile3
-rw-r--r--audio/shairport/Makefile3
-rw-r--r--audio/umurmur/Makefile3
-rw-r--r--benchmarks/httperf/Makefile3
-rw-r--r--benchmarks/siege/Makefile3
-rw-r--r--comms/conserver-com/Makefile2
-rw-r--r--databases/galera/Makefile3
-rw-r--r--databases/libdrizzle-redux/Makefile3
-rw-r--r--databases/mongodb/Makefile2
-rw-r--r--databases/pgbouncer/Makefile3
-rw-r--r--databases/pgpool-II/Makefile10
-rw-r--r--databases/virtuoso/Makefile3
-rw-r--r--deskutils/growl-for-linux/Makefile3
-rw-r--r--deskutils/qtm/Makefile3
-rw-r--r--devel/dcmtk/Makefile3
-rw-r--r--devel/gdcm/Makefile3
-rw-r--r--devel/gnome-vfs/Makefile3
-rw-r--r--devel/libepp-nicbr/Makefile2
-rw-r--r--devel/libewf/Makefile3
-rw-r--r--devel/libgit2/Makefile3
-rw-r--r--devel/libiqxmlrpc/Makefile3
-rw-r--r--devel/libmowgli2/Makefile3
-rw-r--r--devel/libsmraw/Makefile3
-rw-r--r--devel/mico/Makefile3
-rw-r--r--devel/omniORB-4.1/Makefile3
-rw-r--r--devel/omniORB/Makefile3
-rw-r--r--devel/pecl-event/Makefile3
-rw-r--r--devel/poco-ssl/Makefile3
-rw-r--r--devel/pwlib/Makefile3
-rw-r--r--devel/py-omniorb-3/Makefile3
-rw-r--r--devel/py-omniorb/Makefile3
-rw-r--r--devel/subcommander2/Makefile3
-rw-r--r--devel/tcltls/Makefile3
-rw-r--r--devel/uatraits/Makefile3
-rw-r--r--devel/ucommon/Makefile3
-rw-r--r--devel/xmltooling/Makefile3
-rw-r--r--dns/bundy/Makefile4
-rw-r--r--dns/credns/Makefile2
-rw-r--r--dns/mydns/Makefile2
-rw-r--r--dns/samba-nsupdate/Makefile2
-rw-r--r--dns/validns/Makefile2
-rw-r--r--finance/vanitygen/Makefile3
-rw-r--r--ftp/bsdftpd-ssl/Makefile2
-rw-r--r--ftp/gftp/Makefile3
-rw-r--r--ftp/pavuk/Makefile3
-rw-r--r--ftp/proftpd/Makefile2
-rw-r--r--ftp/tnftp/Makefile3
-rw-r--r--ftp/urlgfe/Makefile3
-rw-r--r--ftp/wget/Makefile2
-rw-r--r--ftp/yafc/Makefile3
-rw-r--r--games/gtkevemon/Makefile3
-rw-r--r--games/ldmud/Makefile3
-rw-r--r--games/macopix/Makefile2
-rw-r--r--graphics/zathura-cb/Makefile3
-rw-r--r--graphics/zathura-ps/Makefile3
-rw-r--r--irc/eggdrop-devel/Makefile3
-rw-r--r--irc/epic4/Makefile3
-rw-r--r--irc/psybnc/Makefile3
-rw-r--r--irc/xaric/Makefile3
-rw-r--r--lang/erlang-riak/Makefile3
-rw-r--r--lang/mosh/Makefile3
-rw-r--r--lang/php56/Makefile.ext8
-rw-r--r--lang/php70/Makefile.ext8
-rw-r--r--lang/php71/Makefile.ext8
-rw-r--r--lang/qore/Makefile3
-rw-r--r--lang/rubinius/Makefile3
-rw-r--r--lang/ruby21/Makefile3
-rw-r--r--lang/urweb/Makefile4
-rw-r--r--mail/akpop3d/Makefile2
-rw-r--r--mail/balsa/Makefile3
-rw-r--r--mail/batv-milter/Makefile3
-rw-r--r--mail/courier/Makefile3
-rw-r--r--mail/cyrus-imapd23/Makefile3
-rw-r--r--mail/cyrus-imapd24/Makefile3
-rw-r--r--mail/dbmail22/Makefile3
-rw-r--r--mail/dma/Makefile3
-rw-r--r--mail/enma/Makefile3
-rw-r--r--mail/esmtp/Makefile3
-rw-r--r--mail/fetchmail/Makefile3
-rw-r--r--mail/filtermail/Makefile3
-rw-r--r--mail/gbuffy/Makefile2
-rw-r--r--mail/imap-uw/Makefile2
-rw-r--r--mail/libdkim/Makefile4
-rw-r--r--mail/libdomainkeys/Makefile4
-rw-r--r--mail/msmtp/Makefile2
-rw-r--r--mail/mutt14/Makefile2
-rw-r--r--mail/nmh/Makefile2
-rw-r--r--mail/panda-cclient/Makefile2
-rw-r--r--mail/panda-imap/Makefile2
-rw-r--r--mail/pantomime/Makefile3
-rw-r--r--mail/pop3proxy/Makefile3
-rw-r--r--mail/popular/Makefile3
-rw-r--r--mail/qmail-tls/Makefile2
-rw-r--r--mail/qmail/Makefile2
-rw-r--r--mail/spamd/Makefile2
-rw-r--r--mail/ssmtp/Makefile3
-rw-r--r--misc/amanda-server/Makefile3
-rw-r--r--misc/bibletime/Makefile3
-rw-r--r--misc/linm/Makefile3
-rw-r--r--misc/mbuffer/Makefile2
-rw-r--r--multimedia/gstreamer1-plugins/Makefile2
-rw-r--r--multimedia/librtmp/Makefile3
-rw-r--r--multimedia/rtmpdump/Makefile3
-rw-r--r--net-im/ayttm/Makefile3
-rw-r--r--net-im/centerim-devel/Makefile3
-rw-r--r--net-im/centerim/Makefile3
-rw-r--r--net-im/climm/Makefile2
-rw-r--r--net-im/cutegram/Makefile3
-rw-r--r--net-im/ejabberd/Makefile4
-rw-r--r--net-im/fugu/Makefile3
-rw-r--r--net-im/gale/Makefile3
-rw-r--r--net-im/libqtelegram-ae/Makefile3
-rw-r--r--net-im/libstrophe/Makefile3
-rw-r--r--net-im/loudmouth/Makefile2
-rw-r--r--net-im/pork/Makefile3
-rw-r--r--net-im/telegramqml/Makefile3
-rw-r--r--net-im/telepathy-gabble/Makefile3
-rw-r--r--net-im/telepathy-idle/Makefile3
-rw-r--r--net-im/telepathy-rakia/Makefile3
-rw-r--r--net-im/telepathy-salut/Makefile3
-rw-r--r--net-im/telepathy-sofiasip/Makefile3
-rw-r--r--net-mgmt/docsis/Makefile3
-rw-r--r--net-mgmt/icinga-core/Makefile2
-rw-r--r--net-mgmt/monitoring-plugins/Makefile3
-rw-r--r--net-mgmt/nagios-plugins/Makefile3
-rw-r--r--net-mgmt/nefu/Makefile3
-rw-r--r--net-mgmt/netxms/Makefile3
-rw-r--r--net-mgmt/sysmon/Makefile3
-rw-r--r--net-p2p/eiskaltdcpp-daemon/Makefile3
-rw-r--r--net-p2p/eiskaltdcpp-gtk/Makefile3
-rw-r--r--net-p2p/eiskaltdcpp-lib/Makefile3
-rw-r--r--net-p2p/eiskaltdcpp-qt/Makefile3
-rw-r--r--net-p2p/linuxdcpp/Makefile3
-rw-r--r--net-p2p/minder/Makefile3
-rw-r--r--net-p2p/opendchub/Makefile3
-rw-r--r--net-p2p/unworkable/Makefile3
-rw-r--r--net-p2p/verlihub/Makefile3
-rw-r--r--net/c3270/Makefile4
-rw-r--r--net/crtmpserver/Makefile3
-rw-r--r--net/cvsync/Makefile3
-rw-r--r--net/easysoap/Makefile3
-rw-r--r--net/echoping/Makefile3
-rw-r--r--net/g2ipmsg/Makefile3
-rw-r--r--net/glusterfs/Makefile3
-rw-r--r--net/gogoc/Makefile3
-rw-r--r--net/ifstat/Makefile2
-rw-r--r--net/libarms/Makefile3
-rw-r--r--net/libexosip2/Makefile3
-rw-r--r--net/mpd5/Makefile2
-rw-r--r--net/netembryo/Makefile2
-rw-r--r--net/ntop/Makefile3
-rw-r--r--net/openbsc/Makefile3
-rw-r--r--net/openslp/Makefile3
-rw-r--r--net/openvswitch/Makefile3
-rw-r--r--net/p5-Socket-Class/Makefile3
-rw-r--r--net/pipsecd/Makefile2
-rw-r--r--net/proftpd-mod_ldap/Makefile2
-rw-r--r--net/qoauth/Makefile3
-rw-r--r--net/radsecproxy/Makefile3
-rw-r--r--net/rdesktop/Makefile3
-rw-r--r--net/relayd/Makefile3
-rw-r--r--net/sofia-sip/Makefile3
-rw-r--r--net/ssldump/Makefile2
-rw-r--r--net/stone/Makefile5
-rw-r--r--net/svnup/Makefile3
-rw-r--r--net/tinyfugue/Makefile2
-rw-r--r--net/ulxmlrpcpp/Makefile3
-rw-r--r--net/x11vnc/Makefile3
-rw-r--r--news/newsstar/Makefile2
-rw-r--r--news/suck/Makefile2
-rw-r--r--print/gtklp/Makefile3
-rw-r--r--russian/ircd-hybrid/Makefile3
-rw-r--r--security/apache-xml-security-c/Makefile4
-rw-r--r--security/botan110/Makefile2
-rw-r--r--security/chntpw/Makefile3
-rw-r--r--security/cyrus-sasl2/Makefile.common4
-rw-r--r--security/eschalot/Makefile3
-rw-r--r--security/esteidfirefoxplugin/Makefile3
-rw-r--r--security/fwbuilder/Makefile3
-rw-r--r--security/gstreamer1-plugins-dtls/Makefile2
-rw-r--r--security/hpenc/Makefile3
-rw-r--r--security/hs-HsOpenSSL/Makefile2
-rw-r--r--security/ike/Makefile3
-rw-r--r--security/ipsec-tools/Makefile3
-rw-r--r--security/isakmpd/Makefile4
-rw-r--r--security/keynote/Makefile4
-rw-r--r--security/lasso/Makefile3
-rw-r--r--security/libfprint/Makefile3
-rw-r--r--security/opensc/Makefile3
-rw-r--r--security/openssh-portable/Makefile3
-rw-r--r--security/osiris/Makefile2
-rw-r--r--security/osslsigncode/Makefile3
-rw-r--r--security/p5-Crypt-OpenSSL-AES/Makefile3
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/Makefile3
-rw-r--r--security/p5-Crypt-OpenSSL-Random/Makefile3
-rw-r--r--security/p5-Filter-Crypto/Makefile3
-rw-r--r--security/p5-OpenCA-OpenSSL/Makefile3
-rw-r--r--security/pam_p11/Makefile3
-rw-r--r--security/pidentd/Makefile2
-rw-r--r--security/pixiewps/Makefile6
-rw-r--r--security/pkcs11-dump/Makefile3
-rw-r--r--security/pkcs11-helper/Makefile3
-rw-r--r--security/py-pow/Makefile3
-rw-r--r--security/racoon2/Makefile3
-rw-r--r--security/scrypt/Makefile3
-rw-r--r--security/sectok/Makefile2
-rw-r--r--security/skipfish/Makefile3
-rw-r--r--security/slush/Makefile2
-rw-r--r--security/sslwrap/Makefile2
-rw-r--r--security/sst/Makefile3
-rw-r--r--security/stud/Makefile3
-rw-r--r--security/tinyca/Makefile3
-rw-r--r--security/yapet/Makefile3
-rw-r--r--security/yubico-piv-tool/Makefile3
-rw-r--r--security/zebedee/Makefile3
-rw-r--r--security/zxid/Makefile3
-rw-r--r--sysutils/LPRng/Makefile3
-rw-r--r--sysutils/aimage/Makefile3
-rw-r--r--sysutils/bacula-server/Makefile3
-rw-r--r--sysutils/bulk_extractor/Makefile3
-rw-r--r--sysutils/cluster-glue/Makefile3
-rw-r--r--sysutils/deltup/Makefile1
-rw-r--r--sysutils/fusefs-s3fs/Makefile3
-rw-r--r--sysutils/nut/Makefile2
-rw-r--r--sysutils/openhpi/Makefile3
-rw-r--r--sysutils/openipmi/Makefile2
-rw-r--r--sysutils/radmind/Makefile2
-rw-r--r--sysutils/tarsnap/Makefile3
-rw-r--r--sysutils/ucspi-tcp/Makefile2
-rw-r--r--sysutils/webjob/Makefile2
-rw-r--r--textproc/htmldoc/Makefile3
-rw-r--r--textproc/rasqal/Makefile3
-rw-r--r--www/blastbeat/Makefile3
-rw-r--r--www/cadaver/Makefile2
-rw-r--r--www/cherokee/Makefile3
-rw-r--r--www/cppcms/Makefile3
-rw-r--r--www/edbrowse/Makefile3
-rw-r--r--www/http_get/Makefile2
-rw-r--r--www/http_load/Makefile2
-rw-r--r--www/http_post/Makefile2
-rw-r--r--www/mnogosearch/Makefile2
-rw-r--r--www/nostromo/Makefile3
-rw-r--r--www/owncloud/Makefile3
-rw-r--r--www/p5-HTTP-MHTTP/Makefile3
-rw-r--r--www/pound/Makefile3
-rw-r--r--www/resin3/Makefile3
-rw-r--r--www/sitecopy/Makefile2
-rw-r--r--www/thundercache/Makefile3
-rw-r--r--www/tntnet/Makefile2
-rw-r--r--www/webstone-ssl/Makefile3
-rw-r--r--www/zerowait-httpd/Makefile3
-rw-r--r--x11-servers/x11rdp/Makefile3
-rw-r--r--x11/kdelibs4/Makefile3
-rw-r--r--x11/x3270/Makefile2
257 files changed, 272 insertions, 477 deletions
diff --git a/archivers/py-attic/Makefile b/archivers/py-attic/Makefile
index ae584be63f4b..75e0987030ff 100644
--- a/archivers/py-attic/Makefile
+++ b/archivers/py-attic/Makefile
@@ -17,9 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.1.10:devel/py-msgpack-python
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.1.10:devel/py-msgpack-python
-USES= python:3.3+
+USES= python:3.3+ ssl
USE_PYTHON= autoplist distutils
-USE_OPENSSL= yes
STRIP_FILES= hashindex.so platform_freebsd.so chunker.so crypto.so
PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER}
diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index 0fc3a80c9b18..2e0a011ea30b 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -16,8 +16,7 @@ BUILD_DEPENDS= re>=0.4.14:audio/re \
rem>=0.4.7:audio/rem
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= gmake pkgconfig
-USE_OPENSSL= yes
+USES= gmake pkgconfig ssl
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ilbc
MAKE_ARGS= MOD_AUTODETECT=""
PLIST_FILES= bin/baresip
diff --git a/audio/libshairport/Makefile b/audio/libshairport/Makefile
index e45018744f2f..8509a44f1682 100644
--- a/audio/libshairport/Makefile
+++ b/audio/libshairport/Makefile
@@ -13,9 +13,8 @@ COMMENT= Airport Extreme Emulator
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= autoreconf gmake libtool
+USES= autoreconf gmake libtool ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
CPPFLAGS+= -isystem${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/audio/rem/Makefile b/audio/rem/Makefile
index 6fefda5bb5ed..1780cd6277f8 100644
--- a/audio/rem/Makefile
+++ b/audio/rem/Makefile
@@ -14,9 +14,8 @@ LICENSE_FILE= ${WRKSRC}/docs/COPYING
BUILD_DEPENDS= ${LOCALBASE}/share/re/re.mk:audio/re
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= gmake
+USES= gmake ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
diff --git a/audio/shairport/Makefile b/audio/shairport/Makefile
index 84dc7b92a815..af6440f6d058 100644
--- a/audio/shairport/Makefile
+++ b/audio/shairport/Makefile
@@ -18,9 +18,8 @@ RUN_DEPENDS= p5-MIME-Base64>=0:converters/p5-MIME-Base64 \
p5-HTTP-Message>=0:www/p5-HTTP-Message \
avahi-publish-service:net/avahi-app
-USES= gmake perl5 pkgconfig
+USES= gmake perl5 pkgconfig ssl
USE_PERL5= run
-USE_OPENSSL= yes
USE_GITHUB= yes
GH_ACCOUNT= miks
GH_TAGNAME= b1cb9ea
diff --git a/audio/umurmur/Makefile b/audio/umurmur/Makefile
index a145a596f919..eaca9c4741e3 100644
--- a/audio/umurmur/Makefile
+++ b/audio/umurmur/Makefile
@@ -16,9 +16,8 @@ LIB_DEPENDS= libconfig.so:devel/libconfig \
USE_GITHUB= yes
-USES= autoreconf gmake libtool
+USES= autoreconf gmake libtool ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
CONFIGURE_ARGS= --with-ssl=openssl
USE_RC_SUBR= umurmur
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index 5b8ee2232b70..d1c0fa9765f6 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -10,9 +10,8 @@ COMMENT= Tool for measuring webserver performance
LICENSE= GPLv2
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= autoreconf gmake libtool
+USES= autoreconf gmake libtool ssl
USE_GITHUB= yes
GH_TAGNAME= dcfb746
MAKE_ARGS= LIBUTIL_OBJS=ssl_writev.o \
diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile
index 5fa3c93d2e85..749815104ae7 100644
--- a/benchmarks/siege/Makefile
+++ b/benchmarks/siege/Makefile
@@ -12,8 +12,7 @@ COMMENT= HTTP regression testing and benchmarking utility
LICENSE= GPLv2
-USES= autoreconf libtool perl5
-USE_OPENSSL= yes
+USES= autoreconf libtool perl5 ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL="${PERL}"
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --disable-shared \
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile
index 58d38964a8ac..b38c5daaeb89 100644
--- a/comms/conserver-com/Makefile
+++ b/comms/conserver-com/Makefile
@@ -19,7 +19,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
--with-pam --with-libwrap --with-openssl
-USE_OPENSSL= yes
+USES= ssl
USE_RC_SUBR= conserver
OPTIONS_DEFINE= FREEIPMI GSSAPI GSSAPIONLY STRIPREALM UDS
diff --git a/databases/galera/Makefile b/databases/galera/Makefile
index 55d36c07dc4e..26acd135d8df 100644
--- a/databases/galera/Makefile
+++ b/databases/galera/Makefile
@@ -18,12 +18,11 @@ BUILD_DEPENDS= checkmk:devel/check \
${PYTHON_PKGNAMEPREFIX}cloud_sptheme>=0:textproc/py-cloud_sptheme
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs
-USES= execinfo python:build scons shebangfix
+USES= execinfo python:build scons shebangfix ssl
USE_CXXSTD= c++11
USE_GCC= yes
USE_LDCONFIG= yes
-USE_OPENSSL= yes
LDFLAGS+= -lboost_program_options -lboost_system
MAKE_ARGS+= --config=force
diff --git a/databases/libdrizzle-redux/Makefile b/databases/libdrizzle-redux/Makefile
index 6f0bace81620..edc0f73526d5 100644
--- a/databases/libdrizzle-redux/Makefile
+++ b/databases/libdrizzle-redux/Makefile
@@ -16,9 +16,8 @@ COMMENT= Client and protocol library for the Drizzle database
LICENSE= BSD2CLAUSE
GNU_CONFIGURE= yes
-USES= gmake libtool
+USES= gmake libtool ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
CONFLICTS= libdrizzle-[0-9]*
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index c72ca66e9ee6..9b2883cf6775 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -45,7 +45,7 @@ PORTSCOUT= limitw:1,even
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
MAKE_ARGS+= --ssl
.endif
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index ca7215f2de5b..37c64fcae10c 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -24,8 +24,7 @@ GROUPS= pgbouncer
USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns
CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread"
diff --git a/databases/pgpool-II/Makefile b/databases/pgpool-II/Makefile
index 44b75fe4a026..275a8c2c3877 100644
--- a/databases/pgpool-II/Makefile
+++ b/databases/pgpool-II/Makefile
@@ -15,9 +15,8 @@ LICENSE= MIT
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= gmake pgsql:9.2 libtool
+USES= gmake pgsql:9.2 libtool ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
CONFIGURE_ARGS= --with-openssl
CONFLICTS= pgpool-3.* pgpool-II-22-* pgpool-II-23-* pgpool-II-23-*
@@ -28,15 +27,10 @@ PORTDOCS+= TODO
PORTDOCShtml= pgpool-en.html pgpool-ja.html pgpool.css
PORTDOCShtml+= tutorial-en.html tutorial-ja.html
-OPTIONS_DEFINE+= DOCS SSL
+OPTIONS_DEFINE+= DOCS
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
-CONFIGURE_ARGS+=--with-openssl
-.endif
-
.if exists(${LOCALBASE}/include/postgresql/server/replication/walreceiver.h)
FUNCTIONS= pgpool-recovery pgpool-regclass pgpool-walrecrunning
PLIST_SUB= PGSQL9=""
diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile
index faf6d21b20df..169fb5f703d7 100644
--- a/databases/virtuoso/Makefile
+++ b/databases/virtuoso/Makefile
@@ -27,9 +27,8 @@ BROKEN_sparc64= Does not compile: error: DV_INT_TAG_WORD undeclared
NOT_FOR_ARCHS= arm armv6 i386 mips powerpc
NOT_FOR_ARCHS_REASON= can only be built on 64bit platforms
-USES= execinfo gmake libtool readline uidfix
+USES= execinfo gmake libtool readline uidfix ssl
USE_AUTOTOOLS= autoheader aclocal
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline\
diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile
index 30574b1181ad..f5a622c5d3ad 100644
--- a/deskutils/growl-for-linux/Makefile
+++ b/deskutils/growl-for-linux/Makefile
@@ -31,10 +31,9 @@ OPTIONS_DEFINE= LIBNOTIFY
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
-USES= autoreconf compiler:nestedfct libtool pkgconfig sqlite:3
+USES= autoreconf compiler:nestedfct libtool pkgconfig sqlite:3 ssl
USE_GITHUB= yes
USE_GNOME= gtk20
-USE_OPENSSL= yes
post-patch:
@${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 1edfc9cd8a01..3eb014623091 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -12,10 +12,9 @@ COMMENT= Blog management application based on Qt 4
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake tar:bzip2
+USES= cmake tar:bzip2 ssl
USE_QT4= corelib dbus gui network xml \
moc_build qmake_build rcc_build uic_build
-USE_OPENSSL= yes
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
diff --git a/devel/dcmtk/Makefile b/devel/dcmtk/Makefile
index d498a1c1cc2b..6b5586d614de 100644
--- a/devel/dcmtk/Makefile
+++ b/devel/dcmtk/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS= libtiff.so:graphics/tiff \
USE_GNOME= libxml2
USE_LDCONFIG= yes
-USE_OPENSSL= yes
-USES= cmake:outsource jpeg
+USES= cmake:outsource jpeg ssl
CMAKE_ARGS+= -DDCMTK_WITH_DOXYGEN:BOOL=OFF \
-DDCMTK_WITH_OPENSSL:BOOL=ON
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index 97a0e08a01f8..23e111da5fca 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -48,8 +48,7 @@ GDCM_PATCH= 3
VTK5_VERSION= 5.10
VTK6_VERSION= 6.2
-USES= alias cmake:outsource tar:bzip2
-USE_OPENSSL= yes
+USES= alias cmake:outsource tar:bzip2 ssl
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
CMAKE_ARGS= -DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index df1615f94237..dc180a32707e 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -17,10 +17,9 @@ USES= tar:bzip2
RUN_DEPENDS= update-mime-database:misc/shared-mime-info
-USES+= gettext gmake libtool:keepla pathfix pkgconfig
+USES+= gettext gmake libtool:keepla pathfix pkgconfig ssl
USE_GNOME= gconf2 gnomemimedata intlhack referencehack
INSTALL_TARGET= install-strip
-USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-openssl \
diff --git a/devel/libepp-nicbr/Makefile b/devel/libepp-nicbr/Makefile
index 8662275621bf..b8c0ea008a68 100644
--- a/devel/libepp-nicbr/Makefile
+++ b/devel/libepp-nicbr/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3
-USE_OPENSSL= yes
+USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_header_cppunit_TestRunner_h=no
CONFIGURE_ARGS= --with-xerces-c=${LOCALBASE} \
diff --git a/devel/libewf/Makefile b/devel/libewf/Makefile
index 5ed3a77c039f..da477f31bd4d 100644
--- a/devel/libewf/Makefile
+++ b/devel/libewf/Makefile
@@ -16,9 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
-USES= fuse gettext iconv libtool:keepla pathfix pkgconfig python:2
+USES= fuse gettext iconv libtool:keepla pathfix pkgconfig python:2 ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} --with-libuuid=${LOCALBASE} ${ICONV_CONFIGURE_ARG} --with-libsmdev=no
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index b6eb909dd09a..446eeda18887 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -13,9 +13,8 @@ LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= libgit2
-USES= cmake pathfix pkgconfig python:build
+USES= cmake pathfix pkgconfig python:build ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:E}
diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile
index c7707d7565c2..674ad8f014bf 100644
--- a/devel/libiqxmlrpc/Makefile
+++ b/devel/libiqxmlrpc/Makefile
@@ -21,10 +21,9 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF= -Dbuild_docs=off
USE_GNOME= libxml2
-USES= cmake tar:bzip2
+USES= cmake tar:bzip2 ssl
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-USE_OPENSSL= yes
PORTDOCS= *
diff --git a/devel/libmowgli2/Makefile b/devel/libmowgli2/Makefile
index 42e0b422dd91..6aba99760a4d 100644
--- a/devel/libmowgli2/Makefile
+++ b/devel/libmowgli2/Makefile
@@ -14,9 +14,8 @@ GH_ACCOUNT= atheme
GH_PROJECT= libmowgli-2
GNU_CONFIGURE= yes
-USES= gmake pathfix
+USES= gmake pathfix ssl
PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG= yes
-USE_OPENSSL= yes
.include <bsd.port.mk>
diff --git a/devel/libsmraw/Makefile b/devel/libsmraw/Makefile
index 20d5d2e62d29..fc3d7d3d7002 100644
--- a/devel/libsmraw/Makefile
+++ b/devel/libsmraw/Makefile
@@ -14,8 +14,7 @@ LICENSE= LGPL3+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE}
-USES= fuse gettext libtool pathfix pkgconfig python
-USE_OPENSSL= yes
+USES= fuse gettext libtool pathfix pkgconfig python ssl
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
LIBS+= -L${OPENSSLLIB}
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index e18c419532c7..a323a458c5e3 100644
--- a/devel/mico/Makefile
+++ b/devel/mico/Makefile
@@ -18,9 +18,8 @@ LICENSE_FILE_LGPL20= ${WRKSRC}/LICENSE-LGPL
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-optimize --with-ssl=${OPENSSLBASE}
MAKE_ARGS= INSTDIR=${STAGEDIR}${PREFIX} SHARED_INSTDIR=${STAGEDIR}${PREFIX}
-USES= gmake ncurses readline
+USES= gmake ncurses readline ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DEBUG DOCS EXAMPLES GTK1 TCL X11
diff --git a/devel/omniORB-4.1/Makefile b/devel/omniORB-4.1/Makefile
index 9337c07558ea..2687c1f9792d 100644
--- a/devel/omniORB-4.1/Makefile
+++ b/devel/omniORB-4.1/Makefile
@@ -18,8 +18,7 @@ CONFLICTS= omniORB-4.2.*
PLIST_SUB+= SONUM=${PORTVERSION:C/.*\.//}
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
-USES= gmake pkgconfig python tar:bzip2
+USES= gmake pkgconfig python tar:bzip2 ssl
USE_LDCONFIG= yes
MAKEFILE= GNUmakefile
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
diff --git a/devel/omniORB/Makefile b/devel/omniORB/Makefile
index e0ef9151f0ac..f492de78b095 100644
--- a/devel/omniORB/Makefile
+++ b/devel/omniORB/Makefile
@@ -14,8 +14,7 @@ LICENSE= GPLv2
CONFLICTS= omniORB41-4.1.*
PLIST_SUB+= SONUM=1
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
-USES= gmake pkgconfig python tar:bzip2
+USES= gmake pkgconfig python tar:bzip2 ssl
USE_LDCONFIG= yes
MAKEFILE= GNUmakefile
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
diff --git a/devel/pecl-event/Makefile b/devel/pecl-event/Makefile
index 14b9f5ac584c..156c73dbe80e 100644
--- a/devel/pecl-event/Makefile
+++ b/devel/pecl-event/Makefile
@@ -17,8 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libevent.so:devel/libevent
-USES= php:ext tar:tgz
-USE_OPENSSL= yes
+USES= php:ext tar:tgz ssl
CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE}
USE_PHP= sockets:build
diff --git a/devel/poco-ssl/Makefile b/devel/poco-ssl/Makefile
index 530b0d3d0edb..7a8fe55e9c90 100644
--- a/devel/poco-ssl/Makefile
+++ b/devel/poco-ssl/Makefile
@@ -18,11 +18,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS= poco-[0-9]*
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 ssl
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --config=FreeBSD
USE_LDCONFIG= yes
-USE_OPENSSL= yes
OPTIONS_DEFINE= TEST SAMPLES MYSQL SQLITE ODBC
OPTIONS_DEFAULT=MYSQL SQLITE
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index 221a2a20c9f4..83236de86f74 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -19,11 +19,10 @@ CONFLICTS= ptlib-2.*
WRKSRC= ${WRKDIR}/ptlib_v${PORTVERSION:S/./_/g}
-USES= bison gmake
+USES= bison gmake ssl
USE_GCC= any
USE_AUTOTOOLS= autoconf
WANT_GNOME= yes
-USE_OPENSSL= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/devel/py-omniorb-3/Makefile b/devel/py-omniorb-3/Makefile
index b71c7bea620c..438c529be56c 100644
--- a/devel/py-omniorb-3/Makefile
+++ b/devel/py-omniorb-3/Makefile
@@ -29,12 +29,11 @@ PLIST_SUB= SONUM=${PORTVERSION:C/.*\.//}
OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB-4.1 && ${MAKE} -V WRKSRC
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
-USES= gmake python tar:bzip2
+USES= gmake python tar:bzip2 ssl
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE}
diff --git a/devel/py-omniorb/Makefile b/devel/py-omniorb/Makefile
index 041ec7450718..d8efc99f81f6 100644
--- a/devel/py-omniorb/Makefile
+++ b/devel/py-omniorb/Makefile
@@ -28,12 +28,11 @@ PLIST_SUB= SONUM=2
WRKSRC= ${WRKDIR}/${DISTNAME:S/-2//}
OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB && ${MAKE} -V WRKSRC
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
-USES= gmake python tar:bzip2
+USES= gmake python tar:bzip2 ssl
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE}
diff --git a/devel/subcommander2/Makefile b/devel/subcommander2/Makefile
index 4127c1cbc4e5..7b3fbfba5d07 100644
--- a/devel/subcommander2/Makefile
+++ b/devel/subcommander2/Makefile
@@ -20,11 +20,10 @@ CONFLICTS= subcommander-1.*
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S,.b,b,}p${PORTVERSION:E}
-USES= autoreconf gmake dos2unix
+USES= autoreconf gmake dos2unix ssl
DOS2UNIX_GLOB= *.cpp *.h
USE_QT4= corelib gui network qt3support moc_build rcc_build uic_build
QT_NONSTANDARD= yes
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include \
--with-subversion=${LOCALBASE} --with-qt=${PREFIX} \
diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index 8eb40cce80a2..d088cfdf3c68 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -18,8 +18,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= DOCS
-USES+= tcl:tea
-USE_OPENSSL= yes
+USES+= tcl:tea ssl
CONFIGURE_ARGS+=--with-ssl-dir=${OPENSSLBASE}
WRKSRC= ${WRKDIR}/${TCL_PKG}
diff --git a/devel/uatraits/Makefile b/devel/uatraits/Makefile
index 7578dc181aac..989981be105e 100644
--- a/devel/uatraits/Makefile
+++ b/devel/uatraits/Makefile
@@ -16,9 +16,8 @@ LIB_DEPENDS= libboost_python.so:devel/boost-python-libs \
libpcre.so:devel/pcre \
libxml2.so:textproc/libxml2
-USES= autoreconf libtool pkgconfig python
+USES= autoreconf libtool pkgconfig python ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-boost-prefix=${LOCALBASE} \
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile
index 0ef2e0fc80af..de5fa742cc0c 100644
--- a/devel/ucommon/Makefile
+++ b/devel/ucommon/Makefile
@@ -12,11 +12,10 @@ COMMENT= Very lightweight C++ design pattern library
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
-USES= compiler:c++11-lib cmake:outsource pathfix pkgconfig
+USES= compiler:c++11-lib cmake:outsource pathfix pkgconfig ssl
CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \
-DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME}
USE_LDCONFIG= yes
-USE_OPENSSL= yes
TEST_TARGET= test
post-install:
diff --git a/devel/xmltooling/Makefile b/devel/xmltooling/Makefile
index 1ec58a32826e..d61192194999 100644
--- a/devel/xmltooling/Makefile
+++ b/devel/xmltooling/Makefile
@@ -19,9 +19,8 @@ BUILD_DEPENDS= boost-libs>=0:devel/boost-libs
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} --with-curl=${LOCALBASE} --disable-doxygen-doc
-USES= gmake libtool pkgconfig tar:bzip2
+USES= gmake libtool pkgconfig tar:bzip2 ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
PORTDOCS= *
diff --git a/dns/bundy/Makefile b/dns/bundy/Makefile
index 18a310b7de96..5288416d5782 100644
--- a/dns/bundy/Makefile
+++ b/dns/bundy/Makefile
@@ -30,9 +30,7 @@ USE_GITHUB= yes
GH_ACCOUNT= bundy-dns
GH_TAGNAME= d310c5d
-USE_OPENSSL= yes
-
-USES= compiler:c++11-lang pathfix pkgconfig libtool python:3 autoreconf
+USES= compiler:c++11-lang pathfix pkgconfig libtool python:3 autoreconf ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/dns/credns/Makefile b/dns/credns/Makefile
index 544ca152ddce..d7e5b1aceb29 100644
--- a/dns/credns/Makefile
+++ b/dns/credns/Makefile
@@ -33,7 +33,7 @@ PLIST_SUB= CREDNSUSER=${USERS} \
CREDNSDBDIR=${CREDNSDBDIR} \
CREDNSRUNDIR=${CREDNSRUNDIR}
-USE_OPENSSL= yes
+USES= ssl
PORTDOCS= *
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile
index 9bb7cd866162..44679bf728f1 100644
--- a/dns/mydns/Makefile
+++ b/dns/mydns/Makefile
@@ -34,7 +34,7 @@ CONFIGURE_ARGS+=--enable-alias
.endif
.if ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+=--with-openssl \
--with-openssl-include=${OPENSSLINC} \
--with-openssl-lib=${OPENSSLLIB}
diff --git a/dns/samba-nsupdate/Makefile b/dns/samba-nsupdate/Makefile
index b096a8ad77dd..7e3be75847f9 100644
--- a/dns/samba-nsupdate/Makefile
+++ b/dns/samba-nsupdate/Makefile
@@ -19,7 +19,7 @@ ISCVERSION= 9.8.6
MAKE_JOBS_UNSAFE= yes
USE_AUTOTOOLS= autoconf autoheader
-USE_OPENSSL= yes
+USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= \
diff --git a/dns/validns/Makefile b/dns/validns/Makefile
index 1b5160ccf508..4a53762e527a 100644
--- a/dns/validns/Makefile
+++ b/dns/validns/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libJudy.so:devel/judy
-USE_OPENSSL= yes
+USES= ssl
ALL_TARGET=
diff --git a/finance/vanitygen/Makefile b/finance/vanitygen/Makefile
index 5f390eb6bfe1..5020b8789da7 100644
--- a/finance/vanitygen/Makefile
+++ b/finance/vanitygen/Makefile
@@ -17,8 +17,7 @@ USE_GITHUB= yes
GH_ACCOUNT= samr7
GH_TAGNAME= cd1a728
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
ALL_TARGET= most
PLIST_FILES= bin/keyconv bin/vanitygen
diff --git a/ftp/bsdftpd-ssl/Makefile b/ftp/bsdftpd-ssl/Makefile
index 02c98f277413..bf1d56b5c36c 100644
--- a/ftp/bsdftpd-ssl/Makefile
+++ b/ftp/bsdftpd-ssl/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.sourcefiles.org/System/Daemons/FTP/ \
MAINTAINER= skynick@mail.sc.ru
COMMENT= Secure FTP client/server with TLS/SSL support
-USE_OPENSSL= yes
+USES= ssl
MAKE_ENV+= OBJFORMAT=elf
MAKE_JOBS_UNSAFE= yes
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile
index a7522b5d3057..551722073df5 100644
--- a/ftp/gftp/Makefile
+++ b/ftp/gftp/Makefile
@@ -12,10 +12,9 @@ COMMENT= Free multithreaded GTK-based FTP and SFTP client
LICENSE= GPLv2
-USES= pathfix pkgconfig tar:bzip2
+USES= pathfix pkgconfig tar:bzip2 ssl
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20
-USE_OPENSSL= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index e02dd327d2e2..bdb4ebd7d42a 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -13,8 +13,7 @@ COMMENT= HTTP, FTP, and Gopher mirroring tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= localbase tar:bzip2
-USE_OPENSSL= yes
+USES= localbase tar:bzip2 ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-locale-dir=${PREFIX}/share/locale \
--disable-debug --disable-gnome --disable-js \
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 0126d80dea49..349c3b91ab03 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -53,7 +53,7 @@ USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
.if !defined(_BUILDING_PROFTPD_MODULE)
-USE_OPENSSL= yes
+USES+= ssl
USE_RC_SUBR= proftpd
.endif
diff --git a/ftp/tnftp/Makefile b/ftp/tnftp/Makefile
index b989bb22a833..5014997cebb7 100644
--- a/ftp/tnftp/Makefile
+++ b/ftp/tnftp/Makefile
@@ -9,9 +9,8 @@ MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Enhanced ftp client from NetBSD
-USES= ncurses
+USES= ncurses ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
PLIST_FILES= bin/tnftp man/man1/tnftp.1.gz
diff --git a/ftp/urlgfe/Makefile b/ftp/urlgfe/Makefile
index adb4a7d91266..4b43a535a3cc 100644
--- a/ftp/urlgfe/Makefile
+++ b/ftp/urlgfe/Makefile
@@ -13,9 +13,8 @@ COMMENT= Download manager
LIB_DEPENDS= libcurl.so:ftp/curl
GNU_CONFIGURE= yes
-USES= dos2unix libtool pkgconfig
+USES= dos2unix libtool pkgconfig ssl
USE_GNOME= gtk20
-USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS NLS
NLS_USES= gettext
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index e16d05122cdf..dbf085dfca85 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -53,7 +53,7 @@ PSL_LIB_DEPENDS= libpsl.so:dns/libpsl
CONFIGURE_ARGS+=--with-included-libunistring
.if ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE}
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index 5fc94dfe00c8..16bfa63a132f 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -15,8 +15,7 @@ LICENSE= GPLv2+
OPTIONS_DEFINE= BASH EXAMPLES NLS SSH READLINE
OPTIONS_DEFAULT=BASH SSH
-USES= gmake tar:xz
-USE_OPENSSL= yes
+USES= gmake tar:xz ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_ipv6=yes
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \
diff --git a/games/gtkevemon/Makefile b/games/gtkevemon/Makefile
index 121287a78ea9..2be143c0530a 100644
--- a/games/gtkevemon/Makefile
+++ b/games/gtkevemon/Makefile
@@ -14,9 +14,8 @@ LIB_DEPENDS= libgtkmm-3.0.so:x11-toolkits/gtkmm30 \
USE_GITHUB= yes
GH_TAGNAME= ac2ca34
-USES= pkgconfig:both gmake
+USES= pkgconfig:both gmake ssl
USE_GNOME= gtk30 libxml2
-USE_OPENSSL= yes
.include <bsd.port.pre.mk>
diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile
index e802ffaa7739..28db59ee3e6b 100644
--- a/games/ldmud/Makefile
+++ b/games/ldmud/Makefile
@@ -16,8 +16,7 @@ BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libpcre.so:devel/pcre
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
-USES= iconv pkgconfig
+USES= iconv pkgconfig ssl
CONFIGURE_ARGS+=--libdir=${DATADIR} \
--bindir=${PREFIX}/sbin \
--enable-use-pcre \
diff --git a/games/macopix/Makefile b/games/macopix/Makefile
index c29d7ed7146f..cf5580a80810 100644
--- a/games/macopix/Makefile
+++ b/games/macopix/Makefile
@@ -49,7 +49,7 @@ GTK1_CONFIGURE_ON= --with-gtk1
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MGNUTLS}
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PORT_OPTIONS:MGTK1}
diff --git a/graphics/zathura-cb/Makefile b/graphics/zathura-cb/Makefile
index 4eccaa64d5a4..153cc2012a35 100644
--- a/graphics/zathura-cb/Makefile
+++ b/graphics/zathura-cb/Makefile
@@ -17,9 +17,8 @@ RUN_DEPENDS= zathura:graphics/zathura
PLIST_FILES= lib/zathura/cb.so share/applications/zathura-cb.desktop
-USES= compiler:c11 desktop-file-utils gmake pkgconfig libarchive
+USES= compiler:c11 desktop-file-utils gmake pkgconfig libarchive ssl
USE_GNOME= glib20 gtk30
-USE_OPENSSL= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/cb.so
diff --git a/graphics/zathura-ps/Makefile b/graphics/zathura-ps/Makefile
index b20f75d72762..e5110e1e38b3 100644
--- a/graphics/zathura-ps/Makefile
+++ b/graphics/zathura-ps/Makefile
@@ -16,9 +16,8 @@ LIB_DEPENDS= libspectre.so:print/libspectre
BUILD_DEPENDS= zathura:graphics/zathura
RUN_DEPENDS= zathura:graphics/zathura
-USES= compiler:c11 desktop-file-utils gmake pkgconfig
+USES= compiler:c11 desktop-file-utils gmake pkgconfig ssl
USE_GNOME= glib20 gtk30
-USE_OPENSSL= yes
PLIST_FILES= lib/zathura/ps.so share/applications/zathura-ps.desktop
diff --git a/irc/eggdrop-devel/Makefile b/irc/eggdrop-devel/Makefile
index 5c39603e289d..11ccf3cc4d6b 100644
--- a/irc/eggdrop-devel/Makefile
+++ b/irc/eggdrop-devel/Makefile
@@ -14,8 +14,7 @@ COMMENT= The most popular open source Internet Relay Chat bot
LICENSE= GPLv2
-USES= tcl:85+
-USE_OPENSSL= yes
+USES= tcl:85+ ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-tcllib=${LOCALBASE}/lib/libtcl${TCL_SHLIB_VER}.so \
--with-tclinc=${LOCALBASE}/include/tcl${TCL_VER}/tcl.h
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index b922e10a5bf6..cb15e049cee2 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/Makefile
@@ -21,9 +21,8 @@ LICENSE= BSD3CLAUSE
CONFLICTS= epic5-0.[0-2]*
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-USES= ncurses tar:bzip2
+USES= ncurses tar:bzip2 ssl
CFLAGS:= ${CFLAGS:C/-O2/-g -O/g}
OPTIONS_DEFINE= IPV6 TCL PERL SSL DOCS
diff --git a/irc/psybnc/Makefile b/irc/psybnc/Makefile
index 1145b286c3f4..c52e8666c62e 100644
--- a/irc/psybnc/Makefile
+++ b/irc/psybnc/Makefile
@@ -15,8 +15,7 @@ LICENSE= GPLv1+ # though COPYING is GPLv2
BROKEN_powerpc64= Does not build
-USE_OPENSSL= yes
-USES= dos2unix
+USES= dos2unix ssl
DOS2UNIX_GLOB= *.c *.h
WRKSRC= ${WRKDIR}/psybnc
PSYBASE?= ${PREFIX}/psybnc
diff --git a/irc/xaric/Makefile b/irc/xaric/Makefile
index 49ed7036109c..8ea3bb761bd9 100644
--- a/irc/xaric/Makefile
+++ b/irc/xaric/Makefile
@@ -10,8 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= IRC Client similer to BitchX or ircII
GNU_CONFIGURE= yes
-USES= gmake ncurses pathfix
-USE_OPENSSL= yes
+USES= gmake ncurses pathfix ssl
post-patch:
@${REINPLACE_CMD} -e 's|-ggdb3||g' ${WRKSRC}/Makefile.in
diff --git a/lang/erlang-riak/Makefile b/lang/erlang-riak/Makefile
index be355d7a68d3..95c57ac670a0 100644
--- a/lang/erlang-riak/Makefile
+++ b/lang/erlang-riak/Makefile
@@ -14,10 +14,9 @@ WRKSRC= ${WRKDIR}/otp_src_${ERL_RELEASE}
ERL_RELEASE= R16B02-basho5
-USES= gmake ncurses perl5
+USES= gmake ncurses perl5 ssl
USE_PERL5= build
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-ssl=/usr \
--disable-hipe \
diff --git a/lang/mosh/Makefile b/lang/mosh/Makefile
index e4344b0021d5..94c6f735c965 100644
--- a/lang/mosh/Makefile
+++ b/lang/mosh/Makefile
@@ -23,8 +23,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \
CONFLICTS_INSTALL= mosh-1.[0-9].*
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/lib
diff --git a/lang/php56/Makefile.ext b/lang/php56/Makefile.ext
index 060cf3093f58..e7607f65d776 100644
--- a/lang/php56/Makefile.ext
+++ b/lang/php56/Makefile.ext
@@ -86,7 +86,7 @@ CONFIGURE_ARGS+=--enable-ftp \
--with-openssl-dir=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "gd"
@@ -144,7 +144,7 @@ CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "interbase"
@@ -218,7 +218,7 @@ CONFIGURE_ARGS+=--enable-odbc \
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "opcache"
@@ -344,7 +344,7 @@ CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no"
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "soap"
diff --git a/lang/php70/Makefile.ext b/lang/php70/Makefile.ext
index f581ac4038d0..19500235f636 100644
--- a/lang/php70/Makefile.ext
+++ b/lang/php70/Makefile.ext
@@ -86,7 +86,7 @@ CONFIGURE_ARGS+=--enable-ftp \
--with-openssl-dir=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "gd"
@@ -144,7 +144,7 @@ CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "interbase"
@@ -210,7 +210,7 @@ CONFIGURE_ARGS+=--enable-odbc \
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "opcache"
@@ -336,7 +336,7 @@ CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no"
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "soap"
diff --git a/lang/php71/Makefile.ext b/lang/php71/Makefile.ext
index ee917b5278b7..b4ffaee45333 100644
--- a/lang/php71/Makefile.ext
+++ b/lang/php71/Makefile.ext
@@ -86,7 +86,7 @@ CONFIGURE_ARGS+=--enable-ftp \
--with-openssl-dir=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "gd"
@@ -144,7 +144,7 @@ CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "interbase"
@@ -210,7 +210,7 @@ CONFIGURE_ARGS+=--enable-odbc \
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "opcache"
@@ -336,7 +336,7 @@ CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no"
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PHP_MODNAME} == "soap"
diff --git a/lang/qore/Makefile b/lang/qore/Makefile
index e46d6b299e39..ec4d4aeaec56 100644
--- a/lang/qore/Makefile
+++ b/lang/qore/Makefile
@@ -17,8 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \
BROKEN_powerpc64= Does not build
-USES= gmake iconv libtool:build pathfix autoreconf
-USE_OPENSSL= yes
+USES= gmake iconv libtool:build pathfix autoreconf ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GITHUB= yes
diff --git a/lang/rubinius/Makefile b/lang/rubinius/Makefile
index fdff89f4b804..f4dc3f823f54 100644
--- a/lang/rubinius/Makefile
+++ b/lang/rubinius/Makefile
@@ -48,9 +48,8 @@ LLVM38_DESC= LLVM 3.8
LLVM39_DESC= LLVM 3.9
LLVM40_DESC= LLVM 4.0
-USES= execinfo gmake perl5 readline tar:bzip2 libedit
+USES= execinfo gmake perl5 readline tar:bzip2 libedit ssl
USE_LOCALE= en_US.UTF-8
-USE_OPENSSL= yes
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
USE_PERL5= build
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile
index 2bb5dc203bf3..2fc67cb6c5ce 100644
--- a/lang/ruby21/Makefile
+++ b/lang/ruby21/Makefile
@@ -36,8 +36,7 @@ GNU_CONFIGURE= yes
# Keep this, else ruby will fail to load libraries dependent of libpthread.
LIBS+= -lpthread -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-USE_OPENSSL= yes
-USES= autoreconf cpe execinfo tar:xz
+USES= autoreconf cpe execinfo tar:xz ssl
WRKSRC= ${RUBY_WRKSRC}
RUBY_VER= 2.1
diff --git a/lang/urweb/Makefile b/lang/urweb/Makefile
index 529605010361..ec0933e88463 100644
--- a/lang/urweb/Makefile
+++ b/lang/urweb/Makefile
@@ -17,9 +17,8 @@ BUILD_DEPENDS= mlton:lang/mlton
CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include"
GNU_CONFIGURE= yes
-USES= gmake libtool tar:tgz
+USES= gmake libtool tar:tgz ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
ONLY_FOR_ARCHS= i386 amd64
CFLAGS+= -pthread
@@ -30,7 +29,6 @@ ELISP_DESC= Install contributed Emacs Lisp
.include <bsd.port.options.mk>
-USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.if ${PORT_OPTIONS:MELISP}
diff --git a/mail/akpop3d/Makefile b/mail/akpop3d/Makefile
index 3ebe011c6653..95c9fef7426c 100644
--- a/mail/akpop3d/Makefile
+++ b/mail/akpop3d/Makefile
@@ -15,7 +15,7 @@ USES= tar:bzip2
GNU_CONFIGURE= yes
.if defined(WITH_SSL)
-USE_OPENSSL= YES
+USES+= ssl
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
CPPFLAGS+= -I${OPENSSLBASE}/include
LDFLAGS+= -L${OPENSSLBASE}/lib -lssl -lcrypto
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index dfe653485024..32de32011d53 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -23,10 +23,9 @@ RUN_DEPENDS= gnome-keyring:security/gnome-keyring
# Depends on gtkhtml4 (which is being abandonend). When our webkitgtk3
# in ports gets updated to > 1.10.x, balsa should depend on it.
USES= desktop-file-utils gettext gmake iconv pathfix \
- perl5 pkgconfig tar:bzip2
+ perl5 pkgconfig tar:bzip2 ssl
USE_GNOME= gnomeprefix gtkhtml4 intlhack libxslt
INSTALLS_ICONS= yes
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-threads \
--disable-more-warnings \
diff --git a/mail/batv-milter/Makefile b/mail/batv-milter/Makefile
index c29fa4bed55b..4b47d3bda8bd 100644
--- a/mail/batv-milter/Makefile
+++ b/mail/batv-milter/Makefile
@@ -14,9 +14,8 @@ COMMENT= Milter for BATV (Bounce Address Tag Validation)
BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:mail/libmilter
.endif
-USES= uidfix
+USES= uidfix ssl
USE_RC_SUBR= milter-batv
-USE_OPENSSL= TRUE
MAKE_ARGS= UBINOWN=${UID} UBINGRP=${GID}
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index abdb163adb10..8b608386c701 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -56,8 +56,7 @@ CALENDIR= /var/spool/calendar
MIMETYPES= ${LOCALBASE}/etc/mime.types
WITH_TRANSPORT= local esmtp dsn
-USES= fam gettext gmake libtool perl5 pkgconfig tar:bzip2
-USE_OPENSSL= yes
+USES= fam gettext gmake libtool perl5 pkgconfig tar:bzip2 ssl
USE_SUBMAKE= yes
USE_RC_SUBR= courier
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 3e48cb08ffc9..97be8531be4d 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -21,8 +21,7 @@ CONFLICTS_INSTALL= cyrus-imapd-2.[^3].* cyrus-imapd2[^3]-2.[^3].* \
USE_RC_SUBR= imapd
-USES= cpe perl5
-USE_OPENSSL= yes
+USES= cpe perl5 ssl
GNU_CONFIGURE= yes
CYRUS_PREFIX= ${PREFIX}/cyrus
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index ac0d82c855e6..046f16b3974d 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -22,8 +22,7 @@ CONFLICTS_INSTALL= cyrus-imapd-2.[^4].* cyrus-imapd2[^4]-2.[^4].* \
USE_RC_SUBR= imapd
-USES= cpe perl5
-USE_OPENSSL= yes
+USES= cpe perl5 ssl
GNU_CONFIGURE= yes
CYRUS_PREFIX= ${PREFIX}/cyrus
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile
index 1b54e24de1c4..407b879f04ca 100644
--- a/mail/dbmail22/Makefile
+++ b/mail/dbmail22/Makefile
@@ -38,11 +38,10 @@ LDAP_USE= OPENLDAP=yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
-USES= gmake libtool pkgconfig
+USES= gmake libtool pkgconfig ssl
USE_LDCONFIG= ${PREFIX}/lib/dbmail
USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved
USE_GNOME= glib20
-USE_OPENSSL= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index 07591710c106..b70393bfeb17 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -13,8 +13,7 @@ COMMENT= DragonFly Mail Agent, a small MTA for local/outbound mail
LICENSE= BSD3CLAUSE
-USE_OPENSSL= yes
-USES= uidfix
+USES= uidfix ssl
USE_GITHUB= yes
GH_ACCOUNT= corecode
diff --git a/mail/enma/Makefile b/mail/enma/Makefile
index 8049ae18e646..359bcdc2220d 100644
--- a/mail/enma/Makefile
+++ b/mail/enma/Makefile
@@ -20,10 +20,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl-incdir=${OPENSSLINC} \
--with-ssl-libdir=${OPENSSLLIB}
-USES= gmake libtool perl5
+USES= gmake libtool perl5 ssl
USE_RC_SUBR= milter-enma
USE_LDCONFIG= yes
-USE_OPENSSL= yes
USE_PERL5= build
LDFLAGS+= -lssl
MANLANG= "" ja_JP.UTF-8
diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile
index aec60ad21563..2320d03e89fb 100644
--- a/mail/esmtp/Makefile
+++ b/mail/esmtp/Makefile
@@ -14,8 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libesmtp.so:mail/libesmtp
-USES= tar:bzip2 bison
-USE_OPENSSL= yes
+USES= tar:bzip2 bison ssl
GNU_CONFIGURE= yes
PORTDOCS= README
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 36efd8996a47..72d88b603c41 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -19,14 +19,13 @@ RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USERS= ${PORTNAME}
GROUPS= ${USERS}
-USES= cpe gmake shebangfix tar:xz
+USES= cpe gmake shebangfix tar:xz ssl
SHEBANG_FILES= fetchmailconf.py
USE_RC_SUBR= fetchmail
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-SDPS \
--without-hesiod --enable-fallback=no \
--with-ssl=${OPENSSLBASE}
diff --git a/mail/filtermail/Makefile b/mail/filtermail/Makefile
index 85d25d5de9ab..c5dc17afede1 100644
--- a/mail/filtermail/Makefile
+++ b/mail/filtermail/Makefile
@@ -23,8 +23,7 @@ EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filterm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= bison gmake
-USE_OPENSSL= yes
+USES= bison gmake ssl
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/mail/gbuffy/Makefile b/mail/gbuffy/Makefile
index 59e713566241..525da3b2d0cd 100644
--- a/mail/gbuffy/Makefile
+++ b/mail/gbuffy/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libPropList.so:devel/libPropList \
GNU_CONFIGURE= yes
LIBS+= -L${LOCALBASE}/lib
USE_GNOME= gtk12
-USE_OPENSSL= yes
+USES= ssl
PLIST_FILES= bin/gbuffy
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 96a2141f89f8..208c753b61c8 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -51,7 +51,7 @@ MAKE_ARGS+= WITH_DRAC=yes
.if ! ${PORT_OPTIONS:MSSL}
MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE}
.else
-USE_OPENSSL= yes
+USES+= ssl
.if ${PORT_OPTIONS:MSSL_AND_PLAINTEXT}
MAKE_ARGS+= SSLTYPE=unix
.else
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile
index db897a6f6eb6..00f6d5af3a92 100644
--- a/mail/libdkim/Makefile
+++ b/mail/libdkim/Makefile
@@ -11,13 +11,11 @@ COMMENT= DKIM (DomainKeys Identified Mail) library
LICENSE= APACHE20
-USES= uidfix zip
+USES= uidfix zip ssl
USE_LDCONFIG= YES
SHLIB_MAJOR= 1
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-USE_OPENSSL= YES
-
WRKSRC= ${WRKDIR}/${PORTNAME}/src
post-patch:
diff --git a/mail/libdomainkeys/Makefile b/mail/libdomainkeys/Makefile
index 3b4d61fb7153..93357e5cc929 100644
--- a/mail/libdomainkeys/Makefile
+++ b/mail/libdomainkeys/Makefile
@@ -9,14 +9,12 @@ MASTER_SITES= SF/domainkeys/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= DomainKeys library
-USES= uidfix
+USES= uidfix ssl
USE_LDCONFIG= yes
SHLIB_MAJOR= 3
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
-USE_OPENSSL= yes
-
post-patch:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 842950aa6376..68bd9a02976b 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -39,7 +39,7 @@ NLS_USES= gettext
GNUTLS_CONFIGURE_ON= --with-ssl=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
-OPENSSL_VARS= USE_OPENSSL=yes
+OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ON= --with-ssl=openssl
OPENSSL_CONFIGURE_ENV= libssl_CFLAGS="-I${OPENSSLINC}" \
libssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 72271c7f3fd0..58a74ae7b666 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/Makefile
@@ -43,7 +43,7 @@ MUTT_XFACE_DESC= Adds mutt X-Face support
MUTT_FLOCK_DESC= Use flock() for file locks
MUTT_ICONV_DESC= Enable mutt's iconv character conversion feature
-USE_OPENSSL= yes
+USES+= ssl
.if defined (MUTT_LITE)
PKGNAMESUFFIX= 14-lite
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 3b509d738c18..239c856f3025 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -61,7 +61,7 @@ OPTIONS_DEFAULT= SMTP FLOCK
.if ${PORT_OPTIONS:MTLS}
CONFIGURE_ARGS+= --with-tls
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if defined(WITH_DEBUG)
diff --git a/mail/panda-cclient/Makefile b/mail/panda-cclient/Makefile
index 8af8d8a30223..1e5b14d7aeb1 100644
--- a/mail/panda-cclient/Makefile
+++ b/mail/panda-cclient/Makefile
@@ -29,7 +29,7 @@ MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
PKGMESSAGE= pkg-message-ssl
.endif
diff --git a/mail/panda-imap/Makefile b/mail/panda-imap/Makefile
index 5226c883ffc1..f6431c12b1a8 100644
--- a/mail/panda-imap/Makefile
+++ b/mail/panda-imap/Makefile
@@ -48,7 +48,7 @@ MAKE_ARGS+= WITH_DRAC=yes
.if ! ${PORT_OPTIONS:MSSL}
MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE}
.else
-USE_OPENSSL= yes
+USES+= ssl
.if ${PORT_OPTIONS:MSSL_AND_PLAINTEXT}
MAKE_ARGS+= SSLTYPE=unix
.else
diff --git a/mail/pantomime/Makefile b/mail/pantomime/Makefile
index 9ba7616e24a8..1050f9e8baba 100644
--- a/mail/pantomime/Makefile
+++ b/mail/pantomime/Makefile
@@ -15,8 +15,7 @@ LICENSE= LGPL21
# The use of libiconv shouldn't be necessary, but a build dependency installs
# it and we end up picking up the header.
MAKE_ARGS+= LIBRARIES_DEPEND_UPON='${ICONV_LIB} -lssl'
-USES= gnustep iconv
-USE_OPENSSL= yes
+USES= gnustep iconv ssl
USE_GNUSTEP= back build
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
diff --git a/mail/pop3proxy/Makefile b/mail/pop3proxy/Makefile
index 97f87184dd63..1c85694f3c1d 100644
--- a/mail/pop3proxy/Makefile
+++ b/mail/pop3proxy/Makefile
@@ -12,8 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= POP3 Proxy Server derived from UP IMAP Proxy
GNU_CONFIGURE= yes
-USES= autoreconf
-USE_OPENSSL= yes
+USES= autoreconf ssl
USE_RC_SUBR= pop3proxyd
post-patch:
diff --git a/mail/popular/Makefile b/mail/popular/Makefile
index b0869b299d47..b9c8fa1e9eda 100644
--- a/mail/popular/Makefile
+++ b/mail/popular/Makefile
@@ -14,9 +14,8 @@ BUILD_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM
CONFLICTS= pserv-[0-9]* synce-librapi2-[0-9]*
-USES= libtool perl5 gmake tar:bzip2
+USES= libtool perl5 gmake tar:bzip2 ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
PDM_MODULES= any master
CONFIGURE_ARGS= --without-bdb --disable-docbook --with-confdir=${PREFIX}/etc/popular \
--enable-ssl --with-pdm="${PDM_MODULES}"
diff --git a/mail/qmail-tls/Makefile b/mail/qmail-tls/Makefile
index bd5318c03541..bf2df38a3be2 100644
--- a/mail/qmail-tls/Makefile
+++ b/mail/qmail-tls/Makefile
@@ -15,7 +15,7 @@ SLAVE_TLS= yes
TLS_PATCH_DATE= 20160918
-USE_OPENSSL= yes
+USES= ssl
# Local overrides
MASTERDIR= ${.CURDIR}/../qmail
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index bec3d94fb76a..557734ed0604 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -18,7 +18,7 @@ DIST_SUBDIR= qmail
CONFLICTS?= qmail-ldap-[0-9]* *qmail-mysql-[0-9]* qmail-spamcontrol-[0-9]* *qmail-tls-[0-9]*
CONFLICTS+= qmail-vida-[0-9]*
-USES= qmail:vars fakeroot
+USES+= qmail:vars fakeroot
PREFIX?= ${QMAIL_PREFIX}
PLIST_SUB+= QMAIL_PREFIX="${PREFIX}"
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index ca21753f12af..0a3672d65aaf 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -13,7 +13,7 @@ COMMENT= Traps spammers with a very slow smtp-login and return 4xx error
LICENSE= BSD2CLAUSE
USE_RC_SUBR?= obspamd obspamlogd
-USE_OPENSSL= yes
+USES= ssl
USERS= _spamd
GROUPS= _spamd
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index 826eb8c05517..ada48a0d188d 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -11,9 +11,8 @@ DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
MAINTAINER= aragon@phat.za.net
COMMENT= Extremely simple MTA to get mail off the system to a mail hub
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 ssl
GROUPS= ssmtp
SUB_FILES+= pkg-message
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 3721dcd8f55b..4d3aca83fba3 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -20,9 +20,8 @@ SLAVEDIRS= misc/amanda-client
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= charsetfix gmake libtool perl5 pkgconfig
+USES= charsetfix gmake libtool perl5 pkgconfig ssl
USE_GNOME= glib20
-USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--without-amlibexecdir \
diff --git a/misc/bibletime/Makefile b/misc/bibletime/Makefile
index a10820c0d90e..2557f6c63db7 100644
--- a/misc/bibletime/Makefile
+++ b/misc/bibletime/Makefile
@@ -13,8 +13,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libclucene-core.so:textproc/clucene \
libsword.so:misc/sword
-USES= cmake:outsource tar:xz
-USE_OPENSSL= yes
+USES= cmake:outsource tar:xz ssl
USE_QT4= corelib dbus gui iconengines network phonon qtestlib script \
svg webkit xml linguist_build moc_build qmake_build \
rcc_build uic_build
diff --git a/misc/linm/Makefile b/misc/linm/Makefile
index 08439be3e4de..4992726e9b67 100644
--- a/misc/linm/Makefile
+++ b/misc/linm/Makefile
@@ -14,8 +14,7 @@ COMMENT= Clone of Mdir, mc-style terminal file manager
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gettext pkgconfig gmake libtool ncurses
-USE_OPENSSL= yes
+USES= gettext pkgconfig gmake libtool ncurses ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-cfgpath="${ETCDIR}"
MAKE_JOBS_UNSAFE= yes
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index 1868264270e1..a6cc7e2f8211 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -32,7 +32,7 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=ac_cv_search_mhash_init=no
-USE_OPENSSL= yes
+USES+= ssl
.endif
# Prevent sendfile() from being detected by configure and rejected
diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile
index bb8174321aba..b3bdc2e18459 100644
--- a/multimedia/gstreamer1-plugins/Makefile
+++ b/multimedia/gstreamer1-plugins/Makefile
@@ -40,7 +40,7 @@ UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION}
UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX}
DIST?= base
-USES= gettext gmake libtool pathfix pkgconfig tar:xz
+USES+= gettext gmake libtool pathfix pkgconfig tar:xz
WANT_GSTREAMER= yes
USE_GNOME+= glib20 introspection:build libxml2
GNU_CONFIGURE= yes
diff --git a/multimedia/librtmp/Makefile b/multimedia/librtmp/Makefile
index 881b352130f3..39ac0aef78d8 100644
--- a/multimedia/librtmp/Makefile
+++ b/multimedia/librtmp/Makefile
@@ -11,9 +11,8 @@ COMMENT= RTMP stream library
LICENSE= GPLv2
-USES= pkgconfig tar:bz2
+USES= pkgconfig tar:bz2 ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
WRKSRC= ${WRKDIR}/${DISTNAME}/librtmp
diff --git a/multimedia/rtmpdump/Makefile b/multimedia/rtmpdump/Makefile
index dd1af9bd61ad..289b9741b0f3 100644
--- a/multimedia/rtmpdump/Makefile
+++ b/multimedia/rtmpdump/Makefile
@@ -13,8 +13,7 @@ LICENSE= GPLv2
LIB_DEPENDS= librtmp.so:multimedia/librtmp
-USES= pkgconfig tar:bz2
-USE_OPENSSL= yes
+USES= pkgconfig tar:bz2 ssl
MAKE_ENV= THREADLIB="-lpthread"
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB}
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index 55187ffd21d6..5ad4c50584aa 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -23,10 +23,9 @@ OPTIONS_DEFINE= ESOUND YAHOO
OPTIONS_SUB= yes
YAHOO_DESC= Include Yahoo service
-USES= gettext gmake iconv libtool pkgconfig shebangfix tar:bzip2
+USES= gettext gmake iconv libtool pkgconfig shebangfix tar:bzip2 ssl
USE_XORG= xpm xscrnsaver
USE_GNOME= gtk20
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-oscar --disable-workwizu --enable-smtp --enable-lj \
--disable-arts
diff --git a/net-im/centerim-devel/Makefile b/net-im/centerim-devel/Makefile
index 8f0421f5e80c..0f9bbf9eee66 100644
--- a/net-im/centerim-devel/Makefile
+++ b/net-im/centerim-devel/Makefile
@@ -16,9 +16,8 @@ LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= iconv gmake ncurses perl5 pkgconfig python:run shebangfix
+USES= iconv gmake ncurses perl5 pkgconfig python:run shebangfix ssl
USE_PERL5= run
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl --with-openssl
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile
index 569c78139ae8..da448c14128b 100644
--- a/net-im/centerim/Makefile
+++ b/net-im/centerim/Makefile
@@ -13,8 +13,7 @@ COMMENT= Text mode menu- and window-driven IM interface
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= iconv gmake ncurses pkgconfig shebangfix
-USE_OPENSSL= yes
+USES= iconv gmake ncurses pkgconfig shebangfix ssl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
diff --git a/net-im/climm/Makefile b/net-im/climm/Makefile
index 900ade1a1464..2ed225a70b15 100644
--- a/net-im/climm/Makefile
+++ b/net-im/climm/Makefile
@@ -67,7 +67,7 @@ LIB_DEPENDS+= libiksemel.so:textproc/iksemel \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
.else
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --disable-xmpp --enable-ssl=openssl
.endif
diff --git a/net-im/cutegram/Makefile b/net-im/cutegram/Makefile
index 6b5b8811e3ad..341f8973f4d5 100644
--- a/net-im/cutegram/Makefile
+++ b/net-im/cutegram/Makefile
@@ -22,10 +22,9 @@ GH_PROJECT= Cutegram aseman-qt-tools:tools
GH_TAGNAME= 91bf14b:tools
GH_SUBDIR= Cutegram/asemantools:tools
-USES= qmake:outsource desktop-file-utils
+USES= qmake:outsource desktop-file-utils ssl
USE_QT5= qmake_build buildtools_build core qml quick sql xml multimedia \
widgets dbus webkit quickcontrols graphicaleffects sql-sqlite3
-USE_OPENSSL= yes
QMAKE_ARGS= LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae" \
TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml"
INSTALLS_ICONS= yes
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile
index 476b773dbb69..7a70f385df5e 100644
--- a/net-im/ejabberd/Makefile
+++ b/net-im/ejabberd/Makefile
@@ -25,7 +25,7 @@ USERS= ejabberd
GROUPS= ${USERS}
GNU_CONFIGURE= yes
-USES= cpe gmake pkgconfig shebangfix
+USES= cpe gmake pkgconfig shebangfix ssl
USE_RC_SUBR= ${PORTNAME}
NOPRECIOUSMAKEVARS= yes
CPE_VENDOR= process-one
@@ -71,8 +71,6 @@ ICONV_USES= iconv:wchar_t
ICONV_LDFLAGS= ${ICONV_LIB}
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes
-USE_OPENSSL= yes
-
.include <bsd.port.pre.mk>
post-extract:
diff --git a/net-im/fugu/Makefile b/net-im/fugu/Makefile
index a8e9f015ea0f..71aa27cf0a72 100644
--- a/net-im/fugu/Makefile
+++ b/net-im/fugu/Makefile
@@ -14,8 +14,7 @@ LICENSE= GPLv2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Pmw>0:x11-toolkits/py-Pmw
-USE_OPENSSL= yes
-USES= python
+USES= python ssl
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/net-im/gale/Makefile b/net-im/gale/Makefile
index 659d28695115..b74de0e21b0c 100644
--- a/net-im/gale/Makefile
+++ b/net-im/gale/Makefile
@@ -15,10 +15,9 @@ LIB_DEPENDS= libgc.so:devel/boehm-gc \
libwwwcore.so:www/libwww \
libadns.so:dns/adns
-USES= iconv libtool ncurses
+USES= iconv libtool ncurses ssl
GNU_CONFIGURE= yes
USE_GNOME= glib12
-USE_OPENSSL= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/net-im/libqtelegram-ae/Makefile b/net-im/libqtelegram-ae/Makefile
index 7b7b84078dab..bf81d8e8fc00 100644
--- a/net-im/libqtelegram-ae/Makefile
+++ b/net-im/libqtelegram-ae/Makefile
@@ -18,9 +18,8 @@ USE_GITHUB= yes
GH_ACCOUNT= Aseman-Land
GH_PROJECT= libqtelegram-aseman-edition
-USES= qmake:outsource
+USES= qmake:outsource ssl
USE_QT5= qmake_build buildtools_build core gui network multimedia
-USE_OPENSSL= yes
USE_LDCONFIG= yes
post-patch:
diff --git a/net-im/libstrophe/Makefile b/net-im/libstrophe/Makefile
index e160adc19980..220ae8483694 100644
--- a/net-im/libstrophe/Makefile
+++ b/net-im/libstrophe/Makefile
@@ -14,10 +14,9 @@ LIB_DEPENDS= libexpat.so:textproc/expat2
USE_GITHUB= yes
GH_ACCOUNT= strophe
-USES= libtool pkgconfig autoreconf
+USES= libtool pkgconfig autoreconf ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
-USE_OPENSSL= yes
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/net-im/loudmouth/Makefile b/net-im/loudmouth/Makefile
index ead1d4ed3049..9ad251d22319 100644
--- a/net-im/loudmouth/Makefile
+++ b/net-im/loudmouth/Makefile
@@ -35,7 +35,7 @@ OPTIONS_RADIO_SSL= GNUTLS OPENSSL
LIB_DEPENDS+= libgnutls.so:security/gnutls
CONFIGURE_ARGS+=--with-ssl=gnutls
.elif ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+=--with-ssl=openssl
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
.else
diff --git a/net-im/pork/Makefile b/net-im/pork/Makefile
index 20b9cf37f751..7d36d5474dcf 100644
--- a/net-im/pork/Makefile
+++ b/net-im/pork/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= SF/ojnk/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Console-based AIM client
-USES= ncurses perl5
-USE_OPENSSL= yes
+USES= ncurses perl5 ssl
GNU_CONFIGURE= yes
post-patch:
diff --git a/net-im/telegramqml/Makefile b/net-im/telegramqml/Makefile
index 512332524304..8501d9f1c7d2 100644
--- a/net-im/telegramqml/Makefile
+++ b/net-im/telegramqml/Makefile
@@ -19,9 +19,8 @@ USE_GITHUB= yes
GH_ACCOUNT= Aseman-Land
GH_PROJECT= TelegramQML
-USES= qmake:outsource
+USES= qmake:outsource ssl
USE_QT5= qmake_build buildtools_build core qml quick sql xml multimedia
-USE_OPENSSL= yes
USE_LDCONFIG= yes
QMAKE_ARGS= BUILD_MODE+=lib \
LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae"
diff --git a/net-im/telepathy-gabble/Makefile b/net-im/telepathy-gabble/Makefile
index efcf6d2781ec..0456ac43fea2 100644
--- a/net-im/telepathy-gabble/Makefile
+++ b/net-im/telepathy-gabble/Makefile
@@ -23,9 +23,8 @@ RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
PORTSCOUT= limitw:1,even
-USES= alias gmake libtool pathfix pkgconfig python:2,build sqlite
+USES= alias gmake libtool pathfix pkgconfig python:2,build sqlite ssl
USE_GNOME= glib20 gtksourceview3 libxslt:build
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
CONFIGURE_ENV= LIBS="-pthread"
diff --git a/net-im/telepathy-idle/Makefile b/net-im/telepathy-idle/Makefile
index 1664b545a8ac..9a02270c3577 100644
--- a/net-im/telepathy-idle/Makefile
+++ b/net-im/telepathy-idle/Makefile
@@ -14,10 +14,9 @@ COMMENT= IRC Connection Manager for Telepathy Framework
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
libtelepathy-glib.so:net-im/telepathy-glib
-USES= execinfo gmake libtool pathfix pkgconfig python:2,build
+USES= execinfo gmake libtool pathfix pkgconfig python:2,build ssl
USE_GNOME= glib20 libxslt:build
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
diff --git a/net-im/telepathy-rakia/Makefile b/net-im/telepathy-rakia/Makefile
index a35426f66625..56cf930964e7 100644
--- a/net-im/telepathy-rakia/Makefile
+++ b/net-im/telepathy-rakia/Makefile
@@ -15,10 +15,9 @@ LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
libsofia-sip-ua-glib.so:net/sofia-sip \
libtelepathy-glib.so:net-im/telepathy-glib
-USES= gmake pathfix pkgconfig python:2,build
+USES= gmake pathfix pkgconfig python:2,build ssl
USE_GNOME= glib20 libxslt:build
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/net-im/telepathy-salut/Makefile b/net-im/telepathy-salut/Makefile
index df7e8d053109..ee45c4963a2a 100644
--- a/net-im/telepathy-salut/Makefile
+++ b/net-im/telepathy-salut/Makefile
@@ -16,9 +16,8 @@ LIB_DEPENDS= libavahi-glib.so:net/avahi-app \
libsoup-2.4.so:devel/libsoup
GNU_CONFIGURE= yes
-USES= gmake libtool pathfix pkgconfig python:2,build sqlite
+USES= gmake libtool pathfix pkgconfig python:2,build sqlite ssl
USE_GNOME= glib20 libxslt:build
-USE_OPENSSL= yes
CONFIGURE_ARGS= --disable-Werror --enable-avahi-tests=no
LDFLAGS+= -lpthread
INSTALL_TARGET= install-strip
diff --git a/net-im/telepathy-sofiasip/Makefile b/net-im/telepathy-sofiasip/Makefile
index 6b0f97767bba..497c2ff1551e 100644
--- a/net-im/telepathy-sofiasip/Makefile
+++ b/net-im/telepathy-sofiasip/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS= libsofia-sip-ua.so:net/sofia-sip \
libdbus-glib-1.so:devel/dbus-glib
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
-USES= pkgconfig gmake
+USES= pkgconfig gmake ssl
USE_GNOME= glib20
.include <bsd.port.mk>
diff --git a/net-mgmt/docsis/Makefile b/net-mgmt/docsis/Makefile
index dd20253aebb9..4732594cd425 100644
--- a/net-mgmt/docsis/Makefile
+++ b/net-mgmt/docsis/Makefile
@@ -15,8 +15,7 @@ BUILD_DEPENDS= gm4:devel/m4
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
-USES= bison
+USES= bison ssl
PLIST_SUB= MIBS=share/snmp/mibs
diff --git a/net-mgmt/icinga-core/Makefile b/net-mgmt/icinga-core/Makefile
index 23f247ee3a32..872c07f3f417 100644
--- a/net-mgmt/icinga-core/Makefile
+++ b/net-mgmt/icinga-core/Makefile
@@ -39,7 +39,7 @@ CONFIGURE_ARGS+= --enable-idoutils \
--with-dbi-inc=${LOCALBASE}/include
ALL_TARGET+= idoutils
INSTALL_TARGET+= install-idoutils
-USE_OPENSSL= yes
+USES+= ssl
USE_RC_SUBR+= ido2db
PLIST_SUB+= IDOUTILS=""
.else
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index aa21ffec4106..8369440c73a4 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= nagios-plugins-*
-USES= charsetfix gmake perl5 libtool
-USE_OPENSSL= yes
+USES= charsetfix gmake perl5 libtool ssl
USE_SUBMAKE= yes
OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 NLS DBI EXTRAOPTS SSH_PORTABLE
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index 6188a46ce005..e23466c8a4d6 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -17,8 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= monitoring-plugins-*
-USES= charsetfix gmake perl5 libtool
-USE_OPENSSL= yes
+USES= charsetfix gmake perl5 libtool ssl
USE_SUBMAKE= yes
OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 NLS DBI EXTRAOPTS SSH_PORTABLE
diff --git a/net-mgmt/nefu/Makefile b/net-mgmt/nefu/Makefile
index 441607e4ee9a..b2adac15664d 100644
--- a/net-mgmt/nefu/Makefile
+++ b/net-mgmt/nefu/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://rsug.itd.umich.edu/software/nefu/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network monitoring daemon
-USES= tar:tgz
+USES= tar:tgz ssl
USE_RC_SUBR= nefu
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
@@ -27,7 +27,6 @@ CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} \
USERS= nefu
GROUPS= nefu
-USE_OPENSSL= yes
OPTIONS_DEFINE= LDAP HTML
HTML_DESC= HTML support
OPTIONS_SUB= yes
diff --git a/net-mgmt/netxms/Makefile b/net-mgmt/netxms/Makefile
index 59aed84bc094..55a1b79d7c94 100644
--- a/net-mgmt/netxms/Makefile
+++ b/net-mgmt/netxms/Makefile
@@ -43,8 +43,7 @@ SQLITE_USES= sqlite
ODBC_CONFIGURE_ON= --with-odbc
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
-USE_OPENSSL= yes
-USES= gmake iconv libtool perl5
+USES= gmake iconv libtool perl5 ssl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
diff --git a/net-mgmt/sysmon/Makefile b/net-mgmt/sysmon/Makefile
index 22c21a67e764..b869f2711701 100644
--- a/net-mgmt/sysmon/Makefile
+++ b/net-mgmt/sysmon/Makefile
@@ -14,8 +14,7 @@ COMMENT= Network tool designed for high performance and accurate monitoring
LICENSE= GPLv2
GNU_CONFIGURE= yes
-USES= alias
-USE_OPENSSL= yes
+USES= alias ssl
OPTIONS_DEFINE= DOCS
diff --git a/net-p2p/eiskaltdcpp-daemon/Makefile b/net-p2p/eiskaltdcpp-daemon/Makefile
index 2b6d218539e0..4dc7d7f74cd8 100644
--- a/net-p2p/eiskaltdcpp-daemon/Makefile
+++ b/net-p2p/eiskaltdcpp-daemon/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
-USES= cmake gettext compiler:c++11-lib
-USE_OPENSSL= yes
+USES= cmake gettext compiler:c++11-lib ssl
OPTIONS_SINGLE= UI
OPTIONS_SINGLE_UI= NOUI XMLRPC JSONRPC
diff --git a/net-p2p/eiskaltdcpp-gtk/Makefile b/net-p2p/eiskaltdcpp-gtk/Makefile
index cbaba7f32762..415f0a69908f 100644
--- a/net-p2p/eiskaltdcpp-gtk/Makefile
+++ b/net-p2p/eiskaltdcpp-gtk/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
-USES= cmake gettext compiler:c++11-lib desktop-file-utils
-USE_OPENSSL= yes
+USES= cmake gettext compiler:c++11-lib desktop-file-utils ssl
USE_GNOME= pango glib20
OPTIONS_DEFINE= LIBNOTIFY FREE_SPACE
diff --git a/net-p2p/eiskaltdcpp-lib/Makefile b/net-p2p/eiskaltdcpp-lib/Makefile
index 2896a8d0af28..3afb4a73c3ac 100644
--- a/net-p2p/eiskaltdcpp-lib/Makefile
+++ b/net-p2p/eiskaltdcpp-lib/Makefile
@@ -18,8 +18,7 @@ USE_GITHUB= yes
.if !defined (MASTERDIR)
LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= cmake gettext compiler:c++11-lib
-USE_OPENSSL= yes
+USES= cmake gettext compiler:c++11-lib ssl
USE_LDCONFIG= yes
OPTIONS_DEFINE= LUA PCRE IDN DHT MINIUPNP
diff --git a/net-p2p/eiskaltdcpp-qt/Makefile b/net-p2p/eiskaltdcpp-qt/Makefile
index afd40867a688..3ee784b0250b 100644
--- a/net-p2p/eiskaltdcpp-qt/Makefile
+++ b/net-p2p/eiskaltdcpp-qt/Makefile
@@ -16,8 +16,7 @@ LIB_DEPENDS= libeiskaltdcpp.so:net-p2p/eiskaltdcpp-lib
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
-USES= cmake gettext compiler:c++11-lib desktop-file-utils
-USE_OPENSSL= yes
+USES= cmake gettext compiler:c++11-lib desktop-file-utils ssl
USE_QT4= gui xml network qmake_build uic_build \
moc_build rcc_build linguisttools_build
diff --git a/net-p2p/linuxdcpp/Makefile b/net-p2p/linuxdcpp/Makefile
index eb4275c49870..6786eecb2fdb 100644
--- a/net-p2p/linuxdcpp/Makefile
+++ b/net-p2p/linuxdcpp/Makefile
@@ -14,9 +14,8 @@ LICENSE_FILE= ${WRKSRC}/License.txt
BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs
-USES= gettext iconv pkgconfig scons tar:bzip2
+USES= gettext iconv pkgconfig scons tar:bzip2 ssl
USE_GNOME= libglade2
-USE_OPENSSL= yes
PORTDOCS= *
DESTDIRNAME= FAKE_ROOT
diff --git a/net-p2p/minder/Makefile b/net-p2p/minder/Makefile
index ca9b0e8f958b..ebe180916a35 100644
--- a/net-p2p/minder/Makefile
+++ b/net-p2p/minder/Makefile
@@ -14,9 +14,8 @@ LICENSE= GPLv2+
LIB_DEPENDS= libSockets.so:net/Sockets
-USES= gmake pkgconfig
+USES= gmake pkgconfig ssl
USE_GNOME= libxml2
-USE_OPENSSL= yes
CFLAGS+= -DHAVE_OPENSSL
CPPFLAGS+= $$(pkg-config --cflags libxml-2.0) \
diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile
index 44618558606b..1de165ac7072 100644
--- a/net-p2p/opendchub/Makefile
+++ b/net-p2p/opendchub/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Unofficial Unix version of the Direct Connect Hub software
-USES= perl5 gmake
-USE_OPENSSL= yes
+USES= perl5 gmake ssl
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
diff --git a/net-p2p/unworkable/Makefile b/net-p2p/unworkable/Makefile
index d74e3e5b2c17..8c3645d320be 100644
--- a/net-p2p/unworkable/Makefile
+++ b/net-p2p/unworkable/Makefile
@@ -18,8 +18,7 @@ EXPIRATION_DATE= 2017-04-30
LIB_DEPENDS= libevent.so:devel/libevent
-USES= scons
-USE_OPENSSL= yes
+USES= scons ssl
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile
index c15a1178139a..42154a16d6cf 100644
--- a/net-p2p/verlihub/Makefile
+++ b/net-p2p/verlihub/Makefile
@@ -20,11 +20,10 @@ RUN_DEPENDS= bash:shells/bash
LIBS+= -L${LOCALBASE}/lib
USE_RC_SUBR= verlihub
-USES= libtool
+USES= libtool ssl
USE_MYSQL= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_OPENSSL= yes
SUB_FILES+= pkg-message
post-patch:
diff --git a/net/c3270/Makefile b/net/c3270/Makefile
index cf5263dcc686..99e9c1feb1f5 100644
--- a/net/c3270/Makefile
+++ b/net/c3270/Makefile
@@ -18,7 +18,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= ac_cv_search_libiconv=${ICONV_LIB}
USES= iconv readline gmake
-USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
@@ -49,7 +48,8 @@ PORTDOCS= *
.if ! ${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --disable-ssl
-.undef USE_OPENSSL
+.else
+USES+= ssl
.endif
.if ! ${PORT_OPTIONS:MREADLINE}
diff --git a/net/crtmpserver/Makefile b/net/crtmpserver/Makefile
index 3c448cf1ee6b..6e39e36447f5 100644
--- a/net/crtmpserver/Makefile
+++ b/net/crtmpserver/Makefile
@@ -14,10 +14,9 @@ LICENSE= GPLv3
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
-USES= cmake:outsource execinfo lua
+USES= cmake:outsource execinfo lua ssl
CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake
CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${PREFIX} -DTEMP_FRAMEWORK_VER=${PORTVERSION}
-USE_OPENSSL= yes
USERS= crtmpserver
GROUPS= crtmpserver
diff --git a/net/cvsync/Makefile b/net/cvsync/Makefile
index 200e464325da..fc07d0baaeb5 100644
--- a/net/cvsync/Makefile
+++ b/net/cvsync/Makefile
@@ -13,9 +13,8 @@ COMMENT= Portable CVS repository synchronization utility
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/COPYRIGHT
-USES= gmake
+USES= gmake ssl
USE_RC_SUBR= cvsyncd
-USE_OPENSSL= yes
PORTDOCS= ChangeLog FAQ TODO
PORTEXAMPLES= cvsync.conf cvsyncd-FreeBSD.conf \
diff --git a/net/easysoap/Makefile b/net/easysoap/Makefile
index 853bd905edcf..a263509b1dee 100644
--- a/net/easysoap/Makefile
+++ b/net/easysoap/Makefile
@@ -15,8 +15,7 @@ LICENSE= LGPL21
LIB_DEPENDS= libexpat.so:textproc/expat2
-USE_OPENSSL= yes
-USES= libtool
+USES= libtool ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_stdcpp_main=no
INSTALL_TARGET= install-strip
diff --git a/net/echoping/Makefile b/net/echoping/Makefile
index 444e0f9574bd..347de84d7cef 100644
--- a/net/echoping/Makefile
+++ b/net/echoping/Makefile
@@ -16,9 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpopt.so:devel/popt \
libidn.so:dns/libidn
-USES= cpe libtool
+USES= cpe libtool ssl
CPE_VENDOR= echoping_project
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
--enable-ttcp --enable-tos --with-libidn=${LOCALBASE} \
diff --git a/net/g2ipmsg/Makefile b/net/g2ipmsg/Makefile
index 5f2bce1902fc..1a7c77d96949 100644
--- a/net/g2ipmsg/Makefile
+++ b/net/g2ipmsg/Makefile
@@ -12,10 +12,9 @@ COMMENT= Popup style message communication tool for GNOME2
LICENSE= GPLv2+
-USES= gettext gmake pathfix pkgconfig
+USES= gettext gmake pathfix pkgconfig ssl
USE_GNOME= gnomeprefix intltool libgnomeui
USE_GSTREAMER= vorbis
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doxygen-doc \
--enable-systray \
diff --git a/net/glusterfs/Makefile b/net/glusterfs/Makefile
index 7e5514af1751..617d229ebd21 100644
--- a/net/glusterfs/Makefile
+++ b/net/glusterfs/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libargp.so:devel/argp-standalone liburcu-bp.so:sysutils/liburcu
USE_GCC= any
USES= bison gettext libtool pkgconfig python readline shebangfix \
- sqlite
+ sqlite ssl
SHEBANG_FILES= extras/ganesha/scripts/create-export-ganesha.sh \
extras/ganesha/scripts/dbus-send.sh \
@@ -28,7 +28,6 @@ SHEBANG_FILES= extras/ganesha/scripts/create-export-ganesha.sh \
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
-USE_OPENSSL= yes
USE_RC_SUBR= glusterd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
diff --git a/net/gogoc/Makefile b/net/gogoc/Makefile
index 66b94799efbf..9128052d873d 100644
--- a/net/gogoc/Makefile
+++ b/net/gogoc/Makefile
@@ -11,9 +11,8 @@ DISTNAME= gogoc-1_2-RELEASE
MAINTAINER= kami@k5-storitve.net
COMMENT= GogoCLIENT, connect to Freenet6 tunnel
-USES= gmake
+USES= gmake ssl
USE_RC_SUBR= gogoc
-USE_OPENSSL= yes
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/net/ifstat/Makefile b/net/ifstat/Makefile
index 57c90900bf84..d7984c8fd46e 100644
--- a/net/ifstat/Makefile
+++ b/net/ifstat/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= alexey@renatasystems.org
COMMENT= Network interface statistics monitoring tool
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
+USES= ssl
OPTIONS_DEFINE= SNMP
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
diff --git a/net/libarms/Makefile b/net/libarms/Makefile
index c56b15179992..d012e809648c 100644
--- a/net/libarms/Makefile
+++ b/net/libarms/Makefile
@@ -14,9 +14,8 @@ COMMENT= SMFv2/ARMS client library for C
LIB_DEPENDS= libexpat.so:textproc/expat2
GNU_CONFIGURE= yes
-USES= gmake libtool
+USES= gmake libtool ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/net/libexosip2/Makefile b/net/libexosip2/Makefile
index 989516d52d5e..c978cf05f31a 100644
--- a/net/libexosip2/Makefile
+++ b/net/libexosip2/Makefile
@@ -18,9 +18,8 @@ CONFLICTS_INSTALL= libeXosip2-legacy-[0-9]*
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= libtool
+USES= libtool ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
SHLIB_VER= 11
PLIST_SUB+= SHLIB_VER=${SHLIB_VER}
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index df4b971400f7..f48316eed100 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -17,7 +17,7 @@ NG_IPACCT_DESC= Use ng_ipacct kernel module from port
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
-USE_OPENSSL= yes
+USES= ssl
.include <bsd.port.options.mk>
diff --git a/net/netembryo/Makefile b/net/netembryo/Makefile
index 09be5d9f7c66..db3164b7abd9 100644
--- a/net/netembryo/Makefile
+++ b/net/netembryo/Makefile
@@ -32,7 +32,7 @@ INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB}"
.else
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 968c6ee37123..55cf66eac601 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -23,9 +23,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \
DBDIR?= /var/db
-USES= autoreconf:build cpe gmake libtool python
+USES= autoreconf:build cpe gmake libtool python ssl
USE_GNOME= libxml2
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_SUB= DBDIR=${DBDIR} \
diff --git a/net/openbsc/Makefile b/net/openbsc/Makefile
index a52e7067a68e..fac3927027eb 100644
--- a/net/openbsc/Makefile
+++ b/net/openbsc/Makefile
@@ -20,8 +20,7 @@ LIB_DEPENDS= libdbi.so:databases/libdbi \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
-USES= autoreconf compiler:c11 gmake pathfix pkgconfig
-USE_OPENSSL= yes
+USES= autoreconf compiler:c11 gmake pathfix pkgconfig ssl
GNU_CONFIGURE= yes
AUTOMAKE_ARGS= --gnu --add-missing --copy
CONFIGURE_ARGS+= CFLAGS="-I${LOCALBASE}/include"
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index 543ac6fa80df..ea6b75635a62 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -12,8 +12,7 @@ COMMENT= Open-source implementation of the Service Location Protocol
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= alias libtool
-USE_OPENSSL= yes
+USES= alias libtool ssl
USE_LDCONFIG= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \
--localstatedir=/var
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile
index a94cdbbe05e6..552e816fe4b1 100644
--- a/net/openvswitch/Makefile
+++ b/net/openvswitch/Makefile
@@ -11,9 +11,8 @@ COMMENT= Production quality, multilayer virtual switch
LICENSE= APACHE20
-USES= cpe gmake libtool perl5 pkgconfig python shebangfix
+USES= cpe gmake libtool perl5 pkgconfig python shebangfix ssl
SHEBANG_FILES= vtep/ovs-vtep
-USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --localstatedir=/var \
diff --git a/net/p5-Socket-Class/Makefile b/net/p5-Socket-Class/Makefile
index 1bee0a81b612..66127fb5e876 100644
--- a/net/p5-Socket-Class/Makefile
+++ b/net/p5-Socket-Class/Makefile
@@ -11,8 +11,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl class to communicate with sockets
-USES= perl5
-USE_OPENSSL= yes
+USES= perl5 ssl
USE_PERL5= configure
.include <bsd.port.mk>
diff --git a/net/pipsecd/Makefile b/net/pipsecd/Makefile
index d77ccbd4a645..fc155897788b 100644
--- a/net/pipsecd/Makefile
+++ b/net/pipsecd/Makefile
@@ -12,7 +12,7 @@ DISTNAME= pipsec-19991014
MAINTAINER= cy@FreeBSD.org
COMMENT= Simple IPSEC tunnel tool from Pierre Beyssac
-USE_OPENSSL= YES
+USES+= ssl
ALL_TARGET= pipsecd
diff --git a/net/proftpd-mod_ldap/Makefile b/net/proftpd-mod_ldap/Makefile
index 77ba0f09c5ad..c681f1c4a29e 100644
--- a/net/proftpd-mod_ldap/Makefile
+++ b/net/proftpd-mod_ldap/Makefile
@@ -16,7 +16,7 @@ DESCR= ${.CURDIR}/pkg-descr
MASTERDIR= ${.CURDIR}/../../ftp/proftpd
USE_OPENLDAP= yes
-USE_OPENSSL= yes
+USES= ssl
INCLUDEDIRS= ${LOCALBASE}/include
LIBDIRS= ${LOCALBASE}/lib
diff --git a/net/qoauth/Makefile b/net/qoauth/Makefile
index 2b6fe832d394..c09a1c86879f 100644
--- a/net/qoauth/Makefile
+++ b/net/qoauth/Makefile
@@ -13,10 +13,9 @@ COMMENT= Qt 4 support for OAuth-powered network services
LIB_DEPENDS= libqca.so:devel/qca
-USES= qmake tar:bzip2
+USES= qmake tar:bzip2 ssl
USE_LDCONFIG= yes
USE_QT4= corelib qtestlib network moc_build
-USE_OPENSSL= yes
post-patch:
@${REINPLACE_CMD} -e 's,target.path}/pkgconfig,INSTALL_PREFIX}/libdata/pkgconfig,g' \
diff --git a/net/radsecproxy/Makefile b/net/radsecproxy/Makefile
index 831bb1e5e6f6..5a097d311509 100644
--- a/net/radsecproxy/Makefile
+++ b/net/radsecproxy/Makefile
@@ -12,12 +12,11 @@ COMMENT= Radsecproxy is a generic RADIUS proxy
LICENSE= GPLv2 BSD3CLAUSE
LICENSE_COMB= dual
-USES= cpe tar:xz
+USES= cpe tar:xz ssl
CPE_VENDOR= uninett
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
-USE_OPENSSL= yes
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
post-install:
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile
index ca5f1340a2bd..4de668764d5f 100644
--- a/net/rdesktop/Makefile
+++ b/net/rdesktop/Makefile
@@ -12,9 +12,8 @@ COMMENT= RDP client for Windows NT/2000/2003 Terminal Server
LICENSE= GPLv3
USE_XORG= x11
-USES= gmake iconv pkgconfig
+USES= gmake iconv pkgconfig ssl
CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} --disable-credssp
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
DOCS= doc/AUTHORS doc/TODO doc/*.txt
diff --git a/net/relayd/Makefile b/net/relayd/Makefile
index fcd96a81556c..320b4634a330 100644
--- a/net/relayd/Makefile
+++ b/net/relayd/Makefile
@@ -12,9 +12,8 @@ LICENSE= ISCL
GH_ACCOUNT= mmatuska
-USES= uidfix
+USES= uidfix ssl
USE_GITHUB= yes
-USE_OPENSSL= yes
USE_RC_SUBR= relayd
WRKSRC_SUBDIR= src/usr.sbin
diff --git a/net/sofia-sip/Makefile b/net/sofia-sip/Makefile
index 8547d17c329e..1d2d7ed870ff 100644
--- a/net/sofia-sip/Makefile
+++ b/net/sofia-sip/Makefile
@@ -14,8 +14,7 @@ LICENSE= LGPL21
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
# Looks like GNU make(1) is needed for parallel (-jX) builds to work
-USES= gmake libtool pathfix pkgconfig
-USE_OPENSSL= yes
+USES= gmake libtool pathfix pkgconfig ssl
USE_GNOME= glib20
.include <bsd.port.mk>
diff --git a/net/ssldump/Makefile b/net/ssldump/Makefile
index 53335e3279b2..f52977d7c867 100644
--- a/net/ssldump/Makefile
+++ b/net/ssldump/Makefile
@@ -12,7 +12,7 @@ PATCH_SITES= https://gist.githubusercontent.com/mtigas/5969597/raw/e62ea9ab8a66a
MAINTAINER= arved@FreeBSD.org
COMMENT= SSLv3/TLS network protocol analyzer
-USE_OPENSSL= yes
+USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
diff --git a/net/stone/Makefile b/net/stone/Makefile
index 72a4bbc2d663..4c1f1f3f58c7 100644
--- a/net/stone/Makefile
+++ b/net/stone/Makefile
@@ -14,12 +14,13 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-2.3d-2.3.2.7
USE_RC_SUBR= stone
-USE_OPENSSL= yes
+.if !defined(WITHOUT_SSL)
+USES= ssl
+.endif
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SSL)
-.undef USE_OPENSSL
ALL_TARGET= bsd-pop
MAKE_ARGS= POP_LIBS="-lmd" LIBS="-DUNIX_DAEMON"
post-extract:
diff --git a/net/svnup/Makefile b/net/svnup/Makefile
index df9027a88f59..b2e18165189b 100644
--- a/net/svnup/Makefile
+++ b/net/svnup/Makefile
@@ -16,8 +16,7 @@ OPTIONS_DEFINE= DOCS
CFLAGS= -I${OPENSSLINC}
LDFLAGS= -L${OPENSSLLIB} -lmd -lssl
-USES= tar:xz
-USE_OPENSSL= yes
+USES= tar:xz ssl
PORTDOCS= ChangeLog
diff --git a/net/tinyfugue/Makefile b/net/tinyfugue/Makefile
index d598b8483c09..8539cb94fa49 100644
--- a/net/tinyfugue/Makefile
+++ b/net/tinyfugue/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-manpage --enable-version --enable-symlink \
--datadir=${PREFIX}/lib --with-inclibpfx=${LOCALBASE}
-USE_OPENSSL= yes
+USES= ssl
LDFLAGS+= -L${LOCALBASE}
PLIST_SUB= DISTNAME=${DISTNAME}
diff --git a/net/ulxmlrpcpp/Makefile b/net/ulxmlrpcpp/Makefile
index 3710625032d6..82075d59fe3b 100644
--- a/net/ulxmlrpcpp/Makefile
+++ b/net/ulxmlrpcpp/Makefile
@@ -15,8 +15,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= tar:bzip2 pathfix iconv libtool
-USE_OPENSSL= yes
+USES= tar:bzip2 pathfix iconv libtool ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
INSTALL_TARGET= install-strip
diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile
index d126bc3c32f4..6c0119c799f4 100644
--- a/net/x11vnc/Makefile
+++ b/net/x11vnc/Makefile
@@ -19,8 +19,7 @@ USE_XORG= x11 xcb xdamage xfixes xrandr xinerama xext xtst xau xrender \
xdmcp recordproto
# Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS
LDFLAGS+= -L${LOCALBASE}/lib
-USE_OPENSSL= yes
-USES= iconv pkgconfig jpeg
+USES= iconv pkgconfig jpeg ssl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile
index 204fbec63aba..e5697edfa4da 100644
--- a/news/newsstar/Makefile
+++ b/news/newsstar/Makefile
@@ -38,7 +38,7 @@ INSTALL_TARGET= install-am
.endif
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
.else
CONFIGURE_ARGS+=--disable-ssl
.endif
diff --git a/news/suck/Makefile b/news/suck/Makefile
index a741a1e226c9..4d5e514e09b7 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -59,7 +59,7 @@ CONFLICTS+= suck-cnews-4.*
.endif
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
MAKE_ENV+= SSL_LIB="-lssl -lcrypto"
MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL"
MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}"
diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile
index 88ce4af3f9f3..bd10034f4dfa 100644
--- a/print/gtklp/Makefile
+++ b/print/gtklp/Makefile
@@ -18,10 +18,9 @@ LIB_DEPENDS= libcups.so:print/cups
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= autoreconf gettext libtool pkgconfig
+USES= autoreconf gettext libtool pkgconfig ssl
GNU_CONFIGURE= yes
USE_GNOME= gtk20
-USE_OPENSSL= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/russian/ircd-hybrid/Makefile b/russian/ircd-hybrid/Makefile
index aa3d0efc921a..315d3c4ee695 100644
--- a/russian/ircd-hybrid/Makefile
+++ b/russian/ircd-hybrid/Makefile
@@ -20,8 +20,7 @@ CONFLICTS= ircd-[0-9]* irc-[0-9]* charybdis-[0-9]* Nefarious-[0-9]* ircd-hybrid-
BROKEN_aarch64= Fails to compile: error: passing void * to parameter of incompatible type
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-ru
-USE_OPENSSL= yes
-USES= bison
+USES= bison ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd-hybrid-ru
diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile
index 979920505b20..a9635e7969df 100644
--- a/security/apache-xml-security-c/Makefile
+++ b/security/apache-xml-security-c/Makefile
@@ -12,13 +12,11 @@ COMMENT= Apache XML security libraries - C++ version
LICENSE= APACHE20
-USE_OPENSSL= yes
-
LIB_DEPENDS+= libxerces-c.so.3:textproc/xerces-c3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-xerces=${LOCALBASE}
-USES= gmake libtool tar:bzip2
+USES= gmake libtool tar:bzip2 ssl
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
diff --git a/security/botan110/Makefile b/security/botan110/Makefile
index 050d31529a23..e15762fe7bfe 100644
--- a/security/botan110/Makefile
+++ b/security/botan110/Makefile
@@ -36,7 +36,7 @@ BROKEN_aarch64= Fails to configure: unknown or unidentifiable processor arm64
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+=--with-openssl
.endif
diff --git a/security/chntpw/Makefile b/security/chntpw/Makefile
index a8cf72f131dc..3bf9d4ab0116 100644
--- a/security/chntpw/Makefile
+++ b/security/chntpw/Makefile
@@ -15,8 +15,7 @@ LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
-USE_OPENSSL= yes
-USES= gmake zip
+USES= gmake zip ssl
BIN_FILES= chntpw cpnt reged
PLIST_FILES= ${BIN_FILES:C|^|bin/|}
diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common
index 0b589b4f3626..6baa204afdf2 100644
--- a/security/cyrus-sasl2/Makefile.common
+++ b/security/cyrus-sasl2/Makefile.common
@@ -12,7 +12,7 @@ LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USE_LDCONFIG= yes
-USE_OPENSSL= yes
+USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc \
@@ -62,7 +62,7 @@ CYRUS_BUILD_TARGET?= ${PORTNAME}
INSTALL_WRKSRC= ${WRKSRC}/plugins
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
-USES= libtool:build
+USES+= libtool:build
PLIST_FILES+= lib/sasl2/lib${CYRUS_BUILD_TARGET}.a \
lib/sasl2/lib${CYRUS_BUILD_TARGET}.so \
diff --git a/security/eschalot/Makefile b/security/eschalot/Makefile
index 973455771911..22b02d833484 100644
--- a/security/eschalot/Makefile
+++ b/security/eschalot/Makefile
@@ -15,8 +15,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ReclaimYourPrivacy
GH_TAGNAME= e9e085e
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
MAKE_ENV= INSTALL="${INSTALL_PROGRAM}"
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
TEST_TARGET= test
diff --git a/security/esteidfirefoxplugin/Makefile b/security/esteidfirefoxplugin/Makefile
index 2fec881bd714..8d1aa9b068a2 100644
--- a/security/esteidfirefoxplugin/Makefile
+++ b/security/esteidfirefoxplugin/Makefile
@@ -13,9 +13,8 @@ LICENSE= LGPL21
RUN_DEPENDS= opensc-tool:security/opensc \
pcscd:devel/pcsc-lite
-USE_OPENSSL= yes
USE_GNOME= gtk20
-USES= webplugin:gecko pkgconfig
+USES= webplugin:gecko pkgconfig ssl
WEBPLUGIN_DIR= ${PREFIX}/lib
WEBPLUGIN_FILES= npesteid-firefox-plugin.so
diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile
index fab7b57d60cd..5b5010ba8e4c 100644
--- a/security/fwbuilder/Makefile
+++ b/security/fwbuilder/Makefile
@@ -47,8 +47,7 @@ USE_QT4= corelib \
QTDIR?= ${PREFIX}
-USE_OPENSSL= yes
-USES= autoreconf:build gmake libtool
+USES= autoreconf:build gmake libtool ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
INSTALL_ROOT=${STAGEDIR}
diff --git a/security/gstreamer1-plugins-dtls/Makefile b/security/gstreamer1-plugins-dtls/Makefile
index f13fc26ac56b..9ac6eac0982b 100644
--- a/security/gstreamer1-plugins-dtls/Makefile
+++ b/security/gstreamer1-plugins-dtls/Makefile
@@ -9,7 +9,7 @@ GST_PLUGIN= dtls
DIST= bad
# we don't have a way to specify this in ${MASTERDIR}/Makefile.common
-USE_OPENSSL= yes
+USES= ssl
CONFIGURE_ENV= DTLS_CFLAGS="-I${OPENSSLINC}" \
DTLS_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
diff --git a/security/hpenc/Makefile b/security/hpenc/Makefile
index e89c0e4027ce..182129c396e6 100644
--- a/security/hpenc/Makefile
+++ b/security/hpenc/Makefile
@@ -16,8 +16,7 @@ BROKEN_powerpc64= Does not build
NOT_FOR_ARCHS= aarch64 sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this architecture
-USES= tar:xz compiler:c++11-lib gmake
-USE_OPENSSL= yes
+USES= tar:xz compiler:c++11-lib gmake ssl
PLIST_FILES= bin/hpenc man/man1/hpenc.1.gz
MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}"
diff --git a/security/hs-HsOpenSSL/Makefile b/security/hs-HsOpenSSL/Makefile
index 5548a23f93dc..e144d0a16f5d 100644
--- a/security/hs-HsOpenSSL/Makefile
+++ b/security/hs-HsOpenSSL/Makefile
@@ -9,7 +9,7 @@ COMMENT= Partial OpenSSL binding for Haskell
USE_CABAL= network>=2.1 old-locale>=1.0
-USE_OPENSSL= yes
+USES= ssl
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/security/ike/Makefile b/security/ike/Makefile
index c75cc9bd5d0c..b334dfbc094a 100644
--- a/security/ike/Makefile
+++ b/security/ike/Makefile
@@ -14,8 +14,7 @@ COMMENT= Shrew Soft IKE daemon and client tools
ONLY_FOR_ARCHS= i386 amd64
USE_RC_SUBR= iked
-USES= bison cmake libedit localbase:ldflags tar:tbz2
-USE_OPENSSL= yes
+USES= bison cmake libedit localbase:ldflags tar:tbz2 ssl
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index 8d59a62db2f1..7771b5116906 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -18,11 +18,10 @@ COMMENT= KAME racoon IKE daemon, ipsec-tools version
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 \
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index 0b372b79091f..bba4868b2626 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -20,12 +20,10 @@ BROKEN= requires IPsec support
BUILD_DEPENDS+= keynote:security/keynote
.endif
-USES= uidfix
+USES= uidfix ssl
USE_RC_SUBR= isakmpd
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
-USE_OPENSSL= yes
-
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
diff --git a/security/keynote/Makefile b/security/keynote/Makefile
index 7f9083572a6b..eed7ac9ccb99 100644
--- a/security/keynote/Makefile
+++ b/security/keynote/Makefile
@@ -13,8 +13,8 @@ COMMENT= Trust-Management System
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake # required to support parallel (-jX) builds
-USE_OPENSSL= yes
+# gmake required to support parallel (-jX) builds
+USES= gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= SSLEAY="${OPENSSLBASE}/bin" OPENSSLLIB="${OPENSSLLIB}" \
OPENSSLINC="${OPENSSLINC}"
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index 97cb0793260c..c4ecd438fa99 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -15,13 +15,12 @@ LICENSE= GPLv2
BUILD_DEPENDS= xmlsec1:security/xmlsec1
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= cpe libtool pathfix pkgconfig
+USES= cpe libtool pathfix pkgconfig ssl
CPE_VENDOR= entrouvert
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-java --with-zlib
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
-USE_OPENSSL= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= PERL PHP PYTHON DOCS
diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile
index d20e3f7b81a3..acd993ddba3f 100644
--- a/security/libfprint/Makefile
+++ b/security/libfprint/Makefile
@@ -14,9 +14,8 @@ LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick \
libnss3.so:security/nss
GNU_CONFIGURE= yes
-USES= libtool pathfix pkgconfig tar:xz
+USES= libtool pathfix pkgconfig tar:xz ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
USE_GNOME= glib20
INSTALL_TARGET= install-strip
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index f5e7b74ee950..a6b9c622eb64 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -21,8 +21,7 @@ OPENCT_DESC= Use OpenCT backend
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
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 34f41f2a01a8..d7ca5ef9b3d3 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -17,9 +17,8 @@ COMMENT= The portable version of OpenBSD's OpenSSH
CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.* openssh-portable-devel-*
-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 \
diff --git a/security/osiris/Makefile b/security/osiris/Makefile
index bc44e4c49a7c..6154a9dc5f19 100644
--- a/security/osiris/Makefile
+++ b/security/osiris/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Shmoo client/server host integrity checker
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
+USES= ssl
OPTIONS_DEFINE= OSIRISMD OSIRISD PRINTDB CLI
OPTIONS_DEFAULT= OSIRISD
diff --git a/security/osslsigncode/Makefile b/security/osslsigncode/Makefile
index 970f132e6add..d7d161e65a2d 100644
--- a/security/osslsigncode/Makefile
+++ b/security/osslsigncode/Makefile
@@ -12,9 +12,8 @@ COMMENT= OpenSSL-based signcode utility
PLIST_FILES= bin/osslsigncode
-USES= pkgconfig
+USES= pkgconfig ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
OPTIONS_DEFINE= CURL GSF
OPTIONS_DEFAULT= CURL GSF
diff --git a/security/p5-Crypt-OpenSSL-AES/Makefile b/security/p5-Crypt-OpenSSL-AES/Makefile
index 67c6f7942ba3..e92ab745af5b 100644
--- a/security/p5-Crypt-OpenSSL-AES/Makefile
+++ b/security/p5-Crypt-OpenSSL-AES/Makefile
@@ -11,9 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jdferrell3@yahoo.com
COMMENT= Perl wrapper around OpenSSL's AES library
-USES= perl5
+USES= perl5 ssl
USE_PERL5= configure
-USE_OPENSSL= yes
MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC}
.include <bsd.port.mk>
diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile
index 687eab52fc9d..4599bce26277 100644
--- a/security/p5-Crypt-OpenSSL-RSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-RSA/Makefile
@@ -15,9 +15,8 @@ BUILD_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0:security/p5-Crypt-OpenSSL-Bignum \
p5-Crypt-OpenSSL-Random>=0:security/p5-Crypt-OpenSSL-Random
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 ssl
USE_PERL5= configure
-USE_OPENSSL= yes
MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC}
regression-test: build
diff --git a/security/p5-Crypt-OpenSSL-Random/Makefile b/security/p5-Crypt-OpenSSL-Random/Makefile
index 43bc75eb7138..01bd1ade10c7 100644
--- a/security/p5-Crypt-OpenSSL-Random/Makefile
+++ b/security/p5-Crypt-OpenSSL-Random/Makefile
@@ -15,8 +15,7 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC}
-USES= perl5
-USE_OPENSSL= yes
+USES= perl5 ssl
USE_PERL5= configure
post-install:
diff --git a/security/p5-Filter-Crypto/Makefile b/security/p5-Filter-Crypto/Makefile
index ea1e55b0cae0..b96c522babca 100644
--- a/security/p5-Filter-Crypto/Makefile
+++ b/security/p5-Filter-Crypto/Makefile
@@ -16,9 +16,8 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-PAR-Packer>=0:devel/p5-PAR-Packer
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 ssl
USE_PERL5= configure
-USE_OPENSSL= yes
CONFIGURE_ARGS= --prefix-dir=${OPENSSLBASE} --defaults
.include <bsd.port.mk>
diff --git a/security/p5-OpenCA-OpenSSL/Makefile b/security/p5-OpenCA-OpenSSL/Makefile
index 71c1ee21d16f..42e6805d6f2c 100644
--- a/security/p5-OpenCA-OpenSSL/Makefile
+++ b/security/p5-OpenCA-OpenSSL/Makefile
@@ -17,9 +17,8 @@ BUILD_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl \
p5-X500-DN>=0:net/p5-X500-DN
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USES= perl5
+USES= perl5 ssl
USE_PERL5= configure
-USE_OPENSSL= yes
MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC}
.include <bsd.port.mk>
diff --git a/security/pam_p11/Makefile b/security/pam_p11/Makefile
index 3595b885bbbf..f48ea218f706 100644
--- a/security/pam_p11/Makefile
+++ b/security/pam_p11/Makefile
@@ -16,9 +16,8 @@ LIB_DEPENDS= libp11.so:security/libp11
OPTIONS_DEFINE= DOCS
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= libtool pkgconfig
+USES= libtool pkgconfig ssl
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
diff --git a/security/pidentd/Makefile b/security/pidentd/Makefile
index 80667891af20..603d850969b3 100644
--- a/security/pidentd/Makefile
+++ b/security/pidentd/Makefile
@@ -19,7 +19,7 @@ COMMENT= RFC1413 identification server
CONFLICTS_INSTALL= fakeident-[0-9]*
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
+USES= ssl
PLIST_FILES= sbin/ibench sbin/identd sbin/idecrypt sbin/ikeygen \
man/man8/identd.8.gz man/man8/idecrypt.8.gz
diff --git a/security/pixiewps/Makefile b/security/pixiewps/Makefile
index 74b4d52aab5e..36becde466f5 100644
--- a/security/pixiewps/Makefile
+++ b/security/pixiewps/Makefile
@@ -11,10 +11,8 @@ COMMENT= Offline WPS bruteforce utility
LICENSE= GPLv3
-USE_OPENSSL= yes
-
-USES= gmake
-WRKSRC_SUBDIR= src/
+USES= gmake ssl
+WRKSRC_SUBDIR= src
USE_GITHUB= yes
GH_ACCOUNT= wiire
diff --git a/security/pkcs11-dump/Makefile b/security/pkcs11-dump/Makefile
index f970a950fd94..e06522f2fbb9 100644
--- a/security/pkcs11-dump/Makefile
+++ b/security/pkcs11-dump/Makefile
@@ -15,8 +15,7 @@ BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
-USES= tar:bzip2
-USE_OPENSSL= yes
+USES= tar:bzip2 ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
diff --git a/security/pkcs11-helper/Makefile b/security/pkcs11-helper/Makefile
index f8a960952aa0..bc7dbe8ba735 100644
--- a/security/pkcs11-helper/Makefile
+++ b/security/pkcs11-helper/Makefile
@@ -16,9 +16,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.BSD
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= libtool:keepla pathfix pkgconfig tar:bzip2
+USES= libtool:keepla pathfix pkgconfig tar:bzip2 ssl
USE_LDCONFIG= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile
index ad1bc69f1dee..5f7ea2c6d9e9 100644
--- a/security/py-pow/Makefile
+++ b/security/py-pow/Makefile
@@ -14,10 +14,9 @@ COMMENT= Python OpenSSL Wrappers
LICENSE= BSD3CLAUSE
-USES= python
+USES= python ssl
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= POW
-USE_OPENSSL= yes
PORTDOCS= POW.pdf
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile
index 6a6247b61ddd..4127d6bd1b79 100644
--- a/security/racoon2/Makefile
+++ b/security/racoon2/Makefile
@@ -10,8 +10,7 @@ MASTER_SITES= ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
MAINTAINER= cy@FreeBSD.org
COMMENT= Racoon2 IPsec daemon
-USES= perl5 tar:tgz
-USE_OPENSSL= YES
+USES= perl5 tar:tgz ssl
CONFIGURE_ARGS+= --disable-kinkd
PLIST_SUB+= KINK="@comment "
diff --git a/security/scrypt/Makefile b/security/scrypt/Makefile
index 9b6797d48461..d093c31c7712 100644
--- a/security/scrypt/Makefile
+++ b/security/scrypt/Makefile
@@ -14,8 +14,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \
LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}"
-USES= gmake tar:tgz
-USE_OPENSSL= YES
+USES= gmake tar:tgz ssl
PLIST_FILES= bin/scrypt \
man/man1/scrypt.1.gz
diff --git a/security/sectok/Makefile b/security/sectok/Makefile
index 47430307a6c5..9c5a0f7ed8b8 100644
--- a/security/sectok/Makefile
+++ b/security/sectok/Makefile
@@ -13,7 +13,7 @@ COMMENT= ISO 7816 Smartcard Utility
LIB_DEPENDS= libsectok.so:security/libsectok
-USE_OPENSSL= yes
+USES= ssl
USE_LDCONFIG= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
diff --git a/security/skipfish/Makefile b/security/skipfish/Makefile
index cfd83e2b02cb..65e91d0549a9 100644
--- a/security/skipfish/Makefile
+++ b/security/skipfish/Makefile
@@ -20,8 +20,7 @@ EXPIRATION_DATE= 2017-04-30
LIB_DEPENDS= libidn.so:dns/libidn \
libpcre.so:devel/pcre
-USES= gmake tar:tgz
-USE_OPENSSL= yes
+USES= gmake tar:tgz ssl
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
diff --git a/security/slush/Makefile b/security/slush/Makefile
index e348e0af678a..b5a1a3d8bcd7 100644
--- a/security/slush/Makefile
+++ b/security/slush/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT.GPL
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
+USES= ssl
OPTIONS_DEFINE= DOCS
diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile
index dbcad28223db..a60d3784d6dd 100644
--- a/security/sslwrap/Makefile
+++ b/security/sslwrap/Makefile
@@ -18,7 +18,7 @@ LICENSE= BSD4CLAUSE
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
-USE_OPENSSL= yes
+USES= ssl
PORTDOCS= README docs.html
PLIST_FILES= bin/sslwrap
diff --git a/security/sst/Makefile b/security/sst/Makefile
index 70471e7d33e5..db0f4e4b14e1 100644
--- a/security/sst/Makefile
+++ b/security/sst/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= netcat:net/netcat
.endif
MAKEFILE= ${FILESDIR}/Makefile
-USES= uidfix
-USE_OPENSSL= YES
+USES= uidfix ssl
PLIST_FILES= sbin/sst \
man/man1/sst.1.gz
diff --git a/security/stud/Makefile b/security/stud/Makefile
index 5d4dd50310e3..5bb165e27b5d 100644
--- a/security/stud/Makefile
+++ b/security/stud/Makefile
@@ -13,9 +13,8 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libev.so:devel/libev
-USES= gmake
+USES= gmake ssl
USE_GITHUB= yes
-USE_OPENSSL= yes
GH_ACCOUNT= wasted
diff --git a/security/tinyca/Makefile b/security/tinyca/Makefile
index 333719718e24..1fa1db702f18 100644
--- a/security/tinyca/Makefile
+++ b/security/tinyca/Makefile
@@ -16,8 +16,7 @@ RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
zip:archivers/zip \
p5-MIME-Base64>=0:converters/p5-MIME-Base64
-USES= perl5 tar:xz shebangfix
-USE_OPENSSL= yes
+USES= perl5 tar:xz shebangfix ssl
SHEBANG_FILES= tinyca2
NO_BUILD= yes
NO_ARCH= yes
diff --git a/security/yapet/Makefile b/security/yapet/Makefile
index 19990c8d8608..319e50c2ecc4 100644
--- a/security/yapet/Makefile
+++ b/security/yapet/Makefile
@@ -11,8 +11,7 @@ COMMENT= Curses based password manager
LICENSE= GPLv3
-USES= gmake ncurses
-USE_OPENSSL= yes
+USES= gmake ncurses ssl
GNU_CONFIGURE= yes
OPTIONS_DEFINE= CONVERTERS DOCS NLS
diff --git a/security/yubico-piv-tool/Makefile b/security/yubico-piv-tool/Makefile
index e730deb7248f..6eb4ae527e5c 100644
--- a/security/yubico-piv-tool/Makefile
+++ b/security/yubico-piv-tool/Makefile
@@ -14,9 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
-USES= libtool pathfix pkgconfig
+USES= libtool pathfix pkgconfig ssl
USE_LDCONFIG= yes
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="${OPENSSL_CFLAGS}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
diff --git a/security/zebedee/Makefile b/security/zebedee/Makefile
index 46c07f24ccb5..870de551dbd4 100644
--- a/security/zebedee/Makefile
+++ b/security/zebedee/Makefile
@@ -12,8 +12,7 @@ COMMENT= Encrypted, secure compressed TCP tunnel
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL2.txt
-USES= perl5
-USE_OPENSSL= yes
+USES= perl5 ssl
USE_PERL5= build
PORTEXAMPLES= vncviewer.zbd vncserver.zbd server.key server.id client1.key \
diff --git a/security/zxid/Makefile b/security/zxid/Makefile
index 853a2710c6b8..bab0b64e8757 100644
--- a/security/zxid/Makefile
+++ b/security/zxid/Makefile
@@ -16,8 +16,7 @@ LICENSE_PERMS= # none
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= gmake localbase tar:tgz
-USE_OPENSSL= yes
+USES= gmake localbase tar:tgz ssl
USE_CSTD= gnu89
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
LD="${CC}" LDFLAGS="${LDFLAGS}" \
diff --git a/sysutils/LPRng/Makefile b/sysutils/LPRng/Makefile
index 49a1f1ca98fd..c8892c8837dc 100644
--- a/sysutils/LPRng/Makefile
+++ b/sysutils/LPRng/Makefile
@@ -19,8 +19,7 @@ LIB_DEPENDS= libgdbm.so:databases/gdbm
BROKEN_aarch64= Fails to link: missing sbrk
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-config_subdir="" \
--with-filterdir=${PREFIX}/libexec/filters \
diff --git a/sysutils/aimage/Makefile b/sysutils/aimage/Makefile
index 68cb1b7c72b9..39c6e3dfd28e 100644
--- a/sysutils/aimage/Makefile
+++ b/sysutils/aimage/Makefile
@@ -13,8 +13,7 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libafflib.so:sysutils/afflib
-USE_OPENSSL= yes
-USES= gmake
+USES= gmake ssl
GNU_CONFIGURE= yes
PLIST_FILES= bin/aimage
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index a4168fe2290d..cffc7982f2e1 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -11,10 +11,9 @@ PKGNAMESUFFIX?= -server
MAINTAINER= dvl@FreeBSD.org
COMMENT?= Network backup solution (server)
-USES+= libtool readline shebangfix
+USES+= libtool readline shebangfix ssl
SHEBANG_FILES= scripts/dvd-handler.in src/cats/make_catalog_backup.pl.in
python_OLD_CMD= @PYTHON@
-USE_OPENSSL= yes
CONFLICTS?= bacula5-server-*
diff --git a/sysutils/bulk_extractor/Makefile b/sysutils/bulk_extractor/Makefile
index f1fd351bd20c..479c0a83a373 100644
--- a/sysutils/bulk_extractor/Makefile
+++ b/sysutils/bulk_extractor/Makefile
@@ -13,13 +13,12 @@ COMMENT= Program that scans a disk image and extracts useful information
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= sqlite
+USES= sqlite ssl
LIB_DEPENDS= libafflib.so:sysutils/afflib \
libewf.so:devel/libewf \
libexiv2.so:graphics/exiv2 \
libexpat.so:textproc/expat2
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-exiv2=true
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/sysutils/cluster-glue/Makefile b/sysutils/cluster-glue/Makefile
index 6937d1b01c57..e8e11c360df5 100644
--- a/sysutils/cluster-glue/Makefile
+++ b/sysutils/cluster-glue/Makefile
@@ -25,14 +25,13 @@ CONFIGURE_ARGS= --disable-fatal-warnings \
--with-initdir=${PREFIX}/etc/rc.d \
--with-ocf-root=${PREFIX}/etc/ocf
INSTALL_TARGET= install-strip
-USES= autoreconf gettext gmake libtool localbase perl5 pkgconfig python shebangfix tar:bz2
+USES= autoreconf gettext gmake libtool localbase perl5 pkgconfig python shebangfix tar:bz2 ssl
SHEBANG_FILES= lib/plugins/stonith/external/ibmrsa-telnet \
lib/plugins/stonith/external/vmware \
lib/plugins/stonith/external/xen0-ha.in \
lib/plugins/stonith/external/xen0-ha-dom0-stonith-helper
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
-USE_OPENSSL= yes
USE_RC_SUBR= ha_logd
WRKSRC= ${WRKDIR}/Reusable-Cluster-Components-glue--${DISTNAME}
diff --git a/sysutils/deltup/Makefile b/sysutils/deltup/Makefile
index bd208c164218..dae02d72d762 100644
--- a/sysutils/deltup/Makefile
+++ b/sysutils/deltup/Makefile
@@ -24,7 +24,6 @@ BZIP2_103_SOURCE= bzip2-${BZIP2_103}.tar.gz
BZIP2_102= 1.0.2
BZIP2_103= 1.0.3
-USE_OPENSSL= yes
USES= gmake ssl
ALL_TARGET= deltup
MAKE_ARGS= CC="${CC}" CXX="${CXX}" PREFIX="${PREFIX}"
diff --git a/sysutils/fusefs-s3fs/Makefile b/sysutils/fusefs-s3fs/Makefile
index cc8db5f4456f..21e5a033252e 100644
--- a/sysutils/fusefs-s3fs/Makefile
+++ b/sysutils/fusefs-s3fs/Makefile
@@ -19,9 +19,8 @@ USE_GITHUB= yes
GH_ACCOUNT= s3fs-fuse
GH_PROJECT= s3fs-fuse
-USES= autoreconf fuse pkgconfig
+USES= autoreconf fuse pkgconfig ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
PLIST_FILES= bin/s3fs man/man1/s3fs.1.gz
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 018afcb1d27c..17bc851a987e 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -159,7 +159,7 @@ PLIST_SUB+= NUT_IPMIPSU="@comment "
.endif
.if ${PORT_OPTIONS:MOPENSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --with-openssl
.else
CONFIGURE_ARGS+= --without-openssl --without-ssl
diff --git a/sysutils/openhpi/Makefile b/sysutils/openhpi/Makefile
index 5bedf16b8c6b..20bdc52b7c54 100644
--- a/sysutils/openhpi/Makefile
+++ b/sysutils/openhpi/Makefile
@@ -22,11 +22,10 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
-USES= gmake gnome libtool pathfix perl5 pkgconfig shebangfix
+USES= gmake gnome libtool pathfix perl5 pkgconfig shebangfix ssl
SHEBANG_FILES= plugins/snmp_bc/eventmap2code.pl scripts/text2cstr.pl
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
-USE_OPENSSL= yes
USE_PERL5= build
USE_RC_SUBR= openhpid
diff --git a/sysutils/openipmi/Makefile b/sysutils/openipmi/Makefile
index 69c9ad7120b3..95756bc7afbf 100644
--- a/sysutils/openipmi/Makefile
+++ b/sysutils/openipmi/Makefile
@@ -51,7 +51,7 @@ CONFIGURE_ARGS+= --with-ucdsnmp=no
.endif
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.else
CONFIGURE_ARGS+= --with-openssl=no
diff --git a/sysutils/radmind/Makefile b/sysutils/radmind/Makefile
index bf5bde5b01b6..0297dfea8d0a 100644
--- a/sysutils/radmind/Makefile
+++ b/sysutils/radmind/Makefile
@@ -15,7 +15,7 @@ LICENSE_NAME= University of Michigan License
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_OPENSSL= yes
+USES= ssl
USE_RC_SUBR= radmind
MAKE_JOBS_UNSAFE= yes
diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile
index 46501118601d..8f304b300767 100644
--- a/sysutils/tarsnap/Makefile
+++ b/sysutils/tarsnap/Makefile
@@ -15,8 +15,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \
LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}"
-USES= gmake tar:tgz
-USE_OPENSSL= yes
+USES= gmake tar:tgz ssl
.include <bsd.port.pre.mk>
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile
index 3e10991d6548..78b65eb7d2b0 100644
--- a/sysutils/ucspi-tcp/Makefile
+++ b/sysutils/ucspi-tcp/Makefile
@@ -67,7 +67,7 @@ PATCHFILES+= ucspi-rss.diff:rss
.endif
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
PATCH_SITES+= http://www.nrg4u.com/qmail/:ssl
PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz:ssl
.endif
diff --git a/sysutils/webjob/Makefile b/sysutils/webjob/Makefile
index 778b6e7516f1..7745a0e042f2 100644
--- a/sysutils/webjob/Makefile
+++ b/sysutils/webjob/Makefile
@@ -36,7 +36,7 @@ PLIST_SUB+= PAD_TOOLS="@comment "
CONFIGURE_ARGS+= --without-ssl
PLIST_SUB+= DSV_TOOLS="@comment "
.else
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.if ! ${PORT_OPTIONS:MDSV_TOOLS} # Note: DSV requires SSL
PLIST_SUB+= DSV_TOOLS="@comment "
diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile
index 46cdd450d3ca..8a63b9416021 100644
--- a/textproc/htmldoc/Makefile
+++ b/textproc/htmldoc/Makefile
@@ -19,8 +19,7 @@ LIB_DEPENDS= libpng.so:graphics/png
OPTIONS_DEFINE= HTMLDOCGUI
HTMLDOCGUI_DESC= Build GUI front-end
-USES= jpeg tar:bzip2
-USE_OPENSSL= yes
+USES= jpeg tar:bzip2 ssl
GNU_CONFIGURE= yes
# Configure seems broken and ignores these ATM:
diff --git a/textproc/rasqal/Makefile b/textproc/rasqal/Makefile
index 6a90a700329e..197912e341a4 100644
--- a/textproc/rasqal/Makefile
+++ b/textproc/rasqal/Makefile
@@ -18,8 +18,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libraptor2.so:textproc/raptor2 \
libpcre.so:devel/pcre
-USES= gmake libtool pathfix perl5 pkgconfig
-USE_OPENSSL= yes
+USES= gmake libtool pathfix perl5 pkgconfig ssl
USE_PERL5= build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/www/blastbeat/Makefile b/www/blastbeat/Makefile
index 60f571af2fb1..d31a02a0614e 100644
--- a/www/blastbeat/Makefile
+++ b/www/blastbeat/Makefile
@@ -18,8 +18,7 @@ LIB_DEPENDS= libev.so:devel/libev \
libuuid.so:misc/e2fsprogs-libuuid \
libzmq.so:net/libzmq2
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
USE_GITHUB= yes
GH_ACCOUNT= zloidemon
GH_TAGNAME= cdac9a9
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile
index 917c61a897fe..85a4e656bc9b 100644
--- a/www/cadaver/Makefile
+++ b/www/cadaver/Makefile
@@ -35,7 +35,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(WITHOUT_OPENSSL)
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --with-ssl --with-force-ssl
post-install:
#
diff --git a/www/cherokee/Makefile b/www/cherokee/Makefile
index 3e455720e834..dbcb82ab893b 100644
--- a/www/cherokee/Makefile
+++ b/www/cherokee/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_PROJECT= webserver
USES= autoreconf cpe gettext gmake libtool pathfix pkgconfig \
- python:2,build shebangfix
+ python:2,build shebangfix ssl
SHEBANG_FILES= admin/CTK/CTK-run.pre admin/server.py \
admin/upgrade_config.py cherokee/cherokee-admin-launcher \
cherokee/cherokee-tweak contrib/tracelor.py \
@@ -25,7 +25,6 @@ SHEBANG_FILES= admin/CTK/CTK-run.pre admin/server.py \
po/admin/generate_POTFILESin.py po/po_stats.py \
qa/fcgi.py qa/run-tests.py
USE_RC_SUBR= cherokee
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static \
--localstatedir=${CHEROKEE_VARDIR} \
diff --git a/www/cppcms/Makefile b/www/cppcms/Makefile
index 342a6b1607d1..ee7ffade15ef 100644
--- a/www/cppcms/Makefile
+++ b/www/cppcms/Makefile
@@ -15,8 +15,7 @@ BROKEN_powerpc64= Does not build
LIB_DEPENDS= libpcre.so:devel/pcre
-USES= cmake python:2 tar:bzip2
-USE_OPENSSL= yes
+USES= cmake python:2 tar:bzip2 ssl
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES GCRYPT ICU
diff --git a/www/edbrowse/Makefile b/www/edbrowse/Makefile
index 52b872ecd5c6..52d057957162 100644
--- a/www/edbrowse/Makefile
+++ b/www/edbrowse/Makefile
@@ -17,8 +17,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libmozjs-24.so:lang/spidermonkey24 \
libcurl.so:ftp/curl
-USE_OPENSSL= yes
-USES= compiler:c11 readline zip
+USES= compiler:c11 readline zip ssl
OPTIONS_DEFINE= DOCS
diff --git a/www/http_get/Makefile b/www/http_get/Makefile
index 2e77f355e7fd..3d6fe2483dbc 100644
--- a/www/http_get/Makefile
+++ b/www/http_get/Makefile
@@ -18,7 +18,7 @@ PLIST_FILES= bin/http_get \
man/man1/http_get.1.gz
.ifndef NO_OPENSSL
-USE_OPENSSL= yes
+USES+= ssl
.endif
.include <bsd.port.mk>
diff --git a/www/http_load/Makefile b/www/http_load/Makefile
index c62cef386599..e42b42a9fd4f 100644
--- a/www/http_load/Makefile
+++ b/www/http_load/Makefile
@@ -19,7 +19,7 @@ PLIST_FILES= bin/http_load \
man/man1/http_load.1.gz
.ifndef NO_OPENSSL
-USE_OPENSSL= yes
+USES+= ssl
.endif
.include <bsd.port.mk>
diff --git a/www/http_post/Makefile b/www/http_post/Makefile
index b0e958c670a8..403e310501b4 100644
--- a/www/http_post/Makefile
+++ b/www/http_post/Makefile
@@ -18,7 +18,7 @@ PLIST_FILES= bin/http_post \
man/man1/http_post.1.gz
.ifndef NO_OPENSSL
-USE_OPENSSL= yes
+USES+= ssl
.endif
.include <bsd.port.mk>
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index 86f7400bad69..73610ecfea81 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -48,7 +48,7 @@ SQLITE3_CONFIGURE_ON= --with-sqlite3=${LOCALBASE}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
+USES+= ssl
.endif
.if ${PORT_OPTIONS:MTHREADS}
diff --git a/www/nostromo/Makefile b/www/nostromo/Makefile
index aa3979cd1945..0e32d7ae5f7d 100644
--- a/www/nostromo/Makefile
+++ b/www/nostromo/Makefile
@@ -15,9 +15,8 @@ NOSTROMO_DIR?= nostromo
NOSTROMO_LOGDIR?= ${NOSTROMO_DIR}/logs
NOSTROMO_LOGDIR_PERMS?= 0775
-USE_OPENSSL= yes
USE_RC_SUBR= nostromo
-USES= uidfix
+USES= uidfix ssl
MAKE_ENV?= MAKEOBJDIR=. NOSTROMO_DIR=${NOSTROMO_DIR} MANDIR=${PREFIX}/man/man
PLIST_SUB+= NOSTROMODIR="${NOSTROMO_DIR}" NOSTROMOLOGDIR="${NOSTROMO_LOGDIR}"
diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile
index 060e30965454..0dc5e65c1fbd 100644
--- a/www/owncloud/Makefile
+++ b/www/owncloud/Makefile
@@ -11,13 +11,12 @@ COMMENT= Personal cloud which runs on your own server
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING-AGPL
-USES= cpe tar:bzip2
+USES= cpe tar:bzip2 ssl
IGNORE_WITH_PHP= 71
USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv json \
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
xsl wddx zip zlib
WANT_PHP_WEB= yes
-USE_OPENSSL= yes
OWNCLOUD_USERNAME?= ${WWWOWN}
OWNCLOUD_GROUPNAME?= ${WWWGRP}
diff --git a/www/p5-HTTP-MHTTP/Makefile b/www/p5-HTTP-MHTTP/Makefile
index 7da6d5da6d17..922cbf348a20 100644
--- a/www/p5-HTTP-MHTTP/Makefile
+++ b/www/p5-HTTP-MHTTP/Makefile
@@ -11,9 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Low level access to the HTTP protocol
-USES= perl5
+USES= perl5 ssl
USE_PERL5= configure patch
-USE_OPENSSL= yes
CONFIGURE_ENV= GOTSSL=yes
CONFIGURE_ARGS= --default
diff --git a/www/pound/Makefile b/www/pound/Makefile
index e25e4cb11312..9ab70b084270 100644
--- a/www/pound/Makefile
+++ b/www/pound/Makefile
@@ -15,10 +15,9 @@ COMMENT= Reverse proxy, load balancer and HTTP(S) frontend for web servers
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/GPL.txt
-USES= tar:tgz
+USES= tar:tgz ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tcmalloc --disable-hoard
-USE_OPENSSL= yes
USE_RC_SUBR= ${PORTNAME}
SUB_LIST= NAME=${PORTNAME}
diff --git a/www/resin3/Makefile b/www/resin3/Makefile
index de91ad7264ec..a3613ed65474 100644
--- a/www/resin3/Makefile
+++ b/www/resin3/Makefile
@@ -16,10 +16,9 @@ OPTIONS_DEFINE= APACHE22
APACHE22_DESC= Use Apache 2.2
GNU_CONFIGURE= yes
-USES= libtool python
+USES= libtool python ssl
USE_JAVA= yes
JAVA_VERSION= 1.6+
-USE_OPENSSL= yes
USE_LDCONFIG= yes
# Pass JAVA_HOME as determined by bsd.java.mk
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile
index 97be9d7826ec..a65db976c8b1 100644
--- a/www/sitecopy/Makefile
+++ b/www/sitecopy/Makefile
@@ -34,7 +34,7 @@ PLIST_SUB+= NLS="@comment "
.endif
.ifndef WITHOUT_SSL
-USE_OPENSSL= yes
+USES+= ssl
CONFIGURE_ARGS+= --with-ssl
.endif
diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile
index b400cc19ca9d..5e0bac83fcd6 100644
--- a/www/thundercache/Makefile
+++ b/www/thundercache/Makefile
@@ -28,8 +28,7 @@ APACHE_DESC= Install apache for reporting viewing
PHP_DESC= Install PHP for reporting generating
PGSQL_DESC= Install PostgreSQL (report data storing)
-USE_OPENSSL= yes
-USES= shebangfix tar:bzip2
+USES= shebangfix tar:bzip2 ssl
SHEBANG_FILES= sbin/thunderlog.php
ONLY_FOR_ARCHS= i386 amd64
diff --git a/www/tntnet/Makefile b/www/tntnet/Makefile
index 04484a569597..00e71beb1f88 100644
--- a/www/tntnet/Makefile
+++ b/www/tntnet/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ARGS+= --with-ssl=gnutls
LIB_DEPENDS+= libgnutls.so:security/gnutls
.else
CONFIGURE_ARGS+= --with-ssl=openssl
-USE_OPENSSL= yes
+USES+= ssl
.endif
USERS= www
diff --git a/www/webstone-ssl/Makefile b/www/webstone-ssl/Makefile
index 8e018fe5fbb8..e4f524bd55c2 100644
--- a/www/webstone-ssl/Makefile
+++ b/www/webstone-ssl/Makefile
@@ -15,7 +15,7 @@ COMMENT= World wide web server benchmarking with SSL support
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5 shebangfix tar:tgz
+USES= perl5 shebangfix tar:tgz ssl
USE_PERL5= run
SHEBANG_FILES= bin/*.wpl bin/*.pl
perl_OLD_CMD= /bin/perl5
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${WRKSRC}/src
-USE_OPENSSL= yes
ALL_TARGET= install
MAKE_JOBS_UNSAFE= yes
diff --git a/www/zerowait-httpd/Makefile b/www/zerowait-httpd/Makefile
index 52c0bed17c2f..ba7c32599579 100644
--- a/www/zerowait-httpd/Makefile
+++ b/www/zerowait-httpd/Makefile
@@ -14,8 +14,7 @@ COMMENT= Lightweight and fast http server
LICENSE= BSD3CLAUSE
-USES= gmake
-USE_OPENSSL= yes
+USES= gmake ssl
USE_RC_SUBR= 0W-httpd
ALL_TARGET= #none
diff --git a/x11-servers/x11rdp/Makefile b/x11-servers/x11rdp/Makefile
index 738350952794..a43196274496 100644
--- a/x11-servers/x11rdp/Makefile
+++ b/x11-servers/x11rdp/Makefile
@@ -28,8 +28,7 @@ RUN_DEPENDS= xorg-fonts>=0:x11-fonts/xorg-fonts
# SVN revision of x11rdp
X11RDPREVISION= 299
-USES= gmake pkgconfig perl5
-USE_OPENSSL= yes
+USES= gmake pkgconfig perl5 ssl
CONFLICTS_INSTALL= xrdp-devel-[0-9]* x11rdp-devel-[0-9]*
PLIST_FILES= bin/X11rdp
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 61f6bd85a567..1f19fbeb8ff8 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -31,11 +31,10 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-them
${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl
USES= cmake:outsource fam gettext grantlee:4 jpeg kde:4 perl5 \
- shared-mime-info shebangfix tar:xz
+ shared-mime-info shebangfix tar:xz ssl
USE_GNOME= libxml2 libxslt
USE_KDE= oxygen-icons4 \
attica automoc4 ontologies soprano strigi
-USE_OPENSSL= yes
USE_QT4= corelib dbus declarative designer_build gui \
network opengl phonon qt3support \
qtestlib script sql svg webkit xml \
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile
index 70ddc8f77ba3..92797366d90f 100644
--- a/x11/x3270/Makefile
+++ b/x11/x3270/Makefile
@@ -29,7 +29,7 @@ LIBS+= -L${LOCALBASE}/lib
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+= --disable-ssl
.else
-USE_OPENSSL= yes
+USES+= ssl
.endif
MAKE_ARGS+= COMPRESSMANCMD="${DO_NADA}" \
INSTALL="${INSTALL}" INSTALLFLAGS="${COPY}" \