forked from Lainports/freebsd-ports
security/afl - Migrate to security/afl++ security/amap - Abandoned upstream, last release 10+ years ago security/amavis-stats - Upstream is dead and last release was back in 2005 security/arirang - Abandoned (website also refers to Ruby 1.9) and a 9+ year old webserver security scanner isn't useful today security/axTLS - Very outdated and abandoned, current version in tree was released in 2013 and last by upstream in 2019 security/base - Broken with PHP 7+, forked here https://github.com/NathanGibbs3/BASE/ security/bruteforceblocker - Abandonware, please consider using security/sshguard security/cfs - Deprecated upstream, reference: https://www.bayofrum.net/cgi-bin/fossil/cfs/index security/cisco-torch - Unfetchable, dead upstream security/cp2fwb - Used with deprecated software Firewall Builder security/dcetest - Targets deprecated protocol by Microsoft in favour of .NET security/doscan - Abandonware, last release in 2014. Please consider using security/masscan or sysutils/pnscan security/find-zlib - Deprecated, no longer relevant security/govpn - Deprecated upstream, reference: http://www.govpn.info/ security/gputty - Unfetchable, dead upstream security/gwee - Last release 15+ years ago, abandonware and dead upstream security/hackbot - Abandonware, last release in 2003. Please consider using security/nmap or security/rustscan security/hashcat-legacy - Unsupported upstream, please consider using security/hashcat security/hlfl - Abandonware, last release in 2003 security/ike - Abandonware, last release in 2013 and IKEv1 is considered to be insecure security/integrit - Abandonware, last release in 2003 security/ipfilter2dshield - Abandonware, no word of it on upstream web site security/ipfw2dshield - Abandonware, no word of it on upstream web site security/isakmpd - 15+ years old and broken on multiple versions security/kripp - Abandonware, upstream returns 404 and last release was back in 2007 security/l0phtcrack - Obsolete, Microsoft LANMAN and NT password hashes are deprecated security/l5 - Abandonware, broken on amd64 for 10+ years security/gringotts - Abandonware, upstream dead and last release in 2009 security/libgringotts - Abandonware, upstream dead and last release in 2008 security/libprelude - Very outdated, current version in tree was released back in 2015 and upstream is still active security/libpreludedb - Very outdated, current version in tree was released back in 2015 and upstream is still active security/libpwstor - Abandonware, last release in 2008 security/manipulate_data - Abandonware, unsupported upstream security/matrixssl - Abandonware, dead upstream security/monkeysphere - Abandonware, dead upstream security/mussh - Abandonware, last release in 2011 please consider using security/teleport security/outguess - Abandonware, dead upstream and last release in 2001 security/pbnj - Abandonware, last release in 2006 and reported broken upstream in 2017 upstream security/phpsecinfo - Abandonware, last release in 2006 security/pktsuckers - Abandonware, last release from somewhere around 1999 security/ppars - Abandonware, no word of it on upstream web site security/pscan - Abandonware, last release in 2000 security/pxytest - Abandonware, last release around 2003, dead upsteam and unfetchable security/radamsa - Abandonware, last release in 2017 and marked as BROKEN in late 2020 security/razorback-* - Abandonware, last release in 2012 and listed as alpha quality by upstream security/retranslator - Deprecated upstream (EOL) security/scanssh - Abandonware, last release in 2005. Please consider using security/nmap or security/rustscan security/shimmer - Abandonware, last release in 2008 security/shttpscanner - Abandonware, last release in 2006 security/sha - Obsolete, we have tools in base security/slurpie - Abandonware, last release around 2000 and dead upstream security/slush - Obsolete, listed as alpha quality, last release around 2000 and dead upstream security/smtpscan - Abandonware, last release in 2003 and dead upstream. Please consider using nmap security/spybye - Abandonware, last release in 2008 and no upstream development security/sslsniffer - Abandonware, last release in 2001. Please consider using security/sslsplit or security/sslproxy security/sslwrap - Abandonware, marked BROKEN on 12+ in 2019 security/strobe - Abandonware, last release around 2000 and dead upstream. Please consider using security/nmap or security/rustscan security/stud - Abandonware, marked BROKEN on 12+ in 2019 security/symbion-sslproxy - Abandonware, last release in 2009 and inactive upstream security/tlswrap - Abandonware, last release in 2007 and dead upstream security/trinokiller - Abandonware, dead upstream security/tripwire-131 - Deprecated, please consider using security/tripwire instead security/unicornscan - Very outdated and abandoned, current version in tree was released in 2004 and last release by upstream in Aug 2013. Please consider using security/nmap or security/rustscan security/vinetto - Obsolete, targets deprecated Windows operating systems such as XP and 2003 Server security/vnccrack - Very outdated and abandoned, last release in 2008. Upstream is at 2.1 while version in ports is 1.0.0 security/webscarab - Deprecated by upstream in 2014 security/zebedee - Abandonware, last release in 2005 and runtime issues reported upstream Approved by: tberner (mentor), lbartoletti (mentor), portmgr (rene, tcberner), cy (port maintainer), egypcio (port maintainer), bofh (port maintainer), port maintainer(s) timeout (2+ weeks) Differential Revision: https://reviews.freebsd.org/D32880
141 lines
4.5 KiB
Makefile
141 lines
4.5 KiB
Makefile
# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
|
|
|
|
PORTNAME= axTLS
|
|
PORTVERSION= 1.4.9
|
|
PORTREVISION= 2
|
|
CATEGORIES= security devel net
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION}
|
|
|
|
MAINTAINER= umq@ueo.co.jp
|
|
COMMENT= SSL/TLS client/server library implementation
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
DEPRECATED= Very outdated and abandoned, current version in tree was released in 2013 and last by upstream in 2019
|
|
EXPIRATION_DATE=2022-03-31
|
|
|
|
OPTIONS_DEFINE= COMPAT_OPENSSL HTTPD TLSWRAP X509 PERL DOCS DEBUG TEST
|
|
OPTIONS_SINGLE= MODE PROT
|
|
OPTIONS_SINGLE_MODE= SERVER_ONLY CERT_VERIFICATION ENABLE_CLIENT \
|
|
FULL_MODE SKELETON_MODE
|
|
OPTIONS_SINGLE_PROT= PROT_LOW PROT_MEDIUM PROT_HIGH
|
|
OPTIONS_DEFAULT= FULL_MODE PROT_MEDIUM
|
|
COMPAT_OPENSSL_DESC= OpenSSL compatible API
|
|
TLSWRAP_DESC= Build TLS wrapper like sslwrap
|
|
X509_DESC= Generate X.509 Certificate
|
|
PERL_DESC= Perl bindings or support
|
|
DOCS_DESC= Build and/or install documentation (require doxygen)
|
|
TEST_DESC= Build test suite when available
|
|
MODE_DESC= SSL Library mode
|
|
PROT_DESC= Protocol Preference
|
|
SERVER_ONLY_DESC= Server only (no verification)
|
|
CERT_VERIFICATION_DESC= Server only (with verification)
|
|
ENABLE_CLIENT_DESC= Client/Server enabled
|
|
FULL_MODE_DESC= Client/Server enabled with diagnostics
|
|
SKELETON_MODE_DESC= The smallest library with least performance (experimental)
|
|
PROT_LOW_DESC= Use the fastest cipher(s) but at the expense of security
|
|
PROT_MEDIUM_DESC= Balance between speed and security
|
|
PROT_HIGH_DESC= Use the strongest cipher(s) at the cost of speed
|
|
|
|
CONFIG_SUB= PREFIX=\"${PREFIX}\" WWWDIR=\"${WWWDIR}\" \
|
|
HTTP_PORT=${WITH_HTTP_PORT} SSL_PORT=${WITH_SSL_PORT}
|
|
NO_OPTIONS_SORT=yes
|
|
USES= cpe gmake
|
|
CPE_VENDOR= ${PORTNAME:tl}_project
|
|
USE_LDCONFIG= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
STAGE= ${WRKSRC}/_stage
|
|
|
|
WITH_HTTP_PORT?= 80
|
|
WITH_SSL_PORT?= 443
|
|
|
|
PERL_BUILD_DEPENDS= swig:devel/swig
|
|
PERL_USES= perl5
|
|
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
|
|
OPTIONS_SUB= yes
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for i in SERVER_ONLY CERT_VERIFICATION ENABLE_CLIENT FULL_MODE \
|
|
SKELETON_MODE PROT_HIGH PROT_MEDIUM PROT_LOW COMPAT_OPENSSL \
|
|
HTTPD TLSWRAP X509 PERL DEBUG
|
|
. if ${PORT_OPTIONS:M${i}}
|
|
CONFIG_SUB+= ${i}=""
|
|
. else
|
|
CONFIG_SUB+= ${i}="\# "
|
|
. endif
|
|
.endfor
|
|
|
|
.if ${PORT_OPTIONS:MTEST}
|
|
. if ${PORT_OPTIONS:MCERT_VERIFICATION} || \
|
|
${PORT_OPTIONS:MENABLE_CLIENT} || \
|
|
${PORT_OPTIONS:MFULL_MODE}
|
|
CONFIG_SUB+= TEST_PERF=""
|
|
. else
|
|
CONFIG_SUB+= TEST_PERF="\# "
|
|
. endif
|
|
. if ${PORT_OPTIONS:MFULL_MODE} && empty(PORT_OPTIONS:MX509)
|
|
CONFIG_SUB+= TEST_SSL=""
|
|
. else
|
|
CONFIG_SUB+= TEST_SSL="\# "
|
|
. endif
|
|
.else
|
|
CONFIG_SUB+= TEST_PERF="\# " \
|
|
TEST_SSL="\# "
|
|
.endif
|
|
|
|
_CONFIG_SUB_TEMP= ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/^CC/s|gcc|${CC}|; /^HOSTCC/s|gcc|${CC}|' \
|
|
${WRKSRC}/config/Rules.mak
|
|
|
|
do-configure:
|
|
@${SED} ${_CONFIG_SUB_TEMP} \
|
|
-e '/^\([^#]*\) is not set$$/s//\1=y/' \
|
|
${FILESDIR}/data-.config.in > ${WRKSRC}/config/.config
|
|
${DO_MAKE_BUILD} -C ${WRKSRC} oldconfig
|
|
|
|
post-build:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${DO_MAKE_BUILD} -C ${WRKSRC} docs
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${STAGE}/libaxtls.a ${STAGEDIR}${PREFIX}/lib
|
|
${INSTALL_LIB} ${STAGE}/libaxtls.so.1.2 ${STAGEDIR}${PREFIX}/lib
|
|
${LN} -s libaxtls.so.1.2 ${STAGEDIR}${PREFIX}/lib/libaxtls.so.1
|
|
${LN} -fs libaxtls.so.1 ${STAGEDIR}${PREFIX}/lib/libaxtls.so
|
|
${INSTALL_PROGRAM} ${STAGE}/axssl ${STAGEDIR}${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MHTTPD}
|
|
${INSTALL_PROGRAM} ${STAGE}/htpasswd ${STAGEDIR}${PREFIX}/bin/axhtpasswd
|
|
${INSTALL_PROGRAM} ${STAGE}/axhttpd ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
.if ${PORT_OPTIONS:MTLSWRAP}
|
|
${INSTALL_PROGRAM} ${STAGE}/axtlswrap ${STAGEDIR}${PREFIX}/bin
|
|
.endif
|
|
.if ${PORT_OPTIONS:MPERL}
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto
|
|
${INSTALL_SCRIPT} ${STAGE}/axssl.pl ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${STAGE}/axtlsp.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
|
|
${INSTALL_LIB} ${STAGE}/libaxtlsp.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto
|
|
.endif
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/axTLS
|
|
${INSTALL_DATA} ${WRKSRC}/crypto/*.h ${STAGEDIR}${PREFIX}/include/axTLS
|
|
${INSTALL_DATA} ${WRKSRC}/ssl/*.h ${STAGEDIR}${PREFIX}/include/axTLS
|
|
${RM} ${STAGEDIR}${PREFIX}/include/axTLS/cert.h
|
|
${RM} ${STAGEDIR}${PREFIX}/include/axTLS/private_key.h
|
|
${RM} ${STAGEDIR}${PREFIX}/include/axTLS/os_port.h
|
|
${INSTALL_DATA} ${WRKSRC}/config/config.h ${STAGEDIR}${PREFIX}/include/axTLS
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docsrc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
regression-test: build
|
|
${DO_MAKE_BUILD} -C ${WRKSRC} test
|
|
cd ${WRKSRC} && ${MAKE_CMD} test
|
|
|
|
.include <bsd.port.mk>
|