diff --git a/security/1password-client/Makefile b/security/1password-client/Makefile index ebdcc8d79574..4ce847c0c59b 100644 --- a/security/1password-client/Makefile +++ b/security/1password-client/Makefile @@ -1,44 +1,42 @@ -# Created by: Adam Weinberger - PORTNAME= 1password-client DISTVERSION= 1.12.4 CATEGORIES= security MASTER_SITES= https://cache.agilebits.com/dist/1P/op/pkg/v${DISTVERSION}/ \ LOCAL/ler/op MAINTAINER= ler@FreeBSD.org COMMENT= 1Password CLI client ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 USES= zip NO_WRKSUBDIR= yes NO_BUILD= yes PLIST_FILES= bin/op CONFLICTS_INSTALL= security/op security/1password-client2 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/op ${STAGEDIR}${PREFIX}/bin .include .if ${ARCH} == amd64 DISTNAME= op_freebsd_amd64_v${DISTVERSION} .elif ${ARCH} == armv6 || ${ARCH} == armv7 DISTNAME= op_freebsd_arm_v${DISTVERSION} .elif ${ARCH} == aarch64 DISTNAME= op_freebsd_arm64_v${DISTVERSION} .elif ${ARCH} == i386 DISTNAME= op_freebsd_386_v${DISTVERSION} .endif .if ${.TARGETS} == "makesum" DISTFILES= op_freebsd_amd64_v${DISTVERSION}${EXTRACT_SUFX} \ op_freebsd_arm64_v${DISTVERSION}${EXTRACT_SUFX} \ op_freebsd_arm_v${DISTVERSION}${EXTRACT_SUFX} \ op_freebsd_386_v${DISTVERSION}${EXTRACT_SUFX} .endif .include diff --git a/security/ADMsmb/Makefile b/security/ADMsmb/Makefile index d910f385158b..ad4a77f90347 100644 --- a/security/ADMsmb/Makefile +++ b/security/ADMsmb/Makefile @@ -1,24 +1,22 @@ -# Created by: Jacek Serwatynski - PORTNAME= ADMsmb PORTVERSION= 0.3 CATEGORIES= security MASTER_SITES= PACKETSTORM/groups/ADM DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= mauroeldritch@gmail.com COMMENT= Security scanner for Samba USES= gmake MAKE_ARGS= CC="${CC}" FLAGS1="${CFLAGS}" post-patch: @${FIND} ${WRKSRC} -name "*.o" -delete @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ADMsmb ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/ADMsmb ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/ADMsmb .include diff --git a/security/ADMsnmp/Makefile b/security/ADMsnmp/Makefile index 9cb14c2286b2..38ec4e7ddc76 100644 --- a/security/ADMsnmp/Makefile +++ b/security/ADMsnmp/Makefile @@ -1,29 +1,27 @@ -# Created by: onatan@gmail.com - PORTNAME= ADMsnmp PORTVERSION= 0.1 CATEGORIES= security MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \ http://adm.freelsd.net/ADM/ \ PACKETSTORM/groups/ADM DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= onatan@gmail.com COMMENT= SNMP audit scanner WRKSRC= ${WRKDIR}/ADMsnmp USES= tar:tgz do-build: ${CC} ${CFLAGS} -DPORTSHAREDIR="${PREFIX}/share/ADMsnmp" \ -o ${WRKSRC}/ADMsnmp ${WRKSRC}/snmp.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ADMsnmp ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/share/ADMsnmp ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ADMsnmp ${INSTALL_DATA} ${WRKSRC}/snmp.passwd ${STAGEDIR}${PREFIX}/share/ADMsnmp ${INSTALL_DATA} ${WRKSRC}/ADMsnmp.README \ ${STAGEDIR}${PREFIX}/share/doc/ADMsnmp .include diff --git a/security/R-cran-ROAuth/Makefile b/security/R-cran-ROAuth/Makefile index 876368bb3325..e69f32653188 100644 --- a/security/R-cran-ROAuth/Makefile +++ b/security/R-cran-ROAuth/Makefile @@ -1,19 +1,17 @@ -# Created by: TAKATSU Tomonari - PORTNAME= ROAuth PORTVERSION= 0.9.6 PORTREVISION= 4 CATEGORIES= security DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= R interface for OAuth LICENSE= ART20 RUN_DEPENDS= R-cran-RCurl>0:ftp/R-cran-RCurl \ R-cran-digest>0:security/R-cran-digest USES= cran:auto-plist .include diff --git a/security/R-cran-digest/Makefile b/security/R-cran-digest/Makefile index 8c34d6fa99bf..202afd1ce02f 100644 --- a/security/R-cran-digest/Makefile +++ b/security/R-cran-digest/Makefile @@ -1,15 +1,13 @@ -# Created by: TAKATSU Tomonari - PORTNAME= digest PORTVERSION= 0.6.29 CATEGORIES= security DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Create cryptographic hash digests of R objects LICENSE= GPLv2+ USES= cran:auto-plist,compiles .include diff --git a/security/R-cran-gitcreds/Makefile b/security/R-cran-gitcreds/Makefile index e2ecc65ad7b1..4c795c5d1623 100644 --- a/security/R-cran-gitcreds/Makefile +++ b/security/R-cran-gitcreds/Makefile @@ -1,23 +1,21 @@ -# Created by: Guangyuan Yang - PORTNAME= gitcreds DISTVERSION= 0.1.1 CATEGORIES= security DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= ygy@FreeBSD.org COMMENT= Query 'git' Credentials from 'R' LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= R-cran-knitr>0:print/R-cran-knitr TEST_DEPENDS= R-cran-mockery>0:devel/R-cran-mockery \ R-cran-testthat>0:devel/R-cran-testthat \ R-cran-withr>0:devel/R-cran-withr \ R-cran-knitr>0:print/R-cran-knitr \ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown USES= cran:auto-plist .include diff --git a/security/R-cran-openssl/Makefile b/security/R-cran-openssl/Makefile index 10a8d48aa70a..057d8ca78172 100644 --- a/security/R-cran-openssl/Makefile +++ b/security/R-cran-openssl/Makefile @@ -1,22 +1,20 @@ -# Created by: TAKATSU Tomonari - PORTNAME= openssl PORTVERSION= 2.0.2 CATEGORIES= security DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Toolkit for Encryption, Signatures and Certificates Based on OpenSSL LICENSE= MIT CRAN_DEPENDS= R-cran-askpass>0:security/R-cran-askpass BUILD_DEPENDS= bash:shells/bash \ ${CRAN_DEPENDS} RUN_DEPENDS= ${CRAN_DEPENDS} USES= cran:auto-plist,compiles shebangfix ssl SHEBANG_FILES= ${WRKSRC}/tests/google.dk/generate.bash .include diff --git a/security/aescrypt/Makefile b/security/aescrypt/Makefile index 2f2749592dfb..bf2213f426d5 100644 --- a/security/aescrypt/Makefile +++ b/security/aescrypt/Makefile @@ -1,39 +1,37 @@ -# Created by: roam@FreeBSD.org - PORTNAME= aescrypt PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0 PATCH_SITES= http://devel.ringlet.net/security/aescrypt/patches/ \ http://people.FreeBSD.org/~roam/ports/patches/security/aescrypt/ PATCHFILES= aescrypt-0.7-roam-whopper-01.patch.gz MAINTAINER= mauroeldritch@gmail.com COMMENT= Command-line AES encryption/decryption suite LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes MAKE_ENV+= BINGRP=wheel # Upstream dead. Don't expect a proper fix. CFLAGS+= -fcommon BINS= aescrypt aesget OPTIONS_DEFINE= DOCS do-install: .for f in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} .include diff --git a/security/aespipe/Makefile b/security/aespipe/Makefile index 72f650aeb5be..a150495f074f 100644 --- a/security/aespipe/Makefile +++ b/security/aespipe/Makefile @@ -1,41 +1,39 @@ -# Created by: Ekkehard 'Ekki' Gehm - PORTNAME= aespipe PORTVERSION= 2.4e DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= http://loop-aes.sourceforge.net/${PORTNAME}/ \ http://koti.tnnet.fi/jari.ruusu/linux/ MAINTAINER= gehm@physik.tu-berlin.de COMMENT= AES encrypting or decrypting pipe LICENSE= GPLv2 RUN_DEPENDS= gpg:security/gnupg USES= tar:bzip2 GNU_CONFIGURE= yes TEST_TARGET= tests PLIST_FILES= bin/aespipe man/man1/aespipe.1.gz OPTIONS_DEFINE_amd64= ASM INTEL PADLOCK OPTIONS_DEFINE_i386= ASM INTEL PADLOCK INTEL_DESC= Support Intel hardware AES PADLOCK_DESC= Support VIA Padlock hardware AES ASM_CONFIGURE_ENABLE= asm=${ARCH:S/i386/x86/} INTEL_CONFIGURE_ENABLE= intelaes INTEL_IMPLIES= ASM PADLOCK_CONFIGURE_ENABLE= padlock PADLOCK_IMPLIES= ASM do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/afl++/Makefile b/security/afl++/Makefile index 5715f836f9fb..6c24a6758c45 100644 --- a/security/afl++/Makefile +++ b/security/afl++/Makefile @@ -1,82 +1,80 @@ -# Created by: Fabian Keil - PORTNAME= afl PORTVERSION= 4.00c CATEGORIES= security PKGNAMESUFFIX= ++-${FLAVOR} MAINTAINER= tobik@FreeBSD.org COMMENT= Fast instrumented fuzzer LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/docs/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= uses x86-only instrumentation or requires complete LLVM support BUILD_DEPENDS= ginstall:sysutils/coreutils FLAVORS= llvm gcc FLAVOR?= ${FLAVORS:[1]} _LLVM_VER= 13 llvm_BUILD_DEPENDS= clang${_LLVM_VER}:devel/llvm${_LLVM_VER} llvm_RUN_DEPENDS= clang${_LLVM_VER}:devel/llvm${_LLVM_VER} USES= gmake shebangfix tar:tgz .if ${FLAVOR} == gcc USE_GCC= yes .endif USE_GITHUB= yes GH_ACCOUNT= AFLplusplus GH_PROJECT= AFLplusplus SHEBANG_FILES= afl-persistent-config MAKEFILE= GNUmakefile MAKE_ARGS= ${${ARCH} != amd64 && ${ARCH} != i386:?AFL_NO_X86=1:} \ PREFIX="${PREFIX}/${PKGBASE}" .if ${FLAVOR} == llvm CFLAGS_riscv64= -mno-relax MAKE_ARGS+= CC=clang${_LLVM_VER} \ CXX=clang++${_LLVM_VER} \ LLVM_CONFIG=llvm-config${_LLVM_VER} .endif ALL_TARGET= distrib QA_ENV= IGNORE_QA_stripped=1 # unstripped to keep it functional DOCSDIR= ${PREFIX}/${PKGBASE}/share/doc/afl MANDIRS= ${PREFIX}/${PKGBASE}/share/man/man8 BINARY_ALIAS= install=ginstall PORTDOCS= * OPTIONS_DEFINE= DEBUG DOCS PYTHON OPTIONS_DEFAULT= PYTHON PYTHON_DESC= Python mutators support PYTHON_USES= gettext-runtime python PYTHON_BINARY_ALIAS= python3-config=${PYTHON_CMD}-config \ python3=${PYTHON_CMD} post-patch: @${REINPLACE_CMD} '/alt_cc/ s,"gcc","gcc${GCC_DEFAULT:S/-devel$//}",' \ ${WRKSRC}/src/afl-cc.c .if ${FLAVOR} == gcc @${REINPLACE_CMD} 's@\( as_params\[0\] = afl_as ? afl_as : \)\(.*\)@\1(u8*)"${LOCALBASE}/bin/as";@' \ ${WRKSRC}/src/afl-as.c .elif ${FLAVOR} == llvm @${ECHO_CMD} "all:" >${WRKSRC}/GNUmakefile.gcc_plugin .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/man.d @${ECHO_CMD} "MANPATH ${PREFIX}/${PKGBASE}/share/man" >${STAGEDIR}${PREFIX}/etc/man.d/${PKGBASE}.conf @${ECHO_CMD} "etc/man.d/${PKGBASE}.conf" >>${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${FIND} ${PKGBASE} -not -path '${PKGBASE}/share/doc/*' -and \( -type f -or -type l \) | \ ${SED} -Ee 's,^afl\+\+-${FLAVOR}/share/man/.*,&.gz,' \ -e 's,^.*/afl-${${FLAVOR} == gcc:?(clang|llvm):(gcc|g\+\+)}.*,@comment &,' | \ ${SORT} >> ${TMPPLIST} @${CAT} ${TMPPLIST} .include diff --git a/security/afterglow/Makefile b/security/afterglow/Makefile index e33398540f3a..dd17dbb692d3 100644 --- a/security/afterglow/Makefile +++ b/security/afterglow/Makefile @@ -1,51 +1,49 @@ -# Created by: pauls - PORTNAME= afterglow PORTVERSION= 1.6.2 PORTREVISION= 2 CATEGORIES= security graphics net-mgmt MASTER_SITES= SF/${PORTNAME}/AfterGlow%201.x/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Collection of graph-generating scripts LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL RUN_DEPENDS= dot:graphics/graphviz \ p5-Text-CSV>=0:textproc/p5-Text-CSV \ p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \ p5-IP-Anonymous>=0:net/p5-IP-Anonymous USES= shebangfix SHEBANG_FILES= data/generate.pl \ src/perl/charts/*.pl \ src/perl/graph/afterglow.pl \ src/perl/loganalysis/*.pl \ src/perl/loganalysis/*.sh \ src/perl/parsers/*.pl PORTSCOUT= skipv:2.0 NO_BUILD= yes NO_ARCH= yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/data ${MKDIR} ${STAGEDIR}${DATADIR}/charts ${MKDIR} ${STAGEDIR}${DATADIR}/graph ${MKDIR} ${STAGEDIR}${DATADIR}/loganalysis ${MKDIR} ${STAGEDIR}${DATADIR}/parsers (cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/data "! -name generate.pl") (cd ${WRKSRC}/data/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/data "-name generate.pl") (cd ${WRKSRC}/src/perl/charts/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/charts "! -name *\.pl") (cd ${WRKSRC}/src/perl/charts/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/charts "-name *\.pl") (cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/graph "! -name *\.pl") (cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/graph "-name *\.pl") (cd ${WRKSRC}/src/perl/loganalysis/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/loganalysis "! ( -name *\.pl -or -name *\.sh )") (cd ${WRKSRC}/src/perl/loganalysis/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/loganalysis "( -name *\.pl -or -name *\.sh )") (cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/parsers "! -name *\.pl") (cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/parsers "-name *\.pl") .include diff --git a/security/aide/Makefile b/security/aide/Makefile index 2995ab681919..6054d79b8ed5 100644 --- a/security/aide/Makefile +++ b/security/aide/Makefile @@ -1,32 +1,30 @@ -# Created by: Cy Schubert (Cy.Schubert@uumail.gov.bc.ca) - PORTNAME= aide PORTVERSION= 0.17.4 CATEGORIES= security MASTER_SITES= https://github.com/aide/aide/releases/download/v${PORTVERSION}/ MAINTAINER= cy@FreeBSD.org COMMENT= File and directory integrity checker LIB_DEPENDS= libmhash.so:security/mhash \ libpcre.so:devel/pcre USES= bison gmake localbase GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-mhash \ --with-zlib \ --mandir=${MANPREFIX}/man \ --with-config_file=${PREFIX}/etc/aide.conf CONFIGURE_ENV= YACC="bison -y" LDFLAGS+= -lpthread SUB_FILES= pkg-message post-install: ${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${STAGEDIR}${PREFIX}/etc/aide.conf.sample ${MKDIR} ${STAGEDIR}/var/db/aide/databases ${CHMOD} 0700 ${STAGEDIR}/var/db/aide ${STAGEDIR}/var/db/aide/databases .include diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile index 62faf602dee4..9f10bc4e272d 100644 --- a/security/amavisd-milter/Makefile +++ b/security/amavisd-milter/Makefile @@ -1,62 +1,60 @@ -# Created by: Petr Rehor - PORTNAME= amavisd-milter PORTVERSION= 1.7.0 CATEGORIES= security mail MASTER_SITES= https://github.com/prehor/${PORTNAME}/releases/download/${PORTVERSION}/ MAINTAINER= rx@rx.cz COMMENT= Milter for amavisd-new RUN_DEPENDS= amavisd:security/amavisd-new ## # Use the following quirks to choose which sendmail to use (ports or system): # # WITH_MILTER_BASE=yes # or # WITH_MILTER_PORT=yes # # If unspecified, check for an up-to-date system version but give an # installed port preference over it. ## # Shared defaults with security/amavisd-new AMAVISUSER?= vscan AMAVISGROUP?= vscan AMAVISDIR?= /var/amavis RUNDIR= /var/run/amavis GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-working-dir=${AMAVISDIR}/tmp USE_RC_SUBR= ${PORTNAME} SUB_LIST= AMAVISUSER=${AMAVISUSER} \ AMAVISGROUP=${AMAVISGROUP} \ AMAVISDIR=${AMAVISDIR} \ RUNDIR=${RUNDIR} PLIST_SUB= ${SUB_LIST} PORTDOCS= CHANGES INSTALL LICENSE OPTIONS_DEFINE= DOCS .include .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE} .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL} -d -o ${AMAVISUSER} -g ${AMAVISGROUP} -m 755 ${STAGEDIR}${RUNDIR} .include diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile index 2503bd0f7229..017212e7f41b 100644 --- a/security/apache-xml-security-c/Makefile +++ b/security/apache-xml-security-c/Makefile @@ -1,25 +1,23 @@ -# Created by: Tony Maher - PORTNAME= xml-security-c PORTVERSION= 2.0.4 CATEGORIES= security MASTER_SITES= APACHE/santuario/c-library PKGNAMEPREFIX= apache- MAINTAINER= girgen@FreeBSD.org COMMENT= Apache XML security libraries - C++ version LICENSE= APACHE20 LIB_DEPENDS+= libxerces-c.so:textproc/xerces-c3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --without-xalan --with-openssl=${OPENSSLBASE} USES= cpe gmake libtool tar:bzip2 ssl pkgconfig autoreconf USE_LDCONFIG= yes CONFIGURE_ENV+= openssl_LIBS="-L${OPENSSLLIB} -lcrypto" openssl_CFLAGS=-I${OPENSSLBASE} CPE_PRODUCT= xml_security_for_c++ CPE_VENDOR= apache .include diff --git a/security/apkid/Makefile b/security/apkid/Makefile index 934976ead028..7d6b6b8c2020 100644 --- a/security/apkid/Makefile +++ b/security/apkid/Makefile @@ -1,35 +1,33 @@ -# Created by: thierry@pompo.net - PORTNAME= APKiD PORTVERSION= 2.1.3 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= thierry@FreeBSD.org COMMENT= Android Application Identifier LICENSE= GPLv3 RedNaga LICENSE_COMB= dual LICENSE_NAME_RedNaga= Commercial LICENSE_FILE_RedNaga= ${WRKSRC}/LICENSE.COMMERCIAL LICENSE_PERMS_RedNaga= pkg-mirror pkg-sell USE_GITHUB= yes GH_ACCOUNT= rednaga USES= python:3.7+ USE_PYTHON= distutils BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yara-python-dex>0:security/py-yara-python-dex@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yara-python-dex>0:security/py-yara-python-dex@${PY_FLAVOR} PLIST_SUB= VER=${PORTVERSION} NO_ARCH= yes post-install: (cd ${WRKSRC} && ${PYTHON_CMD} ./prep-release.py) ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/apkid/rules ${CP} ${WRKSRC}/apkid/rules/rules.yarc \ ${STAGEDIR}${PYTHON_SITELIBDIR}/apkid/rules/ .include diff --git a/security/arpCounterattack/Makefile b/security/arpCounterattack/Makefile index c3e7cd47dd1a..b0b572ce2a84 100644 --- a/security/arpCounterattack/Makefile +++ b/security/arpCounterattack/Makefile @@ -1,29 +1,27 @@ -# Created by: Boris Kochergin - PORTNAME= arpCounterattack PORTVERSION= 1.2.0 PORTREVISION= 8 CATEGORIES= security MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \ http://bk.macroblock.net/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Detects and remedies ARP attacks LIB_DEPENDS= libdnet.so:net/libdnet \ libpcap.so:net/libpcap USES= compiler:c++11-lib tar:tbz USE_CSTD= c++11 USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/arpCounterattack ${INSTALL_PROGRAM} ${WRKSRC}/arpCounterattack \ ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/arpCounterattack.conf.sample \ ${WRKSRC}/oui.txt ${STAGEDIR}${PREFIX}/etc/arpCounterattack .include diff --git a/security/autossh/Makefile b/security/autossh/Makefile index b02c5f650850..aff2ced74f0d 100644 --- a/security/autossh/Makefile +++ b/security/autossh/Makefile @@ -1,29 +1,27 @@ -# Created by: Yen-Ming Lee - PORTNAME= autossh PORTVERSION= 1.4g CATEGORIES= security MASTER_SITES= http://www.harding.motd.ca/autossh/ MAINTAINER= egypcio@FreeBSD.org COMMENT= Automatically restart SSH sessions and tunnels LICENSE= BSD3CLAUSE USES= tar:tgz GNU_CONFIGURE= yes PORTDOCS= CHANGES README # Fix build with clang11 CFLAGS+= -fcommon OPTIONS_DEFINE= DOCS SSH_PORTABLE SSH_PORTABLE_DESC= Default to ports openssh (instead of base) SSH_PORTABLE_CONFIGURE_ENV= ac_cv_path_ssh=${LOCALBASE}/bin/ssh SSH_PORTABLE_RUN_DEPENDS= ${LOCALBASE}/bin/ssh:security/openssh-portable .include diff --git a/security/aws-c-auth/Makefile b/security/aws-c-auth/Makefile index b1017624e37c..e0ddd5ca73a0 100644 --- a/security/aws-c-auth/Makefile +++ b/security/aws-c-auth/Makefile @@ -1,31 +1,29 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= aws-c-auth PORTVERSION= 0.6.10 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= C99 library implementation of AWS client-side authentication LICENSE= APACHE20 LIB_DEPENDS= libaws-c-common.so:devel/aws-c-common \ libaws-c-cal.so:security/aws-c-cal \ libaws-c-io.so:devel/aws-c-io \ libaws-c-compression.so:devel/aws-c-compression \ libaws-c-http.so:devel/aws-c-http \ libaws-c-sdkutils.so:devel/aws-c-sdkutils \ libs2n.so:security/s2n USES= cmake compiler:c11 ssl USE_GITHUB= yes GH_ACCOUNT= awslabs CMAKE_ARGS+= -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON \ -DCMAKE_PREFIX_PATH=${LOCALBASE} USE_LDCONFIG= yes .include diff --git a/security/aws-c-cal/Makefile b/security/aws-c-cal/Makefile index 627df0b2c4b8..6d592ac2fb51 100644 --- a/security/aws-c-cal/Makefile +++ b/security/aws-c-cal/Makefile @@ -1,24 +1,22 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= aws-c-cal PORTVERSION= 0.5.12 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= Aws Crypto Abstraction Layer LICENSE= APACHE20 LIB_DEPENDS= libaws-c-common.so:devel/aws-c-common USES= cmake compiler:c11 ssl USE_GITHUB= yes GH_ACCOUNT= awslabs CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_LIBDIR=${LOCALBASE}/lib USE_LDCONFIG= yes .include diff --git a/security/aws-iam-authenticator/Makefile b/security/aws-iam-authenticator/Makefile index 6bbf0ad63cd8..37f89e80843c 100644 --- a/security/aws-iam-authenticator/Makefile +++ b/security/aws-iam-authenticator/Makefile @@ -1,101 +1,99 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= aws-iam-authenticator PORTVERSION= 0.5.2 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= Use AWS IAM credentials to authenticate to a Kubernetes cluster LICENSE= APACHE20 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= kubernetes-sigs GH_SUBDIR= src/github.com/kubernetes-sigs/${PORTNAME} # The embeded golang/sys fails to build on aarch64 GOLANG_SYS_V= 9fbb57f87de9 GH_TUPLE= \ PuerkitoBio:purell:v1.1.1:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \ PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \ aws:aws-sdk-go:v1.30.0:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ christopherhein:go-version:v0.1.0:christopherhein_go_version/vendor/go.hein.dev/go-version \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ emicklei:go-restful:v2.9.5:emicklei_go_restful/vendor/github.com/emicklei/go-restful \ evanphx:json-patch:v4.2.0:evanphx_json_patch/vendor/github.com/evanphx/json-patch \ fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-inf:inf:v0.9.1:go_inf_inf/vendor/gopkg.in/inf.v0 \ go-openapi:jsonpointer:v0.19.3:go_openapi_jsonpointer/vendor/github.com/go-openapi/jsonpointer \ go-openapi:jsonreference:v0.19.2:go_openapi_jsonreference/vendor/github.com/go-openapi/jsonreference \ go-openapi:spec:v0.19.2:go_openapi_spec/vendor/github.com/go-openapi/spec \ go-openapi:swag:v0.19.5:go_openapi_swag/vendor/github.com/go-openapi/swag \ go-yaml:yaml:v2.2.8:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ gofrs:flock:v0.7.0:gofrs_flock/vendor/github.com/gofrs/flock \ gogo:protobuf:65acae22fc9d:gogo_protobuf/vendor/github.com/gogo/protobuf \ golang:appengine:v1.5.0:golang_appengine/vendor/google.golang.org/appengine \ golang:crypto:bac4c82f6975:golang_crypto/vendor/golang.org/x/crypto \ golang:groupcache:5b532d6fd5ef:golang_groupcache/vendor/github.com/golang/groupcache \ golang:net:16171245cfb2:golang_net/vendor/golang.org/x/net \ golang:oauth2:0f29369cfe45:golang_oauth2/vendor/golang.org/x/oauth2 \ golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ golang:sys:${GOLANG_SYS_V}:golang_sys/vendor/golang.org/x/sys_${GOLANG_SYS_V} \ golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ golang:time:9d24e82272b4:golang_time/vendor/golang.org/x/time \ golang:tools:5eefd052ad72:golang_tools/vendor/golang.org/x/tools \ google:go-cmp:v0.3.0:google_go_cmp/vendor/github.com/google/go-cmp \ google:gofuzz:v1.0.0:google_gofuzz/vendor/github.com/google/gofuzz \ googleapis:gnostic:0c5108395e2d:googleapis_gnostic/vendor/github.com/googleapis/gnostic \ hashicorp:golang-lru:v0.5.1:hashicorp_golang_lru/vendor/github.com/hashicorp/golang-lru \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ imdario:mergo:v0.3.5:imdario_mergo/vendor/github.com/imdario/mergo \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jmespath:go-jmespath:v0.3.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ json-iterator:go:v1.1.7:json_iterator_go/vendor/github.com/json-iterator/go \ konsorten:go-windows-terminal-sequences:v1.0.1:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ kubernetes-sigs:yaml:v1.1.0:kubernetes_sigs_yaml/vendor/sigs.k8s.io/yaml \ kubernetes:api:v0.16.8:kubernetes_api/vendor/k8s.io/api \ kubernetes:apimachinery:v0.16.8:kubernetes_apimachinery/vendor/k8s.io/apimachinery \ kubernetes:client-go:v0.16.8:kubernetes_client_go/vendor/k8s.io/client-go \ kubernetes:code-generator:v0.16.8:kubernetes_code_generator/vendor/k8s.io/code-generator \ kubernetes:component-base:v0.16.8:kubernetes_component_base/vendor/k8s.io/component-base \ kubernetes:gengo:26a664648505:kubernetes_gengo/vendor/k8s.io/gengo \ kubernetes:klog:v1.0.0:kubernetes_klog/vendor/k8s.io/klog \ kubernetes:kube-openapi:743ec37842bf:kubernetes_kube_openapi/vendor/k8s.io/kube-openapi \ kubernetes:sample-controller:v0.16.8:kubernetes_sample_controller/vendor/k8s.io/sample-controller \ kubernetes:utils:581e00157fb1:kubernetes_utils/vendor/k8s.io/utils \ magiconair:properties:v1.8.0:magiconair_properties/vendor/github.com/magiconair/properties \ mailru:easyjson:b2ccc519800e:mailru_easyjson/vendor/github.com/mailru/easyjson \ matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.1:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \ pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ prometheus:client_golang:v1.1.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ prometheus:client_model:fd36f4220a90:prometheus_client_model/vendor/github.com/prometheus/client_model \ prometheus:common:v0.6.0:prometheus_common/vendor/github.com/prometheus/common \ prometheus:procfs:v0.0.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v0.0.5:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.4.0:spf13_viper/vendor/github.com/spf13/viper GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-X main.version=${PORTVERSION}" PLIST_FILES= bin/${PORTNAME} post-extract: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${MV} ${WRKSRC}/vendor/golang.org/x/sys_${GOLANG_SYS_V} ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKSRC}/src/github.com/kubernetes-sigs ${WRKSRC}/vendor/github.com/ .include diff --git a/security/bcrypt/Makefile b/security/bcrypt/Makefile index 43487fe8b0c8..9f931d29d963 100644 --- a/security/bcrypt/Makefile +++ b/security/bcrypt/Makefile @@ -1,31 +1,29 @@ -# Created by: Emanuel Haupt - PORTNAME= bcrypt PORTVERSION= 1.1 CATEGORIES= security MASTER_SITES= http://bcrypt.sourceforge.net/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Cross-platform blowfish encryption utility ALL_TARGET= ${PORTNAME} LDFLAGS+= -lz PORTDOCS= README PLIST_FILES= bin/bcrypt man/man1/bcrypt.1.gz OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E 's/^(CC|CFLAGS|LDFLAGS|PREFIX)\ /\1?/' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/bcwipe/Makefile b/security/bcwipe/Makefile index efb1b10de607..478b9a115106 100644 --- a/security/bcwipe/Makefile +++ b/security/bcwipe/Makefile @@ -1,35 +1,33 @@ -# Created by: crow - PORTNAME= bcwipe PORTVERSION= 1.9.13 CATEGORIES= security MASTER_SITES= http://www.jetico.com/linux/ DISTNAME= BCWipe-${PORTVERSION:S/./-/g:S/-/./} MAINTAINER= cy@FreeBSD.org COMMENT= BCWipe securely erases data from magnetic and solid-state memory # Converted from NO_CDROM LICENSE= bcwipe LICENSE_NAME= bcwipe LICENSE_TEXT= Non-commercial distribution and use only LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= cpe CPE_VENDOR= jetico WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/g:S/-/./} GNU_CONFIGURE= yes MAKE_ARGS+= CFLAGS="${CFLAGS}" PLIST_FILES= bin/bcwipe man/man1/bcwipe.1.gz post-patch: @${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c @${REINPLACE_CMD} -e "s,if (NULL == mktemp(result)),if (mkstemp(result) == -1),g" ${WRKSRC}/wipe.c @${REINPLACE_CMD} -e "s,mktemp,mkstemp,g" ${WRKSRC}/wipe.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/security/bdes/Makefile b/security/bdes/Makefile index 7c41b8c55737..12b7d84a9c13 100644 --- a/security/bdes/Makefile +++ b/security/bdes/Makefile @@ -1,28 +1,26 @@ -# Created by: Bernard Spil - PORTNAME= bdes PORTVERSION= 1993 CATEGORIES= security MASTER_SITES= http://phobos69.inf.uni-konstanz.de/download/tools/ \ LOCAL/brnrd DISTNAME= ${PORTNAME} MAINTAINER= brnrd@FreeBSD.org COMMENT= Encrypt/decrypt using the Data Encryption Standard (DES) LICENSE= BSD2CLAUSE USES= ssl tar WRKSRC= ${WRKDIR}/bdes.src PLIST_FILES= bin/bdes man/man1/bdes.1.gz do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${OPENSSLINC} -c bdes.c cd ${WRKSRC} && ${CC} -o bdes bdes.o ${OPENSSLLIB}/libcrypto.so do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bdes ${STAGEDIR}${PREFIX}/bin/bdes ${INSTALL_MAN} ${WRKSRC}/bdes.1 ${STAGEDIR}${MANPREFIX}/man/man1/bdes.1 .include diff --git a/security/bearssl/Makefile b/security/bearssl/Makefile index b84dad63ad96..69c072ec1d81 100644 --- a/security/bearssl/Makefile +++ b/security/bearssl/Makefile @@ -1,25 +1,23 @@ -# Created by: Mark Felder - PORTNAME= bearssl PORTVERSION= 0.6 CATEGORIES= security devel MASTER_SITES= https://bearssl.org/ MAINTAINER= bapt@FreeBSD.org COMMENT= Implementation of TLS/SSL in C LICENSE= MIT LIBBEARSSL= libbearssl.so.0 MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -fPIC" LDDLL="${CC}" LDDLLFLAGS="-shared -Wl,-soname=${LIBBEARSSL}" \ BEARSSLDLL=${LIBBEARSSL} MAKE_JOBS_UNSAFE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_LIB} ${WRKSRC}/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/ ${RLN} ${STAGEDIR}${PREFIX}/lib/${LIBBEARSSL} ${STAGEDIR}${PREFIX}/lib/libbearssl.so (cd ${WRKSRC}/inc && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/include) .include diff --git a/security/beecrypt/Makefile b/security/beecrypt/Makefile index 3a6bde4f3415..03389f60729c 100644 --- a/security/beecrypt/Makefile +++ b/security/beecrypt/Makefile @@ -1,47 +1,45 @@ -# Created by: Ying-Chieh Liao - PORTNAME= beecrypt PORTVERSION= 4.2.1 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF PATCHFILES= mpntrbits.patch PATCH_SITES= http://sourceforge.net/p/beecrypt/patches/_discuss/thread/bff89ba1/5387/attachment/ MAINTAINER= mi@aldan.algebra.com COMMENT= Open source cryptographic library LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB BROKEN_powerpc64= Does not build: Error: unsupported relocation against r3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-java --without-python INSTALL_TARGET= install-strip USES= cpe libtool USE_LDCONFIG= yes TEST_TARGET= check CPE_VENDOR= beecrypt_project OPTIONS_DEFINE= OPENMP OPENMP_CONFIGURE_ENABLE= openmp .include post-patch: .if ${PORT_OPTIONS:MOPENMP} @${ECHO_MSG} "Configuring for OpenMP support" @${ECHO_MSG} "Any ports depending on beecrypt must be configured for OpenMP too." .endif # Configure tries to guess our CPU-features using Linux-centric logic. # Help it here: .for o in sse3 sse2 sse mmx .if ${MACHINE_CPU:M$o} != "" CPPFLAGS+= -DOPTIMIZE_${o:tu} .endif .endfor .include diff --git a/security/belier/Makefile b/security/belier/Makefile index dbbbfaede674..7f664e739a97 100644 --- a/security/belier/Makefile +++ b/security/belier/Makefile @@ -1,18 +1,16 @@ -# Created by: rokaz - PORTNAME= belier PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= http://www.ohmytux.com/belier/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= romain.garbage@gmail.com COMMENT= Easily cross several machines with SSH RUN_DEPENDS= expect>=5.42.1:lang/expect USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/bfbtester/Makefile b/security/bfbtester/Makefile index cfa9490d0fff..9704a492cb1a 100644 --- a/security/bfbtester/Makefile +++ b/security/bfbtester/Makefile @@ -1,16 +1,14 @@ -# Created by: Mike Heffner - PORTNAME= bfbtester PORTVERSION= 2.0.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= mauroeldritch@gmail.com COMMENT= Security tool for testing binaries for overflows GNU_CONFIGURE= yes PLIST_FILES= bin/bfbtester USES= gmake .include diff --git a/security/bsdsfv/Makefile b/security/bsdsfv/Makefile index 05775fd075d4..1802ed56b587 100644 --- a/security/bsdsfv/Makefile +++ b/security/bsdsfv/Makefile @@ -1,25 +1,23 @@ -# Created by: Emanuel Haupt - PORTNAME= bsdsfv PORTVERSION= 1.18 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ehaupt@FreeBSD.org COMMENT= Flexible SFV checksum utility WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/bsdsfv PORTDOCS= MANUAL OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|^\(INSTALL_PREFIX =\).*$$|\1 ${STAGEDIR}${PREFIX}|g' \ ${WRKSRC}/Makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/bsmtrace/Makefile b/security/bsmtrace/Makefile index 741cb60de5d7..715e3a58dae3 100644 --- a/security/bsmtrace/Makefile +++ b/security/bsmtrace/Makefile @@ -1,41 +1,39 @@ -# Created by: alm - PORTNAME= bsmtrace PORTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= LOCAL/csjp MAINTAINER= csjp@FreeBSD.org COMMENT= BSM based intrusion detection system LICENSE= BSD2CLAUSE SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PCRE EXAMPLES PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MAKE_ENV= PCRE=1 PCRE_USES= localbase PCRE_LIBS= -lpcre pre-build: ${REINPLACE_CMD} -e \ 's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \ ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \ ${STAGEDIR}${MAN5PREFIX}/man/man5 do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/calife/Makefile b/security/calife/Makefile index df0d09e85192..bc4d4d1e6fa8 100644 --- a/security/calife/Makefile +++ b/security/calife/Makefile @@ -1,28 +1,26 @@ -# Created by: Thomas Quinot - PORTNAME= calife PORTVERSION= 3.0.6 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://assets.keltia.net/calife/ MAINTAINER= roberto@FreeBSD.org COMMENT= Lightweight alternative to sudo LICENSE= GPLv2 USES= cpe tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc CONFIGURE_ARGS+= --with-pam do-install: ${INSTALL_PROGRAM} ${WRKSRC}/calife ${STAGEDIR}${PREFIX}/bin/calife ${INSTALL_MAN} ${WRKSRC}/calife.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/calife.auth.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/calife.auth-dist ${STAGEDIR}${PREFIX}/etc/calife.auth.sample ${INSTALL_DATA} ${WRKSRC}/pam/freebsd9 ${STAGEDIR}${PREFIX}/etc/pam.d/calife.sample .include diff --git a/security/cardpeek/Makefile b/security/cardpeek/Makefile index bf6762488187..733652ff3264 100644 --- a/security/cardpeek/Makefile +++ b/security/cardpeek/Makefile @@ -1,33 +1,31 @@ -# Created by: Alexey Dokuchaev - PORTNAME= cardpeek PORTVERSION= 0.8.4 CATEGORIES= security MASTER_SITES= http://downloads.pannetrat.com/install/ MAINTAINER= danfe@FreeBSD.org COMMENT= Tool for reading the contents of ISO 7816 smart cards LICENSE= GPLv3 LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite \ libcurl.so:ftp/curl RUN_DEPENDS= pcscd:devel/pcsc-lite USES= gnome iconv localbase lua:52 pkgconfig USE_GNOME= gtk30 GNU_CONFIGURE= yes PLIST_FILES= bin/cardpeek man/man1/cardpeek.1.gz \ share/appdata/cardpeek.appdata.xml \ share/applications/cardpeek.desktop \ share/icons/hicolor/48x48/apps/cardpeek-logo.png PORTDOCS= AUTHORS README cardpeek_ref.en.pdf OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,^doc_DATA =,& AUTHORS README,' \ ${WRKSRC}/Makefile.in .include diff --git a/security/ccrypt/Makefile b/security/ccrypt/Makefile index 047187038311..709d3ecc3e26 100644 --- a/security/ccrypt/Makefile +++ b/security/ccrypt/Makefile @@ -1,31 +1,29 @@ -# Created by: ijliao - PORTNAME= ccrypt DISTVERSION= 1.11 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${DISTVERSION}/ \ http://www.mathstat.dal.ca/~selinger/ccrypt/download/${DISTVERSION}/ MAINTAINER= dev2@heesakkers.info COMMENT= Command-line utility for encrypting and decrypting files and streams LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls GNU_CONFIGURE= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README doc/ccrypt.html doc/cypfaq01.txt ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/ccsrch/Makefile b/security/ccsrch/Makefile index a60f890ceb0b..0aac4fd37110 100644 --- a/security/ccsrch/Makefile +++ b/security/ccsrch/Makefile @@ -1,29 +1,27 @@ -# Created by: Pavel I Volkov - PORTNAME= ccsrch PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION} MAINTAINER= pavelivolkov@gmail.com COMMENT= Is a tool that searches for credit card numbers (PAN) and track data LICENSE= GPLv2 OPTIONS_DEFINE= DOCS USES= tar:tgz PORTDOCS= README PLIST_FILES= bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}; \ for f in ${PORTDOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \ done .include diff --git a/security/cfs/Makefile b/security/cfs/Makefile index e2ff920c6c74..068188a2fc62 100644 --- a/security/cfs/Makefile +++ b/security/cfs/Makefile @@ -1,34 +1,32 @@ -# Created by: John Polstra - PORTNAME= cfs DISTVERSION= 1.5.0.beta CATEGORIES= security MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ MAINTAINER= crees@FreeBSD.org COMMENT= Cryptographic file system implemented as a user-space NFS server ALL_TARGET= cfs MAKE_ARGS= CC="${CC}" CFSD_BOOTSTRAP= ${PREFIX}/cfsd-bootstrap USE_RC_SUBR= cfsd SUB_FILES= pkg-message SUB_LIST= CFSD_BOOTSTRAP=${CFSD_BOOTSTRAP} PLIST_SUB= CFSD_BOOTSTRAP=${CFSD_BOOTSTRAP} post-patch: ${REINPLACE_CMD} 's/^\.TH SSH/.TH CFSSH/' ${WRKSRC}/cfssh.1 do-install: cd ${WRKSRC}; \ ${INSTALL_PROGRAM} ccat cfsd cname ${STAGEDIR}${PREFIX}/sbin; \ ${INSTALL_PROGRAM} cattach cdetach cmkdir cpasswd ${STAGEDIR}${PREFIX}/bin; \ ${INSTALL_SCRIPT} cfssh ${STAGEDIR}${PREFIX}/bin/cfssh; \ ${INSTALL_MAN} cattach.1 cdetach.1 cmkdir.1 cpasswd.1 cfssh.1 ${STAGEDIR}${PREFIX}/man/man1; \ ${INSTALL_MAN} ccat.8 cfsd.8 cname.8 ${STAGEDIR}${PREFIX}/man/man8; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cfs; \ ${INSTALL_DATA} README.install notes.ms ${STAGEDIR}${PREFIX}/share/doc/cfs ${INSTALL} -d -m 0 ${STAGEDIR}${CFSD_BOOTSTRAP} .include diff --git a/security/chaosreader/Makefile b/security/chaosreader/Makefile index 2537b4830c8d..bd464ade4565 100644 --- a/security/chaosreader/Makefile +++ b/security/chaosreader/Makefile @@ -1,30 +1,28 @@ -# Created by: pauls - PORTNAME= chaosreader PORTVERSION= 0.96 CATEGORIES= security MAINTAINER= dbaio@FreeBSD.org COMMENT= Tool to extract data from tcpdump logs LICENSE= GPLv3+ RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS USES= perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= brendangregg GH_PROJECT= Chaosreader USE_PERL5= run NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} SHEBANG_FILES= chaosreader do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/checkpassword-pam/Makefile b/security/checkpassword-pam/Makefile index 667a3bb71a9d..0c2ec32cbb24 100644 --- a/security/checkpassword-pam/Makefile +++ b/security/checkpassword-pam/Makefile @@ -1,23 +1,21 @@ -# Created by: Clement Laforet - PORTNAME= checkpassword-pam PORTVERSION= 0.99 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/checkpasswd-pam/checkpasswd-pam/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Implementation of checkpassword authentication program LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes PLIST_FILES= bin/checkpassword-pam \ man/man8/checkpassword-pam.8.gz post-install: ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/checkpassword/Makefile b/security/checkpassword/Makefile index 6053339b67e8..a8c1bf923236 100644 --- a/security/checkpassword/Makefile +++ b/security/checkpassword/Makefile @@ -1,34 +1,32 @@ -# Created by: sada@FreeBSD.org - PORTNAME= checkpassword PORTVERSION= 0.90 CATEGORIES= security MASTER_SITES= http://cr.yp.to/checkpwd/ \ GENTOO MAINTAINER= garga@FreeBSD.org COMMENT= Simple password-checking interface OPTIONS_DEFINE= DOCS ALL_TARGET= it INSTALL_TARGET= setup PLIST_FILES= bin/checkpassword PORTDOCS= CHANGES FILES README SYSDEPS TARGETS TODO VERSION post-patch: @${REINPLACE_CMD} -e "s,gcc,${CC},g" ${WRKSRC}/find-systype.sh do-configure: @${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-cc @${ECHO_CMD} '${CC} ${CFLAGS} -s -lcrypt' > ${WRKSRC}/conf-ld @${ECHO_CMD} ${STAGEDIR}${PREFIX} >${WRKSRC}/conf-home post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index 49c7c37f7da1..4b748f1e794b 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -1,55 +1,53 @@ -# Created by: Luiz Eduardo R. Cordeiro - PORTNAME= chkrootkit PORTVERSION= 0.55 CATEGORIES= security MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ MAINTAINER= lacey.leanne@gmail.com COMMENT= Tool to locally check for signs of a rootkit LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= cpe OPTIONS_DEFINE= DOCS SCRIPT_FILES= chkrootkit PROG_FILES= chklastlog \ chkwtmp \ chkutmp \ chkproc \ chkdirs \ ifpromisc \ check_wtmpx \ strings ALL_TARGET= ${SCRIPT_FILES} ${PROG_FILES} PORTDOCS= ACKNOWLEDGMENTS \ COPYRIGHT \ README \ README.chklastlog \ README.chkwtmp PLIST_FILES= ${ALL_TARGET:C,^,sbin/,} BINMODE= 0700 .include post-patch: @${REINPLACE_CMD} -E "s/^(CC|CFLAGS)[^a-zA-Z]*=/\1 ?=/" \ ${WRKSRC}/Makefile .for prog in ${PROG_FILES} @${REINPLACE_CMD} -E 's,\./(${prog}),${PREFIX}/sbin/\1,g' \ ${WRKSRC}/chkrootkit .endfor do-install: ${INSTALL_SCRIPT} ${SCRIPT_FILES:C,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${PROG_FILES:C,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/chntpw/Makefile b/security/chntpw/Makefile index 3d88f0817502..8627b6a6c7d3 100644 --- a/security/chntpw/Makefile +++ b/security/chntpw/Makefile @@ -1,33 +1,31 @@ -# Created by: buganini@gmail.com - PORTNAME= chntpw PORTVERSION= 140201 CATEGORIES= security sysutils MASTER_SITES= http://pogostick.net/~pnh/ntpasswd/ DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Utility to set the password and edit registry on Microsoft NT system LICENSE= GPLv2 USES= gmake zip ssl BIN_FILES= chntpw cpnt reged PLIST_FILES= ${BIN_FILES:C|^|bin/|} PORTDOCS= README.txt WinReg.txt regedit.txt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^CC=/d; /^OSSLPATH=/ s|=.*|=${OPENSSLBASE}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CFLAGS=/ s| -m32||' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${BIN_FILES:C|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/chroot_safe/Makefile b/security/chroot_safe/Makefile index e3670c4492a0..fcf9e8373d9d 100644 --- a/security/chroot_safe/Makefile +++ b/security/chroot_safe/Makefile @@ -1,26 +1,24 @@ -# Created by: Gabor Kovesdan - PORTNAME= chroot_safe PORTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= security sysutils MASTER_SITES= SF/chrootsafe/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= LD_PRELOAD wrapper to safely chroot(2) any program LICENSE= MIT USES= tar:tgz GNU_CONFIGURE= yes PLIST_FILES= man/man1/chroot_safe.1.gz sbin/chroot_safe libexec/chroot_safe/chroot_safe.so post-patch: @${REINPLACE_CMD} -e 's|CXX=g++|CXX?=c++|' \ -e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in @${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp .include diff --git a/security/chrootuid/Makefile b/security/chrootuid/Makefile index b35cbf7e7901..285121f733fc 100644 --- a/security/chrootuid/Makefile +++ b/security/chrootuid/Makefile @@ -1,29 +1,27 @@ -# Created by: truckman - PORTNAME= chrootuid PORTVERSION= 1.3 CATEGORIES= security MASTER_SITES= ftp://ftp.porcupine.org/pub/security/ \ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/chrootuid/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple wrapper that combines chroot(8) and su(1) into one program LICENSE= MIT # MIT-like actually LICENSE_FILE= ${WRKSRC}/chrootuid_license PLIST_FILES= sbin/chrootuid man/man8/chrootuid.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/chrootuid.1 ${STAGEDIR}${PREFIX}/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/ckpass/Makefile b/security/ckpass/Makefile index 032b67c0979b..8d1a9d149e63 100644 --- a/security/ckpass/Makefile +++ b/security/ckpass/Makefile @@ -1,22 +1,20 @@ -# Created by: Veniamin Gvozdikov - PORTNAME= ckpass PORTVERSION= 0.2 CATEGORIES= security MASTER_SITES= SF/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Ncurses based password database client LICENSE= GPLv3 LIB_DEPENDS= libkpass.so:security/libkpass USES= ncurses GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/ckpass .include diff --git a/security/cksfv/Makefile b/security/cksfv/Makefile index ffd50ad5b172..8c939d2e115f 100644 --- a/security/cksfv/Makefile +++ b/security/cksfv/Makefile @@ -1,30 +1,28 @@ -# Created by: Johann Visagie - PORTNAME= cksfv PORTVERSION= 1.3.15 CATEGORIES= security MASTER_SITES= http://zakalwe.fi/~shd/foss/cksfv/files/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Create or manipulate Simple File Verification (SFV) checksum files LICENSE= GPLv2 USES= tar:bz2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \ --prefix=${PREFIX} PLIST_FILES= bin/cksfv \ man/man1/cksfv.1.gz post-patch: @${REINPLACE_CMD} -e 's|^\(CC\)=|\1?=|' ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/clamassassin/Makefile b/security/clamassassin/Makefile index eff123ae48de..2b53819aa010 100644 --- a/security/clamassassin/Makefile +++ b/security/clamassassin/Makefile @@ -1,40 +1,38 @@ -# Created by: Matt - PORTNAME= clamassassin PORTVERSION= 1.2.4 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= http://jameslick.com/clamassassin/ MAINTAINER= chalpin@cs.wisc.edu COMMENT= Simple virus filter wrapper for ClamAV LICENSE= BSD3CLAUSE BUILD_DEPENDS= sigtool:security/clamav \ formail:mail/procmail RUN_DEPENDS:= ${BUILD_DEPENDS} PLIST_FILES= bin/clamassassin GNU_CONFIGURE= yes # Woky configure script doesn't actually respect prefix # Instead, it looks for 'bindir'... so set that. CONFIGURE_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin OPTIONS_DEFINE= CLAMDSCAN SUBREWRITE OPTIONS_DEFAULT= CLAMDSCAN CLAMDSCAN_DESC= Scanning using clamd SUBREWRITE_DESC= Mail subject rewriting .include .if ${PORT_OPTIONS:MCLAMDSCAN} CONFIGURE_ARGS+= --enable-clamdscan .endif .if ${PORT_OPTIONS:MSUBREWRITE} CONFIGURE_ARGS+= --enable-subject-rewrite .endif .include diff --git a/security/clamav-unofficial-sigs/Makefile b/security/clamav-unofficial-sigs/Makefile index 773930aa0e48..a7036b3f93e9 100644 --- a/security/clamav-unofficial-sigs/Makefile +++ b/security/clamav-unofficial-sigs/Makefile @@ -1,53 +1,51 @@ -# Created by: Marko Njezic - PORTNAME= clamav-unofficial-sigs PORTVERSION= 7.2.5 CATEGORIES= security MAINTAINER= freebsd@mnd.sc COMMENT= Update script for third-party ClamAV databases LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE COMMON_DEPENDS= clamscan:security/clamav \ rsync:net/rsync \ curl:ftp/curl \ gpg:security/gnupg \ gsed:textproc/gsed \ bash:shells/bash BUILD_DEPENDS= ${COMMON_DEPENDS} RUN_DEPENDS= ${COMMON_DEPENDS} USES= perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= extremeshok SHEBANG_FILES= clamav-unofficial-sigs.sh USE_PERL5= run SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-patch: @${CP} ${FILESDIR}/manpage.conf ${WRKSRC} @${REINPLACE_CMD} -e 's|%%WRKSRC%%|${WRKSRC}|g' ${WRKSRC}/manpage.conf @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh do-build: (cd ${WRKSRC} && ${LOCALBASE}/bin/bash ./clamav-unofficial-sigs.sh -c manpage.conf --install-man) do-install: ${INSTALL_SCRIPT} ${WRKSRC}/clamav-unofficial-sigs.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/clamav-unofficial-sigs.8 ${STAGEDIR}${MANPREFIX}/man/man8 @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/config/master.conf ${STAGEDIR}${ETCDIR}/master.conf.sample ${INSTALL_DATA} ${WRKSRC}/config/os/os.freebsd.conf ${STAGEDIR}${ETCDIR}/os.conf.sample ${INSTALL_DATA} ${WRKSRC}/config/user.conf ${STAGEDIR}${ETCDIR}/user.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} INSTALL.md LICENSE README.md ${STAGEDIR}${DOCSDIR}) .include diff --git a/security/clamd-stream-client/Makefile b/security/clamd-stream-client/Makefile index b8170c577685..4950bb8184d8 100644 --- a/security/clamd-stream-client/Makefile +++ b/security/clamd-stream-client/Makefile @@ -1,17 +1,15 @@ -# Created by: glen.j.barber@gmail.com - PORTNAME= clamd-stream-client DISTVERSION= 1.3 CATEGORIES= security MASTER_SITES= SF/clamd-stream-cl/${PORTNAME}/${DISTVERSION} MAINTAINER= gjb@FreeBSD.org COMMENT= Standalone clamav client HAS_CONFIGURE= yes PLIST_FILES= bin/clamd-stream-client do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/clamfs/Makefile b/security/clamfs/Makefile index 3298bdb757ca..6670da8ad0bb 100644 --- a/security/clamfs/Makefile +++ b/security/clamfs/Makefile @@ -1,42 +1,40 @@ -# Created by: Mageirias Anastasios - PORTNAME= clamfs PORTVERSION= 1.2.0 CATEGORIES= security MASTER_SITES= https://github.com/burghardt/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ MAINTAINER= anastasios@mageirias.com COMMENT= User-space fs with on-access antivirus scanning LICENSE= GPLv2 BUILD_DEPENDS= boost-libs>=1.33:devel/boost-libs LIB_DEPENDS= libPocoFoundation.so:devel/poco \ libPocoNet.so:devel/poco \ libPocoXML.so:devel/poco \ librlog.so:devel/rlog RUN_DEPENDS= clamd:security/clamav USES= autoreconf compiler:c++11-lib fuse:3 pkgconfig GNU_CONFIGURE= yes PLIST_FILES= bin/clamfs \ man/man1/clamfs.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|-Werror ||g' ${WRKSRC}/configure.ac post-patch-DOCS-on: @${REINPLACE_CMD} -e '/socket=/s/ctl/sock/' \ ${WRKSRC}/doc/clamfs.xml ${WRKSRC}/doc/debug.xml post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/clamfs.xml ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/debug.xml ${STAGEDIR}${DOCSDIR} .include diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile index f361704edaf2..97a57dccb890 100644 --- a/security/clamsmtp/Makefile +++ b/security/clamsmtp/Makefile @@ -1,51 +1,49 @@ -# Created by: Cheng-Lung Sung - PORTNAME= clamsmtp PORTVERSION= 1.10 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://thewalter.net/stef/software/clamsmtp/ MAINTAINER= ports@FreeBSD.org COMMENT= ClamAV anti-virus SMTP Filter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake USE_RC_SUBR= clamsmtpd SUB_LIST= CLAMAV_PID_DIR=${CLAMAV_PID_DIR} SUB_FILES= pkg-message CLAMAV_PID_DIR?=/var/run/clamav PORTDOCS= README PORTEXAMPLES= * OPTIONS_DEFINE= DOCS LOCAL_CLAMAV EXAMPLES OPTIONS_DEFAULT= LOCAL_CLAMAV LOCAL_CLAMAV_DESC= RUN_DEPEND on security/clamav LOCAL_CLAMAV_RUN_DEPENDS= clamav>=0:security/clamav LOCAL_CLAMAV_SUB_LIST= CLAMD=clamd LOCAL_CLAMAV_SUB_LIST_OFF= CLAMD= post-patch: @${REINPLACE_CMD} -e "s,/var/run/clamav/clamd,/var/run/clamav/clamd.sock," \ ${WRKSRC}/doc/clamsmtpd.conf \ ${WRKSRC}/doc/clamsmtpd.conf.5 \ ${WRKSRC}/src/clamsmtpd.c post-install: ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${STAGEDIR}${PREFIX}/etc/clamsmtpd.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/clamtk/Makefile b/security/clamtk/Makefile index 4ad45362d687..378e3a8fe313 100644 --- a/security/clamtk/Makefile +++ b/security/clamtk/Makefile @@ -1,60 +1,58 @@ -# Created by: Andrew Pantyukhin - PORTNAME= clamtk PORTVERSION= 6.14 DISTVERSIONPREFIX=v CATEGORIES= security MAINTAINER= nc@FreeBSD.org COMMENT= GTK front-end for Clam Antivirus LICENSE= ART10 GPLv1+ LICENSE_COMB= dual RUN_DEPENDS= p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \ p5-Text-CSV>=0:textproc/p5-Text-CSV \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-JSON>=0:converters/p5-JSON \ clamscan:security/clamav \ p5-libwww>=5.822:www/p5-libwww \ p5-Gtk3>=0:x11-toolkits/p5-Gtk3 \ gnome-icon-theme>=0:misc/gnome-icon-theme \ icons-tango>0:x11-themes/icons-tango NO_BUILD= yes USES= gettext-runtime:run perl5 shebangfix USE_PERL5= run USE_GITHUB= yes GH_ACCOUNT= dave-theunsub GH_TAGNAME= 1f026f0 SHEBANG_FILES= clamtk LINGUAS= `${LS} ${WRKSRC}/po/*.mo | ${XARGS} ${BASENAME} -s .mo` OPTIONS_DEFINE= DOCS post-extract: @${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local|${LOCALBASE}|g ; \ s|/usr/share|${PREFIX}/share|g ; \ s|/var/lib/clamav|/var/db/clamav|g' ${WRKSRC}/lib/*.pm do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/ClamTk ${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/ClamTk ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in CHANGES DISCLAIMER README.md ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/clusterssh/Makefile b/security/clusterssh/Makefile index 9857171a1844..d24a9fd76e01 100644 --- a/security/clusterssh/Makefile +++ b/security/clusterssh/Makefile @@ -1,57 +1,55 @@ -# Created by: lx - PORTNAME= clusterssh DISTVERSIONPREFIX= v DISTVERSION= 4.16 CATEGORIES= security net MAINTAINER= ehaupt@FreeBSD.org COMMENT= Controls multiple hosts simultaneously via xterms and ssh LICENSE= GPLv2 BUILD_DEPENDS= p5-Capture-Tiny>0:devel/p5-Capture-Tiny \ p5-Exception-Class>=0:devel/p5-Exception-Class \ p5-File-Slurp>=0:devel/p5-File-Slurp \ p5-File-Which>=0:sysutils/p5-File-Which \ p5-Module-Manifest>=0:devel/p5-Module-Manifest \ p5-Readonly>=0:devel/p5-Readonly \ p5-Sort-Naturally>=1:textproc/p5-Sort-Naturally \ p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage \ p5-Test-Pod>=0:devel/p5-Test-Pod \ p5-Test-Trap>=0:devel/p5-Test-Trap \ p5-Tk>=0:x11-toolkits/p5-Tk \ p5-Try-Tiny>=0:lang/p5-Try-Tiny \ p5-X11-Protocol-Other>=0:x11/p5-X11-Protocol-Other \ p5-X11-Protocol>=0:x11/p5-X11-Protocol \ xterm:x11/xterm RUN_DEPENDS= p5-Exception-Class>=0:devel/p5-Exception-Class \ p5-Sort-Naturally>=1:textproc/p5-Sort-Naturally \ p5-Tk>=0:x11-toolkits/p5-Tk \ p5-Try-Tiny>=0:lang/p5-Try-Tiny \ p5-X11-Protocol-Other>=0:x11/p5-X11-Protocol-Other \ p5-X11-Protocol>=0:x11/p5-X11-Protocol \ xterm:x11/xterm TEST_DEPENDS= p5-CPAN-Changes>=0:devel/p5-CPAN-Changes \ p5-Test-Differences>=0:devel/p5-Test-Differences \ p5-Test-PerlTidy>=0:devel/p5-Test-PerlTidy USES= perl5 USE_GITHUB= yes GH_ACCOUNT= duncs USE_PERL5= modbuild NO_ARCH= yes OPTIONS_DEFINE= BASH OPTIONS_SUB= yes post-install-BASH-off: @${RM} ${STAGEDIR}${PREFIX}/bin/clusterssh_bash_completion.dist post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${MV} ${STAGEDIR}${PREFIX}/bin/clusterssh_bash_completion.dist \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/clusterssh .include diff --git a/security/cops/Makefile b/security/cops/Makefile index 82276d864cef..c4c44ed25d5c 100644 --- a/security/cops/Makefile +++ b/security/cops/Makefile @@ -1,47 +1,45 @@ -# Created by: oly - PORTNAME= cops PORTVERSION= 1.04 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://cschubert.com/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}+ MAINTAINER= cy@FreeBSD.org COMMENT= System secureness checker USES= groff perl5 shebangfix USE_PERL5= run WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.//g}+ HAS_CONFIGURE= yes CONFIGURE_SCRIPT= reconfig MAKEFILE= makefile MAKE_ARGS= EXECUTABLE="${EXECUTABLE}" C_SRC="${C_SRC}" MAKE_JOBS_UNSAFE= yes EXECUTABLE= home.chk user.chk is_writable crc crc_check \ addto clearfiles filewriters members tilde is_able C_SRC= home.chk.c user.chk.c is_able.c is_something.c \ addto.c clearfiles.c filewriters.c members.c tilde.c \ crc.c crc_check.c post-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/perl/cops pre-build: ${SED} \ -e 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' \ -e '/^$$SECURE\/passwd\.chk.*/d' \ -e 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' \ -e 's/passwd\.chk pass.chk //g' \ ${WRKSRC}/cops > ${WRKSRC}/cops.out ${MV} ${WRKSRC}/cops.out ${WRKSRC}/cops do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/cops ${TAR} -C ${WRKSRC} --exclude "*.old" -cf - . | \ ${TAR} -C ${STAGEDIR}${PREFIX}/cops --unlink -xf - ${CHMOD} -R go-rwx ${STAGEDIR}${PREFIX}/cops .include diff --git a/security/courier-authlib-base/Makefile b/security/courier-authlib-base/Makefile index f47a07903d26..d88983020dd4 100644 --- a/security/courier-authlib-base/Makefile +++ b/security/courier-authlib-base/Makefile @@ -1,13 +1,11 @@ -# Created by: Oliver Lehmann - PORTREVISION= 0 PKGNAMESUFFIX= -base COMMENT= Courier authentication library base CATEGORIES= security mail MASTERDIR= ${.CURDIR}/../../security/courier-authlib USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} .include "${MASTERDIR}/Makefile" diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile index ad7128eef3d2..e83f80c36cc5 100644 --- a/security/courier-authlib/Makefile +++ b/security/courier-authlib/Makefile @@ -1,212 +1,210 @@ -# Created by: Oliver Lehmann - PORTNAME= courier-authlib PORTVERSION= 0.71.5 CATEGORIES?= security mail .if defined(PKGNAMESUFFIX) MASTER_SITES= SF/courier/authlib/${PORTVERSION} .else MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty .endif MAINTAINER= madpilot@FreeBSD.org COMMENT?= Meta-port for the courier authentication library CONFLICTS= courier-0.45* .if !defined(PKGNAMESUFFIX) RUN_DEPENDS= courierauthconfig:security/courier-authlib-base NO_BUILD= yes NO_INSTALL= yes PATCHDIR= /dev/null OPTIONS_DEFINE+= GDBM .include "${.CURDIR}/Makefile.opt" .else # !defined(PKGNAMESUFFIX) LIB_DEPENDS+= libltdl.so:devel/libltdl \ libcourier-unicode.so:devel/courier-unicode USES= iconv gmake libtool localbase perl5 tar:bzip2 GNU_CONFIGURE= yes USE_SUBMAKE= yes MAILOWN= courier MAILGRP= courier LOCALSTATEDIR= /var AUTHDAEMONVAR= ${LOCALSTATEDIR}/run/authdaemond VPOPMAILDIR?= ${LOCALBASE}/vpopmail USERDB?= ${PREFIX}/etc/userdb CONFIGURE_ARGS= --enable-unicode \ --disable-static \ --without-authcustom \ --without-authshadow \ --without-authpwd \ --with-mailuser=${MAILOWN} \ --with-mailgroup=${MAILGRP} \ --localstatedir=${LOCALSTATEDIR} \ --with-authdaemonvar=${AUTHDAEMONVAR} \ --cache-file=${WRKDIR}/courier-authlib.cache INSTALL_TARGET= install-strip DESCR= ${PKGDIR}/pkg-descr${PKGNAMESUFFIX} PLIST= ${PKGDIR}/pkg-plist${PKGNAMESUFFIX:S/gdbm/db/} PLIST_SUB+= MAILOWN=${MAILOWN} MAILGRP=${MAILGRP} AUTHMOD= auth${PKGNAMESUFFIX:S/-//:S/gdbm/db/} .if ${AUTHMOD} == authbase RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool CONFIGURE_ARGS+=--with-base --with-authpam --with-authpipe USERS= ${MAILOWN} GROUPS= ${MAILGRP} OPTIONS_DEFINE+= DOCS DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \ README.authdebug.html README_authlib.html PLIST_SUB+= AUTHDAEMONVAR=${AUTHDAEMONVAR} SUB_LIST+= AUTHDAEMONVAR=${AUTHDAEMONVAR} .if defined(WITH_AUTHPIPE_PROG) CONFIGURE_ARGS+=--with-pipeprog=${WITH_AUTHPIPE_PROG} .endif .else RUN_DEPENDS+= courierauthconfig:security/courier-authlib-base CONFIGURE_ARGS+=--without-base --without-authpam --without-authpipe REMOVE_SUBDIRS+=liblock liblog .endif .if ${AUTHMOD} == authuserdb .if ${PKGNAMESUFFIX} == -usergdbm CONFLICTS+= ${PORTNAME}-userdb-0.* LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-db=gdbm .elif ${PKGNAMESUFFIX} == -userdb CONFLICTS+= ${PORTNAME}-usergdbm-0.* CONFIGURE_ARGS+=--with-db=db .endif CONFIGURE_ARGS+=--with-userdb=${USERDB} .else CONFIGURE_ARGS+=--with-db=db --without-authuserdb REMOVE_SUBDIRS+=makedat userdb .endif .if ${AUTHMOD} == authldap RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool OPTIONS_DEFINE+= DOCS DOCS= README.ldap USE_OPENLDAP= yes CONFIGURE_ARGS+=--with-authldap .else CONFIGURE_ARGS+=--without-authldap .endif .if ${AUTHMOD} == authmysql RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool OPTIONS_DEFINE+= DOCS DOCS= README.authmysql.html README.authmysql.myownquery USES+= compiler:c11 mysql CONFIGURE_ARGS+=--with-authmysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql .else CONFIGURE_ARGS+=--without-authmysql .endif .if ${AUTHMOD} == authpgsql RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool OPTIONS_DEFINE+= DOCS DOCS= README.authpostgres.html USES+= pgsql CONFIGURE_ARGS+=--with-authpgsql .else CONFIGURE_ARGS+=--without-authpgsql .endif .if ${AUTHMOD} == authsqlite RUN_DEPENDS+= ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool OPTIONS_DEFINE+= DOCS DOCS= README.authsqlite.html USES+= pkgconfig sqlite CONFIGURE_ARGS+=--with-authsqlite .else CONFIGURE_ARGS+=--without-authsqlite .endif .if ${AUTHMOD} == authvchkpw BUILD_DEPENDS+= ${VPOPMAILDIR}/lib/libvpopmail.a:mail/vpopmail CONFIGURE_ARGS+=--with-authvchkpw .else CONFIGURE_ARGS+=--without-authvchkpw .endif .endif # !defined(PKGNAMESUFFIX) .include .if !defined(PKGNAMESUFFIX) .include "${.CURDIR}/Makefile.dep" .else # !defined(PKGNAMESUFFIX) .if ${AUTHMOD} == authbase USE_RC_SUBR= courier-authdaemond pre-everything:: @${ECHO_CMD} @${ECHO_CMD} " Set WITH_AUTHPIPE_PROG to a program you want to use instead of" @${ECHO_CMD} " authProg for libauthpipe" @${ECHO_CMD} .endif post-patch: @${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g; \ s|mysql_connect|mysql_real_connect|g; \ s|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/*/configure \ ${WRKSRC}/configure .for subdir in ${REMOVE_SUBDIRS} @${REINPLACE_CMD} -E 's,(^(ac_subdirs_all|subdirs).*)${subdir},\1,g' \ ${WRKSRC}/configure .endfor @${REINPLACE_CMD} -e 's|^\(DEFAULTOPTIONS=\)""$$|\1"wbnodsn=1"|' \ -e 's|@ALLMODULES@|authuserdb authvchkpw authpam authldap authmysql authpgsql|' \ ${WRKSRC}/authdaemonrc.in @${REINPLACE_CMD} -e 's:^#! @EXPECT@:#!${LOCALBASE}/bin/expect:' \ ${WRKSRC}/authsystem.passwd.in pre-configure: @if [ -f "${WRKDIR}/courier-authlib.cache" -a -s "${WRKDIR}/courier-authlib.cache" ] ; then \ ${RM} "${WRKDIR}/courier-authlib.cache" ; \ fi post-install: .if !empty(DOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif .endif # !defined(PKGNAMESUFFIX) .include diff --git a/security/courierpassd/Makefile b/security/courierpassd/Makefile index f027e29a82f3..26726f19bf98 100644 --- a/security/courierpassd/Makefile +++ b/security/courierpassd/Makefile @@ -1,54 +1,52 @@ -# Created by: Ade Lovett - PORTNAME= courierpassd PORTVERSION= 1.1.2 CATEGORIES= security mail MASTER_SITES= http://www.arda.homeunix.net/software-downloads/ \ LOCAL/ade MAINTAINER= ports@FreeBSD.org COMMENT= User authentication and password changing daemon utility LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base RUN_DEPENDS= courierauthconfig:security/courier-authlib-base GNU_CONFIGURE= yes USES= gmake localbase MINUID?= 100 DELAY?= 3 CONFIGURE_ARGS+=--with-minuid=${MINUID} --with-badpassdelay=${DELAY} PLIST_FILES= sbin/courierpassd man/man8/courierpassd.8.gz PORTDOCS= AUTHORS ChangeLog COPYING INSTALL NEWS README OPTIONS_DEFINE= DOCS pre-everything:: @${ECHO} @${ECHO} "###########################################################" @${ECHO} @${ECHO} "The following build options are available:" @${ECHO} @${ECHO} " MINUID=uid" @${ECHO} " Accounts with uids below this value cannot have" @${ECHO} " their passwords changed. Default value is 100." @${ECHO} @${ECHO} " DELAY=sec" @${ECHO} " Set the delay after a password change failure." @${ECHO} " Default is 3 seconds." @${ECHO} @${ECHO} "###########################################################" @${ECHO} post-patch: @${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/courierpasswd/Makefile b/security/courierpasswd/Makefile index 6d46beda3f1c..a7012df25052 100644 --- a/security/courierpasswd/Makefile +++ b/security/courierpasswd/Makefile @@ -1,48 +1,46 @@ -# Created by: Andrew St. Jean - PORTNAME= courierpasswd PORTVERSION= 1.1.3 CATEGORIES= security mail MASTER_SITES= http://www.arda.homeunix.net/software-downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= User authentication and password changing utility LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcourierauth.so:security/courier-authlib-base GNU_CONFIGURE= yes USES= gmake localbase MINUID?= 100 # XXX: set this to 1000 for FreeBSD? CONFIGURE_ARGS= --with-minuid=${MINUID} PLIST_FILES= sbin/courierpasswd man/man8/courierpasswd.8.gz PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README OPTIONS_DEFINE= DOCS pre-fetch: @${ECHO} "" @${ECHO} "#############################################################" @${ECHO} "" @${ECHO} " You should set the following build option." @${ECHO} "" @${ECHO} " MINUID=uid" @${ECHO} " Accounts with uids below this value cannot have" @${ECHO} " their passwords changed. Default value is 100." @${ECHO} "" @${ECHO} "#############################################################" @${ECHO} "" post-patch: @${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/courieruserinfo/Makefile b/security/courieruserinfo/Makefile index 254a4205379c..67e0f3ff2799 100644 --- a/security/courieruserinfo/Makefile +++ b/security/courieruserinfo/Makefile @@ -1,32 +1,30 @@ -# Created by: Andrew St. Jean - PORTNAME= courieruserinfo PORTVERSION= 1.1.2 CATEGORIES= security mail MASTER_SITES= http://www.arda.homeunix.net/software-downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= User account information retrieval utility LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base RUN_DEPENDS= courierauthconfig:security/courier-authlib-base GNU_CONFIGURE= yes USES= gmake localbase PLIST_FILES= sbin/courieruserinfo man/man8/courieruserinfo.8.gz PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/cracklib/Makefile b/security/cracklib/Makefile index 556284832db2..bc2e622d8920 100644 --- a/security/cracklib/Makefile +++ b/security/cracklib/Makefile @@ -1,45 +1,43 @@ -# Created by: ajk@iu.edu - PORTNAME= cracklib PORTVERSION= 2.9.7 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/cracklib/cracklib/releases/download/v${PORTVERSION}/ \ LOCAL/cy DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${WORDS_DISTFILE} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= cy@FreeBSD.org COMMENT?= Password-checking library LICENSE= LGPL21 DICTPATH= ${PREFIX}/libdata/${PORTNAME} DICTFILE= ${DICTPATH}/cracklib-words GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-default-dict=${DICTFILE} INSTALL_TARGET= install-strip USES= cpe libtool tar:bz2 CPE_VENDOR= cracklib_project WORDS_DISTFILE= ${PORTNAME}-words-${PORTVERSION}.bz2 USE_LDCONFIG= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= NLS NLS_CONFIGURE_OFF=--disable-nls NLS_USES= gettext CONFIGURE_ARGS+=--without-python post-install: ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ ${LN} -s ${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/FascistCheck.3 @${MKDIR} ${STAGEDIR}${DICTPATH} @PATH=$${PATH}:${STAGEDIR}${PREFIX}/sbin LD_LIBRARY_PATH=/lib:/usr/lib:${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/sbin/create-cracklib-dict -o ${STAGEDIR}${DICTPATH}/cracklib-words ${_DISTDIR}/${WORDS_DISTFILE} .include diff --git a/security/crackpkcs12/Makefile b/security/crackpkcs12/Makefile index 7fe4bcec83fb..0f3206dfdb7a 100644 --- a/security/crackpkcs12/Makefile +++ b/security/crackpkcs12/Makefile @@ -1,22 +1,20 @@ -# Created by: Emanuel Haupt - PORTNAME= crackpkcs12 PORTVERSION= 0.2.11 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Multithreaded program to crack PKCS#12 files LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf ssl GNU_CONFIGURE= yes PLIST_FILES= bin/crackpkcs12 post-patch: @${REINPLACE_CMD} -e '/^PKG_CHECK_MODULES/d' ${WRKSRC}/configure.in .include diff --git a/security/create-cert/Makefile b/security/create-cert/Makefile index a0c6fc82b111..2696873839ae 100644 --- a/security/create-cert/Makefile +++ b/security/create-cert/Makefile @@ -1,19 +1,17 @@ -# Created by: Craig Leres - PORTNAME= create-cert PORTVERSION= 2.9 CATEGORIES= security MASTER_SITES= https://ee.lbl.gov/downloads/create-cert/ \ LOCAL/leres/create-cert MAINTAINER= leres@FreeBSD.org COMMENT= Create openssl client key and certificates LICENSE= BSD3CLAUSE PLIST_FILES= sbin/create-cert \ man/man8/create-cert.8.gz GNU_CONFIGURE= yes .include diff --git a/security/crlfuzz/Makefile b/security/crlfuzz/Makefile index 98afa1fa2251..da2b86dc9bd4 100644 --- a/security/crlfuzz/Makefile +++ b/security/crlfuzz/Makefile @@ -1,27 +1,25 @@ -# Created by: Gabriel M. Dutra <0xdutra@gmail.com> - PORTNAME= crlfuzz PORTVERSION= 1.4.1 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= security MAINTAINER= 0xdutra@gmail.com COMMENT= Fast tool to scan CRLF vulnerability written in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= dwisiswant0 GO_TARGET= ./cmd/crlfuzz GH_TUPLE= logrusorgru:aurora:e9ef32dff381:logrusorgru_aurora/vendor/github.com/logrusorgru/aurora \ projectdiscovery:gologger:v1.0.1:projectdiscovery_gologger/vendor/github.com/projectdiscovery/gologger PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile index bdd0dcc64276..7b9e3ec5163c 100644 --- a/security/cryptlib/Makefile +++ b/security/cryptlib/Makefile @@ -1,45 +1,43 @@ -# Created by: Foxfair Hu - PORTNAME= cryptlib PORTVERSION= 3.4.3 CATEGORIES= security MASTER_SITES= ftp://ftp.franken.de/pub/crypt/cryptlib/ DISTNAME= cl${PORTVERSION:S/.//g} MAINTAINER= ale@FreeBSD.org COMMENT= Powerful security programming toolkit ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le OPTIONS_DEFINE= DOCS USES= cpe zip:infozip EXTRACT_BEFORE_ARGS= -aq NO_WRKSUBDIR= yes MAKEFILE= makefile ALL_TARGET= default FreeBSD shared USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CFLAGS+= -DUSE_PKCS11 PLIST_FILES= include/cryptlib.h \ lib/libcl.a lib/libcl.so \ lib/libcl.so.3 lib/libcl.so.${PORTVERSION} PORTDOCS= README post-patch: @${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS}/' ${WRKSRC}/makefile do-install: ${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib ${LN} -sf libcl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcl.so.3 ${LN} -sf libcl.so.3 ${STAGEDIR}${PREFIX}/lib/libcl.so ${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${STAGEDIR}${PREFIX}/include post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/cryptopp/Makefile b/security/cryptopp/Makefile index a3cb967767d7..fa1999cf0f96 100644 --- a/security/cryptopp/Makefile +++ b/security/cryptopp/Makefile @@ -1,114 +1,112 @@ -# Created by: George Reid - PORTNAME= cryptopp PORTVERSION= 8.6.0 CATEGORIES= security MASTER_SITES= http://www.cryptopp.com/ DISTNAME= cryptopp${PORTVERSION:S/.//g} MAINTAINER= jhale@FreeBSD.org COMMENT= Free C++ class library of Cryptographic Primitives LICENSE= BSL LICENSE_FILE= ${WRKSRC}/License.txt USES= cpe compiler:c++11-lang gmake zip USE_LDCONFIG= yes CPE_PRODUCT= crypto++ CPE_VENDOR= cryptopp EXTRACT_BEFORE_ARGS= -aq NO_WRKSUBDIR= yes CXXFLAGS+= -Wno-deprecated-declarations -fPIC MAKEFILE= GNUmakefile ALL_TARGET= static shared libcryptopp.pc SOVERSION= ${PORTVERSION:R:R} PLIST_SUB+= SOVERSION=${SOVERSION} \ PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DEBUG DOCS FULL_DEBUG TOOLS OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFINE_powerpc= SIMD OPTIONS_DEFINE_powerpc64= SIMD OPTIONS_DEFINE_powerpc64le= SIMD OPTIONS_DEFAULT= TOOLS OPTIONS_DEFAULT_powerpc= SIMD OPTIONS_DEFAULT_powerpc64= SIMD OPTIONS_DEFAULT_powerpc64le= SIMD OPTIONS_SUB= yes # Always compile with -DNDEBUG for release. Otherwise, sensitive # information could be accessed if an assert triggers. # See ${WRKSRC}/Readme.txt for more details. FULL_DEBUG_DESC= Build with full debugging support (SECURITY RISK!!!) FULL_DEBUG_CXXFLAGS= -DCRYPTOPP_DEBUG FULL_DEBUG_CXXFLAGS_OFF=-DNDEBUG FULL_DEBUG_IMPLIES= DEBUG # Disable this option to run the regression tests. TOOLS_DESC= Install encryption/decryption tools TOOLS_MAKE_ENV= CRYPTOPP_DATA_DIR=${DATADIR}/ TOOLS_ALL_TARGET= cryptest.exe TOOLS_TEST_TARGET_OFF= test .include .if ${PORT_OPTIONS:MSIMD} . if ${ARCH} == i386 || ${ARCH} == amd64 . if !${MACHINE_CPU:Msse2} CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM -DCRYPTOPP_DISABLE_SSE2 . endif . if !${MACHINE_CPU:Mssse3} CXXFLAGS+= -DCRYPTOPP_DISABLE_SSSE3 . endif . if !${MACHINE_CPU:Msse41} CXXFLAGS+= -DCRYPTOPP_DISABLE_SSE4 . endif . elif ${ARCH} == powerpc || ${ARCH:Mpowerpc64*} CXXFLAGS+= -DCRYPTOPP_ALTIVEC_AVAILABLE . endif .else CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM -DCRYPTOPP_DISABLE_SSE2 \ -DCRYPTOPP_DISABLE_SSSE3 -DCRYPTOPP_DISABLE_SSE4 \ -DCRYPTOPP_DISABLE_ALTIVEC .endif pre-configure-FULL_DEBUG-on: @${ECHO_CMD} @${ECHO_CMD} "----------------------------- WARNING!!! ----------------------------" @${ECHO_CMD} "You have chosen to compile with full debugging support. If an assert" @${ECHO_CMD} "triggers, sensitive information could possibly be egressed to the" @${ECHO_CMD} "filesystem via a core dump. If this is not your intention, hit CTRL-C" @${ECHO_CMD} "now and run 'make config clean' and disable the FULL_DEBUG option." @${ECHO_CMD} "---------------------------------------------------------------------" @${ECHO_CMD} . if !(defined(PACKAGE_BUILDING) || defined(BATCH)) @sleep 10 . endif do-install: ${INSTALL_DATA} ${WRKSRC}/libcryptopp.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/libcryptopp.so ${STAGEDIR}${PREFIX}/lib/libcryptopp.so.${PORTVERSION} ${LN} -fs libcryptopp.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcryptopp.so.${SOVERSION} ${LN} -fs libcryptopp.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcryptopp.so ${INSTALL_DATA} ${WRKSRC}/libcryptopp.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig @${MKDIR} ${STAGEDIR}${PREFIX}/include/cryptopp (for i in `${FIND} ${WRKSRC}/ -name '*.h' \ -and -not -name 'dll.h' \ -and -not -name 'resource.h'`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${PREFIX}/include/cryptopp; \ done) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/README do-install-TOOLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/TestData ${INSTALL_PROGRAM} ${WRKSRC}/cryptest.exe ${STAGEDIR}${PREFIX}/bin/cryptest ${INSTALL_DATA} ${WRKSRC}/TestData/usage.dat ${STAGEDIR}${DATADIR}/TestData .include diff --git a/security/ct-submit/Makefile b/security/ct-submit/Makefile index 00e76deb9354..d9c0abdff146 100644 --- a/security/ct-submit/Makefile +++ b/security/ct-submit/Makefile @@ -1,21 +1,19 @@ -# Created by: Jim Ohlstein - PORTNAME= ct-submit PORTVERSION= 1.1.2 PORTREVISION= 4 CATEGORIES= security www MAINTAINER= jim@ohlste.in COMMENT= Submission utility for transparency logs LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE USES= go USE_GITHUB= yes GH_ACCOUNT= grahamedgecombe GH_TAGNAME= 7bb2541 PLIST_FILES= bin/ct-submit .include diff --git a/security/cvechecker/Makefile b/security/cvechecker/Makefile index d37fc1bf82a2..d679273b93df 100644 --- a/security/cvechecker/Makefile +++ b/security/cvechecker/Makefile @@ -1,47 +1,45 @@ -# Created by: Stefan Esser - PORTNAME= cvechecker DISTVERSIONPREFIX= v DISTVERSION= 3.9 PORTREVISION= 1 CATEGORIES= security MAINTAINER= se@FreeBSD.org COMMENT= Check CVE database for vulnerabilities affecting installed packages LICENSE= GPLv3 LIB_DEPENDS= libargp.so:devel/argp-standalone \ libconfig.so:devel/libconfig RUN_DEPENDS= bash:shells/bash MAKE_ENV+= LDADD=-largp USES= autoreconf pkgconfig shebangfix SHEBANG_FILES= scripts/cverules scripts/cvegenversdat GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/db bash_OLD_CMD+= /bin/sh OPTIONS_DEFINE= DOCS OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL SQLITE OPTIONS_DEFAULT= SQLITE DB_DESC= CVE Database MYSQL_USES= mysql ssl MYSQL_CONFIGURE_ENABLE= mysql SQLITE_USES= sqlite SQLITE_CONFIGURE_ENABLE= sqlite3 USE_GITHUB= yes GH_ACCOUNT= sjvermeu post-stage: ${MV} ${STAGEDIR}${PREFIX}/etc/cvechecker.conf ${STAGEDIR}${PREFIX}/etc/cvechecker.conf.sample .include diff --git a/security/cvm/Makefile b/security/cvm/Makefile index 9d1c3997f0e0..6f9b2f372248 100644 --- a/security/cvm/Makefile +++ b/security/cvm/Makefile @@ -1,58 +1,56 @@ -# Created by: Sergei Kolobov - PORTNAME= cvm PORTVERSION= 0.97 CATEGORIES= security MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ http://untroubled.org/${PORTNAME}/archive/ MAINTAINER= ports@FreeBSD.org COMMENT= Credential Validation Modules LICENSE= GPLv2 LIB_DEPENDS= libbg.so:devel/bglibs CONFLICTS= bglibs-1.00* USES= libtool:build localbase:ldflags BGLIBS_INC= ${LOCALBASE}/include/bglibs BGLIBS_LIB= ${LOCALBASE}/lib/bglibs USE_LDCONFIG= yes DOCS= NEWS README TODO *.html ALL_TARGET= all OPTIONS_DEFINE= DOCS VCHKPW OPTIONS_SUB= yes VCHKPW_DESC= Compile cvm-vchkpw VCHKPW_ALL_TARGET= cvm-vchkpw VCHKPW_BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:mail/vpopmail MAKE_JOBS_UNSAFE= yes do-configure: ${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home ${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin ${ECHO_CMD} "${STAGEDIR}${PREFIX}/include" > ${WRKSRC}/conf-include ${ECHO_CMD} "${STAGEDIR}${PREFIX}/lib" > ${WRKSRC}/conf-lib ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc ${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs post-install: .for l in command local module qmail sasl sql udp v1client v2client ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-${l}.so* .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/cyberchef/Makefile b/security/cyberchef/Makefile index a1e94471650c..d27ce97b6c81 100644 --- a/security/cyberchef/Makefile +++ b/security/cyberchef/Makefile @@ -1,32 +1,30 @@ -# Created by: Dan Langille - PORTNAME= cyberchef PORTVERSION= 9.39.1 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${GH_TAGNAME}/ DISTNAME= CyberChef_${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= dvl@FreeBSD.org COMMENT= Cyber operations within a web browser LICENSE= APACHE20 USES= cpe zip CPE_VENDOR= gchq USE_GITHUB= nodefault GH_ACCOUNT= gchq GH_PROJECT= CyberChef NO_BUILD= yes NO_ARCH= yes do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL} ${WRKDIR}/${DISTNAME}.html ${STAGEDIR}${WWWDIR}/index.html ${CP} -R ${WRKDIR}/images ${STAGEDIR}${WWWDIR}/ ${CP} -R ${WRKDIR}/modules ${STAGEDIR}${WWWDIR}/ ${CP} -R ${WRKDIR}/assets ${STAGEDIR}${WWWDIR}/ .include diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile index d0d204d97dd3..68aa16e60966 100644 --- a/security/denyhosts/Makefile +++ b/security/denyhosts/Makefile @@ -1,41 +1,39 @@ -# Created by: Janos Mohacsi - PORTNAME= denyhosts PORTVERSION= 3.1.2 CATEGORIES= security PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MASTER_SITES= https://github.com/denyhosts/denyhosts/releases/download/v${PORTVERSION:R}/ DISTNAME= DenyHosts-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Script to thwart ssh and imap attacks LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} USES= cpe python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes USE_RC_SUBR= denyhosts PLIST_FILES= "@sample etc/denyhosts.conf.sample" SUB_FILES= pkg-message SUB_LIST= PYTHON=${PYTHON_CMD} SHEBANG_FILES= daemon-control-dist \ plugins/test_deny.py \ scripts/restricted_from_invalid.py \ scripts/restricted_from_passwd.py post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/daemon-control-dist ${WRKSRC}/denyhosts.conf ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/daemon-control-dist post-install: ${INSTALL_DATA} ${WRKSRC}/denyhosts.conf ${STAGEDIR}${PREFIX}/etc/denyhosts.conf.sample .include diff --git a/security/destroy/Makefile b/security/destroy/Makefile index a15416cd1b33..8845ce709343 100644 --- a/security/destroy/Makefile +++ b/security/destroy/Makefile @@ -1,23 +1,21 @@ -# Created by: shane@freebsdhackers.net aka modsix@gmail.com - PORTNAME= destroy PORTVERSION= 20130926 CATEGORIES= security MASTER_SITES= http://www.mod6.net/destroy/ \ http://www.kinneysoft.com/destroy/ MAINTAINER= modsix@gmail.com COMMENT= Securely destroy files on the hard disk LICENSE= BSD4CLAUSE PLIST_FILES= bin/destroy man/man1/destroy.1.gz do-build: (cd ${WRKSRC} ; ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} destroy.c) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/destroy ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/destroy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/security/dirbuster/Makefile b/security/dirbuster/Makefile index 622a1b1688cd..9f9f43bb05ae 100644 --- a/security/dirbuster/Makefile +++ b/security/dirbuster/Makefile @@ -1,36 +1,34 @@ -# Created by: Niels Heinen - PORTNAME= dirbuster PORTVERSION= 1.0r1 CATEGORIES= security java MASTER_SITES= SF/${PORTNAME}/DirBuster%20%28jar%20%2B%20lists%29/1.0-RC1/ DISTNAME= DirBuster-1.0-RC1 MAINTAINER= ports@FreeBSD.org COMMENT= DirBuster allows file and directory brute forcing on web servers LICENSE= LGPL21+ CC-BY-SA-3.0 LICENSE_COMB= multi USES= zip USE_JAVA= yes NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${DISTNAME} DATADIR= ${JAVASHAREDIR}/${PORTNAME} post-extract: @${RM} ${WRKSRC}/${DISTNAME}.sh @${RM} ${WRKSRC}/${DISTNAME}.bat pre-install: @${SED} -e 's:%%PATH%%:${DATADIR}/:' \ -e 's:%%JAVA_CMD%%:${JAVA}:' \ -e 's:%%DIRBUSTER%%:${DATADIR}/${DISTNAME}.jar:' \ < ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile index 139052da9628..bd666e351071 100644 --- a/security/dirmngr/Makefile +++ b/security/dirmngr/Makefile @@ -1,42 +1,40 @@ -# Created by: michaelnottebrock@gmx.net - PORTNAME= dirmngr PORTVERSION= 1.1.0 PORTREVISION= 15 CATEGORIES= security MASTER_SITES= GNUPG DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= umq@ueo.co.jp COMMENT= Client for managing and downloading certificate revocation lists LICENSE= GPLv2 LIB_DEPENDS= libassuan.so:security/libassuan \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libksba.so:security/libksba \ libpth.so:devel/pth USES= gmake iconv tar:bzip2 USE_OPENLDAP= yes GNU_CONFIGURE= yes INFO= dirmngr CONFIGURE_ARGS+= --docdir=${DOCSDIR} LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -fcommon CONFLICTS_INSTALL= gnupg # bin/dirmngr bin/dirmngr-client OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext verify: checksum gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig .include diff --git a/security/distcache/Makefile b/security/distcache/Makefile index 3078fd338ab3..7bac8fe944bb 100644 --- a/security/distcache/Makefile +++ b/security/distcache/Makefile @@ -1,42 +1,40 @@ -# Created by: Marcel Prisi - PORTNAME= distcache DISTVERSION= 1.5.1 CATEGORIES= security www MASTER_SITES= SF/distcache/1.%20distcache-devel/1.5.1 MAINTAINER= danfe@FreeBSD.org COMMENT= Distributed OpenSSL session caching tools LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USES= libtool ssl tar:bzip2 USE_RC_SUBR= dc_server USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --with-ssl=${OPENSSLBASE} INSTALL_TARGET= install-strip SUB_LIST= NAME=dc_server PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README OPTIONS_DEFINE= DOCS pre-configure: # yes, post-patch won't work in this case @${GREP} -q 'define SSLeay_version' ${OPENSSLINC}/openssl/crypto.h \ && ${REINPLACE_CMD} -e 's,SSLeay_version,OpenSSL_version,' \ ${WRKSRC}/ssl/configure || : post-install: # Only executables are stripped with `install-strip', not the libraries @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) do-test: @cd ${TEST_WRKSRC} && ${SH} devel/test.sh .include diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile index b3a5b8aa84ee..9d0297e2d8ee 100644 --- a/security/dropbear/Makefile +++ b/security/dropbear/Makefile @@ -1,147 +1,145 @@ -# Created by: Clement Laforet - PORTNAME= dropbear PORTVERSION= 2022.82 CATEGORIES= security MASTER_SITES= https://matt.ucc.asn.au/dropbear/releases/ MAINTAINER= pkubaj@FreeBSD.org COMMENT= SSH 2 server, designed to be usable in small memory environments LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe gmake tar:bzip2 CPE_VENDOR= dropbear_ssh_project CPE_PRODUCT= dropbear_ssh GNU_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} ALL_TARGET= all scp OPTIONS_DEFINE= SMALL_CODE STATIC X11FWD OPTIONS_DEFAULT= AES128 AES256 CURVE25519 ECDSA ED25519 GCM \ GROUP14_SHA256 GROUP16 RSA SHA2_256 OPTIONS_MULTI= ENC KEY KEX MAC MODE OPTIONS_MULTI_ENC= 3DES AES128 AES256 CHACHA20POLY1305 OPTIONS_MULTI_KEY= ECDSA ED25519 RSA OPTIONS_MULTI_KEX= CURVE25519 ECDH GROUP1 GROUP14_SHA1 GROUP14_SHA256 \ GROUP16 OPTIONS_MULTI_MAC= MD5 SHA1 SHA1_96 SHA2_256 SHA2_512 OPTIONS_MULTI_MODE= CBC CTR GCM 3DES_DESC= Enable 3DES-based encryption AES128_DESC= Enable AES128-based encryption AES256_DESC= Enable AES256-based encryption CBC_DESC= Use CBC mode for ciphers (less secure) CHACHA20POLY1305_DESC= Enable chacha20poly1305-based encryption CTR_DESC= Use CTR mode for ciphers CURVE25519_DESC= Enable Curve25519 ECDH_DESC= Enable ECDH (insecure) ECDSA_DESC= Enable ECDSA public key support ED25519_DESC= Enable ED25519 public key support GCM_DESC= Enable GCM mode for ciphers (more secure) GROUP14_SHA1_DESC= Enable Group14 Diffie-Helman with SHA1 (insecure) GROUP14_SHA256_DESC= Enable Group14 Diffie-Helman with SHA256 GROUP16_DESC= Enable Group16 Diffie-Hellman GROUP1_DESC= Enable Group1 Diffie-Hellman (insecure) MD5_DESC= Enable MD5 MAC (broken) RSA_DESC= Enable RSA public key support SHA1_96_DESC= Enable SHA1_96 MAC (less secure) SHA1_DESC= Enable SHA1 MAC (less secure) SHA2_256_DESC= Enable SHA2_256 MAC SHA2_512_DESC= Enable SHA2_512 MAC SMALL_CODE_DESC= Make binary smaller in exchange for 50% performance hit X11FWD_DESC= Enable X11 forwarding 3DES_IMPLIES= CTR CBC_IMPLIES= CTR STATIC_CONFIGURE_ENABLE= static post-patch: @${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \ s,/usr/bin/X11/,${LOCALBASE}/,g" ${WRKSRC}/default_options.h post-patch-SMALL_CODE-off: @${ECHO} "#define DROPBEAR_SMALL_CODE 0" >> ${WRKSRC}/localoptions.h post-patch-3DES-on: @${ECHO} "#define DROPBEAR_3DES 1" >> ${WRKSRC}/localoptions.h post-patch-AES128-off: @${ECHO} "#define DROPBEAR_AES128 0" >> ${WRKSRC}/localoptions.h post-patch-AES256-off: @${ECHO} "#define DROPBEAR_AES256 0" >> ${WRKSRC}/localoptions.h post-patch-CHACHA20POLY1305-off: @${ECHO} "#define DROPBEAR_CHACHA20POLY1305 0" >> ${WRKSRC}/localoptions.h post-patch-CBC-on: @${ECHO} "#define DROPBEAR_ENABLE_CBC_MODE 1" >> ${WRKSRC}/localoptions.h post-patch-CTR-off: @${ECHO} "#define DROPBEAR_ENABLE_CTR_MODE 0" >> ${WRKSRC}/localoptions.h post-patch-GCM-on: @${ECHO} "#define DROPBEAR_ENABLE_GCM_MODE 1" >> ${WRKSRC}/localoptions.h post-patch-CURVE25519-off: @${ECHO} "#define DROPBEAR_CURVE25519 0" >> ${WRKSRC}/localoptions.h post-patch-ECDH-off: @${ECHO} "#define DROPBEAR_ECDH 0" >> ${WRKSRC}/localoptions.h post-patch-GROUP1-off: @${ECHO} "#define DROPBEAR_DH_GROUP1 0" >> ${WRKSRC}/localoptions.h post-patch-GROUP14_SHA1-off: @${ECHO} "#define DROPBEAR_DH_GROUP14_SHA1 0" >> ${WRKSRC}/localoptions.h post-patch-GROUP14_SHA256-off: @${ECHO} "#define DROPBEAR_DH_GROUP14_SHA256 0" >> ${WRKSRC}/localoptions.h post-patch-GROUP16-on: @${ECHO} "#define DROPBEAR_DH_GROUP16 1" >> ${WRKSRC}/localoptions.h post-patch-RSA-off: @${ECHO} "#define DROPBEAR_RSA 0" >> ${WRKSRC}/localoptions.h post-patch-ECDSA-off: @${ECHO} "#define DROPBEAR_ECDSA 0" >> ${WRKSRC}/localoptions.h post-patch-ED25519-off: @${ECHO} "#define DROPBEAR_E25519 0" >> ${WRKSRC}/localoptions.h post-patch-MD5-on: @${ECHO} "#define DROPBEAR_MD5_HMAC 1" >> ${WRKSRC}/localoptions.h post-patch-SHA1-off: @${ECHO} "#define DROPBEAR_SHA1_HMAC 0" >> ${WRKSRC}/localoptions.h post-patch-SHA1_96-off: @${ECHO} "#define DROPBEAR_SHA1_96_HMAC 0" >> ${WRKSRC}/localoptions.h post-patch-SHA2_256-off: @${ECHO} "#define DROPBEAR_SHA2_256_HMAC 0" >> ${WRKSRC}/localoptions.h post-patch-SHA2_512-on: @${ECHO} "#define DROPBEAR_SHA2_512_HMAC 1" >> ${WRKSRC}/localoptions.h post-patch-X11FWD-on: @${ECHO} "#define DROPBEAR_X11FWD 1" >> ${WRKSRC}/localoptions.h do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dropbear ${INSTALL_PROGRAM} ${WRKSRC}/dbclient ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/dropbearconvert ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/dropbearkey ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/dropbear ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/scp ${STAGEDIR}${PREFIX}/bin/dbscp ${INSTALL_MAN} ${WRKSRC}/dropbearconvert.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/dropbearkey.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/dbclient.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/dropbear.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index ace01856a675..b0d84ed509b7 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -1,59 +1,57 @@ -# Created by: Kris Kennaway - PORTNAME= dsniff DISTVERSION= 2.4b1 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= http://www.monkey.org/~dugsong/${PORTNAME}/beta/ \ LOCAL/sbz MAINTAINER= sbz@FreeBSD.org COMMENT= Various sniffing utilities for penetration testing LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libnids.a:net/libnids LIB_DEPENDS= libnet.so:net/libnet USES= gettext gnome pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libnet=${LOCALBASE} DESTDIRNAME= install_prefix WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/..$//} OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes X11_USES= xorg X11_USE= xorg=x11,xmu X11_CONFIGURE_WITH=x .include .if ${OPSYS} == FreeBSD || ${SSL_DEFAULT} == openssl # Requires LibreSSL for old SSL interface BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage CPPFLAGS+= -nostdinc -I/usr/include -I${WRKDIR}/libressl/include LDFLAGS+= -L${WRKDIR}/libressl/lib CONFIGURE_ARGS+= --with-openssl=${WRKDIR}/libressl # Don't use COPYTREE_SHARE here as it hard links files, and the original files # are owned by root, which creates problems of its own. pre-configure: @cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \ && ${FIND} . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1 .else BROKEN_SSL= openssl BROKEN_SSL_REASON_openssl= incomplete definition of type 'struct rsa_st' .endif post-patch: @${REINPLACE_CMD} -e 's,csin,_csin,g' \ ${WRKSRC}/webmitm.c \ ${WRKSRC}/sshmitm.c .include diff --git a/security/duo/Makefile b/security/duo/Makefile index afe6a67552d3..28492affc99b 100644 --- a/security/duo/Makefile +++ b/security/duo/Makefile @@ -1,40 +1,38 @@ -# Created by: Ryan Steinmetz - PORTNAME= duo PORTVERSION= 1.12.0 CATEGORIES= security MASTER_SITES= https://dl.duosecurity.com/ \ ZI DISTNAME= ${PORTNAME}_unix-${PORTVERSION} MAINTAINER= zi@FreeBSD.org COMMENT= Duo unix integration package LICENSE= GPLv2 CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \ --docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME} GNU_CONFIGURE= yes USES= libtool pathfix ssl USE_LDCONFIG= yes SUB_FILES= pkg-message SUID_DESC= Install login_duo with suid bit set OPTIONS_DEFINE= DOCS SUID OPTIONS_SUB= yes post-patch: ${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \ ${WRKSRC}/pam_duo/pam_duo.8 \ ${WRKSRC}/login_duo/login_duo.8 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/security/pam_duo.so ${INSTALL_DATA} ${WRKSRC}/login_duo/login_duo.conf \ ${STAGEDIR}${PREFIX}/etc/login_duo.conf.sample ${INSTALL_DATA} ${WRKSRC}/pam_duo/pam_duo.conf \ ${STAGEDIR}${PREFIX}/etc/pam_duo.conf.sample .include diff --git a/security/duo_openvpn/Makefile b/security/duo_openvpn/Makefile index fbc5ddb7a557..08eb04d2c70a 100644 --- a/security/duo_openvpn/Makefile +++ b/security/duo_openvpn/Makefile @@ -1,64 +1,62 @@ -# Created by: Ryan Steinmetz - PORTNAME= duo_openvpn PORTVERSION= 2.4 PORTREVISION= 2 CATEGORIES= security MAINTAINER= zi@FreeBSD.org COMMENT= Duo two-factor authentication for OpenVPN LICENSE= GPLv2 RUN_DEPENDS= openvpn>0:security/openvpn USES= gmake shebangfix SHEBANG_FILES= duo_openvpn.pl USE_GITHUB= yes GH_ACCOUNT= duosecurity SUB_FILES= pkg-message OPTIONS_DEFINE= METHOD USERNAME OPTIONS_SINGLE= HELPER OPTIONS_SINGLE_HELPER= PERL PYTHON OPTIONS_DEFAULT=PERL OPTIONS_SUB= yes METHOD_DESC= Force an authentication method (defaults to push, via METHOD) USERNAME_DESC= Force duo to use username variable, instead of common_name METHOD?= push PERL_USES= perl5 PERL_VARS= USE_PERL5=run CFLAGS+=-DUSE_PERL PERL_RUN_DEPENDS= p5-JSON-XS>0:converters/p5-JSON-XS \ p5-libwww>0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ p5-Digest-HMAC>0:security/p5-Digest-HMAC PYTHON_USES= python:3.7+,run .include post-patch: ${REINPLACE_CMD} 's|%%SHEBANG%%|${PYTHON_CMD}|' ${WRKSRC}/duo_openvpn.py ${REINPLACE_CMD} 's|PREFIX "|"${DATADIR}|' ${WRKSRC}/duo_openvpn.c .if ${PORT_OPTIONS:MUSERNAME} ${REINPLACE_CMD} 's|common_name|username|' ${WRKSRC}/duo_openvpn.c .endif .if ${PORT_OPTIONS:MMETHOD} ${REINPLACE_CMD} 's|get_env("password", envp);|"${METHOD}";|' ${WRKSRC}/duo_openvpn.c .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_LIB} ${WRKSRC}/duo_openvpn.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/ca_certs.pem ${STAGEDIR}${DATADIR} do-install-PERL-on: ${INSTALL_SCRIPT} ${WRKSRC}/duo_openvpn.pl ${STAGEDIR}${DATADIR} do-install-PYTHON-on: ${INSTALL_SCRIPT} ${WRKSRC}/duo_openvpn.py ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/https_wrapper.py ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/six.py ${STAGEDIR}${DATADIR} .include diff --git a/security/eschalot/Makefile b/security/eschalot/Makefile index 6a35974aa361..c7586032e8d6 100644 --- a/security/eschalot/Makefile +++ b/security/eschalot/Makefile @@ -1,27 +1,25 @@ -# Created by: Yuri Victorovich - PORTNAME= eschalot PORTVERSION= 1.2.0.20191006 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Vanity onion address generator for Tor LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= ReclaimYourPrivacy GH_TAGNAME= a45bad5 USES= gmake ssl MAKE_ENV= INSTALL="${INSTALL_PROGRAM}" MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" TEST_TARGET= test PLIST_FILES= bin/eschalot bin/worgen post-patch: @${REINPLACE_CMD} -e '/CFLAGS.*-O2/d' ${WRKSRC}/Makefile .include diff --git a/security/expiretable/Makefile b/security/expiretable/Makefile index 01bf8fe88aa4..4590d42bc551 100644 --- a/security/expiretable/Makefile +++ b/security/expiretable/Makefile @@ -1,14 +1,12 @@ -# Created by: Cristiano Deana - PORTNAME= expiretable PORTVERSION= 0.6 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://expiretable.fnord.se/ MAINTAINER= cris@gufi.org COMMENT= Utility to remove entries from the pf(4) table based on their age USE_RC_SUBR= expiretable .include diff --git a/security/f-prot/Makefile b/security/f-prot/Makefile index 666329a1d2c5..a91a54f76b04 100644 --- a/security/f-prot/Makefile +++ b/security/f-prot/Makefile @@ -1,56 +1,54 @@ -# Created by: Tim Bishop - PORTNAME= f-prot PORTVERSION= 6.5.1.5927 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://ftp.i-scream.org/pub/ftp.f-prot.com/pub/bsd/ DISTNAME= fp-FreeBSD-x86_32-ws-${PORTVERSION} MAINTAINER= tdb@FreeBSD.org COMMENT= F-Prot Antivirus for BSD Workstations # Converted from RESTRICTED LICENSE= f-prot-license LICENSE_NAME= f-prot LICENSE_TEXT= Free for personal users on personal workstations only LICENSE_PERMS= auto-accept WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= 900.fpupdate fpscan fpupdate OPTIONS_DEFINE= DOCS ONLY_FOR_ARCHS= i386 amd64 do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/fpscan ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/fpupdate ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/antivir.def ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/license.key ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/product.data ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/f-prot.conf.default ${STAGEDIR}${PREFIX}/etc/f-prot.conf.sample ${INSTALL_SCRIPT} ${WRKDIR}/fpscan ${STAGEDIR}${PREFIX}/bin/fpscan ${INSTALL_SCRIPT} ${WRKDIR}/fpupdate ${STAGEDIR}${PREFIX}/bin/fpupdate @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/900.fpupdate ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_MAN} ${WRKSRC}/doc/man/fpscan.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/man/f-prot.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/doc/man/fpupdate.8 ${STAGEDIR}${MANPREFIX}/man/man8 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) ${CP} ${WRKSRC}/doc/CHANGES ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/doc/LICENSE ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/doc/LICENSE-FPAV ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/doc/LICENSES-others ${STAGEDIR}${DOCSDIR} .include diff --git a/security/fakebo/Makefile b/security/fakebo/Makefile index e0a6adf461cd..781f12b5c513 100644 --- a/security/fakebo/Makefile +++ b/security/fakebo/Makefile @@ -1,35 +1,33 @@ -# Created by: Kris Kennaway - PORTNAME= fakebo PORTVERSION= 0.4.2.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Fake BackOrifice client emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} USES= autoreconf GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS post-extract: @${FIND} ${WRKSRC} -type l -delete do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fakebo ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/fakebo.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/fakebo.conf.dist ${STAGEDIR}${PREFIX}/etc/fakebo.conf.sample do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/custom.replies ${STAGEDIR}${DOCSDIR} .include diff --git a/security/fakeident/Makefile b/security/fakeident/Makefile index 4ed54abab945..5749ac9ba034 100644 --- a/security/fakeident/Makefile +++ b/security/fakeident/Makefile @@ -1,26 +1,24 @@ -# Created by: Dean Hollister - PORTNAME= fakeident PORTVERSION= 2.7 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= dean@odyssey.apana.org.au COMMENT= Tool that replies with a standard answer to incoming identd requests LICENSE= GPLv2+ PLIST_FILES= sbin/identd USE_RC_SUBR= fakeidentd do-build: @${MKDIR} ${WRKSRC} && ${CP} ${FILESDIR}/identd.c ${WRKSRC} cd ${WRKSRC} && ${SH} identd.c CC=${CC} ${CFLAGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/identd ${STAGEDIR}${PREFIX}/sbin .include diff --git a/security/fakeroot/Makefile b/security/fakeroot/Makefile index f84319f24446..04af3acb9273 100644 --- a/security/fakeroot/Makefile +++ b/security/fakeroot/Makefile @@ -1,29 +1,27 @@ -# Created by: Meno Abels - PORTNAME= fakeroot PORTVERSION= 1.23 CATEGORIES= security MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= martymac@FreeBSD.org COMMENT= Simulate the root user behaviour LICENSE= GPLv3 USES= tar:xz libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ipc=tcp INSTALL_TARGET= install-strip USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so \ ${STAGEDIR}${PREFIX}/lib/libfakeroot.so.0 ${LN} -sf libfakeroot.so.0 \ ${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so .include diff --git a/security/fcheck/Makefile b/security/fcheck/Makefile index 3766089daa64..bdfbe57217be 100644 --- a/security/fcheck/Makefile +++ b/security/fcheck/Makefile @@ -1,44 +1,42 @@ -# Created by: Lars Engels - PORTNAME= fcheck PORTVERSION= 2.07.59 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.sourcefiles.org/Networking/Security/Intrusion_Detection/ \ http://bsd-geek.de/FreeBSD/distfiles/ DISTNAME= FCheck_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Intrusion detection and Policy enforcement / auditing software LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= YES USES= perl5 shebangfix dos2unix SHEBANG_FILES= ${WRKSRC}/${PORTNAME} DOS2UNIX_FILES= ${WRKSRC}/${PORTNAME}.cfg OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local/admtools/conf/|${PREFIX}/etc/|' \ ${WRKSRC}/${PORTNAME} @${REINPLACE_CMD} -e 's|/usr/local/admtools/|/var/${PORTNAME}/|' \ -e 's|/bin/file|/usr/bin/file|' -e 's|/bin/cksum|/sbin/sha512|' \ ${WRKSRC}/${PORTNAME}.cfg do-install: ${MKDIR} ${STAGEDIR}/var/${PORTNAME}/logs ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/install ${STAGEDIR}${DOCSDIR} .include diff --git a/security/fcrackzip/Makefile b/security/fcrackzip/Makefile index 15422e820a58..072b2dc8b8bd 100644 --- a/security/fcrackzip/Makefile +++ b/security/fcrackzip/Makefile @@ -1,30 +1,28 @@ -# Created by: Stefan Walter - PORTNAME= fcrackzip PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= security archivers MASTER_SITES= http://oldhome.schmorp.de/data/marc/ \ http://distfiles.macports.org/${PORTNAME}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Portable, fast, and featureful ZIP password cracker LICENSE= GPLv2 GNU_CONFIGURE= yes USES= perl5 USE_PERL5= build PLIST_FILES= bin/fcrackzip bin/fcrackzipinfo man/man1/fcrackzip.1.gz post-patch: @${REINPLACE_CMD} -e 's/zipinfo/fcrackzipinfo/g' ${WRKSRC}/zipinfo.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/zipinfo \ ${STAGEDIR}${PREFIX}/bin/fcrackzipinfo ${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/ffuf/Makefile b/security/ffuf/Makefile index ce533e7a268e..375fd3c310b2 100644 --- a/security/ffuf/Makefile +++ b/security/ffuf/Makefile @@ -1,22 +1,20 @@ -# Created by: Gabriel M. Dutra <0xdutra@gmail.com> - PORTNAME= ffuf DISTVERSIONPREFIX=v DISTVERSION= 1.5.0 PORTREVISION= 2 CATEGORIES= security www MAINTAINER= 0xdutra@gmail.com COMMENT= Fast web fuzzer written in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_TUPLE= pelletier:go-toml:v1.8.1:pelletier_go_toml/vendor/github.com/pelletier/go-toml PLIST_FILES= bin/${PORTNAME} .include diff --git a/security/fiked/Makefile b/security/fiked/Makefile index 6a4ee8bde1b9..be640b75488a 100644 --- a/security/fiked/Makefile +++ b/security/fiked/Makefile @@ -1,40 +1,38 @@ -# Created by: Daniel Roethlisberger - PORTNAME= fiked PORTVERSION= 0.0.5 PORTREVISION= 7 CATEGORIES= security net-vpn MASTER_SITES= https://mirror.roe.ch/rel/fiked/ MAINTAINER= ports@FreeBSD.org COMMENT= Fake IKE PSK+XAUTH daemon based on VPNC LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:security/libgcrypt USES= gmake tar:bzip2 MAKEFILE= GNUmakefile PLIST_FILES= bin/fiked man/man1/fiked.1.gz PORTDOCS= README NEWS OPTIONS_DEFINE= LIBNET DOCS OPTIONS_DEFAULT=LIBNET LIBNET_DESC= Build with libnet support LIBNET_LIB_DEPENDS= libnet.so:net/libnet post-patch: @${REINPLACE_CMD} -e 's|=-g|=|' ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fiked ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/fiked.1 ${STAGEDIR}${PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/security/fl0p/Makefile b/security/fl0p/Makefile index bedfdd6c0c83..7f35b2bc52fa 100644 --- a/security/fl0p/Makefile +++ b/security/fl0p/Makefile @@ -1,46 +1,44 @@ -# Created by: trasz - PORTNAME= fl0p PORTVERSION= 0.0.2.b CATEGORIES= security MASTER_SITES= http://lcamtuf.coredump.cx/soft/ DISTNAME= fl0p-devel MAINTAINER= ports@FreeBSD.org COMMENT= Passive L7 flow fingerprinting tool LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= ChangeLog CREDITS README TODO PLIST_FILES= bin/fl0p %%DATADIR%%/fl0p.fp OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|"/etc/fl0p"|"${DATADIR}"|' ${WRKSRC}/config.h @${REINPLACE_CMD} -e \ 's|^MAKE_CMD_OK|#MAKE_CMD_OK|' ${WRKSRC}/Build @${REINPLACE_CMD} -e \ '/^CC/s|\([[:blank:]]\)=|\1?=| ; \ /^CFLAGS/s|\([[:blank:]]\)=|\1+=| ; \ s|-g -ggdb|| ; \ s|-I.*|$$(CPPFLAGS)| ; \ /^all:/s|strip||' ${WRKSRC}/mk/Linux do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fl0p ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/fl0p.fp ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile index 919d26c6677d..9a3663703e1d 100644 --- a/security/flawfinder/Makefile +++ b/security/flawfinder/Makefile @@ -1,49 +1,47 @@ -# Created by: ijliao - PORTNAME= flawfinder PORTVERSION= 2.0.19 CATEGORIES= security devel MASTER_SITES= http://www.dwheeler.com/flawfinder/ \ PACKETSTORM/UNIX/security MAINTAINER= se@FreeBSD.org COMMENT= Examines source code looking for security weaknesses LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python shebangfix SHEBANG_FILES= flawfinder.py NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/flawfinder man/man1/flawfinder.1.gz PORTDOCS= ChangeLog README.md flawfinder.pdf flawfinder.ps PORTEXAMPLES= correct-results-004.txt correct-results-005.txt \ correct-results-006.txt correct-results-008.txt \ correct-results.csv correct-results.html correct-results.txt \ makefile no-ending-newline.c test-boost-system.hpp \ test-cpp-digit-separator.c test-cpp-digit-separator.cpp \ test-diff-005.patch test-junk-006.txt test-junk-008.txt \ test-patched.c test-results-004.txt test-results-005.txt \ test-results-006.txt test-results-008.txt test-results.csv \ test-results.html test-results.txt test-saved-hitlist-006.txt \ test-saved-hitlist-008.txt test.c test2.c OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder.py ${STAGEDIR}${PREFIX}/bin/flawfinder ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} for f in ${PORTEXAMPLES}; do \ ${INSTALL_DATA} ${WRKSRC}/test/$$f ${STAGEDIR}${EXAMPLESDIR}; \ done .include diff --git a/security/fprint_demo/Makefile b/security/fprint_demo/Makefile index 497ece546ffb..7abb84650012 100644 --- a/security/fprint_demo/Makefile +++ b/security/fprint_demo/Makefile @@ -1,26 +1,24 @@ -# Created by: barner - PORTNAME= fprint_demo PORTVERSION= 20080303 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= DEBIAN/pool/main/f/${PORTNAME:C/_/-/} DISTNAME= ${PORTNAME:C/_/-/}_${PORTVERSION}git.orig MAINTAINER= lichray@gmail.com COMMENT= Demo and test application for libfprint LIB_DEPENDS= libfprint.so:security/libfprint USES= autoreconf desktop-file-utils gnome pkgconfig USE_GNOME= atk glib20 gtk20 pango NO_WRKSUBDIR= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CRYPTO_CFLAGS=-I${OPENSSLINC} \ CRYPTO_LIBS=-lcrypto CFLAGS+= -DHAVE_MEMMEM .include diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile index 08587d9ca94f..db502aa5efbc 100644 --- a/security/fragroute/Makefile +++ b/security/fragroute/Makefile @@ -1,35 +1,33 @@ -# Created by: Dominic Marks - PORTNAME= fragroute PORTVERSION= 1.2 PORTREVISION= 16 CATEGORIES= security net MASTER_SITES= http://monkey.org/~dugsong/fragroute/ \ PACKETSTORM/UNIX/security MAINTAINER= ports@FreeBSD.org COMMENT= Tool for intercepting, modifying, and rewriting egress traffic LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 LIB_DEPENDS= libdnet.so:net/libdnet \ libevent.so:devel/libevent GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libdnet=${LOCALBASE} \ --with-libevent=${LOCALBASE} --with-pcap SCRIPTS= README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \ frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 \ tcp-5 tcp-7 tcp-9 pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for FILE in ${SCRIPTS} ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${DATADIR} .endfor .include diff --git a/security/fragrouter/Makefile b/security/fragrouter/Makefile index fd54e6846813..98bec33da963 100644 --- a/security/fragrouter/Makefile +++ b/security/fragrouter/Makefile @@ -1,17 +1,15 @@ -# Created by: kris@FreeBSD.org - PORTNAME= fragrouter PORTVERSION= 1.6 CATEGORIES= security MASTER_SITES= http://monkey.org/~dugsong/ \ LOCAL/ohauer MAINTAINER= ports@FreeBSD.org COMMENT= Tool for testing network IDS implementations GNU_CONFIGURE= yes PLIST_FILES= sbin/fragrouter \ man/man8/fragrouter.8.gz .include diff --git a/security/fswatch/Makefile b/security/fswatch/Makefile index 687d9c06e1e9..668069d7378d 100644 --- a/security/fswatch/Makefile +++ b/security/fswatch/Makefile @@ -1,27 +1,25 @@ -# Created by: dominik karczmarski - PORTNAME= fswatch DISTVERSION= 0.02beta5 PORTREVISION= 1 CATEGORIES= security sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.02beta5 MAINTAINER= 0mp@FreeBSD.org COMMENT= File system checksum checker LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CONFIGURE_ARGS= --prefix=${PREFIX} \ --enable-regex \ --enable-stflags GNU_CONFIGURE= yes CFLAGS+= -fcommon PORTSCOUT= ignore:1 post-patch: @${REINPLACE_CMD} '/INSTALL/ s|prefix)|DESTDIR)$$(&|' \ ${WRKSRC}/examples/Makefile.in .include diff --git a/security/ftimes/Makefile b/security/ftimes/Makefile index 7ac94fc2ff05..b836cd529f88 100644 --- a/security/ftimes/Makefile +++ b/security/ftimes/Makefile @@ -1,143 +1,141 @@ -# Created by: Klayton Monroe - PORTNAME= ftimes PORTVERSION= 3.11.0 PORTREVISION= 2 CATEGORIES= security sysutils MASTER_SITES= SF MAINTAINER= klm@uidzero.org COMMENT= System baselining and evidence collection tool LICENSE= BSD3CLAUSE APACHE20 MIT LICENSE_COMB= multi BROKEN_aarch64= fails to build: aarch64 is not currently supported BROKEN_mips64= fails to build: mips64 is not currently supported BROKEN_riscv64= fails to build: riscv64 is not currently supported GNU_CONFIGURE= yes USES= perl5 shebangfix tar:tgz USE_PERL5= run build SHEBANG_FILES= \ ${WRKSRC}/tools/dig/ftimes-crv2dbi.pl \ ${WRKSRC}/tools/dig/ftimes-crv2raw.pl \ ${WRKSRC}/tools/dig/ftimes-dig2ctx.pl \ ${WRKSRC}/tools/dig/ftimes-dig2dbi.pl \ ${WRKSRC}/tools/dig/hipdig.pl \ ${WRKSRC}/tools/ftimes-bimvl/ftimes-bimvl \ ${WRKSRC}/tools/ftimes-cmp2diff/ftimes-cmp2diff \ ${WRKSRC}/tools/ftimes-dbm-bash/ftimes-dbm-bash \ ${WRKSRC}/tools/ftimes-dbm-dump/ftimes-dbm-dump \ ${WRKSRC}/tools/ftimes-dbm-find/ftimes-dbm-find \ ${WRKSRC}/tools/ftimes-dbm-make/ftimes-dbm-make \ ${WRKSRC}/tools/ftimes-dbm-reap/ftimes-dbm-reap \ ${WRKSRC}/tools/ftimes-dbm-weed/ftimes-dbm-weed \ ${WRKSRC}/tools/ftimes-encoder/ftimes-encoder \ ${WRKSRC}/tools/ftimes-grabber/ftimes-grabber \ ${WRKSRC}/tools/ftimes-proximo/ftimes-proximo \ ${WRKSRC}/tools/ftimes-sizimus/ftimes-sizimus \ ${WRKSRC}/tools/ftimes-sortini/ftimes-sortini \ ${WRKSRC}/tools/ftimes-xformer/ftimes-xformer \ ${WRKSRC}/tools/hashdig/hashdig-bash.pl \ ${WRKSRC}/tools/hashdig/hashdig-bind.pl \ ${WRKSRC}/tools/hashdig/hashdig-dump.pl \ ${WRKSRC}/tools/hashdig/hashdig-filter.pl \ ${WRKSRC}/tools/hashdig/hashdig-find.pl \ ${WRKSRC}/tools/hashdig/hashdig-harvest-sunsolve.pl \ ${WRKSRC}/tools/hashdig/hashdig-harvest.pl \ ${WRKSRC}/tools/hashdig/hashdig-make.pl \ ${WRKSRC}/tools/hashdig/hashdig-resolve-sunsolve.pl \ ${WRKSRC}/tools/hashdig/hashdig-stat.pl \ ${WRKSRC}/tools/hashdig/hashdig-weed.pl \ ${WRKSRC}/tools/map/ftimes-cmp2dbi.pl \ ${WRKSRC}/tools/map/ftimes-map2dbi.pl \ ${WRKSRC}/tools/map/ftimes-map2mac.pl \ ${WRKSRC}/tools/zipmap/zipmap OPTIONS_DEFINE= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS XMAGIC DBM_TOOLS_DESC= Install DBM tools DIG_TOOLS_DESC= Install dig tools FILE_HOOKS_DESC= Include file hooks support HASHDIG_TOOLS_DESC= Install hashdig tools MAP_TOOLS_DESC= Install map tools XMAGIC_DESC= XMagic support SSL_USES= ssl .include LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+= --with-pcre=${LOCALBASE} STRIP_FILES= ${STAGEDIR}${PREFIX}/bin/ftimes INSTALL_PERL5_LIBS= .if ${PORT_OPTIONS:MDBM_TOOLS} PLIST_SUB+= DBM_TOOLS="" CONFIGURE_ARGS+= --with-dbm-tools .else PLIST_SUB+= DBM_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MDIG_TOOLS} PLIST_SUB+= DIG_TOOLS="" CONFIGURE_ARGS+= --with-dig-tools RUN_DEPENDS+= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 INSTALL_PERL5_LIBS= yes .else PLIST_SUB+= DIG_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MFILE_HOOKS} LIB_DEPENDS+= libklel.so:devel/libklel CONFIGURE_ARGS+= --enable-file-hooks --with-klel=${LOCALBASE} --with-perl=${LOCALBASE}/bin/perl .else PLIST_SUB+= WITH_FILE_HOOKS="@comment " .endif .if ${PORT_OPTIONS:MHASHDIG_TOOLS} PLIST_SUB+= HASHDIG_TOOLS="" CONFIGURE_ARGS+= --with-hashdig-tools .else PLIST_SUB+= HASHDIG_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MMAP_TOOLS} PLIST_SUB+= MAP_TOOLS="" CONFIGURE_ARGS+= --with-map-tools STRIP_FILES+= ${STAGEDIR}${PREFIX}/bin/ftimes-cat ${STAGEDIR}${PREFIX}/bin/ftimes-xpa ${STAGEDIR}${PREFIX}/bin/hashcp ${STAGEDIR}${PREFIX}/bin/tarmap INSTALL_PERL5_LIBS= yes .else PLIST_SUB+= MAP_TOOLS="@comment " .endif .if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --without-ssl .endif .if ${PORT_OPTIONS:MXMAGIC} PLIST_SUB+= XMAGIC="" CONFIGURE_ARGS+= --enable-xmagic .else PLIST_SUB+= XMAGIC="@comment " CONFIGURE_ARGS+= --disable-xmagic .endif .if ${INSTALL_PERL5_LIBS} PLIST_SUB+= FTIMES_PERL5_LIBS="" .else PLIST_SUB+= FTIMES_PERL5_LIBS="@comment " .endif post-configure: if [ "${INSTALL_PERL5_LIBS}" = "yes" ] ; then ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' ${WRKSRC}/lib/perl/Makefile ; fi post-install: ${STRIP_CMD} ${STRIP_FILES} .include diff --git a/security/fuzz/Makefile b/security/fuzz/Makefile index 78ea57e3ec6e..c1391160ba24 100644 --- a/security/fuzz/Makefile +++ b/security/fuzz/Makefile @@ -1,17 +1,15 @@ -# Created by: Chris D. Faulhaber - PORTNAME= fuzz PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Tool for testing software by bombarding the program with random data GNU_CONFIGURE= yes PLIST_FILES= bin/fuzz \ man/man1/fuzz.1.gz .include diff --git a/security/fwanalog/Makefile b/security/fwanalog/Makefile index 61e6735f536a..fbf6dccf752d 100644 --- a/security/fwanalog/Makefile +++ b/security/fwanalog/Makefile @@ -1,45 +1,43 @@ -# Created by: Kimura Fuyuki - PORTNAME= fwanalog PORTVERSION= 0.6.9 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= http://tud.at/programm/fwanalog/ MAINTAINER= cy@FreeBSD.org COMMENT= Firewall log summarizer that uses Analog RUN_DEPENDS= analog:www/analog CONFFILES= fwanalog-dom.tab \ fwanalog.analog.conf \ fwanalog.analog.conf.local \ fwanalog.lng \ fwanalog.opts \ services.conf OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} \ -e "s,the script's directory.*$$,${ETCDIR},;" \ -e 's,cd .*$$,cd ${ETCDIR},; s,sh\$$/,\$$/.,' \ ${WRKSRC}/fwanalog.sh ${REINPLACE_CMD} -e 's/"freebsd/"ipf/; s/"ipflog/"messages/' \ ${WRKSRC}/fwanalog.opts.freebsd do-build: ${LN} ${WRKSRC}/fwanalog.opts.freebsd ${WRKSRC}/fwanalog.opts do-install: ${INSTALL_SCRIPT} ${WRKSRC}/fwanalog.sh ${STAGEDIR}${PREFIX}/sbin/fwanalog @${MKDIR} ${STAGEDIR}${ETCDIR} .for i in ${CONFFILES} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile index 89fd74eca3a8..788adf3b56c7 100644 --- a/security/fwbuilder/Makefile +++ b/security/fwbuilder/Makefile @@ -1,82 +1,80 @@ -# Created by: Roman Shterenzon - PORTNAME= fwbuilder PORTVERSION= 5.3.7 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= cy@FreeBSD.org COMMENT= Firewall Builder GUI and policy compilers BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: libz library not found LIB_DEPENDS= libxslt.so:textproc/libxslt \ libnetsnmp.so:net-mgmt/net-snmp OPTIONS_DEFINE= DOCS .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == -devel CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \ libfwbuilder-[234].* libfwbuilder-devel-[234].* .else CONFLICTS= fwbuilder-[234].* fwbuilder-devel \ libfwbuilder-[234].* libfwbuilder-devel .endif USES= autoreconf:build gmake libtool qmake:no_configure qt:5 ssl USE_GITHUB= yes PLIST_SUB= PORTVERSION=${PORTVERSION} USE_QT= buildtools gui \ linguist_build \ printsupport \ qmake_build \ svg \ xml QTDIR?= ${PREFIX} GNU_CONFIGURE= yes CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ INSTALL_ROOT=${STAGEDIR} CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -Wno-reserved-user-defined-literal LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR} \ --prefix=${PREFIX} MAKE_ARGS+= QTDIR="${QTDIR}" \ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ MAKE_ENV= INSTALL_ROOT=${STAGEDIR} CCACHE_DISABLE=yes USE_LDCONFIG= yes PLIST_SUB+= PORTVERSION="${PORTVERSION}" PORTDOCS= * .include .if !exists (/usr/bin/rcs) # IMPORTANT: Newer versions of rcs will NOT work with fwbuilder. RUN_DEPENDS+= rcs:devel/rcs57 .endif .if empty(PORT_OPTIONS:MDOCS) BROKEN= DOCS must be enabled in this port .endif post-patch: @${REINPLACE_CMD} '/^\.\/configure/d' ${WRKSRC}/autogen.sh pre-configure: (cd ${WRKSRC} && ./autogen.sh) # Work around an esoteric build issue related to the QT5 build infrastructure post-configure: @find ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} 's|-isystem /usr/include||g' post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fwbuilder @${ECHO} If you are upgrading from a previous version of fwbuilder, @${ECHO} please make sure to backup your fwbuilder database files @${ECHO} prior to invoking fwbuilder for the first time. .include diff --git a/security/fwknop/Makefile b/security/fwknop/Makefile index b1c362e74686..38afc4b97eae 100644 --- a/security/fwknop/Makefile +++ b/security/fwknop/Makefile @@ -1,54 +1,52 @@ -# Created by: Sean Greven - PORTNAME= fwknop PORTVERSION= 2.6.10 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.cipherdyne.org/fwknop/download/ MAINTAINER= sean.greven@gmail.com COMMENT= SPA implementation for Linux and FreeBSD LICENSE= GPLv2 BUILD_DEPENDS= wget:ftp/wget RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS+= libassuan.so:security/libassuan USES= cpe libtool USE_LDCONFIG= yes USE_RC_SUBR= fwknopd CPE_VENDOR= cipherdyne CONFLICTS_BUILD= fwknop-2.6.8_* GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INFO= libfko OPTIONS_DEFINE= GPGME OPTIONS_SINGLE= FW OPTIONS_SINGLE_FW= IPFW PF OPTIONS_DEFAULT= GPGME IPFW FW_DESC= Firewall Backend IPFW_DESC= Use the IPFW firewall PF_DESC= Use the PF firewall. GPGME_DESC= Build support for gpgme IPFW_CONFIGURE_WITH= ipfw=/sbin/ipfw PF_CONFIGURE_WITH= pf=/sbin/pfctl GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme GPGME_LIB_DEPENDS+= libgpg-error.so:security/libgpg-error GPGME_CONFIGURE_WITH= gpgme post-install: (cd ${STAGEDIR}${PREFIX}/etc/fwknop && ${MV} access.conf access.conf.sample) (cd ${STAGEDIR}${PREFIX}/etc/fwknop && ${MV} fwknopd.conf fwknopd.conf.sample) .include diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile index 3918bb7b5597..f5cc74d20b4f 100644 --- a/security/fwlogwatch/Makefile +++ b/security/fwlogwatch/Makefile @@ -1,22 +1,20 @@ -# Created by: ijliao - PORTNAME= fwlogwatch PORTVERSION= 1.5 CATEGORIES= security MASTER_SITES= http://fwlogwatch.inside-security.de/sw/ MAINTAINER= cy@FreeBSD.org COMMENT= Packet filter and firewall log analyzer USES= gettext tar:bzip2 MAKE_ENV= MKDIR="${MKDIR}" INSTALL_TARGET= install install-config install-i18n post-patch: @${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/fwlogwatch.8 post-install: ${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample \ ${STAGEDIR}${PREFIX}/etc/rc.d .include diff --git a/security/gcr/Makefile b/security/gcr/Makefile index 2647c38b0508..642b1d16da27 100644 --- a/security/gcr/Makefile +++ b/security/gcr/Makefile @@ -1,42 +1,40 @@ -# Created by: Koop Mast - PORTNAME= gcr PORTVERSION= 3.40.0 CATEGORIES= security gnome MASTER_SITES= GNOME LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= b3ca1d02bb01.patch:-p1 # https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81 MAINTAINER= gnome@FreeBSD.org COMMENT= Library for bits of crypto UI and parsing BUILD_DEPENDS= gpg2:security/gnupg \ vapigen:lang/vala LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgpg-error.so:security/libgpg-error \ libp11-kit.so:security/p11-kit \ libgcrypt.so:security/libgcrypt CONFLICTS= gnome-keyring-2.[0-9]* PORTSCOUT= limitw:1,even USE_GNOME= cairo gtk30 intlhack introspection:build USES= desktop-file-utils gettext gmake gnome libtool meson pathfix \ pkgconfig python:3.6+ shared-mime-info tar:xz USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.crypto.pgp.gschema.xml OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc DOCSDIR= ${PREFIX}/share/gtk-doc/html/ .include diff --git a/security/git-credential-gopass/Makefile b/security/git-credential-gopass/Makefile index f18423fac33b..d61943ba4b02 100644 --- a/security/git-credential-gopass/Makefile +++ b/security/git-credential-gopass/Makefile @@ -1,23 +1,21 @@ -# Created by: Emanuel Haupt - PORTNAME= git-credential-gopass PORTVERSION= 1.14.3 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= ehaupt@FreeBSD.org COMMENT= Manage git credentials using gopass LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes GH_ACCOUNT= gopasspw GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/git-credential-gopass .include diff --git a/security/git-crypt/Makefile b/security/git-crypt/Makefile index b523273998d5..9d498500d4a3 100644 --- a/security/git-crypt/Makefile +++ b/security/git-crypt/Makefile @@ -1,49 +1,47 @@ -# Created by: Ashish SHUKLA - PORTNAME= git-crypt PORTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://www.agwa.name/projects/git-crypt/downloads/ \ LOCAL/ashish/ MAINTAINER= ashish@FreeBSD.org COMMENT= Transparent file encryption in git LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= git:devel/git \ gpg:security/gnupg OPTIONS_DEFINE= MANPAGES MAKE_ENV+= PREFIX=${PREFIX} "CXXFLAGS=${CXXFLAGS}" \ "LDFLAGS=${LDFLAGS}" MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ docbook-xsl>=0:textproc/docbook-xsl MANPAGES_MAKE_ARGS= ENABLE_MAN=yes \ MANDIR=${MANPREFIX}/man \ DOCBOOK_XSL=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz USES= compiler:c++11-lang gmake ssl PLIST_FILES= bin/${PORTNAME} .include .if ${SSL_DEFAULT} != base CXXFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .endif post-extract: @${GREP} -Rl '"gpg"' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's,"gpg","${LOCALBASE}/bin/gpg",' @${GREP} -Rl '"git"' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's,"git","${LOCALBASE}/bin/git",' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/git-crypt .include diff --git a/security/git-remote-gcrypt/Makefile b/security/git-remote-gcrypt/Makefile index ac6f9a936626..d33567a79a0f 100644 --- a/security/git-remote-gcrypt/Makefile +++ b/security/git-remote-gcrypt/Makefile @@ -1,34 +1,32 @@ -# Created by: Ashish SHUKLA - PORTNAME= git-remote-gcrypt PORTVERSION= 1.4 CATEGORIES= security MAINTAINER= ashish@FreeBSD.org COMMENT= PGP-encrypt git remotes LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} RUN_DEPENDS= rsync:net/rsync \ curl:ftp/curl \ gpg:security/gnupg USES= python:build USE_GITHUB= yes GH_ACCOUNT= spwhitton MAKE_ENV= DESTDIR=${STAGEDIR} NO_BUILD= PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz post-extract: @${REINPLACE_CMD} -e s,prefix/share/man,prefix/man, ${WRKSRC}/install.sh do-install: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${WRKSRC}/install.sh .include diff --git a/security/gnome-keyring-sharp/Makefile b/security/gnome-keyring-sharp/Makefile index f6572989a731..eafcedc89f74 100644 --- a/security/gnome-keyring-sharp/Makefile +++ b/security/gnome-keyring-sharp/Makefile @@ -1,25 +1,23 @@ -# Created by: Romain Tartiere - PORTNAME= gnome-keyring-sharp PORTVERSION= 1.0.2 PORTREVISION= 5 CATEGORIES= security MASTER_SITES= http://www.go-mono.com/archive/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Fully managed implementation of gnome-keyring LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:devel/ndesk-dbus \ ${LOCALBASE}/libdata/pkgconfig/gnome-keyring-1.pc:security/libgnome-keyring RUN_DEPENDS:= ${BUILD_DEPENDS} GNU_CONFIGURE= yes USES= autoreconf gmake gnome libtool mono pathfix pkgconfig USE_GNOME= gtksharp20 USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile index 249f8124a34d..ea1442d2aada 100644 --- a/security/gnome-keyring/Makefile +++ b/security/gnome-keyring/Makefile @@ -1,42 +1,40 @@ -# Created by: Joe Marcus Clarke - PORTNAME= gnome-keyring PORTVERSION= 40.0 PORTREVISION= 3 CATEGORIES= security gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Program that keeps passwords and other secrets LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ docbook-xsl>=0:textproc/docbook-xsl \ gcr>=3.5.3:security/gcr LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgpg-error.so:security/libgpg-error \ libgcr-base-3.so:security/gcr \ libtasn1.so:security/libtasn1 \ libp11-kit.so:security/p11-kit \ libgcrypt.so:security/libgcrypt RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ pinentry-gnome3:security/pinentry-gnome PORTSCOUT= limitw:1,even USE_GNOME= cairo gtk30 intlhack libxslt:build USES= compiler:c11 cpe gettext gmake gnome libtool localbase \ pathfix pkgconfig tar:xz CPE_VENDOR= gnome GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.crypto.cache.gschema.xml SUB_FILES= pkg-message .include diff --git a/security/gnome-ssh-askpass/Makefile b/security/gnome-ssh-askpass/Makefile index 386b3b5f0ed0..c37eaef58d57 100644 --- a/security/gnome-ssh-askpass/Makefile +++ b/security/gnome-ssh-askpass/Makefile @@ -1,31 +1,29 @@ -# Created by: Mark Hannon - PORTNAME= gnome-ssh-askpass PORTVERSION= 6.6p1 CATEGORIES= security gnome MASTER_SITES= OPENBSD/OpenSSH/portable/ DISTNAME= openssh-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Graphical SSH askpass utility for Gnome2 #LICENSE= BSD2,BSD3,MIT,public domain,BSD-Style,BEER-WARE,"any purpose with notice intact",ISC-Style #LICENSE_FILE= ${WRKSRC}/LICENCE PORTSCOUT= limit:^6\.6 # Will update when FreeBSD version off SSH goes to 5.9p1 WRKSRC= ${WRKDIR}/openssh-${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/contrib ALL_TARGET= gnome-ssh-askpass2 PLIST_FILES= bin/gnome-ssh-askpass2 USES= gnome pkgconfig USE_GNOME= gtk20 CFLAGS+= -lpthread do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gnome-ssh-askpass2 \ ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/gnomint/Makefile b/security/gnomint/Makefile index cbcafe0e1f6b..86b5a459bd83 100644 --- a/security/gnomint/Makefile +++ b/security/gnomint/Makefile @@ -1,35 +1,33 @@ -# Created by: Kevin Zheng - PORTNAME= gnomint PORTVERSION= 1.2.1 PORTREVISION= 13 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= X.509 Certification Authority management tool DEPRECATED= Abandonware, depending on gconf2 EXPIRATION_DATE= 2022-07-24 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libsqlite3.so:databases/sqlite3 GNU_CONFIGURE= yes USES= gettext-tools gmake gnome perl5 pkgconfig readline USE_GNOME= gconf2 gdkpixbuf2 glib20 gtk20 intltool CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/security/gokart/Makefile b/security/gokart/Makefile index 4a53a5eb5d50..5b0ca5c2d669 100644 --- a/security/gokart/Makefile +++ b/security/gokart/Makefile @@ -1,31 +1,29 @@ -# Created by: Gabriel M. Dutra <0xdutra@gmail.com> - PORTNAME= gokart DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 PORTREVISION= 3 CATEGORIES= security MAINTAINER= 0xdutra@gmail.com COMMENT= Go Security Static Analysis LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/praetorian-inc/gokart GO_TARGET= gokart PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/gopass/Makefile b/security/gopass/Makefile index 9a8ab8909391..c0542775e302 100644 --- a/security/gopass/Makefile +++ b/security/gopass/Makefile @@ -1,60 +1,58 @@ -# Created by: Sascha Holzleiter - PORTNAME= gopass DISTVERSIONPREFIX= v DISTVERSION= 1.14.3 PORTREVISION= 2 CATEGORIES= security MAINTAINER= eduardo@FreeBSD.org COMMENT= Rewrite of the pass password manager in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= upstream only supports amd64 RUN_DEPENDS= git:devel/git \ gpg2:security/gnupg USES= go:modules # Usage examples are in a separate repo USE_GITHUB= nodefault GH_TUPLE= gopasspw:password-store-example:8db75ba3b69c:password_store_example GO_MODULE= github.com/gopasspw/gopass PORTDOCS= README.md docs/* PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-build: .for SHELL in bash fish zsh ${GO_WRKDIR_BIN}/${PORTNAME} completion ${SHELL} > ${WRKSRC}/${SHELL} .endfor post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/bash \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}.sh @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/fish \ ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/zsh \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC_password_store_example} && ${COPYTREE_SHARE} "README.md secrets templates" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/security/gorilla/Makefile b/security/gorilla/Makefile index 6562caedf046..c3ffc63b94be 100644 --- a/security/gorilla/Makefile +++ b/security/gorilla/Makefile @@ -1,78 +1,76 @@ -# Created by: Kay Lehmann - PORTNAME= gorilla PORTVERSION= 1.5.3.6 DISTVERSIONSUFFIX= a72f9d7 CATEGORIES= security MASTER_SITES= LOCAL/crees/gorilla/ \ http://www.bayofrum.net/dist/${PORTNAME}/ DISTFILES= zdia-${PORTNAME}-v${DISTVERSION}-0-g${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= crees@FreeBSD.org COMMENT= Password Gorilla is a cross-platform Password Manager LICENSE= GPLv2 RUN_DEPENDS= itcl>=3.4:lang/itcl \ wish:x11-toolkits/tk-wrapper OPTIONS_DEFINE= DOCS .include .if ${ARCH} == i386 GORILLAARCH= FreeBSD-x86 DISTFILES+= gorilla-sha256-${DISTVERSION}_1${EXTRACT_SUFX} .elif ${ARCH} == amd64 GORILLAARCH= FreeBSD-${ARCH} DISTFILES+= gorilla-sha256-${DISTVERSION}_1${EXTRACT_SUFX} .else GORILLAARCH= bogus WITHOUTSO= "@comment " .endif PLIST_SUB+= GORILLAARCH=${GORILLAARCH:tl} WITHOUTSO=${WITHOUTSO} WRKSRC= ${WRKDIR}/zdia-${PORTNAME}-${DISTVERSIONSUFFIX} USES= tk:run SUB_FILES= gorilla SUB_LIST= WISH=${WISH} PORTDOCS= * SRC_DIRS= blowfish modules msgs pics pwsafe tcllib twofish post-patch: # We don't want Linux/Windows/Darwin binaries thank you .for irrelevant in linux-ix86 linux-x86_64 macosx-ix86 \ macosx-x86_64 win32-ix86 win32-x86_64 ${RM} -r ${WRKSRC}/sources/tcllib/sha256c/${irrelevant} .endfor .for irrelevant in f32-Darwin-x86.dylib f32-Windows-x86.dll \ f32-Linux-x86.so f32-Linux-x86_64.so ${RM} ${WRKSRC}/sources/twofish/${irrelevant} .endfor do-build: .if !defined(WITHOUTSO) ${MV} ${WRKDIR}/${PORTNAME}-sha256/sha256/${GORILLAARCH}/ \ ${WRKSRC}/sources/tcllib/sha256c/${GORILLAARCH:tl} .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gorilla @${INSTALL_SCRIPT} ${WRKSRC}/sources/*.tcl \ ${STAGEDIR}${PREFIX}/lib/gorilla .for dir in ${SRC_DIRS} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${dir} @cd ${WRKSRC}/sources/${dir} \ && ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${dir} .endfor @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README \ ${WRKSRC}/sources/README.install-from-source \ ${WRKSRC}/sources/CHANGES.txt \ ${STAGEDIR}${DOCSDIR} .include diff --git a/security/gost-engine/Makefile b/security/gost-engine/Makefile index e73e8f2567ef..bb3ba8cbd566 100644 --- a/security/gost-engine/Makefile +++ b/security/gost-engine/Makefile @@ -1,47 +1,45 @@ -# Created by: Eugene Grosbein - PORTNAME= gost-engine DISTVERSION= g20190421 CATEGORIES= security MAINTAINER= eugen@FreeBSD.org COMMENT= Implementation of the Russian GOST crypto algorithms for OpenSSL LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL 1.1.1+ BROKEN_SSL_REASON_libressl-devel=needs features only available in OpenSSL 1.1.1+ USES= cmake ssl USE_GITHUB= yes GH_PROJECT= engine GH_TAGNAME= 7ed64cd ENGINESDIR?= ${PREFIX}/lib/engines-1.1 CMAKE_ARGS+= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} \ -DOPENSSL_ENGINES_DIR=${ENGINESDIR} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS .include post-patch: ${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/CMakeLists.txt post-install: ( cd ${STAGEDIR}${PREFIX}/lib/engines-1.1 && ${MV} gost.so libgost.so ) post-install-DOCS-off: ( cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${RM} gost12sum.1 gostsum.1 ) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ( cd ${WRKSRC} && ${INSTALL_MAN} INSTALL.md README.gost README.md \ ${STAGEDIR}${DOCSDIR} ) .include diff --git a/security/gpa/Makefile b/security/gpa/Makefile index fb3b53da4b13..a6417631d719 100644 --- a/security/gpa/Makefile +++ b/security/gpa/Makefile @@ -1,33 +1,31 @@ -# Created by: Clive Lin - PORTNAME= gpa PORTVERSION= 0.10.0 CATEGORIES= security MASTER_SITES= GNUPG/gpa MAINTAINER= jhale@FreeBSD.org COMMENT= GTK2+ frontend for the GNU Privacy Guard LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ libgpg-error.so:security/libgpg-error BUILD_DEPENDS= gpgv2:security/gnupg RUN_DEPENDS= gpgv2:security/gnupg USES= desktop-file-utils gmake gnome localbase pkgconfig tar:bzip2 USE_GNOME= gdkpixbuf2 gtk20 GNU_CONFIGURE= yes CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap" LDFLAGS+= -Wl,--as-needed OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/security/gpgdir/Makefile b/security/gpgdir/Makefile index 922e7d1cfdf5..c078a1e93242 100644 --- a/security/gpgdir/Makefile +++ b/security/gpgdir/Makefile @@ -1,32 +1,30 @@ -# Created by: Hakisho Nukama - PORTNAME= gpgdir PORTVERSION= 1.9.5 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= https://www.cipherdyne.org/~cipherdy/gpgdir/download/ \ http://www.cipherdyne.org/gpgdir/download/ MAINTAINER= nukama+maintainer@gmail.com COMMENT= Recursive directory encryption with GnuPG LICENSE= GPLv2 RUN_DEPENDS= p5-Class-MethodMaker>=0:devel/p5-Class-MethodMaker \ p5-GnuPG-Interface>=0:security/p5-GnuPG-Interface \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey NO_BUILD= yes USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= gpgdir CONFLICTS_INSTALL= signing-party # bin/gpgdir PLIST_FILES= bin/gpgdir man/man1/gpgdir.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gpgdir ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gpgdir.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile index aaef2195e612..fb3f12fb6511 100644 --- a/security/gpgme/Makefile +++ b/security/gpgme/Makefile @@ -1,161 +1,159 @@ -# Created by: teramoto@comm.eng.osaka-u.ac.jp - PORTNAME= gpgme PORTVERSION= 1.17.1 PORTREVISION?= 0 CATEGORIES?= security MASTER_SITES= GNUPG/gpgme MAINTAINER= jhale@FreeBSD.org COMMENT?= Library to make access to GnuPG easier LICENSE?= LGPL21+ LICENSE_FILE?= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error USES= compiler:c11 cpe gmake libtool localbase:ldflags tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check CPE_VENDOR= gnu .if !defined(SLAVEPORT) CONFIGURE_ARGS+=--enable-languages="cl" INFO= gpgme PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README THANKS TODO OPTIONS_DEFINE= DOCS TEST UISERVER OPTIONS_SINGLE= GNUPG OPTIONS_SINGLE_GNUPG= GNUPG1 GNUPG2 OPTIONS_DEFAULT= GNUPG2 UISERVER GNUPG1_DESC= Build gpgme library for GnuPG 1.x GNUPG1_BUILD_DEPENDS= gpgv:security/gnupg1 GNUPG1_RUN_DEPENDS= gpgv:security/gnupg1 GNUPG2_DESC= Build gpgme library for GnuPG 2.x GNUPG2_BUILD_DEPENDS= gpg2:security/gnupg GNUPG2_RUN_DEPENDS= gpg2:security/gnupg TEST_CONFIGURE_ENABLE= g13-test gpg-test gpgconf-test gpgsm-test TEST_PREVENTS= GNUPG1 TEST_PREVENTS_MSG= TEST option is mainly designed for use with the GNUPG2 option UISERVER_DESC= GnuPG UI server support UISERVER_CONFIGURE_ENABLE= fd-passing .else LIB_DEPENDS+= libgpgme.so:security/gpgme BUILD_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME} INSTALL_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME} TEST_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME}/tests . if ${SLAVEPORT} != "cpp" OPTIONS_DEFINE+= TEST . endif . if ${SLAVEPORT} == "cpp" USES+= compiler:c++11-lib CONFIGURE_ARGS+=--enable-languages="cpp" NO_TEST= yes . endif . if ${SLAVEPORT} == "qt5" LIB_DEPENDS+= libgpgmepp.so:security/gpgme-cpp USES+= compiler:c++11-lib pkgconfig qt:5 USE_QT= buildtools_build core CONFIGURE_ARGS+=--enable-languages="cpp qt" DOCSDIR= ${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE+= DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz TEST_USE= QT=testlib_build . endif . if ${SLAVEPORT} == "python" BUILD_DEPENDS+= swig:devel/swig \ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} USES+= python:3.8+ USE_PYTHON= flavors CONFIGURE_ARGS+=--enable-languages="python" CONFIGURE_ENV+= BSD_PYTHON="${PYTHON_CMD}" \ BSD_PYTHON_VERSION="${PYTHON_VER}" \ SWIG="${LOCALBASE}/bin/swig" PLIST_SUB+= VERSION=${PORTVERSION} . endif .endif post-patch: .if defined(SLAVEPORT) @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|../../../src/libgpgme.la|-lgpgme|g' . if ${SLAVEPORT} == "qt5" @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|../../cpp/src/libgpgmepp.la|-lgpgmepp|g' . endif .endif @${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \ ${WRKSRC}/lang/cl/Makefile.in @${REINPLACE_CMD} -e 's|-Wsuggest-override||g' \ ${WRKSRC}/lang/cpp/src/Makefile.in \ ${WRKSRC}/lang/qt/src/Makefile.in post-patch-DOXYGEN-off: @${REINPLACE_CMD} -e '/SUBDIRS/s|doc||' \ ${WRKSRC}/lang/qt/Makefile.in post-patch-TEST-off: @${REINPLACE_CMD} -e '/SUBDIRS/s|tests||' \ ${WRKSRC}/lang/python/Makefile.in \ ${WRKSRC}/lang/qt/Makefile.in # The gnupg programs will create sockets for the tests in a temporary directory # under /var/run/user/${UID} if it exists. Otherwise, they will try to create # them in the test build directories. To prevent errors in cases where the test # build directory path length exceeds the socket path length limitation of 104 # characters, the sockets are redirected to a temporary directory. pre-build-TEST-on: @if [ ! -d "/var/run/user/${UID}" ]; then \ SOCKETS="dirmngr gpg-agent gpg-agent.browser gpg-agent.extra gpg-agent.ssh scdaemon uiserver"; \ TESTSUBDIRS="lang/python/tests lang/qt/tests tests/gpg tests/gpgsm"; \ TMPSOCKETDIR=$$(${MKTEMP} -d -t gpgmetest); \ ${ECHO_CMD} "$${TMPSOCKETDIR}" > ${WRKDIR}/.tmpsocketdir; \ trap "${RM} -r $${TMPSOCKETDIR}; exit 1" 1 2 3 5 10 13 15; \ for sock in $${SOCKETS}; do \ for subdir in $${TESTSUBDIRS}; do \ ${PRINTF} "%%Assuan%%\nsocket=$${TMPSOCKETDIR}/S.$${sock}\n" > ${WRKSRC}/$${subdir}/S.$${sock}; \ done; \ done; \ fi post-build-TEST-on: @if [ -f "${WRKDIR}/.tmpsocketdir" ]; then \ ${XARGS} ${RM} -rf < ${WRKDIR}/.tmpsocketdir; \ ${RM} ${WRKDIR}/.tmpsocketdir; \ fi pre-test: pre-build-TEST-on post-test: post-build-TEST-on .if !defined(SLAVEPORT) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/html cd ${WRKSRC}/lang/qt/doc/generated/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile index 0766102b5d8b..0cdbae80c072 100644 --- a/security/gsasl/Makefile +++ b/security/gsasl/Makefile @@ -1,37 +1,35 @@ -# Created by: ijliao - PORTNAME= gsasl PORTVERSION= 2.0.1 CATEGORIES= security MASTER_SITES= GNU MAINTAINER= sunpoet@FreeBSD.org COMMENT= GNU SASL command-line utility LICENSE= LGPL21 LIB_DEPENDS= libgsasl.so:security/libgsasl USES= charsetfix libtool localbase pathfix pkgconfig readline CONFIGURE_ARGS= --disable-rpath \ --without-gssapi-impl GNU_CONFIGURE= yes INFO= gsasl OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_USES= makeinfo NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-build-DOCS-on: cd ${WRKSRC}/doc && ${MAKE_CMD} gsasl.html post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/gsasl.html ${STAGEDIR}${DOCSDIR} .include diff --git a/security/gtkpasman/Makefile b/security/gtkpasman/Makefile index 355c53bfde99..3164caca08e0 100644 --- a/security/gtkpasman/Makefile +++ b/security/gtkpasman/Makefile @@ -1,41 +1,39 @@ -# Created by: Philippe Rocques - PORTNAME= gtkpasman PORTVERSION= 0.12.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GTK+ passwords manager for system and network administrators RUN_DEPENDS+= gpgv2:security/gnupg USES= desktop-file-utils gettext gmake gnome pkgconfig tar:xz USE_GNOME= gtk20 intltool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gtk2 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message PORTDOCS= * PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/src/Makefile.* do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/data/gtkpasman.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/data/gpasman4.sample ${STAGEDIR}${DOCSDIR} .include diff --git a/security/hardening-check/Makefile b/security/hardening-check/Makefile index 4ce99de06def..d8aaeaece855 100644 --- a/security/hardening-check/Makefile +++ b/security/hardening-check/Makefile @@ -1,32 +1,30 @@ -# Created by: Jov - PORTNAME= hardening-check PORTVERSION= 2.6 CATEGORIES= security MASTER_SITES= DEBIAN/pool/main/h/hardening-wrapper DISTNAME= hardening-wrapper_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Check binaries for security hardening features LICENSE= GPLv2+ USES= tar:xz shebangfix perl5 SHEBANG_FILES= ${PORTNAME} NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} WRKSRC= ${WRKDIR}/hardening-wrapper post-patch: ${REINPLACE_CMD} -e 's/die "List of libc functions not defined/#&/' \ -e 's/^libc./& Not supported on FreeBSD now./' \ -e 's/against glibc)./& This function is currently Not supported on FreeBSD./' \ ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 1e28b4f8ae86..f48a5c75436a 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -1,117 +1,115 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= heimdal PORTVERSION= 7.7.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/heimdal/heimdal/releases/download/${DISTNAME}/ MAINTAINER= hrs@FreeBSD.org COMMENT= Popular BSD-licensed implementation of Kerberos 5 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS= krb5 krb5-* USES= cpe gettext-runtime gssapi:bootstrap,heimdal libtool pathfix \ pkgconfig readline makeinfo ssl CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= ${GSSAPILIBDIR} GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_fnmatch_h=yes \ ac_cv_header_db_h=no \ ac_cv_header_db3_db_h=no \ ac_cv_header_db4_db_h=no \ ac_cv_header_db5_db_h=no \ ac_cv_header_db6_db_h=no \ ac_cv_prog_COMPILE_ET=${WRKSRC}/lib/com_err/compile_et CONFIGURE_ARGS= --with-berkeley-db \ --with-libintl \ --with-libintl-include="${LOCALBASE}/include" \ --with-libintl-lib="${LOCALBASE}/lib" \ --libdir="${GSSAPILIBDIR}" \ --includedir="${GSSAPIINCDIR}" \ --with-kcm \ --with-openssl \ --with-openssl-include="${OPENSSLINC}" \ --with-openssl-lib="${OPENSSLLIB}" \ --enable-otp \ --enable-pthread-support \ --with-readline="${LOCALBASE}" \ --with-hdbdir="/var/${PORTNAME}" \ --sysconfdir="${PREFIX}/etc" # XXX --with-readline picks up libreadline even if found in /usr/lib. MAKE_ENV= INSTALL_CATPAGES=no INSTALL_TARGET= install-strip .if !exists(/etc/rc.d/ipropd_master) USE_RC_SUBR= ipropd_master ipropd_slave .endif INFO= heimdal hx509 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= IPV6 BDB LMDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB OPTIONS_DEFAULT=IPV6 BDB PKINIT DIGEST KX509 OPTIONS_SUB= yes IPV6_CONFIGURE_WITH= ipv6 BDB_DESC= Enable BerkeleyDB KDC backend support BDB_USES= bdb:5 localbase BDB_CONFIGURE_ENV= ac_cv_header_db${BDB_VER}_db_h=yes \ ac_cv_func_db_create=yes \ ac_cv_funclib_db_create="-l${BDB_LIB_NAME}" BDB_CONFIGURE_ON= --disable-ndbm-db BDB_CONFIGURE_ENV_OFF= ac_cv_header_db_h=yes \ ac_cv_func_db_create=no \ ac_cv_funclib_db_create=no BDB_CONFIGURE_OFF= --enable-ndbm-db LMDB_DESC= Enable LMDB KDC backend support LMDB_CONFIGURE_ENABLE= mdb_db LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb SQLITE_DESC= Enable SQLite KDC backend support SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite3-include="${LOCALBASE}/include" \ --with-sqlite3-lib="${LOCALBASE}/lib" SQLITE_CONFIGURE_WITH= sqlite3 LDAP_DESC= Enable OpenLDAP KDC backend support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-openldap-include="${LOCALBASE}/include" \ --with-openldap-lib="${LOCALBASE}/lib" LDAP_CONFIGURE_WITH= openldap PKINIT_DESC= Enable PK-INIT support PKINIT_CONFIGURE_ENABLE=pk-init DIGEST_DESC= Enable DIGEST support DIGEST_CONFIGURE_ENABLE=digest KX509_DESC= Enable kx509 support KX509_CONFIGURE_ENABLE= kx509 CRACKLIB_DESC= Use CrackLib for password quality checking CRACKLIB_LIB_DEPENDS= libcrack.so:security/cracklib .include post-extract: @${MKDIR} ${WRKSRC}/kpasswdd-cracklib ${INSTALL_DATA} ${FILESDIR}/kpasswdd-cracklib.c \ ${WRKSRC}/kpasswdd-cracklib ${INSTALL_DATA} ${FILESDIR}/kpasswdd-Makefile \ ${WRKSRC}/kpasswdd-cracklib/Makefile post-build-CRACKLIB-on: cd ${WRKSRC}/kpasswdd-cracklib && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${BUILD_TARGET} post-install-CRACKLIB-on: cd ${WRKSRC}/kpasswdd-cracklib && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET} .include diff --git a/security/highwayhash/Makefile b/security/highwayhash/Makefile index 98eaa0bdeaca..26a118c02ac9 100644 --- a/security/highwayhash/Makefile +++ b/security/highwayhash/Makefile @@ -1,36 +1,34 @@ -# Created by: Yuri Victorovich - PORTNAME= highwayhash PORTVERSION= g20201021 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= Fast strong hash functions: SipHash/HighwayHash LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= assembly is implemented only for specific architectures in highwayhash/tsc_timer.h USES= compiler:c++11-lang gmake USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= bdd572de8cfa3a1fbef6ba32307c2629db7c4773 USE_LDCONFIG= yes .include .if ${ARCH:Mpowerpc*} CXXFLAGS+= -mpower8-vector MAKE_ENV+= HH_POWER=1 .elif ${ARCH} == aarch64 || ${ARCH:Marmv*} MAKE_ENV+= HH_ARM=1 .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhighwayhash.so .include diff --git a/security/hitch/Makefile b/security/hitch/Makefile index 1d6af1bd5567..445224243eba 100644 --- a/security/hitch/Makefile +++ b/security/hitch/Makefile @@ -1,39 +1,37 @@ -# Created by: Ryan Steinmetz - PORTNAME= hitch PORTVERSION= 1.7.2 CATEGORIES= security MASTER_SITES= http://hitch-tls.org/source/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= TLS proxy to forward connections to an unencrypted backend LICENSE= BSD2CLAUSE BUILD_DEPENDS= rst2man:textproc/py-docutils LIB_DEPENDS= libev.so:devel/libev USERS= hitch GROUPS= hitch USES= pkgconfig ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/run CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB}" \ SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB}" USE_RC_SUBR= ${PORTNAME} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lcrypto -lssl CACHE_DIR?= /var/cache/hitch PLIST_SUB= CACHE_DIR=${CACHE_DIR} SUB_LIST+= CACHE_DIR="${CACHE_DIR}" SUB_FILES= ${PORTNAME}.conf.sample OPTIONS_DEFINE= DOCS post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${CACHE_DIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/ .include diff --git a/security/hockeypuck/Makefile b/security/hockeypuck/Makefile index 3ad80b6f3af6..25fb767cf86a 100644 --- a/security/hockeypuck/Makefile +++ b/security/hockeypuck/Makefile @@ -1,50 +1,48 @@ -# Created by: Michiel van Baak diff --git a/security/honggfuzz/Makefile b/security/honggfuzz/Makefile index d542c047aa1d..180137863ce3 100644 --- a/security/honggfuzz/Makefile +++ b/security/honggfuzz/Makefile @@ -1,33 +1,31 @@ -# Created by: Sofian Brabez - PORTNAME= honggfuzz PORTVERSION= 0.7 CATEGORIES= security MAINTAINER= sbz@FreeBSD.org COMMENT= General-purpose fuzzer with simple, command-line interface LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 gmake USE_GITHUB= yes GH_ACCOUNT= google GC_TAGNAME= 6d01e82 OPTIONS_DEFINE= EXAMPLES # inplace replacement to remove relative binary path in examples scripts post-patch: @${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh @${REINPLACE_CMD} -i "" -e 's,gcc,${CC},' \ -e 's| -Werror||' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/security/hydra/Makefile b/security/hydra/Makefile index b7589e6ae8ec..e87765c73ed3 100644 --- a/security/hydra/Makefile +++ b/security/hydra/Makefile @@ -1,65 +1,63 @@ -# Created by: Laurent LEVIER - PORTNAME= hydra DISTVERSIONPREFIX=v DISTVERSION= 9.2 PORTREVISION= 1 CATEGORIES= security MAINTAINER= rm@FreeBSD.org COMMENT= Brute force attack utility working on multiple network services LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libidn.so:dns/libidn \ libpcre.so:devel/pcre \ libsasl2.so:security/cyrus-sasl2 USES= gmake localbase ssl USE_GITHUB= yes GH_ACCOUNT= vanhauser-thc GH_PROJECT= thc-hydra GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl=${OPENSSLINC} \ --with-ssl-lib=${OPENSSLLIB} PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh bin/hydra-wizard.sh \ man/man1/hydra.1.gz man/man1/pw-inspector.1.gz OPTIONS_DEFINE= FIREBIRD SSH SUBVERSION X11 OPTIONS_DEFAULT=SSH OPTIONS_EXCLUDE=NLS DOCS FIREBIRD_USES= firebird SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion SSH_LIB_DEPENDS= libssh.so.4:security/libssh X11_USES= gettext gnome pkgconfig X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 X11_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango X11_PLIST_FILES= bin/xhydra man/man1/xhydra.1.gz .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= detected LibreSSL (missing RSA_get0_key and others) .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|CC=gcc||; s|-O3|${CFLAGS}|;' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.unix do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hydra ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/hydra-wizard.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/hydra.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/i2p/Makefile b/security/i2p/Makefile index 50d02046eda5..aec6c6ff428a 100644 --- a/security/i2p/Makefile +++ b/security/i2p/Makefile @@ -1,59 +1,57 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= i2p DISTVERSION= 0.9.48 CATEGORIES= security java net-p2p MASTER_SITES= http://download.i2p2.de/releases/${PORTVERSION}/ DISTNAME= i2psource_${PORTVERSION} MAINTAINER= m.muenz@gmail.com COMMENT= Anonymizing network LICENSE= EULA LICENSE_NAME= End User License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_DISTFILES= i2psource_${PORTVERSION}${EXTRACT_SUFX} ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= i2p libwrapper.so library binary only available for i386 and amd64 BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a:math/gmp LIB_DEPENDS= libiconv.so:converters/libiconv USES= cpe gettext tar:bz2 CPE_VENDOR= geti2p WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} USE_RC_SUBR= i2p USE_ANT= yes USE_JAVA= yes NO_ARCH= yes JAVA_BUILD= jdk USE_LOCALE= en_US.UTF-8 ALL_TARGET= updater tarball SUB_FILES= wrapper.sh PORTDATA= * PLIST_FILES= sbin/i2prouter post-patch: # postinstall.sh SHOULD only do post installation house keeping @${REINPLACE_CMD} -E \ -e 's|./i2prouter[[:space:]]+start||' \ ${WRKSRC}/installer/resources/postinstall.sh @${REINPLACE_CMD} -E \ -e 's|%INSTALL_PATH|$${HOME}/i2p|' \ -e 's|%USER_HOME|$${HOME}|' \ ${WRKSRC}/installer/resources/i2prouter \ ${WRKSRC}/installer/resources/runplain.sh do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/i2p.tar.bz2 ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/i2pupdate.zip ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/sbin/i2prouter .include diff --git a/security/iaikpkcs11wrapper/Makefile b/security/iaikpkcs11wrapper/Makefile index 180ec1b82004..8f82c356a93f 100644 --- a/security/iaikpkcs11wrapper/Makefile +++ b/security/iaikpkcs11wrapper/Makefile @@ -1,58 +1,56 @@ -# Created by: Alex Dupre - PORTNAME= iaikPkcs11Wrapper PORTVERSION= 1.2.18 CATEGORIES= security java devel MASTER_SITES= LOCAL/ale DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g} MAINTAINER= ale@FreeBSD.org COMMENT= PKCS\#11 Java wrapper BROKEN_aarch64= fails to link: /tmp/pkcs11wrapper-01d033.o is incompatible with /usr/lib/crti.o OPTIONS_DEFINE= DOCS EXAMPLES USES= dos2unix gmake zip USE_JAVA= yes DOS2UNIX_GLOB= Makefile *.c DOS2UNIX_WRKSRC= ${WRKDIR}/src/native JAVA_OS= native ALL_TARGET= release PLIST_FILES= lib/libpkcs11wrapper.so ${JAVAJARDIR}/iaikPkcs11Wrapper.jar PORTDOCS= * PORTEXAMPLES= * .include .if ${ARCH:M*64*} WRKSRC= ${WRKDIR}/src/native/unix/linux-x86_64 .else WRKSRC= ${WRKDIR}/src/native/unix/linux-x86 .endif do-install: @${ECHO_MSG} -n ">> Installing JNI library in ${PREFIX}/lib..." @${INSTALL_PROGRAM} ${WRKSRC}/release/libpkcs11wrapper.so ${STAGEDIR}${PREFIX}/lib/ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/iaikPkcs11Wrapper.jar..." @${INSTALL_DATA} ${WRKDIR}/bin/iaikPkcs11Wrapper.jar ${STAGEDIR}${JAVAJARDIR}/ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKDIR}/docs && ${FIND} * | \ ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1 @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR}..." .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKDIR}/examples && ${FIND} * | \ ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} > /dev/null 2>&1 @${ECHO_MSG} " [ DONE ]" .endif .include diff --git a/security/idea/Makefile b/security/idea/Makefile index 5cfc7d5d2a7a..97711cb6e21d 100644 --- a/security/idea/Makefile +++ b/security/idea/Makefile @@ -1,34 +1,32 @@ -# Created by: Emanuel Haupt - PORTNAME= idea PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.de-moliner.ch/richard/downloads/ \ LOCAL/ehaupt DISTNAME= ${PORTNAME}.V${PORTVERSION} EXTRACT_SUFX= .tar.Z MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line IDEA encryption and decryption utility CONFLICTS_INSTALL= intellij intellij-ultimate # bin/idea WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS do-build: ${CC} ${WRKSRC}/idea.c ${WRKSRC}/idea_cmd.c ${CFLAGS} \ -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${STAGEDIR}${PREFIX}/man/manl ${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Examples ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/byte_ord.ps ${WRKSRC}/idea_cmd.txt \ ${STAGEDIR}${DOCSDIR} .include diff --git a/security/identify/Makefile b/security/identify/Makefile index c80f792c20d6..dbb44388b659 100644 --- a/security/identify/Makefile +++ b/security/identify/Makefile @@ -1,28 +1,26 @@ -# Created by: nsayer@quack.kfu.com - PORTNAME= identify PORTVERSION= 0.7 CATEGORIES= security MASTER_SITES= http://ftp.nluug.nl/ftp/pub/pub/security/coast/daemons/pidentd/tools/ \ http://www.scn.rain.com/pub/security/authent/ MAINTAINER= ports@FreeBSD.org COMMENT= Client side ident protocol daemon wrapper LICENSE= PD BUILD_DEPENDS= ${LOCALBASE}/lib/libident.a:security/libident PORTDOCS= README PLIST_FILES= libexec/identify OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/identify ${STAGEDIR}${PREFIX}/libexec do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/ipfmeta/Makefile b/security/ipfmeta/Makefile index cf7e44ab55b5..9804a74905d9 100644 --- a/security/ipfmeta/Makefile +++ b/security/ipfmeta/Makefile @@ -1,28 +1,26 @@ -# Created by: Ying-Chieh Liao - PORTNAME= ipfmeta PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://cschubert.com/distfiles/ \ LOCAL/cy MAINTAINER= cy@FreeBSD.org COMMENT= Use objects in IPfilter files USES= perl5 shebangfix POD2MAN?= pod2man SHEBANG_FILES= ipfmeta do-build: @${POD2MAN} ${WRKSRC}/ipfmeta > ${WRKSRC}/${PORTNAME}.1 do-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/ipfmeta ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/ipf.* ${STAGEDIR}${DATADIR} .include diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile index 47108fe38ae9..d3c1fe99a3a3 100644 --- a/security/ipguard/Makefile +++ b/security/ipguard/Makefile @@ -1,30 +1,28 @@ -# Created by: SeaD - PORTNAME= ipguard PORTVERSION= 1.04 PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/ MAINTAINER= sead@deep.perm.ru COMMENT= Tool designed to protect LAN IP address space by ARP spoofing LICENSE= BSD2CLAUSE BROKEN_FreeBSD_13= ld: error: duplicate symbol: addr_nosubst BROKEN_FreeBSD_14= ld: error: duplicate symbol: addr_nosubst LIB_DEPENDS= libnet.so:net/libnet USE_RC_SUBR= ${PORTNAME} PORTDOCS= COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.txt PLIST_FILES= sbin/ipguard \ man/man8/${PORTNAME}.8.gz OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile index edeca2c3439e..424b68d774f4 100644 --- a/security/ipsec-tools/Makefile +++ b/security/ipsec-tools/Makefile @@ -1,109 +1,107 @@ -# Created by: vanhu - # TODO: - libipsec issue ? # - cleanup... # - SYSCONFDIR # - $LOCALBASE/sbin/setkey Vs /usr/sbin/setkey PORTNAME= ipsec-tools PORTVERSION= 0.8.2 PORTREVISION= 12 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= KAME racoon IKE daemon, ipsec-tools version LICENSE= BSD3CLAUSE USES= cpe libtool tar:bzip2 ssl CONFLICTS= racoon INSTALL_TARGET= install-strip USE_RC_SUBR= racoon GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-shared --sysconfdir=${PREFIX}/etc/racoon \ --localstatedir=${STATEDIR:S/\/racoon//} STATEDIR= /var/db/racoon SUB_LIST+= STATEDIR=${STATEDIR} REQUIREMOD=${REQUIREMOD} PLIST_SUB+= STATEDIR=${STATEDIR} OPTIONS_DEFINE= IPV6 ADMINPORT STATS DPD NATT FRAG HYBRID PAM \ RADIUS LDAP GSSAPI SAUNSPEC RC5 IDEA DOCS EXAMPLES WCPSKEY OPTIONS_DEFAULT= ADMINPORT DPD NATT FRAG HYBRID WCPSKEY ADMINPORT_DESC= Enable Admin port STATS_DESC= Statistics logging function DPD_DESC= Dead Peer Detection NATT_DESC= NAT-Traversal FRAG_DESC= IKE fragmentation payload support HYBRID_DESC= Hybrid, Xauth and Mode-cfg support SAUNSPEC_DESC= Unspecified SA mode RC5_DESC= RC5 encryption (patented) IDEA_DESC= IDEA encryption (patented) PAM_DESC= PAM authentication (Xauth server) RADIUS_DESC= Radius authentication (Xauth server) LDAP_DESC= LDAP authentication (Xauth server) WCPSKEY_DESC= Allow wildcard matching for pre-shared keys PORTDOCS= * PORTEXAMPLES= * IPV6_CONFIGURE_ENABLE= ipv6 ADMINPORT_CONFIGURE_ENABLE=adminport STATS_CONFIGURE_ENABLE= stats DPD_CONFIGURE_ENABLE= dpd NATT_CONFIGURE_ON= --enable-natt=yes --enable-natt-versions=rfc NATT_CONFIGURE_OFF= --disable-natt FRAG_CONFIGURE_ENABLE= frag HYBRID_CONFIGURE_ENABLE=hybrid PAM_CONFIGURE_WITH= libpam GSSAPI_USES= iconv GSSAPI_CFLAGS= -I${LOCALBASE}/include GSSAPI_LDFLAGS= -L${LOCALBASE}/lib GSSAPI_CONFIGURE_ENABLE=gssapi RADIUS_CONFIGURE_WITH= libradius LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-libldap=${LOCALBASE} LDAP_CONFIGURE_OFF= --without-libldap SAUNSPEC_CONFIGURE_ENABLE= samode-unspec RC5_CONFIGURE_ENABLE= rc5 IDEA_CONFIGURE_ENABLE= idea NATT_EXTRA_PATCHES= ${FILESDIR}/natt.diff WCPSKEY_EXTRA_PATCHES= ${FILESDIR}/wildcard-psk.diff ${FILESDIR}/wildcard-psk-oakley.c.diff .include .if ${OPSYS} == FreeBSD REQUIREMOD?= ipsec .endif post-patch: @${REINPLACE_CMD} -e "s/-Werror//g ; s/-R$$libdir/-Wl,-rpath=$$libdir/g" ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/etc/racoon @if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \ ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \ ${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \ fi ; post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} @${RM} ${WRKSRC}/src/racoon/samples/*.in @${CP} -r ${WRKSRC}/src/racoon/samples/* ${STAGEDIR}/${EXAMPLESDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR} .if ${OPSYS} == FreeBSD . if ${SSL_DEFAULT} != openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ipsec-tools PLIST_FILES+= include/racoon/openssl_compat.h . endif .endif .include diff --git a/security/isnprober/Makefile b/security/isnprober/Makefile index 978c9d37c977..dab96e98ebd2 100644 --- a/security/isnprober/Makefile +++ b/security/isnprober/Makefile @@ -1,30 +1,28 @@ -# Created by: Yonatan - PORTNAME= isnprober PORTVERSION= 1.02 CATEGORIES= security MASTER_SITES= ftp://ftp.ubizen.com/tools/ \ PACKETSTORM/UNIX/scanners MAINTAINER= onatan@gmail.com COMMENT= PenTest tool for TCP Initial Sequence Numbers research RUN_DEPENDS= p5-Net-RawIP>=0:net/p5-Net-RawIP PLIST_FILES= bin/${PORTNAME} PORTDOCS= README USES= perl5 shebangfix tar:tgz USE_PERL5= run NO_BUILD= yes SHEBANG_FILES= isnprober OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/john/Makefile b/security/john/Makefile index 3db81fb3ea75..0325b460701e 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -1,90 +1,88 @@ -# Created by: David O'Brien - PORTNAME= john # NB: starting from the next version, community-enhanced (jumbo) patch # should be offered as an option (suggested by Solar Designer himself). DISTVERSION= 1.9.0-jumbo-1 CATEGORIES= security MASTER_SITES= http://www.openwall.com/john/j/ \ http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \ http://distro.ibiblio.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ PATCH_STRIP= -p2 MAINTAINER= danfe@FreeBSD.org COMMENT= Featureful Unix password cracker LICENSE= GPLv2+ LIB_DEPENDS= libgmp.so:math/gmp USES= gmake shebangfix ssl tar:xz GNU_CONFIGURE= yes CONFIGURE_ENV= CFLAGS_EXTRA="-DJOHN_SYSTEMWIDE=1" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" SHEBANG_FILES= ../run/*.pl ../run/*.rb ../run/benchmark-unify ../run/relbench WRKSRC_SUBDIR= src ALL_TARGET= default BINARIES= SIPdump bitlocker2john calc_stat cprepair dmg2john \ eapmd5tojohn genmkvpwd hccap2john john keepass2john \ mkvcalcproba putty2john racf2john raw2dyna tgtsnarf \ uaf2john vncpcap2john wpapcap2john BINLINKS= base64conv gpg2john rar2john unafs undrop unique \ unshadow zip2john PORTDOCS= * OPTIONS_DEFINE= DOCS OPENCL OPENMP OPTIONS_DEFAULT= OPENMP OPTIONS_SUB= yes OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_OFF= --disable-opencl OPENCL_USES= perl5 OPENCL_USE= PERL5=build OPENMP_CONFIGURE_OFF= --disable-openmp post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/params.h @${REINPLACE_CMD} -e '/^host_cpu=/s|$$| ; case $$host_cpu in\ amd64) host_cpu=x86_64 ;; esac|' ${WRKSRC}/configure do-install: .for b in ${BINARIES} ${INSTALL_PROGRAM} ${WRKSRC}/../run/${b} ${STAGEDIR}${PREFIX}/bin .endfor .for l in ${BINLINKS} ${LN} -sf john ${STAGEDIR}${PREFIX}/bin/${l} .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/extra cd ${WRKSRC}/../run && ${INSTALL_DATA} *.chr *.conf *.lst \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/../run && ${INSTALL_DATA} *.?? *.lua benchmark-unify \ dictionary.rfc2865 fuzz.dic john.*sh_completion mailer \ makechr oui.txt relbench stats ${STAGEDIR}${DATADIR}/extra ${CP} -a ${WRKSRC}/../run/rules ${STAGEDIR}${DATADIR} cd ${WRKSRC}/../run && ${CP} -a dns lib ztex \ ${STAGEDIR}${DATADIR}/extra @${RM} ${STAGEDIR}${DATADIR}/extra/dns/README.txt do-install-OPENCL-on: ${CP} -a ${WRKSRC}/../run/kernels ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${WRKSRC}/../doc/extras/* ${WRKSRC}/../*.md ${WRKSRC}/../doc @${RMDIR} ${WRKSRC}/../doc/extras @${RM} ${WRKSRC}/../doc/COPYING ${WRKSRC}/../doc/README ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} .include .if defined(PACKAGE_BUILDING) || defined(BATCH) . if ${ARCH} == amd64 || ${ARCH} == i386 CONFIGURE_ARGS+= --enable-simd=sse2 . endif .endif diff --git a/security/kc24/Makefile b/security/kc24/Makefile index d02b84dbe7bd..28e2ef7e5eca 100644 --- a/security/kc24/Makefile +++ b/security/kc24/Makefile @@ -1,46 +1,44 @@ -# Created by: LEVAI Daniel - PORTNAME= kc PORTVERSION= 2.4.2 PORTREVISION= 3 CATEGORIES= security PKGNAMESUFFIX= 24 MAINTAINER= leva@ecentrum.hu COMMENT= Console based password storing application LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libxml2.so:textproc/libxml2 CONFLICTS= kc OPTIONS_DEFINE= PCRE SCRYPT OPTIONS_DEFAULT= PCRE SCRYPT LIBEDIT OPTIONS_RADIO= CLI OPTIONS_RADIO_CLI= LIBEDIT READLINE SCRYPT_DESC= Scrypt KDF support (needs libscrypt) PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MAKE_ENV+= HAVE_PCRE=yes SCRYPT_LIB_DEPENDS= libscrypt.so:security/libscrypt SCRYPT_MAKE_ENV+= HAVE_LIBSCRYPT=1 LIBEDIT_USES= libedit LIBEDIT_MAKE_ENV+= EDITLINE=y READLINE_USES= readline READLINE_MAKE_ENV+= READLINE=y USES+= pkgconfig ncurses ssl uidfix USE_GITHUB= yes GH_ACCOUNT= levaidaniel PLIST_FILES= bin/kc man/man1/kc.1.gz MAKE_ENV+= BUNDLED_BCRYPT=y post-patch: @${REINPLACE_CMD} -e 's|-lncursesw|${NCURSESLIBS}|' ${WRKSRC}/Makefile .include diff --git a/security/kdbxviewer/Makefile b/security/kdbxviewer/Makefile index b6c319dfff13..eaa700656279 100644 --- a/security/kdbxviewer/Makefile +++ b/security/kdbxviewer/Makefile @@ -1,33 +1,31 @@ -# Created by: Ben Woods - PORTNAME= kdbxviewer PORTVERSION= 0.1.10 DISTVERSIONPREFIX=v CATEGORIES= security MAINTAINER= fuz@fuz.su COMMENT= Ncurses UI and command-line tool for KeePass2 Database files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libgcrypt.so:security/libgcrypt \ libstfl.so:devel/stfl USES= ncurses USE_GITHUB= yes GH_ACCOUNT= pepa65 ALL_TARGET= kdbxviewer CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/kdbxviewer post-patch: ${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS} ${LDFLAGS}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/kdbxviewer ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/security/keepass-plugin-keepassrpc/Makefile b/security/keepass-plugin-keepassrpc/Makefile index fd7ed66d78d0..6bae6bb9fe90 100644 --- a/security/keepass-plugin-keepassrpc/Makefile +++ b/security/keepass-plugin-keepassrpc/Makefile @@ -1,40 +1,38 @@ -# Created by: Ben Woods - PORTNAME= keepassrpc PORTVERSION= 1.8.0 DISTVERSIONPREFIX=v CATEGORIES= security PKGNAMEPREFIX= keepass-plugin- MAINTAINER= ports@FreeBSD.org COMMENT= KeePass plugin which facilitates the Kee Firefox plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= keepass>0:security/keepass LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus USES= cpe mono CPE_VENDOR= kee USE_GITHUB= yes GH_ACCOUNT= kee-org NO_ARCH= yes DATADIR= ${PREFIX}/share/keepass/Plugins OPTIONS_DEFINE= DEBUG DEBUG_VARS= config=Debug DEBUG_VARS_OFF= config=Release do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:KeePassRPC /p:Configuration=${CONFIG}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/KeePassRPC/bin/${CONFIG} && \ ${RM} ./KeePass.exe && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/security/keepass/Makefile b/security/keepass/Makefile index fd35bc73d08c..c57ac47099b9 100644 --- a/security/keepass/Makefile +++ b/security/keepass/Makefile @@ -1,70 +1,68 @@ -# Created by: Ben Woods - PORTNAME= keepass PORTVERSION= 2.51.1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/KeePass%202.x/${PORTVERSION} DISTNAME= KeePass-${PORTVERSION}-Source MAINTAINER= m.muenz@gmail.com COMMENT= Light-weight and easy-to-use password manager LICENSE= GPLv2+ BUILD_DEPENDS= icotool:graphics/icoutils LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgdiplus.so:x11-toolkits/libgdiplus USES= cpe dos2unix gnome mono zip DOS2UNIX_GLOB= *.csproj *.sln MAKE_ENV= MONO_REGISTRY_PATH=${WRKDIR} DESKTOP_ENTRIES= "KeePass" \ "${COMMENT}" \ "${PORTNAME}" \ "keepass.sh" \ "Utility;" \ true EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} NO_ARCH= yes SUB_FILES= ${PORTNAME}.sh OPTIONS_DEFINE= DEBUG XDOTOOL XSEL OPTIONS_DEFAULT= XDOTOOL XSEL XDOTOOL_DESC= Use the xdotool utility for auto-typing passwords XSEL_DESC= Use the xsel utility for clipboard copying DEBUG_VARS= config=Debug DEBUG_VARS_OFF= config=Release XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XSEL_RUN_DEPENDS= xsel:x11/xsel-conrad post-patch: ${REINPLACE_CMD} -e 's|sed\ -i|sed\ -i\ \"\"|g' ${WRKSRC}/Build/PrepMonoDev.sh do-build: # Extract icons (cd ${WRKSRC} && ${LOCALBASE}/bin/icotool -x KeePass/KeePass.ico) # Prepare build (cd ${WRKSRC}/Build && ${SH} PrepMonoDev.sh) # Do build (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:KeePass /p:Configuration=${CONFIG}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/Build/KeePass/${CONFIG}/KeePass.exe ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/Ext/KeePass.config.xml ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/Ext/KeePass.exe.config ${STAGEDIR}${DATADIR} @(cd ${WRKSRC}/Ext && ${COPYTREE_SHARE} XSL ${STAGEDIR}${DATADIR}) .for size in 16 32 48 256 @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/${size}x${size}/apps ${INSTALL_DATA} ${WRKSRC}/KeePass_*_${size}x${size}x32.png \ ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/${size}x${size}/apps/keepass.png .endfor .include diff --git a/security/keychain/Makefile b/security/keychain/Makefile index 04e1739f6bf8..b3e7e2066b5b 100644 --- a/security/keychain/Makefile +++ b/security/keychain/Makefile @@ -1,41 +1,39 @@ -# Created by: Johann Visagie - PORTNAME= keychain PORTVERSION= 2.8.5 CATEGORIES= security MAINTAINER= garga@FreeBSD.org COMMENT= User-friendly front-end to ssh-agent(1) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt USE_GITHUB= yes GH_ACCOUNT= funtoo CONFLICTS_INSTALL= py*-pycoin # bin/keychain OPTIONS_DEFINE= DOCS NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} \ man/man1/keychain.1.gz PORTDOCS= ChangeLog README.md .if !exists(${LOCALBASE}/bin/ssh-agent) && !exists(/usr/bin/ssh-agent) RUN_DEPENDS+= ssh-agent:security/openssh-portable .endif post-patch: @${REINPLACE_CMD} -e '1 s,^.*,#!/bin/sh,' \ ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/keychain.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/keynote/Makefile b/security/keynote/Makefile index 13334dcab71e..a5064c4051dc 100644 --- a/security/keynote/Makefile +++ b/security/keynote/Makefile @@ -1,50 +1,48 @@ -# Created by: Stefan Esser - PORTNAME= keynote PORTVERSION= 2.3 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www1.cs.columbia.edu/~angelos/Code/ MAINTAINER= ports@FreeBSD.org COMMENT= Trust-Management System LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE # gmake required to support parallel (-jX) builds USES= gmake ssl GNU_CONFIGURE= yes CONFIGURE_ENV= SSLEAY="${OPENSSLBASE}/bin" OPENSSLLIB="${OPENSSLLIB}" \ OPENSSLINC="${OPENSSLINC}" PLIST_FILES= bin/keynote include/keynote.h lib/libkeynote.a \ man/man1/keynote.1.gz man/man3/keynote.3.gz \ man/man5/keynote.5.gz PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_12= incomplete definition of type 'struct evp_pkey_st' BROKEN_FreeBSD_13= incomplete definition of type 'struct evp_pkey_st' BROKEN_FreeBSD_14= incomplete definition of type 'struct evp_pkey_st' .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/keynote ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/keynote.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libkeynote.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/man/keynote.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/keynote.3 ${STAGEDIR}${MANPREFIX}/man/man3 ${INSTALL_MAN} ${WRKSRC}/man/keynote.4 \ ${STAGEDIR}${MANPREFIX}/man/man5/keynote.5 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/HOWTO.add.crypto ${WRKSRC}/TODO \ ${WRKSRC}/doc/rfc*.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/security/keyprint/Makefile b/security/keyprint/Makefile index 0b0a59ea52d8..c9ef6f3a73af 100644 --- a/security/keyprint/Makefile +++ b/security/keyprint/Makefile @@ -1,34 +1,32 @@ -# Created by: mharo@FreeBSD.org - PORTNAME= keyprint PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= LOCAL/mharo MAINTAINER= ports@FreeBSD.org COMMENT= Print S/Key keys on a piece of paper, twice the size of a credit card USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= keyprint NO_BUILD= yes NO_ARCH= yes PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,__PREFIX__,${PREFIX},' ${WRKSRC}/keyprint do-install: ${INSTALL_SCRIPT} ${WRKSRC}/keyprint ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/keyblank.ps ${STAGEDIR}${DATADIR} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/knock/Makefile b/security/knock/Makefile index bc528e4591fa..5c72855ba9b1 100644 --- a/security/knock/Makefile +++ b/security/knock/Makefile @@ -1,67 +1,65 @@ -# Created by: Shaun Amott - PORTNAME= knock PORTVERSION= 0.5 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://www.zeroflux.org/proj/knock/files/ \ LOCAL/sbz MAINTAINER= sbz@FreeBSD.org COMMENT= Flexible port-knocking server and client LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= doorman GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include OPTIONS_MULTI= MT1 OPTIONS_MULTI_MT1= CLIENT SERVER OPTIONS_DEFAULT= CLIENT SERVER CLIENT_DESC= Install knock client SERVER_DESC= Install knockd server .include .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR= knockd PLIST_FILES+= bin/knockd \ etc/knockd.conf.sample \ man/man1/knockd.1.gz .endif .if ${PORT_OPTIONS:MCLIENT} PLIST_FILES+= bin/knock \ man/man1/knock.1.gz .endif post-patch: @${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \ -e "s#eth0#fxp0#g" \ ${WRKSRC}/src/knockd.c @${REINPLACE_CMD} -e "s/#VERSION#/${PORTVERSION}/g" \ -e "s#eth0#fxp0#g" \ ${WRKSRC}/doc/knock.1.in \ ${WRKSRC}/doc/knockd.1.in \ ${WRKSRC}/src/knockd.c \ ${WRKSRC}/src/knock.c do-install: .if ${PORT_OPTIONS:MSERVER} ${INSTALL_PROGRAM} ${WRKSRC}/knockd ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/knockd.conf ${STAGEDIR}${PREFIX}/etc/knockd.conf.sample ${INSTALL_MAN} ${WRKSRC}/doc/knockd.1.in ${STAGEDIR}${MAN1PREFIX}/man/man1/knockd.1 .endif .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${WRKSRC}/knock ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/knock.1.in ${STAGEDIR}${MAN1PREFIX}/man/man1/knock.1 .endif .include diff --git a/security/knocker/Makefile b/security/knocker/Makefile index 270331192ea3..f396435d310d 100644 --- a/security/knocker/Makefile +++ b/security/knocker/Makefile @@ -1,21 +1,19 @@ -# Created by: Patrick Li - PORTNAME= knocker PORTVERSION= 0.8.0 CATEGORIES= security net MASTER_SITES= SF MAINTAINER= sbz@FreeBSD.org COMMENT= Simple and easy to use TCP only port scanner (Console version) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf GNU_CONFIGURE= yes PLIST_FILES= bin/knocker \ man/man1/knocker.1.gz .include diff --git a/security/krb5-118/Makefile b/security/krb5-118/Makefile index 0fecef0f0fbb..d5b21eb93be9 100644 --- a/security/krb5-118/Makefile +++ b/security/krb5-118/Makefile @@ -1,150 +1,148 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= krb5 PORTVERSION= 1.18.5 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ .if !defined(MASTERDIR) PKGNAMESUFFIX= -118 .endif DEPECATED= Desupported by MIT following 1.20 EXPIRY= 2023-05-26 PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service LICENSE= MIT CONFLICTS= heimdal krb5 krb5-* CONFLICTS_BUILD= boringssl KERBEROSV_URL= http://web.mit.edu/kerberos/ USES= compiler:c++11-lang cpe gmake gettext-runtime \ gssapi:bootstrap,mit libtool:build localbase \ perl5 pkgconfig ssl USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" \ --runstatedir="${PREFIX}/var/run" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= EXAMPLES NLS KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP LMDB OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE OPTIONS_RADIO= CMD_LINE_EDITING OPTIONS_RADIO_CMD_LINE_EDITING= READLINE LIBEDIT CMD_LINE_EDITING_DESC= Command line editing for kadmin and ktutil KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm LDAP= Enable LDAP support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap LMDB_DESC= OpenLDAP Lightning Memory-Mapped Database support LMDB_CONFIGURE_WITH= lmdb LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_IMPLIES= LDAP NLS_USES= gettext READLINE_USES= readline READLINE_CONFIGURE_WITH=readline LIBEDIT_USES= libedit LIBEDIT_CONFIGURE_WITH= libedit .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} USE_RC_SUBR= kpropd OPTIONS_SUB= yes WRKSRC_SUBDIR= src PORTEXAMPLES= kdc.conf krb5.conf services.append .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf .include post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_DATA} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_DATA} $${i} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} post-install-LDAP-on: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \ ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \ ${STAGEDIR}${DATADIR} .include diff --git a/security/krb5-119/Makefile b/security/krb5-119/Makefile index f22bd7279ff6..d68689000520 100644 --- a/security/krb5-119/Makefile +++ b/security/krb5-119/Makefile @@ -1,147 +1,145 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= krb5 PORTVERSION= 1.19.3 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ .if !defined(MASTERDIR) PKGNAMESUFFIX= -119 .endif PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service LICENSE= MIT CONFLICTS= heimdal krb5 krb5-* CONFLICTS_BUILD= boringssl KERBEROSV_URL= http://web.mit.edu/kerberos/ USES= compiler:c++11-lang cpe gmake gettext-runtime \ gssapi:bootstrap,mit libtool:build localbase \ perl5 pkgconfig ssl USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" \ --runstatedir="${PREFIX}/var/run" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= EXAMPLES NLS KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP LMDB OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE OPTIONS_RADIO= CMD_LINE_EDITING OPTIONS_RADIO_CMD_LINE_EDITING= READLINE LIBEDIT CMD_LINE_EDITING_DESC= Command line editing for kadmin and ktutil KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm LDAP= Enable LDAP support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap LMDB_DESC= OpenLDAP Lightning Memory-Mapped Database support LMDB_CONFIGURE_WITH= lmdb LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_IMPLIES= LDAP NLS_USES= gettext READLINE_USES= readline READLINE_CONFIGURE_WITH=readline LIBEDIT_USES= libedit LIBEDIT_CONFIGURE_WITH= libedit .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} USE_RC_SUBR= kpropd OPTIONS_SUB= yes WRKSRC_SUBDIR= src PORTEXAMPLES= kdc.conf krb5.conf services.append .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf .include post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_DATA} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_DATA} $${i} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} post-install-LDAP-on: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \ ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \ ${STAGEDIR}${DATADIR} .include diff --git a/security/krb5-120/Makefile b/security/krb5-120/Makefile index aa6dd9327db5..6d9f6449f675 100644 --- a/security/krb5-120/Makefile +++ b/security/krb5-120/Makefile @@ -1,149 +1,147 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= krb5 PORTVERSION= 1.20 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ .if !defined(MASTERDIR) PKGNAMESUFFIX= -120 .endif PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service LICENSE= MIT CONFLICTS= heimdal krb5 krb5-* CONFLICTS_BUILD= boringssl IGNORE_SSL= libressl libressl-devel KERBEROSV_URL= http://web.mit.edu/kerberos/ USES= compiler:c++11-lang cpe gmake gettext-runtime \ gssapi:bootstrap,mit libtool:build localbase \ perl5 pkgconfig ssl USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" \ --runstatedir="${PREFIX}/var/run" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= EXAMPLES NLS KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP LMDB OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE OPTIONS_RADIO= CMD_LINE_EDITING OPTIONS_RADIO_CMD_LINE_EDITING= READLINE LIBEDIT CMD_LINE_EDITING_DESC= Command line editing for kadmin and ktutil KRB5_PDF_DESC= Install krb5 PDF documentation KRB5_HTML_DESC= Install krb5 HTML documentation DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm LDAP= Enable LDAP support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap LMDB_DESC= OpenLDAP Lightning Memory-Mapped Database support LMDB_CONFIGURE_WITH= lmdb LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_IMPLIES= LDAP NLS_USES= gettext READLINE_USES= readline READLINE_CONFIGURE_WITH=readline LIBEDIT_USES= libedit LIBEDIT_CONFIGURE_WITH= libedit .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} USE_RC_SUBR= kpropd OPTIONS_SUB= yes WRKSRC_SUBDIR= src PORTEXAMPLES= kdc.conf krb5.conf services.append .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf .include post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc # html documentation .if ${PORT_OPTIONS:MKRB5_PDF} pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d` pdf_dirs=`${FIND} ${PDF_DOC_DIR} -type d` for i in $${pdf_dirs}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${pdf_files}; do \ ${INSTALL_DATA} $${pdf} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_HTML} html_files=`${FIND} ${HTML_DOC_DIR} ! -type d | ${GREP} -v /_sources` html_dirs=`${FIND} ${HTML_DOC_DIR} -type d | ${GREP} -v /_sources` for i in $${html_dirs}; do \ ${MKDIR} ${PREFIX}/share/doc/krb5/$${i}; \ done; \ for i in $${html_files}; do \ ${INSTALL_DATA} $${i} ${PREFIX}/share/doc/krb5/$${i}; \ ${ECHO_CMD} share/doc/krb5/$${i} >> ${TMPPLIST}; \ done .endif .if ${PORT_OPTIONS:MKRB5_PDF} for i in $${pdf_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MKRB5_HTML} for i in $${html_dirs}; do \ ${ECHO_CMD} @dir share/doc/krb5/$${i} >> ${TMPPLIST}; \ done | ${TAIL} -r >> ${TMPPLIST} .endif ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} post-install-LDAP-on: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \ ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \ ${STAGEDIR}${DATADIR} .include diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile index 69c525fe26c9..fcc7df857b70 100644 --- a/security/krb5-appl/Makefile +++ b/security/krb5-appl/Makefile @@ -1,123 +1,121 @@ -# Created by: cy@FreeBSD.org - PORTNAME= krb5-appl PORTVERSION= 1.0.3 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-signed EXTRACT_SUFX= .tar PATCH_SITES= http://web.mit.edu/kerberos/advisories/ MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication clients BUILD_DEPENDS= krb5-config:security/krb5 CONFLICTS= krb4 krb5-1.[0-7].* heimdal srp \ bsdftpd-ssl KERBEROSV_URL= http://web.mit.edu/kerberos/ USES= autoreconf gmake ncurses perl5 gssapi:mit ssl GNU_CONFIGURE= yes USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu89 CONFIGURE_ARGS?= --with-krb5=${KRB5_HOME} CONFIGURE_ENV= INSTALL="${INSTALL}" YACC=/usr/bin/yacc MAKE_ARGS= INSTALL="${INSTALL}" PATCH_DIST_STRIP= -p1 OPTIONS_DEFINE= KRB5_RENAME_FTP KRB5_RENAME_TELNET KRB5_RENAME_RLOGIN KRB5_RENAME_RSH KRB5_RENAME_RCP OPTIONS_DEFAULT= KRB5_PORT KRB5_RENAME_FTP KRB5_RENAME_TELNET \ KRB5_RENAME_RLOGIN KRB5_RENAME_RSH KRB5_RENAME_RCP KRB5_RENAME_FTP_DESC= Rename ftp to kftp KRB5_RENAME_TELNET_DESC= Rename telnet to ktelnet KRB5_RENAME_RLOGIN_DESC= Rename rlogin to krlogin KRB5_RENAME_RSH_DESC= Rename rsh to krsh KRB5_RENAME_RCP_DESC= Rename rcp to krcp KRB5_PORT_DESC= Depend on security/krb5 .include KRB5_PORT_LIB_DEPENDS= libkrb5support.so:security/krb5 KRB5_PORT_RUN_DEPENDS= kinit:security/krb5 KRB5_DOC_BUILD_DEPENDS+= texi2dvi:print/texinfo \ dvips:print/dvipsk-tetex KRB5_DOC_INFO= krb5-admin krb5-install krb5-user CFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib .if ${PORT_OPTIONS:MKRB5_RENAME_FTP} PROGRAM_TRANSFORM_NAME+= s/^ftp/kftp/; PLIST_SUB+= FTP_PROG="kftp" .else PLIST_SUB+= FTP_PROG="ftp" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_TELNET} PROGRAM_TRANSFORM_NAME+= s/^telnet/ktelnet/; PLIST_SUB+= TELNET_PROG="ktelnet" .else PLIST_SUB+= TELNET_PROG="telnet" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RLOGIN} PLIST_SUB+= RLOGIN_PROG="krlogin" PROGRAM_TRANSFORM_NAME+= s/^rlogin/krlogin/; .else PLIST_SUB+= RLOGIN_PROG="rlogin" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RSH} PLIST_SUB+= RSH_PROG="krsh" PROGRAM_TRANSFORM_NAME+= s/^rsh/krsh/; .else PLIST_SUB+= RSH_PROG="rsh" .endif .if ${PORT_OPTIONS:MKRB5_RENAME_RCP} PROGRAM_TRANSFORM_NAME+= s/^rcp/krcp/; PLIST_SUB+= RCP_PROG="krcp" .else PLIST_SUB+= RCP_PROG="rcp" .endif .if ! ( ${PORT_OPTIONS:MKRB5_RENAME_RLOGIN} && \ ${PORT_OPTIONS:MKRB5_RENAME_RSH} && \ ${PORT_OPTIONS:MKRB5_RENAME_RCP} ) CONFLICTS+= bsdrcmds-* .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \ kpasswd.html krb5-admin.html \ krb5-install.html krb5-user.html ksu.html \ rcp.html rlogin.html rsh.html telnet.html CONFIGURE_ARGS+= CPPFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz --no-same-owner --no-same-permissions @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc post-install: @${ECHO} "------------------------------------------------------" @${ECHO} "This port of MIT Kerberos 5 includes remote login " @${ECHO} "daemons (telnetd and klogind). These daemons default " @${ECHO} "to using the system login program (/usr/bin/login). " @${ECHO} "Please see the file " @${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD" @${ECHO} "for more information. " @${ECHO} "------------------------------------------------------" .include diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile index d125177148fe..21d6873154a3 100644 --- a/security/krb5-devel/Makefile +++ b/security/krb5-devel/Makefile @@ -1,110 +1,108 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= krb5 PORTVERSION= 1.20.${MIT_COMMIT_DATE} CATEGORIES= security .if !defined(MASTERDIR) PKGNAMESUFFIX= -devel .endif HASH= 7f7298aa2 MIT_COMMIT_DATE= 2022.07.13 PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 MAINTAINER= cy@FreeBSD.org COMMENT= MIT implementation of RFC 4120 network authentication service LICENSE= MIT USE_GITHUB= yes GH_TAGNAME= ${HASH} CONFLICTS= heimdal krb5 krb5-* KERBEROSV_URL= http://web.mit.edu/kerberos/ USE_PERL5= build USE_LDCONFIG= yes USE_CSTD= gnu99 GNU_CONFIGURE= yes USES= autoreconf compiler:c11 cpe gmake localbase perl5 \ libtool:build gssapi:bootstrap,mit pkgconfig ssl CONFIGURE_ARGS?= --enable-shared --without-system-verto \ --disable-rpath --localstatedir="${PREFIX}/var" CONFIGURE_ENV= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" YACC="${YACC}" MAKE_ARGS= INSTALL="${INSTALL}" INSTALL_LIB="${INSTALL_LIB}" CPE_VENDOR= mit CPE_VERSION= 5-${PORTVERSION} CPE_PRODUCT= kerberos OPTIONS_DEFINE= EXAMPLES NLS DNS_FOR_REALM LDAP LMDB OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE OPTIONS_RADIO= CMD_LINE_EDITING OPTIONS_RADIO_CMD_LINE_EDITING= READLINE LIBEDIT CMD_LINE_EDITING_DESC= Command line editing for kadmin and ktutil DNS_FOR_REALM_DESC= Enable DNS lookups for Kerberos realm names DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm LDAP= Enable LDAP support LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap LMDB_DESC= OpenLDAP Lightning Memory-Mapped Database support LMDB_CONFIGURE_WITH= lmdb LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_IMPLIES= LDAP NLS_USES= gettext READLINE_USES= readline READLINE_CONFIGURE_WITH=readline LIBEDIT_USES= libedit LIBEDIT_CONFIGURE_WITH= libedit .if defined(KRB5_HOME) PREFIX= ${KRB5_HOME} .endif CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} USE_RC_SUBR= kpropd OPTIONS_SUB= yes WRKSRC_SUBDIR= src PORTEXAMPLES= kdc.conf krb5.conf services.append .include # Fix up -Wl,-rpath in LDFLAGS .if !empty(KRB5_HOME) _RPATH= ${KRB5_HOME}/lib: .else _RPATH= ${LOCALBASE}/lib: .endif .if !empty(LDFLAGS:M-Wl,-rpath,*) .for F in ${LDFLAGS:M-Wl,-rpath,*} LDFLAGS:= -Wl,-rpath,${_RPATH}${F:S/-Wl,-rpath,//} \ ${LDFLAGS:N-Wl,-rpath,*} .endfor .endif .if defined(KRB5_HOME) && ${KRB5_HOME} != ${LOCALBASE} BROKEN= LIB_DEPENDS when using KRB5_HOME is broken .endif .if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != "" CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}" .endif .include post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5 ${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST} @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc post-install-LDAP-on: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \ ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \ ${STAGEDIR}${DATADIR} .include diff --git a/security/kstart/Makefile b/security/kstart/Makefile index 3163da201330..60977ee97139 100644 --- a/security/kstart/Makefile +++ b/security/kstart/Makefile @@ -1,25 +1,23 @@ -# Created by: Ryan Steinmetz - PORTNAME= kstart DISTVERSION= 4.3 CATEGORIES= security MASTER_SITES= http://archives.eyrie.org/software/kerberos/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Automated Kerberos ticket cache and keytab management utilities USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes PLIST_FILES= bin/k5start bin/krenew \ man/man1/k5start.1.gz man/man1/krenew.1.gz do-install: @${GZIP_CMD} ${WRKSRC}/docs/k5start.1 @${GZIP_CMD} ${WRKSRC}/docs/krenew.1 ${INSTALL_MAN} ${WRKSRC}/docs/k5start.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/krenew.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/commands/k5start ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/commands/krenew ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/ktls_isa-l_crypto-kmod/Makefile b/security/ktls_isa-l_crypto-kmod/Makefile index dfd76df4a1ec..dcd21a803007 100644 --- a/security/ktls_isa-l_crypto-kmod/Makefile +++ b/security/ktls_isa-l_crypto-kmod/Makefile @@ -1,44 +1,42 @@ -# Created by: Michal Bielicki - PORTNAME= isa-l_crypto PORTVERSION= 2.21.0 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= security PKGNAMEPREFIX= ktls_ PKGNAMESUFFIX= -kmod MAINTAINER= gallatin@FreeBSD.org COMMENT= KTLS module using Intel(R) ISA-L crypto LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= yasm:devel/yasm USES= kmod uidfix USE_GITHUB= yes GH_ACCOUNT= 01org MAKE_ENV+= ISASRC=${WRKSRC} PLIST_FILES= ${KMODDIR}/ktls_intel-isa-l.ko .include .if !exists(${SRC_BASE}/sys/sys/ktls.h) IGNORE= requires KTLS support .endif .if ${OSVERSION} >= 1400016 IGNORE= is only supported on FreeBSD 13 .endif post-extract: ${CP} ${FILESDIR}/* ${WRKSRC}/ ${ECHO} "#include " > ${WRKSRC}/include/stdint.h .include diff --git a/security/l0pht-watch/Makefile b/security/l0pht-watch/Makefile index fa08a2b56fcf..3f18bb60249f 100644 --- a/security/l0pht-watch/Makefile +++ b/security/l0pht-watch/Makefile @@ -1,21 +1,19 @@ -# Created by: Dom Mitchell - PORTNAME= l0pht-watch PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= LOCAL/vs DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Program to report on what goes on in /tmp PLIST_FILES= bin/temp-watch WRKSRC= ${WRKDIR}/temp-watch ALL_TARGET= OpenBSD do-install: ${INSTALL_PROGRAM} ${WRKSRC}/temp-watch ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/lasso/Makefile b/security/lasso/Makefile index 0dfafc0140ee..174b223e4bc8 100644 --- a/security/lasso/Makefile +++ b/security/lasso/Makefile @@ -1,43 +1,41 @@ -# Created by: Gea-Suan Lin - PORTNAME= lasso PORTVERSION= 2.8.0 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://dev.entrouvert.org/releases/lasso/ MAINTAINER= bofh@FreeBSD.org COMMENT= Free Liberty Alliance Implementation LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libltdl.so:devel/libltdl \ libxmlsec1-openssl.so:security/xmlsec1 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe gnome libtool pkgconfig python ssl CPE_VENDOR= entrouvert USE_GNOME= glib20 libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-java \ --disable-php5 \ --with-zlib INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS PERL PYTHON OPTIONS_SUB= yes PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perl PYTHON_CONFIGURE_ENABLE= python post-patch: @${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \ ${CONFIGURE_WRKSRC}/configure .include diff --git a/security/lastpass-cli/Makefile b/security/lastpass-cli/Makefile index df06fafc8b0d..52b2ab57408a 100644 --- a/security/lastpass-cli/Makefile +++ b/security/lastpass-cli/Makefile @@ -1,55 +1,53 @@ -# Created by: Thomas Hurst - PORTNAME= lastpass-cli PORTVERSION= 1.3.3 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= tom@hur.st COMMENT= LastPass command line interface tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl USES= cmake:noninja gnome pkgconfig ssl USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= lastpass TEST_TARGET= lpass-test test PLIST_FILES= bin/lpass OPTIONS_DEFINE= BASH MANPAGES PINENTRY XCLIP XSEL OPTIONS_DEFAULT= BASH MANPAGES PINENTRY_DESC= Use pinentry for password entry XCLIP_DESC= Use xclip for interacting with X11 clipboard XSEL_DESC= Use xsel for interacting with X11 clipboard BASH_BUILD_DEPENDS= bash-completion>=0:shells/bash-completion BASH_RUN_DEPENDS= bash-completion>=0:shells/bash-completion BASH_PLIST_FILES= share/bash-completion/completions/lpass MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ xmlto:textproc/xmlto MANPAGES_ALL_TARGET= all doc-man MANPAGES_INSTALL_TARGET=install install-doc MANPAGES_PLIST_FILES= ${MANPREFIX}/share/man/man1/lpass.1.gz PINENTRY_RUN_DEPENDS= pinentry:security/pinentry XCLIP_RUN_DEPENDS= xclip:x11/xclip XSEL_RUN_DEPENDS= xsel:x11/xsel-conrad post-extract: @${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's/build\/lpass-test/lpass-test/' \ ${WRKSRC}/test/include.sh post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass .include diff --git a/security/libargon2/Makefile b/security/libargon2/Makefile index 3574e71e4719..1337c6a74e70 100644 --- a/security/libargon2/Makefile +++ b/security/libargon2/Makefile @@ -1,35 +1,33 @@ -# Created by: Christopher Hall - PORTNAME= libargon2 PORTVERSION= 20190702 CATEGORIES= security devel MAINTAINER= hsw@bitmark.com COMMENT= Memory hard password hashing program and library LICENSE= CC0-1.0 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= P-H-C GH_PROJECT= phc-winner-argon2 MAKE_JOBS_UNSAFE= yes LIBARGON2= libargon2.so.0 MAKE_ARGS+= SO_LDFLAGS="-shared -Wl,-soname=${LIBARGON2}" \ OPTTARGET="generic" \ ARGON2_VERSION="${PORTVERSION}" do-install: ${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libargon2.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/libargon2.so ${STAGEDIR}${PREFIX}/lib/libargon2.so.0 ${RLN} ${STAGEDIR}${PREFIX}/lib/${LIBARGON2} ${STAGEDIR}${PREFIX}/lib/libargon2.so ${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/argon2.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/libargon2.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libargon2.pc .include diff --git a/security/libassuan/Makefile b/security/libassuan/Makefile index 62e979e58a9c..49ab35838bbc 100644 --- a/security/libassuan/Makefile +++ b/security/libassuan/Makefile @@ -1,25 +1,23 @@ -# Created by: Michael Nottebrock - PORTNAME= libassuan PORTVERSION= 2.5.5 CATEGORIES= security devel MASTER_SITES= GNUPG MAINTAINER= jhale@FreeBSD.org COMMENT= IPC library used by GnuPG and gpgme LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libgpg-error.so:security/libgpg-error USES= libtool tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check INFO= assuan .include diff --git a/security/libcryptui/Makefile b/security/libcryptui/Makefile index 18077e8cf87f..d7d5d1cd6c26 100644 --- a/security/libcryptui/Makefile +++ b/security/libcryptui/Makefile @@ -1,46 +1,44 @@ -# Created by: Dave McKay - PORTNAME= libcryptui PORTVERSION= 3.12.2 PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME application for managing encryption keys (PGP, SSH) BUILD_DEPENDS= seahorse>=3.0.0:security/seahorse \ gpg:security/gnupg LIB_DEPENDS= libgpgme.so:security/gpgme \ libdbus-glib-1.so:devel/dbus-glib \ libgnome-keyring.so:security/libgnome-keyring RUN_DEPENDS= seahorse>=3.0.0:security/seahorse \ gpg:security/gnupg USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz xorg USE_GNOME= intlhack gnomeprefix gtk30 introspection:build USE_XORG= sm ice USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.seahorse.recipients.gschema.xml OPTIONS_DEFINE= NOTIFY .include .if ${PORT_OPTIONS:MNOTIFY} LIB_DEPENDS+= libnotify.so:devel/libnotify .else CONFIGURE_ARGS+=--disable-libnotify .endif post-patch: @${REINPLACE_CMD} -e 's|"1.2 1.4 2.0"|"1.2 1.4 2.0 2.1 2.2 2.3"|g' \ ${WRKSRC}/configure .include diff --git a/security/libecc/Makefile b/security/libecc/Makefile index d18860a584e4..ee1baea60346 100644 --- a/security/libecc/Makefile +++ b/security/libecc/Makefile @@ -1,25 +1,23 @@ -# Created by: ijliao - PORTNAME= libecc PORTVERSION= 0.14.0 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF MAINTAINER= hrs@FreeBSD.org COMMENT= C++ Elliptic Curve Library LICENSE= GPLv2+ LIB_DEPENDS= libgmp.so:math/gmp USES= libtool localbase GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} 's@endian\.h@sys/&@' \ ${WRKSRC}/include/libecc/bitset.h .include diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile index 582bad02305c..46726d871f97 100644 --- a/security/libfido2/Makefile +++ b/security/libfido2/Makefile @@ -1,32 +1,30 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= libfido2 PORTVERSION= 1.11.0 CATEGORIES= security MASTER_SITES= https://developers.yubico.com/libfido2/Releases/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides library functionality for FIDO 2.0 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcbor.so:devel/libcbor USES= cmake compiler:c11 pkgconfig ssl CMAKE_OFF= FUZZ LIBFUZZER NFC_LINUX USE_HIDAPI USE_WINHELLO CMAKE_ON= BUILD_EXAMPLES BUILD_MANPAGES BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TOOLS PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS .include # we do not ship libcrypto.pc in base system .if ${SSL_DEFAULT} == base EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl .endif .include diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile index c7b5ee71c677..9781e9eaef7c 100644 --- a/security/libfprint/Makefile +++ b/security/libfprint/Makefile @@ -1,28 +1,26 @@ -# Created by: barner - PORTNAME= libfprint PORTVERSION= 0.7.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://people.freedesktop.org/~anarsoul/ MAINTAINER= lichray@gmail.com COMMENT= Library for fingerprint reader devices LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnss3.so:security/nss \ libnspr4.so:devel/nspr GNU_CONFIGURE= yes USES= gnome libtool magick:6 pathfix pkgconfig tar:xz xorg USE_LDCONFIG= yes USE_GNOME= glib20 USE_XORG= pixman INSTALL_TARGET= install-strip CPPFLAGS+= -DHAVE_MEMMEM MAKE_JOBS_UNSAFE=yes .include diff --git a/security/libgnome-keyring/Makefile b/security/libgnome-keyring/Makefile index 56a9c1740bec..5e7053a6ec50 100644 --- a/security/libgnome-keyring/Makefile +++ b/security/libgnome-keyring/Makefile @@ -1,30 +1,29 @@ -# Created by: Michael Johnson # $MCom: ports/trunk/security/libgnome-keyring/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= libgnome-keyring PORTVERSION= 3.12.0 PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Program that keeps passwords and other secrets LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgcrypt.so:security/libgcrypt USE_GNOME= glib20 gnomeprefix intlhack \ introspection:build USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-vala INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/doc/gnome-keyring OPTIONS_DEFINE= DOCS .include diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index 1905c08eab5a..ab2bba2f9788 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -1,42 +1,40 @@ -# Created by: Sergei Kolobov - PORTNAME= libgpg-error PORTVERSION= 1.45 CATEGORIES= security devel MASTER_SITES= GNUPG MAINTAINER= novel@FreeBSD.org COMMENT= Common error values for all GnuPG components LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= cpe libtool tar:bzip2 CPE_VENDOR= gnupg USE_LDCONFIG= yes GNU_CONFIGURE= yes CPP+= -P CONFIGURE_ARGS= --enable-static=yes INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog NEWS README INFO= gpgrt OPTIONS_DEFINE= DOCS NLS TEST OPTIONS_SUB= yes NLS_CONFIGURE_OFF= --disable-nls NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE} NLS_USES= gettext iconv TEST_CONFIGURE_ENABLE= tests TEST_TARGET= check post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libgsasl/Makefile b/security/libgsasl/Makefile index f027442c6e4e..86389519f6e0 100644 --- a/security/libgsasl/Makefile +++ b/security/libgsasl/Makefile @@ -1,48 +1,46 @@ -# Created by: ijliao - PORTNAME= gsasl PORTVERSION= 2.0.1 CATEGORIES= security MASTER_SITES= GNU PKGNAMEPREFIX= lib MAINTAINER= sunpoet@FreeBSD.org COMMENT= GNU SASL library LICENSE= LGPL21 LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libidn.so:dns/libidn \ libntlm.so:security/libntlm USES= charsetfix libtool pathfix pkgconfig ssl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_DEFAULT=GSSAPI_BASE OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_SUB= yes GSSAPI_BASE_CONFIGURE_ON= --with-gssapi-impl=heimdal ${GSSAPI_CONFIGURE_ARGS} GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_CONFIGURE_WITH= --with-gssapi-impl=heimdal ${GSSAPI_CONFIGURE_ARGS} GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_CONFIGURE_ON=--with-gssapi-impl=mit ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CONFIGURE_ON= --disable-gssapi NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-install: @${INSTALL_DATA} ${WRKSRC}/lib/gl/.libs/liblgl.a ${STAGEDIR}${PREFIX}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/reference ${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* ${STAGEDIR}${DOCSDIR}/reference .include diff --git a/security/libident/Makefile b/security/libident/Makefile index 5e1c7c6aa89d..e5855943ba5c 100644 --- a/security/libident/Makefile +++ b/security/libident/Makefile @@ -1,23 +1,21 @@ -# Created by: torstenb@FreeBSD.org - PORTNAME= libident PORTVERSION= 0.32 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://www.remlab.net/files/libident/ MAINTAINER= ports@FreeBSD.org COMMENT= Small library to interface the ident protocol server (rfc1413) USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libkpass/Makefile b/security/libkpass/Makefile index fe62089801f0..c5cf67fa91d3 100644 --- a/security/libkpass/Makefile +++ b/security/libkpass/Makefile @@ -1,33 +1,31 @@ -# Created by: Veniamin Gvozdikov - PORTNAME= libkpass PORTVERSION= 6 PORTREVISION= 2 CATEGORIES= security MAINTAINER= ports@FreeBSD.org COMMENT= Library for a reading/writing KeePass 1.x DB LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnettle.so:security/nettle USE_GITHUB= yes GH_ACCOUNT= bldewolf GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= alias gettext gmake libtool USE_LDCONFIG= yes CPPFLAGS+= -Dbswap_32=bswap32 -Dbswap_16=bswap16 \ -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lintl PLIST_FILES= include/kpass.h \ lib/libkpass.a \ lib/libkpass.so \ lib/libkpass.so.1 \ lib/libkpass.so.1.0.0 .include diff --git a/security/libksba/Makefile b/security/libksba/Makefile index 9401b1a7a635..fbab2afb861e 100644 --- a/security/libksba/Makefile +++ b/security/libksba/Makefile @@ -1,31 +1,29 @@ -# Created by: Tilman Linneweh - PORTNAME= libksba PORTVERSION= 1.6.0 CATEGORIES= security MASTER_SITES= GNUPG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library to make X.509 certificates LICENSE= GPLv2 GPLv3 LGPL3 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPLv3 LIB_DEPENDS= libgpg-error.so:security/libgpg-error USES= cpe libtool perl5 tar:bzip2 USE_PERL5= build CONFIGURE_ARGS= --enable-static INSTALL_TARGET= install-strip GNU_CONFIGURE= yes USE_LDCONFIG= yes INFO= ksba CPE_VENDOR= libksba_project .include diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile index f63209dfcf42..2f567f05457c 100644 --- a/security/libmcrypt/Makefile +++ b/security/libmcrypt/Makefile @@ -1,22 +1,20 @@ -# Created by: nsayer@FreeBSD.org - PORTNAME= libmcrypt PORTVERSION= 2.5.8 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/mcrypt/Libmcrypt/${PORTVERSION} MAINTAINER= john@essenz.com COMMENT= Multi-cipher cryptographic library (used in PHP) LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB USES= libtool USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-static GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/security/libnitrokey/Makefile b/security/libnitrokey/Makefile index 65ddd11a24ba..5162690f6a2c 100644 --- a/security/libnitrokey/Makefile +++ b/security/libnitrokey/Makefile @@ -1,28 +1,26 @@ -# Created by: Thibault Payet - PORTNAME= libnitrokey DISTVERSIONPREFIX= v DISTVERSION= 3.7 CATEGORIES= security MASTER_SITES= https://github.com/Nitrokey/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ MAINTAINER= monwarez@mailoo.org COMMENT= Libnitrokey is a project to communicate with Nitrokey devices LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhidapi.so:comms/hidapi \ libudev.so:devel/libudev-devd USES= cmake compiler:c++14-lang pkgconfig USE_LDCONFIG= yes TEST_TARGET= test OPTIONS_DEFINE= TEST TEST_BUILD_DEPENDS= ${LOCALBASE}/include/catch2/catch.hpp:devel/catch TEST_CMAKE_BOOL= COMPILE_OFFLINE_TESTS .include diff --git a/security/libntlm/Makefile b/security/libntlm/Makefile index 91ec76e6760e..8e6c794f613b 100644 --- a/security/libntlm/Makefile +++ b/security/libntlm/Makefile @@ -1,20 +1,18 @@ -# Created by: ijliao - PORTNAME= libntlm PORTVERSION= 1.6 CATEGORIES= security MASTER_SITES= https://www.nongnu.org/libntlm/releases/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library that implement Microsoft's NTLM authentication LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes CPE_VENDOR= nongnu .include diff --git a/security/libp11/Makefile b/security/libp11/Makefile index eea336e6e8f9..4bb948c34380 100644 --- a/security/libp11/Makefile +++ b/security/libp11/Makefile @@ -1,46 +1,44 @@ -# Created by: Alex Dupre - PORTNAME= libp11 PORTVERSION= 0.4.12 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= security devel MAINTAINER= ale@FreeBSD.org COMMENT= Small layer on top of PKCS\#11 API LICENSE= LGPL21 LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf cpe libtool pkgconfig ssl CPE_VENDOR= opensc_project CPE_PRODUCT= opensc OPTIONS_DEFINE= DOCS EXAMPLES USE_GITHUB= yes GH_ACCOUNT= OpenSC GNU_CONFIGURE= yes USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \ LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines INSTALL_TARGET= install-strip PORTDOCS= * post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/libressl-devel/Makefile b/security/libressl-devel/Makefile index a3e7b3f12013..a11108de9dd2 100644 --- a/security/libressl-devel/Makefile +++ b/security/libressl-devel/Makefile @@ -1,65 +1,63 @@ -# Created by: Bernard Spil - PORTNAME= libressl PORTVERSION= 3.5.3 CATEGORIES= security devel MASTER_SITES= OPENBSD/LibreSSL PKGNAMESUFFIX= -devel MAINTAINER= brnrd@FreeBSD.org COMMENT= Free version of the SSL/TLS protocol forked from OpenSSL LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= default libtls FLAVOR?= ${FLAVORS:[1]} libtls_DESCR= pkg-descr-libtls libtls_PKGNAMESUFFIX= -devel-libtls libtls_PLIST= pkg-plist-libtls CPE_VENDOR= openbsd OPTIONS_DEFINE= LIBTLS MAN3 NC OPTIONS_DEFAULT= MAN3 NC LIBTLS_DESC= Only install libtls (no libcrypto/libssl) MAN3_DESC= Install API manpages (section 3) NC_DESC= Install TLS-enabled netcat CONFLICTS_INSTALL= libressl \ libretls default_CONFLICTS_INSTALL= openssl .if ${FLAVOR:U} == default OPTIONS_EXCLUDE= LIBTLS .elif ${FLAVOR:U} == libtls OPTIONS_SLAVE= LIBTLS OPTIONS_EXCLUDE= MAN3 .endif LIBTLS_CONFIGURE_ENABLE= libtls-only NC_CONFIGURE_ENABLE= nc GNU_CONFIGURE= yes USES= cpe libtool pathfix pkgconfig USE_LDCONFIG= yes OPTIONS_SUB= yes CFLAGS+= -fpic -DPIC -Wl,-rpath,${PREFIX}/lib -Wl,--as-needed LDFLAGS+= -pthread INSTALL_TARGET= install-strip TEST_TARGET= check post-patch-MAN3-off: ${REINPLACE_CMD} -e '/^install-man:/s/install-man3//' \ -e '/$$(MAKE) $$(AM_MAKEFLAGS) install-data-hook/d' \ ${WRKSRC}/man/Makefile.in post-install: ${RM} -r ${STAGEDIR}/${PREFIX}/etc/ssl/cert.pem post-stage-MAN3-on: (cd ${STAGEDIR}${MANPREFIX}; ${FIND} man/man3 -not -type d | \ ${SED} 's/$$/.gz/' >> ${TMPPLIST}) .include diff --git a/security/libressl/Makefile b/security/libressl/Makefile index e7bd2e094a36..da6a381fcf68 100644 --- a/security/libressl/Makefile +++ b/security/libressl/Makefile @@ -1,65 +1,63 @@ -# Created by: Vsevolod Stakhov - PORTNAME= libressl PORTVERSION= 3.4.3 CATEGORIES= security devel MASTER_SITES= OPENBSD/LibreSSL MAINTAINER= brnrd@FreeBSD.org COMMENT= Free version of the SSL/TLS protocol forked from OpenSSL LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING FLAVORS= default libtls FLAVOR?= ${FLAVORS:[1]} libtls_DESCR= pkg-descr-libtls libtls_PKGNAMESUFFIX= -libtls libtls_PLIST= pkg-plist-libtls CPE_VENDOR= openbsd OPTIONS_DEFINE= LIBTLS MAN3 NC OPTIONS_DEFAULT= MAN3 NC LIBTLS_DESC= Only install libtls (no libcrypto/libssl) MAN3_DESC= Install API manpages (section 3) NC_DESC= Install TLS-enabled netcat CONFLICTS_INSTALL= libressl-devel libtls_CONFLICTS_INSTALL= libretls default_CONFLICTS_INSTALL= openssl \ openssl-devel .if ${FLAVOR:U} == default OPTIONS_EXCLUDE= LIBTLS .elif ${FLAVOR:U} == libtls OPTIONS_SLAVE= LIBTLS OPTIONS_EXCLUDE= MAN3 .endif LIBTLS_CONFIGURE_ENABLE= libtls-only NC_CONFIGURE_ENABLE= nc GNU_CONFIGURE= yes USES= cpe libtool pathfix pkgconfig USE_LDCONFIG= yes OPTIONS_SUB= yes CFLAGS+= -fpic -DPIC -Wl,-rpath,${PREFIX}/lib -Wl,--as-needed LDFLAGS+= -pthread INSTALL_TARGET= install-strip TEST_TARGET= check post-patch-MAN3-off: ${REINPLACE_CMD} -e '/^install-man:/s/install-man3//' \ -e '/$$(MAKE) $$(AM_MAKEFLAGS) install-data-hook/d' \ ${WRKSRC}/man/Makefile.in post-install: ${RM} -r ${STAGEDIR}/${PREFIX}/etc/ssl/cert.pem post-stage-MAN3-on: (cd ${STAGEDIR}${MANPREFIX}; ${FIND} man/man3 -not -type d | \ ${SED} 's/$$/.gz/' >> ${TMPPLIST}) .include diff --git a/security/libscep/Makefile b/security/libscep/Makefile index 93b7c37872d7..bc9c41b897d4 100644 --- a/security/libscep/Makefile +++ b/security/libscep/Makefile @@ -1,41 +1,39 @@ -# Created by: Sergei Vyshenski - PORTNAME= libscep DISTVERSIONPREFIX= v DISTVERSION= 0.09 CATEGORIES= security MAINTAINER= svysh.fbsd@gmail.com COMMENT= Client side SCEP library w/o clients LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/README.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ check>=0.12.0:devel/check \ curl>=7.64:ftp/curl \ uriparser>=0.9.1:net/uriparser RUN_DEPENDS= check>=0.12.0:devel/check \ curl>=7.64:ftp/curl \ uriparser>=0.9.1:net/uriparser USES= cmake:noninja gmake libtool pkgconfig python:build,3.6+ ssl USE_GITHUB= yes GH_ACCOUNT= openxpki USE_LDCONFIG= yes CMAKE_ARGS+= -DCHECK_INSTALL_DIR=${PREFIX} CMAKE_OFF= BUILD_CLI PLIST_FILES= include/scep.h \ lib/libscep.so \ man/man1/libscep.1.gz post-build: (cd ${WRKSRC}/docs;\ BUILDDIR=${BUILD_WRKSRC} SPHINXBUILD=sphinx-build-${PYTHON_VER} ${GMAKE} -e man) post-install: ${INSTALL_MAN} ${BUILD_WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/libscrypt/Makefile b/security/libscrypt/Makefile index e605e65183af..28c204b71fa9 100644 --- a/security/libscrypt/Makefile +++ b/security/libscrypt/Makefile @@ -1,45 +1,43 @@ -# Created by: Horia Racoviceanu - PORTNAME= libscrypt PORTVERSION= 1.22 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= dbaio@FreeBSD.org COMMENT= C library for the scrypt key derivation function LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= technion MAKE_ARGS= CC="${CC}" LIBDIR="${PREFIX}"/lib TEST_TARGET= check CFLAGS+= -fPIC PLIST_FILES= include/libscrypt.h \ lib/libscrypt.so \ lib/libscrypt.so.0 PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|?=-|+=-|; s|-O2 ||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-fstack-protector ||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|strcpy(mcf2, mcf);|strlcpy(mcf2, mcf, SCRYPT_MCF_LEN);|' \ ${WRKSRC}/main.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile index 601e850715b4..03cc5ff881ae 100644 --- a/security/libsecret/Makefile +++ b/security/libsecret/Makefile @@ -1,23 +1,21 @@ -# Created by: Koop Mast - PORTNAME= libsecret PORTVERSION= 0.20.5 PORTREVISION= 1 CATEGORIES= security gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access the secret service API LICENSE= LGPL21 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \ docbook-xsl>=0:textproc/docbook-xsl \ vala:lang/vala LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error USES= gnome meson pkgconfig python:3.8+ tar:xz USE_GNOME= glib20 intltool introspection:build libxslt:build .include diff --git a/security/libsectok/Makefile b/security/libsectok/Makefile index f2324a0fdc20..84123348b82b 100644 --- a/security/libsectok/Makefile +++ b/security/libsectok/Makefile @@ -1,39 +1,37 @@ -# Created by: Bruce M Simpson - PORTNAME= libsectok PORTVERSION= 20030619 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.citi.umich.edu/projects/smartcard/ MAINTAINER= ports@FreeBSD.org COMMENT= ISO 7816 Smartcard API Library USE_LDCONFIG= yes PLIST_FILES= include/sectok.h lib/libsectok.a lib/libsectok.so \ lib/libsectok.so.3 man/man3/sectok.3.gz post-patch: @${REINPLACE_CMD} -e \ '/^VERSION/s|3.1|3| ; \ s|^CFLAGS=|CFLAGS+=| ; \ s|-g |$${CPPFLAGS} | ; \ s|^LDFLAGS=|LDFLAGS+=| ; \ s|-x .* -shared|-shared| ; \ s|^CC=|CC?=| ; \ /^LD/s|ld|$$(CC)| ; \ s|-fpic|-fPIC|' ${WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${INSTALL_DATA} sectok.h \ ${STAGEDIR}${PREFIX}/include) (cd ${WRKSRC} && ${INSTALL_DATA} libsectok.a \ ${STAGEDIR}${PREFIX}/lib) (cd ${WRKSRC} && ${INSTALL_LIB} libsectok.so.3 \ ${STAGEDIR}${PREFIX}/lib) ${LN} -s libsectok.so.3 ${STAGEDIR}${PREFIX}/lib/libsectok.so (cd ${WRKSRC} && ${INSTALL_MAN} sectok.3 \ ${STAGEDIR}${MANPREFIX}/man/man3) .include diff --git a/security/libssh/Makefile b/security/libssh/Makefile index ee116b392d1a..15a4a9cd63c9 100644 --- a/security/libssh/Makefile +++ b/security/libssh/Makefile @@ -1,38 +1,36 @@ -# Created by: Alexander Logvinov - PORTNAME= libssh PORTVERSION= 0.9.6 CATEGORIES= security devel MASTER_SITES= https://www.libssh.org/files/${PORTVERSION:R}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library implementing the SSH2 protocol LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake cpe tar:xz CMAKE_OFF= WITH_EXAMPLES CMAKE_ON= BUILD_STATIC_LIB USE_LDCONFIG= yes OPTIONS_DEFINE= GSSAPI ZLIB OPTIONS_RADIO= CRYPTO OPTIONS_RADIO_CRYPTO= GCRYPT OPENSSL OPTIONS_DEFAULT=GSSAPI OPENSSL ZLIB GCRYPT_CMAKE_BOOL= WITH_GCRYPT GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error GSSAPI_CMAKE_BOOL= WITH_GSSAPI OPENSSL_USES= ssl ZLIB_CMAKE_BOOL= WITH_ZLIB post-patch: @${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake post-install: ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/ .include diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile index 4908b61f8462..107d14ee20a9 100644 --- a/security/libssh2/Makefile +++ b/security/libssh2/Makefile @@ -1,48 +1,46 @@ -# Created by: Alexander Leidinger - PORTNAME= libssh2 PORTVERSION= 1.10.0 PORTEPOCH= 3 CATEGORIES= security devel MASTER_SITES= https://www.libssh2.org/download/ \ LOCAL/sbz MAINTAINER= sbz@FreeBSD.org COMMENT= Library implementing the SSH2 protocol LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 cpe libtool pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= GCRYPT TRACE ZLIB OPTIONS_DEFAULT= ZLIB TRACE_DESC= Enable debug packet traces GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_USES_OFF= ssl GCRYPT_CONFIGURE_ON= --with-crypto=libgcrypt GCRYPT_CONFIGURE_OFF= --with-crypto=openssl GCRYPT_CPPFLAGS= -I${LOCALBASE}/include GCRYPT_LIBS= -L${LOCALBASE}/lib TRACE_CONFIGURE_ENABLE= debug ZLIB_CONFIGURE_WITH= libz .include post-patch: @${REINPLACE_CMD} -e '/Libs:/s/@LIBS@//' \ ${WRKSRC}/libssh2.pc.in .if ! ${PORT_OPTIONS:MGCRYPT} . if ${SSL_DEFAULT} == base @${REINPLACE_CMD} -e 's/LIBSREQUIRED="$$LIBSREQUIRED$${LIBSREQUIRED:+ }libssl libcrypto"/LIBS="$$LIBS -lssl -lcrypto"/' \ ${WRKSRC}/configure . endif .endif .include diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index 72c898ac460c..dbd11c2515c8 100644 --- a/security/libtasn1/Makefile +++ b/security/libtasn1/Makefile @@ -1,37 +1,35 @@ -# Created by: Sergei Kolobov - PORTNAME= libtasn1 PORTVERSION= 4.18.0 CATEGORIES= security MASTER_SITES= GNU \ GNUPG/gnutls/${PORTNAME} MAINTAINER= novel@FreeBSD.org COMMENT= ASN.1 structure parser library LICENSE= LGPL21+ GPLv3 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe libtool pathfix pkgconfig USE_CSTD= c99 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPE_VENDOR= gnu OPTIONS_DEFINE= DOCS TEST_TARGET= check DOCS= AUTHORS NEWS README.md THANKS doc/TODO INFO= libtasn1 DOCS_CONFIGURE_ENABLE= gtk-doc DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libtomcrypt/Makefile b/security/libtomcrypt/Makefile index 8eb2f0750157..e164bdf2064f 100644 --- a/security/libtomcrypt/Makefile +++ b/security/libtomcrypt/Makefile @@ -1,83 +1,81 @@ -# Created by: Yonatan - PORTNAME= libtomcrypt PORTVERSION= 1.18.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/libtom/${PORTNAME}/releases/download/v${PORTVERSION}/ DISTNAME= crypt-${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= Comprehensive, modular, and portable cryptographic toolkit LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe gmake libtool:build tar:xz CPE_VENDOR= libtom WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CFLAGS+= -I${LOCALBASE}/include EXTRALIBS= -L${LOCALBASE}/lib MAKEFILE= makefile.shared ALL_TARGET= library MAKE_ARGS= INCPATH="${PREFIX}/include" LIBPATH="${PREFIX}/lib" \ EXTRALIBS="${EXTRALIBS}" USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS OPTIONS_MULTI= MATH OPTIONS_MULTI_MATH= LIBTOMMATH TOMSFASTMATH GMP OPTIONS_DEFAULT= LIBTOMMATH LIBTOMMATH_DESC= Use LibTomMath TOMSFASTMATH_DESC= Use TomsFastMath LIBTOMMATH_LIB_DEPENDS= libtommath.so:math/libtommath LIBTOMMATH_CFLAGS= -DLTM_DESC LIBTOMMATH_VARS= EXTRALIBS+=-ltommath TOMSFASTMATH_BUILD_DEPENDS= ${LOCALBASE}/include/tfm.h:math/tomsfastmath TOMSFASTMATH_CFLAGS= -DTFM_DESC TOMSFASTMATH_VARS= EXTRALIBS+=-ltfm GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CFLAGS= -DGMP_DESC GMP_VARS= EXTRALIBS+=-lgmp PORTDOCS= * post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's| make | $$(MAKE) |' \ -e 's|-g $$(GROUP)||' -e 's|-o $$(USER)||' \ ${WRKSRC}/makefile.shared ${WRKSRC}/makefile_include.mk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtomcrypt.so.1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/crypt.pdf ${STAGEDIR}${DOCSDIR} do-test: # TomsFastMath @${ECHO_CMD} "Testing TomsFastMath" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_TFM -DTFM_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -ltfm" clean test (cd ${WRKSRC} && ./test) # LibTomMath @${ECHO_CMD} "Testing LibTomMath" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_LTM -DLTM_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -ltommath" clean test (cd ${WRKSRC} && ./test) # GMP @${ECHO_CMD} "Testing GMP" ${MAKE_CMD} -C ${WRKSRC} \ CFLAGS="-I${LOCALBASE}/include -DUSE_GMP -DGMP_DESC" \ EXTRALIBS="-L${LOCALBASE}/lib -lgmp" clean test (cd ${WRKSRC} && ./test) .include diff --git a/security/libwhisker/Makefile b/security/libwhisker/Makefile index dd25d2d7dfca..a1cc4804b78e 100644 --- a/security/libwhisker/Makefile +++ b/security/libwhisker/Makefile @@ -1,39 +1,37 @@ -# Created by: pandzilla - PORTNAME= libwhisker PORTVERSION= 2.5 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= SF/whisker/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}2-${PORTVERSION} MAINTAINER= se@FreeBSD.org COMMENT= Perl module to create HTTP test scripts LICENSE= BSD2CLAUSE NO_BUILD= yes USES= perl5 shebangfix SHEBANG_FILES= scripts/api_demo.pl scripts/crawl_demo.pl \ scripts/prox.pl scripts/simple_demo.pl PLIST_FILES= %%SITE_PERL%%/LW2.pm \ %%PERL5_MAN3%%/LW2.3pm.gz OPTIONS_DEFINE= DOCS PORTDOCS= * post-patch: @${REINPLACE_CMD} -i '' -e '1s|#!perl|${perl_CMD}|' ${WRKSRC}/scripts/form_demo[12].pl do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/man/man3 cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${PERL5} Makefile.pl install @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs @${MKDIR} ${STAGEDIR}${DOCSDIR}/scripts cd ${WRKSRC} && ${INSTALL_DATA} README CHANGES KNOWNBUGS ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs/ && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/docs cd ${WRKSRC}/scripts/ && ${INSTALL_SCRIPT} * ${STAGEDIR}${DOCSDIR}/scripts .include diff --git a/security/linux-c7-cyrus-sasl2/Makefile b/security/linux-c7-cyrus-sasl2/Makefile index 29176789d182..2478951fa760 100644 --- a/security/linux-c7-cyrus-sasl2/Makefile +++ b/security/linux-c7-cyrus-sasl2/Makefile @@ -1,25 +1,23 @@ -# Created by: Piotr Kubaj - PORTNAME= cyrus-sasl PORTVERSION= 2.1.26 DISTVERSIONSUFFIX= -23.el7 PORTREVISION= 4 CATEGORIES= security linux PKGNAMESUFFIX= -lib MAINTAINER= emulation@FreeBSD.org COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer) (Linux CentOS ${LINUX_DIST_VER}) USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL} CONFLICTS= linux-c6-${PORTNAME}${PKGNAMESUFFIX} DESCR= ${.CURDIR}/../${PORTNAME}2/pkg-descr DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} OPTIONS_DEFINE= DOCS .include diff --git a/security/linux-c7-gnutls/Makefile b/security/linux-c7-gnutls/Makefile index 4d7b281b442b..1736eaabe3df 100644 --- a/security/linux-c7-gnutls/Makefile +++ b/security/linux-c7-gnutls/Makefile @@ -1,23 +1,21 @@ -# Created by: Piotr Kubaj - PORTNAME= gnutls PORTVERSION= 3.3.29 DISTVERSIONSUFFIX= -9.el7_6 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= GNU Transport Layer Security library (Linux CentOS ${LINUX_DIST_VER}) USES= cpe linux:c7 CPE_VENDOR= gnu USE_LDCONFIG= yes USE_LINUX= libtasn1 nettle p11-kit trousers USE_LINUX_RPM= yes CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes .include diff --git a/security/linux-c7-libgcrypt/Makefile b/security/linux-c7-libgcrypt/Makefile index ac9f8540b7aa..689a0a8a113c 100644 --- a/security/linux-c7-libgcrypt/Makefile +++ b/security/linux-c7-libgcrypt/Makefile @@ -1,25 +1,23 @@ -# Created by: Piotr Kubaj - PORTNAME= libgcrypt PORTVERSION= 1.5.3 DISTVERSIONSUFFIX= -14.el7 PORTREVISION= 4 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= Crypto library based on code used in GnuPG (Linux CentOS ${LINUX_DIST_VER}) LICENSE= LGPL21+ USES= cpe linux:c7 CPE_VENDOR= gnupg USE_LDCONFIG= yes USE_LINUX= libgpg-error USE_LINUX_RPM= yes CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS .include diff --git a/security/linux-c7-libgpg-error/Makefile b/security/linux-c7-libgpg-error/Makefile index f8026da9724e..df10e0cf65cc 100644 --- a/security/linux-c7-libgpg-error/Makefile +++ b/security/linux-c7-libgpg-error/Makefile @@ -1,24 +1,22 @@ -# Created by: Piotr Kubaj - PORTNAME= libgpg-error PORTVERSION= 1.12 DISTVERSIONSUFFIX= -3.el7 PORTREVISION= 2 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= Common error values for all GnuPG components (Linux CentOS ${LINUX_DIST_VER}) LICENSE= LGPL21+ USES= linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes .include diff --git a/security/linux-c7-libssh2/Makefile b/security/linux-c7-libssh2/Makefile index 214beb186b87..4d2542342fee 100644 --- a/security/linux-c7-libssh2/Makefile +++ b/security/linux-c7-libssh2/Makefile @@ -1,21 +1,19 @@ -# Created by: Piotr Kubaj - PORTNAME= libssh2 PORTVERSION= 1.8.0 DISTVERSIONSUFFIX= -4.el7 PORTREVISION= 1 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= Library implementing the SSH2 protocol (Linux CentOS ${LINUX_DIST_VER}) USES= cpe linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS .include diff --git a/security/linux-c7-libtasn1/Makefile b/security/linux-c7-libtasn1/Makefile index 984c0c2847ca..0574b3727a86 100644 --- a/security/linux-c7-libtasn1/Makefile +++ b/security/linux-c7-libtasn1/Makefile @@ -1,24 +1,22 @@ -# Created by: Piotr Kubaj - PORTNAME= libtasn1 PORTVERSION= 4.10 DISTVERSIONSUFFIX= -1.el7 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= ASN.1 structure parser library (Linux CentOS ${LINUX_DIST_VER}) LICENSE= LGPL21+ USES= cpe linux:c7 USE_LDCONFIG= yes USE_LINUX_RPM= yes CPE_VENDOR= gnu CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr OPTIONS_DEFINE= DOCS .include diff --git a/security/linux-c7-nss/Makefile b/security/linux-c7-nss/Makefile index 7f3b1f09aea4..63a821fd9e64 100644 --- a/security/linux-c7-nss/Makefile +++ b/security/linux-c7-nss/Makefile @@ -1,29 +1,27 @@ -# Created by: Piotr Kubaj - PORTNAME= nss PORTVERSION= 3.53.1 DISTVERSIONSUFFIX= -3.el7_9 CATEGORIES= security linux MAINTAINER= emulation@FreeBSD.org COMMENT= Network Security Services (Linux CentOS ${LINUX_DIST_VER}) USES= cpe linux:c7 CPE_VENDOR= mozilla USE_LDCONFIG= yes USE_LINUX= nspr sqlite3 USE_LINUX_RPM= yes LIB_DISTNAMES= ${DISTNAME} \ ${PORTNAME}-pem-1.0.3-7.el7 \ ${PORTNAME}-softokn-${PORTVERSION}-6.el7_9 \ ${PORTNAME}-util-${PORTVERSION}-1.el7_9 SRC_DISTFILES= ${DISTNAME}${SRC_SUFX}:SOURCE \ ${PORTNAME}-pem-1.0.3-7.el7${SRC_SUFX}:SOURCE \ ${PORTNAME}-softokn-${PORTVERSION}-6.el7_9${SRC_SUFX}:SOURCE \ ${PORTNAME}-util-${PORTVERSION}-1.el7_9${SRC_SUFX}:SOURCE CONFLICTS= linux-c6-${PORTNAME} DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr .include diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 0f6979a500e4..cd3443f492b4 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -1,102 +1,100 @@ -# Created by: Dan Langille - PORTNAME= logcheck DISTVERSION= 1.3.24 CATEGORIES= security MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= yasu@FreeBSD.org COMMENT= Auditing tool for system logs on Unix boxes LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= docbook-to-man>0:textproc/docbook-to-man RUN_DEPENDS= bash:shells/bash \ lockfile-create:sysutils/lockfile-progs \ mime-construct:mail/mime-construct # Enable Perl dependency for logtail script USES= perl5 shebangfix tar:xz SHEBANG_FILES= src/detectrotate/*.dtr src/logcheck src/logtail src/logtail2 BINMODE= 755 SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST+= CRON=${PORT_OPTIONS:MCRON} \ DBDIR=${DBDIR} \ LOGCHECK_GROUP=${LOGCHECK_GROUP} \ LOGCHECK_USER=${LOGCHECK_USER} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USERS= ${LOGCHECK_USER} GROUPS= ${LOGCHECK_GROUP} PLIST_SUB+= CHGRP=${CHGRP} \ CHMOD=${CHMOD} \ DBDIR=${DBDIR} \ FIND=${FIND} \ LOGCHECK_GROUP=${LOGCHECK_GROUP} \ LOGCHECK_USER=${LOGCHECK_USER} \ RUNDIR=${RUNDIR} PORTDOCS= ${DOCS:T} OPTIONS_DEFINE= CRON DOCS EXAMPLES OPTIONS_DEFAULT= CRON CRON_DESC= Install cron script automatically # None. portlint compliance BASEDIR?= CONFIG_DIRS= cracking.d ignore.d.paranoid ignore.d.server \ ignore.d.workstation violations.d violations.ignore.d DBDIR= ${BASEDIR}/var/db/${PORTNAME} DOCS= AUTHORS CHANGES CREDITS TODO docs/README* LOGCHECK_GROUP= ${LOGCHECK_USER} LOGCHECK_USER= logcheck MAN1_FILES= logcheck-test.1 MAN8_FILES= logcheck.8 logtail.8 logtail2.8 REINPLACE_FILES= debian/logcheck.cron.d docs/logcheck.sgml \ docs/logtail2.8 docs/README.logcheck \ docs/README.logcheck-database docs/README.logtail \ etc/logcheck.conf src/logcheck src/logtail2 RUNDIR= ${BASEDIR}/var/run/${PORTNAME} .include do-build: .for file in ${REINPLACE_FILES} ${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/${file} .endfor docbook-to-man ${WRKSRC}/docs/logcheck.sgml > ${WRKSRC}/docs/logcheck.8 ${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/detectrotate \ ${STAGEDIR}${DBDIR} \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${RUNDIR} ${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck-test ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/src/logtail ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/src/logtail2 ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/etc/logcheck.conf \ ${STAGEDIR}${ETCDIR}/logcheck.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/logcheck.logfiles \ ${STAGEDIR}${ETCDIR}/logcheck.logfiles.sample .for i in ${CONFIG_DIRS} @${MKDIR} ${STAGEDIR}${ETCDIR}/${i} ${INSTALL_DATA} ${WRKSRC}/rulefiles/linux/${i}/* \ ${STAGEDIR}${ETCDIR}/${i} .endfor ${INSTALL_DATA} ${WRKSRC}/src/detectrotate/*.dtr \ ${STAGEDIR}${DATADIR}/detectrotate ${INSTALL_DATA} ${WRKSRC}/debian/logcheck.cron.d \ ${STAGEDIR}${EXAMPLESDIR}/crontab.in .for i in ${MAN1_FILES} ${INSTALL_MAN} ${WRKSRC}/docs/$i ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor .for i in ${MAN8_FILES} ${INSTALL_MAN} ${WRKSRC}/docs/$i ${STAGEDIR}${MAN8PREFIX}/man/man8 .endfor cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/luasec/Makefile b/security/luasec/Makefile index 7527678991b3..f957b42240e5 100644 --- a/security/luasec/Makefile +++ b/security/luasec/Makefile @@ -1,29 +1,27 @@ -# Created by: Andrew Lewis - PORTNAME= luasec PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v CATEGORIES= security PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= thomas@beingboiled.info COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication LICENSE= MIT USES= lua:module ssl USE_GITHUB= yes GH_ACCOUNT= brunoos ALL_TARGET= bsd MAKE_ENV+= LUAPATH=${LUA_MODSHAREDIR} LUACPATH=${LUA_MODLIBDIR} \ INC_PATH=-I${LUA_INCDIR} LIB_PATH=-L${LUA_LIBDIR} \ DESTDIR=${STAGEDIR} CFLAGS+= -I${OPENSSLINC} -DOPENSSL_NO_SSL3 LDFLAGS+= -L${OPENSSLLIB} post-install: ${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/ssl.so .include diff --git a/security/lxqt-openssh-askpass/Makefile b/security/lxqt-openssh-askpass/Makefile index fefa6b4f1fe3..616f6efb8a36 100644 --- a/security/lxqt-openssh-askpass/Makefile +++ b/security/lxqt-openssh-askpass/Makefile @@ -1,21 +1,19 @@ -# Created by: Olivier Duchateau - PORTNAME= lxqt-openssh-askpass PORTVERSION= 1.1.0 CATEGORIES= security MASTER_SITES= LXQT MAINTAINER= jsm@FreeBSD.org COMMENT= LXQt GUI dialog for OpenSSH authentication LICENSE= LGPL21+ USES= cmake compiler:c++11-lang gettext-runtime kde:5 lxqt \ pkgconfig qt:5 tar:xz gnome xorg USE_QT= buildtools_build qmake_build core dbus gui linguisttools \ svg widgets x11extras xml USE_KDE= windowsystem USE_LXQT= buildtools lxqt USE_GNOME= glib20 USE_XORG= x11 .include diff --git a/security/lxqt-sudo/Makefile b/security/lxqt-sudo/Makefile index 2cc83d197dcd..40d581e46d5d 100644 --- a/security/lxqt-sudo/Makefile +++ b/security/lxqt-sudo/Makefile @@ -1,25 +1,23 @@ -# Created by: Olivier Duchateau - PORTNAME= lxqt-sudo PORTVERSION= 1.1.0 CATEGORIES= security MASTER_SITES= LXQT MAINTAINER= jsm@FreeBSD.org COMMENT= GUI frontend to su/sudo for LXQt desktop LICENSE= LGPL21+ RUN_DEPENDS= sudo:security/sudo USES= cmake compiler:c++14-lang gettext kde:5 lxqt qt:5 \ pkgconfig tar:xz gnome xorg USE_QT= buildtools_build qmake_build core dbus gui svg widgets \ x11extras xml USE_KDE= windowsystem USE_LXQT= buildtools lxqt USE_GNOME= glib20 USE_XORG= x11 .include diff --git a/security/lynis/Makefile b/security/lynis/Makefile index 9bf5d893e427..aad7a8efd5e0 100644 --- a/security/lynis/Makefile +++ b/security/lynis/Makefile @@ -1,45 +1,43 @@ -# Created by: Cory McIntire (loon@noncensored.com) - PORTNAME= lynis PORTVERSION= 3.0.7 CATEGORIES= security MASTER_SITES= https://cisofy.com/files/ MAINTAINER= lme@FreeBSD.org COMMENT= Security and system auditing tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= lsof:sysutils/lsof USES= cpe CPE_VENDOR= cisofy WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes PORTDOCS= FAQ README *.md OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \ /tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \ /tDB_TARGETS=/ s|\(tDB_TARGETS\)=".*"|\1="${DATADIR}/db"|' ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/default.prf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/default.prf.sample @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "include db plugins" ${STAGEDIR}${DATADIR}/ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/extras/bash_completion.d/${PORTNAME} \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/mac-robber/Makefile b/security/mac-robber/Makefile index bcb53aa6210e..2882c8542099 100644 --- a/security/mac-robber/Makefile +++ b/security/mac-robber/Makefile @@ -1,28 +1,26 @@ -# Created by: Yonatan - PORTNAME= mac-robber PORTVERSION= 1.02 CATEGORIES= security MASTER_SITES= SF MAINTAINER= onatan@gmail.com COMMENT= Tool for listing Modify, Access, Create timestamps from files LICENSE= GPLv2 PLIST_FILES= bin/mac-robber PORTDOCS= CHANGES README OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} -o mac-robber mac-robber.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/maia/Makefile b/security/maia/Makefile index 3a93153b7a9d..060e75ca3c72 100644 --- a/security/maia/Makefile +++ b/security/maia/Makefile @@ -1,338 +1,336 @@ -# Created by: Janky Jay - PORTNAME= maia DISTVERSION= 1.0.4 PORTREVISION= 9 CATEGORIES= security MAINTAINER= ek@purplehat.org COMMENT= Web-based management system based on amavisd-new and SpamAssassin LICENSE=GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= p5-Unix-Syslog>=0.94:sysutils/p5-Unix-Syslog \ p5-MIME-Tools>=4.116:mail/p5-MIME-Tools \ p5-Convert-TNEF>=0.08:converters/p5-Convert-TNEF \ p5-Convert-UUlib>=1.08,1:converters/p5-Convert-UUlib \ p5-Net-CIDR-Lite>=0.18:net/p5-Net-CIDR-Lite \ p5-forks>=0.34:devel/p5-forks \ p5-Archive-Zip>=0.10:archivers/p5-Archive-Zip \ p5-IO-Stringy>=1.203:devel/p5-IO-Stringy \ p5-IO-Socket-INET6>=1.27:net/p5-IO-Socket-INET6 \ p5-Text-CSV>=1.02:textproc/p5-Text-CSV \ p5-Data-UUID>=1.148:devel/p5-Data-UUID \ p5-Template-Toolkit>=2.13:www/p5-Template-Toolkit \ p5-Net-Server>=0.93:net/p5-Net-Server USES= perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= technion GH_PROJECT= maia_mailguard GH_TAGNAME= 48df5fb USE_PERL5= run NO_ARCH= yes NO_BUILD= yes DOCS= LICENSE.txt README.md maiad.conf.dist maia-mysql.sql maia-pgsql.sql maia.conf.dist USERS= vscan GROUPS= vscan MAIAHOME= /var/maiad MAIAQUARANTINE?= /var/maiad/virusmails PEAR_DIR?= ${LOCALBASE}/share/pear PLIST_SUB+= USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" OPTIONS_DEFINE= APACHE LIGHTTPD NGINX WEBHOST MYSQL LOCAL PGSQL \ DOVECOT2 POSTFIX PFA CLAMAV SPAMASSASSIN BDB CRYPT \ IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB \ RPM ZOO UNZOO LZOP TNEF DOCS OPTIONS_DEFAULT= MYSQL CLAMAV DOCS SPAMASSASSIN BDB IPCOUNTRY \ DOMAINKEYS SPF DKIM FILE UNRAR ARJ LHA ARC CAB RPM ZOO APACHE_DESC= Use Apache web server LIGHTTPD_DESC= Use LighTTPD web server NGINX_DESC= Use Nginx web server WEBHOST_DESC= PHP, PEAR, etc... for Maia web interface MYSQL_DESC= Use MySQL LOCAL_DESC= All services/databases hosted locally PGSQL_DESC= Use PgSQL DOVECOT2_DESC= Use Dovecot 2.x IMAP/POP3 POSTFIX_DESC= Use Postfix MTA PFA_DESC= Use Postfixadmin CLAMAV_DESC= Use ClamAV anti-virus SPAMASSASSIN_DESC= Use SpamAssassin BDB_DESC= Use BerkeleyDB CRYPT_DESC= Encryption support IPCOUNTRY_DESC= SpamAssassin IP Country plugin DOMAINKEYS_DESC= SpamAssassin DomainKey plugin SPF_DESC= SpamAssassin SPF plugin DKIM_DESC= SpamAssassin DKIM plugin FILE_DESC= Use newer file(1) utility from ports RAR_DESC= RAR support with archivers/rar UNRAR_DESC= RAR support with archivers/unrar ARJ_DESC= ARJ support with archivers/arj UNARJ_DESC= ARJ support with archivers/unarj LHA_DESC= LHA support with archivers/lha ARC_DESC= ARC support with archivers/arc NOMARCH_DESC= ARC support with archivers/nomarch CAB_DESC= CAB support with archivers/cabextract RPM_DESC= RPM support with archivers/rpm2cpio ZOO_DESC= ZOO support with archivers/zoo UNZOO_DESC= ZOO support with archivers/unzoo LZOP_DESC= LZOP support with archivers/lzop TNEF_DESC= Add external tnef decoder SUB_FILES= maiad pkg-message SHEBANG_FILES= maiad SUB_LIST+= USERS=${USERS} \ GROUPS=${GROUPS} \ MAIAHOME=${MAIAHOME} \ MAIAQUARANTINE=${MAIAQUARANTINE} \ ETCDIR=${ETCDIR} USE_RC_SUBR+= maiad .include # Code is a bit fiddly here; we can't use USE variables after pre.mk so we have # to duplicate some WITH_ parts like WEBHOST that use pre.mk vars as well as # setting USE_ variables. C'est la vie. .if ${PORT_OPTIONS:MAPACHE} USES+= apache:run,2.4+ .endif .if ${PORT_OPTIONS:MWEBHOST} USES+= php USE_PHP= bcmath ctype dom gettext hash iconv imap json mbstring \ mcrypt pdo pdo_sqlite posix session simplexml sockets \ sqlite3 tokenizer xml xmlreader xmlwriter xmlrpc RUN_DEPENDS+= ${PEAR_DIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR} \ ${PEAR_DIR}/Mail/mimeDecode.php:mail/pear-Mail_mimeDecode@${PHP_FLAVOR} \ ${PEAR_DIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} \ ${PEAR_DIR}/Pager/Pager.php:devel/pear-Pager@${PHP_FLAVOR} \ ${PEAR_DIR}/Net/Socket.php:net/pear-Net_Socket@${PHP_FLAVOR} \ ${PEAR_DIR}/Net/SMTP.php:net/pear-Net_SMTP@${PHP_FLAVOR} \ ${PEAR_DIR}/Log.php:sysutils/pear-Log@${PHP_FLAVOR} \ ${PEAR_DIR}/HTMLPurifier.php:devel/pear-htmlpurifier@${PHP_FLAVOR} \ ${PEAR_DIR}/Net/IMAP.php:mail/pear-Net_IMAP@${PHP_FLAVOR} \ ${PEAR_DIR}/Net/POP3.php:net/pear-Net_POP3@${PHP_FLAVOR} \ ${PEAR_DIR}/Auth/SASL.php:security/pear-Auth_SASL@${PHP_FLAVOR} \ ${PEAR_DIR}/Image/Color.php:graphics/pear-Image_Color@${PHP_FLAVOR} \ ${PEAR_DIR}/Image/Canvas.php:graphics/pear-Image_Canvas@${PHP_FLAVOR} \ ${PEAR_DIR}/Image/Graph.php:graphics/pear-Image_Graph@${PHP_FLAVOR} \ ${PEAR_DIR}/Numbers/Roman.php:textproc/pear-Numbers_Roman@${PHP_FLAVOR} \ ${PEAR_DIR}/Numbers/Words.php:textproc/pear-Numbers_Words@${PHP_FLAVOR} \ ${PEAR_DIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \ ${PEAR_DIR}/MDB2/Driver/mysqli.php:databases/pear-MDB2_Driver_mysqli@${PHP_FLAVOR} \ ${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR} \ ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/scrypt.so:security/pecl-scrypt@${PHP_FLAVOR} PLIST_SUB+= WEBHOST="" .else PLIST_SUB+= WEBHOST="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MLOCAL} USES+= mysql:server,client RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql .endif .if ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MLOCAL} USES+= mysql:client RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql .endif .if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MLOCAL} USES+= pgsql WANT_PGSQL= server RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MLOCAL} USES+= pgsql RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MWEBHOST} USE_PHP+= pgsql .endif .if ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= lighttpd:www/lighttpd .endif .if ${PORT_OPTIONS:MNGINX} RUN_DEPENDS+= nginx:www/nginx .endif .if ${PORT_OPTIONS:MDOVECOT2} RUN_DEPENDS+= dovecot:mail/dovecot .endif .if ${PORT_OPTIONS:MPOSTFIX} RUN_DEPENDS+= postfix:mail/postfix .endif .if ${PORT_OPTIONS:MPFA} USES+= php RUN_DEPENDS+= postfixadmin-${PHP_FLAVOR}>=0:mail/postfixadmin .endif .if ${PORT_OPTIONS:MCLAMAV} RUN_DEPENDS+= clamd:security/clamav .endif .if ${PORT_OPTIONS:MSPAMASSASSIN} RUN_DEPENDS+= spamassassin>=0:mail/spamassassin .endif .if ${PORT_OPTIONS:MBDB} RUN_DEPENDS+= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB .endif .if ${PORT_OPTIONS:MCRYPT} RUN_DEPENDS+= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \ p5-Crypt-CBC>=0:security/p5-Crypt-CBC .endif .if ${PORT_OPTIONS:MIPCOUNTRY} RUN_DEPENDS+= p5-IP-Country>=0:net/p5-IP-Country .endif .if ${PORT_OPTIONS:MDOMAINKEYS} RUN_DEPENDS+= p5-Mail-DomainKeys>=0:mail/p5-Mail-DomainKeys .endif .if ${PORT_OPTIONS:MSPF} RUN_DEPENDS+= p5-Mail-SPF>=0:mail/p5-Mail-SPF .endif .if ${PORT_OPTIONS:MDKIM} RUN_DEPENDS+= p5-Mail-DKIM>=0:mail/p5-Mail-DKIM .endif .if ${PORT_OPTIONS:MFILE} # security fix, file > 4.21 needed RUN_DEPENDS+= file>=4.21:sysutils/file .endif # archivers/rar is a 32-bit binary port, we don't want the install to fail # at that port, therefore we will block instantly here if the platform does # not suit rar. .if ${PORT_OPTIONS:MRAR} IA32_BINARY_PORT= yes RUN_DEPENDS+= rar:archivers/rar .endif .if ${PORT_OPTIONS:MUNRAR} RUN_DEPENDS+= unrar:archivers/unrar .endif .if ${PORT_OPTIONS:MARJ} RUN_DEPENDS+= arj:archivers/arj .endif .if ${PORT_OPTIONS:MUNARJ} RUN_DEPENDS+= unarj:archivers/unarj .endif .if ${PORT_OPTIONS:MLHA} RUN_DEPENDS+= lha:archivers/lha .endif .if ${PORT_OPTIONS:MARC} RUN_DEPENDS+= arc:archivers/arc .endif .if ${PORT_OPTIONS:MNOMARCH} RUN_DEPENDS+= nomarch:archivers/nomarch .endif .if ${PORT_OPTIONS:MCAB} RUN_DEPENDS+= cabextract:archivers/cabextract .endif .if ${PORT_OPTIONS:MRPM} RUN_DEPENDS+= rpm2cpio.pl:archivers/rpm2cpio .endif .if ${PORT_OPTIONS:MZOO} # DOS condition in 2.10.1_2 RUN_DEPENDS+= zoo>=2.10.1_2:archivers/zoo .endif .if ${PORT_OPTIONS:MUNZOO} RUN_DEPENDS+= unzoo>=4.4_1:archivers/unzoo .endif .if ${PORT_OPTIONS:MLZOP} RUN_DEPENDS+= lzop:archivers/lzop .endif .if ${PORT_OPTIONS:MTNEF} RUN_DEPENDS+= tnef:converters/tnef .endif .include post-patch: .for m in scripts/configtest.pl scripts/expire-quarantine-cache.pl \ scripts/load-sa-rules.pl scripts/maiadbtool.pl \ scripts/process-quarantine.pl scripts/resend.pl scripts/send-quarantine-digests.pl \ scripts/send-quarantine-reminders.pl scripts/stats-snapshot.pl @${REINPLACE_CMD} -e "s|/etc/maia/maia.conf|${ETCDIR}/maia.conf|" \ ${WRKSRC}/${m} .endfor .for i in digest.tpl newuser.tpl reminder.tpl ${MV} ${WRKSRC}/templates/${i} ${WRKSRC}/templates/${i}.dist .endfor @${REINPLACE_CMD} -e "s|daemon_user = 'maia'|daemon_user = '${USERS}'|" \ -e "s|daemon_group = 'maia'|daemon_group = '${GROUPS}'|" \ -e "s|/var/lib/maia|${MAIAHOME}|" \ ${WRKSRC}/maiad.conf.dist @${REINPLACE_CMD} -e "s|/etc/maia.conf|${ETCDIR}/maia.conf|" \ -e "s|username = 'maia'|username = '${USERS}'|" \ -e "s|/var/lib/maia|${DATADIR}|" \ -e "s|/usr/bin/sa-learn|${PREFIX}/bin/sa-learn|" \ -e "s|local_cf_dir = undef|local_cf_dir = '${PREFIX}/etc/mail/spamassassin'|" \ -e "s|user_rules_dir = undef|user_rules_dir = '${MAIAHOME}/.spamassassin'|" \ -e "s|template_dir = '/etc/maia/templates/'|template_dir = '${ETCDIR}/templates/'|" \ ${WRKSRC}/maia.conf.dist @${REINPLACE_CMD} -e "s|/etc/maia/maiad.conf|${ETCDIR}/maiad.conf|" \ -e "s|/var/lib/maia|${DATADIR}|" \ ${WRKSRC}/maiad @${FIND} -E ${WRKSRC} -iregex '.*(bak|~)$$' -delete @${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web @cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty ${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts ${MKDIR} ${STAGEDIR}${ETCDIR}/templates .for i in digest.tpl newuser.tpl reminder.tpl ${INSTALL} -m 644 ${WRKSRC}/templates/${i}.dist ${STAGEDIR}${ETCDIR}/templates .endfor ${INSTALL_SCRIPT} ${WRKSRC}/maiad ${STAGEDIR}${PREFIX}/sbin ${INSTALL} -m 640 ${WRKSRC}/maiad.conf.dist ${STAGEDIR}${ETCDIR}/maiad.conf.dist ${INSTALL} -m 640 ${WRKSRC}/maia.conf.dist ${STAGEDIR}${ETCDIR}/maia.conf.dist do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/mailzu/Makefile b/security/mailzu/Makefile index ad31e8cb4fa1..317f8fc919cc 100644 --- a/security/mailzu/Makefile +++ b/security/mailzu/Makefile @@ -1,68 +1,66 @@ -# Created by: Sahil Tandon - PORTNAME= mailzu DISTVERSION= 0.8rc3 PORTREVISION= 9 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3 PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= MailZu_${DISTVERSION:S/rc/RC/} MAINTAINER= ports@bsdserwis.com COMMENT= Simple and intuitive web interface to manage amavisd-new quarantine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/sbin/amavisd:security/amavisd-new \ ${PEARDIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} \ ${PEARDIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR} \ ${PEARDIR}/Mail/mimeDecode.php:mail/pear-Mail_mimeDecode@${PHP_FLAVOR} \ ${PEARDIR}/Net/Socket.php:net/pear-Net_Socket@${PHP_FLAVOR} USES= php:flavors,web USE_PHP= sockets IGNORE_WITH_PHP= 82 NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message PLIST_SUB= WWWGRP="${WWWGRP}" \ WWWOWN="${WWWOWN}" PORTDOCS= * OPTIONS_DEFINE= DOCS IMAP LDAP OPTIONS_DEFAULT= MYSQL OPTIONS_MULTI= SQL OPTIONS_MULTI_SQL= MYSQL PGSQL IMAP_DESC= Use IMAP auth backend LDAP_DESC= Use LDAP auth backend MYSQL_DESC= Use MySQL database storage/auth backend (default) PGSQL_DESC= Use PostgreSQL database/auth storage backend SQL_DESC= SQL sotage backend IMAP_USE= PHP=imap LDAP_USE= PHP=ldap MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql PEARDIR?= ${LOCALBASE}/share/pear post-patch: ${INSTALL_DATA} ${FILESDIR}/pl.*.php ${WRKSRC}/lang/ do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.js ${WRKSRC}/*.css ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "config contrib img lang lib templates" \ ${STAGEDIR}${WWWDIR} "! -name '*.orig'") (cd ${WRKSRC} && ${COPYTREE_BIN} scripts ${STAGEDIR}${WWWDIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include diff --git a/security/makepasswd/Makefile b/security/makepasswd/Makefile index b9234548496c..6518da9b445b 100644 --- a/security/makepasswd/Makefile +++ b/security/makepasswd/Makefile @@ -1,48 +1,46 @@ -# Created by: Toni Viemerö - PORTNAME= makepasswd PORTVERSION= 1.10 PORTREVISION= 7 CATEGORIES= security MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION}.orig PATCHFILES= ${PORTNAME}_${PORTVERSION}-12.diff.gz PATCH_SITES= ${MASTER_SITES} PATCH_DIST_STRIP= -p1 MAINTAINER= toni.viemero@iki.fi COMMENT= Random password generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING-2.0 NO_ARCH= yes NO_BUILD= yes USES= cpe perl5 shebangfix CPE_VENDOR= ${PORTNAME}_project SHEBANG_FILES= makepasswd USE_PERL5= run OPTIONS_DEFINE= DOCS RUN_DEPENDS+= p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-Bytes-Random-Secure>=0:security/p5-Bytes-Random-Secure WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= CHANGES README post-patch: ${REINPLACE_CMD} -e "s/use bytes;/#use bytes;/" ${WRKSRC}/makepasswd do-install: ${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/masscan/Makefile b/security/masscan/Makefile index 8eb1c1fcf037..d19664047b12 100644 --- a/security/masscan/Makefile +++ b/security/masscan/Makefile @@ -1,27 +1,25 @@ -# Created by: Chie Taguchi - PORTNAME= masscan DISTVERSION= 1.3.2 CATEGORIES= security MAINTAINER= taguchi.ch@gmail.com COMMENT= Very fast port scanner LICENSE= GPLv3 USES= gmake USE_GITHUB= yes GH_ACCOUNT= robertdavidgraham MAKE_ARGS= SYS=freebsd CC="${CC}" CFLAGS="${CFLAGS}" CFLAGS+= -Wno-format PLIST_FILES= bin/masscan man/man8/masscan.8.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8 do-test: ${WRKSRC}/bin/masscan --selftest .include diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile index 5307649fe354..e0c521e572b4 100644 --- a/security/mcrypt/Makefile +++ b/security/mcrypt/Makefile @@ -1,42 +1,40 @@ -# Created by: trevor - PORTNAME= mcrypt PORTVERSION= 2.6.8 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/MCrypt/${PORTVERSION} \ ftp://argeas.cs-net.gr/pub/unix/mcrypt/attic/ \ ftp://ftp.ntua.gr/pub/security/mcrypt/ \ ftp://mcrypt.hellug.gr/pub/mcrypt/attic/ MAINTAINER= ports@FreeBSD.org COMMENT= Replacement for crypt(1) LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmcrypt.so:security/libmcrypt \ libmhash.so:security/mhash USES= cpe GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-static --with-catgets OPTIONS_DEFINE= DOCS NLS EXAMPLES OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/rfc2440.c post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/doc && ${INSTALL_DATA} FORMAT magic ${STAGEDIR}${DOCSDIR} .include diff --git a/security/md5deep/Makefile b/security/md5deep/Makefile index 5ac2ad793f79..6fed83770b65 100644 --- a/security/md5deep/Makefile +++ b/security/md5deep/Makefile @@ -1,22 +1,20 @@ -# Created by: Frank Laszlo - PORTNAME= md5deep PORTVERSION= 4.4 PORTREVISION= 3 CATEGORIES= security MAINTAINER= nobutaka@FreeBSD.org COMMENT= Program to compute various message digests recursively LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GH_ACCOUNT= jessek GH_PROJECT= hashdeep GH_TAGNAME= cd2ed74 USES= autoreconf compiler:c++11-lang gmake USE_GITHUB= yes GNU_CONFIGURE= yes .include diff --git a/security/medusa/Makefile b/security/medusa/Makefile index cf75a3726e4d..11c1d4d7a246 100644 --- a/security/medusa/Makefile +++ b/security/medusa/Makefile @@ -1,43 +1,41 @@ -# Created by: David Thiel - PORTNAME= medusa PORTVERSION= 2.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.foofus.net/~jmk/tools/ MAINTAINER= dbaio@FreeBSD.org COMMENT= Speedy, massively parallel, modular, login brute-forcer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libssh2.so:security/libssh2 USES= ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-module-ncp=no --enable-module-afp=no CFLAGS+= -fcommon OPTIONS_DEFINE= DOCS PGSQL SUBVERSION OPTIONS_SUB= yes SUBVERSION_LIB_DEPENDS= libsvn_client-1.so:devel/subversion SUBVERSION_CFLAGS= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1 SUBVERSION_CONFIGURE_OFF= --enable-module-svn=no PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --enable-module-postgres PGSQL_CONFIGURE_OFF= --enable-module-postgres=no post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_medusa post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} .include diff --git a/security/metasploit/Makefile b/security/metasploit/Makefile index 74d193291d30..fa49a494fe2e 100644 --- a/security/metasploit/Makefile +++ b/security/metasploit/Makefile @@ -1,194 +1,192 @@ -# Created by: Yonatan - PORTNAME= metasploit DISTVERSION= 6.1.24 PORTREVISION= 3 CATEGORIES= security MAINTAINER= tanawts@gmail.com COMMENT= Exploit-Framework for Penetration-Testing LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ nmap:security/nmap \ rubygem-actionpack60>=6.0:www/rubygem-actionpack60 \ rubygem-activerecord60>=6.0:databases/rubygem-activerecord60 \ rubygem-activesupport60>=6.0:devel/rubygem-activesupport60 \ rubygem-aws-sdk-ec2>=0:devel/rubygem-aws-sdk-ec2 \ rubygem-aws-sdk-iam>=0:devel/rubygem-aws-sdk-iam \ rubygem-aws-sdk-s3>=0:devel/rubygem-aws-sdk-s3 \ rubygem-bcrypt>=0:security/rubygem-bcrypt \ rubygem-bcrypt_pbkdf>=0:security/rubygem-bcrypt_pbkdf \ rubygem-bson>=0:devel/rubygem-bson \ rubygem-bundler>=0:sysutils/rubygem-bundler \ rubygem-concurrent-ruby>=0:devel/rubygem-concurrent-ruby \ rubygem-dnsruby>=0:dns/rubygem-dnsruby \ rubygem-ed25519>=0:security/rubygem-ed25519 \ rubygem-em-http-request>=0:www/rubygem-em-http-request \ rubygem-eventmachine>=0:devel/rubygem-eventmachine \ rubygem-faker>=0:devel/rubygem-faker \ rubygem-faye-websocket>=0:www/rubygem-faye-websocket \ rubygem-filesize>=0:devel/rubygem-filesize \ rubygem-hrr_rb_ssh-ed25519>=0:security/rubygem-hrr_rb_ssh-ed25519 \ rubygem-http-cookie>=0:www/rubygem-http-cookie \ rubygem-irb>=0:devel/rubygem-irb \ rubygem-jsobfu>=0:www/rubygem-jsobfu \ rubygem-json>=0:devel/rubygem-json \ rubygem-metasm>=0:devel/rubygem-metasm \ rubygem-metasploit-aggregator>=0:security/rubygem-metasploit-aggregator \ rubygem-metasploit-concern>=0:security/rubygem-metasploit-concern \ rubygem-metasploit-credential>=0:security/rubygem-metasploit-credential \ rubygem-metasploit-model>=0:security/rubygem-metasploit-model \ rubygem-metasploit-payloads>=2.0.54:security/rubygem-metasploit-payloads \ rubygem-metasploit_data_models>=0:security/rubygem-metasploit_data_models \ rubygem-metasploit_payloads-mettle>=1.0.10:security/rubygem-metasploit_payloads-mettle \ rubygem-mqtt>=0:net/rubygem-mqtt \ rubygem-msgpack>=0:devel/rubygem-msgpack \ rubygem-nessus_rest>=0:security/rubygem-nessus_rest \ rubygem-net-ldap>=0:net/rubygem-net-ldap \ rubygem-net-ssh>=0:security/rubygem-net-ssh \ rubygem-network_interface>=0:net/rubygem-network_interface \ rubygem-nexpose>=0:security/rubygem-nexpose \ rubygem-nokogiri>=0:textproc/rubygem-nokogiri \ rubygem-octokit>=0:net/rubygem-octokit \ rubygem-openssl-ccm>=0:security/rubygem-openssl-ccm \ rubygem-openvas-omp>=0:security/rubygem-openvas-omp \ rubygem-packetfu>=0:net/rubygem-packetfu \ rubygem-patch_finder>=0:devel/rubygem-patch_finder \ rubygem-pcaprub>=0:net/rubygem-pcaprub \ rubygem-pdf-reader>=0:print/rubygem-pdf-reader \ rubygem-pg>=0:databases/rubygem-pg \ rubygem-puma>=0:www/rubygem-puma \ rubygem-railties60>=6.0:www/rubygem-railties60 \ rubygem-recog>=0:security/rubygem-recog \ rubygem-redcarpet>=0:textproc/rubygem-redcarpet \ rubygem-reline>=0:devel/rubygem-reline \ rubygem-rex-arch>=0:security/rubygem-rex-arch \ rubygem-rex-bin_tools>=0:security/rubygem-rex-bin_tools \ rubygem-rex-core>=0:security/rubygem-rex-core \ rubygem-rex-encoder>=0:security/rubygem-rex-encoder \ rubygem-rex-exploitation>=0:security/rubygem-rex-exploitation \ rubygem-rex-java>=0:security/rubygem-rex-java \ rubygem-rex-mime>=0:security/rubygem-rex-mime \ rubygem-rex-nop>=0:security/rubygem-rex-nop \ rubygem-rex-ole>=0:security/rubygem-rex-ole \ rubygem-rex-powershell>=0:security/rubygem-rex-powershell \ rubygem-rex-random_identifier>=0:security/rubygem-rex-random_identifier \ rubygem-rex-registry>=0:security/rubygem-rex-registry \ rubygem-rex-rop_builder>=0:security/rubygem-rex-rop_builder \ rubygem-rex-socket>=0:security/rubygem-rex-socket \ rubygem-rex-sslscan>=0:security/rubygem-rex-sslscan \ rubygem-rex-struct2>=0:security/rubygem-rex-struct2 \ rubygem-rex-text>=0:security/rubygem-rex-text \ rubygem-rex-zip>=0:security/rubygem-rex-zip \ rubygem-ruby-macho>=0:devel/rubygem-ruby-macho \ rubygem-ruby_smb>=0:net/rubygem-ruby_smb \ rubygem-rubyntlm>=0:net/rubygem-rubyntlm \ rubygem-rubyzip>=0:archivers/rubygem-rubyzip \ rubygem-sinatra>=0:www/rubygem-sinatra \ rubygem-sqlite3>=0:databases/rubygem-sqlite3 \ rubygem-sshkey>=0:security/rubygem-sshkey \ rubygem-swagger-blocks>=0:devel/rubygem-swagger-blocks \ rubygem-thin>=0:www/rubygem-thin \ rubygem-tzinfo-data>=0:devel/rubygem-tzinfo-data \ rubygem-tzinfo>=0:devel/rubygem-tzinfo \ rubygem-unix-crypt>=0:security/rubygem-unix-crypt \ rubygem-warden>=0:devel/rubygem-warden \ rubygem-windows_error>=0:devel/rubygem-windows_error \ rubygem-winrm>=0:sysutils/rubygem-winrm \ rubygem-xdr>=0:converters/rubygem-xdr \ rubygem-xmlrpc>=0:net/rubygem-xmlrpc \ rubygem-zeitwerk>=0:devel/rubygem-zeitwerk USES= cpe go:run python shebangfix CPE_VENDOR= rapid7 USE_GITHUB= yes GH_ACCOUNT= rapid7 GH_PROJECT= metasploit-framework USE_RUBY= yes SHEBANG_FILES= data/exploits/CVE-2017-17562/build.sh \ data/exploits/CVE-2017-17562/install-deps.sh \ data/exploits/CVE-2017-7494/build.sh \ data/exploits/CVE-2017-7494/install-deps.sh \ data/exploits/CVE-2021-3156/nss_generic2.py \ data/exploits/CVE-2021-3156/nss_u14.py \ data/exploits/CVE-2021-3156/nss_u16.py \ data/exploits/CVE-2021-3156/userspec_c7.py \ data/exploits/CVE-2021-3156/userspec_generic.py \ docker/bin/msfconsole docker/bin/msfvenom docker/entrypoint.sh \ external/source/exploits/CVE-2020-9850/payload/loader/make.py \ external/source/exploits/CVE-2020-9850/payload/sbx/build-threadexec.sh \ external/source/exploits/CVE-2020-9850/payload/sbx/build-webkit.sh \ external/source/exploits/CVE-2020-9850/payload/sbx/embed.py \ external/source/metsvc/test.rb \ external/source/msfJavaToolkit/compile.sh \ external/source/msfJavaToolkit/testCompilation.rb \ external/source/msfJavaToolkit/testKeytool.rb \ external/source/shellcode/windows/build.sh \ external/source/shellcode/windows/x64/build.py \ external/source/shellcode/windows/x86/build.py \ external/source/shellcode/windows/x86/src/hash.py \ modules/auxiliary/admin/http/cisco_7937g_ssh_privesc.py \ modules/auxiliary/admin/http/grafana_auth_bypass.py \ modules/auxiliary/admin/teradata/teradata_odbc_sql.py \ modules/auxiliary/dos/cisco/cisco_7937g_dos.py \ modules/auxiliary/dos/cisco/cisco_7937g_dos_reboot.py \ modules/auxiliary/dos/http/slowloris.py \ modules/auxiliary/dos/tcp/claymore_dos.py \ modules/auxiliary/example.py \ modules/auxiliary/gather/get_user_spns.py \ modules/auxiliary/gather/mikrotik_winbox_fileread.py \ modules/auxiliary/gather/office365userenum.py \ modules/auxiliary/scanner/http/onion_omega2_login.py \ modules/auxiliary/scanner/http/rdp_web_login.py \ modules/auxiliary/scanner/msmail/exchange_enum.go \ modules/auxiliary/scanner/msmail/host_id.go \ modules/auxiliary/scanner/msmail/onprem_enum.go \ modules/auxiliary/scanner/smb/impacket/dcomexec.py \ modules/auxiliary/scanner/smb/impacket/secretsdump.py \ modules/auxiliary/scanner/smb/impacket/wmiexec.py \ modules/auxiliary/scanner/ssl/bleichenbacher_oracle.py \ modules/auxiliary/scanner/teradata/teradata_odbc_login.py \ modules/auxiliary/scanner/wproxy/att_open_proxy.py \ modules/exploits/example.py \ modules/exploits/linux/smtp/haraka.py \ tools/dev/import-dev-keys.sh tools/dev/sign-dev-keys.sh \ tools/dev/update_joomla_components.py \ tools/hardware/killerbee_msfrelay.py \ tools/modules/aws-aggregator-userdata.sh SHEBANG_LANG= go STRIP= NO_ARCH= yes NO_ARCH_IGNORE= template_x64_bsd.bin template_x86_bsd.bin CVE-2013-2171.bin post-patch: ${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \ /rb-readline/d' \ ${WRKSRC}/metasploit-framework.gemspec ${REINPLACE_CMD} "/concurrent-ruby/s|,'1.0.5'|| ; /reline/s|, '0.2.5'|| ; /pcaprub/s|, '0.12.4'||" \ ${WRKSRC}/metasploit-framework.gemspec do-build: ${RM} ${WRKSRC}/Gemfile.lock ${TOUCH} ${WRKSRC}/Gemfile.lock ${REINPLACE_CMD} "/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d ; /git:/d ; /sqlite3/s|, '~>1.3.0'||" \ ${WRKSRC}/Gemfile do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${PAX} -rw . ${STAGEDIR}${DATADIR} .for f in msfconsole msfd msfdb msfrpc msfrpcd msfvenom ${RLN} ${STAGEDIR}${DATADIR}/${f} ${STAGEDIR}${PREFIX}/bin/${f} .endfor post-install: @${FIND} ${STAGEDIR} ! -type d | \ ${SED} 's,${STAGEDIR}${PREFIX}/,, ; /Gemfile.lock/s|^|@(,,0666) |' >> ${TMPPLIST} @${FIND} -ds ${STAGEDIR}${DATADIR} -type d -empty | \ ${SED} 's,${STAGEDIR}${PREFIX}/,, ; s,^,@dir ,' >> ${TMPPLIST} .include diff --git a/security/mhash/Makefile b/security/mhash/Makefile index 1c514ce9121e..d17baf0cd93b 100644 --- a/security/mhash/Makefile +++ b/security/mhash/Makefile @@ -1,32 +1,30 @@ -# Created by: nsayer@FreeBSD.org - PORTNAME= mhash PORTVERSION= 0.9.9.9 PORTREVISION= 5 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Easy-to-use library for strong hashes such as MD5 and SHA1 LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static --with-gnu-ld TEST_TARGET= check PORTDOCS= example.c skid2-authentication OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmhash.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/mindterm-binary/Makefile b/security/mindterm-binary/Makefile index 500216a25b5e..dd02aa61d9cf 100644 --- a/security/mindterm-binary/Makefile +++ b/security/mindterm-binary/Makefile @@ -1,42 +1,40 @@ -# Created by: alex@FreeBSD.org - PORTNAME= mindterm-binary PORTVERSION= 1.2.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= LOCAL/alex DISTNAME= mindtermbin-v121 DISTFILES= mindterm-ssh.html ${EXTRACT_ONLY} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Full vt220 compatible Java SSH-1 client (not only for websites) # Converted from NO_CDROM LICENSE= mindterm LICENSE_NAME= mindterm LICENSE_TEXT= Do not sell for profit LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= zip NO_WRKSUBDIR= yes NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS post-extract: ${CP} ${DISTDIR}/mindterm-ssh.html ${WRKSRC} ${MV} ${WRKSRC}/mindtermfull.jar ${WRKSRC}/mindterm.jar do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/java/mindterm ${INSTALL_DATA} ${WRKSRC}/mindterm.jar ${STAGEDIR}${PREFIX}/share/java/mindterm/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for DOC in CHANGES FAQ FEATURES PLATFORMS TODO mindterm-ssh.html ${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/minisign/Makefile b/security/minisign/Makefile index 12d5b8e786f6..04e9ffd817bc 100644 --- a/security/minisign/Makefile +++ b/security/minisign/Makefile @@ -1,21 +1,19 @@ -# Created by: Mark Felder - PORTNAME= minisign PORTVERSION= 0.9 CATEGORIES= security MAINTAINER= feld@FreeBSD.org COMMENT= Simple tool to sign files and verify signatures LICENSE= ISCL LIB_DEPENDS= libsodium.so:security/libsodium USES= cmake localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= jedisct1 PLIST_FILES= bin/minisign share/man/man1/minisign.1.gz .include diff --git a/security/monkeysphere/Makefile b/security/monkeysphere/Makefile index 76a9197ea1ec..fd71f394da5d 100644 --- a/security/monkeysphere/Makefile +++ b/security/monkeysphere/Makefile @@ -1,64 +1,62 @@ -# Created by: Daniel Kahn Gillmor - PORTNAME= monkeysphere PORTVERSION= 0.43 CATEGORIES= security MAINTAINER= egypcio@FreeBSD.org COMMENT= Use the OpenPGP web of trust to verify ssh connections LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libassuan.so:security/libassuan \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= gpg2:security/gnupg \ lockfile:mail/procmail \ bash:shells/bash \ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA USES= gmake perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= dkg GH_TAGNAME= ${PORTNAME}_${PORTVERSION} SHEBANG_FILES= src/monkeysphere* \ src/share/c* src/share/defaultenv src/share/keytrans \ src/transitions/0.23 src/transitions/0.28 \ tests/basic tests/common tests/keytrans tests/phony* USERS= monkeysphere GROUPS= monkeysphere MAKE_ARGS+= ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -i '' 's|/etc/monkeysphere|${PREFIX}/etc/monkeysphere|g' \ ${WRKSRC}/etc/*.conf ${WRKSRC}/examples/* \ ${WRKSRC}/man/man1/* ${WRKSRC}/man/man7/* ${WRKSRC}/man/man8/* \ ${WRKSRC}/src/monkeysphere* \ ${WRKSRC}/src/share/c* ${WRKSRC}/src/share/defaultenv ${WRKSRC}/src/share/keytrans \ ${WRKSRC}/src/share/m/* ${WRKSRC}/src/share/mh/* \ ${WRKSRC}/tests/basic ${WRKSRC}/tests/keytrans ${WRKSRC}/tests/phony* @${REINPLACE_CMD} -i '' 's|/usr/share/monkeysphere|${PREFIX}/share/monkeysphere|g' \ ${WRKSRC}/etc/*.conf ${WRKSRC}/examples/* \ ${WRKSRC}/man/man1/* ${WRKSRC}/man/man7/* ${WRKSRC}/man/man8/* \ ${WRKSRC}/src/monkeysphere* \ ${WRKSRC}/src/share/c* ${WRKSRC}/src/share/defaultenv ${WRKSRC}/src/share/keytrans \ ${WRKSRC}/src/share/m/* ${WRKSRC}/src/share/mh/* \ ${WRKSRC}/tests/basic ${WRKSRC}/tests/keytrans ${WRKSRC}/tests/phony* @${REINPLACE_CMD} -i '' 's|/var/lib/monkeysphere|/var/monkeysphere|g' \ ${WRKSRC}/etc/*.conf ${WRKSRC}/examples/* \ ${WRKSRC}/man/man1/* ${WRKSRC}/man/man7/* ${WRKSRC}/man/man8/* \ ${WRKSRC}/src/monkeysphere* \ ${WRKSRC}/src/share/c* ${WRKSRC}/src/share/defaultenv ${WRKSRC}/src/share/keytrans \ ${WRKSRC}/src/share/m/* ${WRKSRC}/src/share/mh/* \ ${WRKSRC}/tests/basic ${WRKSRC}/tests/keytrans ${WRKSRC}/tests/phony* post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/agent-transfer .include diff --git a/security/munge/Makefile b/security/munge/Makefile index 77b58ab01373..be1a8f7365d1 100644 --- a/security/munge/Makefile +++ b/security/munge/Makefile @@ -1,26 +1,24 @@ -# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> - PORTNAME= munge DISTVERSION= 0.5.14 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/dun/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Authentication service for creating and validating credentials LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual USES= cpe libtool pathfix perl5 ssl tar:xz CPE_VENDOR= opensuse GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_RC_SUBR= munged INSTALL_TARGET= install-strip CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE} .include diff --git a/security/n2n/Makefile b/security/n2n/Makefile index c0c02eb0234f..8217f80b88bc 100644 --- a/security/n2n/Makefile +++ b/security/n2n/Makefile @@ -1,47 +1,45 @@ -# Created by: Babak Farrokhi - PORTNAME= n2n PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR} CATEGORIES= security net net-vpn MAINTAINER= farrokhi@FreeBSD.org COMMENT= Layer Two Peer-to-peer VPN LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf gmake ssl GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORT_V_MAJOR= 2 PORT_V_MINOR= 8 PORT_V_PATCH= 0 USE_GITHUB= yes GH_ACCOUNT= ntop PLIST_FILES= sbin/edge \ sbin/supernode \ man/man1/supernode.1.gz \ man/man7/n2n.7.gz \ man/man8/edge.8.gz LIB_DEPENDS+= libzstd.so:archivers/zstd post-patch: @${SED} -e "s/@N2N_MAJOR@/${PORT_V_MAJOR}/g" \ -e "s/@N2N_MINOR@/${PORT_V_MINOR}/g" \ -e "s/@N2N_PATCH@/${PORT_V_PATCH}/g" \ -e "s/@N2N_VERSION_SHORT@/${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}/g" \ ${WRKSRC}/configure.seed >${WRKSRC}/configure.ac do-install: ${INSTALL_PROGRAM} ${WRKSRC}/edge ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/supernode ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/edge.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/supernode.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/n2n.7 ${STAGEDIR}${MANPREFIX}/man/man7 .include diff --git a/security/ncrack/Makefile b/security/ncrack/Makefile index 04cb8e20e660..544461c41019 100644 --- a/security/ncrack/Makefile +++ b/security/ncrack/Makefile @@ -1,22 +1,20 @@ -# Created by: David E. Thiel - PORTNAME= ncrack DISTVERSION= 0.7 CATEGORIES= security MAINTAINER= se@FreeBSD.org COMMENT= High-speed network authentication cracking tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake ssl USE_GITHUB= yes GH_ACCOUNT= nmap GNU_CONFIGURE= yes CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .include diff --git a/security/ncrypt/Makefile b/security/ncrypt/Makefile index 2c67fc158927..dbe845345768 100644 --- a/security/ncrypt/Makefile +++ b/security/ncrypt/Makefile @@ -1,32 +1,30 @@ -# Created by: Frank Laszlo - PORTNAME= ncrypt PORTVERSION= 0.8.1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION:R}.0 MAINTAINER= ports@FreeBSD.org COMMENT= Advanced AES file encryption tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= ld: error: duplicate symbol: ROUNDS BROKEN_FreeBSD_14= ld: error: duplicate symbol: ROUNDS USES= tar:tgz GNU_CONFIGURE= yes PLIST_FILES= bin/ncrypt bin/nrm post-patch: @${REINPLACE_CMD} -e \ 's|getopt.$$(OBJEXT) || ; \ s|getopt1.$$(OBJEXT) || ; \ s|getopt.c || ; \ s|getopt1.c ||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-O0|| ; \ s|"\($$CCOPTS\)"|"\1 $$CFLAGS"|' ${WRKSRC}/configure .include diff --git a/security/nettle/Makefile b/security/nettle/Makefile index 2242322e6c36..73be7b75ba80 100644 --- a/security/nettle/Makefile +++ b/security/nettle/Makefile @@ -1,64 +1,62 @@ -# Created by: ijliao - PORTNAME= nettle PORTVERSION= 3.8 CATEGORIES= security MASTER_SITES= GNU \ https://www.lysator.liu.se/~nisse/archive/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Low-level cryptographic library LICENSE= GPLv2+ LGPL3 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYINGv2 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LESSERv3 BUILD_DEPENDS= gmp>=6.1.0:math/gmp LIB_DEPENDS= libgmp.so:math/gmp USES= compiler:c11 cpe gmake localbase makeinfo pathfix CONFIGURE_ARGS= --enable-shared CONFIGURE_ENV= M4="/usr/bin/m4 -g" GNU_CONFIGURE= yes TEST_TARGET= check USE_LDCONFIG= yes INFO= nettle CPE_VENDOR= nettle_project OPTIONS_DEFINE= DOCS EXAMPLES EXAMPLES_CFLAGS= -I${OPENSSLINC} EXAMPLES_USES= ssl .include .if ${ARCH} == "sparc64" CONFIGURE_ENV+= CCPIC=-fPIC .endif post-patch: @${REINPLACE_CMD} -e '/libdir=/ s|lib32|lib|' ${WRKSRC}/configure .if ${ARCH} == "mips64" @${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure .endif post-patch-EXAMPLES-off: @${REINPLACE_CMD} -e '/SUBDIRS = / s| examples||' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} NEWS README nettle.html nettle.pdf ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${INSTALL_PROGRAM} base16dec base16enc base64dec base64enc ecc-benchmark hogweed-benchmark nettle-benchmark random-prime rsa-decrypt rsa-encrypt rsa-keygen rsa-sign rsa-verify ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.[ch] ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/nextcloud-end_to_end_encryption/Makefile b/security/nextcloud-end_to_end_encryption/Makefile index 34b2a5231004..a0386d3181c4 100644 --- a/security/nextcloud-end_to_end_encryption/Makefile +++ b/security/nextcloud-end_to_end_encryption/Makefile @@ -1,34 +1,32 @@ -# Created by: Bernard Spil - PORTNAME= end_to_end_encryption PORTVERSION= 1.10.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/${PKGNAMEPREFIX}releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//} MAINTAINER= brnrd@freebsd.org COMMENT= End-to-End Encryption app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=24:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${RM} ${STAGEDIR}${WWWDIR}/COPYING @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-passman/Makefile b/security/nextcloud-passman/Makefile index 325c4eb3ef1d..4d39d1a4e3fe 100644 --- a/security/nextcloud-passman/Makefile +++ b/security/nextcloud-passman/Makefile @@ -1,33 +1,31 @@ -# Created by: Bernard Spil - PORTNAME= passman PORTVERSION= 2.4.1 CATEGORIES= security MASTER_SITES= https://releases.passman.cc/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}_${PORTVERSION} DIST_SUBDIR= nextcloud MAINTAINER= brnrd@FreeBSD.org COMMENT= Full featured password manager for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-twofactor_admin/Makefile b/security/nextcloud-twofactor_admin/Makefile index 1a9c44d381d6..e4664980a8c7 100644 --- a/security/nextcloud-twofactor_admin/Makefile +++ b/security/nextcloud-twofactor_admin/Makefile @@ -1,39 +1,37 @@ -# Created by: Bernard Spil - PORTNAME= twofactor_admin PORTVERSION= 3.2.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/ChristophWurst/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brnrd@FreeBSD.org COMMENT= Admin create one-time TOTP app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=17:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes NEXTCLOUD_USERNAME?= ${WWWOWN} NEXTCLOUD_GROUPNAME?= ${WWWGRP} PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \ NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME} WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-twofactor_nextcloud_notification/Makefile b/security/nextcloud-twofactor_nextcloud_notification/Makefile index f48c9079ebf5..668cc591c142 100644 --- a/security/nextcloud-twofactor_nextcloud_notification/Makefile +++ b/security/nextcloud-twofactor_nextcloud_notification/Makefile @@ -1,33 +1,31 @@ -# Created by: Bernard Spil - PORTNAME= twofactor_nextcloud_notification PORTVERSION= 3.4.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/nextcloud-releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DIST_SUBDIR= nextcloud MAINTAINER= brnrd@FreeBSD.org COMMENT= Use Nextcloud notification as MFA app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=22:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-twofactor_totp/Makefile b/security/nextcloud-twofactor_totp/Makefile index 0c45332099f4..bebd090b5f4d 100644 --- a/security/nextcloud-twofactor_totp/Makefile +++ b/security/nextcloud-twofactor_totp/Makefile @@ -1,40 +1,38 @@ -# Created by: Bernard Spil - PORTNAME= twofactor_totp PORTVERSION= 6.4.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/${PKGNAMEPREFIX}releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brnrd@FreeBSD.org COMMENT= TOTP multi-factor auth app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=21:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes NEXTCLOUD_USERNAME?= ${WWWOWN} NEXTCLOUD_GROUPNAME?= ${WWWGRP} WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \ NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME} WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) (cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} .include diff --git a/security/nextcloud-twofactor_u2f/Makefile b/security/nextcloud-twofactor_u2f/Makefile index f47309cfd752..de49d006276f 100644 --- a/security/nextcloud-twofactor_u2f/Makefile +++ b/security/nextcloud-twofactor_u2f/Makefile @@ -1,37 +1,35 @@ -# Created by: Bernard Spil - PORTNAME= twofactor_u2f PORTVERSION= 6.3.0 DISTVERSIONPREFIX= v CATEGORIES= security MASTER_SITES= https://github.com/${PKGNAMEPREFIX}releases/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/ PKGNAMEPREFIX= nextcloud- PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}/${DISTNAME}-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brnrd@FreeBSD.org COMMENT= U2F multi-factor auth app for Nextcloud LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Upstream deprecated this port in favor of twofactor_webauthn. Check\ https://github.com/nextcloud/twofactor_webauthn\#migration-from-two-factor-u2f\ for migration instructions EXPIRATION_DATE=2022-08-01 RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=20:www/nextcloud@${PHP_FLAVOR} USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/nextcloud/apps-pkg/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${RM} ${STAGEDIR}${WWWDIR}/COPYING .include diff --git a/security/ngrok/Makefile b/security/ngrok/Makefile index 2874db6fc868..cb104bb4ce14 100644 --- a/security/ngrok/Makefile +++ b/security/ngrok/Makefile @@ -1,31 +1,29 @@ -# Created by: John Hixson - PORTNAME= ngrok PORTVERSION= 2.2.8 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://bin.equinox.io/a/${${ARCH}_HASH}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd-${ARCH:S/i386/386/} DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} MAINTAINER= jhixson@FreeBSD.org COMMENT= Secure tunnels to localhost # run 'ngrok credits' for details LICENSE= NONE APACHE20 BSD3CLAUSE CC0-1.0 LGPL3+ MIT LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 i386 i386_HASH= jsV5s66bZvF amd64_HASH= b8MLqEs7iBz NO_WRKSUBDIR= yes PLIST_FILES= bin/ngrok NO_BUILD= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/nikto/Makefile b/security/nikto/Makefile index c5fd62ad2f41..5558cb96c833 100644 --- a/security/nikto/Makefile +++ b/security/nikto/Makefile @@ -1,54 +1,52 @@ -# Created by: pandzilla - PORTNAME= nikto PORTVERSION= 2.1.6 PORTEPOCH= 1 CATEGORIES= security www MAINTAINER= mbeis@xs4all.nl COMMENT= Web and CGI vulnerability scanner with SSL support LICENSE= GPLv2 USES= cpe perl5 shebangfix CPE_VENDOR= cirt.net USE_PERL5= run GH_ACCOUNT= sullo USE_GITHUB= yes OPTIONS_DEFINE= SSLEAY DOCS OPTIONS_DEFAULT=SSLEAY SSLEAY_DESC= Use NET::SSLeay for ssl scanning SSLEAY_RUN_DEPENDS= p5-Net-SSLeay>0:security/p5-Net-SSLeay NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= nikto.pl WRKSRC_SUBDIR= program post-patch: .SILENT ${REINPLACE_CMD} -e \ 's|/etc/nikto.conf|${PREFIX}/etc/nikto.conf|' ${WRKSRC}/nikto.pl ${REINPLACE_CMD} -Ee \ 's|# (EXECDIR=).*/nikto|\1${DATADIR}| ; \ s|# (DBDIR=).*/databases|\1${DATADIR}/databases| ; \ s|# (PLUGINDIR=).*/plugins|\1${DATADIR}/plugins| ; \ s|# (TEMPLATEDIR=).*/templates|\1${DATADIR}/templates| ; \ s|# (DOCDIR=).*/docs|\1${DOCSDIR}|' ${WRKSRC}/nikto.conf do-install: .SILENT ${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${STAGEDIR}${PREFIX}/bin/nikto ${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${STAGEDIR}${PREFIX}/man/man1/nikto.1 ${INSTALL_DATA} ${WRKSRC}/nikto.conf ${STAGEDIR}${PREFIX}/etc/nikto.conf.sample ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/replay.pl ${STAGEDIR}${DATADIR} .for i in databases plugins templates cd ${WRKSRC}; ${COPYTREE_SHARE} ${i} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs; ${INSTALL_DATA} CHANGES.txt LICENSE.txt nikto.dtd \ nikto_manual.html ${STAGEDIR}${DOCSDIR} .include diff --git a/security/nist-kat/Makefile b/security/nist-kat/Makefile index 2214861c1c71..1c659997b20b 100644 --- a/security/nist-kat/Makefile +++ b/security/nist-kat/Makefile @@ -1,40 +1,38 @@ -# Created by: John-Mark Gurney - PORTNAME= nist-kat DISTVERSION= 0.0.2015.02.23 PORTREVISION= 1 CATEGORIES= security BASE_URL= https://csrc.nist.gov/groups/STM/cavp/documents MASTER_SITES= ${BASE_URL}/aes/:aes MASTER_SITES+= ${BASE_URL}/des/:des MASTER_SITES+= ${BASE_URL}/mac/:mac MASTER_SITES+= ${BASE_URL}/shs/:shs DISTFILES= KAT_AES.zip:aes DISTFILES+= XTSTestVectors.zip:aes DISTFILES+= KAT_TDES.zip:des DISTFILES+= ccmtestvectors.zip:mac DISTFILES+= gcmtestvectors.zip:mac DISTFILES+= hmactestvectors.zip:mac DISTFILES+= shabytetestvectors.zip:shs MAINTAINER= jmg@FreeBSD.org COMMENT= Collection of NIST's Known Answer Test Vectors LICENSE= PD # We want each dist file in it's own subdir EXTRACT_AFTER_ARGS= -s ":^:nist-kat/$${file%.zip}/:" NO_BUILD= NO_WRKSUBDIR= post-extract: # The SHA test distribution already includes a subdir (cd ${WRKSRC}/${PORTNAME} && ${MV} shabytetestvectors tmp && \ ${MV} tmp/shabytetestvectors . && ${RMDIR} tmp) do-install: ${MKDIR} ${STAGEDIR}${LOCALBASE}/share && \ (cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/security/nitrokey-app/Makefile b/security/nitrokey-app/Makefile index 310ffe81a5f6..89e2afeb8cc2 100644 --- a/security/nitrokey-app/Makefile +++ b/security/nitrokey-app/Makefile @@ -1,29 +1,27 @@ -# Created by: Thibault Payet - PORTNAME= nitrokey-app DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 CATEGORIES= security MAINTAINER= monwarez@mailoo.org COMMENT= Nitrokey App is an application created to manage Nitrokey devices LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSES/GPLv3 LIB_DEPENDS= libnitrokey.so:security/libnitrokey USES= cmake compiler:c++11-lang pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= Nitrokey GH_TUPLE= Nitrokey:nitrokey-app:${DISTVERSIONPREFIX}${DISTVERSION}\ tplgy:cppcodec:61d9b04:cppcodec USE_QT= buildtools_build concurrent gui linguisttools_build qmake_build svg widgets post-extract: @${RMDIR} ${WRKSRC}/3rdparty/cppcodec @${LN} -sf ${WRKDIR}/cppcodec-61d9b04 ${WRKSRC}/3rdparty/cppcodec .include diff --git a/security/nmap/Makefile b/security/nmap/Makefile index c2223cd54aec..d836aa9f6f21 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -1,90 +1,88 @@ -# Created by: David O'Brien (obrien@NUXI.com) - PORTNAME= nmap DISTVERSION= 7.91 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://nmap.org/dist/ \ LOCAL/ohauer MAINTAINER?= cy@FreeBSD.org COMMENT?= Port scanning utility for large networks # nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605) # https://nmap.org/book/man-legal.html # Install the nmap modified license because of # http://insecure.org/news/download-com-fiasco.html LICENSE= NPSL LICENSE_NAME= Nmap Public Source License LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell LICENSE_FILE= ${WRKSRC}/LICENSE .if !defined(MASTERDIR) LIB_DEPENDS= libpcre.so:devel/pcre USES= tar:bzip2 gmake cpe GNU_CONFIGURE= yes OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS PCAP SSH2 SSL OPTIONS_DEFAULT=SSH2 SSL PCAP_DESC= Build with libpcap from nmap SSH2_DESC= SSH2 protocol support PCAP_CONFIGURE_ON= --with-libpcap=included SSH2_CONFIGURE_ON= --with-libssh2=included SSH2_CONFIGURE_OFF= --without-libssh2 SSH2_IMPLIES= SSL SSL_USES= ssl SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} SSL_CONFIGURE_OFF= --without-openssl SSL_CFLAGS= -I${OPENSSLINC} SSL_VARS= STRIP_FILES+=ncat DOCS= CHANGELOG HACKING STRIP_FILES+= nmap nping CONFIGURE_ARGS+=--without-localdirs \ --without-zenmap \ --without-ndiff \ --with-libpcre=${LOCALBASE} \ --with-liblua=included \ --without-nmap-update .include .if ${PORT_OPTIONS:MPCAP} BROKEN_FreeBSD_14= Conflicts with pcap in base .endif # XXX limit results if we do a grep in the sources! post-extract: @${RM} -r ${WRKSRC}/mswin32 .if exists(/usr/lib/libibverbs.a) # Link with libibverbs is needed by static libpcap post-patch-PCAP-on: @${REINPLACE_CMD} -E -e "s|(PCAP_LIBS=['\"].*)(['\"])$$|\1 -libverbs\2|" \ ${WRKSRC}/configure \ ${WRKSRC}/nping/configure \ ${WRKSRC}/ncat/configure .endif post-configure: @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile pre-install: ${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete post-install: ${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/bin/|} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/security/nss/Makefile b/security/nss/Makefile index 36419727a3cf..5c84708f1f19 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -1,122 +1,120 @@ -# Created by: Maxim Sobolev - PORTNAME= nss PORTVERSION= 3.80 CATEGORIES= security MASTER_SITES= MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src MAINTAINER= gecko@FreeBSD.org COMMENT= Libraries to support development of security-enabled applications LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_powerpc64le= as:devel/binutils LIB_DEPENDS= libnspr4.so:devel/nspr \ libsqlite3.so:databases/sqlite3 TEST_DEPENDS= bash:shells/bash USES= cpe gmake perl5 WRKSRC_SUBDIR= nss USE_LDCONFIG= yes CPE_VENDOR= mozilla CPE_PRODUCT= network_security_services USE_PERL5= build MAKE_ENV= NSPR_LIB_DIR="${LOCALBASE}/lib" \ SQLITE_INCLUDE_DIR="${LOCALBASE}/include" \ FREEBL_LOWHASH=1 \ NSS_ENABLE_WERROR=0 \ NSS_DISABLE_GTESTS=1 \ NSS_USE_SYSTEM_SQLITE=1 CFLAGS+= -I${LOCALBASE}/include/nspr -Wno-error=unused-function SUB_FILES= nss-config nss.pc SUB_LIST= PORTVERSION=${PORTVERSION} DIST= ${WRKSRC:H}/dist EXTRACT_AFTER_ARGS=--exclude */lib/zlib --exclude */lib/dbm --exclude */lib/sqlite INSTALL_BINS= certutil cmsutil crlutil derdump makepqg \ mangle modutil ocspclnt oidcalc p7content p7env p7sign \ p7verify pk12util rsaperf shlibsign signtool signver \ ssltap strsclnt symkeyutil vfychain vfyserv OPTIONS_DEFINE= DEBUG OPTIONS_DEFINE_powerpc= VSX OPTIONS_DEFINE_powerpc64= VSX VSX_CFLAGS= -DUSE_PPC_CRYPTO VSX_DESC= Use VSX optimized routines (POWER8 or newer) .include .if ! ${PORT_OPTIONS:MDEBUG} MAKE_ENV+= BUILD_OPT=1 BINS= ${DIST}/${OPSYS}${OSREL}_OPT.OBJ .else BINS= ${DIST}/${OPSYS}${OSREL}_DBG.OBJ .endif .if ${ARCH} == armv6 MAKE_ENV+= NSS_DISABLE_ARM32_NEON=1 .endif .if ${ARCH} == powerpc64 || ${ARCH} == powerpc EXTRA_PATCHES= ${FILESDIR}/${ARCH}${PPC_ABI:tl}-lib_freebl_scripts_gen.sh USES+= compiler:c++11-lang # -mcrypto -mvsx .if ! ${PORT_OPTIONS:MVSX} MAKE_ENV+= NSS_DISABLE_CRYPTO_VSX=1 .endif .endif .if ${OPSYS} == FreeBSD && ${ARCH} == amd64 USE_BINUTILS= # intel-gcm.s CC+= -B${LOCALBASE}/bin .endif do-test: cd ${WRKSRC}/tests; \ ${SETENV} PATH="${BINS}/bin:${PATH}" \ LD_LIBRARY_PATH="${BINS}/lib" \ ${MAKE_ENV} \ bash ./all.sh @if ${GREP} -Fh '>Failed<' \ ${WRKSRC:H}/tests_results/security/*/results.html; then \ echo "Some tests have failed. Let ${MAINTAINER} know."; \ exit 1; \ else \ echo "All tests succeeded. Good news."; \ fi post-patch: @${REINPLACE_CMD} '/NSS_DEFAULT_SYSTEM/s,/etc,${PREFIX}&,' \ ${WRKSRC}/lib/sysinit/nsssysinit.c @cd ${WRKSRC} && \ ${FIND} . -name "*.c" -o -name "*.h" | \ ${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"||' .if ${ARCH:Mpowerpc*} pre-build: @cd ${WRKSRC}/lib/freebl/scripts && ./gen.sh .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/nss ${STAGEDIR}${PREFIX}/lib ${FIND} ${DIST}/public/nss -type l \ -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/nss \; ${INSTALL_LIB} ${BINS}/lib/*.so \ ${STAGEDIR}${PREFIX}/lib/ ${INSTALL_DATA} ${BINS}/lib/libcrmf.a \ ${STAGEDIR}${PREFIX}/lib/ .for bin in ${INSTALL_BINS} ${INSTALL_PROGRAM} ${BINS}/bin/${bin} \ ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_SCRIPT} ${WRKDIR}/nss-config ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/nss.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig .include diff --git a/security/nyx/Makefile b/security/nyx/Makefile index d537420e32ba..577f00819070 100644 --- a/security/nyx/Makefile +++ b/security/nyx/Makefile @@ -1,28 +1,26 @@ -# Created by: Carlo Strub - PORTNAME= nyx PORTVERSION= 2.1.0 PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= CHEESESHOP MAINTAINER= cs@FreeBSD.org COMMENT= Command-line monitor for Tor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stem>=1.7.1:security/py-stem@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist noflavors NO_ARCH= yes PLIST_FILES= man/man1/nyx.1.gz post-install: ${INSTALL_MAN} ${WRKSRC}/nyx.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile index b35b15042e81..49a743be2d76 100644 --- a/security/oath-toolkit/Makefile +++ b/security/oath-toolkit/Makefile @@ -1,48 +1,46 @@ -# Created by: Alex Dupre - PORTNAME= oath-toolkit PORTVERSION= 2.6.7 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SAVANNAH MAINTAINER= ale@FreeBSD.org COMMENT= Library, tools, and PAM module for OATH authentication LICENSE= GPLv3+ LGPL20+ LICENSE_COMB= multi LIB_DEPENDS= libltdl.so:devel/libltdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} USES= gmake libtool pathfix pkgconfig USE_GNOME= libxslt USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= PSKC DOCS OPTIONS_DEFAULT=PSKC OPTIONS_SUB= yes PSKC_DESC= Portable Symmetric Key Container (RFC 6030) support PSKC_CONFIGURE_ENABLE= pskc PSKC_CONFIGURE_ON= --with-xml-prefix=${LOCALBASE} PSKC_LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libxmlsec1.so:security/xmlsec1 DOCS= AUTHORS ChangeLog NEWS README PORTDOCS= * post-install: .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR}/ .endfor ${MKDIR} ${STAGEDIR}/${DOCSDIR}/pam_oath ${INSTALL_DATA} ${WRKSRC}/pam_oath/README \ ${STAGEDIR}/${DOCSDIR}/pam_oath/ .include diff --git a/security/ocaml-cryptgps/Makefile b/security/ocaml-cryptgps/Makefile index 685428fafb43..27a486dbfcd6 100644 --- a/security/ocaml-cryptgps/Makefile +++ b/security/ocaml-cryptgps/Makefile @@ -1,33 +1,31 @@ -# Created by: Stanislav Sedov - PORTNAME= cryptgps PORTVERSION= 0.2.1 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://download.camlcity.org/download/ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= Symmetric cryptographic algorithms package for OCaml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAMLFIND_PLIST= yes ALL_TARGET= all opt PORTDOCS= * DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile index 5f99c2576744..69d1758017ab 100644 --- a/security/ocaml-cryptokit/Makefile +++ b/security/ocaml-cryptokit/Makefile @@ -1,34 +1,32 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= cryptokit PORTVERSION= 1.11 CATEGORIES= security PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= Variety of cryptographic primitives for Objective Caml BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild \ ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith DESTDIRNAME= destdir HAS_CONFIGURE= yes CONFIGURE_ARGS= --docdir ${OCAML_DOCSDIR} USE_GITHUB= yes GH_ACCOUNT= xavierleroy GH_TAGNAME= release${PORTVERSION:S/.//g} USE_OCAML= yes USE_OCAML_LDCONFIG= yes USE_OCAML_FINDLIB= yes USE_OCAMLFIND_PLIST= yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_ALL_TARGET= doc .include diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile index 150b4ec8c09f..aaa3bc68042e 100644 --- a/security/ocaml-ssl/Makefile +++ b/security/ocaml-ssl/Makefile @@ -1,38 +1,36 @@ -# Created by: Jaap Boender - PORTNAME= ssl PORTVERSION= 0.5.9 CATEGORIES= security devel PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= OpenSSL bindings for OCaml LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dune:devel/ocaml-dune USES= ssl USE_GITHUB= yes GH_ACCOUNT= savonet GH_PROJECT= ocaml-ssl USE_OCAML= yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES do-build: cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER} do-install: cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ --libdir=${OCAML_SITELIBDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/oidentd/Makefile b/security/oidentd/Makefile index 443c26ba7e61..c2daf4eba498 100644 --- a/security/oidentd/Makefile +++ b/security/oidentd/Makefile @@ -1,36 +1,34 @@ -# Created by: trevor - PORTNAME= oidentd DISTVERSION= 2.5.1 CATEGORIES= security MASTER_SITES= https://files.janikrabe.com/pub/oidentd/releases/${DISTVERSION}/ MAINTAINER= oliver@FreeBSD.org COMMENT= Ident server that supports user-defined ident strings LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= bison tar:xz USE_RC_SUBR= oidentd GNU_CONFIGURE= yes PLIST_FILES= sbin/oidentd etc/oidentd.conf.sample \ etc/oidentd_masq.conf.sample MANPAGES= oidentd.conf.5 oidentd_masq.conf.5 oidentd.8 .for man in ${MANPAGES} PLIST_FILES+= man/man${man:E}/${man}.gz .endfor CONFIGURE_ARGS= --disable-masq do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/oidentd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${FILESDIR}/oidentd.conf.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${FILESDIR}/oidentd_masq.conf.sample ${STAGEDIR}${PREFIX}/etc .for MANFILE in ${MANPAGES} @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/doc/${MANFILE} ${INSTALL_MAN} ${WRKSRC}/doc/${MANFILE} ${STAGEDIR}${PREFIX}/man/man${MANFILE:E} .endfor .include diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile index 0aa73d91d39d..cc6a93e367bf 100644 --- a/security/oinkmaster/Makefile +++ b/security/oinkmaster/Makefile @@ -1,40 +1,38 @@ -# Created by: ijliao - PORTNAME= oinkmaster PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Help you update your snort rules after each update LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= wget:ftp/wget USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= oinkmaster.pl NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/oinkmaster \ etc/oinkmaster.conf.sample \ man/man1/oinkmaster.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${STAGEDIR}${PREFIX}/bin/oinkmaster ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${STAGEDIR}${PREFIX}/etc/oinkmaster.conf.sample ${INSTALL_MAN} ${WRKSRC}/oinkmaster.1 ${STAGEDIR}${PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/op/Makefile b/security/op/Makefile index 5d5ec6108588..981974d98b3b 100644 --- a/security/op/Makefile +++ b/security/op/Makefile @@ -1,28 +1,26 @@ -# Created by: Emanuel Haupt - PORTNAME= op PORTVERSION= 1.34 PORTREVISION= 2 CATEGORIES= security MAINTAINER= ehaupt@FreeBSD.org COMMENT= Controlled privilege escalation tool LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= dagwieers GNU_CONFIGURE= yes CONFLICTS_INSTALL= security/1password-client post-configure: @${REINPLACE_CMD} -e 's|\(OPENLOG_VOID\) 0|\1 1|' ${WRKSRC}/config.h post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/op.d ${MV} ${STAGEDIR}${PREFIX}/etc/op.conf-dist \ ${STAGEDIR}${PREFIX}/etc/op.conf.sample .include diff --git a/security/openconnect-gui/Makefile b/security/openconnect-gui/Makefile index 278ea63c8afa..f86899a6e245 100644 --- a/security/openconnect-gui/Makefile +++ b/security/openconnect-gui/Makefile @@ -1,37 +1,35 @@ -# Created by: Piotr Kubaj - PORTNAME= openconnect-gui PORTVERSION= 1.5.3 DISTVERSIONPREFIX=v PORTREVISION= 2 MASTER_SITES= https://gitlab.com/openconnect/openconnect-gui/-/archive/v${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} CATEGORIES= security net-vpn MAINTAINER= pkubaj@FreeBSD.org COMMENT= Graphical OpenConnect client LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= openconnect:security/openconnect LIB_DEPENDS= libgnutls.so:security/gnutls \ libspdlog.so:devel/spdlog \ libfmt.so:devel/libfmt RUN_DEPENDS= openconnect:security/openconnect \ vpnc-scripts>=0:sysutils/vpnc-scripts USES= cmake:insource compiler:c++11-lang pkgconfig qt:5 USE_GITHUB= nodefault GH_TUPLE= qtproject:qt-solutions:a8dda66d:qtsolutions/external/src/qt-solutions-master USE_QT= buildtools_build concurrent core gui network qmake_build widgets CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release PLIST_FILES= bin/openconnect-gui do-install: ${MV} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile index a9c1049d418a..b1e147518103 100644 --- a/security/openconnect/Makefile +++ b/security/openconnect/Makefile @@ -1,64 +1,62 @@ -# Created by: Damian Gerow - PORTNAME= openconnect PORTVERSION= 8.20 PORTREVISION= 2 CATEGORIES= security net-vpn MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Client for Cisco's AnyConnect SSL VPN LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libxml2.so:textproc/libxml2 RUN_DEPENDS= vpnc-script:sysutils/vpnc-scripts GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --without-openssl-version-check --without-libpcsclite \ --without-libpskc USES= cpe gmake iconv libtool pkgconfig python:build ssl shebangfix CPE_VENDOR= infradead INSTALL_TARGET= install-strip USE_LDCONFIG= yes SHEBANG_LANG+= SH SH_OLD_CMD+= /system/bin/sh SHEBANG_FILES= trojans/csd-post.sh trojans/csd-wrapper.sh \ trojans/tncc-emulate.py \ trojans/hipreport-android.sh trojans/tncc-wrapper.py PORTDOCS= * OPTIONS_DEFINE= DOCS PROXY GNUTLS GSSAPI LZ4 P11 STOKEN OPTIONS_DEFAULT=GSSAPI LZ4_DESC= LZ4-based compression LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_WITH= lz4 PROXY_DESC= Automatic proxy configuration via libproxy PROXY_LIB_DEPENDS= libproxy.so:net/libproxy PROXY_CONFIGURE_WITH= libproxy GNUTLS_DESC= Use GnuTLS instead of OpenSSL (experimental) GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSSAPI_CONFIGURE_WITH= gssapi P11_DESC= PKCS \#11 support via libp11 P11_LIB_DEPENDS= libp11.so:security/libp11 STOKEN_DESC= With RSA soft token support via libstoken STOKEN_LIB_DEPENDS= libstoken.so:security/stoken \ libtomcrypt.so:security/libtomcrypt STOKEN_CONFIGURE_WITH= stoken post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR} .include diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile index abfc54b24002..4f405d86fb95 100644 --- a/security/opencryptoki/Makefile +++ b/security/opencryptoki/Makefile @@ -1,61 +1,59 @@ -# Created by: Ralf Meister - PORTNAME= opencryptoki PORTVERSION= 3.18.0 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= hrs@FreeBSD.org COMMENT= Open PKCS\#11 implementation library LICENSE= CPL LICENSE_NAME= Common Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libtspi.so:security/trousers \ libepoll-shim.so:devel/libepoll-shim USES= alias autoreconf bison gmake libtool localbase ssl tar:tgz USE_OPENLDAP= yes USE_LDCONFIG= ${PREFIX}/lib/opencryptoki USE_GITHUB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LOCALBASE=${LOCALBASE} CONFIGURE_ARGS= --enable-swtok \ --enable-tpmtok \ --enable-icsftok \ --disable-crtok \ --disable-aeptok \ --disable-ccatok \ --disable-bcomtok \ --disable-pkcscca_migrate \ --with-lockdir=/var/run/opencryptoki \ --with-logdir=/var/log/opencryptoki \ --localstatedir=/var \ --with-openssl=${OPENSSLBASE} \ --with-pkcs11user=${USERS} \ --with-pkcs11group=${GROUPS} \ ac_cv_path_CHGRP=true INSTALL_TARGET= install-strip USE_RC_SUBR= pkcsslotd SUB_FILES= pkg-message SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" USERS= _pkcs11 GROUPS= _pkcs11 post-patch: cd ${WRKSRC} && \ ${REINPLACE_CMD} 's,%%DLLDIR%%,${PREFIX}/lib/opencryptoki/stdll,' \ usr/sbin/pkcsslotd/opencryptoki.conf post-install: ${MV} ${STAGEDIR}${DOCSDIR}/strength-example.conf \ ${STAGEDIR}${ETCDIR}/strength.conf.sample ${MV} ${STAGEDIR}${DOCSDIR}/policy-example.conf \ ${STAGEDIR}${ETCDIR}/policy.conf.sample ${RMDIR} ${STAGEDIR}/var/run/opencryptoki/* \ ${STAGEDIR}/var/run/opencryptoki .include diff --git a/security/openct/Makefile b/security/openct/Makefile index 84d8d1e63e3c..267d086a7f2f 100644 --- a/security/openct/Makefile +++ b/security/openct/Makefile @@ -1,58 +1,56 @@ -# Created by: Janos Mohacsi - PORTNAME= openct PORTVERSION= 0.6.20 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF/opensc/${PORTNAME} MAINTAINER= ale@FreeBSD.org COMMENT= Middleware framework for smart card terminals LICENSE= LGPL21 LIB_DEPENDS= libltdl.so:devel/libltdl OPTIONS_DEFINE= PCSC DOCS EXAMPLES PCSC_DESC= Enable PC/SC support GNU_CONFIGURE= yes USES= gmake libtool pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= openct SUB_FILES= etoken.conf CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \ LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" CONFIGURE_ARGS= --localstatedir=/var --enable-usb PORTDOCS= * PORTEXAMPLES= * .include .if ${PORT_OPTIONS:MPCSC} LIB_DEPENDS+= libpcsclite.so:devel/pcsc-lite CONFIGURE_ARGS+=--enable-pcsc PLIST_SUB+= PCSC="" .else PLIST_SUB+= PCSC="@comment " .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+=--enable-doc .endif post-patch: @${REINPLACE_CMD} -e '/PKG_CONFIG/s/libusb/&-0.1/' \ -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/configure @${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \ ${WRKSRC}/doc/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/opensaml/Makefile b/security/opensaml/Makefile index 6b0e6580a172..489767c09483 100644 --- a/security/opensaml/Makefile +++ b/security/opensaml/Makefile @@ -1,33 +1,31 @@ -# Created by: Janos Mohacsi - PORTNAME= opensaml PORTVERSION= 3.2.1 CATEGORIES= security MASTER_SITES= http://shibboleth.net/downloads/c++-opensaml/${PORTVERSION}/ MAINTAINER= girgen@FreeBSD.org COMMENT= Open source implementation of SAML2 LICENSE= APACHE20 BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libcurl.so:ftp/curl \ liblog4shib.so:devel/log4shib \ libxmltooling.so:devel/xmltooling GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-doxygen-doc --disable-dependency-tracking USES= cpe gmake libtool pkgconfig tar:bzip2 ssl CPE_VENDOR= shibboleth USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \ ${WRKSRC}/doc/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.in .include diff --git a/security/opensc/Makefile b/security/opensc/Makefile index 86e4c153978c..4d76927694a3 100644 --- a/security/opensc/Makefile +++ b/security/opensc/Makefile @@ -1,72 +1,70 @@ -# Created by: Bruce M Simpson - PORTNAME= opensc DISTVERSION= 0.22.0 CATEGORIES= security devel MAINTAINER= ale@FreeBSD.org COMMENT= Libraries and utilities to access smart cards LICENSE= LGPL21 USES= autoreconf compiler:c11 cpe gmake libtool pkgconfig ssl CPE_VENDOR= ${PORTNAME}_project OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI OPTIONS_DEFINE= SM NOTIFY DOCS MANPAGES OPTIONS_DEFAULT=PCSC SM NOTIFY MANPAGES OPTIONS_SUB= yes PCSC_DESC= Use PC/SC backend OPENCT_DESC= Use OpenCT backend CTAPI_DESC= Use CT-API backend SM_DESC= Enable secure messaging support NOTIFY_DESC= Enable notification support USE_GITHUB= yes GH_ACCOUNT= OpenSC GH_PROJECT= ${GH_ACCOUNT} GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ENV= \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" CONFIGURE_ARGS= --with-completiondir=${PREFIX}/etc/bash_completion.d PORTDOCS= * MANPAGES_CONFIGURE_ENABLE= man OPENCT_LIB_DEPENDS= libopenct.so:security/openct OPENCT_CONFIGURE_ENABLE= openct PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite PCSC_CONFIGURE_ENABLE= pcsc CTAPI_CONFIGURE_ENABLE= ctapi SM_CONFIGURE_ENABLE= sm NOTIFY_USES= gnome NOTIFY_USE= GNOME=glib20 NOTIFY_CONFIGURE_ENABLE= notify DOCS_CONFIGURE_ENABLE= doc .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl CONFIGURE_ENV+= XSLTPROC="${LOCALBASE}/bin/xsltproc" CONFIGURE_ARGS+=--with-xsl-stylesheetsdir=${LOCALBASE}/share/xsl/docbook .else CONFIGURE_ENV+= XSLTPROC="${FALSE}" CONFIGURE_ARGS+=--without-xsl-stylesheetsdir .endif .include diff --git a/security/openscep/Makefile b/security/openscep/Makefile index 361c27038095..62d385ce8d08 100644 --- a/security/openscep/Makefile +++ b/security/openscep/Makefile @@ -1,71 +1,69 @@ -# Created by: Vsevolod Stakhov - PORTNAME= openscep PORTVERSION= 0.4.2 PORTREVISION= 11 CATEGORIES= security MASTER_SITES= http://openscep.othello.ch/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Open source scep server CONFLICTS_INSTALL= nss-3.* USES= apache:2.2+ gmake libtool ssl USE_OPENLDAP= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include LIBS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-html-install-dir="${PREFIX}/www/openscep" \ --with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \ --with-openscep-dir="${PREFIX}/etc/openscep" \ --with-pkiclientexe="${PREFIX}/www/cgi-bin/pkiclient.exe" CONF_DIR= ${PREFIX}/etc/${PORTNAME} LOCAL_CONF_FILES= openscep.cnf openscep.ldif openscep.schema slapd.conf SUB_FILES= pkg-message SUB_LIST= CONF_DIR="${CONF_DIR}" CONF_FILES="${LOCAL_CONF_FILES}" .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_12= unexpected type name 'issuer_and_subject_t': expected expression BROKEN_FreeBSD_13= unexpected type name 'issuer_and_subject_t': expected expression BROKEN_FreeBSD_14= unexpected type name 'issuer_and_subject_t': expected expression .endif .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Detected LibreSSL (unknown ASN1 functions) .endif post-patch: @${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|^\(install-data-am:\) install-data-local$$|\1|' \ ${WRKSRC}/ldap/Makefile.in ${WRKSRC}/openssl/Makefile.in @${REINPLACE_CMD} 's,sbindir),DESTDIR)$$(&,' \ ${WRKSRC}/openssl/Makefile.in @${REINPLACE_CMD} -E -e 's,(bin|sbin)dir},DESTDIR}$${&,' \ -e 's,-o \$$\(USER\) -g \$$\(GROUP\),,' \ ${WRKSRC}/scep/Makefile.in \ ${WRKSRC}/scepd/Makefile.in @${REINPLACE_CMD} -E 's,(CGIINSTALLDIR|PKICLIENTEXE)),DESTDIR)$$(&,' \ ${WRKSRC}/cgi-bin/Makefile.in @${REINPLACE_CMD} 's|HTMLINSTALLDIR)|DESTDIR)$$(&|' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/doc/Makefile.in \ ${WRKSRC}/html/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libscep.so @${MKDIR} ${STAGEDIR}${CONF_DIR} ${INSTALL_DATA} ${WRKSRC}/openssl/openscep.cnf \ ${STAGEDIR}${CONF_DIR}/openscep.cnf.sample .for f in openscep.ldif openscep.schema slapd.conf ${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${STAGEDIR}${CONF_DIR}/${f}.sample .endfor .include diff --git a/security/openssh-askpass/Makefile b/security/openssh-askpass/Makefile index 011ba1ae92c5..daf86a54bb1c 100644 --- a/security/openssh-askpass/Makefile +++ b/security/openssh-askpass/Makefile @@ -1,35 +1,33 @@ -# Created by: Kris Kennaway - PORTNAME= OpenSSH-askpass PORTVERSION= 1.2.4.1 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.jmknoble.net/software/x11-ssh-askpass/ DISTNAME= x11-ssh-askpass-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Graphical password applet for entering SSH passphrase LICENSE= MIT LICENSE_FILE= ${WRKSRC}/README USES= uidfix xorg USE_XORG= x11 xt sm ice DOCSDIR= ${PREFIX}/share/doc/ssh-askpass PLIST_FILES= bin/x11-ssh-askpass \ bin/ssh-askpass \ lib/X11/app-defaults/SshAskpass \ man/man1/ssh-askpass.1.gz \ man/man1/x11-ssh-askpass.1.gz PORTDOCS= README TODO ChangeLog OPTIONS_DEFINE= DOCS post-extract: ${INSTALL_DATA} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 6d3a77d740ea..bb3ad0cedb2e 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -1,241 +1,239 @@ -# Created by: dwcjr@inethouston.net - PORTNAME= openssh DISTVERSION= 9.0p1 PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= OPENBSD/OpenSSH/portable PKGNAMESUFFIX?= -portable MAINTAINER= bdrewery@FreeBSD.org COMMENT= The portable version of OpenBSD's OpenSSH LICENSE= OPENSSH LICENSE_NAME= OpenSSH Licenses LICENSE_FILE= ${WRKSRC}/LICENCE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.* openssh-portable-devel USES= alias autoreconf compiler:c11 cpe localbase ncurses \ pkgconfig ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --with-ssl-engine \ --with-mantype=man \ --with-Werror ETCOLD= ${PREFIX}/etc CPE_VENDOR= openbsd FLAVORS= default hpn gssapi default_CONFLICTS_INSTALL= openssh-portable-hpn openssh-portable-gssapi \ openssh-portable-x509 hpn_CONFLICTS_INSTALL= openssh-portable openssh-portable-gssapi \ openssh-portable-x509 hpn_PKGNAMESUFFIX= -portable-hpn gssapi_CONFLICTS_INSTALL= openssh-portable openssh-portable-hpn \ openssh-portable-x509 gssapi_PKGNAMESUFFIX= -portable-gssapi OPTIONS_DEFINE= DOCS PAM TCP_WRAPPERS LIBEDIT BSM \ HPN KERB_GSSAPI \ LDNS NONECIPHER XMSS FIDO_U2F BLACKLISTD OPTIONS_DEFAULT= LIBEDIT PAM TCP_WRAPPERS LDNS FIDO_U2F .if ${FLAVOR:U} == hpn OPTIONS_DEFAULT+= HPN NONECIPHER .endif .if ${FLAVOR:U} == gssapi OPTIONS_DEFAULT+= KERB_GSSAPI MIT .endif OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= MIT HEIMDAL HEIMDAL_BASE TCP_WRAPPERS_DESC= tcp_wrappers support BSM_DESC= OpenBSM Auditing KERB_GSSAPI_DESC= Kerberos/GSSAPI patch (req: GSSAPI) HPN_DESC= HPN-SSH patch LDNS_DESC= SSHFP/LDNS support HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) HEIMDAL_BASE_DESC= Heimdal Kerberos (base) MIT_DESC= MIT Kerberos (security/krb5) NONECIPHER_DESC= NONE Cipher support XMSS_DESC= XMSS key support (experimental) FIDO_U2F_DESC= FIDO/U2F support (security/libfido2) BLACKLISTD_DESC= FreeBSD blacklistd(8) support OPTIONS_SUB= yes PAM_EXTRA_PATCHES= ${FILESDIR}/extra-patch-pam-sshd_config TCP_WRAPPERS_EXTRA_PATCHES=${FILESDIR}/extra-patch-tcpwrappers LDNS_CONFIGURE_WITH= ldns=${LOCALBASE} LDNS_LIB_DEPENDS= libldns.so:dns/ldns LDNS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ldns HPN_CONFIGURE_WITH= hpn NONECIPHER_CONFIGURE_WITH= nonecipher MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal PAM_CONFIGURE_WITH= pam TCP_WRAPPERS_CONFIGURE_WITH= tcp-wrappers LIBEDIT_CONFIGURE_WITH= libedit LIBEDIT_USES= libedit BSM_CONFIGURE_ON= --with-audit=bsm FIDO_U2F_LIB_DEPENDS= libfido2.so:security/libfido2 FIDO_U2F_CONFIGURE_ON= --with-security-key-builtin FIDO_U2F_CONFIGURE_OFF= --disable-security-key BLACKLISTD_EXTRA_PATCHES= ${FILESDIR}/extra-patch-blacklistd ETCDIR?= ${PREFIX}/etc/ssh .include PATCH_SITES+= http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,hpn,gsskex # Must add this patch before HPN due to conflicts .if ${PORT_OPTIONS:MKERB_GSSAPI} || ${FLAVOR:U} == gssapi #BROKEN= KERB_GSSAPI No patch for ${DISTVERSION} yet. . if ${PORT_OPTIONS:MHPN} || ${PORT_OPTIONS:MNONECIPHER} # Needed glue for applying HPN patch without conflict EXTRA_PATCHES+= ${FILESDIR}/extra-patch-hpn-gss-glue . endif # - See https://sources.debian.org/data/main/o/openssh/ for which subdir to # pull from. GSSAPI_DEBIAN_SUBDIR= ${DISTVERSION}-1 # - Debian does not use a versioned filename so we trick fetch to make one for # us with the ?=/ trick. PATCH_SITES+= https://sources.debian.org/data/main/o/openssh/1:${GSSAPI_DEBIAN_SUBDIR}/debian/patches/gssapi.patch?dummy=/:gsskex # Bump this when updating the patch location GSSAPI_UPDATE_DATE= 20220203 PATCHFILES+= openssh-${DISTVERSION}-gsskex-all-20141021-debian-rh-${GSSAPI_UPDATE_DATE}.patch:-p1:gsskex EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gssapi-auth2-gss.c EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gssapi-kexgssc.c EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gssapi-kexgsss.c .endif .if ${PORT_OPTIONS:MBLACKLISTD} CONFIGURE_LIBS+= -lblacklist .endif # https://www.psc.edu/hpn-ssh https://github.com/rapier1/openssh-portable/tree/hpn-openssl1.1-7_7_P1 .if ${PORT_OPTIONS:MHPN} || ${PORT_OPTIONS:MNONECIPHER} #BROKEN= HPN: Not yet updated for ${DISTVERSION} yet. PORTDOCS+= HPN-README HPN_VERSION= 14v15 HPN_DISTVERSION= 7.7p1 #PATCH_SITES+= SOURCEFORGE/hpnssh/HPN-SSH%20${HPN_VERSION}%20${HPN_DISTVERSION}/:hpn #PATCHFILES+= ${PORTNAME}-${HPN_DISTVERSION}-hpnssh${HPN_VERSION}.diff.gz:-p1:hpn EXTRA_PATCHES+= ${FILESDIR}/extra-patch-hpn:-p2 .elif !${PORT_OPTIONS:MHPN} && !${PORT_OPTIONS:MNONECIPHER} # Apply compatibility patch EXTRA_PATCHES+= ${FILESDIR}/extra-patch-hpn-compat .endif CONFIGURE_ARGS+= --disable-utmp --disable-wtmp --disable-wtmpx --without-lastlog # Keep this last EXTRA_PATCHES+= ${FILESDIR}/extra-patch-version-addendum .if ${PORT_OPTIONS:MHEIMDAL_BASE} && ${PORT_OPTIONS:MKERB_GSSAPI} BROKEN= KERB_GSSAPI Requires either MIT or HEMIDAL, does not build with base Heimdal currently .endif .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have heimdal installed in base .endif .if ${PORT_OPTIONS:MMIT} || ${PORT_OPTIONS:MHEIMDAL} || ${PORT_OPTIONS:MHEIMDAL_BASE} . if ${PORT_OPTIONS:MHEIMDAL_BASE} CONFIGURE_LIBS+= -lgssapi_krb5 CONFIGURE_ARGS+= --with-kerberos5=/usr . else CONFIGURE_ARGS+= --with-kerberos5=${LOCALBASE} . endif . if ${OPENSSLBASE} == "/usr" CONFIGURE_ARGS+= --without-rpath LDFLAGS= # empty . endif .else . if ${PORT_OPTIONS:MKERB_GSSAPI} IGNORE= KERB_GSSAPI requires one of MIT HEIMDAL or HEIMDAL_BASE . endif .endif .if ${OPENSSLBASE} != "/usr" CONFIGURE_ARGS+= --with-ssl-dir=${OPENSSLBASE} .endif EMPTYDIR= /var/empty USE_RC_SUBR= openssh # After all CONFIGURE_ARGS+= --sysconfdir=${ETCDIR} --with-privsep-path=${EMPTYDIR} .if !empty(CONFIGURE_LIBS) CONFIGURE_ARGS+= --with-libs='${CONFIGURE_LIBS}' .endif CONFIGURE_ARGS+= --with-xauth=${LOCALBASE}/bin/xauth RC_SCRIPT_NAME= openssh VERSION_ADDENDUM_DEFAULT?= ${OPSYS}-${PKGNAME} CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-stringop-truncation -Wno-stringop-overflow SSH_ASKPASS_PATH?= ${LOCALBASE}/bin/ssh-askpass post-patch: @${REINPLACE_CMD} \ -e 's|install: \(.*\) host-key check-config|install: \1|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} \ -e 's|$$[{(]libexecdir[})]/ssh-askpass|${SSH_ASKPASS_PATH}|' \ ${WRKSRC}/Makefile.in ${WRKSRC}/configure.ac @${REINPLACE_CMD} \ -e 's|\(VersionAddendum\) none|\1 ${VERSION_ADDENDUM_DEFAULT}|' \ ${WRKSRC}/sshd_config @${REINPLACE_CMD} \ -e 's|%%SSH_VERSION_FREEBSD_PORT%%|${VERSION_ADDENDUM_DEFAULT}|' \ ${WRKSRC}/sshd_config.5 @${ECHO_CMD} '#define SSH_VERSION_FREEBSD_PORT "${VERSION_ADDENDUM_DEFAULT}"' >> \ ${WRKSRC}/version.h post-configure-XMSS-on: @${ECHO_CMD} "#define WITH_XMSS 1" >> ${WRKSRC}/config.h post-configure-BLACKLISTD-on: @${ECHO_CMD} "#define USE_BLACKLIST 1" >> ${WRKSRC}/config.h post-install: ${MV} ${STAGEDIR}${ETCDIR}/moduli \ ${STAGEDIR}${ETCDIR}/moduli.sample ${MV} ${STAGEDIR}${ETCDIR}/ssh_config \ ${STAGEDIR}${ETCDIR}/ssh_config.sample ${MV} ${STAGEDIR}${ETCDIR}/sshd_config \ ${STAGEDIR}${ETCDIR}/sshd_config.sample .if ${PORT_OPTIONS:MHPN} || ${PORT_OPTIONS:MNONECIPHER} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/HPN-README ${STAGEDIR}${DOCSDIR} .endif test: build cd ${WRKSRC} && ${SETENV} -i \ OBJ=${WRKDIR} ${MAKE_ENV:NHOME=*} \ TEST_SHELL=${SH} \ SUDO="${SUDO}" \ LOGNAME="${LOGNAME}" \ HOME="${HOME}" \ TEST_SSH_TRACE=yes \ PATH=${WRKSRC}:${PREFIX}/bin:${PREFIX}/sbin:${PATH} \ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} tests .include diff --git a/security/openssl-devel/Makefile b/security/openssl-devel/Makefile index 52dafb6d7635..6af44bd267cd 100644 --- a/security/openssl-devel/Makefile +++ b/security/openssl-devel/Makefile @@ -1,194 +1,192 @@ -# Created by: Dirk Froemberg - PORTNAME= openssl DISTVERSION= 3.0.5 CATEGORIES= security devel MASTER_SITES= https://www.openssl.org/source/ \ ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/ PKGNAMESUFFIX= -devel MAINTAINER= brnrd@FreeBSD.org COMMENT= TLSv1.3 capable SSL and crypto library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS_INSTALL= boringssl libressl libressl-devel openssl openssl-quictls HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config CONFIGURE_ENV= PERL="${PERL}" CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ --prefix=${PREFIX} USES= cpe perl5 USE_PERL5= build TEST_TARGET= test LDFLAGS_i386= -Wl,-znotext MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive CNF_LDFLAGS="${LDFLAGS}" MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= OPTIONS_GROUP= CIPHERS HASHES MODULES OPTIMIZE PROTOCOLS OPTIONS_GROUP_CIPHERS= ARIA DES GOST IDEA SM4 RC2 RC4 RC5 WEAK-SSL-CIPHERS OPTIONS_GROUP_HASHES= MD2 MD4 MDC2 RMD160 SM2 SM3 OPTIONS_GROUP_OPTIMIZE= ASM SSE2 THREADS OPTIONS_GROUP_MODULES= FIPS LEGACY OPTIONS_DEFINE_i386= I386 OPTIONS_GROUP_PROTOCOLS=NEXTPROTONEG SCTP SSL3 TLS1 TLS1_1 TLS1_2 OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \ RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2 OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \ ${${OSVERSION} > 1300000:?CRYPTODEV:} OPTIONS_GROUP_OPTIMIZE_amd64= EC .if ${MACHINE_ARCH} == "amd64" OPTIONS_GROUP_OPTIMIZE+= EC .elif ${MACHINE_ARCH} == "mips64el" OPTIONS_GROUP_OPTIMIZE+= EC .endif OPTIONS_SUB= yes ARIA_DESC= ARIA (South Korean standard) ASM_DESC= Assembler code ASYNC_DESC= Asynchronous mode CIPHERS_DESC= Block Cipher Support CRYPTODEV_DESC= /dev/crypto support CT_DESC= Certificate Transparency Support DES_DESC= (Triple) Data Encryption Standard EC_DESC= Optimize NIST elliptic curves FIPS_DESC= Build FIPS provider (Note: NOT yet FIPS validated) GOST_DESC= GOST (Russian standard) HASHES_DESC= Hash Function Support I386_DESC= i386 (instead of i486+) IDEA_DESC= International Data Encryption Algorithm KTLS_DESC= Use in-kernel TLS (FreeBSD >13) LEGACY_DESC= Older algorithms MAN3_DESC= Install API manpages (section 3, 7) MD2_DESC= MD2 (obsolete) (requires LEGACY) MD4_DESC= MD4 (unsafe) MDC2_DESC= MDC-2 (patented, requires DES) MODULES_DESC= Provider modules NEXTPROTONEG_DESC= Next Protocol Negotiation (SPDY) OPTIMIZE_DESC= Optimizations PROTOCOLS_DESC= Protocol Support RC2_DESC= RC2 (unsafe) RC4_DESC= RC4 (unsafe) RC5_DESC= RC5 (patented) RMD160_DESC= RIPEMD-160 RFC3779_DESC= RFC3779 support (BGP) SCTP_DESC= SCTP (Stream Control Transmission) SHARED_DESC= Build shared libraries SM2_DESC= SM2 Elliptic Curve DH (Chinese standard) SM3_DESC= SM3 256bit (Chinese standard) SM4_DESC= SM4 128bit (Chinese standard) SSE2_DESC= Runtime SSE2 detection SSL3_DESC= SSLv3 (unsafe) TLS1_DESC= TLSv1.0 (requires TLS1_1, TLS1_2) TLS1_1_DESC= TLSv1.1 (requires TLS1_2) TLS1_2_DESC= TLSv1.2 WEAK-SSL-CIPHERS_DESC= Weak cipher support (unsafe) # Upstream default disabled options .for _option in fips md2 ktls rc5 sctp ssl3 weak-ssl-ciphers zlib ${_option:tu}_CONFIGURE_ON= enable-${_option} .endfor # Upstream default enabled options .for _option in aria asm async ct des gost idea md4 mdc2 legacy \ nextprotoneg rc2 rc4 rfc3779 rmd160 shared sm2 sm3 sm4 sse2 \ threads tls1 tls1_1 tls1_2 ${_option:tu}_CONFIGURE_OFF= no-${_option} .endfor MD2_IMPLIES= LEGACY MDC2_IMPLIES= DES TLS1_IMPLIES= TLS1_1 TLS1_1_IMPLIES= TLS1_2 EC_CONFIGURE_ON= enable-ec_nistp_64_gcc_128 FIPS_VARS= shlibs+=lib/ossl-modules/fips.so I386_CONFIGURE_ON= 386 KTLS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ktls LEGACY_VARS= shlibs+=lib/ossl-modules/legacy.so MAN3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-util_find-doc-nits SHARED_MAKE_ENV= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_PLIST_SUB= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_USE= ldconfig=yes SHARED_VARS= shlibs+="lib/libcrypto.so.${OPENSSL_SHLIBVER} \ lib/libssl.so.${OPENSSL_SHLIBVER} \ lib/engines-${OPENSSL_SHLIBVER}/capi.so \ lib/engines-${OPENSSL_SHLIBVER}/devcrypto.so \ lib/engines-${OPENSSL_SHLIBVER}/padlock.so" SSL3_CONFIGURE_ON+= enable-ssl3-method ZLIB_CONFIGURE_ON= zlib-dynamic SHLIBS= lib/engines-${OPENSSL_SHLIBVER}/loader_attic.so .include .if ${ARCH} == powerpc64 CONFIGURE_ARGS+= BSD-ppc64 .elif ${ARCH} == powerpc64le CONFIGURE_ARGS+= BSD-ppc64le .elif ${ARCH} == riscv64 CONFIGURE_ARGS+= BSD-riscv64 .endif .include .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV} CONFIGURE_ARGS+= no-devcryptoeng .endif OPENSSLDIR?= ${PREFIX}/openssl PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==} .include "version.mk" .if ${PORT_OPTIONS:MASM} BROKEN_sparc64= option ASM generates illegal instructions .endif post-patch: ${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \ -e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \ ${WRKSRC}/Configurations/unix-Makefile.tmpl ${REINPLACE_CMD} 's|SHLIB_VERSION=3|SHLIB_VERSION=${OPENSSL_SHLIBVER}|' \ ${WRKSRC}/VERSION.dat post-configure: ( cd ${WRKSRC} ; ${PERL} configdata.pm --dump ) post-configure-MAN3-off: ${REINPLACE_CMD} \ -e 's|^build_man_docs:.*|build_man_docs: $$(MANDOCS1) $$(MANDOCS5)|' \ -e 's|dummy $$(MANDOCS[37]); do |dummy; do |' \ ${WRKSRC}/Makefile post-install-SHARED-on: .for i in ${SHLIBS} -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/$i .endfor post-install-SHARED-off: ${RMDIR} ${STAGEDIR}${PREFIX}/lib/engines-12 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openssl post-install-MAN3-on: ( cd ${STAGEDIR}/${PREFIX} ; find man/man3 -not -type d ; \ find man/man7 -not -type d ) | sed 's/$$/.gz/' >> ${TMPPLIST} .include diff --git a/security/openssl-quictls/Makefile b/security/openssl-quictls/Makefile index 77b5247f56ba..23ba17aede8c 100644 --- a/security/openssl-quictls/Makefile +++ b/security/openssl-quictls/Makefile @@ -1,189 +1,187 @@ -# Created by: Dirk Froemberg - PORTNAME= openssl PORTVERSION= 3.0.3 PORTREVISION= 1 CATEGORIES= security devel PKGNAMESUFFIX= -quictls MAINTAINER= brnrd@FreeBSD.org COMMENT= QUIC capable fork of OpenSSL LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS_INSTALL= boringssl libressl libressl-devel openssl openssl-devel BROKEN_i386= ld: error: undefined symbol: __atomic_is_lock_free HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config CONFIGURE_ENV= PERL="${PERL}" CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ --prefix=${PREFIX} USES= cpe perl5 USE_PERL5= build USE_GITHUB= yes GH_ACCOUNT= ${PKGNAMESUFFIX:S/-//} GH_TAGNAME= 368c9d581b17f0bbe425f8dedeaa7b864a7b29ce TEST_TARGET= test LDFLAGS_i386= -Wl,-znotext MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive CNF_LDFLAGS="${LDFLAGS}" MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= OPTIONS_GROUP= CIPHERS HASHES MODULES OPTIMIZE PROTOCOLS OPTIONS_GROUP_CIPHERS= ARIA DES GOST IDEA SM4 RC2 RC4 RC5 WEAK-SSL-CIPHERS OPTIONS_GROUP_HASHES= MD2 MD4 MDC2 RMD160 SM2 SM3 OPTIONS_GROUP_OPTIMIZE= ASM SSE2 THREADS OPTIONS_GROUP_MODULES= FIPS LEGACY OPTIONS_DEFINE_i386= I386 OPTIONS_GROUP_PROTOCOLS=NEXTPROTONEG SCTP SSL3 TLS1 TLS1_1 TLS1_2 OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB OPTIONS_DEFAULT=ASM ASYNC CT DES EC FIPS GOST KTLS MAN3 MD4 NEXTPROTONEG \ RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2 OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \ ${${OSVERSION} > 1300000:?CRYPTODEV:} OPTIONS_EXCLUDE_i386= FIPS OPTIONS_GROUP_OPTIMIZE_amd64= EC .if ${MACHINE_ARCH} == "amd64" OPTIONS_GROUP_OPTIMIZE+= EC .elif ${MACHINE_ARCH} == "mips64el" OPTIONS_GROUP_OPTIMIZE+= EC .endif OPTIONS_SUB= yes ARIA_DESC= ARIA (South Korean standard) ASM_DESC= Assembler code ASYNC_DESC= Asynchronous mode CIPHERS_DESC= Block Cipher Support CRYPTODEV_DESC= /dev/crypto support CT_DESC= Certificate Transparency Support DES_DESC= (Triple) Data Encryption Standard EC_DESC= Optimize NIST elliptic curves FIPS_DESC= Build FIPS provider (Note: NOT yet FIPS validated) GOST_DESC= GOST (Russian standard) HASHES_DESC= Hash Function Support I386_DESC= i386 (instead of i486+) IDEA_DESC= International Data Encryption Algorithm KTLS_DESC= Use in-kernel TLS (FreeBSD >13) LEGACY_DESC= Older algorithms MAN3_DESC= Install API manpages (section 3, 7) MD2_DESC= MD2 (obsolete) (requires LEGACY) MD4_DESC= MD4 (unsafe) MDC2_DESC= MDC-2 (patented, requires DES) MODULES_DESC= Provider modules NEXTPROTONEG_DESC= Next Protocol Negotiation (SPDY) OPTIMIZE_DESC= Optimizations PROTOCOLS_DESC= Protocol Support RC2_DESC= RC2 (unsafe) RC4_DESC= RC4 (unsafe) RC5_DESC= RC5 (patented) RMD160_DESC= RIPEMD-160 RFC3779_DESC= RFC3779 support (BGP) SCTP_DESC= SCTP (Stream Control Transmission) SHARED_DESC= Build shared libraries SM2_DESC= SM2 Elliptic Curve DH (Chinese standard) SM3_DESC= SM3 256bit (Chinese standard) SM4_DESC= SM4 128bit (Chinese standard) SSE2_DESC= Runtime SSE2 detection SSL3_DESC= SSLv3 (unsafe) TLS1_DESC= TLSv1.0 (requires TLS1_1, TLS1_2) TLS1_1_DESC= TLSv1.1 (requires TLS1_2) TLS1_2_DESC= TLSv1.2 WEAK-SSL-CIPHERS_DESC= Weak cipher support (unsafe) # Upstream default disabled options .for _option in fips md2 ktls rc5 sctp ssl3 weak-ssl-ciphers zlib ${_option:tu}_CONFIGURE_ON= enable-${_option} .endfor # Upstream default enabled options .for _option in aria asm async ct des gost idea md4 mdc2 legacy \ nextprotoneg rc2 rc4 rfc3779 rmd160 shared sm2 sm3 sm4 sse2 \ threads tls1 tls1_1 tls1_2 ${_option:tu}_CONFIGURE_OFF= no-${_option} .endfor MD2_IMPLIES= LEGACY MDC2_IMPLIES= DES TLS1_IMPLIES= TLS1_1 TLS1_1_IMPLIES= TLS1_2 EC_CONFIGURE_ON= enable-ec_nistp_64_gcc_128 FIPS_VARS= shlibs+=lib/ossl-modules/fips.so I386_CONFIGURE_ON= 386 LEGACY_VARS= shlibs+=lib/ossl-modules/legacy.so MAN3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-util_find-doc-nits SHARED_MAKE_ENV= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_PLIST_SUB= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_USE= ldconfig=yes SHARED_VARS= shlibs+="lib/libcrypto.so.${OPENSSL_SHLIBVER} \ lib/libssl.so.${OPENSSL_SHLIBVER} \ lib/engines-${OPENSSL_SHLIBVER}/capi.so \ lib/engines-${OPENSSL_SHLIBVER}/devcrypto.so \ lib/engines-${OPENSSL_SHLIBVER}/padlock.so" SSL3_CONFIGURE_ON+= enable-ssl3-method ZLIB_CONFIGURE_ON= zlib-dynamic SHLIBS= lib/engines-${OPENSSL_SHLIBVER}/loader_attic.so .include .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV} CONFIGURE_ARGS+= no-devcryptoeng .endif OPENSSLDIR?= ${PREFIX}/openssl PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==} .include "version.mk" .if ${PORT_OPTIONS:MASM} BROKEN_sparc64= option ASM generates illegal instructions .endif post-patch: ${REINPLACE_CMD} -Ee 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \ -e 's|^(build\|install)_docs: .*|\1_docs: \1_man_docs|' \ ${WRKSRC}/Configurations/unix-Makefile.tmpl ${REINPLACE_CMD} 's|SHLIB_VERSION=81.3|SHLIB_VERSION=${OPENSSL_SHLIBVER}|' \ ${WRKSRC}/VERSION.dat post-configure: ( cd ${WRKSRC} ; ${PERL} configdata.pm --dump ) post-configure-MAN3-off: ${REINPLACE_CMD} \ -e 's|^build_man_docs:.*|build_man_docs: $$(MANDOCS1) $$(MANDOCS5)|' \ -e 's|dummy $$(MANDOCS[37]); do |dummy; do |' \ ${WRKSRC}/Makefile post-install-SHARED-on: .for i in ${SHLIBS} -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/$i .endfor post-install-SHARED-off: ${RMDIR} ${STAGEDIR}${PREFIX}/lib/engines-${OPENSSL_SHLIBVER} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openssl post-install-MAN3-on: ( cd ${STAGEDIR}/${PREFIX} ; find man/man3 -not -type d ; \ find man/man7 -not -type d ) | sed 's/$$/.gz/' >> ${TMPPLIST} .include diff --git a/security/openssl-unsafe/Makefile b/security/openssl-unsafe/Makefile index 7bb4ff27c971..4415c40593e5 100644 --- a/security/openssl-unsafe/Makefile +++ b/security/openssl-unsafe/Makefile @@ -1,80 +1,78 @@ -# Created by: Dirk Froemberg - PORTNAME= openssl PORTVERSION= 1.0.2.20170706 CATEGORIES= security devel PKGNAMESUFFIX= -unsafe MAINTAINER= brnrd@FreeBSD.org COMMENT= Unsafe SSL and crypto library LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe perl5 CPE_VERSION= 1.0.2k .if ${MACHINE} == "i386" #USE_GCC= 8+ .endif USE_GITHUB= yes GH_ACCOUNT= PeterMosmans GH_TAGNAME= c9ba19c USE_PERL5= build USE_LDCONFIG= yes CONFIGURE_ARGS= enable-camellia enable-cms enable-ec enable-ec2m \ enable-ecdh enable-ecdsa enable-gost enable-idea enable-md2 enable-mdc2 \ enable-rc2 enable-rc5 enable-rfc3779 enable-seed enable-ssl-trace \ enable-ssl2 enable-ssl2-methods enable-ssl3 enable-weak-ssl-ciphers \ experimental-jpake experimental-store \ no-gmp sctp shared threads zlib zlib-dynamic MAKE_ENV+= LIBRPATH="${PREFIX}/openssl-unsafe/lib" GREP_OPTIONS= SHLIBVER=${OPENSSL_SHLIBVER} MAKE_JOBS_UNSAFE= yes CFLAGS+= -fPIC -DPIC SUB_FILES= pkg-message PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER} .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "mips64el" CONFIGURE_ARGS+= enable-ec_nistp_64_gcc_128 .endif OPENSSLDIR?= ${PREFIX}/openssl-unsafe/etc PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==} .include "version.mk" post-patch: ${REINPLACE_CMD} -e 's|m4 -B 8192|m4|g' \ ${WRKSRC}/crypto/des/Makefile ${REINPLACE_CMD} -e 's|all install_docs |all |;s| tools$$||;s| build_tools$$||' ${WRKSRC}/Makefile.org ${REINPLACE_CMD} -e 's|\^GNU ld|GNU|' ${WRKSRC}/Makefile.shared do-configure: ${REINPLACE_CMD} -e "s|options 386|options|" \ ${WRKSRC}/config cd ${WRKSRC} \ && ${SETENV} CC="${CC}" FREEBSDCC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" \ ./config --prefix=${PREFIX}/openssl-unsafe --openssldir=${OPENSSLDIR} \ --install_prefix=${STAGEDIR} \ -L${PREFIX}/openssl-unsafe/lib ${CONFIGURE_ARGS} post-configure: ${REINPLACE_CMD} \ -e 's|^MANDIR=.*$$|MANDIR=$$(PREFIX)/man|' \ -e 's|$$(LIBDIR)/pkgconfig|libdata/pkgconfig|g' \ -e 's|LIBVERSION=[^ ]* |LIBVERSION=${OPENSSL_SHLIBVER} |' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/openssl-unsafe/bin/openssl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/openssl-unsafe/lib/libcrypto.so.${OPENSSL_SHLIBVER} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/openssl-unsafe/lib/libssl.so.${OPENSSL_SHLIBVER} .for i in ubsec gost capi gmp atalla sureware nuron cswift 4758cca padlock aep chil ${STRIP_CMD} ${STAGEDIR}${PREFIX}/openssl-unsafe/lib/engines/lib${i}.so .endfor test: build cd ${WRKSRC} && ${MAKE} test .include diff --git a/security/openssl/Makefile b/security/openssl/Makefile index 2fa65b05c556..c787ca604c15 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -1,170 +1,168 @@ -# Created by: Dirk Froemberg - PORTNAME= openssl PORTVERSION= 1.1.1q PORTEPOCH= 1 CATEGORIES= security devel MASTER_SITES= https://www.openssl.org/source/ \ ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/ MAINTAINER= brnrd@FreeBSD.org COMMENT= TLSv1.3 capable SSL and crypto library LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= boringssl libressl libressl-devel openssl-devel openssl-quictls HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config CONFIGURE_ENV= PERL="${PERL}" CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ --prefix=${PREFIX} USES= cpe perl5 USE_PERL5= build TEST_TARGET= test LDFLAGS_i386= -Wl,-znotext MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive CNF_LDFLAGS="${LDFLAGS}" MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= OPTIONS_GROUP= CIPHERS HASHES OPTIMIZE PROTOCOLS OPTIONS_GROUP_CIPHERS= ARIA DES GOST IDEA SM4 RC2 RC4 RC5 WEAK-SSL-CIPHERS OPTIONS_GROUP_HASHES= MD2 MD4 MDC2 RMD160 SM2 SM3 OPTIONS_GROUP_OPTIMIZE= ASM SSE2 THREADS OPTIONS_DEFINE_i386= I386 OPTIONS_GROUP_PROTOCOLS=NEXTPROTONEG SCTP SSL3 TLS1 TLS1_1 TLS1_2 OPTIONS_DEFINE= ASYNC CRYPTODEV CT KTLS MAN3 RFC3779 SHARED ZLIB OPTIONS_DEFAULT=ASM ASYNC CT GOST DES EC KTLS MAN3 MD4 NEXTPROTONEG RC2 \ RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 TLS1_2 OPTIONS_EXCLUDE=${${OSVERSION} < 1300042:?KTLS:} \ ${${OSVERSION} > 1300000:?CRYPTODEV:} OPTIONS_GROUP_OPTIMIZE_amd64= EC .if ${MACHINE_ARCH} == "amd64" OPTIONS_GROUP_OPTIMIZE+= EC .elif ${MACHINE_ARCH} == "mips64el" OPTIONS_GROUP_OPTIMIZE+= EC .endif OPTIONS_SUB= yes ARIA_DESC= ARIA (South Korean standard) ASM_DESC= Assembler code ASYNC_DESC= Asynchronous mode CIPHERS_DESC= Block Cipher Support CRYPTODEV_DESC= /dev/crypto support CT_DESC= Certificate Transparency Support DES_DESC= (Triple) Data Encryption Standard EC_DESC= Optimize NIST elliptic curves GOST_DESC= GOST (Russian standard) HASHES_DESC= Hash Function Support I386_DESC= i386 (instead of i486+) IDEA_DESC= International Data Encryption Algorithm KTLS_DESC= Kernel TLS offload MAN3_DESC= Install API manpages (section 3, 7) MD2_DESC= MD2 (obsolete) MD4_DESC= MD4 (unsafe) MDC2_DESC= MDC-2 (patented, requires DES) NEXTPROTONEG_DESC= Next Protocol Negotiation (SPDY) OPTIMIZE_DESC= Optimizations PROTOCOLS_DESC= Protocol Support RC2_DESC= RC2 (unsafe) RC4_DESC= RC4 (unsafe) RC5_DESC= RC5 (patented) RMD160_DESC= RIPEMD-160 RFC3779_DESC= RFC3779 support (BGP) SCTP_DESC= SCTP (Stream Control Transmission) SHARED_DESC= Build shared libraries SM2_DESC= SM2 Elliptic Curve DH (Chinese standard) SM3_DESC= SM3 256bit (Chinese standard) SM4_DESC= SM4 128bit (Chinese standard) SSE2_DESC= Runtime SSE2 detection SSL3_DESC= SSLv3 (unsafe) TLS1_DESC= TLSv1.0 (requires TLS1_1, TLS1_2) TLS1_1_DESC= TLSv1.1 (requires TLS1_2) TLS1_2_DESC= TLSv1.2 WEAK-SSL-CIPHERS_DESC= Weak cipher support (unsafe) # Upstream default disabled options .for _option in ktls md2 rc5 sctp ssl3 zlib weak-ssl-ciphers ${_option:tu}_CONFIGURE_ON= enable-${_option} .endfor # Upstream default enabled options .for _option in aria asm async ct des gost idea md4 mdc2 nextprotoneg rc2 rc4 \ rfc3779 rmd160 shared sm2 sm3 sm4 sse2 threads tls1 tls1_1 tls1_2 ${_option:tu}_CONFIGURE_OFF= no-${_option} .endfor MDC2_IMPLIES= DES TLS1_IMPLIES= TLS1_1 TLS1_1_IMPLIES= TLS1_2 EC_CONFIGURE_ON= enable-ec_nistp_64_gcc_128 I386_CONFIGURE_ON= 386 KTLS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ktls MAN3_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-util_process__docs.pl SHARED_MAKE_ENV= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_PLIST_SUB= SHLIBVER=${OPENSSL_SHLIBVER} SHARED_USE= ldconfig=yes SSL3_CONFIGURE_ON+= enable-ssl3-method ZLIB_CONFIGURE_ON= zlib-dynamic .include .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV} CONFIGURE_ARGS+= no-devcryptoeng .endif OPENSSLDIR?= ${PREFIX}/openssl PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==} .include "version.mk" .if ${PORT_OPTIONS:MASM} BROKEN_sparc64= option ASM generates illegal instructions .endif post-patch: ${REINPLACE_CMD} \ -e 's|^MANDIR=.*$$|MANDIR=$$(INSTALLTOP)/man|' \ -e 's| install_html_docs$$||' \ -e 's|$$(LIBDIR)/pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/Configurations/unix-Makefile.tmpl ${REINPLACE_CMD} -e 's|\^GNU ld|GNU|' ${WRKSRC}/Configurations/shared-info.pl post-configure: ${REINPLACE_CMD} \ -e 's|SHLIB_VERSION_NUMBER=1.1|SHLIB_VERSION_NUMBER=${OPENSSL_SHLIBVER}|' \ ${WRKSRC}/Makefile ${REINPLACE_CMD} \ -e 's|SHLIB_VERSION_NUMBER "1.1"|SHLIB_VERSION_NUMBER "${OPENSSL_SHLIBVER}"|' \ ${WRKSRC}/include/openssl/opensslv.h post-install-SHARED-on: .for i in libcrypto libssl ${INSTALL_LIB} ${WRKSRC}/$i.so.${OPENSSL_SHLIBVER} ${STAGEDIR}${PREFIX}/lib ${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${STAGEDIR}${PREFIX}/lib/$i.so .endfor .for i in capi padlock ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/engines-1.1/${i}.so .endfor post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openssl post-install-MAN3-on: ( cd ${STAGEDIR}/${PREFIX} ; ${FIND} man/man3 man/man7 -not -type d ) | \ ${SED} 's/$$/.gz/' >>${TMPPLIST} .include diff --git a/security/openssl_tpm_engine/Makefile b/security/openssl_tpm_engine/Makefile index 13775c698c2a..d4c4dfcee604 100644 --- a/security/openssl_tpm_engine/Makefile +++ b/security/openssl_tpm_engine/Makefile @@ -1,63 +1,61 @@ -# Created by: Sebastian Schuetz - PORTNAME= openssl_tpm_engine PORTVERSION= 0.5.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= security MAINTAINER= hrs@FreeBSD.org COMMENT= OpenSSL TPM engine LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:security/trousers LIB_DEPENDS= libtspi.so:security/trousers USES= autoreconf gmake libtool localbase ssl pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= mgerstner GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" SUB_FILES= pkg-message PLIST_FILES= bin/create_tpm_key INSTALL_TARGET= install-strip PORTEXAMPLES= openssl.cnf.sample OPTIONS_DEFINE= EXAMPLES .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Detected LibreSSL (RAND_METHOD structure unsupported) .endif post-patch: (${CAT} ${OPENSSLINC}/openssl/opensslv.h; \ ${ECHO_CMD} "#if OPENSSL_VERSION_NUMBER < 0x10100000L"; \ ${ECHO_CMD} "lib/openssl/engines/libtpm.so"; \ ${ECHO_CMD} "#else"; \ ${ECHO_CMD} "lib/openssl/engines/tpm.so"; \ ${ECHO_CMD} "#endif"; \ ) | ${CPP} | ${GREP} -v \# > ${WRKDIR}/.tpmso; \ ${REINPLACE_CMD} "s|%%TPMSO%%|${PREFIX}/$$(cat ${WRKDIR}/.tpmso)|g" \ ${WRKSRC}/dist/openssl.cnf.sample .if defined(INSTALL_AS_USER) _T=|| ${TRUE} .endif post-install: (${CAT} ${WRKDIR}/.tpmso; \ ${ECHO_CMD} "@postexec /usr/sbin/service ldconfig restart > /dev/null ${_T}" >> ${TMPPLIST}; \ ${ECHO_CMD} "@postunexec /usr/sbin/service ldconfig restart > /dev/null ${_T}" >> ${TMPPLIST}; \ ) >> ${TMPPLIST} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/dist/openssl.cnf.sample \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/openvpn-admin/Makefile b/security/openvpn-admin/Makefile index 2bd59e0eb1f6..f064d35275ce 100644 --- a/security/openvpn-admin/Makefile +++ b/security/openvpn-admin/Makefile @@ -1,44 +1,42 @@ -# Created by: Remington Lang - PORTNAME= openvpn-admin PORTVERSION= 1.9.4 DISTVERSIONSUFFIX= -2 PORTREVISION= 6 CATEGORIES= security gnome net-vpn MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/release-${PORTVERSION} MAINTAINER= egypcio@FreeBSD.org COMMENT= GUI frontend to openvpn LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= openvpn:security/openvpn WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_ARCH= yes PORTSCOUT= skipv:${PORTVERSION}${DISTVERSIONSUFFIX} USES= gettext gmake gnome pkgconfig USE_GNOME= gtksharp20 intltool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/iconv,${LOCALBASE}/bin/iconv,g' \ ${WRKSRC}/intltool-merge.in @${REINPLACE_CMD} -e 's,/etc/openvpn,${PREFIX}/etc/openvpn,' \ ${WRKSRC}/src/Configuration.cs do-install: ${INSTALL_SCRIPT} ${WRKSRC}/openvpn-admin ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/openvpn-admin.exe \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openvpn .include diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile index fddd09bfd5a2..da959b439e44 100644 --- a/security/openvpn-auth-ldap/Makefile +++ b/security/openvpn-auth-ldap/Makefile @@ -1,60 +1,58 @@ -# Created by: Nick Barkas - PORTNAME= openvpn-auth-ldap PORTVERSION= 2.0.4 PORTREVISION= 1 DISTVERSIONPREFIX= auth-ldap- CATEGORIES= security net-vpn MAINTAINER= mandree@FreeBSD.org COMMENT= LDAP authentication plugin for OpenVPN LICENSE= BSD3CLAUSE BUILD_DEPENDS= re2c:devel/re2c \ check>=0:devel/check \ libobjc2>=0:lang/libobjc2 \ ${LOCALBASE}/include/openvpn-plugin.h:security/openvpn # this port doesn't require ssl itself, but OpenLDAP needs it # and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235776 # appears to document issues on some systems when --with-openssl # is missing. USES= autoreconf objc ssl tar:xz USE_GITHUB= yes GH_ACCOUNT= threerings GNU_CONFIGURE= yes USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-openldap=${LOCALBASE} \ --with-openvpn=${LOCALBASE}/include \ --with-objc-runtime=GNU \ --with-openssl=${OPENSSLBASE} PORTDOCS= README PORTEXAMPLES= auth-ldap.conf PLIST_FILES= lib/openvpn-auth-ldap.so OBJCFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -fPIC CFLAGS+= -fPIC -fcommon OPTIONS_DEFINE= DOCS EXAMPLES .include CONFIGURE_ENV+= OBJC="${CC}" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn-auth-ldap.so .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${STAGEDIR}${EXAMPLESDIR} .endif .include CC+= ${DEBUG_FLAGS} .include diff --git a/security/openvpn-auth-radius/Makefile b/security/openvpn-auth-radius/Makefile index 879cb5bbb406..966c326cf1a4 100644 --- a/security/openvpn-auth-radius/Makefile +++ b/security/openvpn-auth-radius/Makefile @@ -1,41 +1,39 @@ -# Created by: Mikhail T. - PORTNAME= openvpn-auth-radius PORTVERSION= 2.1 PORTREVISION= 4 CATEGORIES= security net-vpn MASTER_SITES= http://www.nongnu.org/radiusplugin/ \ http://svn-cache.ipcopaddons.org/ DISTNAME= radiusplugin_v${PORTVERSION} MAINTAINER= m.tsatsenko@gmail.com COMMENT= RADIUS authentication plugin for OpenVPN LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/sbin/openvpn:security/openvpn LIB_DEPENDS= libgcrypt.so:security/libgcrypt USES= gmake MAKEFILE= Makefile.bsd WRKSRC= ${WRKDIR}/radiusplugin PORTDOCS= README PORTEXAMPLES= radiusplugin.cnf PLIST_FILES= lib/radiusplugin.so OPTIONS_DEFINE= DOCS EXAMPLES .include do-install: ${INSTALL_LIB} ${WRKSRC}/radiusplugin.so ${STAGEDIR}${LOCALBASE}/lib post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile index c45ed4aa2215..84af112f9556 100644 --- a/security/openvpn-devel/Makefile +++ b/security/openvpn-devel/Makefile @@ -1,152 +1,150 @@ -# Created by: Matthias Andree - PORTNAME= openvpn DISTVERSION= g20220505 PORTREVISION= 0 PORTEPOCH= 1 CATEGORIES= security net net-vpn PKGNAMESUFFIX= -devel MAINTAINER= gert@greenie.muc.de # let's use ?= in spite of portlint WARNings because this might become # security/openvpn one day which would then have a slave port: COMMENT?= Secure IP/Ethernet tunnel daemon LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYRIGHT.GPL BUILD_DEPENDS+= cmocka>=0:sysutils/cmocka \ rst2man:textproc/py-docutils LIB_DEPENDS+= liblzo2.so:archivers/lzo2 USES= autoreconf cpe libtool pkgconfig shebangfix tar:xz IGNORE_SSL= libressl libressl-devel USE_GITLAB= yes GL_COMMIT= 413877f522e89ccc6dd2543bc585ac553df3bd42 USE_RC_SUBR= openvpn SHEBANG_FILES= sample/sample-scripts/auth-pam.pl sample/sample-scripts/ucn.pl \ sample/sample-scripts/verify-cn GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-strict # set PLUGIN_LIBDIR so that unqualified plugin paths are found: CONFIGURE_ENV+= PLUGINDIR="${PREFIX}/lib/openvpn/plugins" # let OpenVPN's configure script pick up the requisite libraries, # but do not break the plugin build if an older version is installed .ifdef (LOG_OPENVPN) CFLAGS+= -DLOG_OPENVPN=${LOG_OPENVPN} .endif CPPFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include -DCONFIGURE_GIT_REVISION='\"${GL_COMMIT}\"' -DCONFIGURE_GIT_FLAGS= LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL?= openvpn-2.[!4].* openvpn-[!2].* openvpn-beta \ openvpn-devel openvpn-mbedtls SUB_FILES= openvpn-client pkg-message PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EASYRSA EXAMPLES LZ4 PKCS11 SMALL TEST TUNNELBLICK \ X509ALTUSERNAME OPTIONS_DEFAULT= EASYRSA LZ4 OPENSSL TEST OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= MBEDTLS OPENSSL # option descriptions and interdependencies EASYRSA_DESC= Install security/easy-rsa RSA helper package MBEDTLS_DESC= SSL/TLS via mbedTLS (lacks TLS v1.3) PKCS11_DESC= Use security/pkcs11-helper PKCS11_PREVENTS= MBEDTLS PKCS11_PREVENTS_MSG= OpenVPN cannot use pkcs11-helper with mbedTLS. \ Disable PKCS11, or use OpenSSL instead SMALL_DESC= Build a smaller executable with fewer features TUNNELBLICK_DESC= Tunnelblick XOR scramble patch (READ HELP!) X509ALTUSERNAME_DESC= Enable --x509-username-field (OpenSSL only) X509ALTUSERNAME_PREVENTS= MBEDTLS X509ALTUSERNAME_PREVENTS_MSG= OpenVPN ${DISTVERSION} cannot use \ --x509-username-field with mbedTLS. Disable \ X509ALTUSERNAME, or use OpenSSL instead # option implementations EASYRSA_RUN_DEPENDS= easy-rsa>=0:security/easy-rsa LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_OFF= --disable-lz4 MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls MBEDTLS_CONFIGURE_ON= --with-crypto-library=mbedtls OPENSSL_USES= ssl OPENSSL_CONFIGURE_ON= --with-crypto-library=openssl PKCS11_LIB_DEPENDS= libpkcs11-helper.so:security/pkcs11-helper PKCS11_CONFIGURE_ENABLE= pkcs11 SMALL_CONFIGURE_ON= --enable-small TEST_ALL_TARGET= check TEST_TEST_TARGET_OFF= check TUNNELBLICK_EXTRA_PATCHES= ${FILESDIR}/extra-tunnelblick-openvpn_xorpatch X509ALTUSERNAME_CONFIGURE_ENABLE= x509-alt-username pre-configure: .ifdef (LOG_OPENVPN) @${ECHO} "Building with LOG_OPENVPN=${LOG_OPENVPN}" .else @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" @${ECHO} " LOG_OPENVPN={Valid syslog facility, default LOG_DAEMON}" @${ECHO} " EXAMPLE: make LOG_OPENVPN=LOG_LOCAL6" @${ECHO} "" .endif post-configure: ${REINPLACE_CMD} '/^CFLAGS =/s/$$/ -fPIC/' \ ${WRKSRC}/src/plugins/auth-pam/Makefile \ ${WRKSRC}/src/plugins/down-root/Makefile .include .if ${PORT_OPTIONS:MMBEDTLS} _tlslibs= libmbedtls libmbedx509 libmbedcrypto .else # OpenSSL _tlslibs= libssl libcrypto .endif # sanity check that we don't inherit incompatible SSL libs through, # for instance, pkcs11-helper: post-build: @a=$$(LC_ALL=C ldd -f '%o\n' ${WRKSRC}/src/openvpn/openvpn \ | ${SORT} -u) ; set -- $$(for i in ${_tlslibs} ; do ${PRINTF} '%s\n' "$$a" | ${GREP} $${i}.so | wc -l ; done | ${SORT} -u) ;\ if test "$$*" != "1" ; then ${ECHO_CMD} >&2 "${.CURDIR} FAILED: either of ${_tlslibs} libraries linked multiple times" ; ${PRINTF} '%s\n' "$$a"; ${RM} ${BUILD_COOKIE} ; exit 1 ; fi post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so ${INSTALL_SCRIPT} ${WRKSRC}/contrib/pull-resolv-conf/client.up ${STAGEDIR}${PREFIX}/libexec/openvpn-client.up ${INSTALL_SCRIPT} ${WRKSRC}/contrib/pull-resolv-conf/client.down ${STAGEDIR}${PREFIX}/libexec/openvpn-client.down ${INSTALL_SCRIPT} ${WRKDIR}/openvpn-client ${STAGEDIR}${PREFIX}/sbin/openvpn-client ${MKDIR} ${STAGEDIR}${PREFIX}/include post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for i in AUTHORS ChangeLog PORTS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor post-install-EXAMPLES-on: (cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/) ${CHMOD} ${BINMODE} ${STAGEDIR}${EXAMPLESDIR}/sample-scripts/* ${RM} ${STAGEDIR}${EXAMPLESDIR}/sample-config-files/*.orig .include diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile index b49cae2c1924..6e1c8419366c 100644 --- a/security/openvpn/Makefile +++ b/security/openvpn/Makefile @@ -1,157 +1,155 @@ -# Created by: Matthias Andree - PORTNAME= openvpn DISTVERSION= 2.5.7 PORTREVISION?= 1 CATEGORIES= security net net-vpn MASTER_SITES= https://swupdate.openvpn.org/community/releases/ \ https://build.openvpn.net/downloads/releases/ \ LOCAL/mandree MAINTAINER= mandree@FreeBSD.org COMMENT?= Secure IP/Ethernet tunnel daemon LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYRIGHT.GPL USES= cpe libtool localbase:ldflags pkgconfig shebangfix ssl tar:xz USE_RC_SUBR= openvpn SHEBANG_FILES= sample/sample-scripts/verify-cn \ sample/sample-scripts/auth-pam.pl \ sample/sample-scripts/ucn.pl GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-strict --with-crypto-library=openssl # set PLUGIN_LIBDIR so that unqualified plugin paths are found: CONFIGURE_ENV+= PLUGINDIR="${PREFIX}/lib/openvpn/plugins" CONFLICTS_INSTALL?= openvpn-2.[!5].* openvpn-devel openvpn-mbedtls SUB_FILES= pkg-message openvpn-client USERS= openvpn GROUPS= openvpn PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= ASYNC_PUSH DOCS EASYRSA EXAMPLES LZ4 LZO PKCS11 SMALL \ TEST UNITTESTS X509ALTUSERNAME OPTIONS_DEFAULT= EASYRSA LZ4 LZO PKCS11 TEST ASYNC_PUSH_DESC= Enable async-push support EASYRSA_DESC= Install security/easy-rsa RSA helper package LZO_DESC= LZO compression (incompatible with LibreSSL) PKCS11_DESC= Use security/pkcs11-helper SMALL_DESC= Build a smaller executable with fewer features UNITTESTS_DESC= Enable unit tests X509ALTUSERNAME_DESC= Enable --x509-username-field ASYNC_PUSH_LIB_DEPENDS= libinotify.so:devel/libinotify ASYNC_PUSH_CONFIGURE_ENABLE= async-push EASYRSA_RUN_DEPENDS= easy-rsa>=0:security/easy-rsa LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_ENABLE= lz4 LZO_LIB_DEPENDS+= liblzo2.so:archivers/lzo2 LZO_CONFIGURE_ENABLE= lzo PKCS11_LIB_DEPENDS= libpkcs11-helper.so:security/pkcs11-helper PKCS11_CONFIGURE_ENABLE= pkcs11 SMALL_CONFIGURE_ENABLE= small TEST_ALL_TARGET= check TEST_TEST_TARGET_OFF= check UNITTESTS_BUILD_DEPENDS= cmocka>=0:sysutils/cmocka UNITTESTS_CONFIGURE_ENABLE= unit-tests X509ALTUSERNAME_CONFIGURE_ENABLE= x509-alt-username .ifdef (LOG_OPENVPN) CFLAGS+= -DLOG_OPENVPN=${LOG_OPENVPN} .endif .include .if ${PORT_OPTIONS:MLZO} IGNORE_SSL=libressl libressl-devel IGNORE_SSL_REASON=OpenVPN does not have permission to include LZO with LibreSSL. Compile against OpenSSL, or if your setups support it, disable LZO support .endif .if ! ${PORT_OPTIONS:MLZ4} && ! ${PORT_OPTIONS:MLZO} CONFIGURE_ARGS+= --enable-comp-stub .endif .include .if !empty(PORT_OPTIONS:MLZO) && !empty(SSL_DEFAULT:Nbase:Nopenssl*) # in-depth security net if Mk/Uses/ssl.mk changes pre-everything:: @${ECHO_CMD} >&2 "ERROR: OpenVPN is not licensed to combine LZO with other OpenSSL-licensed libraries than OpenSSL. Compile against OpenSSL, or if your setups support it, disable LZO support." @${SHELL} -c 'exit 1' .endif post-patch: ${REINPLACE_CMD} -E -i '' -e 's/(user|group) nobody/\1 openvpn/' \ -e 's/"nobody"( after init)/"openvpn" \1/' \ ${WRKSRC}/sample/sample-config-files/*.conf \ ${WRKSRC}/sample/sample-config-files/xinetd-*-config \ ${WRKSRC}/doc/man-sections/generic-options.rst pre-configure: .ifdef (LOG_OPENVPN) @${ECHO} "Building with LOG_OPENVPN=${LOG_OPENVPN}" .else @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" @${ECHO} " LOG_OPENVPN={Valid syslog facility, default LOG_DAEMON}" @${ECHO} " EXAMPLE: make LOG_OPENVPN=LOG_LOCAL6" @${ECHO} "" .endif .if !empty(SSL_DEFAULT:Mlibressl*) @${ECHO} "### --------------------------------------------------------- ###" @${ECHO} "### NOTE that libressl is not primarily supported by OpenVPN ###" @${ECHO} "### Do not report bugs without fixes/patches unless the issue ###" @${ECHO} "### can be reproduced with a released OpenSSL version. ###" @${ECHO} "### --------------------------------------------------------- ###" .endif post-configure: ${REINPLACE_CMD} '/^CFLAGS =/s/$$/ -fPIC/' \ ${WRKSRC}/src/plugins/auth-pam/Makefile \ ${WRKSRC}/src/plugins/down-root/Makefile # sanity check that we don't inherit incompatible SSL libs through, # for instance, pkcs11-helper: _tlslibs=libssl libcrypto post-build: @a=$$(LC_ALL=C ldd -f '%o\n' ${WRKSRC}/src/openvpn/openvpn \ | ${SORT} -u) ; set -- $$(for i in ${_tlslibs} ; do ${PRINTF} '%s\n' "$$a" | ${GREP} $${i}.so | wc -l ; done | ${SORT} -u) ;\ if test "$$*" != "1" ; then ${ECHO_CMD} >&2 "${.CURDIR} FAILED: either of ${_tlslibs} libraries linked multiple times" ; ${PRINTF} '%s\n' "$$a"; ${RM} ${BUILD_COOKIE} ; ( set -x ; ldd -a ${WRKSRC}/src/openvpn/openvpn ) ; exit 1 ; fi post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so ${INSTALL_SCRIPT} ${WRKSRC}/contrib/pull-resolv-conf/client.up ${STAGEDIR}${PREFIX}/libexec/openvpn-client.up ${INSTALL_SCRIPT} ${WRKSRC}/contrib/pull-resolv-conf/client.down ${STAGEDIR}${PREFIX}/libexec/openvpn-client.down @${REINPLACE_CMD} 's|resolvconf -p -a|resolvconf -a|' ${STAGEDIR}${PREFIX}/libexec/openvpn-client.up ${INSTALL_SCRIPT} ${WRKDIR}/openvpn-client ${STAGEDIR}${PREFIX}/sbin/openvpn-client ${MKDIR} ${STAGEDIR}${PREFIX}/include post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for i in AUTHORS ChangeLog PORTS ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor post-install-EXAMPLES-on: (cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/) ${CHMOD} ${BINMODE} ${STAGEDIR}${EXAMPLESDIR}/sample-scripts/* ${RM} ${STAGEDIR}${EXAMPLESDIR}/sample-config-files/*.orig .include diff --git a/security/ophcrack/Makefile b/security/ophcrack/Makefile index f906e0938464..2ce0fe5a8ffb 100644 --- a/security/ophcrack/Makefile +++ b/security/ophcrack/Makefile @@ -1,45 +1,43 @@ -# Created by: Alexey Dokuchaev - PORTNAME= ophcrack PORTVERSION= 3.8.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Windows password cracker based on rainbow tables LICENSE= APACHE20 GPLv2 LICENSE_COMB= multi LIB_DEPENDS= libexpat.so:textproc/expat2 USES= compiler:c++11-lang gmake localbase ssl tar:bzip2 GNU_CONFIGURE= yes PLIST_FILES= bin/ophcrack PORTDOCS= AUTHORS ChangeLog README.md OPTIONS_DEFINE= X11 DOCS OPTIONS_DEFAULT= X11 X11_DESC= Build with Qt 5 GUI frontend X11_USES= pkgconfig qt:5 X11_USE= QT=buildtools_build,qmake_build,charts,core,gui,widgets X11_CONFIGURE_OFF= --disable-gui post-patch: @${REINPLACE_CMD} -E '/#include /d ; \ /#include/s,"bswap\.h",, ; \ s,bswap_([[:digit:]]+),bswap\1, ' \ ${WRKSRC}/src/samdump2/bkhive.c \ ${WRKSRC}/src/samdump2/hive.c \ ${WRKSRC}/src/samdump2/samdump2.c \ ${WRKSRC}/src/core/misc.h post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/osslsigncode/Makefile b/security/osslsigncode/Makefile index ed34317ee904..489ddae2fc77 100644 --- a/security/osslsigncode/Makefile +++ b/security/osslsigncode/Makefile @@ -1,36 +1,34 @@ -# Created by: snb@threerings.net - PORTNAME= osslsigncode PORTVERSION= 1.7.1 PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= OpenSSL-based signcode utility PLIST_FILES= bin/osslsigncode USES= pkgconfig ssl GNU_CONFIGURE= yes OPTIONS_DEFINE= CURL GSF OPTIONS_DEFAULT= CURL GSF CURL_CONFIGURE_WITH= curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl GSF_DESC?= GSF support (enables signing of e.g. MSI files) GSF_CONFIGURE_WITH= gsf GSF_LIB_DEPENDS= libgsf-1.so:devel/libgsf .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_12= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') BROKEN_FreeBSD_13= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') BROKEN_FreeBSD_14= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') .endif post-patch: ${TOUCH} ${WRKSRC}/stamp-h1 ${WRKSRC}/config.h.in .include diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile index fac5be690dfc..6c0d4d634505 100644 --- a/security/p11-kit/Makefile +++ b/security/p11-kit/Makefile @@ -1,52 +1,50 @@ -# Created by: Roman Bogorodskiy - PORTNAME= p11-kit DISTVERSION= 0.24.1 PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= https://github.com/p11-glue/p11-kit/releases/download/${DISTVERSION}/ MAINTAINER= novel@FreeBSD.org COMMENT= Library for loading and enumerating of PKCS\#11 modules LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ bash-completion>=0:shells/bash-completion RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss LIB_DEPENDS= libffi.so:devel/libffi \ libtasn1.so:security/libtasn1 USES= cpe localbase meson pkgconfig tar:xz USE_LDCONFIG= yes CPE_VENDOR= p11-kit_project MESON_ARGS= -Dbash_completion=enabled \ -Dlibffi=enabled \ -Dnls=false \ -Dtrust_module=enabled \ -Dtrust_paths=${LOCALBASE}/share/certs/ca-root-nss.crt OPTIONS_DEFINE= DOCS MANPAGES TEST OPTIONS_SUB= yes MANPAGES_IMPLIES= DOCS OPTIONS_DEFAULT= MANPAGES DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCS_USES= gnome DOCS_USE= GNOME=glib20 DOCS_MESON_TRUE= gtk_doc MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt MANPAGES_MESON_TRUE= man TEST_MESON_TRUE= test post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MV} ${STAGEDIR}${PREFIX}/etc/pkcs11/pkcs11.conf.example ${STAGEDIR}${EXAMPLESDIR} ${RMDIR} ${STAGEDIR}${PREFIX}/etc/pkcs11 .include diff --git a/security/p5-Alt-Crypt-RSA-BigInt/Makefile b/security/p5-Alt-Crypt-RSA-BigInt/Makefile index ffe42d077d13..e6c9960da539 100644 --- a/security/p5-Alt-Crypt-RSA-BigInt/Makefile +++ b/security/p5-Alt-Crypt-RSA-BigInt/Makefile @@ -1,35 +1,33 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= Alt-Crypt-RSA-BigInt PORTVERSION= 0.06 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DANAJ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= RSA public-key cryptosystem, using Math::BigInt LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Loader>=0:devel/p5-Class-Loader \ p5-Convert-ASCII-Armour>=0:converters/p5-Convert-ASCII-Armour \ p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-CBC>=2.17:security/p5-Crypt-CBC \ p5-Data-Buffer>=0:misc/p5-Data-Buffer \ p5-Digest-MD2>=0:security/p5-Digest-MD2 \ p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP \ p5-Math-Prime-Util>=0.64:math/p5-Math-Prime-Util \ p5-Math-Prime-Util-GMP>=0:math/p5-Math-Prime-Util-GMP \ p5-Sort-Versions>=0:devel/p5-Sort-Versions \ p5-Tie-EncryptedHash>=0:security/p5-Tie-EncryptedHash USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Apache-Htpasswd/Makefile b/security/p5-Apache-Htpasswd/Makefile index e0081499a73c..026e1fbe8c80 100644 --- a/security/p5-Apache-Htpasswd/Makefile +++ b/security/p5-Apache-Htpasswd/Makefile @@ -1,23 +1,21 @@ -# Created by: Greg Larkin - PORTNAME= Apache-Htpasswd PORTVERSION= 1.9 PORTREVISION= 2 CATEGORIES= security perl5 www MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Manage Unix crypt-style password file LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-Digest-SHA1>=2.0:security/p5-Digest-SHA1 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-App-Acmeman/Makefile b/security/p5-App-Acmeman/Makefile index c9a5a55dccf6..911384e6fd09 100644 --- a/security/p5-App-Acmeman/Makefile +++ b/security/p5-App-Acmeman/Makefile @@ -1,35 +1,33 @@ -# Created by: Zeus Panchenko - PORTNAME= App-Acmeman PORTVERSION= 3.05 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Automatic management of ACME (Let's Encrypt) SSL certificates LICENSE= GPLv3+ RUN_DEPENDS= p5-Apache-Config-Preproc>=1.04:www/p5-Apache-Config-Preproc \ p5-Apache-Defaults>=1.02:www/p5-Apache-Defaults \ p5-Config-Parser>=1.03:devel/p5-Config-Parser \ p5-Crypt-OpenSSL-PKCS10>=0.16:security/p5-Crypt-OpenSSL-PKCS10 \ p5-Crypt-OpenSSL-RSA>=0.28:security/p5-Crypt-OpenSSL-RSA \ p5-Crypt-OpenSSL-X509>=1.804:security/p5-Crypt-OpenSSL-X509 \ p5-DateTime-Format-Strptime>=1.42:devel/p5-DateTime-Format-Strptime \ p5-File-BackupCopy>=1.00:sysutils/p5-File-BackupCopy \ p5-LWP-Protocol-https>=6.04:www/p5-LWP-Protocol-https \ p5-Net-ACME2>=0.33:net/p5-Net-ACME2 \ p5-libwww>=6.05:www/p5-libwww NO_ARCH= yes USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e 's,/etc/acmeman\.conf,${PREFIX}&,' \ ${WRKSRC}/acmeman ${WRKSRC}/lib/App/Acmeman.pm \ ${WRKSRC}/lib/App/Acmeman/Source/Default.pm .include diff --git a/security/p5-App-Genpass/Makefile b/security/p5-App-Genpass/Makefile index e213d9332833..f28e7d2d4677 100644 --- a/security/p5-App-Genpass/Makefile +++ b/security/p5-App-Genpass/Makefile @@ -1,33 +1,31 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= App-Genpass PORTVERSION= 2.401 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:XSAWYERX PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Quickly and easily create secure passwords LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Config-Any>=0:devel/p5-Config-Any \ p5-File-HomeDir>=0:devel/p5-File-HomeDir \ p5-List-AllUtils>=0:devel/p5-List-AllUtils \ p5-Math-Random-Secure>=0.06:math/p5-Math-Random-Secure \ p5-Moo>=0:devel/p5-Moo \ p5-MooX-Types-MooseLike>=0:devel/p5-MooX-Types-MooseLike \ p5-namespace-clean>=0.20:devel/p5-namespace-clean TEST_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Test-Deep>=0:devel/p5-Test-Deep USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Auth-YubikeyDecrypter/Makefile b/security/p5-Auth-YubikeyDecrypter/Makefile index 68750e463b9a..5ddcfed86cc3 100644 --- a/security/p5-Auth-YubikeyDecrypter/Makefile +++ b/security/p5-Auth-YubikeyDecrypter/Makefile @@ -1,21 +1,19 @@ -# Created by: Kurt Jaeger - PORTNAME= Auth-YubikeyDecrypter PORTVERSION= 0.07 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MASSYN PKGNAMEPREFIX= p5- DISTNAME= Auth-Yubikey_Decrypter-${PORTVERSION} MAINTAINER= pi@FreeBSD.org COMMENT= Decrypting the output from the yubikey token RUN_DEPENDS= p5-Crypt-Rijndael>=1:security/p5-Crypt-Rijndael LICENSE= GPLv2 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-AuthCAS/Makefile b/security/p5-AuthCAS/Makefile index 2a6b5ba67866..91aa3a916799 100644 --- a/security/p5-AuthCAS/Makefile +++ b/security/p5-AuthCAS/Makefile @@ -1,26 +1,24 @@ -# Created by: Frank Wall - PORTNAME= AuthCAS PORTVERSION= 1.6 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:OSALAUN PKGNAMEPREFIX= p5- MAINTAINER= fw@moov.de COMMENT= Perl API to Yale's Central Authentication System (CAS) LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL USES= perl5 shebangfix SHEBANG_FILES= sampleCasClient.pl USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-Bitcard/Makefile b/security/p5-Authen-Bitcard/Makefile index ddef4d846f1a..027d106365d0 100644 --- a/security/p5-Authen-Bitcard/Makefile +++ b/security/p5-Authen-Bitcard/Makefile @@ -1,21 +1,19 @@ -# Created by: chinsan - PORTNAME= Authen-Bitcard PORTVERSION= 0.90 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Bitcard authentication verification RUN_DEPENDS= p5-Class-ErrorHandler>=0:devel/p5-Class-ErrorHandler \ p5-JSON>=2.12:converters/p5-JSON \ p5-URI>=1.22:net/p5-URI \ p5-libwww>=0:www/p5-libwww USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-Captcha/Makefile b/security/p5-Authen-Captcha/Makefile index 38fbd6896f75..3e0a47a74f9b 100644 --- a/security/p5-Authen-Captcha/Makefile +++ b/security/p5-Authen-Captcha/Makefile @@ -1,20 +1,18 @@ -# Created by: tobez@FreeBSD.org - PORTNAME= Authen-Captcha PORTVERSION= 1.024 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module to verify the human element in transactions LICENSE= GPLv2 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-GD>=0:graphics/p5-GD USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-CyrusSASL/Makefile b/security/p5-Authen-CyrusSASL/Makefile index fb0aa139272c..a46ce578e8a8 100644 --- a/security/p5-Authen-CyrusSASL/Makefile +++ b/security/p5-Authen-CyrusSASL/Makefile @@ -1,21 +1,19 @@ -# Created by: Attila Nagy - PORTNAME= Authen-CyrusSASL PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bra@fsn.hu COMMENT= Perl5 module for accessing the SASL authentication daemon USES= perl5 USE_PERL5= configure post-patch: @${MKDIR} ${WRKSRC}/lib @${RM} ${WRKSRC}/Authen/*.orig @${CP} -vpR ${WRKSRC}/Authen ${WRKSRC}/lib/ .include diff --git a/security/p5-Authen-DecHpwd/Makefile b/security/p5-Authen-DecHpwd/Makefile index a061295685c8..f515237ce914 100644 --- a/security/p5-Authen-DecHpwd/Makefile +++ b/security/p5-Authen-DecHpwd/Makefile @@ -1,25 +1,23 @@ -# Created by: brix@FreeBSD.org - PORTNAME= Authen-DecHpwd PORTVERSION= 2.007 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for DEC VMS password hashing LICENSE= GPLv2+ BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Data-Integer>=0:devel/p5-Data-Integer \ p5-Digest-CRC>=0:security/p5-Digest-CRC \ p5-Scalar-String>=0:devel/p5-Scalar-String USES= perl5 USE_PERL5= modbuild post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Authen/DecHpwd/DecHpwd.so .include diff --git a/security/p5-Authen-Htpasswd/Makefile b/security/p5-Authen-Htpasswd/Makefile index 64976f5031aa..1e187d6bd46e 100644 --- a/security/p5-Authen-Htpasswd/Makefile +++ b/security/p5-Authen-Htpasswd/Makefile @@ -1,26 +1,24 @@ -# Created by: Anton Berezin - PORTNAME= Authen-Htpasswd PORTVERSION= 0.171 PORTREVISION= 1 CATEGORIES= security perl5 www MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to read and modify Apache .htpasswd files LICENSE= ART10 GPLv1+ LICENSE_COMB= dual COMMON_DEPENDS= p5-IO-LockedFile>=0:devel/p5-IO-LockedFile \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-Class-Accessor>=0:devel/p5-Class-Accessor BUILD_DEPENDS= ${COMMON_DEPENDS} RUN_DEPENDS= ${COMMON_DEPENDS} USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-Krb5/Makefile b/security/p5-Authen-Krb5/Makefile index fa29c2ecd400..2fef4a2ba7cb 100644 --- a/security/p5-Authen-Krb5/Makefile +++ b/security/p5-Authen-Krb5/Makefile @@ -1,34 +1,32 @@ -# Created by: ajk@iu.edu - PORTNAME= Authen-Krb5 PORTVERSION= 1.9 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= Krb5-${PORTVERSION} MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for Kerberos 5 USES= perl5 USE_PERL5= configure CONFIGURE_ENV= GSSAPIBASEDIR="${GSSAPIBASEDIR}" OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT= GSSAPI_BASE GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ENV= HAVE_HEIMDAL=1 GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ENV= HAVE_HEIMDAL=1 GSSAPI_MIT_USES= gssapi:mit post-extract: ${INSTALL_DATA} ${FILESDIR}/krb5-heimdal-compat.h ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Authen/Krb5/Krb5.so .include diff --git a/security/p5-Authen-Libwrap/Makefile b/security/p5-Authen-Libwrap/Makefile index 80762a496a45..a7a2ef2caba7 100644 --- a/security/p5-Authen-Libwrap/Makefile +++ b/security/p5-Authen-Libwrap/Makefile @@ -1,23 +1,21 @@ -# Created by: Zach Thompson - PORTNAME= Authen-Libwrap PORTVERSION= 0.23 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to TCP Wrappers library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual TEST_DEPENDS= p5-Test-Exception>0:devel/p5-Test-Exception USES= perl5 USE_PERL5= modbuild post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Authen/Libwrap/Libwrap.so .include diff --git a/security/p5-Authen-NTLM/Makefile b/security/p5-Authen-NTLM/Makefile index 464ce8a1fa6c..630bc6da4902 100644 --- a/security/p5-Authen-NTLM/Makefile +++ b/security/p5-Authen-NTLM/Makefile @@ -1,24 +1,22 @@ -# Created by: James Thomason - PORTNAME= Authen-NTLM PORTVERSION= 1.09 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME:C/.*-//}-${PORTVERSION} MAINTAINER= james@divide.org COMMENT= Perl5 NTLM authentication module LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-Digest-HMAC>=0:security/p5-Digest-HMAC RUN_DEPENDS= p5-Digest-HMAC>=0:security/p5-Digest-HMAC NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-OATH/Makefile b/security/p5-Authen-OATH/Makefile index e297631bb55c..15ec22854e74 100644 --- a/security/p5-Authen-OATH/Makefile +++ b/security/p5-Authen-OATH/Makefile @@ -1,25 +1,23 @@ -# Created by: Jui-Nan Lin - PORTNAME= Authen-OATH PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= OATH one time passwords implementation LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-HMAC>0:security/p5-Digest-HMAC \ p5-Digest-SHA1>0:security/p5-Digest-SHA1 \ p5-Moose>0:devel/p5-Moose USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-PAAS/Makefile b/security/p5-Authen-PAAS/Makefile index ccc2a36639b3..a73607637c2e 100644 --- a/security/p5-Authen-PAAS/Makefile +++ b/security/p5-Authen-PAAS/Makefile @@ -1,22 +1,20 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-PAAS PORTVERSION= 1.1.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl Authentication & Authorization Service LICENSE= GPLv2 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Config-Record>=1.1.0:devel/p5-Config-Record \ p5-Log-Log4perl>=0:devel/p5-Log-Log4perl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Authen-PAM/Makefile b/security/p5-Authen-PAM/Makefile index 7c8c25ebabb6..9a007d1fb6e0 100644 --- a/security/p5-Authen-PAM/Makefile +++ b/security/p5-Authen-PAM/Makefile @@ -1,20 +1,18 @@ -# Created by: Matt Behrens - PORTNAME= Authen-PAM PORTVERSION= 0.16 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= des@FreeBSD.org COMMENT= Perl interface to the PAM library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= -DPAM_STRERROR_NEEDS_PAMH .include diff --git a/security/p5-Authen-Passphrase/Makefile b/security/p5-Authen-Passphrase/Makefile index 6f6a4568ee5e..f6b65befbaf9 100644 --- a/security/p5-Authen-Passphrase/Makefile +++ b/security/p5-Authen-Passphrase/Makefile @@ -1,33 +1,31 @@ -# Created by: brix@FreeBSD.org - PORTNAME= Authen-Passphrase PORTVERSION= 0.008 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for handling hashed passwords/passphrases as objects LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-DecHpwd>=0:security/p5-Authen-DecHpwd \ p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-DES>=0:security/p5-Crypt-DES \ p5-Crypt-Eksblowfish>=0:security/p5-Crypt-Eksblowfish \ p5-Crypt-MySQL>=0:security/p5-Crypt-MySQL \ p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-Crypt-UnixCrypt_XS>=0:security/p5-Crypt-UnixCrypt_XS \ p5-Data-Entropy>=0:security/p5-Data-Entropy \ p5-Digest-MD4>=0:security/p5-Digest-MD4 \ p5-Module-Runtime>=0:devel/p5-Module-Runtime \ p5-Params-Classify>=0:devel/p5-Params-Classify USES= perl5 USE_PERL5= modbuild NO_ARCH= yes .include diff --git a/security/p5-Authen-PluggableCaptcha/Makefile b/security/p5-Authen-PluggableCaptcha/Makefile index c6fd222db4fe..da129214ad3d 100644 --- a/security/p5-Authen-PluggableCaptcha/Makefile +++ b/security/p5-Authen-PluggableCaptcha/Makefile @@ -1,21 +1,19 @@ -# Created by: chinsan - PORTNAME= Authen-PluggableCaptcha PORTVERSION= 0.05 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pluggable Captcha framework for Perl BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Number-Spell>=0:textproc/p5-Number-Spell \ p5-HTML-Email-Obfuscate>=0:security/p5-HTML-Email-Obfuscate USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-Radius/Makefile b/security/p5-Authen-Radius/Makefile index b226925a85ec..b2697d418f68 100644 --- a/security/p5-Authen-Radius/Makefile +++ b/security/p5-Authen-Radius/Makefile @@ -1,36 +1,34 @@ -# Created by: James FitzGibbon - PORTNAME= Authen-Radius PORTVERSION= 0.32 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to provide simple Radius client facilities LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Data-HexDump>=0.02:devel/p5-Data-HexDump \ p5-Net-IP>=1.26:net-mgmt/p5-Net-IP TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings USES= perl5 USE_PERL5= configure NO_ARCH= yes REINPLACE_ARGS= -i '' PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|/etc/raddb|${DATADIR}|' ${WRKSRC}/Radius.pm @${RM} ${WRKSRC}/install-radius-db.PL post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/raddb/dictionary* ${STAGEDIR}${DATADIR} .include diff --git a/security/p5-Authen-SASL-Cyrus/Makefile b/security/p5-Authen-SASL-Cyrus/Makefile index 38df16a75206..6e924cab9f4f 100644 --- a/security/p5-Authen-SASL-Cyrus/Makefile +++ b/security/p5-Authen-SASL-Cyrus/Makefile @@ -1,21 +1,19 @@ -# Created by: Sergey Skvortsov - PORTNAME= Authen-SASL-Cyrus PORTVERSION= 0.13 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= XS SASL Authentication BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-SASL>=0:security/p5-Authen-SASL LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" .include diff --git a/security/p5-Authen-SASL-SASLprep/Makefile b/security/p5-Authen-SASL-SASLprep/Makefile index 7724b9c8d376..542717774b51 100644 --- a/security/p5-Authen-SASL-SASLprep/Makefile +++ b/security/p5-Authen-SASL-SASLprep/Makefile @@ -1,25 +1,23 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Authen-SASL-SASLprep PORTVERSION= 1.100 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Stringprep Profile for User Names and Passwords (RFC 4013) LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Unicode-Stringprep>=1:converters/p5-Unicode-Stringprep TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-SASL/Makefile b/security/p5-Authen-SASL/Makefile index 7ec1d4e8c19a..59c86e644508 100644 --- a/security/p5-Authen-SASL/Makefile +++ b/security/p5-Authen-SASL/Makefile @@ -1,30 +1,28 @@ -# Created by: Blaz Zupan - PORTNAME= Authen-SASL PORTVERSION= 2.16 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for SASL authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-HMAC>0:security/p5-Digest-HMAC OPTIONS_DEFINE= KERBEROS OPTIONS_DEFAULT=KERBEROS NO_ARCH= yes USES= perl5 USE_PERL5= configure CONFIGURE_ENV= AUTOMATED_TESTING=yes KERBEROS_BUILD_DEPENDS= p5-GSSAPI>0:security/p5-GSSAPI KERBEROS_RUN_DEPENDS= p5-GSSAPI>0:security/p5-GSSAPI .include diff --git a/security/p5-Authen-SCRAM/Makefile b/security/p5-Authen-SCRAM/Makefile index 291daf41185d..cb2a67f1a6ba 100644 --- a/security/p5-Authen-SCRAM/Makefile +++ b/security/p5-Authen-SCRAM/Makefile @@ -1,31 +1,29 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Authen-SCRAM PORTVERSION= 0.011 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Salted Challenge Response Authentication Mechanism (RFC 5802) LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-SASL-SASLprep>=1.100:security/p5-Authen-SASL-SASLprep \ p5-Crypt-URandom>=0:security/p5-Crypt-URandom \ p5-Moo>=1.001000:devel/p5-Moo \ p5-PBKDF2-Tiny>=0.003:security/p5-PBKDF2-Tiny \ p5-Try-Tiny>=0:lang/p5-Try-Tiny \ p5-Type-Tiny>=0:devel/p5-Type-Tiny \ p5-namespace-clean>=0:devel/p5-namespace-clean TEST_DEPENDS= p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings \ p5-Test-Fatal>=0:devel/p5-Test-Fatal USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-Simple-DBI/Makefile b/security/p5-Authen-Simple-DBI/Makefile index 34d6bfebd9ef..d2153f06ef88 100644 --- a/security/p5-Authen-Simple-DBI/Makefile +++ b/security/p5-Authen-Simple-DBI/Makefile @@ -1,24 +1,22 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-DBI PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple DBI authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-DBI>=0:databases/p5-DBI USES= perl5 USE_PERL5= modbuild NO_ARCH= yes .include diff --git a/security/p5-Authen-Simple-DBM/Makefile b/security/p5-Authen-Simple-DBM/Makefile index 40adce8ea649..ea5474799f61 100644 --- a/security/p5-Authen-Simple-DBM/Makefile +++ b/security/p5-Authen-Simple-DBM/Makefile @@ -1,22 +1,20 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-DBM PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple DBM authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-HTTP/Makefile b/security/p5-Authen-Simple-HTTP/Makefile index d146fd5e532c..3915471043bc 100644 --- a/security/p5-Authen-Simple-HTTP/Makefile +++ b/security/p5-Authen-Simple-HTTP/Makefile @@ -1,24 +1,22 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-HTTP PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple HTTP authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-libwww>=0:www/p5-libwww USES= perl5 USE_PERL5= modbuild NO_ARCH= yes .include diff --git a/security/p5-Authen-Simple-LDAP/Makefile b/security/p5-Authen-Simple-LDAP/Makefile index 0e6a02b821d1..98cc4a599e2c 100644 --- a/security/p5-Authen-Simple-LDAP/Makefile +++ b/security/p5-Authen-Simple-LDAP/Makefile @@ -1,25 +1,23 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-LDAP PORTVERSION= 0.3 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple LDAP authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-perl-ldap>=0:net/p5-perl-ldap USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-Simple-Net/Makefile b/security/p5-Authen-Simple-Net/Makefile index 7a6de88f084d..df973a02d6a1 100644 --- a/security/p5-Authen-Simple-Net/Makefile +++ b/security/p5-Authen-Simple-Net/Makefile @@ -1,19 +1,17 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-Net PORTVERSION= 0.2 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple authentication via FTP, POP3, or SMTP BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-PAM/Makefile b/security/p5-Authen-Simple-PAM/Makefile index 31fa259df0ba..22a27008710a 100644 --- a/security/p5-Authen-Simple-PAM/Makefile +++ b/security/p5-Authen-Simple-PAM/Makefile @@ -1,23 +1,21 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-PAM PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple PAM authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-Authen-PAM>=0:security/p5-Authen-PAM USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-Passwd/Makefile b/security/p5-Authen-Simple-Passwd/Makefile index ff112b19195b..20521a6f648b 100644 --- a/security/p5-Authen-Simple-Passwd/Makefile +++ b/security/p5-Authen-Simple-Passwd/Makefile @@ -1,22 +1,20 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-Passwd PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple Passwd authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-RADIUS/Makefile b/security/p5-Authen-Simple-RADIUS/Makefile index 68a6f592265e..8f475f4142fc 100644 --- a/security/p5-Authen-Simple-RADIUS/Makefile +++ b/security/p5-Authen-Simple-RADIUS/Makefile @@ -1,23 +1,21 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-RADIUS PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple RADIUS authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-Authen-Radius>=0:security/p5-Authen-Radius USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-SMB/Makefile b/security/p5-Authen-Simple-SMB/Makefile index 51af1c8acba8..e1c97d8488fb 100644 --- a/security/p5-Authen-Simple-SMB/Makefile +++ b/security/p5-Authen-Simple-SMB/Makefile @@ -1,23 +1,21 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-SMB PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple SMB authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-Authen-Smb>=0:security/p5-Authen-Smb USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple-SSH/Makefile b/security/p5-Authen-Simple-SSH/Makefile index a2f276247a10..7c057761476f 100644 --- a/security/p5-Authen-Simple-SSH/Makefile +++ b/security/p5-Authen-Simple-SSH/Makefile @@ -1,24 +1,22 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple-SSH PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple SSH authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Authen-Simple>=0:security/p5-Authen-Simple \ p5-Net-SSH-Perl>=0:net/p5-Net-SSH-Perl NO_ARCH= yes USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Authen-Simple/Makefile b/security/p5-Authen-Simple/Makefile index 812553fa0170..bf9217a0466f 100644 --- a/security/p5-Authen-Simple/Makefile +++ b/security/p5-Authen-Simple/Makefile @@ -1,27 +1,25 @@ -# Created by: Aaron Dalton - PORTNAME= Authen-Simple PORTVERSION= 0.5 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple authentication framework LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-Class-Data-Inheritable>=0:devel/p5-Class-Data-Inheritable \ p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-Params-Validate>=0:devel/p5-Params-Validate USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-Smb/Makefile b/security/p5-Authen-Smb/Makefile index fdd650bc217f..edc7948c7338 100644 --- a/security/p5-Authen-Smb/Makefile +++ b/security/p5-Authen-Smb/Makefile @@ -1,26 +1,24 @@ -# Created by: Mustafa Arif - PORTNAME= Authen-Smb PORTVERSION= 0.91 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ma499@doc.ic.ac.uk COMMENT= Perl extension to authenticate against an SMB server LICENSE= GPLv2+ NONE # perl code has no license defined LICENSE_COMB= multi USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \ ${WRKSRC}/smbval/rfcnb-util.c \ ${WRKSRC}/smbval/session.c \ ${WRKSRC}/smbval/smblib-util.c \ ${WRKSRC}/smbval/smblib.c .include diff --git a/security/p5-Authen-TacacsPlus/Makefile b/security/p5-Authen-TacacsPlus/Makefile index 924118bbd92c..ffdb8f8b3e05 100644 --- a/security/p5-Authen-TacacsPlus/Makefile +++ b/security/p5-Authen-TacacsPlus/Makefile @@ -1,21 +1,19 @@ -# Created by: will - PORTNAME= Authen-TacacsPlus PORTVERSION= 0.28 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module that provides authentication using a tacacs+ server LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Authen/TacacsPlus/TacacsPlus.so .include diff --git a/security/p5-Authen-Ticket/Makefile b/security/p5-Authen-Ticket/Makefile index 421217ffccfa..f2c52556b148 100644 --- a/security/p5-Authen-Ticket/Makefile +++ b/security/p5-Authen-Ticket/Makefile @@ -1,19 +1,17 @@ -# Created by: will - PORTNAME= Authen-Ticket PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module providing the framework for implementing a ticketing system LICENSE= BSD3CLAUSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Authen-TypeKey/Makefile b/security/p5-Authen-TypeKey/Makefile index 0696242a8dc1..b4387803bd89 100644 --- a/security/p5-Authen-TypeKey/Makefile +++ b/security/p5-Authen-TypeKey/Makefile @@ -1,31 +1,29 @@ -# Created by: Gea-Suan Lin - PORTNAME= Authen-TypeKey PORTVERSION= 0.05 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= TypeKey authentication verification LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-ErrorHandler>=0:devel/p5-Class-ErrorHandler \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-libwww>=0:www/p5-libwww \ p5-Module-Install>0:devel/p5-Module-Install USES= perl5 USE_PERL5= configure NO_ARCH= yes post-patch: # Really old M::I code ${RM} -r ${WRKSRC}/inc .include diff --git a/security/p5-Business-PayPal-EWP/Makefile b/security/p5-Business-PayPal-EWP/Makefile index 4aecf6d17dc2..1741141b98cb 100644 --- a/security/p5-Business-PayPal-EWP/Makefile +++ b/security/p5-Business-PayPal-EWP/Makefile @@ -1,20 +1,18 @@ -# Created by: Alfred Perlstein - PORTNAME= Business-PayPal-EWP PORTVERSION= 1.03 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for PayPal Encrypted Website Payments RUN_DEPENDS= p5-Net-SSLeay>=0:security/p5-Net-SSLeay BUILD_DEPENDS= p5-Net-SSLeay>=0:security/p5-Net-SSLeay USES= dos2unix perl5 ssl USE_PERL5= configure CONFIGURE_ARGS= ${OPENSSLBASE} .include diff --git a/security/p5-Bytes-Random-Secure/Makefile b/security/p5-Bytes-Random-Secure/Makefile index f09951cfab7e..86b23ff2c921 100644 --- a/security/p5-Bytes-Random-Secure/Makefile +++ b/security/p5-Bytes-Random-Secure/Makefile @@ -1,24 +1,22 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Bytes-Random-Secure PORTVERSION= 0.29 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generate cryptographically-secure random bytes LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Random-Seed>=0:security/p5-Crypt-Random-Seed \ p5-Math-Random-ISAAC>=0:math/p5-Math-Random-ISAAC USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-CACertOrg-CA/Makefile b/security/p5-CACertOrg-CA/Makefile index f94770af5bb5..771c8e36b0ca 100644 --- a/security/p5-CACertOrg-CA/Makefile +++ b/security/p5-CACertOrg-CA/Makefile @@ -1,23 +1,21 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= CACertOrg-CA PORTVERSION= 20210114.001 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:BDFOY PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= CACert.org CA root certificate in PEM format LICENSE= CACERT LICENSE_NAME= CAcert Root Distribution License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror pkg-mirror USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-CSP/Makefile b/security/p5-CSP/Makefile index 6574af1c9dd6..21a096b41118 100644 --- a/security/p5-CSP/Makefile +++ b/security/p5-CSP/Makefile @@ -1,22 +1,20 @@ -# Created by: David Thiel - PORTNAME= CSP PORTVERSION= 0.34 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= ftp://ftp.it.su.se/pub/users/leifj/ \ http://redundancy.redundancy.org/mirror/ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl tool for managing Certificate Authorities BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc \ p5-Term-Prompt>=0:devel/p5-Term-Prompt \ p5-IPC-Run>=0:devel/p5-IPC-Run USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Cisco-Hash/Makefile b/security/p5-Cisco-Hash/Makefile index 241a41023d24..cd1dc1600958 100644 --- a/security/p5-Cisco-Hash/Makefile +++ b/security/p5-Cisco-Hash/Makefile @@ -1,16 +1,14 @@ -# Created by: Tsung-Han Yeh - PORTNAME= Cisco-Hash PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= snowfly@yuntech.edu.tw COMMENT= De- and encrypts Cisco type 7 hashes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Anubis/Makefile b/security/p5-Crypt-Anubis/Makefile index 84c083bf76ec..5da390676a06 100644 --- a/security/p5-Crypt-Anubis/Makefile +++ b/security/p5-Crypt-Anubis/Makefile @@ -1,16 +1,14 @@ -# Created by: Foxfair Hu - PORTNAME= Crypt-Anubis PORTVERSION= 1.0.4 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Crypt::CBC-compliant block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-AppleTwoFish/Makefile b/security/p5-Crypt-AppleTwoFish/Makefile index c8deb4a46c70..c0bcfab8205c 100644 --- a/security/p5-Crypt-AppleTwoFish/Makefile +++ b/security/p5-Crypt-AppleTwoFish/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-AppleTwoFish PORTVERSION= 0.051 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Apple iTMS internal key descrambling algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Argon2/Makefile b/security/p5-Crypt-Argon2/Makefile index 72d3fba85929..d3999905206a 100644 --- a/security/p5-Crypt-Argon2/Makefile +++ b/security/p5-Crypt-Argon2/Makefile @@ -1,21 +1,19 @@ -# Created by: Sergei Vyshenski - PORTNAME= Crypt-Argon2 DISTVERSION= 0.012 CATEGORIES= security MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl interface to the Argon2 key derivation functions LICENSE= CC0-1.0 LICENSE_FILE= ${WRKSRC}/README USES= perl5 USE_PERL5= modbuild post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Argon2/Argon2.so .include diff --git a/security/p5-Crypt-Blowfish/Makefile b/security/p5-Crypt-Blowfish/Makefile index 9c5f4ef95e7b..a977b9430060 100644 --- a/security/p5-Crypt-Blowfish/Makefile +++ b/security/p5-Crypt-Blowfish/Makefile @@ -1,22 +1,20 @@ -# Created by: patrick@mindstep.com - PORTNAME= Crypt-Blowfish PORTVERSION= 2.14 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to the Blowfish encryption algorithm LICENSE= BSD4CLAUSE # w/o 3'th clause LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//} USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Blowfish_PP/Makefile b/security/p5-Crypt-Blowfish_PP/Makefile index e6bf97840852..4122d3f754fd 100644 --- a/security/p5-Crypt-Blowfish_PP/Makefile +++ b/security/p5-Crypt-Blowfish_PP/Makefile @@ -1,16 +1,14 @@ -# Created by: Jim Geovedi - PORTNAME= Crypt-Blowfish_PP PORTVERSION= 1.12 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Blowfish encryption algorithm implemented purely in Perl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-CAST5/Makefile b/security/p5-Crypt-CAST5/Makefile index 53c6f066846d..3054ed960f33 100644 --- a/security/p5-Crypt-CAST5/Makefile +++ b/security/p5-Crypt-CAST5/Makefile @@ -1,16 +1,14 @@ -# Created by: Anton Berezin - PORTNAME= Crypt-CAST5 PORTVERSION= 0.05 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= CAST5 block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-CAST5_PP/Makefile b/security/p5-Crypt-CAST5_PP/Makefile index 6a841d438f2f..3022ad155af7 100644 --- a/security/p5-Crypt-CAST5_PP/Makefile +++ b/security/p5-Crypt-CAST5_PP/Makefile @@ -1,20 +1,18 @@ -# Created by: Kimura Fuyuki - PORTNAME= Crypt-CAST5_PP PORTVERSION= 1.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= CAST5 block cipher in pure Perl LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-CBC/Makefile b/security/p5-Crypt-CBC/Makefile index eadae7f4dd77..16277e0cef92 100644 --- a/security/p5-Crypt-CBC/Makefile +++ b/security/p5-Crypt-CBC/Makefile @@ -1,23 +1,21 @@ -# Created by: Mark Murray - PORTNAME= Crypt-CBC PORTVERSION= 3.04 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to Cipher Block Chaining with DES and IDEA LICENSE= ART10 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-PBKDF2>=0:security/p5-Crypt-PBKDF2 \ p5-CryptX>=0:security/p5-CryptX USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-CFB/Makefile b/security/p5-Crypt-CFB/Makefile index c09126fefbba..c6b148148671 100644 --- a/security/p5-Crypt-CFB/Makefile +++ b/security/p5-Crypt-CFB/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-CFB PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for encrypting data in Cipher Feedback Mode USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Caesar/Makefile b/security/p5-Crypt-Caesar/Makefile index e3deee98f4e6..75931beed97e 100644 --- a/security/p5-Crypt-Caesar/Makefile +++ b/security/p5-Crypt-Caesar/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Caesar PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for decrypting rot-N strings USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Camellia_PP/Makefile b/security/p5-Crypt-Camellia_PP/Makefile index 25e0a6a0de55..d6f1d00a981d 100644 --- a/security/p5-Crypt-Camellia_PP/Makefile +++ b/security/p5-Crypt-Camellia_PP/Makefile @@ -1,20 +1,18 @@ -# Created by: Yoshisato YANAGISAWA - PORTNAME= Crypt-Camellia_PP PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pure Perl Camellia 128-bit block cipher module LICENSE= ART10 GPLv1+ LICENSE_COMB= dual NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Chimera/Makefile b/security/p5-Crypt-Chimera/Makefile index 7300d09cf880..049c16f52968 100644 --- a/security/p5-Crypt-Chimera/Makefile +++ b/security/p5-Crypt-Chimera/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Chimera PORTVERSION= 1.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Chimera key exchange protocol USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-CipherSaber/Makefile b/security/p5-Crypt-CipherSaber/Makefile index e99043989e47..71c1c974469c 100644 --- a/security/p5-Crypt-CipherSaber/Makefile +++ b/security/p5-Crypt-CipherSaber/Makefile @@ -1,20 +1,18 @@ -# Created by: will - PORTNAME= Crypt-CipherSaber PORTVERSION= 1.01 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module providing an OO interface to CipherSaber encryption LICENSE= ART10 GPLv1+ LICENSE_COMB= dual TEST_DEPENDS= p5-Test-Warn>=0.30:devel/p5-Test-Warn USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Cracklib/Makefile b/security/p5-Crypt-Cracklib/Makefile index 0e0f3605f3b4..1eb673f17932 100644 --- a/security/p5-Crypt-Cracklib/Makefile +++ b/security/p5-Crypt-Cracklib/Makefile @@ -1,25 +1,23 @@ -# Created by: will - PORTNAME= Crypt-Cracklib PORTVERSION= 1.7 PORTREVISION= 6 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to Alec Muffet's cracklib library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libcrack.so:security/cracklib USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/cracklib-words\\\"" post-patch: @${REINPLACE_CMD} 's/-Werror//' ${WRKSRC}/Makefile.PL .include diff --git a/security/p5-Crypt-Ctr/Makefile b/security/p5-Crypt-Ctr/Makefile index 762fae1de42c..94ec97ace28d 100644 --- a/security/p5-Crypt-Ctr/Makefile +++ b/security/p5-Crypt-Ctr/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Ctr PORTVERSION= 0.01 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for encrypting data in Counter Mode BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-CFB>=0:security/p5-Crypt-CFB USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Curve25519/Makefile b/security/p5-Crypt-Curve25519/Makefile index c99819df49ce..d6cee2c6d27b 100644 --- a/security/p5-Crypt-Curve25519/Makefile +++ b/security/p5-Crypt-Curve25519/Makefile @@ -1,28 +1,26 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Crypt-Curve25519 PORTVERSION= 0.06 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generate shared secret using elliptic-curve Diffie-Hellman function LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_mips= fails to build: -m32 flag is not supported by this configuration BROKEN_mips64= fails to build: -m32 flag is not supported by this configuration BROKEN_sparc64= fails to build: -m32 flag is not supported by this configuration USES= perl5 ssl USE_PERL5= configure MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Curve25519/Curve25519.so .include diff --git a/security/p5-Crypt-DES/Makefile b/security/p5-Crypt-DES/Makefile index 994a20215c76..057e306f83e1 100644 --- a/security/p5-Crypt-DES/Makefile +++ b/security/p5-Crypt-DES/Makefile @@ -1,22 +1,20 @@ -# Created by: James FitzGibbon - PORTNAME= Crypt-DES PORTVERSION= 2.07 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to DES block cipher LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= ${RUN_DEPENDS} TEST_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-DES_EDE3/Makefile b/security/p5-Crypt-DES_EDE3/Makefile index a3af2bcfc16d..fe70ddb9e1b7 100644 --- a/security/p5-Crypt-DES_EDE3/Makefile +++ b/security/p5-Crypt-DES_EDE3/Makefile @@ -1,23 +1,21 @@ -# Created by: jesper - PORTNAME= Crypt-DES_EDE3 PORTVERSION= 0.01 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to a implementing 3-DES EDE encryption and decryption LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-DES>=0:security/p5-Crypt-DES USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-DES_PP/Makefile b/security/p5-Crypt-DES_PP/Makefile index 7cf85b48da6c..354a2d191560 100644 --- a/security/p5-Crypt-DES_PP/Makefile +++ b/security/p5-Crypt-DES_PP/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-DES_PP PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for DES encryption in pure Perl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-DH/Makefile b/security/p5-Crypt-DH/Makefile index 0efe943cbef5..96f6a8747447 100644 --- a/security/p5-Crypt-DH/Makefile +++ b/security/p5-Crypt-DH/Makefile @@ -1,19 +1,17 @@ -# Created by: jesper - PORTNAME= Crypt-DH PORTVERSION= 0.07 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to a Diffie-Hellman key exchange system LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-DSA/Makefile b/security/p5-Crypt-DSA/Makefile index 37e8fee87de5..1255c1a84e7a 100644 --- a/security/p5-Crypt-DSA/Makefile +++ b/security/p5-Crypt-DSA/Makefile @@ -1,24 +1,22 @@ -# Created by: Michael Haro - PORTNAME= Crypt-DSA PORTVERSION= 1.17 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= DSA signature and key generation BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Convert-PEM>=0:converters/p5-Convert-PEM \ p5-Data-Buffer>=0:misc/p5-Data-Buffer \ p5-File-Which>=0.05:sysutils/p5-File-Which USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Dining/Makefile b/security/p5-Crypt-Dining/Makefile index a6eb9e7f1e30..535e17151f88 100644 --- a/security/p5-Crypt-Dining/Makefile +++ b/security/p5-Crypt-Dining/Makefile @@ -1,20 +1,18 @@ -# Created by: Aaron Dalton - PORTNAME= Crypt-Dining PORTVERSION= 1.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= The Dining Cryptographers' Protocol BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Random>=0:security/p5-Crypt-Random \ p5-Net-Address-IPv4-Local>=0:net/p5-Net-Address-IPv4-Local USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-ECB/Makefile b/security/p5-Crypt-ECB/Makefile index 0a025ca8e2c5..a3b82c7fc1dc 100644 --- a/security/p5-Crypt-ECB/Makefile +++ b/security/p5-Crypt-ECB/Makefile @@ -1,22 +1,20 @@ -# Created by: will - PORTNAME= Crypt-ECB PORTVERSION= 2.22 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module implementing the ECB encryption algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/ARTISTIC LICENSE_FILE_GPLv1+ = ${WRKSRC}/GPLv1 USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Eksblowfish/Makefile b/security/p5-Crypt-Eksblowfish/Makefile index ace3a99bcd50..1ac33aa7897f 100644 --- a/security/p5-Crypt-Eksblowfish/Makefile +++ b/security/p5-Crypt-Eksblowfish/Makefile @@ -1,25 +1,23 @@ -# Created by: brix@FreeBSD.org - PORTNAME= Crypt-Eksblowfish PORTVERSION= 0.009 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for the Eksblowfish block cipher LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Mix>=0:devel/p5-Class-Mix USES= perl5 USE_PERL5= modbuild post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Eksblowfish/Eksblowfish.so .include diff --git a/security/p5-Crypt-Enigma/Makefile b/security/p5-Crypt-Enigma/Makefile index fa2c7d51a7ae..0109276a2f50 100644 --- a/security/p5-Crypt-Enigma/Makefile +++ b/security/p5-Crypt-Enigma/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Enigma PORTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for the Enigma cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-GCrypt/Makefile b/security/p5-Crypt-GCrypt/Makefile index feccd3bb2fc8..a0ac5cac32ab 100644 --- a/security/p5-Crypt-GCrypt/Makefile +++ b/security/p5-Crypt-GCrypt/Makefile @@ -1,24 +1,22 @@ -# Created by: TAKAHASHI Kaoru - PORTNAME= Crypt-GCrypt PORTVERSION= 1.26 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl interface to the GNU Cryptographic library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libgcrypt.so:security/libgcrypt USES= localbase perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/GCrypt/GCrypt.so .include diff --git a/security/p5-Crypt-GOST/Makefile b/security/p5-Crypt-GOST/Makefile index 3f619d6e7263..f1d3a5e9f92e 100644 --- a/security/p5-Crypt-GOST/Makefile +++ b/security/p5-Crypt-GOST/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-GOST PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for GOST Encryption Algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-GOST_PP/Makefile b/security/p5-Crypt-GOST_PP/Makefile index 9abde49a9307..6cfff13fecc7 100644 --- a/security/p5-Crypt-GOST_PP/Makefile +++ b/security/p5-Crypt-GOST_PP/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-GOST_PP PORTVERSION= 1.10 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for GOST Encryption Algorithm in pure Perl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-GPG/Makefile b/security/p5-Crypt-GPG/Makefile index c09b33a1b3e2..7eec04bf9004 100644 --- a/security/p5-Crypt-GPG/Makefile +++ b/security/p5-Crypt-GPG/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-GPG PORTVERSION= 1.64 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for GnuPG RUN_DEPENDS= p5-IPC-Run>=0:devel/p5-IPC-Run \ p5-TimeDate>=1.20:devel/p5-TimeDate USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-GeneratePassword/Makefile b/security/p5-Crypt-GeneratePassword/Makefile index a4973ac799c1..c1d8398f57ca 100644 --- a/security/p5-Crypt-GeneratePassword/Makefile +++ b/security/p5-Crypt-GeneratePassword/Makefile @@ -1,19 +1,17 @@ -# Created by: andrew@scoop.co.nz - PORTNAME= Crypt-GeneratePassword PORTVERSION= 0.05 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Generate secure random pronounceable passwords LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-GpgME/Makefile b/security/p5-Crypt-GpgME/Makefile index 4fb7852a13dd..c73c4957591d 100644 --- a/security/p5-Crypt-GpgME/Makefile +++ b/security/p5-Crypt-GpgME/Makefile @@ -1,34 +1,32 @@ -# Created by: Alexey Dokuchaev - PORTNAME= Crypt-GpgME PORTVERSION= 0.09 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to libgpgme LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error \ libgpgme.so:security/gpgme RUN_DEPENDS= p5-IO-Stringy>=0:devel/p5-IO-Stringy TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception USES= gmake localbase perl5 USE_PERL5= configure OPTIONS_DEFINE= DOCS EXAMPLES post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/Changes ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/p5-Crypt-HCE_MD5/Makefile b/security/p5-Crypt-HCE_MD5/Makefile index 19d5ec6e0a4d..8601b5a5cdd0 100644 --- a/security/p5-Crypt-HCE_MD5/Makefile +++ b/security/p5-Crypt-HCE_MD5/Makefile @@ -1,15 +1,13 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-HCE_MD5 PORTVERSION= 0.75 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension implementing one way hash chaining encryption using MD5 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-HCE_SHA/Makefile b/security/p5-Crypt-HCE_SHA/Makefile index cf03859b9fa6..2555d90d329c 100644 --- a/security/p5-Crypt-HCE_SHA/Makefile +++ b/security/p5-Crypt-HCE_SHA/Makefile @@ -1,19 +1,17 @@ -# Created by: Gregory Neil Shapiro - PORTNAME= Crypt-HCE_SHA PORTVERSION= 0.70 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl5 interface to one way hash chaining block cipher BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-HSXKPasswd/Makefile b/security/p5-Crypt-HSXKPasswd/Makefile index 5db79533d5e2..481806e1b5c9 100644 --- a/security/p5-Crypt-HSXKPasswd/Makefile +++ b/security/p5-Crypt-HSXKPasswd/Makefile @@ -1,30 +1,28 @@ -# Created by: Zeus Panchenko - PORTNAME= Crypt-HSXKPasswd PORTVERSION= 3.6 DISTVERSIONPREFIX= v CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Secure memorable password generator inspired by XKCD LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-Clone>=0:devel/p5-Clone \ p5-File-HomeDir>=0:devel/p5-File-HomeDir \ p5-JSON>=0:converters/p5-JSON \ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Math-Round>=0:math/p5-Math-Round \ p5-Readonly>=0:devel/p5-Readonly \ p5-Text-Unidecode>=0:converters/p5-Text-Unidecode \ p5-Type-Tiny>=0:devel/p5-Type-Tiny TEST_DEPENDS= p5-File-Share>=0:devel/p5-File-Share NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-IDEA/Makefile b/security/p5-Crypt-IDEA/Makefile index 263a4bd606b9..293f066147c0 100644 --- a/security/p5-Crypt-IDEA/Makefile +++ b/security/p5-Crypt-IDEA/Makefile @@ -1,16 +1,14 @@ -# Created by: James FitzGibbon - PORTNAME= Crypt-IDEA PORTVERSION= 1.10 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to IDEA block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Imail/Makefile b/security/p5-Crypt-Imail/Makefile index 16f7bea4b134..05cf5150bbf5 100644 --- a/security/p5-Crypt-Imail/Makefile +++ b/security/p5-Crypt-Imail/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Imail PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension to encrypt and decrypt Imail passwords USES= perl5 USE_PERL5= configure WRKSRC= ${WRKDIR}/Imail .include diff --git a/security/p5-Crypt-JWT/Makefile b/security/p5-Crypt-JWT/Makefile index b8ba5c2c98ee..2200d05885c7 100644 --- a/security/p5-Crypt-JWT/Makefile +++ b/security/p5-Crypt-JWT/Makefile @@ -1,25 +1,23 @@ -# Created by: Sergei Vyshenski - PORTNAME= Crypt-JWT DISTVERSION= 0.034 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= JSON Web Token (JWT, JWS, JWE) as defined by RFC7519, RFC7515, RFC7516 LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-CryptX>=0.067:security/p5-CryptX \ p5-JSON>=0:converters/p5-JSON USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Juniper/Makefile b/security/p5-Crypt-Juniper/Makefile index 44f1e3b6be7c..b9cf959ddb67 100644 --- a/security/p5-Crypt-Juniper/Makefile +++ b/security/p5-Crypt-Juniper/Makefile @@ -1,18 +1,16 @@ -# Created by: Tsung-Han Yeh - PORTNAME= Crypt-Juniper PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= snowfly@yuntech.edu.tw COMMENT= Encrypt and decrypt Juniper $9$ secrets TEST_DEPENDS= p5-Test-Exception>0:devel/p5-Test-Exception USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Khazad/Makefile b/security/p5-Crypt-Khazad/Makefile index f6b9646f8e84..4c2ab854a45d 100644 --- a/security/p5-Crypt-Khazad/Makefile +++ b/security/p5-Crypt-Khazad/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Khazad PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Khazad block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-LibSCEP/Makefile b/security/p5-Crypt-LibSCEP/Makefile index 715ef2505007..a35c4ea2ab4b 100644 --- a/security/p5-Crypt-LibSCEP/Makefile +++ b/security/p5-Crypt-LibSCEP/Makefile @@ -1,32 +1,30 @@ -# Created by: Sergei Vyshenski - PORTNAME= Crypt-LibSCEP DISTVERSIONPREFIX= v DISTVERSION= 0.09 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Easy-to-use interface between LibSCEP and Perl programs LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/Readme.md BUILD_DEPENDS= libscep>=0.09:security/libscep RUN_DEPENDS= libscep>=0.09:security/libscep USES= gmake localbase perl5 ssl USE_GITHUB= yes GH_ACCOUNT= openxpki GH_PROJECT= libscep USE_PERL5= configure WRKSRC_SUBDIR= src/clients/perl/${PORTNAME} _DOTNAME= ${PORTNAME:S|-|.|g} _NAME1= ${_DOTNAME:R} _NAME2= ${_DOTNAME:E} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/${_NAME1}/${_NAME2}/${_NAME2}.so .include diff --git a/security/p5-Crypt-License/Makefile b/security/p5-Crypt-License/Makefile index ace3dcc89835..72c85e8a563e 100644 --- a/security/p5-Crypt-License/Makefile +++ b/security/p5-Crypt-License/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-License PORTVERSION= 2.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension to examine a license USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Lite/Makefile b/security/p5-Crypt-Lite/Makefile index 83fdb2419f61..584b08693dbf 100644 --- a/security/p5-Crypt-Lite/Makefile +++ b/security/p5-Crypt-Lite/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Lite PORTVERSION= 0.82.11 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for a symmetric data encryption and decryption LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Loki97/Makefile b/security/p5-Crypt-Loki97/Makefile index 52bdd9d99b35..8a60066ceb7a 100644 --- a/security/p5-Crypt-Loki97/Makefile +++ b/security/p5-Crypt-Loki97/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Loki97 PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Loki97 block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-MySQL/Makefile b/security/p5-Crypt-MySQL/Makefile index b5fc585bf0e1..22509a63805c 100644 --- a/security/p5-Crypt-MySQL/Makefile +++ b/security/p5-Crypt-MySQL/Makefile @@ -1,21 +1,19 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-MySQL PORTVERSION= 0.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension to compare MySQL passwords without libmysqlclient LICENSE= ART10 GPLv1+ LICENSE_COMB= dual RUN_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Crypt-NULL/Makefile b/security/p5-Crypt-NULL/Makefile index 075ea1456138..333c40ff1b48 100644 --- a/security/p5-Crypt-NULL/Makefile +++ b/security/p5-Crypt-NULL/Makefile @@ -1,16 +1,14 @@ -# Created by: TAKAHASHI Kaoru - PORTNAME= Crypt-NULL PORTVERSION= 1.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of the NULL encryption algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-OFB/Makefile b/security/p5-Crypt-OFB/Makefile index 37efd22f3855..e4ce0adee63e 100644 --- a/security/p5-Crypt-OFB/Makefile +++ b/security/p5-Crypt-OFB/Makefile @@ -1,19 +1,17 @@ -# Created by: clsung - PORTNAME= Crypt-OFB PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Encrypt Data using OFB Mode BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-ECB>=0:security/p5-Crypt-ECB USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-OICQ/Makefile b/security/p5-Crypt-OICQ/Makefile index 420d45b180cc..d399b28f365d 100644 --- a/security/p5-Crypt-OICQ/Makefile +++ b/security/p5-Crypt-OICQ/Makefile @@ -1,16 +1,14 @@ -# Created by: Rong-En Fan - PORTNAME= Crypt-OICQ PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Cryptographic algorithm used by OICQ protocol USES= perl5 tar:tgz USE_PERL5= configure .include diff --git a/security/p5-Crypt-OTP/Makefile b/security/p5-Crypt-OTP/Makefile index 4178a0966917..06bbeccd7598 100644 --- a/security/p5-Crypt-OTP/Makefile +++ b/security/p5-Crypt-OTP/Makefile @@ -1,16 +1,14 @@ -# Created by: Seamus Venasse - PORTNAME= Crypt-OTP PORTVERSION= 2.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl implementation of the One Time Pad (hence, OTP) encryption method USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-OpenPGP/Makefile b/security/p5-Crypt-OpenPGP/Makefile index 15930393838d..484dfde0887c 100644 --- a/security/p5-Crypt-OpenPGP/Makefile +++ b/security/p5-Crypt-OpenPGP/Makefile @@ -1,33 +1,31 @@ -# Created by: Michael Haro - PORTNAME= Crypt-OpenPGP PORTVERSION= 1.12 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pure-Perl OpenPGP-compatible PGP implementation BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Alt-Crypt-RSA-BigInt>=0:security/p5-Alt-Crypt-RSA-BigInt \ p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-CAST5_PP>=0:security/p5-Crypt-CAST5_PP \ p5-Crypt-DES_EDE3>=0:security/p5-Crypt-DES_EDE3 \ p5-Crypt-DSA>=0:security/p5-Crypt-DSA \ p5-Crypt-IDEA>=0:security/p5-Crypt-IDEA \ p5-Crypt-RIPEMD160>=0:security/p5-Crypt-RIPEMD160 \ p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \ p5-Crypt-Twofish>=0:security/p5-Crypt-Twofish \ p5-Data-Buffer>=0.04:misc/p5-Data-Buffer \ p5-File-HomeDir>=0:devel/p5-File-HomeDir \ p5-libwww>=0:www/p5-libwww \ p5-URI>=0:net/p5-URI TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-OpenSSL-AES/Makefile b/security/p5-Crypt-OpenSSL-AES/Makefile index 2811ef9ec517..d3317e2f76f4 100644 --- a/security/p5-Crypt-OpenSSL-AES/Makefile +++ b/security/p5-Crypt-OpenSSL-AES/Makefile @@ -1,17 +1,15 @@ -# Created by: John Ferrell - PORTNAME= Crypt-OpenSSL-AES PORTVERSION= 0.02 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jdferrell3@yahoo.com COMMENT= Perl wrapper around OpenSSL's AES library USES= perl5 ssl USE_PERL5= configure MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC} .include diff --git a/security/p5-Crypt-OpenSSL-Bignum/Makefile b/security/p5-Crypt-OpenSSL-Bignum/Makefile index 47014f2503da..dbd512eb7528 100644 --- a/security/p5-Crypt-OpenSSL-Bignum/Makefile +++ b/security/p5-Crypt-OpenSSL-Bignum/Makefile @@ -1,23 +1,21 @@ -# Created by: erwin@FreeBSD.org - PORTNAME= Crypt-OpenSSL-Bignum PORTVERSION= 0.09 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= OpenSSL's multiprecision integer arithmetic #' LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USE_PERL5= configure USES= perl5 ssl MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/Bignum/Bignum.so .include diff --git a/security/p5-Crypt-OpenSSL-CA/Makefile b/security/p5-Crypt-OpenSSL-CA/Makefile index 3b5d11592a3c..4ddf12d0f186 100644 --- a/security/p5-Crypt-OpenSSL-CA/Makefile +++ b/security/p5-Crypt-OpenSSL-CA/Makefile @@ -1,37 +1,35 @@ -# Created by: Mosconi - PORTNAME= Crypt-OpenSSL-CA PORTVERSION= 0.91 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for OpenSSL CA API LICENSE= ART10 GPLv1+ LICENSE_COMB= dual # Note: Devel::Mallinfo is skipped because mallinfo() is a GNU libc function BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Convert-ASN1>=0.20:converters/p5-Convert-ASN1 \ p5-Devel-Leak>=0:devel/p5-Devel-Leak \ p5-File-Slurp>=0:devel/p5-File-Slurp \ p5-File-Which>=0:sysutils/p5-File-Which \ p5-IPC-Run>=0:devel/p5-IPC-Run \ p5-Inline-C>=0:devel/p5-Inline-C \ p5-Inline>=0.40:devel/p5-Inline \ p5-Net-SSLeay>=1.25:security/p5-Net-SSLeay TEST_DEPENDS= p5-Test-Taint>=0:devel/p5-Test-Taint \ p5-Test2-Suite>=0:devel/p5-Test2-Suite USES= perl5 ssl USE_PERL5= modbuild CONFIGURE_ARGS= --openssl-cflags=-L${OPENSSLINC} \ --openssl-ldflags="-I${OPENSSLLIB} ${OPENSSL_LDFLAGS}" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/CA/*/*.so .include diff --git a/security/p5-Crypt-OpenSSL-DSA/Makefile b/security/p5-Crypt-OpenSSL-DSA/Makefile index c5f8ac4f0c21..8283f14d4795 100644 --- a/security/p5-Crypt-OpenSSL-DSA/Makefile +++ b/security/p5-Crypt-OpenSSL-DSA/Makefile @@ -1,23 +1,21 @@ -# Created by: nork@FreeBSD.org - PORTNAME= Crypt-OpenSSL-DSA PORTVERSION= 0.20 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to DSA signature verification using OpenSSL LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 ssl USE_PERL5= configure MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/DSA/DSA.so .include diff --git a/security/p5-Crypt-OpenSSL-EC/Makefile b/security/p5-Crypt-OpenSSL-EC/Makefile index 0620236be82c..b87464629e36 100644 --- a/security/p5-Crypt-OpenSSL-EC/Makefile +++ b/security/p5-Crypt-OpenSSL-EC/Makefile @@ -1,27 +1,25 @@ -# Created by: Adam Weinberger - PORTNAME= Crypt-OpenSSL-EC PORTVERSION= 1.32 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MIKEM PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for OpenSSL EC (Elliptic Curves) library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0.04:security/p5-Crypt-OpenSSL-Bignum USES= perl5 ssl USE_PERL5= configure MAKE_ENV= OPENSSL_PREFIX=${OPENSSLBASE} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/EC/EC.so .include diff --git a/security/p5-Crypt-OpenSSL-ECDSA/Makefile b/security/p5-Crypt-OpenSSL-ECDSA/Makefile index 060d7a3b4ecf..96b96130cc43 100644 --- a/security/p5-Crypt-OpenSSL-ECDSA/Makefile +++ b/security/p5-Crypt-OpenSSL-ECDSA/Makefile @@ -1,26 +1,24 @@ -# Created by: Adam Weinberger - PORTNAME= Crypt-OpenSSL-ECDSA PORTVERSION= 0.10 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for OpenSSL ECDSA LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-OpenSSL-EC>=0.05:security/p5-Crypt-OpenSSL-EC USES= perl5 ssl USE_PERL5= configure CFLAGS+= -I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/ECDSA/ECDSA.so .include diff --git a/security/p5-Crypt-OpenSSL-Guess/Makefile b/security/p5-Crypt-OpenSSL-Guess/Makefile index 0aef1e97214e..fd19a2ed3fdf 100644 --- a/security/p5-Crypt-OpenSSL-Guess/Makefile +++ b/security/p5-Crypt-OpenSSL-Guess/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= Crypt-OpenSSL-Guess PORTVERSION= 0.15 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Guess OpenSSL include path LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile index e2e3e833a31b..323e653a2df3 100644 --- a/security/p5-Crypt-OpenSSL-RSA/Makefile +++ b/security/p5-Crypt-OpenSSL-RSA/Makefile @@ -1,27 +1,25 @@ -# Created by: nork@cityfujisawa.ne.jp - PORTNAME= Crypt-OpenSSL-RSA PORTVERSION= 0.33 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module to RSA encode and decode strings using OpenSSL LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= p5-Crypt-OpenSSL-Guess>=0.11:security/p5-Crypt-OpenSSL-Guess \ ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-OpenSSL-Bignum>=0:security/p5-Crypt-OpenSSL-Bignum \ p5-Crypt-OpenSSL-Random>=0:security/p5-Crypt-OpenSSL-Random USES= perl5 ssl USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/RSA/RSA.so .include diff --git a/security/p5-Crypt-OpenSSL-Random/Makefile b/security/p5-Crypt-OpenSSL-Random/Makefile index 82ca7abc9665..8c73a6208ad0 100644 --- a/security/p5-Crypt-OpenSSL-Random/Makefile +++ b/security/p5-Crypt-OpenSSL-Random/Makefile @@ -1,27 +1,25 @@ -# Created by: nork@cityfujisawa.ne.jp - PORTNAME= Crypt-OpenSSL-Random PORTVERSION= 0.15 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:RURBAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the OpenSSL pseudo-random number generator LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/LICENSE BUILD_DEPENDS= p5-Crypt-OpenSSL-Guess>=0.11:security/p5-Crypt-OpenSSL-Guess USES= perl5 ssl USE_PERL5= configure MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/Random/Random.so .include diff --git a/security/p5-Crypt-OpenSSL-X509/Makefile b/security/p5-Crypt-OpenSSL-X509/Makefile index 43961b5ea612..5b7c38fa00c7 100644 --- a/security/p5-Crypt-OpenSSL-X509/Makefile +++ b/security/p5-Crypt-OpenSSL-X509/Makefile @@ -1,28 +1,26 @@ -# Created by: kftseng@iyard.org - PORTNAME= Crypt-OpenSSL-X509 PORTVERSION= 1.914 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for OpenSSL X509 API LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-Crypt-OpenSSL-Guess>=0:security/p5-Crypt-OpenSSL-Guess \ ${RUN_DEPENDS} RUN_DEPENDS= p5-Convert-ASN1>=0.33:converters/p5-Convert-ASN1 TEST_DEPENDS= p5-Test-Pod>=1.00:devel/p5-Test-Pod USES= perl5 ssl USE_PERL5= configure MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/X509/X509.so .include diff --git a/security/p5-Crypt-PBKDF2/Makefile b/security/p5-Crypt-PBKDF2/Makefile index a779573ac722..3118846c66ce 100644 --- a/security/p5-Crypt-PBKDF2/Makefile +++ b/security/p5-Crypt-PBKDF2/Makefile @@ -1,32 +1,30 @@ -# Created by: Victor Popov - PORTNAME= Crypt-PBKDF2 PORTVERSION= 0.161520 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= PBKDF2 password hashing algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-HMAC>=1.01:security/p5-Digest-HMAC \ p5-Digest-SHA3>=0.22:security/p5-Digest-SHA3 \ p5-Module-Runtime>=0:devel/p5-Module-Runtime \ p5-Moo>=2:devel/p5-Moo \ p5-Try-Tiny>=0.04:lang/p5-Try-Tiny \ p5-Type-Tiny>=0:devel/p5-Type-Tiny \ p5-namespace-autoclean>=0:devel/p5-namespace-autoclean \ p5-strictures>=2:devel/p5-strictures TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-PKCS10/Makefile b/security/p5-Crypt-PKCS10/Makefile index 80c5062dcae7..b236dea080fb 100644 --- a/security/p5-Crypt-PKCS10/Makefile +++ b/security/p5-Crypt-PKCS10/Makefile @@ -1,31 +1,29 @@ -# Created by: Sergei Vyshenski - PORTNAME= Crypt-PKCS10 PORTVERSION= 2.003 PORTEPOCH= 1 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Parse PKCS #10 certificate requests LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Convert-ASN1>=0.27:converters/p5-Convert-ASN1 \ p5-Crypt-OpenSSL-DSA>0:security/p5-Crypt-OpenSSL-DSA \ p5-Crypt-OpenSSL-RSA>0:security/p5-Crypt-OpenSSL-RSA \ p5-CryptX>0:security/p5-CryptX \ p5-Digest-MD2>0:security/p5-Digest-MD2 \ p5-Digest-MD4>0:security/p5-Digest-MD4 TEST_DEPENDS= p5-Module-Signature>0:security/p5-Module-Signature USES= perl5 USE_GITHUB= yes GH_ACCOUNT= openxpki USE_PERL5= modbuildtiny NO_ARCH= yes .include diff --git a/security/p5-Crypt-PWSafe3/Makefile b/security/p5-Crypt-PWSafe3/Makefile index 066ce3ab3fc8..29b2f6ccc123 100644 --- a/security/p5-Crypt-PWSafe3/Makefile +++ b/security/p5-Crypt-PWSafe3/Makefile @@ -1,25 +1,23 @@ -# Created by: Alexander Y. Grigoryev - PORTNAME= Crypt-PWSafe3 PORTVERSION= 1.22 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= alexander.4mail@gmail.com COMMENT= Read and write Passwordsafe v3 files LICENSE= ART20 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-HMAC>=1.00:security/p5-Digest-HMAC \ p5-Crypt-CBC>=2.30:security/p5-Crypt-CBC \ p5-Crypt-ECB>=1.45:security/p5-Crypt-ECB \ p5-Crypt-Twofish>=2.14:security/p5-Crypt-Twofish \ p5-Crypt-Random>=1.25:security/p5-Crypt-Random \ p5-Data-UUID>=1.217:devel/p5-Data-UUID USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-PasswdMD5/Makefile b/security/p5-Crypt-PasswdMD5/Makefile index 5066a8d192b3..ed1f8020b878 100644 --- a/security/p5-Crypt-PasswdMD5/Makefile +++ b/security/p5-Crypt-PasswdMD5/Makefile @@ -1,21 +1,19 @@ -# Created by: Erwin Lansing - PORTNAME= Crypt-PasswdMD5 PORTVERSION= 1.42 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module that provides interoperable MD5-based crypt() function LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/LICENSE USES= perl5 tar:tgz USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Password-Util/Makefile b/security/p5-Crypt-Password-Util/Makefile index 0ce4cff8892f..fd268914ef6c 100644 --- a/security/p5-Crypt-Password-Util/Makefile +++ b/security/p5-Crypt-Password-Util/Makefile @@ -1,24 +1,22 @@ -# Created by: Henk van Oers - PORTNAME= Crypt-Password-Util PORTVERSION= 0.17 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Crypt password utilities LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Bytes-Random-Secure>=0:security/p5-Bytes-Random-Secure TEST_DEPENDS= p5-Sort-Versions>=0:devel/p5-Sort-Versions NO_ARCH= yes USE_PERL5= configure USES= perl5 .include diff --git a/security/p5-Crypt-Primes/Makefile b/security/p5-Crypt-Primes/Makefile index 2d368ae1979a..90e1c378ee0b 100644 --- a/security/p5-Crypt-Primes/Makefile +++ b/security/p5-Crypt-Primes/Makefile @@ -1,24 +1,22 @@ -# Created by: Michael Haro - PORTNAME= Crypt-Primes PORTVERSION= 0.50 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Provable Prime Number Generator suitable for Cryptographic Applications LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Random>=0:security/p5-Crypt-Random \ p5-Math-Pari>=0:math/p5-Math-Pari USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-RC4/Makefile b/security/p5-Crypt-RC4/Makefile index e5ceb36d2203..61189156e96a 100644 --- a/security/p5-Crypt-RC4/Makefile +++ b/security/p5-Crypt-RC4/Makefile @@ -1,20 +1,18 @@ -# Created by: Seamus Venasse - PORTNAME= Crypt-RC4 PORTVERSION= 2.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl implementation of the RC4 encryption algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-RC5/Makefile b/security/p5-Crypt-RC5/Makefile index 88892884f346..efbbcbfff2ae 100644 --- a/security/p5-Crypt-RC5/Makefile +++ b/security/p5-Crypt-RC5/Makefile @@ -1,16 +1,14 @@ -# Created by: nork@FreeBSD.org - PORTNAME= Crypt-RC5 PORTVERSION= 2.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of the RC5 encryption algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-RC6/Makefile b/security/p5-Crypt-RC6/Makefile index 096fb9d1248f..2b1ea95db86e 100644 --- a/security/p5-Crypt-RC6/Makefile +++ b/security/p5-Crypt-RC6/Makefile @@ -1,16 +1,14 @@ -# Created by: nork@FreeBSD.org - PORTNAME= Crypt-RC6 PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of the RC6 encryption algorithm USES= perl5 dos2unix USE_PERL5= configure .include diff --git a/security/p5-Crypt-RHash/Makefile b/security/p5-Crypt-RHash/Makefile index 7510e65f8f72..cc08eea7f634 100644 --- a/security/p5-Crypt-RHash/Makefile +++ b/security/p5-Crypt-RHash/Makefile @@ -1,22 +1,20 @@ -# Created by: perl@FreeBSD.org - PORTNAME= Crypt-RHash PORTVERSION= 1.00 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Compute hash sums and magnet links LICENSE= MIT BROKEN_mips64= Fails to build: error Cannot detect CPU architechture USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Rhash/Rhash.so .include diff --git a/security/p5-Crypt-RIPEMD160/Makefile b/security/p5-Crypt-RIPEMD160/Makefile index 5ba69c64b342..2f68ec5bb317 100644 --- a/security/p5-Crypt-RIPEMD160/Makefile +++ b/security/p5-Crypt-RIPEMD160/Makefile @@ -1,21 +1,19 @@ -# Created by: Michael Haro - PORTNAME= Crypt-RIPEMD160 PORTVERSION= 0.08 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= RIPEMD-160 message digest algorithm LICENSE= ART20 GPLv1 LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/RIPEMD160/RIPEMD160.so .include diff --git a/security/p5-Crypt-RSA-Yandex/Makefile b/security/p5-Crypt-RSA-Yandex/Makefile index 26a026ebaae2..1b1b72d0187f 100644 --- a/security/p5-Crypt-RSA-Yandex/Makefile +++ b/security/p5-Crypt-RSA-Yandex/Makefile @@ -1,18 +1,16 @@ -# Created by: Anes Mukhametov - PORTNAME= Crypt-RSA-Yandex PORTVERSION= 0.06 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= anes@anes.su COMMENT= Perl binding to modified RSA (yamrsa) USES= perl5 USE_PERL5= configure MAKE_ARGS= CC="${CXX}" .include diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile index 538b4f568bfb..20e2e37e02e8 100644 --- a/security/p5-Crypt-RSA/Makefile +++ b/security/p5-Crypt-RSA/Makefile @@ -1,34 +1,32 @@ -# Created by: Michael Haro - PORTNAME= Crypt-RSA PORTVERSION= 1.99 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= RSA public-key cryptosystem LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/ARTISTIC BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Loader>=2.00:devel/p5-Class-Loader \ p5-Convert-ASCII-Armour>=0:converters/p5-Convert-ASCII-Armour \ p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-CBC>=0:security/p5-Crypt-CBC \ p5-Crypt-Primes>=0.38:security/p5-Crypt-Primes \ p5-Crypt-Random>=0.34:security/p5-Crypt-Random \ p5-Data-Buffer>=0:misc/p5-Data-Buffer \ p5-Digest-MD2>=0:security/p5-Digest-MD2 \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Math-Pari>=2.001804:math/p5-Math-Pari \ p5-Sort-Versions>=0:devel/p5-Sort-Versions \ p5-Tie-EncryptedHash>=0:security/p5-Tie-EncryptedHash USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Rabbit/Makefile b/security/p5-Crypt-Rabbit/Makefile index 52afe47e17f7..c5a4e275fa7c 100644 --- a/security/p5-Crypt-Rabbit/Makefile +++ b/security/p5-Crypt-Rabbit/Makefile @@ -1,21 +1,19 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Rabbit PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Rabbit stream cipher LICENSE= GPLv2 USES= perl5 USE_PERL5= configure post-patch: ${REINPLACE_CMD} -i '' -e '/OPTIMIZE/s/=>.*/=> "${CFLAGS}",/g' ${WRKSRC}/Makefile.PL .include diff --git a/security/p5-Crypt-RandPasswd/Makefile b/security/p5-Crypt-RandPasswd/Makefile index 3f37ccd3022e..10c1a7531580 100644 --- a/security/p5-Crypt-RandPasswd/Makefile +++ b/security/p5-Crypt-RandPasswd/Makefile @@ -1,23 +1,21 @@ -# Created by: Maxim Sobolev - PORTNAME= Crypt-RandPasswd PORTVERSION= 0.04 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Implementation of the Automated Password Generator standard LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/lib/Crypt/RandPasswd.pm.orig .include diff --git a/security/p5-Crypt-Random-Seed/Makefile b/security/p5-Crypt-Random-Seed/Makefile index 070585b4ac01..1063d0b60581 100644 --- a/security/p5-Crypt-Random-Seed/Makefile +++ b/security/p5-Crypt-Random-Seed/Makefile @@ -1,24 +1,22 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Crypt-Random-Seed PORTVERSION= 0.03 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple method to get strong randomness LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Random-TESHA2>=0:security/p5-Crypt-Random-TESHA2 USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Random-Source/Makefile b/security/p5-Crypt-Random-Source/Makefile index 37fbf94a4419..106e20750cb4 100644 --- a/security/p5-Crypt-Random-Source/Makefile +++ b/security/p5-Crypt-Random-Source/Makefile @@ -1,27 +1,25 @@ -# Created by: Dereckson - PORTNAME= Crypt-Random-Source PORTVERSION= 0.12 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= dereckson@gmail.com COMMENT= Get weak or strong random data from pluggable sources LICENSE= ART20 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Moo>=1.002000:devel/p5-Moo \ p5-Capture-Tiny>=0.08:devel/p5-Capture-Tiny \ p5-Module-Find>=0:devel/p5-Module-Find \ p5-Sub-Exporter>=0:devel/p5-Sub-Exporter \ p5-Type-Tiny>=1.000005:devel/p5-Type-Tiny \ p5-namespace-clean>=0.08:devel/p5-namespace-clean TEST_DEPENDS= p5-Test-Exception>0:devel/p5-Test-Exception NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Random-TESHA2/Makefile b/security/p5-Crypt-Random-TESHA2/Makefile index a7c60825ccc1..40959fa5cbc7 100644 --- a/security/p5-Crypt-Random-TESHA2/Makefile +++ b/security/p5-Crypt-Random-TESHA2/Makefile @@ -1,21 +1,19 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Crypt-Random-TESHA2 PORTVERSION= 0.01 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Random numbers using timer/schedule entropy LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Random/Makefile b/security/p5-Crypt-Random/Makefile index d93949df8be3..4c9be541e595 100644 --- a/security/p5-Crypt-Random/Makefile +++ b/security/p5-Crypt-Random/Makefile @@ -1,25 +1,23 @@ -# Created by: Michael Haro - PORTNAME= Crypt-Random PORTVERSION= 1.54 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Cryptographically Secure, True Random Number Generator LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Loader>=2.00:devel/p5-Class-Loader \ p5-Math-Pari>=2.001804:math/p5-Math-Pari \ p5-Statistics-ChiSquare>=1.0000:math/p5-Statistics-ChiSquare USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Rijndael/Makefile b/security/p5-Crypt-Rijndael/Makefile index ad70110dd2ba..228d49a47b8b 100644 --- a/security/p5-Crypt-Rijndael/Makefile +++ b/security/p5-Crypt-Rijndael/Makefile @@ -1,19 +1,17 @@ -# Created by: will - PORTNAME= Crypt-Rijndael PORTVERSION= 1.15 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl module that implements the Rijndael cipher LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Rijndael_PP/Makefile b/security/p5-Crypt-Rijndael_PP/Makefile index 78d47407c483..adbcafb64e43 100644 --- a/security/p5-Crypt-Rijndael_PP/Makefile +++ b/security/p5-Crypt-Rijndael_PP/Makefile @@ -1,16 +1,14 @@ -# Created by: Gea-Suan Lin - PORTNAME= Crypt-Rijndael_PP PORTVERSION= 0.05 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of Rijndael USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-SKey/Makefile b/security/p5-Crypt-SKey/Makefile index 8094e98bf838..42e823b4d199 100644 --- a/security/p5-Crypt-SKey/Makefile +++ b/security/p5-Crypt-SKey/Makefile @@ -1,21 +1,19 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-SKey PORTVERSION= 0.10 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl S/Key calculator BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-MD4>=0:security/p5-Digest-MD4 \ p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-SSLeay/Makefile b/security/p5-Crypt-SSLeay/Makefile index 1548c9c48e28..dc6e62b54855 100644 --- a/security/p5-Crypt-SSLeay/Makefile +++ b/security/p5-Crypt-SSLeay/Makefile @@ -1,28 +1,26 @@ -# Created by: Alfred Perlstein - PORTNAME= Crypt-SSLeay PORTVERSION= 0.72 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to allow p5-libwww LWP to make https connections LICENSE= ART20 BUILD_DEPENDS= p5-LWP-Protocol-https>=6.02:www/p5-LWP-Protocol-https \ p5-Path-Class>=0.26:devel/p5-Path-Class \ p5-Try-Tiny>=0.19:lang/p5-Try-Tiny RUN_DEPENDS= p5-LWP-Protocol-https>=6.02:www/p5-LWP-Protocol-https USES= perl5 ssl USE_PERL5= configure CONFIGURE_ARGS= --no-live-tests CFLAGS+= -I${OPENSSLINC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/SSLeay/SSLeay.so .include diff --git a/security/p5-Crypt-SSSS/Makefile b/security/p5-Crypt-SSSS/Makefile index e29d0d485aaf..b05ab60ced60 100644 --- a/security/p5-Crypt-SSSS/Makefile +++ b/security/p5-Crypt-SSSS/Makefile @@ -1,17 +1,15 @@ -# Created by: Zeus Panchenko - PORTNAME= Crypt-SSSS PORTVERSION= 0.3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Implementation of Shamir's Secret Sharing System LICENSE= ART10 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Salt/Makefile b/security/p5-Crypt-Salt/Makefile index 97401420ff9e..1d88d6a9b6fe 100644 --- a/security/p5-Crypt-Salt/Makefile +++ b/security/p5-Crypt-Salt/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Salt PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension to generate a salt to be fed into crypt USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-SaltedHash/Makefile b/security/p5-Crypt-SaltedHash/Makefile index 253a8926f32a..7be8574abc4b 100644 --- a/security/p5-Crypt-SaltedHash/Makefile +++ b/security/p5-Crypt-SaltedHash/Makefile @@ -1,20 +1,18 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-SaltedHash PORTVERSION= 0.09 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:ESSKAR PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension to work with salted hashes LICENSE= ART10 GPLv1+ LICENSE_COMB= dual NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Serpent/Makefile b/security/p5-Crypt-Serpent/Makefile index f566054478e4..06702086e9d3 100644 --- a/security/p5-Crypt-Serpent/Makefile +++ b/security/p5-Crypt-Serpent/Makefile @@ -1,16 +1,14 @@ -# Created by: nork@FreeBSD.org - PORTNAME= Crypt-Serpent PORTVERSION= 1.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of the Serpent encryption algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Shark/Makefile b/security/p5-Crypt-Shark/Makefile index 47c3716ba4ff..e3ce5d1d0468 100644 --- a/security/p5-Crypt-Shark/Makefile +++ b/security/p5-Crypt-Shark/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-Shark PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Shark block cipher USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Simple/Makefile b/security/p5-Crypt-Simple/Makefile index 388c05b7bc74..5e15b933787d 100644 --- a/security/p5-Crypt-Simple/Makefile +++ b/security/p5-Crypt-Simple/Makefile @@ -1,22 +1,20 @@ -# Created by: Alexander Kriventsov - PORTNAME= Crypt-Simple PORTVERSION= 0.06 PORTREVISION= 4 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= avk@vl.ru COMMENT= Perl encrypt stuff simply LICENSE= GPLv2+ BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-FreezeThaw>=0:devel/p5-FreezeThaw USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-SmbHash/Makefile b/security/p5-Crypt-SmbHash/Makefile index 324c8f6d6145..89a72d57efe4 100644 --- a/security/p5-Crypt-SmbHash/Makefile +++ b/security/p5-Crypt-SmbHash/Makefile @@ -1,19 +1,17 @@ -# Created by: Florent Thoumie - PORTNAME= Crypt-SmbHash PORTVERSION= 0.12 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl module implementing lanman and nt md4 hash functions LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Sodium/Makefile b/security/p5-Crypt-Sodium/Makefile index a73f744448d5..c3674e276855 100644 --- a/security/p5-Crypt-Sodium/Makefile +++ b/security/p5-Crypt-Sodium/Makefile @@ -1,24 +1,22 @@ -# Created by: Thomas von Dein - PORTNAME= Crypt-Sodium PORTVERSION= 0.11 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= freebsd@daemon.de COMMENT= Perl bindings for portable NaCL (libsodium) LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libsodium.so:security/libsodium USES= perl5 localbase USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Sodium/Sodium.so .include diff --git a/security/p5-Crypt-Solitaire/Makefile b/security/p5-Crypt-Solitaire/Makefile index 4615cc5d45a5..f6c773696af7 100644 --- a/security/p5-Crypt-Solitaire/Makefile +++ b/security/p5-Crypt-Solitaire/Makefile @@ -1,16 +1,14 @@ -# Created by: Seamus Venasse - PORTNAME= Crypt-Solitaire PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Solitaire encryption USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-TEA/Makefile b/security/p5-Crypt-TEA/Makefile index 97fbf0cae16d..a4cfd609fb16 100644 --- a/security/p5-Crypt-TEA/Makefile +++ b/security/p5-Crypt-TEA/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-TEA PORTVERSION= 1.26 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension to Tiny Encryption Algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-T_e_a/Makefile b/security/p5-Crypt-T_e_a/Makefile index feae3a7ab084..5e8cd8d29869 100644 --- a/security/p5-Crypt-T_e_a/Makefile +++ b/security/p5-Crypt-T_e_a/Makefile @@ -1,20 +1,18 @@ -# Created by: Steve Wills - PORTNAME= Crypt-T_e_a PORTVERSION= 2.12 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:PJB PKGNAMEPREFIX= p5- DISTNAME= Crypt-Tea-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= The Tiny Encryption Algorithm in Perl and JavaScript CONFLICTS= p5-Crypt-Tea_JS USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-Tea_JS/Makefile b/security/p5-Crypt-Tea_JS/Makefile index e7ff1afab7f8..3591d7ca5c9c 100644 --- a/security/p5-Crypt-Tea_JS/Makefile +++ b/security/p5-Crypt-Tea_JS/Makefile @@ -1,30 +1,28 @@ -# Created by: adamw - PORTNAME= Crypt-Tea_JS PORTVERSION= 2.23 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Next gen Tiny Encryption Algorithm in Perl and Javascript CONFLICTS= p5-Crypt-T_e_a USES= perl5 shebangfix SHEBANG_FILES= examples/tea_demo.cgi USE_PERL5= configure OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= tea_demo.cgi PORTDATA= Tea_JS.js post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Tea_JS/Tea_JS.so @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/Tea_JS.js ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/p5-Crypt-TripleDES/Makefile b/security/p5-Crypt-TripleDES/Makefile index 8e9fdeeb493e..ef3e435431d4 100644 --- a/security/p5-Crypt-TripleDES/Makefile +++ b/security/p5-Crypt-TripleDES/Makefile @@ -1,17 +1,15 @@ -# Created by: will - PORTNAME= Crypt-TripleDES PORTVERSION= 0.24 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl module implementing the Triple-DES cipher USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-Twofish/Makefile b/security/p5-Crypt-Twofish/Makefile index bff29a372088..f630498e4bfb 100644 --- a/security/p5-Crypt-Twofish/Makefile +++ b/security/p5-Crypt-Twofish/Makefile @@ -1,21 +1,19 @@ -# Created by: will - PORTNAME= Crypt-Twofish PORTVERSION= 2.18 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module implementing the Twofish cipher LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Twofish/Twofish.so .include diff --git a/security/p5-Crypt-Twofish2/Makefile b/security/p5-Crypt-Twofish2/Makefile index 1ebbc2cb8af8..cbccafb88416 100644 --- a/security/p5-Crypt-Twofish2/Makefile +++ b/security/p5-Crypt-Twofish2/Makefile @@ -1,18 +1,16 @@ -# Created by: nork@FreeBSD.org - PORTNAME= Crypt-Twofish2 PORTVERSION= 1.03 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of the Twofish encryption algorithm USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/Twofish2/Twofish2.so .include diff --git a/security/p5-Crypt-Twofish_PP/Makefile b/security/p5-Crypt-Twofish_PP/Makefile index 1e8b85520b70..ddadd06e01e1 100644 --- a/security/p5-Crypt-Twofish_PP/Makefile +++ b/security/p5-Crypt-Twofish_PP/Makefile @@ -1,20 +1,18 @@ -# Created by: Konstantin Menshikov - PORTNAME= Crypt-Twofish_PP PORTVERSION= 0.17 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN \ http://kostjn.spb.ru/freebsd/ PKGNAMEPREFIX= p5- MAINTAINER= kostjnspb@yandex.ru COMMENT= The Twofish Algorithm in Pure Perl BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-UnixCrypt/Makefile b/security/p5-Crypt-UnixCrypt/Makefile index 39a3dfc5bc04..1f22eadab8e4 100644 --- a/security/p5-Crypt-UnixCrypt/Makefile +++ b/security/p5-Crypt-UnixCrypt/Makefile @@ -1,16 +1,14 @@ -# Created by: will - PORTNAME= Crypt-UnixCrypt PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl module implementing crypt(3) function USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Crypt-UnixCrypt_XS/Makefile b/security/p5-Crypt-UnixCrypt_XS/Makefile index 6fff8be27e87..9c79d2eda220 100644 --- a/security/p5-Crypt-UnixCrypt_XS/Makefile +++ b/security/p5-Crypt-UnixCrypt_XS/Makefile @@ -1,22 +1,20 @@ -# Created by: brix@FreeBSD.org - PORTNAME= Crypt-UnixCrypt_XS PORTVERSION= 0.11 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl XS interface for a portable traditional crypt function LICENSE= ART10 GPLv1+ LICENSE_COMB= dual MAKE_JOBS_UNSAFE= yes USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/UnixCrypt_XS/UnixCrypt_XS.so .include diff --git a/security/p5-Crypt-X509-CRL/Makefile b/security/p5-Crypt-X509-CRL/Makefile index 8ab5e0d04b82..10bdbd88cf5b 100644 --- a/security/p5-Crypt-X509-CRL/Makefile +++ b/security/p5-Crypt-X509-CRL/Makefile @@ -1,26 +1,24 @@ -# Created by: Sergei Vyshenski - PORTNAME= Crypt-X509-CRL PORTVERSION= 0.4 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Object oriented X.509 certificate revocation list parser LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/README BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Convert-ASN1>=0.19:converters/p5-Convert-ASN1 USES= perl5 USE_PERL5= configure NO_ARCH= yes PLIST_FILES= ${SITE_MAN3_REL}/Crypt::X509::CRL.3.gz \ ${SITE_PERL_REL}/Crypt/X509/CRL.pm .include diff --git a/security/p5-Crypt-X509/Makefile b/security/p5-Crypt-X509/Makefile index d40336a489a6..16f16d3b2723 100644 --- a/security/p5-Crypt-X509/Makefile +++ b/security/p5-Crypt-X509/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Crypt-X509 PORTVERSION= 0.54 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension to parse X.509 certificates RUN_DEPENDS= p5-Convert-ASN1>=0:converters/p5-Convert-ASN1 USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Crypt-XTEA/Makefile b/security/p5-Crypt-XTEA/Makefile index d10af73e85e3..0f9fc78f8033 100644 --- a/security/p5-Crypt-XTEA/Makefile +++ b/security/p5-Crypt-XTEA/Makefile @@ -1,25 +1,23 @@ -# Created by: Adam Weinberger - PORTNAME= Crypt-XTEA PORTVERSION= 0.0108 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Implementation of the eXtended Tiny Encryption Algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Scalar-Util-Numeric>=0.40:devel/p5-Scalar-Util-Numeric TEST_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/XTEA/XTEA.so .include diff --git a/security/p5-Crypt-xDBM_File/Makefile b/security/p5-Crypt-xDBM_File/Makefile index 7c1ef91ef9bb..c3d79b0a436c 100644 --- a/security/p5-Crypt-xDBM_File/Makefile +++ b/security/p5-Crypt-xDBM_File/Makefile @@ -1,19 +1,17 @@ -# Created by: Cheng-Lung Sung - PORTNAME= Crypt-xDBM_File PORTVERSION= 1.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module encrypt almost any kind of dbm file BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-CryptX/Makefile b/security/p5-CryptX/Makefile index 4c3977d4712c..f529bcd37eeb 100644 --- a/security/p5-CryptX/Makefile +++ b/security/p5-CryptX/Makefile @@ -1,21 +1,19 @@ -# Created by: vanilla@ - PORTNAME= CryptX PORTVERSION= 0.076 CATEGORIES= security perl5 MASTER_SITES= CPAN/Crypt PKGNAMEPREFIX= p5- MAINTAINER= vanilla@FreeBSD.org COMMENT= Crypto toolkit LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CryptX/CryptX.so .include diff --git a/security/p5-Dancer-Plugin-Auth-Extensible-Provider-Usergroup/Makefile b/security/p5-Dancer-Plugin-Auth-Extensible-Provider-Usergroup/Makefile index 3b152b1efa0a..5e63624c45eb 100644 --- a/security/p5-Dancer-Plugin-Auth-Extensible-Provider-Usergroup/Makefile +++ b/security/p5-Dancer-Plugin-Auth-Extensible-Provider-Usergroup/Makefile @@ -1,25 +1,23 @@ -# Created by: Henk van Oers - PORTNAME= Dancer-Plugin-Auth-Extensible-Provider-Usergroup PORTVERSION= 0.21 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication framework for Dancer apps LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Dancer>=1.3118:www/p5-Dancer \ p5-Dancer-Plugin-Auth-Extensible>=0:security/p5-Dancer-Plugin-Auth-Extensible \ p5-Dancer-Plugin-Passphrase>=0:security/p5-Dancer-Plugin-Passphrase \ p5-Dancer-Plugin-DBIC>=0:databases/p5-Dancer-Plugin-DBIC USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Dancer-Plugin-Auth-Extensible/Makefile b/security/p5-Dancer-Plugin-Auth-Extensible/Makefile index e36f757eed42..ae3ff122d057 100644 --- a/security/p5-Dancer-Plugin-Auth-Extensible/Makefile +++ b/security/p5-Dancer-Plugin-Auth-Extensible/Makefile @@ -1,30 +1,28 @@ -# Created by: Henk van Oers - PORTNAME= Dancer-Plugin-Auth-Extensible PORTVERSION= 1.00 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication framework for Dancer apps LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-SaltedHash>=0:security/p5-Crypt-SaltedHash \ p5-Dancer>=1.3118:www/p5-Dancer USES= perl5 USE_PERL5= configure OPTIONS_DEFINE= DPAEPD DPAEPU DPAEPD_DESC= Extra dependencies for Provider::Database DPAEPU_DESC= Extra dependencies for Provider::Unix DPAEPD_BUILD_DEPENDS= p5-Dancer-Plugin-Database>=0:databases/p5-Dancer-Plugin-Database DPAEPU_BUILD_DEPENDS= p5-Authen-Simple-PAM>=0:security/p5-Authen-Simple-PAM \ p5-Unix-Passwd-File>=0:security/p5-Unix-Passwd-File .include diff --git a/security/p5-Dancer-Plugin-Passphrase/Makefile b/security/p5-Dancer-Plugin-Passphrase/Makefile index 6f0058e39a89..89863a5ff069 100644 --- a/security/p5-Dancer-Plugin-Passphrase/Makefile +++ b/security/p5-Dancer-Plugin-Passphrase/Makefile @@ -1,27 +1,25 @@ -# Created by: Grzegorz Blach - PORTNAME= Dancer-Plugin-Passphrase PORTVERSION= 2.0.1 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JAITKEN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Passphrases and Passwords as objects for Dancer LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Dancer>=0:www/p5-Dancer \ p5-Data-Entropy>=0.005:security/p5-Data-Entropy \ p5-Digest-Bcrypt>=0:security/p5-Digest-Bcrypt NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC/Makefile b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC/Makefile index 37e4b035925c..810a7ca887e1 100644 --- a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC/Makefile +++ b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC/Makefile @@ -1,32 +1,30 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Auth-Extensible-Provider-DBIC PORTVERSION= 0.624 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication framework for Dancer2 apps using DBIC LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-DBIx-Class>=0:databases/p5-DBIx-Class \ p5-Dancer2-Plugin-Auth-Extensible>=0.708:security/p5-Dancer2-Plugin-Auth-Extensible \ p5-Dancer2-Plugin-DBIC>=0.0012:databases/p5-Dancer2-Plugin-DBIC \ p5-Dancer2>=0.200000:www/p5-Dancer2 \ p5-DateTime>=0:devel/p5-DateTime \ p5-Moo>=0:devel/p5-Moo \ p5-String-CamelCase>=0:textproc/p5-String-CamelCase \ p5-namespace-clean>=0:devel/p5-namespace-clean TEST_DEPENDS= p5-Test-MockObject>=0:devel/p5-Test-MockObject \ p5-Test-Warn>=0:devel/p5-Test-Warn USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Database/Makefile b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Database/Makefile index 2c55d9757d7b..feada60dd7c3 100644 --- a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Database/Makefile +++ b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Database/Makefile @@ -1,24 +1,22 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Auth-Extensible-Provider-Database PORTVERSION= 0.630 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication for D2 apps using Dancer2-Plugin-Database LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Dancer2-Plugin-Auth-Extensible>=0.600:security/p5-Dancer2-Plugin-Auth-Extensible \ p5-Dancer2-Plugin-Database>=0.600:databases/p5-Dancer2-Plugin-Database USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP/Makefile b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP/Makefile index fe494cfd95c2..4c7ee380b22d 100644 --- a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP/Makefile +++ b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP/Makefile @@ -1,23 +1,21 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Auth-Extensible-Provider-IMAP PORTVERSION= 0.003 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication for D2 apps using Net::IMAP::Simple LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Dancer2-Plugin-Auth-Extensible>=0.620:security/p5-Dancer2-Plugin-Auth-Extensible \ p5-Net-IMAP-Simple>=0:mail/p5-Net-IMAP-Simple USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Usergroup/Makefile b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Usergroup/Makefile index 11246e2bb505..e6f8e4a42a42 100644 --- a/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Usergroup/Makefile +++ b/security/p5-Dancer2-Plugin-Auth-Extensible-Provider-Usergroup/Makefile @@ -1,26 +1,24 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Auth-Extensible-Provider-Usergroup PORTVERSION= 0.709 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication framework for Dancer2 apps LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Dancer2>=0.204001:www/p5-Dancer2 \ p5-Dancer2-Plugin-Auth-Extensible>=0.709:security/p5-Dancer2-Plugin-Auth-Extensible \ p5-Dancer2-Plugin-Passphrase>=3.3.0:security/p5-Dancer2-Plugin-Passphrase \ p5-Dancer2-Plugin-DBIC>=0.0013:databases/p5-Dancer2-Plugin-DBIC USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Dancer2-Plugin-Auth-Extensible/Makefile b/security/p5-Dancer2-Plugin-Auth-Extensible/Makefile index 44e9d1ea2b11..36eb42cd912a 100644 --- a/security/p5-Dancer2-Plugin-Auth-Extensible/Makefile +++ b/security/p5-Dancer2-Plugin-Auth-Extensible/Makefile @@ -1,49 +1,47 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Auth-Extensible PORTVERSION= 0.710 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensible authentication framework for Dancer2 apps LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-File-ShareDir-Install>=0.06:devel/p5-File-ShareDir-Install \ ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-SaltedHash>=0:security/p5-Crypt-SaltedHash \ p5-Dancer2>=0.204000:www/p5-Dancer2 \ p5-File-Share>=0:devel/p5-File-Share \ p5-HTTP-BrowserDetect>=0:www/p5-HTTP-BrowserDetect \ p5-Module-Runtime>=0:devel/p5-Module-Runtime \ p5-Moo>=2.000000:devel/p5-Moo \ p5-Plack>=1.0029:www/p5-Plack \ p5-Session-Token>=0:security/p5-Session-Token \ p5-Try-Tiny>=0:lang/p5-Try-Tiny \ p5-URI>=0:net/p5-URI \ p5-YAML>=0:textproc/p5-YAML \ p5-namespace-clean>=0:devel/p5-namespace-clean TEST_DEPENDS= p5-DateTime>=0:devel/p5-DateTime \ p5-HTTP-Cookies>=0:www/p5-HTTP-Cookies \ p5-HTTP-Message>=0:www/p5-HTTP-Message \ p5-Path-Tiny>=0.016:devel/p5-Path-Tiny \ p5-Test-Deep>=0.114:devel/p5-Test-Deep \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Fatal>=0:devel/p5-Test-Fatal \ p5-Test-MockDateTime>=0:devel/p5-Test-MockDateTime \ p5-Test-Warnings>=0:devel/p5-Test-Warnings USES= perl5 USE_PERL5= configure NO_ARCH= yes OPTIONS_DEFINE= DPAEPU DPAEPU_DESC= Extra dependencies for Provider::Unix DPAEPU_BUILD_DEPENDS= p5-Authen-Simple-PAM>=0:security/p5-Authen-Simple-PAM .include diff --git a/security/p5-Dancer2-Plugin-Passphrase/Makefile b/security/p5-Dancer2-Plugin-Passphrase/Makefile index a25edbfe4b7c..9bd2908f92e1 100644 --- a/security/p5-Dancer2-Plugin-Passphrase/Makefile +++ b/security/p5-Dancer2-Plugin-Passphrase/Makefile @@ -1,26 +1,24 @@ -# Created by: Henk van Oers - PORTNAME= Dancer2-Plugin-Passphrase PORTVERSION= 3.4.1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Passphrases and Passwords as objects for Dancer2 LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Bcrypt>=0.006:security/p5-Crypt-Bcrypt \ p5-Dancer2>=0.200000:www/p5-Dancer2 \ p5-Data-Entropy>=0.007:security/p5-Data-Entropy \ p5-Digest-Bcrypt>=1.212:security/p5-Digest-Bcrypt USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Data-Entropy/Makefile b/security/p5-Data-Entropy/Makefile index 4e4ac5199b80..20ef9cb2dd3e 100644 --- a/security/p5-Data-Entropy/Makefile +++ b/security/p5-Data-Entropy/Makefile @@ -1,25 +1,23 @@ -# Created by: Gea-Suan Lin - PORTNAME= Data-Entropy PORTVERSION= 0.007 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Entropy (randomness) management LICENSE= ART10 GPLv1+ LICENSE_COMB= dual RUN_DEPENDS= p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \ p5-Data-Float>=0.008:math/p5-Data-Float \ p5-HTTP-Lite>=0.22:www/p5-HTTP-Lite \ p5-Params-Classify>=0:devel/p5-Params-Classify USES= perl5 USE_PERL5= modbuild NO_ARCH= yes .include diff --git a/security/p5-Data-Password/Makefile b/security/p5-Data-Password/Makefile index 8781bcbcc826..789d1cab1c89 100644 --- a/security/p5-Data-Password/Makefile +++ b/security/p5-Data-Password/Makefile @@ -1,18 +1,16 @@ -# Created by: ports@c0decafe.net - PORTNAME= Data-Password PORTVERSION= 1.12 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Assess password quality LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Adler32/Makefile b/security/p5-Digest-Adler32/Makefile index 75e3545c950e..5e7ffbe2f0f1 100644 --- a/security/p5-Digest-Adler32/Makefile +++ b/security/p5-Digest-Adler32/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Adler32 PORTVERSION= 0.03 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Adler32 hash algorithm BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest>=0:security/p5-Digest USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Bcrypt/Makefile b/security/p5-Digest-Bcrypt/Makefile index d54877de41ab..f6cb0f4c462a 100644 --- a/security/p5-Digest-Bcrypt/Makefile +++ b/security/p5-Digest-Bcrypt/Makefile @@ -1,24 +1,22 @@ -# Created by: Henk van Oers - PORTNAME= Digest-Bcrypt PORTVERSION= 1.212 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to the bcrypt digest algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Eksblowfish>0:security/p5-Crypt-Eksblowfish TEST_DEPENDS= p5-Try-Tiny>=0.24:lang/p5-Try-Tiny USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Digest-BubbleBabble/Makefile b/security/p5-Digest-BubbleBabble/Makefile index 8ba10ff93322..77dfb69be7aa 100644 --- a/security/p5-Digest-BubbleBabble/Makefile +++ b/security/p5-Digest-BubbleBabble/Makefile @@ -1,19 +1,17 @@ -# Created by: jesper - PORTNAME= Digest-BubbleBabble PORTVERSION= 0.02 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to a fingerprint in "bubble babble" format LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-CRC/Makefile b/security/p5-Digest-CRC/Makefile index 6d7dc8832e05..5ef6f4dccc32 100644 --- a/security/p5-Digest-CRC/Makefile +++ b/security/p5-Digest-CRC/Makefile @@ -1,17 +1,15 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-CRC PORTVERSION= 0.24 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for calculating CRC checksums LICENSE= PD USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Crc32/Makefile b/security/p5-Digest-Crc32/Makefile index 8fa978020200..4a85fabd3535 100644 --- a/security/p5-Digest-Crc32/Makefile +++ b/security/p5-Digest-Crc32/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Crc32 PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for calculating 32-bit CRC checksums USES= perl5 USE_PERL5= configure WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.//} .include diff --git a/security/p5-Digest-DJB/Makefile b/security/p5-Digest-DJB/Makefile index cf97a2f80a5e..606a2e4df033 100644 --- a/security/p5-Digest-DJB/Makefile +++ b/security/p5-Digest-DJB/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-DJB PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for D.J Bernstein's hash algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-DMAC/Makefile b/security/p5-Digest-DMAC/Makefile index 3a45da9e4d8f..269fb651377d 100644 --- a/security/p5-Digest-DMAC/Makefile +++ b/security/p5-Digest-DMAC/Makefile @@ -1,22 +1,20 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-DMAC PORTVERSION= 1.1.4 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl5 interface to DMAC Double Message-Digest Algorithms LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-EMAC/Makefile b/security/p5-Digest-EMAC/Makefile index 8e6f6745fec5..83933263d54e 100644 --- a/security/p5-Digest-EMAC/Makefile +++ b/security/p5-Digest-EMAC/Makefile @@ -1,22 +1,20 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-EMAC PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl5 interface to EMAC Double Message-Digest Algorithms LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Elf/Makefile b/security/p5-Digest-Elf/Makefile index d2324df3f94f..8b82353f1983 100644 --- a/security/p5-Digest-Elf/Makefile +++ b/security/p5-Digest-Elf/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Elf PORTVERSION= 1.42 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for ElfHash hash algorithm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-FNV/Makefile b/security/p5-Digest-FNV/Makefile index c87eb28b9460..d580cc702f61 100644 --- a/security/p5-Digest-FNV/Makefile +++ b/security/p5-Digest-FNV/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-FNV PORTVERSION= 2.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Fowler/Noll/Vo hash algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-HMAC/Makefile b/security/p5-Digest-HMAC/Makefile index ba4759e1551a..609b07eea46b 100644 --- a/security/p5-Digest-HMAC/Makefile +++ b/security/p5-Digest-HMAC/Makefile @@ -1,21 +1,19 @@ -# Created by: nork@cityfujisawa.ne.jp - PORTNAME= Digest-HMAC PORTVERSION= 1.04 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to HMAC Message-Digest Algorithms LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Digest-Hashcash/Makefile b/security/p5-Digest-Hashcash/Makefile index 9e295a5c8d68..e4f5e0a1b396 100644 --- a/security/p5-Digest-Hashcash/Makefile +++ b/security/p5-Digest-Hashcash/Makefile @@ -1,17 +1,15 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Hashcash PORTVERSION= 0.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:ADAMBACK PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Hashcash hash algorithm USES= perl5 tar:tgz USE_PERL5= configure .include diff --git a/security/p5-Digest-Haval256/Makefile b/security/p5-Digest-Haval256/Makefile index ab94ea9d24d9..765507be7c08 100644 --- a/security/p5-Digest-Haval256/Makefile +++ b/security/p5-Digest-Haval256/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Haval256 PORTVERSION= 1.0.5 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Haval256 hash algorithm LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-JHash/Makefile b/security/p5-Digest-JHash/Makefile index 05cb041aa326..a3f701b17ede 100644 --- a/security/p5-Digest-JHash/Makefile +++ b/security/p5-Digest-JHash/Makefile @@ -1,17 +1,15 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-JHash PORTVERSION= 0.10 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for JHash hash algorithm LICENSE= ART20 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-MD2/Makefile b/security/p5-Digest-MD2/Makefile index 86764434279a..78c977e2b30a 100644 --- a/security/p5-Digest-MD2/Makefile +++ b/security/p5-Digest-MD2/Makefile @@ -1,19 +1,17 @@ -# Created by: petef@FreeBSD.org - PORTNAME= Digest-MD2 PORTVERSION= 2.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the MD2 message digest algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-MD4/Makefile b/security/p5-Digest-MD4/Makefile index 7cb48b391af7..cc0dcc11b5a2 100644 --- a/security/p5-Digest-MD4/Makefile +++ b/security/p5-Digest-MD4/Makefile @@ -1,28 +1,26 @@ -# Created by: ijliao - PORTNAME= Digest-MD4 PORTVERSION= 1.9 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the MD4 message digest algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual OPTIONS_DEFINE= DOCS USES= perl5 USE_PERL5= configure PORTDOCS= Changes rfc1320.txt post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .include diff --git a/security/p5-Digest-MD5-File/Makefile b/security/p5-Digest-MD5-File/Makefile index 7f1289a596bb..410134fdf389 100644 --- a/security/p5-Digest-MD5-File/Makefile +++ b/security/p5-Digest-MD5-File/Makefile @@ -1,23 +1,21 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-MD5-File PORTVERSION= 0.08 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for getting MD5 sums for files and urls LICENSE= ART10 GPLv1+ LICENSE_COMB= dual RUN_DEPENDS= p5-libwww>=0:www/p5-libwww USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Digest-MD5-M4p/Makefile b/security/p5-Digest-MD5-M4p/Makefile index eeb38855b310..0cd9861d2640 100644 --- a/security/p5-Digest-MD5-M4p/Makefile +++ b/security/p5-Digest-MD5-M4p/Makefile @@ -1,16 +1,14 @@ -# Created by: Lars Thegler - PORTNAME= Digest-MD5-M4p PORTVERSION= 0.01 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to a variant of the MD5 algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-MD5-Reverse/Makefile b/security/p5-Digest-MD5-Reverse/Makefile index 06b3cbaa9767..fb16d2b9b6d6 100644 --- a/security/p5-Digest-MD5-Reverse/Makefile +++ b/security/p5-Digest-MD5-Reverse/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-MD5-Reverse PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension that looks for MD5 hashes in several databases USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Digest-MD5/Makefile b/security/p5-Digest-MD5/Makefile index e8c170bda800..7c826ecffc8d 100644 --- a/security/p5-Digest-MD5/Makefile +++ b/security/p5-Digest-MD5/Makefile @@ -1,17 +1,15 @@ -# Created by: ache - PORTNAME= Digest-MD5 PORTVERSION= 2.58 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the MD5 algorithm LICENSE= ARTPERL10 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-ManberHash/Makefile b/security/p5-Digest-ManberHash/Makefile index bab4101e2f27..2ec42f1e0d9b 100644 --- a/security/p5-Digest-ManberHash/Makefile +++ b/security/p5-Digest-ManberHash/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-ManberHash PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for ManberHash hash algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Nilsimsa/Makefile b/security/p5-Digest-Nilsimsa/Makefile index 91ed3eae73ab..216ee6af3527 100644 --- a/security/p5-Digest-Nilsimsa/Makefile +++ b/security/p5-Digest-Nilsimsa/Makefile @@ -1,16 +1,14 @@ -# Created by: Yen-Ming Lee - PORTNAME= Digest-Nilsimsa PORTVERSION= 0.06 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl version of Nilsimsa code USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Pearson-PurePerl/Makefile b/security/p5-Digest-Pearson-PurePerl/Makefile index ff65c08f88d8..9df90b1b4722 100644 --- a/security/p5-Digest-Pearson-PurePerl/Makefile +++ b/security/p5-Digest-Pearson-PurePerl/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Pearson-PurePerl PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Peter K. Pearson's hash algorithm in pure Perl USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Pearson/Makefile b/security/p5-Digest-Pearson/Makefile index ce764fdbc487..90b32af7f851 100644 --- a/security/p5-Digest-Pearson/Makefile +++ b/security/p5-Digest-Pearson/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Pearson PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for Peter K. Pearson's hash algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Perl-MD4/Makefile b/security/p5-Digest-Perl-MD4/Makefile index 936847ca1881..5c8ab14b45d3 100644 --- a/security/p5-Digest-Perl-MD4/Makefile +++ b/security/p5-Digest-Perl-MD4/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Perl-MD4 PORTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for MD4 hash algorithm in pure Perl USES= perl5 USE_PERL5= configure WRKSRC= ${WRKDIR}/MD4 .include diff --git a/security/p5-Digest-Perl-MD5/Makefile b/security/p5-Digest-Perl-MD5/Makefile index c0ad13a0c6a9..07618d8dfbf8 100644 --- a/security/p5-Digest-Perl-MD5/Makefile +++ b/security/p5-Digest-Perl-MD5/Makefile @@ -1,20 +1,18 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Perl-MD5 PORTVERSION= 1.9 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for MD5 hash algorithm in pure Perl LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Digest-SHA-PurePerl/Makefile b/security/p5-Digest-SHA-PurePerl/Makefile index 1a9324c6508d..95767dca973d 100644 --- a/security/p5-Digest-SHA-PurePerl/Makefile +++ b/security/p5-Digest-SHA-PurePerl/Makefile @@ -1,31 +1,29 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-SHA-PurePerl PORTVERSION= 5.96 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for SHA-1/224/256/384/512 in pure Perl # same license terms as Perl itself LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure NO_ARCH= true PORTEXAMPLES= dups OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/p5-Digest-SHA/Makefile b/security/p5-Digest-SHA/Makefile index 8b904edd100b..db60ae82bab1 100644 --- a/security/p5-Digest-SHA/Makefile +++ b/security/p5-Digest-SHA/Makefile @@ -1,27 +1,25 @@ -# Created by: Travis Campbell - PORTNAME= Digest-SHA PORTVERSION= 6.02 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for SHA-1/224/256/384/512 LICENSE= ART10 GPLv1+ LICENSE_COMB= dual TEST_DEPENDS= p5-Test-Pod>=1:devel/p5-Test-Pod \ p5-Test-Pod-Coverage>=0.08:devel/p5-Test-Pod-Coverage USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/SHA/SHA.so .include diff --git a/security/p5-Digest-SHA1/Makefile b/security/p5-Digest-SHA1/Makefile index 0ef9ab23c447..c62f8c5f369e 100644 --- a/security/p5-Digest-SHA1/Makefile +++ b/security/p5-Digest-SHA1/Makefile @@ -1,22 +1,20 @@ -# Created by: Yen-Ming Lee - PORTNAME= Digest-SHA1 PORTVERSION= 2.13 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to the SHA-1 Algorithm LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/SHA1/SHA1.so .include diff --git a/security/p5-Digest-SHA3/Makefile b/security/p5-Digest-SHA3/Makefile index 5c4e31c94227..961fead9551f 100644 --- a/security/p5-Digest-SHA3/Makefile +++ b/security/p5-Digest-SHA3/Makefile @@ -1,21 +1,19 @@ -# Created by: Adam Weinberger - PORTNAME= Digest-SHA3 PORTVERSION= 1.04 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for SHA-3 LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/SHA3/SHA3.so .include diff --git a/security/p5-Digest-SV1/Makefile b/security/p5-Digest-SV1/Makefile index 76f5573b9881..614fa0e4bb98 100644 --- a/security/p5-Digest-SV1/Makefile +++ b/security/p5-Digest-SV1/Makefile @@ -1,19 +1,17 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-SV1 PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ashish@FreeBSD.org COMMENT= Perl extension for SV1 hash algorithm BUILD_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \ p5-Digest-Haval256>=0:security/p5-Digest-Haval256 USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Digest-Tiger/Makefile b/security/p5-Digest-Tiger/Makefile index 3e4e02808eb6..c4be54fa8eb5 100644 --- a/security/p5-Digest-Tiger/Makefile +++ b/security/p5-Digest-Tiger/Makefile @@ -1,16 +1,14 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Tiger PORTVERSION= 0.03 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Tiger hash algorithm USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest-Whirlpool/Makefile b/security/p5-Digest-Whirlpool/Makefile index 29000bdb7a9b..42670553d602 100644 --- a/security/p5-Digest-Whirlpool/Makefile +++ b/security/p5-Digest-Whirlpool/Makefile @@ -1,18 +1,16 @@ -# Created by: Gabor Kovesdan - PORTNAME= Digest-Whirlpool PORTVERSION= 2.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for Whirlpool hash algorithm LICENSE= GPLv2 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Digest/Makefile b/security/p5-Digest/Makefile index 736b07806bb1..91f7ee0777ac 100644 --- a/security/p5-Digest/Makefile +++ b/security/p5-Digest/Makefile @@ -1,15 +1,13 @@ -# Created by: Sergey Skvortsov - PORTNAME= Digest PORTVERSION= 1.20 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Modules that calculate message digests USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-File-KeePass-Agent/Makefile b/security/p5-File-KeePass-Agent/Makefile index d52f05701994..a637ec1cc356 100644 --- a/security/p5-File-KeePass-Agent/Makefile +++ b/security/p5-File-KeePass-Agent/Makefile @@ -1,23 +1,21 @@ -# Created by: Cy Schubert - PORTNAME= File-KeePass-Agent PORTVERSION= 2.01 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= cy@FreeBSD.org COMMENT= Application agent for working with File::KeePass objects LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-File-KeePass>=2.03:security/p5-File-KeePass \ p5-Crypt-Rijndael>=1.0:security/p5-Crypt-Rijndael USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-File-KeePass/Makefile b/security/p5-File-KeePass/Makefile index 2210d47a16b8..b8c9957f22b6 100644 --- a/security/p5-File-KeePass/Makefile +++ b/security/p5-File-KeePass/Makefile @@ -1,23 +1,21 @@ -# Created by: Alexander Y. Grigoryev - PORTNAME= File-KeePass PORTVERSION= 2.03 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= alexander.4mail@gmail.com COMMENT= Interface to KeePassX, KeePass 1.x and 2.x database files LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Rijndael>=1.0:security/p5-Crypt-Rijndael \ p5-XML-Parser>=0:textproc/p5-XML-Parser USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-File-Scan-ClamAV/Makefile b/security/p5-File-Scan-ClamAV/Makefile index a5a21d6b7f32..8522ee2fe13f 100644 --- a/security/p5-File-Scan-ClamAV/Makefile +++ b/security/p5-File-Scan-ClamAV/Makefile @@ -1,23 +1,21 @@ -# Created by: Jan-Peter Koopmann - PORTNAME= File-Scan-ClamAV PORTVERSION= 1.95 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for the clamav virus scanner LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= clamscan:security/clamav NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-File-Scan/Makefile b/security/p5-File-Scan/Makefile index 727dc198952d..0dfa8d53c9e3 100644 --- a/security/p5-File-Scan/Makefile +++ b/security/p5-File-Scan/Makefile @@ -1,43 +1,41 @@ -# Created by: Martin Matuska - PORTNAME= File-Scan PORTVERSION= 1.43 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jims@bluenotch.com COMMENT= Perl5 anti-virus file scanning package USES= perl5 shebangfix USE_PERL5= configure OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * SHEBANG_FILES= examples/*.pl examples/procmail/scanvirus.pl .include post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/docs .for file in Changes FAQ README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .for f in docs/write_sign_bin.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/docs .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/procmail .for f in latest.pl scan.pl ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .for f in procmail/.procmailrc procmail/README procmail/scanvirus.pl ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} \ ${STAGEDIR}${EXAMPLESDIR}/procmail .endfor .include diff --git a/security/p5-Filter-CBC/Makefile b/security/p5-Filter-CBC/Makefile index 5beb5e836a8a..0e8de0dc470f 100644 --- a/security/p5-Filter-CBC/Makefile +++ b/security/p5-Filter-CBC/Makefile @@ -1,30 +1,28 @@ -# Created by: Sergey Skvortsov - PORTNAME= Filter-CBC PORTVERSION= 0.10 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Source filter for Cipher Block Chaining BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Filter>=0:devel/p5-Filter \ p5-Crypt-Rijndael>=0:security/p5-Crypt-Rijndael \ p5-Crypt-CBC>=0:security/p5-Crypt-CBC PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}" USES= perl5 shebangfix SHEBANG_FILES= examples/*.pl USE_PERL5= configure NO_ARCH= yes OPTIONS_DEFINE= EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/p5-Filter-Crypto/Makefile b/security/p5-Filter-Crypto/Makefile index bf6c81bddac0..9e403bf4d5ce 100644 --- a/security/p5-Filter-Crypto/Makefile +++ b/security/p5-Filter-Crypto/Makefile @@ -1,24 +1,22 @@ -# Created by: Sergey Skvortsov - PORTNAME= Filter-Crypto PORTVERSION= 2.09 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Create runnable Perl files encrypted with OpenSSL libcrypto LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-PAR-Packer>=0:devel/p5-PAR-Packer TEST_DEPENDS= p5-CPAN-Changes>=0:devel/p5-CPAN-Changes USES= perl5 ssl USE_PERL5= configure CONFIGURE_ARGS= --prefix-dir=${OPENSSLBASE} --defaults .include diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile index 6fab41e478df..1a94c7732173 100644 --- a/security/p5-GD-SecurityImage/Makefile +++ b/security/p5-GD-SecurityImage/Makefile @@ -1,42 +1,40 @@ -# Created by: ports@rbt.ca - PORTNAME= GD-SecurityImage PORTVERSION= 1.75 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for creating CAPTCHA security images LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-GD>=2.45:graphics/p5-GD OPTIONS_DEFINE= IMAGEMAGICK X11 OPTIONS_DEFAULT=X11 IMAGEMAGICK_DESC= Build ImageMagick module PORTSCOUT= skipv:1.581 USES= perl5 USE_PERL5= configure NO_ARCH= yes .include .if ${PORT_OPTIONS:MIMAGEMAGICK} .if ${PORT_OPTIONS:MX11} USES+= magick:6,build,run .else USES+= magick:6,build,run,nox11 .endif .endif .include diff --git a/security/p5-GSSAPI/Makefile b/security/p5-GSSAPI/Makefile index b35319149867..ee3c97451f8c 100644 --- a/security/p5-GSSAPI/Makefile +++ b/security/p5-GSSAPI/Makefile @@ -1,35 +1,33 @@ -# Created by: Anton Berezin - PORTNAME= GSSAPI PORTVERSION= 0.28 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN/LWP/AGROLMS PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension providing access to the GSSAPIv2 library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure OPTIONS_DEFAULT= GSSAPI_BASE OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_VARS= KRB5CONF=${KRB5_HOME}/bin/krb5-config GSSAPI_MIT_VARS_OFF= KRB5CONF=${HEIMDAL_HOME}/bin/krb5-config post-patch: @${REINPLACE_CMD} -e 's|%%KRB5CONF%%|${KRB5CONF}|g' ${WRKSRC}/Makefile.PL post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/GSSAPI/GSSAPI.so .include diff --git a/security/p5-GnuPG-Interface/Makefile b/security/p5-GnuPG-Interface/Makefile index 603c501447d5..edba747e320a 100644 --- a/security/p5-GnuPG-Interface/Makefile +++ b/security/p5-GnuPG-Interface/Makefile @@ -1,26 +1,24 @@ -# Created by: trevor - PORTNAME= GnuPG-Interface PORTVERSION= 1.02 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for interfacing with GnuPG LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= gpg2:security/gnupg \ p5-MooX-HandlesVia>=0.04:devel/p5-MooX-HandlesVia \ p5-MooX-late>=0.14:devel/p5-MooX-late \ p5-Moo>=0.091011:devel/p5-Moo USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-GnuPG/Makefile b/security/p5-GnuPG/Makefile index 7f5487b63708..e01266ab7c9b 100644 --- a/security/p5-GnuPG/Makefile +++ b/security/p5-GnuPG/Makefile @@ -1,18 +1,16 @@ -# Created by: Marcello Coutinho - PORTNAME= GnuPG PORTVERSION= 0.19 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= marcellocoutinho@gmail.com COMMENT= Perl module for interfacing with GnuPG LICENSE= GPLv2 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-HTML-Email-Obfuscate/Makefile b/security/p5-HTML-Email-Obfuscate/Makefile index cf1886fc035d..6fa962c50058 100644 --- a/security/p5-HTML-Email-Obfuscate/Makefile +++ b/security/p5-HTML-Email-Obfuscate/Makefile @@ -1,19 +1,17 @@ -# Created by: chinsan - PORTNAME= HTML-Email-Obfuscate PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Obfuscates HTML email addresses that look normal BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-HTML-Parser>=0:www/p5-HTML-Parser USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-IO-Async-SSL/Makefile b/security/p5-IO-Async-SSL/Makefile index 4c82f92522e8..db85c85b606a 100644 --- a/security/p5-IO-Async-SSL/Makefile +++ b/security/p5-IO-Async-SSL/Makefile @@ -1,29 +1,27 @@ -# Created by: - PORTNAME= IO-Async-SSL PORTVERSION= 0.23 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Use SSL/TLS with IO::Async LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Future>=0.33:devel/p5-Future \ p5-IO-Async>=0.66:devel/p5-IO-Async\ p5-IO-Socket-SSL>=2.003:security/p5-IO-Socket-SSL TEST_DEPENDS= p5-Test-Identity>=0:devel/p5-Test-Identity \ p5-Test-Pod>=1:devel/p5-Test-Pod \ socat:net/socat USES= perl5 USE_PERL5= modbuild NO_ARCH= yes .include diff --git a/security/p5-IO-Socket-SSL/Makefile b/security/p5-IO-Socket-SSL/Makefile index 7ac88040343f..79e7f4e0988c 100644 --- a/security/p5-IO-Socket-SSL/Makefile +++ b/security/p5-IO-Socket-SSL/Makefile @@ -1,41 +1,39 @@ -# Created by: scrappy - PORTNAME= IO-Socket-SSL DISTVERSION= 2.074 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl5 interface to SSL sockets LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/lib/IO/Socket/SSL.pod BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Mozilla-CA>=20130114:www/p5-Mozilla-CA \ p5-Net-SSLeay>=1.59:security/p5-Net-SSLeay USES= perl5 shebangfix USE_PERL5= configure SHEBANG_FILES= example/ssl_mitm.pl CONFIGURE_ENV= NO_NETWORK_TESTING=yes INSTALL_TARGET= pure_install NO_ARCH= yes PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES IDN IPV6 IDN_BUILD_DEPENDS= p5-URI>=1.50:net/p5-URI IDN_RUN_DEPENDS= ${IDN_BUILD_DEPENDS} IPV6_RUN_DEPENDS= p5-IO-Socket-INET6>0:net/p5-IO-Socket-INET6 post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/security/p5-MD5/Makefile b/security/p5-MD5/Makefile index cc38ab4aa237..d5f4f4969286 100644 --- a/security/p5-MD5/Makefile +++ b/security/p5-MD5/Makefile @@ -1,16 +1,14 @@ -# Created by: James FitzGibbon - PORTNAME= MD5 PORTVERSION= 2.03 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN/${PORTNAME}/GAAS PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Wrapper to the Digest::MD5 module USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Mcrypt/Makefile b/security/p5-Mcrypt/Makefile index adbf5c381d71..53f9b23775d4 100644 --- a/security/p5-Mcrypt/Makefile +++ b/security/p5-Mcrypt/Makefile @@ -1,31 +1,29 @@ -# Created by: Tatsuki Makino - PORTNAME= Mcrypt DISTVERSION= 2.5.7.0 PORTREVISION= 4 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JESUS PKGNAMEPREFIX= p5- MAINTAINER= tatsuki_makino@hotmail.com COMMENT= Perl extension for the Mcrypt cryptography library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libmcrypt.so:security/libmcrypt USES= localbase:ldflags perl5 USE_PERL5= configure CONFIGURE_ENV= MCRYPT_CPPFLAGS=${CPPFLAGS:Q} \ MCRYPT_LDFLAGS=${LDFLAGS:Q} post-patch: ${REINPLACE_CMD} -e 's, -lltdl,,'\ ${WRKSRC}/Makefile.PL post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Mcrypt/Mcrypt.so .include diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile index 276879154098..aa9c2586594c 100644 --- a/security/p5-Module-Signature/Makefile +++ b/security/p5-Module-Signature/Makefile @@ -1,34 +1,32 @@ -# Created by: Autrijus Tang - PORTNAME= Module-Signature PORTVERSION= 0.88 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Module signature file manipulation LICENSE= CC0-1.0 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-PAR-Dist>=0:devel/p5-PAR-Dist TEST_DEPENDS= p5-IPC-Run>=0:devel/p5-IPC-Run USES= perl5 USE_PERL5= configure CONFIGURE_ENV= PERL_MM_USE_DEFAULT="yes" NO_ARCH= yes OPTIONS_MULTI= GPG OPTIONS_MULTI_GPG= GPG1 GPG2 OPTIONS_DEFAULT=GPG2 GPG1_DESC= Use GnuPG version 1 GPG2_DESC= Use GnuPG version 2 GPG1_RUN_DEPENDS= gpgv:security/gnupg1 GPG2_RUN_DEPENDS= gpgv2:security/gnupg .include diff --git a/security/p5-Net-Daemon-SSL/Makefile b/security/p5-Net-Daemon-SSL/Makefile index 4b37e5246aa5..94cda3e19240 100644 --- a/security/p5-Net-Daemon-SSL/Makefile +++ b/security/p5-Net-Daemon-SSL/Makefile @@ -1,21 +1,19 @@ -# Created by: Simon Dick - PORTNAME= Net-Daemon-SSL PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= security net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= simond@irrelevant.org COMMENT= Perl5 extension for portable daemons USES= perl5 USE_PERL5= configure BUILD_DEPENDS+= p5-Net-Daemon>=0:net/p5-Net-Daemon \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL RUN_DEPENDS+= p5-Net-Daemon>=0:net/p5-Net-Daemon \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL .include diff --git a/security/p5-Net-OpenID-Common/Makefile b/security/p5-Net-OpenID-Common/Makefile index 7f9cef8dbb2c..46a6b2a30e87 100644 --- a/security/p5-Net-OpenID-Common/Makefile +++ b/security/p5-Net-OpenID-Common/Makefile @@ -1,27 +1,25 @@ -# Created by: Cheng-Lung Sung - PORTNAME= Net-OpenID-Common PORTVERSION= 1.20 CATEGORIES= security net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Libraries shared between Net::OpenID::Consumer and Net::OpenID::Server LICENSE= ARTPERL10 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-DH-GMP>=0:net/p5-Crypt-DH-GMP \ p5-Email-MIME-ContentType>=0:mail/p5-Email-MIME-ContentType \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ p5-HTTP-Message>=0:www/p5-HTTP-Message \ p5-URI>=0:net/p5-URI \ p5-XML-Simple>=0:textproc/p5-XML-Simple USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Net-OpenID-JanRain/Makefile b/security/p5-Net-OpenID-JanRain/Makefile index a7fe8bffe394..686d8abeb00a 100644 --- a/security/p5-Net-OpenID-JanRain/Makefile +++ b/security/p5-Net-OpenID-JanRain/Makefile @@ -1,23 +1,21 @@ -# Created by: Cheng-Lung Sung - PORTNAME= Net-OpenID-JanRain PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= OpenID JanRain and Consumer with JanRain API BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-DH>=0:security/p5-Crypt-DH \ p5-Digest-HMAC>=0:security/p5-Digest-HMAC \ p5-LWPx-ParanoidAgent>=0:www/p5-LWPx-ParanoidAgent \ p5-Net-Yadis>=0:net/p5-Net-Yadis \ p5-libwww>=0:www/p5-libwww USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Net-OpenID-Server/Makefile b/security/p5-Net-OpenID-Server/Makefile index d2839a607fff..8a9d3264a207 100644 --- a/security/p5-Net-OpenID-Server/Makefile +++ b/security/p5-Net-OpenID-Server/Makefile @@ -1,24 +1,22 @@ -# Created by: Alex Kapranoff - PORTNAME= Net-OpenID-Server PORTVERSION= 1.09 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Reference implementation of OpenID server LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Net-OpenID-Common>=1.11:security/p5-Net-OpenID-Common \ p5-URI>=0:net/p5-URI INSTALL_TARGET= pure_install USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Net-Radius-Server/Makefile b/security/p5-Net-Radius-Server/Makefile index 7a8e3c5bbce9..7c4cbf99782f 100644 --- a/security/p5-Net-Radius-Server/Makefile +++ b/security/p5-Net-Radius-Server/Makefile @@ -1,24 +1,22 @@ -# Created by: Gea-Suan Lin - PORTNAME= Net-Radius-Server PORTVERSION= 1.116 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Framework for RADIUS Servers RUN_DEPENDS= p5-Authen-PAM>=0:security/p5-Authen-PAM \ p5-Class-Accessor>=0.27:devel/p5-Class-Accessor \ p5-IO-Prompt>=0:devel/p5-IO-Prompt \ p5-Net-Radius>=1.52:net/p5-Net-Radius \ p5-Net-Server>=0.94:net/p5-Net-Server \ p5-NetAddr-IP>=4:net-mgmt/p5-NetAddr-IP \ p5-perl-ldap>=0:net/p5-perl-ldap USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Net-SSH-AuthorizedKeysFile/Makefile b/security/p5-Net-SSH-AuthorizedKeysFile/Makefile index 784d9164ef93..bcdb9b281757 100644 --- a/security/p5-Net-SSH-AuthorizedKeysFile/Makefile +++ b/security/p5-Net-SSH-AuthorizedKeysFile/Makefile @@ -1,22 +1,20 @@ -# Created by: Stephon Chen - PORTNAME= Net-SSH-AuthorizedKeysFile PORTVERSION= 0.18 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Read and modify SSH authorized_keys files LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Log-Log4perl>=1:devel/p5-Log-Log4perl NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Net-SSL-ExpireDate/Makefile b/security/p5-Net-SSL-ExpireDate/Makefile index 757268e56e41..1d3922b22611 100644 --- a/security/p5-Net-SSL-ExpireDate/Makefile +++ b/security/p5-Net-SSL-ExpireDate/Makefile @@ -1,28 +1,26 @@ -# Created by: Stephon Chen - PORTNAME= Net-SSL-ExpireDate PORTVERSION= 1.24 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Obtain expiration date of certificate LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-Crypt-OpenSSL-X509>=0:security/p5-Crypt-OpenSSL-X509 \ p5-DateTime>=0:devel/p5-DateTime \ p5-Time-Duration-Parse>=0:devel/p5-Time-Duration-Parse \ p5-TimeDate>=0:devel/p5-TimeDate \ p5-UNIVERSAL-require>=0:devel/p5-UNIVERSAL-require USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Net-SSLGlue/Makefile b/security/p5-Net-SSLGlue/Makefile index 6362671372f4..3f1fea7c75c4 100644 --- a/security/p5-Net-SSLGlue/Makefile +++ b/security/p5-Net-SSLGlue/Makefile @@ -1,23 +1,21 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= Net-SSLGlue PORTVERSION= 1.058 CATEGORIES= security net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add/extend SSL support for common perl modules LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-IO-Socket-SSL>=1.190:security/p5-IO-Socket-SSL USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Net-SSLeay/Makefile b/security/p5-Net-SSLeay/Makefile index cddd3f63f46c..3372f51605ed 100644 --- a/security/p5-Net-SSLeay/Makefile +++ b/security/p5-Net-SSLeay/Makefile @@ -1,33 +1,31 @@ -# Created by: Andreas Klemm - PORTNAME= Net-SSLeay PORTVERSION= 1.92 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to SSL LICENSE= OpenSSL USES= perl5 shebangfix ssl USE_PERL5= configure CONFIGURE_ENV= OPENSSL_PREFIX=${OPENSSLBASE} PORTEXAMPLES= * SHEBANG_FILES= examples/*.pl OPTIONS_DEFINE= EXAMPLES post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/SSLeay/SSLeay.so post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/req.conf ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/p5-Net-Server-Mail-ESMTP-AUTH/Makefile b/security/p5-Net-Server-Mail-ESMTP-AUTH/Makefile index daee7f423d2c..46dbd1013747 100644 --- a/security/p5-Net-Server-Mail-ESMTP-AUTH/Makefile +++ b/security/p5-Net-Server-Mail-ESMTP-AUTH/Makefile @@ -1,22 +1,20 @@ -# Created by: Zane C. Bowers - PORTNAME= Net-Server-Mail-ESMTP-AUTH PORTVERSION= 0.2 CATEGORIES= security mail perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= vvelox@vvelox.net COMMENT= Plain and login auth methods for Net::Server::Mail::ESMTP LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Net-Server-Mail>=0:mail/p5-Net-Server-Mail NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Net-SinFP/Makefile b/security/p5-Net-SinFP/Makefile index 53bee9e01917..d9624ed47f65 100644 --- a/security/p5-Net-SinFP/Makefile +++ b/security/p5-Net-SinFP/Makefile @@ -1,31 +1,29 @@ -# Created by: Andrew Pantyukhin - PORTNAME= Net-SinFP PORTVERSION= 2.10 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sbz@FreeBSD.org COMMENT= Full operating system stack fingerprinting suite LICENSE= ART10 LICENSE_FILE= ${WRKSRC}/LICENSE.Artistic BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Gomor>=1.00:devel/p5-Class-Gomor \ p5-DBIx-SQLite-Simple>=0.33:databases/p5-DBIx-SQLite-Simple \ p5-Net-Packet-Target>=1.00:net/p5-Net-Packet-Target \ p5-Net-Packet>=3.20:net/p5-Net-Packet USES= perl5 USE_PERL5= configure INSTALL_TARGET= pure_install NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's/.*EXE_FILES.*//' ${WRKSRC}/${CONFIGURE_SCRIPT} .include diff --git a/security/p5-Nmap-Parser/Makefile b/security/p5-Nmap-Parser/Makefile index 421ed34901e9..bc1f146ce5a9 100644 --- a/security/p5-Nmap-Parser/Makefile +++ b/security/p5-Nmap-Parser/Makefile @@ -1,23 +1,21 @@ -# Created by: Joshua D. Abraham - PORTNAME= Nmap-Parser PORTVERSION= 1.37 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Parse nmap scan data with perl LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= p5-XML-Twig>=3.16:textproc/p5-XML-Twig RUN_DEPENDS:= ${BUILD_DEPENDS} \ nmap:security/nmap NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Nmap-Scanner/Makefile b/security/p5-Nmap-Scanner/Makefile index 951a10f565f3..e94d2ff13315 100644 --- a/security/p5-Nmap-Scanner/Makefile +++ b/security/p5-Nmap-Scanner/Makefile @@ -1,26 +1,24 @@ -# Created by: Sergey Skvortsov - PORTNAME= Nmap-Scanner PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perform and manipulate nmap scans using perl LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= nmap:security/nmap \ p5-Class-Generate>=0:devel/p5-Class-Generate \ p5-XML-SAX>=0:textproc/p5-XML-SAX \ p5-libwww>=0:www/p5-libwww NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-OpenCA-CRL/Makefile b/security/p5-OpenCA-CRL/Makefile index 1a32c2aa7411..24738062c98c 100644 --- a/security/p5-OpenCA-CRL/Makefile +++ b/security/p5-OpenCA-CRL/Makefile @@ -1,23 +1,21 @@ -# Created by: Sergey Skvortsov - PORTNAME= OpenCA-CRL PORTVERSION= 0.9.6 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MADWOLF PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= CRL Management module PORTSCOUT= skipv:0.9.17 USES= perl5 USE_PERL5= configure post-patch: @${MV} ${WRKSRC}/prova.pl ${WRKSRC}/prova.pl.sample .include diff --git a/security/p5-OpenCA-CRR/Makefile b/security/p5-OpenCA-CRR/Makefile index 64b00472d48a..67e7c0feb5aa 100644 --- a/security/p5-OpenCA-CRR/Makefile +++ b/security/p5-OpenCA-CRR/Makefile @@ -1,16 +1,14 @@ -# Created by: Sergey Skvortsov - PORTNAME= OpenCA-CRR PORTVERSION= 0.0.2 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension to handle CRR objects USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-OpenCA-OpenSSL/Makefile b/security/p5-OpenCA-OpenSSL/Makefile index b85378ba9744..bbc17d018d67 100644 --- a/security/p5-OpenCA-OpenSSL/Makefile +++ b/security/p5-OpenCA-OpenSSL/Makefile @@ -1,32 +1,30 @@ -# Created by: Steve Wills - PORTNAME= OpenCA-OpenSSL PORTVERSION= 2.0.29 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MADWOLF PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl crypto extension to OpenSSL BROKEN_SSL= base openssl BROKEN_SSL_REASON_openssl= incomplete definition of type 'struct x509_st' BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Locale-libintl>=0:devel/p5-Locale-libintl \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-X500-DN>=0:net/p5-X500-DN USES= perl5 ssl USE_PERL5= configure MAKE_ARGS+= PASTHRU_INC=-I${OPENSSLINC} .include .if ${OPSYS} == FreeBSD && (${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl) BROKEN= Does not support OpenSSL 1.1 .endif .include diff --git a/security/p5-OpenCA-PKCS7/Makefile b/security/p5-OpenCA-PKCS7/Makefile index 1aeca1c5a500..e11c2c1e45f1 100644 --- a/security/p5-OpenCA-PKCS7/Makefile +++ b/security/p5-OpenCA-PKCS7/Makefile @@ -1,25 +1,23 @@ -# Created by: Sergey Skvortsov - PORTNAME= OpenCA-PKCS7 PORTVERSION= 0.9.1.1.1 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MADWOLF PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for basic handling PKCS\#7 Signatures BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-OpenCA-OpenSSL>=0:security/p5-OpenCA-OpenSSL \ p5-OpenCA-X509>=0:security/p5-OpenCA-X509 \ p5-X500-DN>=0:net/p5-X500-DN PORTSCOUT= skipv:0.9.13 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-OpenCA-REQ/Makefile b/security/p5-OpenCA-REQ/Makefile index 974a9787b17f..976c5e111790 100644 --- a/security/p5-OpenCA-REQ/Makefile +++ b/security/p5-OpenCA-REQ/Makefile @@ -1,24 +1,22 @@ -# Created by: Sergey Skvortsov - PORTNAME= OpenCA-REQ PORTVERSION= 0.9.60 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MADWOLF PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION:S/0$//} MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension to easily manage Cert REQUESTs BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-X500-DN>=0:net/p5-X500-DN USES= perl5 USE_PERL5= configure post-patch: @${MV} ${WRKSRC}/prova.pl ${WRKSRC}/prova.pl.sample .include diff --git a/security/p5-OpenCA-X509/Makefile b/security/p5-OpenCA-X509/Makefile index 46e65a5d5122..603546f4340a 100644 --- a/security/p5-OpenCA-X509/Makefile +++ b/security/p5-OpenCA-X509/Makefile @@ -1,24 +1,22 @@ -# Created by: Steve Wills - PORTNAME= OpenCA-X509 PORTVERSION= 0.9.10 PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MADWOLF PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for handling X509 Certificates BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-X500-DN>=0:net/p5-X500-DN USES= perl5 shebangfix SHEBANG_FILES= prova.pl USE_PERL5= configure NO_ARCH= yes PORTSCOUT= skipv:0.9.47 .include diff --git a/security/p5-PBKDF2-Tiny/Makefile b/security/p5-PBKDF2-Tiny/Makefile index c153a4ca4563..209126674099 100644 --- a/security/p5-PBKDF2-Tiny/Makefile +++ b/security/p5-PBKDF2-Tiny/Makefile @@ -1,21 +1,19 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= PBKDF2-Tiny PORTVERSION= 0.005 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DAGOLDEN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Minimalist PBKDF2 (RFC 2898) with HMAC-SHA1 or HMAC-SHA2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-PGP-Sign/Makefile b/security/p5-PGP-Sign/Makefile index f602e73b482a..200bcb51b513 100644 --- a/security/p5-PGP-Sign/Makefile +++ b/security/p5-PGP-Sign/Makefile @@ -1,23 +1,21 @@ -# Created by: Don Croyle - PORTNAME= PGP-Sign PORTVERSION= 1.04 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Create detached PGP signatures for data LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= gpg:security/gnupg RUN_DEPENDS= gpg:security/gnupg USES= perl5 USE_PERL5= modbuild CONFIGURE_ARGS= PGP=${LOCALBASE}/bin/gpg PGPSTYLE=GPG NO_ARCH= yes .include diff --git a/security/p5-PGP/Makefile b/security/p5-PGP/Makefile index ae09cad17bf5..af6b42ca1165 100644 --- a/security/p5-PGP/Makefile +++ b/security/p5-PGP/Makefile @@ -1,30 +1,28 @@ -# Created by: James FitzGibbon - PORTNAME= PGP PORTVERSION= 0.3a PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl5 module to work with PGP messages ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le sparc64 RUN_DEPENDS= pgpin:security/pgpin PORTSCOUT= skipv:1.0 USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e 's|WriteMakefile;|WriteMakefile( 'NAME' => "PGP::Pipe" );|' \ ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e '/^=over 4/d' ${WRKSRC}/PGP/Pipe.pm pre-configure: @${CP} ${WRKSRC}/PGP/Pipe.pm ${WRKSRC} .include diff --git a/security/p5-POE-Component-SSLify/Makefile b/security/p5-POE-Component-SSLify/Makefile index badf17e7e11f..27b4fb6b7934 100644 --- a/security/p5-POE-Component-SSLify/Makefile +++ b/security/p5-POE-Component-SSLify/Makefile @@ -1,26 +1,24 @@ -# Created by: Sergey Skvortsov - PORTNAME= POE-Component-SSLify PORTVERSION= 1.012 CATEGORIES= security perl5 MASTER_SITES= CPAN/${PORTNAME:C/-.*//}/APOCAL PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Integrate SSL into POE LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Net-SSLeay>=1.36:security/p5-Net-SSLeay \ p5-POE>=1.267:devel/p5-POE \ p5-Task-Weaken>=1.03:devel/p5-Task-Weaken TEST_DEPENDS= p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings USES= perl5 USE_PERL5= modbuildtiny NO_ARCH= yes .include diff --git a/security/p5-PerlCryptLib/Makefile b/security/p5-PerlCryptLib/Makefile index f6a9c192b6dc..d5569c774f48 100644 --- a/security/p5-PerlCryptLib/Makefile +++ b/security/p5-PerlCryptLib/Makefile @@ -1,24 +1,22 @@ -# Created by: Gea-Suan Lin - PORTNAME= PerlCryptLib PORTVERSION= 1.12 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:ALVAROL PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to Peter Guttman cryptlib API LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LIB_DEPENDS= libcl.so:security/cryptlib USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PerlCryptLib/PerlCryptLib.so .include diff --git a/security/p5-SAVI-Perl/Makefile b/security/p5-SAVI-Perl/Makefile index fd85617fdd30..cbb34d1941ec 100644 --- a/security/p5-SAVI-Perl/Makefile +++ b/security/p5-SAVI-Perl/Makefile @@ -1,32 +1,30 @@ -# Created by: Gary Hayers - PORTNAME= SAVI-Perl PORTVERSION= 0.30 PORTREVISION= 6 CATEGORIES= security perl5 MASTER_SITES= http://www.csupomona.edu/~henson/archive/projects/SAVI-Perl/dist/ PKGNAMEPREFIX= p5- MAINTAINER= pi@FreeBSD.org COMMENT= Perl5 module interface to Sophos AntiVirus USES= perl5 USE_PERL5= configure ONLY_FOR_ARCHS= i386 amd64 .include .if exists(${PREFIX}/lib/libsavi.so.3) && !exists(${PREFIX}/lib/libsavi.so) FAKELIBDIR=${WRKDIR}/lib CONFIGURE_ARGS+=LDDLFLAGS='-shared -L ${FAKELIBDIR}' .elif !exists(${PREFIX}/lib/libsavi.so) IGNORE= Sophos Anti-Virus needs to be installed (see pkg-descr) .endif .if defined(FAKELIBDIR) pre-configure: ${MKDIR} ${FAKELIBDIR} ${LN} -s ${PREFIX}/lib/libsavi.so.3 ${FAKELIBDIR}/libsavi.so .endif .include diff --git a/security/p5-SHA/Makefile b/security/p5-SHA/Makefile index 3f6d617b8620..22cdf201ddfc 100644 --- a/security/p5-SHA/Makefile +++ b/security/p5-SHA/Makefile @@ -1,20 +1,18 @@ -# Created by: Jim Geovedi - PORTNAME= SHA PORTVERSION= 2.01 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:GAAS PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the SHA1 algorithm BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Safe-Hole/Makefile b/security/p5-Safe-Hole/Makefile index ad040706af82..71cb6d147643 100644 --- a/security/p5-Safe-Hole/Makefile +++ b/security/p5-Safe-Hole/Makefile @@ -1,16 +1,14 @@ -# Created by: Seth Kingsley - PORTNAME= Safe-Hole PORTVERSION= 0.13 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sethk@meowfishies.com COMMENT= Make a hole to the original main compartment in the Safe compartment USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Session-Token/Makefile b/security/p5-Session-Token/Makefile index da08ba89fa68..78f25e57ef93 100644 --- a/security/p5-Session-Token/Makefile +++ b/security/p5-Session-Token/Makefile @@ -1,22 +1,20 @@ -# Created by: Henk van Oers - PORTNAME= Session-Token PORTVERSION= 1.503 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:FRACTAL PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Secure, efficient, simple random session token generation LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Session/Token/Token.so .include diff --git a/security/p5-Snort-Rule/Makefile b/security/p5-Snort-Rule/Makefile index a182bd73bb69..89bbbdfd0b27 100644 --- a/security/p5-Snort-Rule/Makefile +++ b/security/p5-Snort-Rule/Makefile @@ -1,23 +1,21 @@ -# Created by: Paul Schmehl - PORTNAME= Snort-Rule PORTVERSION= 1.07 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:SAXJAZMAN/Snort PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Perl5 extension for dynamically building snort rules LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure PLIST_FILES= %%SITE_PERL%%/Snort/Rule.pm \ %%PERL5_MAN3%%/Snort::Rule.3.gz .include diff --git a/security/p5-String-MkPasswd/Makefile b/security/p5-String-MkPasswd/Makefile index 94ad50defa00..de9c3e4d9ef8 100644 --- a/security/p5-String-MkPasswd/Makefile +++ b/security/p5-String-MkPasswd/Makefile @@ -1,22 +1,20 @@ -# Created by: Frank Wall - PORTNAME= String-MkPasswd PORTVERSION= 0.04 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:CGRAU PKGNAMEPREFIX= p5- MAINTAINER= fw@moov.de COMMENT= Random password generator LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Sudo/Makefile b/security/p5-Sudo/Makefile index 0553052b2110..a321545ba05d 100644 --- a/security/p5-Sudo/Makefile +++ b/security/p5-Sudo/Makefile @@ -1,22 +1,20 @@ -# Created by: Gea-Suan Lin - PORTNAME= Sudo PORTVERSION= 0.33 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:WAG PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for running a command line sudo BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Term-ReadPassword>=0:devel/p5-Term-ReadPassword \ p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-IPC-Run>=0:devel/p5-IPC-Run USES= perl5 USE_PERL5= configure .include diff --git a/security/p5-Text-Password-Pronounceable/Makefile b/security/p5-Text-Password-Pronounceable/Makefile index 118c9784e5ba..7dd18eb41344 100644 --- a/security/p5-Text-Password-Pronounceable/Makefile +++ b/security/p5-Text-Password-Pronounceable/Makefile @@ -1,18 +1,16 @@ -# Created by: Cheng-Lung Sung - PORTNAME= Text-Password-Pronounceable PORTVERSION= 0.30 PORTREVISION= 1 CATEGORIES= security textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for generating pronounceable passwords USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Tie-EncryptedHash/Makefile b/security/p5-Tie-EncryptedHash/Makefile index 0237e7d6056f..cc1e5fbb4688 100644 --- a/security/p5-Tie-EncryptedHash/Makefile +++ b/security/p5-Tie-EncryptedHash/Makefile @@ -1,26 +1,24 @@ -# Created by: Michael Haro - PORTNAME= Tie-EncryptedHash PORTVERSION= 1.24 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Hashes (and objects based on hashes) with encrypting fields LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC TEST_DEPENDS= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-DES>=0:security/p5-Crypt-DES USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Tree-Authz/Makefile b/security/p5-Tree-Authz/Makefile index 6cb981108692..77f124958408 100644 --- a/security/p5-Tree-Authz/Makefile +++ b/security/p5-Tree-Authz/Makefile @@ -1,25 +1,23 @@ -# Created by: Aaron Dalton - PORTNAME= Tree-Authz PORTVERSION= 0.03 PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= bofh@FreeBSD.org COMMENT= Role-Based Access Control authorization scheme LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Data-Inheritable>=0:devel/p5-Class-Data-Inheritable \ p5-Devel-Symdump>=0:devel/p5-Devel-Symdump \ p5-Lingua-EN-Inflect-Number>=0:textproc/p5-Lingua-EN-Inflect-Number TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception USES= perl5 USE_PERL5= modbuild .include diff --git a/security/p5-Unix-Passwd-File/Makefile b/security/p5-Unix-Passwd-File/Makefile index 2ecf505fbb38..400733bb117b 100644 --- a/security/p5-Unix-Passwd-File/Makefile +++ b/security/p5-Unix-Passwd-File/Makefile @@ -1,31 +1,29 @@ -# Created by: Henk van Oers - PORTNAME= Unix-Passwd-File PORTVERSION= 0.251 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Manipulate passwd and group entries LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Crypt-Password-Util>=0.06:security/p5-Crypt-Password-Util \ p5-File-Flock-Retry>=0.631:devel/p5-File-Flock-Retry \ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils TEST_DEPENDS= p5-Class-Load>=0:devel/p5-Class-Load \ p5-File-Copy-Recursive>=0:devel/p5-File-Copy-Recursive \ p5-File-Slurper>=0:devel/p5-File-Slurper \ p5-File-chdir>=0:devel/p5-File-chdir \ p5-namespace-autoclean>=0:devel/p5-namespace-autoclean USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/security/p5-Yahoo-BBAuth/Makefile b/security/p5-Yahoo-BBAuth/Makefile index 0c60a7049fc1..4d6a6920b056 100644 --- a/security/p5-Yahoo-BBAuth/Makefile +++ b/security/p5-Yahoo-BBAuth/Makefile @@ -1,32 +1,30 @@ -# Created by: Gea-Suan Lin - PORTNAME= Yahoo-BBAuth PORTVERSION= 0.50 PORTREVISION= 1 CATEGORIES= security www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl interface to the Yahoo! Browser-Based Authentication LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-JSON>=0:converters/p5-JSON \ p5-libwww>=5.6:www/p5-libwww USES= perl5 shebangfix USE_PERL5= configure NO_ARCH= yes SHEBANG_FILES= eg/*.cgi post-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${STAGEDIR}${WWWDIR}/cgi-bin/ .include diff --git a/security/p5-dicewaregen/Makefile b/security/p5-dicewaregen/Makefile index f1de49bb9623..93da544ae0f0 100644 --- a/security/p5-dicewaregen/Makefile +++ b/security/p5-dicewaregen/Makefile @@ -1,30 +1,28 @@ -# Created by: Aldis Berjoza - PORTNAME= dicewaregen PORTVERSION= 1.4 CATEGORIES= security PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl script to generate Diceware dictionaries for passwords USE_GITHUB= yes GH_ACCOUNT= graudeejs GH_PROJECT= dicewaregen.pl LIB_DEPENDS+= libaspell.so:textproc/aspell RUN_DEPENDS+= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils USES= perl5 USE_PERL5= run PLIST_FILES= bin/${PORTNAME} NO_ARCH= yes NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dicewaregen.pl \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/p5-openxpki-i18n/Makefile b/security/p5-openxpki-i18n/Makefile index 6f5e4e87ad84..49a315e286f6 100644 --- a/security/p5-openxpki-i18n/Makefile +++ b/security/p5-openxpki-i18n/Makefile @@ -1,28 +1,26 @@ -# Created by: Sergei Vyshenski - PORTNAME= openxpki DISTVERSIONPREFIX= v DISTVERSION= 3.20.0 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- PKGNAMESUFFIX= -i18n MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based trustcenter software for PKI: i18n tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../../LICENSE # We cannot go without NLS. Internationalization is needed even for English. USES= gettext-runtime gettext-tools gmake perl5 USE_GITHUB= yes ALL_TARGET= scan default NO_ARCH= yes # stay with stable versions only: PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= core/i18n .include diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile index a35ab223515a..f3e1d9b459d4 100644 --- a/security/p5-openxpki/Makefile +++ b/security/p5-openxpki/Makefile @@ -1,152 +1,150 @@ -# Created by: Sergei Vyshenski - PORTNAME= openxpki DISTVERSIONPREFIX= v DISTVERSION= 3.20.0 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based trustcenter for PKI: universal server building block LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE MY_DEPENDS= bash:shells/bash \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ p5-Cache-LRU>=0:devel/p5-Cache-LRU \ p5-CGI-Fast>=2.10:www/p5-CGI-Fast \ p5-CGI-Session>=3.95:www/p5-CGI-Session \ p5-CGI>=4.21:www/p5-CGI \ p5-Class-Accessor-Chained>=0:devel/p5-Class-Accessor-Chained \ p5-Class-Std>=0.0.8:devel/p5-Class-Std \ p5-Config-GitLike>=0:devel/p5-Config-GitLike \ p5-Config-Merge>=1:devel/p5-Config-Merge \ p5-Config-Std>=0:devel/p5-Config-Std \ p5-Connector>=1.43:devel/p5-Connector \ p5-Crypt-Argon2>=0.007:security/p5-Crypt-Argon2 \ p5-Crypt-CBC>=2.29:security/p5-Crypt-CBC \ p5-Crypt-JWT>=0.032:security/p5-Crypt-JWT \ p5-Crypt-LibSCEP>=0.6:security/p5-Crypt-LibSCEP \ p5-Crypt-OpenSSL-AES>=0.02:security/p5-Crypt-OpenSSL-AES \ p5-Crypt-PKCS10>=2.000:security/p5-Crypt-PKCS10 \ p5-Crypt-Rijndael>=1.13:security/p5-Crypt-Rijndael \ p5-Crypt-SMIME>=0:security/p5-Crypt-SMIME \ p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay \ p5-Crypt-X509-CRL>=0.1:security/p5-Crypt-X509-CRL \ p5-Crypt-X509>=0.53:security/p5-Crypt-X509 \ p5-CryptX>=0.068:security/p5-CryptX \ p5-Data-Password>=0:security/p5-Data-Password \ p5-Data-Serializer>=0.44:devel/p5-Data-Serializer \ p5-Data-UUID>=0:devel/p5-Data-UUID \ p5-DateTime-Format-DateParse>=0.04:devel/p5-DateTime-Format-DateParse \ p5-DBD-Mock>=1.45:databases/p5-DBD-Mock \ p5-DBIx-Handler>=0.14:databases/p5-DBIx-Handler \ p5-Devel-NYTProf>=0:devel/p5-Devel-NYTProf \ p5-IO-Prompt>=0.099004:devel/p5-IO-Prompt \ p5-IPC-ShareLite>=0:devel/p5-IPC-ShareLite \ p5-Import-Into>=1.002005:devel/p5-Import-Into \ p5-JSON>=0:converters/p5-JSON \ p5-Locale-libintl>=0:devel/p5-Locale-libintl \ p5-Log-Log4perl-Layout-JSON>=0:devel/p5-Log-Log4perl-Layout-JSON \ p5-LWP-Protocol-connect>=0:www/p5-LWP-Protocol-connect \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-Mail-RFC822-Address>=0:mail/p5-Mail-RFC822-Address \ p5-Moose>=0:devel/p5-Moose \ p5-MooseX-InsideOut>=0.106:devel/p5-MooseX-InsideOut \ p5-MooseX-NonMoose>=0:devel/p5-MooseX-NonMoose \ p5-MooseX-Params-Validate>=0.21:devel/p5-MooseX-Params-Validate \ p5-Net-DNS>0.83:dns/p5-Net-DNS \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Net-Server>=0.94:net/p5-Net-Server \ p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP \ p5-openxpki-i18n>=2.0.3:security/p5-openxpki-i18n \ p5-Path-Class>=0:devel/p5-Path-Class \ p5-perl-ldap>=0.32:net/p5-perl-ldap \ p5-Pod-POM>=2.01:textproc/p5-Pod-POM \ p5-Proc-Daemon>=0.23:devel/p5-Proc-Daemon \ p5-Proc-ProcessTable>=0.43:devel/p5-Proc-ProcessTable \ p5-Proc-SafeExec>=1.4:devel/p5-Proc-SafeExec \ p5-Regexp-Common>=2:textproc/p5-Regexp-Common \ p5-RT-Client-REST>=0:www/p5-RT-Client-REST \ p5-SOAP-Lite>=0:net/p5-SOAP-Lite \ p5-SQL-Abstract-More>=1.28:databases/p5-SQL-Abstract-More \ p5-Switch>=0:lang/p5-Switch \ p5-Sys-SigAction>=0.06:devel/p5-Sys-SigAction \ p5-Template-Toolkit>=2.15:www/p5-Template-Toolkit \ p5-Text-CSV_XS>=0.23:textproc/p5-Text-CSV_XS \ p5-TimeDate>=0:devel/p5-TimeDate \ p5-Workflow>=1.60:devel/p5-Workflow \ p5-XML-Filter-XInclude>=0:textproc/p5-XML-Filter-XInclude \ p5-XML-SAX-Writer>=0:textproc/p5-XML-SAX-Writer \ p5-XML-Validator-Schema>=0:textproc/p5-XML-Validator-Schema BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} TEST_DEPENDS= p5-DBD-SQLite>=1.52:databases/p5-DBD-SQLite \ p5-Test-Pod-Coverage>=1.00:devel/p5-Test-Pod-Coverage \ p5-Test-Pod>=1.00:devel/p5-Test-Pod \ p5-Test-Prereq>=0:devel/p5-Test-Prereq USES= gmake perl5 shebangfix ssl USE_GITHUB= yes GH_PROJECT= openxpki-config:conf GH_TAGNAME= ${DISTVERSIONPREFIX}${_conf_VERSION}:conf _conf_VERSION= 3.16 USE_PERL5= configure USE_RC_SUBR= openxpki SHEBANG_FILES= bin/* SHEBANG_GLOB= *.fcgi *.pl *.pm *.t* NO_ARCH= yes # stay with stable versions only: PORTSCOUT= limitw:1,even SUB_FILES= pkg-message WRKSRC_SUBDIR= core/server/ USERS= openxpki GROUPS= openxpki PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GRAPHVIZ GRAPHVIZ_DESC= With graphical visualization of workflows? GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz \ imgsize:graphics/p5-Image-Size post-extract: @${MV} ${WRKSRC_conf}/* ${WRKSRC}/../../config/ post-patch: @${REINPLACE_CMD} -e 's|..ENV{PERL} .vergen --format version.|"${PORTVERSION}"|g' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|..vergen --format version.|"${PORTVERSION}"|g' ${WRKSRC}/Makefile.PL @( \ cd ${WRKSRC}/../..; \ ${ECHO} "Patching dir names..."; \ ${GREP} -RIFl -e "/etc/openxpki" config core/server doc qatest tools >filelist; \ ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|/etc/openxpki|${PREFIX}/etc/openxpki|g' "%"; \ ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ ${GREP} -RIFl -e "/var/run/openxpkid.pid" config core/server doc qatest tools >filelist; \ ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|/var/run/openxpkid.pid|/var/openxpki/openxpkid.pid|g' "%"; \ ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ ${RM} filelist; \ ) @${MKDIR} ${WRKSRC}/t/var/log/openxpki post-install: @${MKDIR} ${STAGEDIR}/var/openxpki/session @${MKDIR} ${STAGEDIR}/var/log/openxpki @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openxpki post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/../../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/../.. && ${COPYTREE_SHARE} config ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} "htdocs cgi-bin" ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/security/p5-plog/Makefile b/security/p5-plog/Makefile index 2e1b9a13a6a7..9e74af4bb903 100644 --- a/security/p5-plog/Makefile +++ b/security/p5-plog/Makefile @@ -1,27 +1,25 @@ -# Created by: Cy Schubert - PORTNAME= plog PORTVERSION= 0.10 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MASTER_SITES= http://www.antibozo.net/ogata/webtools/ DISTFILES= plog.pl MAINTAINER= cy@FreeBSD.org COMMENT= Perl based ipfilter log reporter USES= perl5 shebangfix EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} NO_BUILD= yes SHEBANG_FILES= ${WRKSRC}/plog.pl PLIST_FILES= bin/plog.pl pre-extract: @${MKDIR} ${WRKSRC} do-install: @${INSTALL_SCRIPT} ${WRKSRC}/plog.pl ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/pam-modules/Makefile b/security/pam-modules/Makefile index f3c7cef311d5..dcc207a8eb96 100644 --- a/security/pam-modules/Makefile +++ b/security/pam-modules/Makefile @@ -1,47 +1,45 @@ -# Created by: Mark Felder - PORTNAME= pam-modules PORTVERSION= 2.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://download.gnu.org.ua/pub/release/pam-modules/ MAINTAINER= feld@FreeBSD.org COMMENT= Collection of modules for PAM LICENSE= GPLv3 GNU_CONFIGURE= yes USES= libtool USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-fshadow OPTIONS_DEFINE= GROUPMEMBER MYSQL REGEX PGSQL SYSLOG OPTIONS_DEFAULT= GROUPMEMBER REGEX SYSLOG OPTIONS_SUB= yes GROUPMEMBER_CONFIGURE_ENABLE= groupmember GROUPMEMBER_DESC= Build pam_groupmember MYSQL_CONFIGURE_ENABLE= mysql MYSQL_DESC= Build pam_mysql MYSQL_USES= mysql PGSQL_CONFIGURE_ENABLE= pgsql PGSQL_DESC= Build pam_pgsql PGSQL_USES= pgsql PGSQL_VARS= WANT_PGSQL=client SYSLOG_CONFIGURE_ENABLE= log SYSLOG_DESC= Build pam_log REGEX_CONFIGURE_ENABLE= regex REGEX_DESC= Build pam_regex INFO= pam-modules .include .include diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile index 56883e97b104..ca48807cf1e1 100644 --- a/security/pam-mysql/Makefile +++ b/security/pam-mysql/Makefile @@ -1,44 +1,42 @@ -# Created by: Anders Nordby - PORTNAME= pam_mysql DISTVERSIONPREFIX= v DISTVERSION= 0.8.2 CATEGORIES= security databases MAINTAINER= jsm@FreeBSD.org COMMENT= PAM module for authenticating with MySQL LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf compiler:c11 libtool:keepla mysql pkgconfig USE_GITHUB= yes GH_ACCOUNT= NigelCunningham GH_PROJECT= pam-MySQL GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pam=/usr/lib --with-pam-mods-dir=${LOCALBASE}/lib SUB_FILES= pkg-message PORTDOCS= * PLIST_FILES= lib/pam_mysql.so lib/pam_mysql.la OPTIONS_DEFINE= DOCS SSL OPTIONS_DEFAULT= DOCS SSL SSL_DESC= Build with OpenSSL support (non-crypt()ish MD5 and SHA1 hash) SSL_CONFIGURE_ENV= openssl_CFLAGS="${OPENSSLINC}" \ openssl_LIBS="${OPENSSLLIB}" SSL_CONFIGURE_WITH= openssl SSL_USES= ssl post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_mysql.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/NEWS \ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile index 6caa615f97cd..518fceb55858 100644 --- a/security/pam-pgsql/Makefile +++ b/security/pam-pgsql/Makefile @@ -1,29 +1,27 @@ -# Created by: Mikhail Teterin - PORTNAME= pam-pgsql PORTVERSION= 0.7.3.2 PORTREVISION= 2 CATEGORIES= security databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7/ MAINTAINER= berend@pobox.com COMMENT= PAM module for authenticating with PostgreSQL LICENSE= GPLv2 LIB_DEPENDS= libmhash.so:security/mhash \ libgcrypt.so:security/libgcrypt USES= libtool pgsql GNU_CONFIGURE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS INSTALL_TARGET= install-strip post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pam_google_authenticator/Makefile b/security/pam_google_authenticator/Makefile index 6a6b0f9cb619..a95d53df6016 100644 --- a/security/pam_google_authenticator/Makefile +++ b/security/pam_google_authenticator/Makefile @@ -1,32 +1,30 @@ -# Created by: Jui-Nan Lin - PORTNAME= pam_google_authenticator PORTVERSION= 1.09 PORTEPOCH= 1 CATEGORIES= security MAINTAINER= driesm@FreeBSD.org COMMENT= PAM module for two-step authentication from Google LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf gmake libtool GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= google GH_PROJECT= google-authenticator-libpam INSTALL_TARGET= install-strip OPTIONS_DEFINE= QRENCODE OPTIONS_DEFAULT= QRENCODE QRENCODE_DESC= Allow creation of QR-codes QRENCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode post-patch: @${REINPLACE_CMD} -e 's;/security;;' ${WRKSRC}/Makefile.am .include diff --git a/security/pam_helper/Makefile b/security/pam_helper/Makefile index b36c44145d46..d6b146bbe7f5 100644 --- a/security/pam_helper/Makefile +++ b/security/pam_helper/Makefile @@ -1,20 +1,18 @@ -# Created by: Joe Marcus Clarke - PORTNAME= pam_helper PORTVERSION= 1.1 CATEGORIES= security sysutils MASTER_SITES= http://www.marcuscom.com/pam_helper/ MAINTAINER= marcus@FreeBSD.org COMMENT= Authenticate applications requiring PAM services LICENSE= BSD2CLAUSE USES= tar:bzip2 uidfix PLIST_FILES= bin/pam_helper post-patch: @${REINPLACE_CMD} '/BINOWN=/d ; s,$${MINUSLPAM},-lpam,' ${WRKSRC}/Makefile .include diff --git a/security/pam_jail/Makefile b/security/pam_jail/Makefile index 431015429261..6775bad9f982 100644 --- a/security/pam_jail/Makefile +++ b/security/pam_jail/Makefile @@ -1,23 +1,21 @@ -# Created by: Damien Bobillot - PORTNAME= pam_jail PORTVERSION= 0.4 CATEGORIES= security MASTER_SITES= http://www.triades.net/downloads/ MAINTAINER= damien.bobillot_pam_jail@m4x.org COMMENT= PAM module dropping users in jails after login LICENSE= BSD3CLAUSE SUB_FILES= pkg-message PLIST_FILES= lib/pam_jail.so lib/pam_jail.so.1 man/man8/pam_jail.8.gz .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/ ${LN} -sf pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/pam_jail.so ${INSTALL_MAN} ${WRKSRC}/pam_jail.8 ${STAGEDIR}${PREFIX}/man/man8/ .include diff --git a/security/pam_krb5-rh/Makefile b/security/pam_krb5-rh/Makefile index 40234e446502..f85e335d158b 100644 --- a/security/pam_krb5-rh/Makefile +++ b/security/pam_krb5-rh/Makefile @@ -1,44 +1,42 @@ -# Created by: Ryan Steinmetz - PORTNAME= pam_krb5 DISTVERSION= 2.4.13 CATEGORIES= security MASTER_SITES= https://releases.pagure.org/${PORTNAME}/ \ ZI PKGNAMESUFFIX= -rh MAINTAINER= zi@FreeBSD.org COMMENT= The Red Hat Pluggable Authentication Module for Kerberos 5 LICENSE= LGPL21 BSD3CLAUSE LICENSE_COMB= dual CONFLICTS= pam_krb5-4.* USES= iconv libtool ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-afs --without-keyutils --without-krb4 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e 's|libdir)/security|libdir)|g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|/lib64/security|${LOCALBASE}/lib|g' \ ${WRKSRC}/src/*.8 @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/tests/tools/Makefile.in @${REINPLACE_CMD} -e 's|PAM_BAD_ITEM|PAM_SYMBOL_ERR|g' ${WRKSRC}/src/conv.c @${REINPLACE_CMD} -e 's|PAM_AUTHTOK_RECOVER_ERR|PAM_AUTHTOK_RECOVERY_ERR|g' \ ${WRKSRC}/src/password.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_krb5.so .include diff --git a/security/pam_krb5/Makefile b/security/pam_krb5/Makefile index 3654b1a4e003..b98faadeb694 100644 --- a/security/pam_krb5/Makefile +++ b/security/pam_krb5/Makefile @@ -1,43 +1,41 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= pam_krb5 PORTVERSION= 4.9 CATEGORIES= security MASTER_SITES= http://archives.eyrie.org/software/kerberos/ \ http://archives.eyrie.org/software/ARCHIVE/pam-krb5/ DISTNAME= pam-krb5-${PORTVERSION:S/.r/-rc/} MAINTAINER= cy@FreeBSD.org COMMENT= Pluggable Authentication Module for Kerberos 5 LICENSE= BSD3CLAUSE GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake libtool perl5 USE_PERL5= build CONFLICTS= pam_krb5-rh-2.* GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-krb5="${GSSAPIBASEDIR}" \ --with-krb5-include="${GSSAPIINCDIR}" \ --with-krb5-lib="${GSSAPILIBDIR}" CONFIGURE_ENV= PATH_KRB5_CONFIG="${KRB5CONFIG}" INSTALL_TARGET= install-strip OPTIONS_SINGLE= LINK OPTIONS_SINGLE_LINK= MIT HEIMDAL_BASE HEIMDAL_PORT OPTIONS_DEFAULT= MIT MIT_DESC= Link against MIT Kerberos HEIMDAL_PORT_DESC= Link against Heimdal in ports Kerberos HEIMDAL_BASE_DESC= Link against Heimdal in base Kerberos MIT_USES= gssapi:mit HEIMDAL_PORT_USES= gssapi:heimdal HEIMDAL_BASE_USES= gssapi:base post-install: cd ${WRKSRC} && ${MAKE_CMD} install-man DESTDIR=${STAGEDIR} .include diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile index cb44629b0e24..42fe47efdf34 100644 --- a/security/pam_ldap/Makefile +++ b/security/pam_ldap/Makefile @@ -1,39 +1,37 @@ -# Created by: Joe Clarke - PORTNAME= pam_ldap PORTVERSION= 186 PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= http://www.padl.com/download/ \ ftp://ftp.padl.com/pub/ MAINTAINER= marcus@FreeBSD.org COMMENT= PAM module for authenticating with LDAP LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB USES= cpe gmake perl5 shebangfix USE_OPENLDAP= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/${PAM_LDAP_CONF} \ --with-ldap-dir=${LOCALBASE} \ --with-ldap-lib=openldap \ --with-ldap-secret-file=${PREFIX}/etc/ldap.secret SHEBANG_FILES= vers_string CPE_VENDOR= padl SUB_FILES= pkg-message PORTDATA= *.schema PAM_LDAP_CONF?= ldap.conf post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.schema ${STAGEDIR}${DATADIR} .include diff --git a/security/pam_mkhomedir/Makefile b/security/pam_mkhomedir/Makefile index 61928dc4a078..d60831a05ff9 100644 --- a/security/pam_mkhomedir/Makefile +++ b/security/pam_mkhomedir/Makefile @@ -1,44 +1,42 @@ -# Created by: Martin Mersberger - PORTNAME= pam_mkhomedir PORTVERSION= 0.2 CATEGORIES= security MASTER_SITES= http://portal-to-web.de/pam_mkhomedir/ MAINTAINER= gremlin@portal-to-web.de COMMENT= Create HOME with a PAM module on demand USES= uidfix SUB_FILES= pkg-message PLIST_FILES= lib/pam_mkhomedir.so \ lib/pam_mkhomedir.so.2 \ man/man8/pam_mkhomedir.8.gz .if defined(WITH_PROFILE) PLIST_FILES+= lib/libpam_mkhomedir_p.a MAKE_ARGS+= PROFILE=yes WITH_STATIC= yes .else MAKE_ARGS+= MK_PROFILE=no .endif .if defined(WITH_STATIC) PLIST_FILES+= lib/libpam_mkhomedir.a .else MAKE_ARGS+= MK_INSTALLLIB=no .endif pre-everything:: .if !defined(WITH_PROFILE) || !defined(WITH_STATIC) @${ECHO_CMD} "" @${ECHO_CMD} "All definable build options" @${ECHO_CMD} "---------------------------" @${ECHO_CMD} "" @${ECHO_CMD} "WITH_PROFILE=yes Build with static lib with profile" @${ECHO_CMD} "WITH_STATIC=yes Build with static lib" @${ECHO_CMD} "" .endif .include diff --git a/security/pam_ocra/Makefile b/security/pam_ocra/Makefile index 8c3e3a5075a1..65c2cc6273d5 100644 --- a/security/pam_ocra/Makefile +++ b/security/pam_ocra/Makefile @@ -1,26 +1,24 @@ -# Created by: Stefan Grundmann - PORTNAME= pam_ocra DISTVERSION= 1.5 CATEGORIES= security MAINTAINER= sg2342@googlemail.com COMMENT= RFC6287 (OCRA) PAM module LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ssl uidfix USE_GITHUB= yes GH_ACCOUNT= sg2342 CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= lib/pam_ocra.so \ lib/pam_ocra.so.0 \ sbin/ocra_tool \ man/man8/pam_ocra.8.gz \ man/man8/ocra_tool.8.gz .include diff --git a/security/pam_p11/Makefile b/security/pam_p11/Makefile index 4394311d416e..ca3bf7a96a21 100644 --- a/security/pam_p11/Makefile +++ b/security/pam_p11/Makefile @@ -1,41 +1,39 @@ -# Created by: Alex Dupre - PORTNAME= pam_p11 PORTVERSION= 0.3.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/OpenSC/pam_p11/releases/download/pam_p11-${PORTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= PAM module using crypto tokens for auth LICENSE= LGPL21 LIB_DEPENDS= libp11.so:security/libp11 USES= libtool pkgconfig ssl OPTIONS_DEFINE= DOCS NLS GNU_CONFIGURE= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_PLIST_FILES=share/locale/de/LC_MESSAGES/pam_p11.mo \ share/locale/it/LC_MESSAGES/pam_p11.mo CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" INSTALL_TARGET= install-strip PLIST_FILES= lib/security/pam_p11.so PORTDOCS= * post-install: ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pam_pkcs11/Makefile b/security/pam_pkcs11/Makefile index 272da541f15c..b8ec3a95bb0c 100644 --- a/security/pam_pkcs11/Makefile +++ b/security/pam_pkcs11/Makefile @@ -1,99 +1,97 @@ -# Created by: Ka Ho Ng - PORTNAME= pam_pkcs11 PORTVERSION= 0.6.12 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= security MAINTAINER= khng@FreeBSD.org COMMENT= PAM module using crypto tokens for auth LICENSE= LGPL21 RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake libtool pkgconfig shebangfix USE_GITHUB= yes GH_ACCOUNT= OpenSC GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-confdir=${ETCDIR} CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" SHEBANG_FILES= tools/pkcs11_make_hash_link OPTIONS_DEFINE= CURL DEBUG DOCS LDAP NLS NSS PCSC SSL OPTIONS_DEFAULT= PCSC SSL OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= curl LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= ldap # Users can only choose either NSS or SSL NSS_DESC= Enable Mozilla's NSS support NSS_CONFIGURE_WITH= nss NSS_LIB_DEPENDS= libnss3.so:security/nss \ libnspr4.so:devel/nspr NSS_PREVENTS= SSL PCSC_DESC= Enable PC/SC support PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite PCSC_CONFIGURE_WITH= pcsclite SSL_USES= ssl NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext DOCS_CONFIGURE_ENABLE= doc PORTDOCS= * PAM_PKCS11_EXAMPLEDOCS= \ etc/card_eventmgr.conf.example \ etc/digest_mapping.example \ etc/mail_mapping.example \ etc/pam.d_login.example.in \ etc/pam_pkcs11.conf.example.in \ etc/pkcs11_eventmgr.conf.example \ etc/subject_mapping.example .include .if ! ${PORT_OPTIONS:MDEBUG} INSTALL_TARGET= install-strip .else CONFIGURE_ARGS+= --with-debug=yes .endif .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl CONFIGURE_ENV+= XSLTPROC="${LOCALBASE}/bin/xsltproc" CONFIGURE_ARGS+=--with-xsl-stylesheetsdir=${LOCALBASE}/share/xsl/docbook .else CONFIGURE_ENV+= XSLTPROC="${FALSE}" CONFIGURE_ARGS+=--without-xsl-stylesheetsdir .endif post-patch: .for f in ${PAM_PKCS11_EXAMPLEDOCS} @${REINPLACE_CMD} -e 's|/etc/${PORTNAME}|${ETCDIR}|g' \ -e 's|file:///etc/${PORTNAME}/|file://${ETCDIR}/|g' \ -e 's|/usr/lib|${PREFIX}/lib|g' \ -e 's|/usr/share|${PREFIX}/share|g' \ ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/doc/pam_pkcs11.8.in pre-configure: @(cd ${WRKSRC} && ./bootstrap) .include diff --git a/security/pam_pwdfile/Makefile b/security/pam_pwdfile/Makefile index 6633139a20fb..31a7c96508c5 100644 --- a/security/pam_pwdfile/Makefile +++ b/security/pam_pwdfile/Makefile @@ -1,34 +1,32 @@ -# Created by: Michael Schout - PORTNAME= pam_pwdfile PORTVERSION= 1.0 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= lev@FreeBSD.org COMMENT= Pam module for authenticating with flat passwd files USES= uidfix USE_GITHUB= yes GH_ACCOUNT= tiwe-de GH_PROJECT= libpam-pwdfile MAKEFILE= ${FILESDIR}/Makefile.bsd PLIST_FILES= lib/pam_pwdfile.so PORTDOCS= README INSTALL CFLAGS+= -I${WRKSRC} OPTIONS_DEFINE= DOCS post-patch: # ${REINPLACE_CMD} -e 's|#include ||g' ${WRKSRC}/pam_pwdfile.c ${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/pam_require/Makefile b/security/pam_require/Makefile index 0bbeb504e850..fecfd1468746 100644 --- a/security/pam_require/Makefile +++ b/security/pam_require/Makefile @@ -1,18 +1,16 @@ -# Created by: Chris Cowart - PORTNAME= pam_require PORTVERSION= 0.7 CATEGORIES= security MASTER_SITES= http://www.splitbrain.org/_media/projects/pamrequire/ MAINTAINER= ccowart@rescomp.berkeley.edu COMMENT= PAM module for restricting access based on unix group or username USES= gmake tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} WRKSRC= ${WRKDIR}/${PORTNAME:S/_/-/}-${PORTVERSION} PLIST_FILES= lib/pam_require.so lib/pam_require.so.1 .include diff --git a/security/pam_search_list/Makefile b/security/pam_search_list/Makefile index f1f6cc5e3abb..c8d76baafcd1 100644 --- a/security/pam_search_list/Makefile +++ b/security/pam_search_list/Makefile @@ -1,24 +1,22 @@ -# Created by: Victor Popov - PORTNAME= pam_search_list PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME:S/_/-/g} DISTNAME= ${PORTNAME:S/_/-/g}-${PORTVERSION} MAINTAINER= v.a.popov@gmail.com COMMENT= PAM module to search arbitrary file for user USES= tar:xz uidfix PLIST_FILES= lib/libpam_search_list.a \ lib/pam_search_list.so \ lib/pam_search_list.so.0 \ man/man8/pam_search_list.8.gz .if !defined(NO_PROFILE) PLIST_FILES+= lib/libpam_search_list_p.a .endif .include diff --git a/security/pam_ssh_agent_auth/Makefile b/security/pam_ssh_agent_auth/Makefile index 5de60f666c38..4805c2eeef9c 100644 --- a/security/pam_ssh_agent_auth/Makefile +++ b/security/pam_ssh_agent_auth/Makefile @@ -1,34 +1,32 @@ -# Created by: Martin Wilke - PORTNAME= pam_ssh_agent_auth PORTVERSION= 0.10.4 PORTREVISION= 1 CATEGORIES= security MAINTAINER= matthew@FreeBSD.org COMMENT= PAM module which permits authentication via ssh-agent USE_GITHUB= yes GH_ACCOUNT= jbeverly GH_TAGNAME= 7ff7858 GH_TUPLE= floodyberry:ed25519-donna:8757bd4:floodyberry_ed25519_donna/ed25519-donna BROKEN_mips64= fails to compile: ed25519-donna-portable.h:85:4: Need a uint128_t implementation! BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined USES= perl5 ssl tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_strnvis=no PERL=/usr/bin/false CONFIGURE_ARGS= --libexecdir=${LOCALBASE}/lib \ --with-ssl-dir=${OPENSSLBASE} \ --without-openssl-header-check PLIST_FILES= lib/pam_ssh_agent_auth.so \ man/man8/pam_ssh_agent_auth.8.gz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_ssh_agent_auth.so .include diff --git a/security/pamtester/Makefile b/security/pamtester/Makefile index a6b344347239..9c9e8899c139 100644 --- a/security/pamtester/Makefile +++ b/security/pamtester/Makefile @@ -1,18 +1,16 @@ -# Created by: andy@fud.org.nz - PORTNAME= pamtester PORTVERSION= 0.1.2 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Command line pam authentication tester GNU_CONFIGURE= yes CPPFLAGS+= ${CFLAGS} USES= gmake PLIST_FILES= bin/pamtester \ man/man1/pamtester.1.gz .include diff --git a/security/paperkey/Makefile b/security/paperkey/Makefile index 01a55257778d..acf831c2e29b 100644 --- a/security/paperkey/Makefile +++ b/security/paperkey/Makefile @@ -1,30 +1,28 @@ -# Created by: Peter Pentchev - PORTNAME= paperkey PORTVERSION= 1.6 CATEGORIES= security MASTER_SITES= http://www.jabberwocky.com/software/paperkey/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Extract just the secret information out of OpenPGP secret keys LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes PLIST_FILES= bin/paperkey man/man1/paperkey.1.gz PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS # Setting ALL_TARGET to "all check" is racy and breaks parallel builds post-build: ${MAKE} -C ${BUILD_WRKSRC} check post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/passh/Makefile b/security/passh/Makefile index 985d89c3f13d..53a82e75c8a9 100644 --- a/security/passh/Makefile +++ b/security/passh/Makefile @@ -1,29 +1,27 @@ -# Created by: Mateusz Piotrowski <0mp@FreeBSD.org> - PORTNAME= passh DISTVERSIONPREFIX= v DISTVERSION= 1.0.1 CATEGORIES= security MAINTAINER= 0mp@FreeBSD.org COMMENT= Non-interactive password inputting CLI LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= clarkwang PLIST_FILES= bin/passh PORTDOCS= README.md sshpass-broken.md OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pbc/Makefile b/security/pbc/Makefile index 039e134d22f4..e49a3e48dbee 100644 --- a/security/pbc/Makefile +++ b/security/pbc/Makefile @@ -1,30 +1,28 @@ -# Created by: Wen Heping - PORTNAME= pbc PORTVERSION= 0.5.14 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://crypto.stanford.edu/pbc/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Library of pairing-based cryptosystems LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp USES= bison libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS=$$|| ; \ s|-O3||' ${WRKSRC}/configure .include diff --git a/security/pcsc-tools/Makefile b/security/pcsc-tools/Makefile index c054ac10e3aa..a513dd6d08a3 100644 --- a/security/pcsc-tools/Makefile +++ b/security/pcsc-tools/Makefile @@ -1,21 +1,19 @@ -# Created by: arved - PORTNAME= pcsc-tools PORTVERSION= 1.6.0 CATEGORIES= security MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ MAINTAINER= ports@FreeBSD.org COMMENT= Tools to test a PCSC driver, card, or reader LICENSE= GPLv2 LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite RUN_DEPENDS= p5-PCSC-Card>=0:devel/p5-PCSC-Card \ p5-Gtk3>=0:x11-toolkits/p5-Gtk3 USES= gmake pkgconfig tar:bzip2 GNU_CONFIGURE= yes .include diff --git a/security/pdfcrack/Makefile b/security/pdfcrack/Makefile index cda0343d6e01..d9ab74ecaf68 100644 --- a/security/pdfcrack/Makefile +++ b/security/pdfcrack/Makefile @@ -1,29 +1,27 @@ -# Created by: Philippe Audeoud - PORTNAME= pdfcrack PORTVERSION= 0.16 CATEGORIES= security print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= mi@aldan.algebra.com COMMENT= Cracking tool for password-protected PDF-files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PLIST_FILES= bin/pdfcrack bin/pdfreader man/man1/pdfcrack.1.gz ALL_TARGET= pdfcrack pdfreader post-patch: ${REINPLACE_CMD} 's,-O.* -g,,' ${WRKSRC}/Makefile post-build: ${COMPRESS_CMD} < ${WRKSRC}/pdfcrack.1 > ${WRKSRC}/pdfcrack.1.gz do-install: ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,bin/,${WRKSRC}/,g} \ ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${PLIST_FILES:Mman/*:S,man/man1/,${WRKSRC}/,g} \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .include diff --git a/security/pear-Auth/Makefile b/security/pear-Auth/Makefile index 354baf9c8d30..4150035fb14b 100644 --- a/security/pear-Auth/Makefile +++ b/security/pear-Auth/Makefile @@ -1,42 +1,40 @@ -# Created by: Thierry Thomas () - PORTNAME= Auth PORTVERSION= 1.6.4 CATEGORIES= security pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for creating an authentication system USES= pear OPTIONS_DEFINE= PEAR_LOG PEAR_FILE_PASSWD PEAR_NET_POP3 PEAR_DB PEAR_MDB \ PEAR_MDB2 PEAR_AUTH_RADIUS PEAR_CRYPT_CHAP PEAR_FILE_SMBPASSWD \ PEAR_SOAP PEAR_NET_VPOPMAILD PEAR_LOG_DESC= PEAR::Log support PEAR_FILE_PASSWD_DESC= PEAR::File_Passwd support PEAR_NET_POP3_DESC= PEAR::Net_POP3 support PEAR_DB_DESC= PEAR::DB support PEAR_MDB_DESC= PEAR::MDB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_AUTH_RADIUS_DESC= PEAR::AUTH_RADIUS support PEAR_CRYPT_CHAP_DESC= PEAR::CRYPT_CHAP support PEAR_FILE_SMBPASSWD_DESC= PEAR::File_SMBPasswd support PEAR_SOAP_DESC= PEAR::SOAP support PEAR_NET_VPOPMAILD_DESC= PEAR::Net_Vpopmaild support PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log/syslog.php:sysutils/pear-Log@${PHP_FLAVOR} PEAR_FILE_PASSWD_RUN_DEPENDS= ${PEARDIR}/File/Passwd.php:security/pear-File_Passwd@${PHP_FLAVOR} PEAR_CRYPT_CHAP_RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} PEAR_NET_POP3_RUN_DEPENDS= ${PEARDIR}/Net/POP3.php:net/pear-Net_POP3@${PHP_FLAVOR} PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:databases/pear-MDB@${PHP_FLAVOR} PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} PEAR_AUTH_RADIUS_RUN_DEPENDS= ${PEARDIR}/Auth/RADIUS.php:net/pear-Auth_RADIUS@${PHP_FLAVOR} PEAR_FILE_SMBPASSWD_RUN_DEPENDS= ${PEARDIR}/File/SMBPasswd.php:security/pear-File_SMBPasswd@${PHP_FLAVOR} PEAR_SOAP_RUN_DEPENDS= ${PEARDIR}/SOAP/Base.php:net/pear-SOAP@${PHP_FLAVOR} PEAR_NET_VPOPMAILD_RUN_DEPENDS= ${PEARDIR}/Net/Vpopmaild.php:net/pear-Net_Vpopmaild@${PHP_FLAVOR} post-extract: @${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/Auth.php .include diff --git a/security/pear-Auth_PrefManager/Makefile b/security/pear-Auth_PrefManager/Makefile index 9779e00accbe..60de0c7156f0 100644 --- a/security/pear-Auth_PrefManager/Makefile +++ b/security/pear-Auth_PrefManager/Makefile @@ -1,12 +1,10 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= Auth_PrefManager PORTVERSION= 1.2.2 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR preferences management class USES= pear .include diff --git a/security/pear-Auth_SASL/Makefile b/security/pear-Auth_SASL/Makefile index 761e4bc3bb2c..2f6a97e2e9f6 100644 --- a/security/pear-Auth_SASL/Makefile +++ b/security/pear-Auth_SASL/Makefile @@ -1,17 +1,15 @@ -# Created by: Thierry Thomas - PORTNAME= Auth_SASL PORTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR abstraction of various SASL mechanism responses LICENSE= BSD3CLAUSE USES= pear NO_ARCH= yes .include diff --git a/security/pear-Auth_SASL2/Makefile b/security/pear-Auth_SASL2/Makefile index ff1c8434e15a..140d80e035bc 100644 --- a/security/pear-Auth_SASL2/Makefile +++ b/security/pear-Auth_SASL2/Makefile @@ -1,17 +1,15 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= Auth_SASL2 PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= security pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Abstraction of various SASL mechanism responses LICENSE= BSD3CLAUSE USES= pear NO_ARCH= yes .include diff --git a/security/pear-Crypt_Blowfish/Makefile b/security/pear-Crypt_Blowfish/Makefile index b2fe6d848000..0e3bf7592b79 100644 --- a/security/pear-Crypt_Blowfish/Makefile +++ b/security/pear-Crypt_Blowfish/Makefile @@ -1,29 +1,27 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= Crypt_Blowfish DISTVERSION= 1.1.0RC2 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for blowfish encryption USES= pear OPTIONS_DEFINE= MCRYPT MCRYPT_DESC= Additional MCrypt PHP support MCRYPT_USES= php MCRYPT_USE= PHP=mcrypt pre-fetch: @${ECHO_CMD} "" @${ECHO_CMD} "You may set envirtonment variable WITH_PHP_MCRYPT to include" @${ECHO_CMD} "additional MCrypt PHP support" @${ECHO_CMD} "" post-patch: .for file in ${FILES} @${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file} .endfor .include diff --git a/security/pear-Crypt_CBC/Makefile b/security/pear-Crypt_CBC/Makefile index 267a38a6db4a..7fc2e6e4b9e3 100644 --- a/security/pear-Crypt_CBC/Makefile +++ b/security/pear-Crypt_CBC/Makefile @@ -1,17 +1,15 @@ -# Created by: Thierry Thomas () - PORTNAME= Crypt_CBC PORTVERSION= 1.0.1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Class to emulate Perl's Crypt::CBC module LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= pear NO_ARCH= yes .include diff --git a/security/pear-Crypt_CHAP/Makefile b/security/pear-Crypt_CHAP/Makefile index c0d08df5894b..252b337ddef9 100644 --- a/security/pear-Crypt_CHAP/Makefile +++ b/security/pear-Crypt_CHAP/Makefile @@ -1,13 +1,11 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= Crypt_CHAP PORTVERSION= 1.5.0 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for generating CHAP packets USES= pear php USE_PHP= mcrypt hash .include diff --git a/security/pear-Crypt_DiffieHellman/Makefile b/security/pear-Crypt_DiffieHellman/Makefile index be08db0f944f..4df12e6b7db1 100644 --- a/security/pear-Crypt_DiffieHellman/Makefile +++ b/security/pear-Crypt_DiffieHellman/Makefile @@ -1,13 +1,11 @@ -# Created by: Ditesh Shashikant Gathani - PORTNAME= Crypt_DiffieHellman PORTVERSION= 0.2.6 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class implementing Diffie-Hellman Key Exchange protocol for PHP5 USES= pear php USE_PHP= bcmath mbstring gmp .include diff --git a/security/pear-Crypt_GPG/Makefile b/security/pear-Crypt_GPG/Makefile index 2574d048eb37..b0cfd82ed2f0 100644 --- a/security/pear-Crypt_GPG/Makefile +++ b/security/pear-Crypt_GPG/Makefile @@ -1,22 +1,20 @@ -# Created by: Martin Wilke - PORTNAME= Crypt_GPG PORTVERSION= 1.6.7 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= GNU Privacy Guard (GPG) LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_CommandLine>=1.1.10:devel/pear-Console_CommandLine@${PHP_FLAVOR} USES= pear USE_PHP= mbstring posix NO_ARCH= yes CONFLICTS_INSTALL= php*-pear-Crypt_GPG # bin/crypt-gpg-pinentry .include diff --git a/security/pear-Crypt_HMAC2/Makefile b/security/pear-Crypt_HMAC2/Makefile index fcf886707541..2c803aab18df 100644 --- a/security/pear-Crypt_HMAC2/Makefile +++ b/security/pear-Crypt_HMAC2/Makefile @@ -1,12 +1,10 @@ -# Created by: Wen Heping - PORTNAME= Crypt_HMAC2 PORTVERSION= 1.0.0 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of Hashed Message Authentication Code for PHP5 USES= pear .include diff --git a/security/pear-Crypt_MicroID/Makefile b/security/pear-Crypt_MicroID/Makefile index c15808d02ecd..1fb9ca69aa5c 100644 --- a/security/pear-Crypt_MicroID/Makefile +++ b/security/pear-Crypt_MicroID/Makefile @@ -1,12 +1,10 @@ -# Created by: Martin Wilke - PORTNAME= Crypt_MicroID PORTVERSION= 0.1.0 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP MicroID library USES= pear .include diff --git a/security/pear-Crypt_RC4/Makefile b/security/pear-Crypt_RC4/Makefile index 9fc75a4e81f9..b117c08ebe86 100644 --- a/security/pear-Crypt_RC4/Makefile +++ b/security/pear-Crypt_RC4/Makefile @@ -1,12 +1,10 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= Crypt_RC4 PORTVERSION= 1.0.3 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR encryption class for RC4 encryption USES= pear .include diff --git a/security/pear-Crypt_RSA/Makefile b/security/pear-Crypt_RSA/Makefile index 1c4e6f7c1827..b3baaba42a97 100644 --- a/security/pear-Crypt_RSA/Makefile +++ b/security/pear-Crypt_RSA/Makefile @@ -1,22 +1,20 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= Crypt_RSA PORTVERSION= 1.2.1 PORTREVISION= 1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class allows you to use two-key strong cryptography USES= pear OPTIONS_DEFINE= BCMATH GMP BCMATH_DESC= PHP BCMath extension support GMP_DESC= PHP GMP extension support BCMATH_USES= php BCMATH_USE= PHP=bcmath GMP_USES= php GMP_USE= PHP=gmp .include diff --git a/security/pear-Crypt_XXTEA/Makefile b/security/pear-Crypt_XXTEA/Makefile index 031fe541b7e0..ac2e90e0caf5 100644 --- a/security/pear-Crypt_XXTEA/Makefile +++ b/security/pear-Crypt_XXTEA/Makefile @@ -1,12 +1,10 @@ -# Created by: Martin Wilke - PORTNAME= Crypt_XXTEA PORTVERSION= 0.9.0 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR XXTEA encryption algorithm USES= pear .include diff --git a/security/pear-File_HtAccess/Makefile b/security/pear-File_HtAccess/Makefile index b5e03f7f1e0d..35215d91c658 100644 --- a/security/pear-File_HtAccess/Makefile +++ b/security/pear-File_HtAccess/Makefile @@ -1,12 +1,10 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= File_HtAccess PORTVERSION= 1.2.1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class to manipulate .htaccess files USES= pear .include diff --git a/security/pear-File_Passwd/Makefile b/security/pear-File_Passwd/Makefile index 1bf885106869..fcf958e9d01b 100644 --- a/security/pear-File_Passwd/Makefile +++ b/security/pear-File_Passwd/Makefile @@ -1,17 +1,15 @@ -# Created by: Antonio Carlos Venancio Junior - PORTNAME= File_Passwd PORTVERSION= 1.1.7 CATEGORIES= security pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class to manipulate many kinds of password files USES= pear OPTIONS_DEFINE= PEAR_CRYPT_CHAP PEAR_CRYPT_CHAP_DESC= PEAR::Crypt_CHAP support PEAR_CRYPT_CHAP_RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} .include diff --git a/security/pear-File_SMBPasswd/Makefile b/security/pear-File_SMBPasswd/Makefile index 64443bd52eb4..bf236a2c8423 100644 --- a/security/pear-File_SMBPasswd/Makefile +++ b/security/pear-File_SMBPasswd/Makefile @@ -1,16 +1,14 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= File_SMBPasswd PORTVERSION= 1.0.3 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for managing SAMBA style password files BUILD_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} USES= pear php USE_PHP= hash .include diff --git a/security/pear-HTML_Crypt/Makefile b/security/pear-HTML_Crypt/Makefile index dfc3dc2022b1..6ace84272bc8 100644 --- a/security/pear-HTML_Crypt/Makefile +++ b/security/pear-HTML_Crypt/Makefile @@ -1,12 +1,10 @@ -# Created by: Martin Wilke - PORTNAME= HTML_Crypt PORTVERSION= 1.3.4 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Encrypts text which is later decoded using JavaScript on the client side USES= pear .include diff --git a/security/pear-Horde_Crypt/Makefile b/security/pear-Horde_Crypt/Makefile index 108c21444b13..e57ae065bd85 100644 --- a/security/pear-Horde_Crypt/Makefile +++ b/security/pear-Horde_Crypt/Makefile @@ -1,24 +1,22 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Crypt DISTVERSION= 2.7.12 CATEGORIES= security www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde Cryptography API OPTIONS_DEFINE= BCMATH BCMATH_DESC= Depend on bcmath PHP extension USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Mime \ Horde_Stream_Filter \ Horde_Translation \ Horde_Util USE_PHP= hash openssl BCMATH_USE= PHP=bcmath .include diff --git a/security/pear-Horde_Crypt_Blowfish/Makefile b/security/pear-Horde_Crypt_Blowfish/Makefile index 417de32559d3..0b424a15ac1a 100644 --- a/security/pear-Horde_Crypt_Blowfish/Makefile +++ b/security/pear-Horde_Crypt_Blowfish/Makefile @@ -1,24 +1,22 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Crypt_Blowfish PORTVERSION= 1.1.3 CATEGORIES= security www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde blowfish encryption for PHP string data USE_HORDE_RUN= Horde_Exception \ Horde_Support OPTIONS_DEFINE= MHASH OPENSSL MHASH_DESC= Depend on mhash PHP extension OPENSSL_DESC= Depend on OpenSSL PHP extension USES= horde cpe MHASH_USES= php MHASH_USE= PHP=hash OPENSSL_USES= php OPENSSL_USE= PHP=openssl .include diff --git a/security/pear-Horde_Group/Makefile b/security/pear-Horde_Group/Makefile index ae21c5eb079a..bd82b7b7e33f 100644 --- a/security/pear-Horde_Group/Makefile +++ b/security/pear-Horde_Group/Makefile @@ -1,14 +1,12 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Group PORTVERSION= 2.1.1 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde User Groups System USES= horde cpe USE_HORDE_RUN= Horde_Exception \ Horde_Util .include diff --git a/security/pear-Horde_Oauth/Makefile b/security/pear-Horde_Oauth/Makefile index d7cac880d279..8b67ba591511 100644 --- a/security/pear-Horde_Oauth/Makefile +++ b/security/pear-Horde_Oauth/Makefile @@ -1,16 +1,14 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Oauth DISTVERSION= 2.0.4 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde OAuth client/server USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Http \ Horde_Util USE_PHP= hash openssl .include diff --git a/security/pear-Horde_Perms/Makefile b/security/pear-Horde_Perms/Makefile index 91e6890e19be..67106a8b8dfc 100644 --- a/security/pear-Horde_Perms/Makefile +++ b/security/pear-Horde_Perms/Makefile @@ -1,17 +1,15 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Perms PORTVERSION= 2.1.8 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Permissions System USES= horde cpe USE_HORDE_RUN= Horde_Db \ Horde_Exception \ Horde_Group \ Horde_Util \ Horde_Translation .include diff --git a/security/pear-Horde_Secret/Makefile b/security/pear-Horde_Secret/Makefile index fae678486de2..7bb65fbdc02d 100644 --- a/security/pear-Horde_Secret/Makefile +++ b/security/pear-Horde_Secret/Makefile @@ -1,17 +1,15 @@ -# Created by: Martin Matuska - PORTNAME= Horde_Secret PORTVERSION= 2.0.6 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Secret Encryption API USES= horde php cpe USE_HORDE_RUN= Horde_Crypt_Blowfish \ Horde_Exception \ Horde_Support USE_PHP= hash .include diff --git a/security/pear-LiveUser/Makefile b/security/pear-LiveUser/Makefile index a117ea141fa3..83bf1c92dbb3 100644 --- a/security/pear-LiveUser/Makefile +++ b/security/pear-LiveUser/Makefile @@ -1,33 +1,31 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= LiveUser PORTVERSION= 0.16.14 PORTREVISION= 1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR user authentication and permission management framework BUILD_DEPENDS= ${PEARDIR}/Event/Dispatcher.php:devel/pear-Event_Dispatcher@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/Event/Dispatcher.php:devel/pear-Event_Dispatcher@${PHP_FLAVOR} PORTSCOUT= skipv:0.61 USES= pear OPTIONS_DEFINE= PEAR_DB PEAR_MDB PEAR_MDB2 PEAR_LOG PEAR_XML_TREE PEAR_CRYPT_RC4 PEAR_DB_DESC= PEAR::DB support PEAR_MDB_DESC= PEAR::MDB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_LOG_DESC= PEAR::Log support PEAR_XML_TREE_DESC= PEAR::XML_Tree support PEAR_CRYPT_RC4_DESC= PEAR::Crypt_RC4 support PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:databases/pear-MDB@${PHP_FLAVOR} PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log/null.php:sysutils/pear-Log@${PHP_FLAVOR} PEAR_XML_TREE_RUN_DEPENDS= ${PEARDIR}/XML/Tree.php:devel/pear-XML_Tree@${PHP_FLAVOR} PEAR_CRYPT_RC4_RUN_DEPENDS= ${PEARDIR}/Crypt/Rc4.php:security/pear-Crypt_RC4@${PHP_FLAVOR} .include diff --git a/security/pear-LiveUser_Admin/Makefile b/security/pear-LiveUser_Admin/Makefile index 53248dc24b4a..47f7cc882ac7 100644 --- a/security/pear-LiveUser_Admin/Makefile +++ b/security/pear-LiveUser_Admin/Makefile @@ -1,32 +1,30 @@ -# Created by: Antonio Carlos Venancio Junior () - PORTNAME= LiveUser_Admin PORTVERSION= 0.4.0 PORTREVISION= 1 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR user authentication and permission management framework BUILD_DEPENDS= ${PEARDIR}/LiveUser.php:security/pear-LiveUser@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/LiveUser.php:security/pear-LiveUser@${PHP_FLAVOR} OPTIONS_DEFINE= PEAR_DB PEAR_MDB PEAR_MDB2 PEAR_LOG PEAR_XML_TREE PEAR_CRYPT_RC4 PEAR_DB_DESC= PEAR::DB support PEAR_MDB_DESC= PEAR::MDB support PEAR_MDB2_DESC= PEAR::MDB2 support PEAR_LOG_DESC= PEAR::Log support PEAR_XML_TREE_DESC= PEAR::XML_Tree support PEAR_CRYPT_RC4_DESC= PEAR::Crypt_RC4 support USES= pear PEAR_DB_RUN_DEPENDS= ${PEARDIR}/DB.php:databases/pear-DB@${PHP_FLAVOR} PEAR_MDB_RUN_DEPENDS= ${PEARDIR}/MDB.php:databases/pear-MDB@${PHP_FLAVOR} PEAR_MDB2_RUN_DEPENDS= ${PEARDIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} PEAR_LOG_RUN_DEPENDS= ${PEARDIR}/Log.php:sysutils/pear-Log@${PHP_FLAVOR} PEAR_XML_TREE_RUN_DEPENDS= ${PEARDIR}/XML/Tree.php:devel/pear-XML_Tree@${PHP_FLAVOR} PEAR_CRYPT_RC4_RUN_DEPENDS= ${PEARDIR}/Crypt/Rc4.php:security/pear-Crypt_RC4@${PHP_FLAVOR} .include diff --git a/security/pear-Net_Portscan/Makefile b/security/pear-Net_Portscan/Makefile index d1e224f44733..5c43ddd44636 100644 --- a/security/pear-Net_Portscan/Makefile +++ b/security/pear-Net_Portscan/Makefile @@ -1,13 +1,11 @@ -# Created by: Wen Heping - PORTNAME= Net_Portscan PORTVERSION= 1.0.3 CATEGORIES= security pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides an API for scanning ports NO_ARCH= yes USES= pear .include diff --git a/security/pear-Text_Password/Makefile b/security/pear-Text_Password/Makefile index d412e9fbbda2..ff8ab46f46b2 100644 --- a/security/pear-Text_Password/Makefile +++ b/security/pear-Text_Password/Makefile @@ -1,16 +1,14 @@ -# Created by: Attila Nagy - PORTNAME= Text_Password PORTVERSION= 1.2.1 CATEGORIES= security www pear DISTNAME= Text_password-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR random password creator USES= pear NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile index ba8093ef6ad3..4aed855e7f5e 100644 --- a/security/pecl-crypto/Makefile +++ b/security/pecl-crypto/Makefile @@ -1,17 +1,15 @@ -# Created by: Gasol Wu - PORTNAME= crypto PORTVERSION= 0.3.2 CATEGORIES= security MAINTAINER= gasol.wu@gmail.com COMMENT= Objective wrapper for OpenSSL Crypto Library LICENSE= PHP301 USES= compiler:c++11-lang php:pecl CONFIGURE_ARGS= --with-crypto CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .include diff --git a/security/pecl-gnupg/Makefile b/security/pecl-gnupg/Makefile index 9424f8b40a7c..f1d775f9cec8 100644 --- a/security/pecl-gnupg/Makefile +++ b/security/pecl-gnupg/Makefile @@ -1,22 +1,20 @@ -# Created by: mnag@FreeBSD.org - PORTNAME= gnupg PORTVERSION= 1.5.1 CATEGORIES= security MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL wrapper around the gpgme library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgpgme.so:security/gpgme USES= localbase php:pecl CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include post-patch: @${REINPLACE_CMD} -e '/GNUPG_DL/ s|-ldl||; s|$$GNUPG_DIR/lib|${LOCALBASE}/lib|' ${WRKSRC}/config.m4 .include diff --git a/security/pecl-krb5/Makefile b/security/pecl-krb5/Makefile index 968ce3cfc91f..a24b57cdbad6 100644 --- a/security/pecl-krb5/Makefile +++ b/security/pecl-krb5/Makefile @@ -1,18 +1,16 @@ -# Created by: girgen@FreeBSD.org - PORTNAME= krb5 PORTVERSION= 1.1.4 CATEGORIES= security pear MAINTAINER= girgen@FreeBSD.org COMMENT= PECL classes for PAM integration LICENSE= BSD3CLAUSE LIB_DEPENDS= libkrb5support.so:security/krb5 USES= php:pecl CONFIGURE_ARGS= --with-krb5config=${LOCALBASE}/bin/krb5-config .include diff --git a/security/pecl-libsodium/Makefile b/security/pecl-libsodium/Makefile index 2ab72f64ab22..37965b8c6725 100644 --- a/security/pecl-libsodium/Makefile +++ b/security/pecl-libsodium/Makefile @@ -1,18 +1,16 @@ -# Created by: Gasol Wu - PORTNAME= libsodium PORTVERSION= 2.0.23 CATEGORIES= security MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP wrapper for the Sodium cryptographic library LICENSE= BSD2CLAUSE LIB_DEPENDS= libsodium.so:security/libsodium USES= localbase php:pecl PHP_MODNAME= sodium .include diff --git a/security/pecl-pam/Makefile b/security/pecl-pam/Makefile index a690eb7996d8..f63f4431fe46 100644 --- a/security/pecl-pam/Makefile +++ b/security/pecl-pam/Makefile @@ -1,18 +1,16 @@ -# Created by: wen@FreeBSD.org - PORTNAME= pam PORTVERSION= 2.2.4 CATEGORIES= security pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PECL classes for PAM integration LICENSE= PHP202 USES= php:pecl post-patch: # https://github.com/linux-pam/linux-pam/blob/master/libpam/include/security/_pam_macros.h @${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC}/_pam_macros.h .include diff --git a/security/pecl-pkcs11/Makefile b/security/pecl-pkcs11/Makefile index 3915264108e6..ef830cf4dc1a 100644 --- a/security/pecl-pkcs11/Makefile +++ b/security/pecl-pkcs11/Makefile @@ -1,15 +1,13 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pkcs11 PORTVERSION= 1.1 CATEGORIES= security MAINTAINER= sunpoet@FreeBSD.org COMMENT= PKCS11 bindings for PHP LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase php:pecl .include diff --git a/security/pecl-scrypt/Makefile b/security/pecl-scrypt/Makefile index 7d6620345fe9..699ef12c70c7 100644 --- a/security/pecl-scrypt/Makefile +++ b/security/pecl-scrypt/Makefile @@ -1,33 +1,31 @@ -# Created by: Horia Racoviceanu - PORTNAME= scrypt PORTVERSION= 1.4.2 CATEGORIES= security pear # https://github.com/DomBlack/php-scrypt/pull/56/ PATCH_SITES= https://github.com/DomBlack/php-scrypt/commit/ PATCHFILES= 5010f9fa0743518d149d994728ca930503adde1e.patch:-p1 MAINTAINER= dbaio@FreeBSD.org COMMENT= PHP wrapper to Colin Percival's scrypt implementation LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl USE_PHP= hash:build OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= README.md PORTEXAMPLES= scrypt.php post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/pecl-ssh2/Makefile b/security/pecl-ssh2/Makefile index f19c33b183b9..b9953e649d26 100644 --- a/security/pecl-ssh2/Makefile +++ b/security/pecl-ssh2/Makefile @@ -1,25 +1,23 @@ -# Created by: Alexander Leidinger - PORTNAME= ssh2 PORTVERSION= 1.3.1 CATEGORIES= security pear MAINTAINER= dbaio@FreeBSD.org COMMENT= PECL extension to the libssh2 library LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libssh2.so:security/libssh2 USES= php:pecl CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CONFIGURE_ARGS= --with-ssh2 post-patch: @${REINPLACE_CMD} -e 's|\$$SSH2_DIR/lib|\$$SSH2_DIR/\$$PHP_LIBDIR|g' ${WRKSRC}/config.m4 .include diff --git a/security/pev/Makefile b/security/pev/Makefile index cbc61462fe23..ef0ed6472c69 100644 --- a/security/pev/Makefile +++ b/security/pev/Makefile @@ -1,27 +1,25 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= pev PORTVERSION= 0.80 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ MAINTAINER= danilo@FreeBSD.org COMMENT= PE analysis toolkit LICENSE= GPLv3 LIB_DEPENDS= libpcre.so:devel/pcre WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake ssl USE_LDCONFIG= yes INSTALL_TARGET= install-strip MAKE_ARGS= MAKE=${MAKE_CMD} CFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include LDFLAGS+= -L${OPENSSLLIB} .include diff --git a/security/pgpdump/Makefile b/security/pgpdump/Makefile index 99fa1cc4af50..c4971bd4a3c7 100644 --- a/security/pgpdump/Makefile +++ b/security/pgpdump/Makefile @@ -1,27 +1,25 @@ -# Created by: TAKAHASHI Kaoru - PORTNAME= pgpdump PORTVERSION= 0.35 CATEGORIES= security MASTER_SITES= https://www.mew.org/~kazu/proj/pgpdump/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= PGP packet visualizer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= cpe GNU_CONFIGURE= yes PLIST_FILES= bin/pgpdump \ share/man/man1/pgpdump.1.gz CPE_VENDOR= pgpdump_project do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pgpdump ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pgpdump.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/security/pgpgpg/Makefile b/security/pgpgpg/Makefile index 6927c13a088f..9c85e6f78279 100644 --- a/security/pgpgpg/Makefile +++ b/security/pgpgpg/Makefile @@ -1,22 +1,20 @@ -# Created by: Matt Behrens - PORTNAME= pgpgpg PORTVERSION= 0.13 PORTREVISION= 5 CATEGORIES= security MASTER_SITES= https://mroth.net/pgpgpg/ \ https://BSDforge.com/projects/source/security/pgpgpg/ MAINTAINER= portmaster@BSDforge.com COMMENT= Wrapper for GnuPG to simulate PGP 2.6.x LICENSE= GPLv2 BUILD_DEPENDS= gnupg1>=0:security/gnupg1 RUN_DEPENDS= gnupg1>=0:security/gnupg1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gpg-path=${LOCALBASE}/bin/gpg PLIST_FILES= bin/pgpgpg .include diff --git a/security/picocrypt/Makefile b/security/picocrypt/Makefile index d6c949316104..f334991ba9a9 100644 --- a/security/picocrypt/Makefile +++ b/security/picocrypt/Makefile @@ -1,43 +1,41 @@ -# Created by: Alexey Dokuchaev - PORTNAME= picocrypt PORTVERSION= 1.25 PORTREVISION= 2 CATEGORIES= security MAINTAINER= danfe@FreeBSD.org COMMENT= Small, simple, yet very secure encryption tool LICENSE= GPLv3 USES= gl gnome go:modules pkgconfig xorg USE_GL= gl USE_GNOME= gtk30 USE_XORG= x11 xau xcb xdmcp USE_GITHUB= yes GH_ACCOUNT= HACKERALERT GH_PROJECT= Picocrypt GH_TUPLE= \ HACKERALERT:clipboard:7345ba96aeca:hackeralert_clipboard/vendor/github.com/HACKERALERT/clipboard \ HACKERALERT:crypto:ba8732acd7e7:hackeralert_crypto/vendor/github.com/HACKERALERT/crypto \ HACKERALERT:dialog:a9e6303eda42:hackeralert_dialog/vendor/github.com/HACKERALERT/dialog \ HACKERALERT:giu:a37934efe9a9:hackeralert_giu/vendor/github.com/HACKERALERT/giu \ HACKERALERT:gl:402fdd216609:hackeralert_gl/vendor/github.com/HACKERALERT/gl \ HACKERALERT:glfw:d0da149b3bef:hackeralert_glfw_glfw/vendor/github.com/HACKERALERT/glfw \ HACKERALERT:imgui-go:da7cd33ca753:hackeralert_imgui_go/vendor/github.com/HACKERALERT/imgui-go \ HACKERALERT:infectious:bb1303403749:hackeralert_infectious/vendor/github.com/HACKERALERT/infectious \ HACKERALERT:mainthread:2ec9e701cc14:hackeralert_mainthread/vendor/github.com/HACKERALERT/mainthread \ HACKERALERT:serpent:293b29869c66:hackeralert_serpent/vendor/github.com/HACKERALERT/serpent \ HACKERALERT:sys:2e09c491f471:hackeralert_sys/vendor/github.com/HACKERALERT/sys \ HACKERALERT:w32:4b84c2675d8d:hackeralert_w32/vendor/github.com/HACKERALERT/w32 \ HACKERALERT:zxcvbn-go:f131a4666ad5:hackeralert_zxcvbn_go/vendor/github.com/HACKERALERT/zxcvbn-go WRKSRC_SUBDIR= src PLIST_FILES= bin/${PORTNAME} post-patch: @${LN} -sf dlgs_linux.go \ ${WRKSRC}/vendor/github.com/HACKERALERT/dialog/dlgs_${OPSYS:tl}.go .include diff --git a/security/pidgin-encryption/Makefile b/security/pidgin-encryption/Makefile index 58c2cbd45bb3..c1e198effbed 100644 --- a/security/pidgin-encryption/Makefile +++ b/security/pidgin-encryption/Makefile @@ -1,39 +1,37 @@ -# Created by: ports@c0decafe.net - PORTNAME= pidgin PORTVERSION= 3.1 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}-encrypt/Releases/${PORTVERSION} PKGNAMESUFFIX= -encryption DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= perlfu@gmail.com COMMENT= Encryption Plugin for the Pidgin instant messenger client BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin RUN_DEPENDS= ${LOCALBASE}/bin/pidgin:net-im/pidgin LIB_DEPENDS= libpurple.so:net-im/libpurple \ libnss3.so:security/nss GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --with-nspr-includes=${LOCALBASE}/include/nspr \ --with-nspr-libs=${LOCALBASE}/lib \ --with-nss-includes=${LOCALBASE}/include/nss \ --with-nss-libs=${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= gettext gmake gnome libtool pkgconfig USE_GNOME= gtk20 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-extract: @${REINPLACE_CMD} -e 's|glib/.*\.h"|glib.h"|g' ${WRKSRC}/rsa_nss.c .include diff --git a/security/pinentry-curses/Makefile b/security/pinentry-curses/Makefile index 4fcea54dc164..a042d94094f6 100644 --- a/security/pinentry-curses/Makefile +++ b/security/pinentry-curses/Makefile @@ -1,12 +1,10 @@ -# Created by: Michael Nottebrock - PORTNAME= pinentry PORTREVISION= 0 COMMENT= Curses version of the GnuPG password dialog PINENTRY_GUI= curses MASTERDIR= ${.CURDIR}/../pinentry .include "${MASTERDIR}/Makefile" diff --git a/security/pinentry-gtk2/Makefile b/security/pinentry-gtk2/Makefile index f87f57617082..bce28ceeac00 100644 --- a/security/pinentry-gtk2/Makefile +++ b/security/pinentry-gtk2/Makefile @@ -1,12 +1,10 @@ -# Created by: Jean-Yves Lefort - PORTNAME= pinentry PORTREVISION= 0 COMMENT= GTK+ 2.0 version of the GnuPG password dialog PINENTRY_GUI= gtk2 MASTERDIR= ${.CURDIR}/../pinentry .include "${MASTERDIR}/Makefile" diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile index d6c09217f9f5..48a77258e72d 100644 --- a/security/pinentry/Makefile +++ b/security/pinentry/Makefile @@ -1,151 +1,149 @@ -# Created by: Michael Nottebrock - PORTNAME= pinentry PORTVERSION= 1.2.0 PORTREVISION?= 1 CATEGORIES= security MASTER_SITES= GNUPG/pinentry MAINTAINER= jhale@FreeBSD.org COMMENT?= Collection of simple PIN or passphrase entry dialogs LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 .if !defined(PINENTRY_GUI) INFO= pinentry NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/pinentry OPTIONS_SINGLE= FRONTEND OPTIONS_SINGLE_FRONTEND= EFL FLTK GNOME GTK2 NCURSES QT5 TTY OPTIONS_DEFAULT= NCURSES FRONTEND_DESC= Default frontend TTY_DESC= Console version PINENTRY_TTY= pinentry-tty TTY_RUN_DEPENDS= ${PINENTRY_TTY}:security/pinentry-tty NCURSES_DESC= Curses frontend PINENTRY_NCURSES= pinentry-curses NCURSES_RUN_DEPENDS= ${PINENTRY_NCURSES}:security/pinentry-curses EFL_DESC= EFL frontend PINENTRY_EFL= pinentry-efl EFL_RUN_DEPENDS= ${PINENTRY_EFL}:security/pinentry-efl FLTK_DESC= FLTK frontend PINENTRY_FLTK= pinentry-fltk FLTK_RUN_DEPENDS= ${PINENTRY_FLTK}:security/pinentry-fltk GTK2_DESC= Gtk+ 2 frontend PINENTRY_GTK2= pinentry-gtk-2 GTK2_RUN_DEPENDS= ${PINENTRY_GTK2}:security/pinentry-gtk2 QT5_DESC= Qt 5 frontend PINENTRY_QT5= pinentry-qt5 QT5_RUN_DEPENDS= ${PINENTRY_QT5}:security/pinentry-qt5 GNOME_DESC= GNOME frontend PINENTRY_GNOME= pinentry-gnome3 # Due to a dependency loop that exists between security/pinentry-gnome, # security/gcr, security/gnupg and security/pinentry, the user must install # pinentry-gnome manually. See pkg-message.gnome for more details. #GNOME_RUN_DEPENDS= ${PINENTRY_GNOME}:security/pinentry-gnome GNOME_VARS= PKGMESSAGE+=${.CURDIR}/pkg-message.gnome .include .for gui in ${OPTIONS_SINGLE_FRONTEND} . if ${PORT_OPTIONS:M${gui}} PINENTRY_BIN= ${PINENTRY_${gui}} . endif .endfor do-install: ${LN} -sf ${PINENTRY_BIN} ${STAGEDIR}${PREFIX}/bin/pinentry ${INSTALL_DATA} ${WRKSRC}/doc/pinentry.info ${STAGEDIR}${PREFIX}/${INFO_PATH} .else # !defined(PINENTRY_GUI) PKGNAMESUFFIX= -${PINENTRY_GUI} LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error USES+= gmake iconv localbase ncurses pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-pinentry-emacs LDFLAGS+= -Wl,--as-needed OPTIONS_DEFINE= LIBSECRET LIBSECRET_DESC= Saving the passphrase with libsecret LIBSECRET_CONFIGURE_ENABLE= libsecret LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_USES= gnome LIBSECRET_USE= GNOME=glib20 .if ${PINENTRY_GUI} == "gnome" OPTIONS_SLAVE= LIBSECRET LIB_DEPENDS+= libgcr-base-3.so:security/gcr PLIST_FILES= bin/pinentry-gnome3 .else CONFIGURE_ARGS+=--disable-pinentry-gnome3 .endif .if ${PINENTRY_GUI} == "qt5" USES+= compiler:c++11-lib qt:5 USE_QT= core gui widgets buildtools_build PLIST_FILES= bin/pinentry-qt5 CONFIGURE_ARGS+=--enable-pinentry-qt5 \ --program-suffix=5 .else CONFIGURE_ARGS+=--disable-pinentry-qt --disable-pinentry-qt5 .endif .if ${PINENTRY_GUI} == "gtk2" USES+= gnome USE_GNOME+= gtk20 PLIST_FILES= bin/pinentry-gtk-2 .else CONFIGURE_ARGS+=--disable-pinentry-gtk2 .endif .if ${PINENTRY_GUI} == "efl" LIB_DEPENDS+= libefl.so:devel/efl PLIST_FILES= bin/pinentry-efl .else CONFIGURE_ARGS+=--disable-pinentry-efl .endif .if ${PINENTRY_GUI} == "fltk" USES+= compiler:c++11-lib LIB_DEPENDS+= libfltk.so:x11-toolkits/fltk PLIST_FILES= bin/pinentry-fltk .else CONFIGURE_ARGS+=--disable-pinentry-fltk .endif .if ${PINENTRY_GUI} == "curses" PLIST_FILES= bin/pinentry-curses .else CONFIGURE_ARGS+=--disable-pinentry-curses .endif .if ${PINENTRY_GUI} == "tty" PLIST_FILES= bin/pinentry-tty CONFIGURE_ARGS+=--enable-pinentry-tty .else CONFIGURE_ARGS+=--disable-pinentry-tty .endif post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/pinentry \ ${STAGEDIR}${PREFIX}/share/info/pinentry.info .endif # !defined(PINENTRY_GUI) .include diff --git a/security/pixiewps/Makefile b/security/pixiewps/Makefile index 90db9c0ac445..a7a43b5cea5e 100644 --- a/security/pixiewps/Makefile +++ b/security/pixiewps/Makefile @@ -1,24 +1,22 @@ -# Created by: Franz Bettag - PORTNAME= pixiewps DISTVERSIONPREFIX= v DISTVERSION= 1.4.1 CATEGORIES= security MAINTAINER= franz@bett.ag COMMENT= Offline WPS bruteforce utility LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.md USES= gmake WRKSRC_SUBDIR= src USE_GITHUB= yes GH_ACCOUNT= wiire PLIST_FILES= bin/pixiewps do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/pkcrack/Makefile b/security/pkcrack/Makefile index 32014deda150..d1b01bafef09 100644 --- a/security/pkcrack/Makefile +++ b/security/pkcrack/Makefile @@ -1,33 +1,31 @@ -# Created by: Emanuel Haupt - PORTNAME= pkcrack PORTVERSION= 1.2.2 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Utility for breaking pkzip encryption USES= gmake WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_FILES= bin/pkextract bin/pkfindkey bin/pkmakekey bin/pkcrack bin/zipdecrypt PORTDOCS= README pkzip.ps.gz OPTIONS_DEFINE= DOCS do-install: .for f in pkcrack zipdecrypt ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor # these file names are too generic .for f in extract findkey makekey ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/pk${f} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/pkcs11-dump/Makefile b/security/pkcs11-dump/Makefile index f43d76e5e7dc..52886c49a67e 100644 --- a/security/pkcs11-dump/Makefile +++ b/security/pkcs11-dump/Makefile @@ -1,26 +1,24 @@ -# Created by: Alex Dupre - PORTNAME= pkcs11-dump PORTVERSION= 0.3.4 CATEGORIES= security MASTER_SITES= https://github.com/alonbl/pkcs11-dump/releases/download/pkcs11-dump-${PORTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= Allow dumping PKCS\#11 token content LICENSE= GPLv2 USES= tar:bzip2 ssl dos2unix GNU_CONFIGURE= yes CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" PLIST_FILES= bin/pkcs11-dump \ man/man1/pkcs11-dump.1.gz post-patch: @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ ${WRKSRC}/Makefile.in .include diff --git a/security/pkcs11-gateway/Makefile b/security/pkcs11-gateway/Makefile index 6a82e6149b19..9d713d28f8c0 100644 --- a/security/pkcs11-gateway/Makefile +++ b/security/pkcs11-gateway/Makefile @@ -1,48 +1,46 @@ -# Created by: Alex Dupre - PORTNAME= pkcs11-gateway PORTVERSION= 1.4 CATEGORIES= security devel linux MASTER_SITES= LOCAL/ale MAINTAINER= ale@FreeBSD.org COMMENT= Wrapper Cryptoki library to use Linux PKCS\#11 modules LICENSE= LGPL20 ONLY_FOR_ARCHS= amd64 i386 USES= linux OPTIONS_DEFINE= DOCS USE_LDCONFIG= yes USE_LINUX= base:run devtools:build .include PKCS11_BINS= pkcs11-gateway32 .if ${ARCH} == "amd64" PKCS11_BINS+= pkcs11-gateway64 .endif PKCS11_LIB= libpkcs11-gateway.so PLIST_FILES= ${PKCS11_BINS:S,^,bin/,} \ ${PKCS11_LIB:S,^,lib/,} PORTDOCS= README do-build: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile.Linuxulator ${PKCS11_BINS}) @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile.FreeBSD ${PKCS11_LIB}) do-install: .for b in ${PKCS11_BINS} ${INSTALL_PROGRAM} ${WRKSRC}/${b} ${STAGEDIR}${PREFIX}/bin/ .endfor ${INSTALL_LIB} ${WRKSRC}/libpkcs11-gateway.so ${STAGEDIR}${PREFIX}/lib @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pkcs11-helper/Makefile b/security/pkcs11-helper/Makefile index e4a96b6c929c..88a0f0cf6c2d 100644 --- a/security/pkcs11-helper/Makefile +++ b/security/pkcs11-helper/Makefile @@ -1,42 +1,40 @@ -# Created by: Alex Dupre - PORTNAME= pkcs11-helper PORTVERSION= 1.29.0 CATEGORIES= security devel MASTER_SITES= https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${PORTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= Helper library for multiple PKCS\#11 providers LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.BSD LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL GNU_CONFIGURE= yes USES= libtool:keepla pathfix pkgconfig tar:bzip2 ssl USE_LDCONFIG= yes CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" CONFIGURE_ARGS= --disable-crypto-engine-gnutls \ --disable-crypto-engine-nss \ --disable-crypto-engine-polarssl \ --disable-crypto-engine-mbedtls \ --disable-crypto-engine-cryptoapi INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS PORTDOCS= * post-patch: @${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/configure @${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \ ${WRKSRC}/doc/api/Makefile.in .include diff --git a/security/pkesh/Makefile b/security/pkesh/Makefile index bdc338348a21..dd6d719966e3 100644 --- a/security/pkesh/Makefile +++ b/security/pkesh/Makefile @@ -1,25 +1,23 @@ -# Created by: Colin Percival - PORTNAME= pkesh PORTVERSION= 1.0 CATEGORIES= security MASTER_SITES= http://www.daemonology.net/pkesh/ MAINTAINER= cperciva@FreeBSD.org COMMENT= Public Key Encryption SHell script LICENSE= BSD2CLAUSE NO_BUILD= yes PLIST_FILES= bin/pkesh PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pkesh.sh ${STAGEDIR}${PREFIX}/bin/pkesh ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pks/Makefile b/security/pks/Makefile index 6849f109f799..37d5a568f46a 100644 --- a/security/pks/Makefile +++ b/security/pks/Makefile @@ -1,60 +1,58 @@ -# Created by: kris@FreeBSD.org - PORTNAME= pks PORTVERSION= 0.9.6.20040312 PORTREVISION= 9 CATEGORIES= security www MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree DISTFILES= pks-current.tgz MAINTAINER= tphilipp@potion-studios.com COMMENT= PGP Public Key Server LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= openssl BROKEN_SSL_REASON_openssl= member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st') USES= bdb ssl USE_GCC= yes USE_RC_SUBR= pksd WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR} \ --localstatedir=/var/pks \ --with-libwrap \ --with-openssl=${OPENSSLBASE} MAKE_ENV+= SUBDIRS= LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \ DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS PORTDOCS= pks_help.* README EMAIL post-extract: @${CP} -a ${FILESDIR}/EMAIL ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksdctl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksclient ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/pksd ${MV} ${STAGEDIR}${PREFIX}/etc/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include .if ${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base BROKEN= Does not build with OpenSSL 1.1 .endif .include diff --git a/security/please/Makefile b/security/please/Makefile index 6b84017c0da5..52a2122817e7 100644 --- a/security/please/Makefile +++ b/security/please/Makefile @@ -1,23 +1,21 @@ -# Created by: Grzegorz Blach - PORTNAME= please PORTVERSION= 2.8 CATEGORIES= security MAINTAINER= swills@FreeBSD.org COMMENT= Execute a command as root LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USE_GITHUB= yes GH_ACCOUNT= MagikBSD PLIST_FILES= "@(,,4555) bin/please" "@sample etc/pam.d/please.sample" \ man/man1/please.1.gz post-install: ${CP} ${WRKSRC}/pam.d/please.BSD \ ${STAGEDIR}${PREFIX}/etc/pam.d/please.sample .include diff --git a/security/poly1305aes/Makefile b/security/poly1305aes/Makefile index a08a60ebc0cc..ff16dbefdfee 100644 --- a/security/poly1305aes/Makefile +++ b/security/poly1305aes/Makefile @@ -1,49 +1,47 @@ -# Created by: roam@FreeBSD.org - PORTNAME= poly1305aes PORTVERSION= 20050218 CATEGORIES= security MASTER_SITES= http://cr.yp.to/mac/ MAINTAINER= ports@FreeBSD.org COMMENT= Poly1305 message authentication reference implementation using AES LICENSE= PD BROKEN_aarch64= fails to build: poly1305aes.impl.do: fatal: all tests failed BROKEN_armv6= fails to build: poly1305aes.impl.do: fatal: all tests failed BROKEN_armv7= fails to build: poly1305aes.impl.do: fatal: all tests failed BROKEN_riscv64= fails to build: poly1305aes.impl.do: fatal: all tests failed NOT_FOR_ARCHS= amd64 ALL_TARGET= default CC+= ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} .include .if ${ARCH:Mpowerpc*} USE_GCC= yes .elif ${ARCH} == "i386" pre-build: @${ECHO_CMD} "ppro" > ${WRKSRC}/poly1305aes.impl .endif post-build: .for i in aes.h cpucycles.h poly1305aes.h @${REINPLACE_CMD} -e \ 's|#include "|#include "poly1305/|' ${WRKSRC}/${i} .endfor do-install: .for i in poly1305aes-speed test-aes test-poly1305aes (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \ ${STAGEDIR}${PREFIX}/bin) .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/include/poly1305 (cd ${WRKSRC} && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/poly1305) (cd ${WRKSRC} && ${INSTALL_DATA} *.a \ ${STAGEDIR}${PREFIX}/lib) .include diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile index 9c798012c4cc..a6911e36c2ff 100644 --- a/security/portsentry/Makefile +++ b/security/portsentry/Makefile @@ -1,36 +1,34 @@ -# Created by: chris@still.whet.org - PORTNAME= portsentry PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/sentrytools/${PORTNAME}%201.x/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Port scan detection and active defense SUB_FILES= portsentry.sh ALL_TARGET= freebsd CFLAGS+= -DPREFIX=\"${PREFIX}\" MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" WRKSRC= ${WRKDIR}/portsentry_beta OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,/usr/local/psionic/portsentry,${PREFIX}/etc,g' \ ${WRKSRC}/portsentry.conf ${WRKSRC}/portsentry_config.h do-install: ${INSTALL_DATA} ${WRKSRC}/portsentry.conf \ ${STAGEDIR}${PREFIX}/etc/portsentry.conf.sample ${INSTALL_DATA} ${WRKSRC}/portsentry.ignore \ ${STAGEDIR}${PREFIX}/etc/portsentry.ignore.sample ${INSTALL_PROGRAM} ${WRKSRC}/portsentry \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/portsentry.sh ${STAGEDIR}${PREFIX}/etc/rc.d/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.install ${WRKSRC}/README.methods \ ${WRKSRC}/README.stealth ${STAGEDIR}${DOCSDIR} .include diff --git a/security/proftpd-mod_clamav/Makefile b/security/proftpd-mod_clamav/Makefile index 539a60b81773..843ef07ff2ee 100644 --- a/security/proftpd-mod_clamav/Makefile +++ b/security/proftpd-mod_clamav/Makefile @@ -1,34 +1,32 @@ -# Created by: Martin Matuska - PORTNAME= mod_clamav DISTVERSIONPREFIX= v DISTVERSION= 0.14rc2 PORTREVISION= 2 CATEGORIES= security ftp PKGNAMEPREFIX= proftpd- MAINTAINER= mm@FreeBSD.org COMMENT= ClamAV ProFTPD module LICENSE= GPLv2 DESCR= ${.CURDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../../ftp/proftpd GIT_REVISION= c8586c7 RUN_DEPENDS+= clamd:security/clamav _PROFTPD_MODULE_DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX}:clamav _PROFTPD_MODULE_EXTRACT_ONLY= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX} _PROFTPD_MODULE_MASTER_SITES= https://codeload.github.com/jbenden/mod_clamav/legacy.tar.gz/v${DISTVERSION}?dummy=/:clamav INCLUDEDIRS= ${LOCALBASE}/include LIBDIRS= ${LOCALBASE}/lib _BUILDING_PROFTPD_MODULE= ${PORTNAME} post-extract: @${CP} ${WRKDIR}/jbenden-mod_clamav-${GIT_REVISION}/mod_clamav.* ${WRKSRC}/contrib .include "${MASTERDIR}/Makefile" diff --git a/security/proxycheck/Makefile b/security/proxycheck/Makefile index b88f179d5e67..74aa9e38b7c0 100644 --- a/security/proxycheck/Makefile +++ b/security/proxycheck/Makefile @@ -1,24 +1,22 @@ -# Created by: Paul Chvostek - PORTNAME= proxycheck PORTVERSION= 0.49a CATEGORIES= security MASTER_SITES= http://www.corpit.ru/mjt/proxycheck/ \ http://www.it.ca/~paul/src/ MAINTAINER= bofh@FreeBSD.org COMMENT= Check for open proxy servers PORTSCOUT= skipv:0.49 HAS_CONFIGURE= yes OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/proxycheck ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/proxycheck.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR} .include diff --git a/security/proxytunnel/Makefile b/security/proxytunnel/Makefile index 8e0da8a64966..f90b99211135 100644 --- a/security/proxytunnel/Makefile +++ b/security/proxytunnel/Makefile @@ -1,31 +1,29 @@ -# Created by: Hammurabi Mendes - PORTNAME= proxytunnel PORTVERSION= 1.10.20210604 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= ehaupt@FreeBSD.org COMMENT= Connects stdin and stdout to an origin server through an HTTPS proxy LICENSE= GPLv2+ BSD3CLAUSE MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= asciidoc:textproc/asciidoc \ minixmlto:textproc/minixmlto USES= cpe gmake pkgconfig ssl USE_GITHUB= yes PLIST_FILES= bin/proxytunnel man/man1/proxytunnel.1.gz post-patch: ${REINPLACE_CMD} -e "s/xmlto/minixmlto/g" ${WRKSRC}/docs/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/pulledpork/Makefile b/security/pulledpork/Makefile index 009e78671083..bd361654ad66 100644 --- a/security/pulledpork/Makefile +++ b/security/pulledpork/Makefile @@ -1,65 +1,63 @@ -# Created by: Olli Hauer - PORTNAME= pulledpork PORTVERSION= 0.7.4 DISTVERSIONPREFIX= v PORTREVISION= 0 CATEGORIES= security MASTER_SITES= GHL MAINTAINER= mbeis@xs4all.nl COMMENT= Script to update snort-2.8+ rules LICENSE= GPLv2 RUN_DEPENDS= p5-Crypt-SSLeay>=0.57:security/p5-Crypt-SSLeay \ p5-LWP-Protocol-https>=6.00:www/p5-LWP-Protocol-https \ p5-libwww>=0:www/p5-libwww \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss NO_BUILD= yes USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= ${WRKSRC}/pulledpork.pl ${WRKSRC}/contrib/oink-conv.pl SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= shirkdog OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e 's|^distro=FreeBSD-8.1|distro=FreeBSD-10-0|' \ -e 's|snort/enablesid.conf|pulledpork/enablesid.conf|g' \ -e 's|snort/dropsid.conf|pulledpork/dropsid.conf|g' \ -e 's|snort/disablesid.conf|pulledpork/disablesid.conf|g' \ -e 's|snort/modifysid.conf|pulledpork/modifysid.conf|g' \ -e "s|/usr/local/lib/snort_dynamicrules/|${PREFIX}/etc/snort/so_rules/|g" \ ${WRKSRC}/etc/pulledpork.conf do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pulledpork.pl ${STAGEDIR}${PREFIX}/bin @${MKDIR} -m 750 ${STAGEDIR}${ETCDIR} # pulledpork.conf contains the snort user registration key, do not install world readable ${INSTALL} -m 640 ${WRKSRC}/etc/pulledpork.conf ${STAGEDIR}${ETCDIR}/pulledpork.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/disablesid.conf ${STAGEDIR}${ETCDIR}/disablesid.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/dropsid.conf ${STAGEDIR}${ETCDIR}/dropsid.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/enablesid.conf ${STAGEDIR}${ETCDIR}/enablesid.conf.sample ${INSTALL_DATA} ${WRKSRC}/etc/modifysid.conf ${STAGEDIR}${ETCDIR}/modifysid.conf.sample @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/contrib/README.CONTRIB ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/contrib/oink-conv.pl ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CONTRIBUTING.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/SECURITY.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/README.CATEGORIES ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/README.CHANGES ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/README.RULESET ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/README.SHAREDOBJECTS ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pure-sfv/Makefile b/security/pure-sfv/Makefile index 10577bbeec68..3b893fd51613 100644 --- a/security/pure-sfv/Makefile +++ b/security/pure-sfv/Makefile @@ -1,31 +1,29 @@ -# Created by: Emanuel Haupt - PORTNAME= pure-sfv PORTVERSION= 0.3 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= ehaupt@FreeBSD.org COMMENT= Utility to test and create .sfv files LICENSE= GPLv2 USES= gmake NO_WRKSUBDIR= yes PLIST_FILES= bin/pure-sfv PORTDOCS= ReadMe.txt OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E 's/^(CFLAGS|CC)[ +=]*/\1?=/' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/putty-nogtk/Makefile b/security/putty-nogtk/Makefile index 9ddb579bcfdb..9b5d7976bebe 100644 --- a/security/putty-nogtk/Makefile +++ b/security/putty-nogtk/Makefile @@ -1,11 +1,9 @@ -# Created by: Matthias Andree - PKGNAMESUFFIX= -nogtk OPTIONS_EXCLUDE= GTK2 GTK3 CONFLICTS_INSTALL= pssh putty putty-gtk2 MASTERDIR= ${.CURDIR}/../../security/putty .include "${MASTERDIR}/Makefile" diff --git a/security/pvk/Makefile b/security/pvk/Makefile index f6086ae068c2..cc56c93fb352 100644 --- a/security/pvk/Makefile +++ b/security/pvk/Makefile @@ -1,33 +1,31 @@ -# Created by: Maxim Sobolev - PORTNAME= pvk PORTVERSION= 20070406 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.drh-consultancy.demon.co.uk/ \ http://vault.101011010.xyz/distfiles/ \ http://freebsd.nsu.ru/distfiles/ DISTNAME= pvksrc EXTRACT_SUFX= .tgz.bin MAINTAINER= sobomax@FreeBSD.org COMMENT= Tool to convert a RSA key in PEM format into a PVK file and vice versa USES= ssl MAKE_ARGS= SSLINC=${OPENSSLINC} SSLLIB=${OPENSSLLIB} NO_WRKSUBDIR= yes PLIST_FILES= bin/pvk PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pvk ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pwauth/Makefile b/security/pwauth/Makefile index 5a2b2d888eca..e048b4687cdf 100644 --- a/security/pwauth/Makefile +++ b/security/pwauth/Makefile @@ -1,31 +1,29 @@ -# Created by: clement - PORTNAME= pwauth PORTVERSION= 2.3.11 CATEGORIES= security www MASTER_SITES= http://www.unixpapa.com/software/ \ https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pwauth/ MAINTAINER= eg@fbsd.lt COMMENT= Unix Web Authenticator LICENSE= BSD3CLAUSE PLIST_FILES= "@(,,4555) bin/pwauth" \ bin/checkfaillog ALL_TARGET= pwauth checkfaillog MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIB="-lcrypt -lpam" WWWUID= `${ID} -u ${WWWOWN}` MINUID?= 1000 post-patch: @${REINPLACE_CMD} "s/%%UIDS%%/${WWWUID}/ ; \ s/%%MINUID%%/${MINUID}/" ${WRKSRC}/config.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pwauth ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/checkfaillog ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/pwman/Makefile b/security/pwman/Makefile index 54e64d97910b..498a9ae03c07 100644 --- a/security/pwman/Makefile +++ b/security/pwman/Makefile @@ -1,37 +1,35 @@ -# Created by: Anders Nordby - PORTNAME= pwman DISTVERSION= 0.4.5 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Console password management application based on gpg(me) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= gpgv:security/gnupg1 USES= gnome ncurses USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= curses_loc=${NCURSESBASE} PORTDOCS= AUTHORS ChangeLog README TODO PLIST_FILES= bin/convert_pwdb bin/pwdb2csv bin/pwman man/man1/pwman.1.gz CFLAGS+= -Wno-error=return-type OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/src/options.c post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/security/pwman3/Makefile b/security/pwman3/Makefile index cfdeb82a3fdd..7fbef60b572f 100644 --- a/security/pwman3/Makefile +++ b/security/pwman3/Makefile @@ -1,25 +1,23 @@ -# Created by: Yarodin - PORTNAME= pwman3 PORTVERSION= 0.0.6 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://pwman.bleurgh.com/~ivan/pwman3/source/ \ http://source.antisupport.com/pwman3/ DISTNAME= Pwman3-${PORTVERSION} MAINTAINER= yarodin@gmail.com COMMENT= Console password management application with sql storage DEPRECATED= Depends on expired security/py-pycrypto EXPIRATION_DATE=2022-09-30 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:security/py-pycrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist concurrent optsuffix NO_ARCH= yes .include diff --git a/security/pwned-check/Makefile b/security/pwned-check/Makefile index b3f58479bcd8..19f0878214d7 100644 --- a/security/pwned-check/Makefile +++ b/security/pwned-check/Makefile @@ -1,30 +1,28 @@ -# Created by: Charlie Root - PORTNAME= pwned-check PORTVERSION= 2.2 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= # DISTFILES= # MAINTAINER= se@FreeBSD.org COMMENT= Check whether password is known to have been exposed in a data breach LICENSE= BSD2CLAUSE NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/src SRC= ${.CURDIR}/src SUB_FILES= ${PORTNAME}.sh ${PORTNAME}.1 pkg-message do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile index f7e0c88645b2..bbf382811c52 100644 --- a/security/py-SecretStorage/Makefile +++ b/security/py-SecretStorage/Makefile @@ -1,24 +1,22 @@ -# Created by: Douglas Thrift - PORTNAME= SecretStorage PORTVERSION= 3.3.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store passwords using the SecretService DBus API LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jeepney>=0.6:devel/py-jeepney@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-YubiOTP/Makefile b/security/py-YubiOTP/Makefile index 4c158eb8ef0c..cfb4663efbfe 100644 --- a/security/py-YubiOTP/Makefile +++ b/security/py-YubiOTP/Makefile @@ -1,21 +1,19 @@ -# Created by: Carlo Strub - PORTNAME= YubiOTP PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Library for verifying YubiKey OTP tokens LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-acme/Makefile b/security/py-acme/Makefile index 9f68f7e523a6..0865fffb01e7 100644 --- a/security/py-acme/Makefile +++ b/security/py-acme/Makefile @@ -1,30 +1,28 @@ -# Created by: Carlos J Puga Medina - PORTNAME= acme PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= ACME protocol implementation in Python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}josepy>=1.3.0:security/py-josepy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.15.1:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:devel/py-pyrfc3339@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>2019.3,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.3.0:www/py-requests-toolbelt@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils pytest NO_ARCH= yes .include "version.mk" .include diff --git a/security/py-argon2-cffi-bindings/Makefile b/security/py-argon2-cffi-bindings/Makefile index 3f3603f0d111..13efc06b97a3 100644 --- a/security/py-argon2-cffi-bindings/Makefile +++ b/security/py-argon2-cffi-bindings/Makefile @@ -1,33 +1,31 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= argon2-cffi-bindings PORTVERSION= 21.2.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Low-level CFFI bindings for Argon2 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= libargon2.so:security/libargon2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.1:devel/py-cffi@${PY_FLAVOR} USES= localbase python:3.6+ USE_PYTHON= autoplist concurrent distutils pytest MAKE_ENV= ARGON2_CFFI_USE_SYSTEM=1 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/extras/ post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-artifacts/Makefile b/security/py-artifacts/Makefile index c3ddda51ecf5..a455c9c7c6c8 100644 --- a/security/py-artifacts/Makefile +++ b/security/py-artifacts/Makefile @@ -1,31 +1,29 @@ -# Created by: Antoine Brodin - PORTNAME= artifacts PORTVERSION= 20210620 CATEGORIES= security python MASTER_SITES= CHEESESHOP \ https://github.com/ForensicArtifacts/artifacts/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= ForensicArtifacts.com Artifact Repository LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=4.2.0:devel/py-pbr@${PY_FLAVOR} NO_ARCH= yes USES= python:3.5+ USE_LOCALE= en_US.UTF-8 USE_PYTHON= distutils autoplist concurrent DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} TEST_TARGET= run_tests.py post-patch: ${REINPLACE_CMD} "s,share/artifacts,${DATADIR_REL}, ; \ s,share/doc/artifacts,${DOCSDIR_REL}," ${WRKSRC}/setup.py .include diff --git a/security/py-authlib/Makefile b/security/py-authlib/Makefile index a63e574f8f69..8f3fef5e332f 100644 --- a/security/py-authlib/Makefile +++ b/security/py-authlib/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= authlib PORTVERSION= 1.0.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Authlib-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ultimate Python library in building OAuth and OpenID Connect servers LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.2:security/py-cryptography@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-azure-keyvault-certificates/Makefile b/security/py-azure-keyvault-certificates/Makefile index e31e501e3e2a..2cc2ab7d59b5 100644 --- a/security/py-azure-keyvault-certificates/Makefile +++ b/security/py-azure-keyvault-certificates/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= azure-keyvault-certificates PORTVERSION= 4.4.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Microsoft Azure Key Vault Certificates Client Library for Python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1<2:www/py-azure-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-core>=1.20.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrest>=0.6.21:net-mgmt/py-msrest@${PY_FLAVOR} USES= python:3.6+ zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-azure-keyvault-keys/Makefile b/security/py-azure-keyvault-keys/Makefile index a92ad78f25b2..fedab539fb94 100644 --- a/security/py-azure-keyvault-keys/Makefile +++ b/security/py-azure-keyvault-keys/Makefile @@ -1,25 +1,23 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= azure-keyvault-keys PORTVERSION= 4.5.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Microsoft Azure Key Vault Keys Client Library for Python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1<2:www/py-azure-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-core>=1.20.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrest>=0.6.21:net-mgmt/py-msrest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-azure-keyvault-secrets/Makefile b/security/py-azure-keyvault-secrets/Makefile index 6b52f17ef745..c938bcdfed9f 100644 --- a/security/py-azure-keyvault-secrets/Makefile +++ b/security/py-azure-keyvault-secrets/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= azure-keyvault-secrets PORTVERSION= 4.4.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Microsoft Azure Key Vault Secrets Client Library for Python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-common>=1.1<2:www/py-azure-common@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}azure-core>=1.20.0<2.0.0:devel/py-azure-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msrest>=0.6.21:net-mgmt/py-msrest@${PY_FLAVOR} USES= python:3.6+ zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-base58/Makefile b/security/py-base58/Makefile index 56067b275a50..fc015cd5723b 100644 --- a/security/py-base58/Makefile +++ b/security/py-base58/Makefile @@ -1,18 +1,16 @@ -# Created by: Emanuel Haupt - PORTNAME= base58 PORTVERSION= 2.1.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Bitcoin-compatible Base58 and Base58Check implementation LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-bcrypt/Makefile b/security/py-bcrypt/Makefile index e81fc2d74315..77ed8e77a77a 100644 --- a/security/py-bcrypt/Makefile +++ b/security/py-bcrypt/Makefile @@ -1,30 +1,28 @@ -# Created by: Martin Wilke - PORTNAME= bcrypt PORTVERSION= 3.2.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Modern password hashing for your software and your servers LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt*.so .include diff --git a/security/py-bitbox02/Makefile b/security/py-bitbox02/Makefile index b9fbe8f10ef9..dd3978442584 100644 --- a/security/py-bitbox02/Makefile +++ b/security/py-bitbox02/Makefile @@ -1,25 +1,23 @@ -# Created by: Emanuel Haupt - PORTNAME= bitbox02 PORTVERSION= 6.0.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Python API for communicating with the BitBox02 device LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}base58>=2.0.0:security/py-base58@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.14:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}noiseprotocol>=0.3:security/py-noiseprotocol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}semver>=2.8.1:devel/py-semver@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-btchip-python/Makefile b/security/py-btchip-python/Makefile index cd92c890acf9..7a6ff6591369 100644 --- a/security/py-btchip-python/Makefile +++ b/security/py-btchip-python/Makefile @@ -1,23 +1,21 @@ -# Created by: Emanuel Haupt - PORTNAME= btchip-python PORTVERSION= 0.1.32 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Python communication library for Ledger Hardware Wallet LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mnemonic>=0:security/py-mnemonic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscard>=1.6.12.4.b1:security/py-pyscard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.9:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99:comms/py-hidapi@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-cerealizer/Makefile b/security/py-cerealizer/Makefile index 0d71c123b692..390af2bbc7dc 100644 --- a/security/py-cerealizer/Makefile +++ b/security/py-cerealizer/Makefile @@ -1,18 +1,16 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTNAME= cerealizer PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Cerealizer-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= acm@FreeBSD.org COMMENT= Secure pickle-like module USES= python:3.6+ tar:bzip2 USE_PYTHON= distutils autoplist .include diff --git a/security/py-cert-human/Makefile b/security/py-cert-human/Makefile index a2eb494787c5..dee61ef1a899 100644 --- a/security/py-cert-human/Makefile +++ b/security/py-cert-human/Makefile @@ -1,26 +1,24 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= cert-human PORTVERSION= 1.0.7 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= cert_human-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SSL Certificates for Humans LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-certbot/Makefile b/security/py-certbot/Makefile index e73127ef623c..4cb928aadb7c 100644 --- a/security/py-certbot/Makefile +++ b/security/py-certbot/Makefile @@ -1,70 +1,68 @@ -# Created by: Kubilay Kocak - PORTNAME= certbot PORTVERSION= ${ACME_VERSION} PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Let's Encrypt client #' LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}acme>=${ACME_VERSION},1:security/py-acme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>0:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=1.2.3:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>=1.0.1:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}josepy>=1.3.0:security/py-josepy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parsedatetime>=1.3:devel/py-parsedatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrfc3339>0:devel/py-pyrfc3339@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>2019.3,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.component>0:devel/py-zope.component@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes SUB_FILES= 500.certbot pkg-message PLIST_FILES= etc/periodic/weekly/500.certbot-${PYTHON_VER} SUB_LIST= PYTHON_VER=${PYTHON_VER} OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= MANPAGES MANPAGES_BUILD_DEPENDS= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.sphinx.autointerface>0:devel/py-repoze.sphinx.autointerface@${PY_FLAVOR} \ MANPAGES_PLIST_FILES= share/man/man1/certbot.1.gz \ share/man/man7/certbot.7.gz post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/certbot/compat/misc.py \ ${WRKSRC}/tests/cli_test.py post-build-MANPAGES-on: # Avoid gmake / ${DO_MAKE_BUILD} -C ${WRKSRC}/docs man (cd ${WRKSRC}/docs && \ sphinx-build-${PYTHON_VER} -N -b man . _build/man) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly ${INSTALL_SCRIPT} ${WRKDIR}/500.certbot \ ${STAGEDIR}${PREFIX}/etc/periodic/weekly/500.certbot-${PYTHON_VER} post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.7 \ ${STAGEDIR}${PREFIX}/share/man/man7 .include "${.CURDIR}/../py-acme/version.mk" .include diff --git a/security/py-certifi/Makefile b/security/py-certifi/Makefile index 8934b6c97a83..fe315e64ba7c 100644 --- a/security/py-certifi/Makefile +++ b/security/py-certifi/Makefile @@ -1,19 +1,17 @@ -# Created by: Olivier Duchateau - PORTNAME= certifi PORTVERSION= 2022.6.15 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Mozilla SSL certificates LICENSE= MPL20 USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-ckcc-protocol/Makefile b/security/py-ckcc-protocol/Makefile index 5091a6d8581d..8701c24cfe69 100644 --- a/security/py-ckcc-protocol/Makefile +++ b/security/py-ckcc-protocol/Makefile @@ -1,24 +1,22 @@ -# Created by: Emanuel Haupt - PORTNAME= ckcc-protocol PORTVERSION= 1.3.2 CATEGORIES= security MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Coldcard CLI and python interface library LICENSE= LGPL3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99.post21:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyaes>=0:security/py-pyaes@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-cpe/Makefile b/security/py-cpe/Makefile index 3f9e3ff2f114..0273259df0ab 100644 --- a/security/py-cpe/Makefile +++ b/security/py-cpe/Makefile @@ -1,29 +1,27 @@ -# Created by: Kubilay Kocak - PORTNAME= cpe PORTVERSION= 1.2.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= CPE: Common Platform Enumeration for Python LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|expression2_2|tests/expression2_2|g' \ ${WRKSRC}/tests/testfile_cpelang2_2.txt @${REINPLACE_CMD} -e 's|expression2_3|tests/expression2_3|g' \ ${WRKSRC}/tests/testfile_cpelang2_3.txt do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include diff --git a/security/py-cryptography-vectors/Makefile b/security/py-cryptography-vectors/Makefile index 6b8187dfa9d7..34854bb2ae20 100644 --- a/security/py-cryptography-vectors/Makefile +++ b/security/py-cryptography-vectors/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= cryptography-vectors PORTVERSION= 3.4.8 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= cryptography_vectors-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Test vectors for the cryptography package LICENSE= APACHE20 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index 66e929190d4f..6b7bc8324cae 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -1,49 +1,47 @@ -# Created by: Kubilay Kocak - PORTNAME= cryptography PORTVERSION= 3.4.8 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Cryptographic recipes and primitives for Python developers LICENSE= APACHE20 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.12:devel/py-cffi@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}iso8601>=0:devel/py-iso8601@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>=0:devel/py-pretend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-subtests>=0:devel/py-pytest-subtests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} USES= compiler:env cpe python:3.6+ ssl USE_PYTHON= autoplist concurrent distutils pytest CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} MAKE_ENV= CRYPTOGRAPHY_DONT_BUILD_RUST=1 TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} CPE_VENDOR= cryptography_project .include .if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 post-patch: @${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' ${WRKSRC}/src/_cffi_src/build_openssl.py .endif post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-cybox/Makefile b/security/py-cybox/Makefile index cd64683b059e..ceaf47dfe5e1 100644 --- a/security/py-cybox/Makefile +++ b/security/py-cybox/Makefile @@ -1,44 +1,42 @@ -# Created by: Antoine Brodin - PORTNAME= cybox PORTVERSION= 2.1.0.21 DISTVERSIONPREFIX= v CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python library for parsing, manipulating, and generating CybOX content LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.3:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mixbox>=1.0.2:security/py-mixbox@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= CybOXProject GH_PROJECT= python-${PORTNAME} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= concurrent distutils autoplist PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER}) .include diff --git a/security/py-dfdatetime/Makefile b/security/py-dfdatetime/Makefile index 3f5e32f04edf..b8449814847a 100644 --- a/security/py-dfdatetime/Makefile +++ b/security/py-dfdatetime/Makefile @@ -1,30 +1,28 @@ -# Created by: Antoine Brodin - PORTNAME= dfdatetime PORTVERSION= 20210509 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP \ https://github.com/log2timeline/dfdatetime/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Digital Forensics Date and Time LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=4.2.0:devel/py-pbr@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes post-patch: ${REINPLACE_CMD} "s,share/doc/dfdatetime,${DOCSDIR_REL}," ${WRKSRC}/setup.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py) .include diff --git a/security/py-dfvfs/Makefile b/security/py-dfvfs/Makefile index e1540106f10c..f9e7be404305 100644 --- a/security/py-dfvfs/Makefile +++ b/security/py-dfvfs/Makefile @@ -1,60 +1,58 @@ -# Created by: Antoine Brodin - PORTNAME= dfvfs PORTVERSION= 20210606 CATEGORIES= security devel python MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Digital Forensics Virtual File System LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= libbde>=a:devel/libbde \ libewf>=0:devel/libewf \ libfsapfs>=e:devel/libfsapfs \ libfsext>=e:devel/libfsext \ libfshfs>=e:devel/libfshfs \ libfsntfs>=e:devel/libfsntfs \ libfsxfs>=e:devel/libfsxfs \ libfvde>=0:sysutils/libfvde \ libfwnt>=e:devel/libfwnt \ libluksde>=e:devel/libluksde \ libmodi>=e:devel/libmodi \ libqcow>=a:devel/libqcow \ libsigscan>=e:devel/libsigscan \ libsmdev>=a:devel/libsmdev \ libsmraw>=a:devel/libsmraw \ libvhdi>=e:devel/libvhdi \ libvmdk>=e:devel/libvmdk \ libvshadow>=0:devel/libvshadow \ libvsgpt>=e:devel/libvsgpt \ libvslvm>=e:devel/libvslvm \ ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ca_root_nss>=0:security/ca_root_nss USES= python:3.5+ USE_LOCALE= en_US.UTF-8 USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar post-patch: ${REINPLACE_CMD} "s,share/doc/dfvfs,${DOCSDIR_REL}," ${WRKSRC}/setup.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py) .include diff --git a/security/py-dfwinreg/Makefile b/security/py-dfwinreg/Makefile index 4bb9cf3e2f9b..15ebbf1e1b47 100644 --- a/security/py-dfwinreg/Makefile +++ b/security/py-dfwinreg/Makefile @@ -1,33 +1,31 @@ -# Created by: Antoine Brodin - PORTNAME= dfwinreg PORTVERSION= 20211207 CATEGORIES= security devel python MASTER_SITES= https://github.com/log2timeline/dfwinreg/releases/download/${PORTVERSION}/ \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Digital Forensics Windows Registry LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= libcreg>=e:devel/libcreg \ libregf>=a:devel/libregf \ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes post-patch: ${REINPLACE_CMD} "s,share/doc/dfwinreg,${DOCSDIR_REL}," ${WRKSRC}/setup.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py) .include diff --git a/security/py-django-auth-kerberos/Makefile b/security/py-django-auth-kerberos/Makefile index 8dd21bf0ddae..1f2ce63f3430 100644 --- a/security/py-django-auth-kerberos/Makefile +++ b/security/py-django-auth-kerberos/Makefile @@ -1,23 +1,21 @@ -# Created by: Dan Langille - PORTNAME= django-auth-kerberos PORTVERSION= 1.2.5 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Kerberos authentication backend for Django LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}kerberos>1.1.10:security/py-kerberos@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile index d1a2f2699d1b..c4e2a333cae9 100644 --- a/security/py-ecdsa/Makefile +++ b/security/py-ecdsa/Makefile @@ -1,32 +1,30 @@ -# Created by: Neil Booth - PORTNAME= ecdsa PORTVERSION= 0.18.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= ECDSA cryptographic signature library (pure python) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes OPTIONS_RADIO= FASTER OPTIONS_RADIO_FASTER= GMPY GMPY2 OPTIONS_DEFAULT=GMPY2 GMPY_DESC= GMPY support GMPY2_DESC= GMPY2 support GMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy>=0:math/py-gmpy@${PY_FLAVOR} GMPY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>=0:math/py-gmpy2@${PY_FLAVOR} .include diff --git a/security/py-ed25519ll/Makefile b/security/py-ed25519ll/Makefile index 4b5cb340c416..fed23e15c970 100644 --- a/security/py-ed25519ll/Makefile +++ b/security/py-ed25519ll/Makefile @@ -1,28 +1,26 @@ -# Created by: Nicola Vitale - PORTNAME= ed25519ll PORTVERSION= 0.6 PORTREVISION= 2 CATEGORIES= security #MASTER_SITES= CHEESESHOP # bitbucket master contains py3 fixes made after last tagged release MASTER_SITES= https://bitbucket.org/dholth/${PORTNAME}/get/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= 37719c56b7b6 MAINTAINER= nivit@FreeBSD.org COMMENT= Low-level ctypes wrapper for Ed25519 digital signatures LICENSE= MIT TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils flavors WRKSRC= ${WRKDIR}/dholth-${PORTNAME}-${DISTNAME} do-test: cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP} test .include diff --git a/security/py-flask-kerberos/Makefile b/security/py-flask-kerberos/Makefile index 3238ce53bfc1..ef13de8d2aff 100644 --- a/security/py-flask-kerberos/Makefile +++ b/security/py-flask-kerberos/Makefile @@ -1,22 +1,20 @@ -# Created by: John W. O'Brien - PORTNAME= Flask-Kerberos PORTVERSION= 1.0.4 CATEGORIES= security www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= john@saltant.com COMMENT= GSSAPI Negotiate HTTP authentication for Flask routes LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kerberos>1.1.1:security/py-kerberos@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-gixy/Makefile b/security/py-gixy/Makefile index cc4cd93410b5..25111a249acb 100644 --- a/security/py-gixy/Makefile +++ b/security/py-gixy/Makefile @@ -1,25 +1,23 @@ -# Created by: Dan Langille - PORTNAME= gixy PORTVERSION= 0.1.20 CATEGORIES= security www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Tool to analyze Nginx configuration for security misconfiguration LICENSE= APACHE20 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyparsing>=1.5.5:devel/py-pyparsing@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.2.0:devel/py-cached-property@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.8:devel/py-Jinja2@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configargparse>=0.11.0:devel/py-configargparse@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>=1.4.0:devel/py-argparse@${PY_FLAVOR} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-gnupg/Makefile b/security/py-gnupg/Makefile index 98e49320dea8..40d50f45524e 100644 --- a/security/py-gnupg/Makefile +++ b/security/py-gnupg/Makefile @@ -1,22 +1,20 @@ -# Created by: ijliao - PORTNAME= gnupg PORTVERSION= 3.1.1 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Python wrapper for GnuPG LICENSE= GPLv3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= distutils autoplist GH_ACCOUNT= isislovecruft GH_PROJECT= python-gnupg .include diff --git a/security/py-google-auth-httplib2/Makefile b/security/py-google-auth-httplib2/Makefile index feeadd6ef701..ae5d505e5e6b 100644 --- a/security/py-google-auth-httplib2/Makefile +++ b/security/py-google-auth-httplib2/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= google-auth-httplib2 PORTVERSION= 0.1.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Google Authentication Library: httplib2 transport LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=0:security/py-google-auth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.15.0:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-google-auth-oauthlib/Makefile b/security/py-google-auth-oauthlib/Makefile index 1c527ea5bd04..f3f3495a31e8 100644 --- a/security/py-google-auth-oauthlib/Makefile +++ b/security/py-google-auth-oauthlib/Makefile @@ -1,29 +1,27 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= google-auth-oauthlib PORTVERSION= 0.5.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Google Authentication Library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=1.0.0:security/py-google-auth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0:www/py-requests-oauthlib@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= TOOL OPTIONS_DEFAULT=TOOL TOOL_DESC= Tool for obtaining authorization and credentials TOOL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.0.0:devel/py-click@${PY_FLAVOR} .include diff --git a/security/py-google-auth/Makefile b/security/py-google-auth/Makefile index 44c54b631626..2aa6de0ed890 100644 --- a/security/py-google-auth/Makefile +++ b/security/py-google-auth/Makefile @@ -1,36 +1,34 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= google-auth PORTVERSION= 2.9.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Google Authentication Library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<6.0:devel/py-cachetools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<5:security/py-rsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= AIOHTTP PYOPENSSL REAUTH OPTIONS_DEFAULT=AIOHTTP AIOHTTP_DESC= Use aiohttp PYOPENSSL_DESC= OpenSSL support REAUTH_DESC= Reauth support AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0<3.0.0:www/py-requests@${PY_FLAVOR} PYOPENSSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=20.0.0:security/py-openssl@${PY_FLAVOR} REAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyu2f>=0.1.5:net/py-pyu2f@${PY_FLAVOR} .include diff --git a/security/py-gpsoauth/Makefile b/security/py-gpsoauth/Makefile index 3f819d689420..74b2f1ffafa2 100644 --- a/security/py-gpsoauth/Makefile +++ b/security/py-gpsoauth/Makefile @@ -1,28 +1,26 @@ -# Created by: Thomas Zander - PORTNAME= gpsoauth PORTVERSION= 0.4.2 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= riggs@FreeBSD.org COMMENT= Python client library for Google Play Services OAuth LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ndg-httpsclient>0:net/py-ndg-httpsclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.4:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= simon-weber USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/security/py-htpasswd/Makefile b/security/py-htpasswd/Makefile index 91e075a66a6b..a8c6cf6ace0e 100644 --- a/security/py-htpasswd/Makefile +++ b/security/py-htpasswd/Makefile @@ -1,30 +1,28 @@ -# Created by: Aldis Berjoza - PORTNAME= htpasswd PORTVERSION= 2019.10.15 CATEGORIES= security python MASTER_SITES= https://svn.apache.org/repos/asf/bloodhound/trunk/trac/contrib/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}.py EXTRACT_SUFX= # empty MAINTAINER= ports@FreeBSD.org COMMENT= Replacement for htpasswd USES= python shebangfix SHEBANG_FILES= ${PORTNAME}.py NO_ARCH= yes NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} EXTRACT_AFTER_ARGS= ${WRKSRC} EXTRACT_BEFORE_ARGS= # empty NO_BUILD= yes PLIST_FILES= bin/${PORTNAME}.py do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/py-itsdangerous/Makefile b/security/py-itsdangerous/Makefile index aa26d1134e48..acb0d4de549d 100644 --- a/security/py-itsdangerous/Makefile +++ b/security/py-itsdangerous/Makefile @@ -1,19 +1,17 @@ -# Created by: Olivier Duchateau - PORTNAME= itsdangerous PORTVERSION= 2.0.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rm@FreeBSD.org COMMENT= Various helpers to pass data in untrusted environments LICENSE= BSD3CLAUSE USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/security/py-josepy/Makefile b/security/py-josepy/Makefile index 3e521cff4b6b..86f380aa7167 100644 --- a/security/py-josepy/Makefile +++ b/security/py-josepy/Makefile @@ -1,28 +1,26 @@ -# Created by: Carlos J Puga Medina - PORTNAME= josepy PORTVERSION= 1.13.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= JOSE protocol implementation in Python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.5:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cache>=1.0:devel/py-pytest-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0.5:devel/py-pytest-flake8@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include diff --git a/security/py-keepkey/Makefile b/security/py-keepkey/Makefile index f5e032ce782f..02dd7db3ce58 100644 --- a/security/py-keepkey/Makefile +++ b/security/py-keepkey/Makefile @@ -1,29 +1,27 @@ -# Created by: Emanuel Haupt - PORTNAME= keepkey PORTVERSION= 7.2.1 DISTVERSIONPREFIX= v CATEGORIES= security PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Library for communicating with KeepKey Hardware Wallet LICENSE= LGPL3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.9:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99.post15:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libusb1>=1.6:devel/py-libusb1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mnemonic>=0.8:security/py-mnemonic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.0.0:devel/py-protobuf@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes GH_PROJECT= python-keepkey GH_TUPLE= keepkey:device-protocol:84d438b:devproto/device-protocol \ keepkey:ethereum-lists:e216e92:ethlist/keepkeylib/eth/ethereum-lists USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-kerberos/Makefile b/security/py-kerberos/Makefile index 90be39102aed..ccfa25af37e6 100644 --- a/security/py-kerberos/Makefile +++ b/security/py-kerberos/Makefile @@ -1,39 +1,37 @@ -# Created by: Roland van Laar - PORTNAME= kerberos PORTVERSION= 1.3.1 PORTREVISION= 0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Kerberos bindings for python LICENSE= APACHE20 OPTIONS_DEFAULT= GSSAPI_BASE OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit USES= python:3.6+ USE_PYTHON= distutils autoplist GSSAPI_BASE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_kerberosbasic.h \ ${PATCHDIR}/extra-patch-src_kerberosgss.c \ ${PATCHDIR}/extra-patch-src_kerberosgss.h \ ${PATCHDIR}/extra-patch-src_kerberospw.h GSSAPI_HEIMDAL_EXTRA_PATCHES= ${GSSAPI_BASE_EXTRA_PATCHES} post-patch: @${REINPLACE_CMD} -e 's|getoutput("krb5-config|getoutput("${GSSAPIBASEDIR}/bin/krb5-config|g' ${WRKSRC}/setup.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/kerberos*.so .include diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile index 8ff9e3fca54a..4d353a60560c 100644 --- a/security/py-keyring/Makefile +++ b/security/py-keyring/Makefile @@ -1,33 +1,31 @@ -# Created by: Douglas Thrift - PORTNAME= keyring PORTVERSION= 18.0.1 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store and access your passwords safely LICENSE= PSFL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}entrypoints>=0:devel/py-entrypoints@${PY_FLAVOR} USES= cpe python:3.6+ CPE_VENDOR= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= DBUS KEYRINGS_ALT SECRET_SERVICE OPTIONS_DEFAULT= KEYRINGS_ALT SECRET_SERVICE DBUS_DESC= Install Python DBUS to support the kwallet backend KEYRINGS_ALT_DESC= Install Alternate Python keyring implementations backend SECRET_SERVICE_DESC= Install SecretStorage to support the SecretService backend DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} KEYRINGS_ALT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyrings.alt>0:security/py-keyrings.alt@${PY_FLAVOR} SECRET_SERVICE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}SecretStorage>0:security/py-SecretStorage@${PY_FLAVOR} .include diff --git a/security/py-keyrings.alt/Makefile b/security/py-keyrings.alt/Makefile index 5e4fd7ec1ddf..87b31581ea6e 100644 --- a/security/py-keyrings.alt/Makefile +++ b/security/py-keyrings.alt/Makefile @@ -1,40 +1,38 @@ -# Created by: Douglas Thrift - PORTNAME= keyrings.alt PORTVERSION= 3.1.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Alternate Python keyring implementations LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Depends on expired security/py-pycrypto EXPIRATION_DATE=2022-09-30 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keyring>=10.3.1:security/py-keyring@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR} USES= python:3.6+ pytest USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= ENCRYPTED_FILE GNOME_KEYRING PYFS ENCRYPTED_FILE_DESC= Install pycrypto to support the Encrypted File backend GNOME_KEYRING_DESC= Install GNOME Keyring to support the Gnome backend PYFS_DESC= Install pyfilesystem to support the pyfs backend ENCRYPTED_FILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:security/py-pycrypto@${PY_FLAVOR} GNOME_KEYRING_USES= gnome GNOME_KEYRING_USE= GNOME=pygobject3 PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR} .include diff --git a/security/py-krb5/Makefile b/security/py-krb5/Makefile index 674d5fac60d0..9f723d0d3afc 100644 --- a/security/py-krb5/Makefile +++ b/security/py-krb5/Makefile @@ -1,31 +1,29 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= krb5 PORTVERSION= 0.3.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Kerberos API bindings for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist concurrent cython distutils MAKE_ENV= KRB5_KRB5CONFIG=${KRB5CONFIG} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT=GSSAPI_BASE GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-libnacl/Makefile b/security/py-libnacl/Makefile index b7bda16274a8..5fbf00bbac40 100644 --- a/security/py-libnacl/Makefile +++ b/security/py-libnacl/Makefile @@ -1,23 +1,21 @@ -# Created by: Kubilay Kocak - PORTNAME= libnacl PORTVERSION= 1.8.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings for libsodium based on ctypes LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsodium.so:security/libsodium USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes TEST_ARGS= discover -s tests .include diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 0c2e1ff3053d..8342ed1ec0b1 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -1,28 +1,26 @@ -# Created by: Peter Haight - PORTNAME= m2crypto PORTVERSION= 0.38.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= M2Crypto-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE BUILD_DEPENDS= swig>=2.0.4:devel/swig USES= cpe python:3.6+ ssl USE_PYTHON= autoplist concurrent distutils PYDISTUTILS_BUILDARGS= build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig CPE_VENDOR= m2crypto_project post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-maec/Makefile b/security/py-maec/Makefile index d878b8b64e8c..aa1b88410c3a 100644 --- a/security/py-maec/Makefile +++ b/security/py-maec/Makefile @@ -1,45 +1,43 @@ -# Created by: Antoine Brodin - PORTNAME= maec PORTVERSION= 4.1.0.17 DISTVERSIONPREFIX= v CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python library for parsing, manipulating, and generating MAEC content LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.3:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cybox>=2.1.0.13:security/py-cybox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mixbox>=0.0.13:security/py-mixbox@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= MAECProject GH_PROJECT= python-${PORTNAME} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= concurrent distutils autoplist USE_LOCALE= en_US.UTF-8 PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER}) .include diff --git a/security/py-mixbox/Makefile b/security/py-mixbox/Makefile index 4b3b65f6e310..9b54dc7e7fb2 100644 --- a/security/py-mixbox/Makefile +++ b/security/py-mixbox/Makefile @@ -1,22 +1,20 @@ -# Created by: Antoine Brodin - PORTNAME= mixbox PORTVERSION= 1.0.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Utility library for cybox, maec, and stix LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ordered-set>=0:devel/py-ordered-set@${PY_FLAVOR} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/py-mnemonic/Makefile b/security/py-mnemonic/Makefile index 3398a4738b2f..ef60eb797871 100644 --- a/security/py-mnemonic/Makefile +++ b/security/py-mnemonic/Makefile @@ -1,21 +1,19 @@ -# Created by: Emanuel Haupt - PORTNAME= mnemonic PORTVERSION= 0.20 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Implementation of Bitcoin BIP-0039 LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-nassl/Makefile b/security/py-nassl/Makefile index 210721f36a97..49a6fc7da7cd 100644 --- a/security/py-nassl/Makefile +++ b/security/py-nassl/Makefile @@ -1,27 +1,25 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= nassl PORTVERSION= 4.0.2 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Experimental OpenSSL wrapper for SSLyze LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python:3.7+ ssl USE_PYTHON= autoplist concurrent distutils GH_ACCOUNT= nabla-c0d3 USE_GITHUB= yes post-patch: @${RM} ${WRKSRC}/build_tasks.py ${WRKSRC}/tasks.py ${WRKSRC}/nassl/legacy_ssl_client.py @${REINPLACE_CMD} -e 's|%%OPENSSLINC%%|${OPENSSLINC}|; s|%%OPENSSLLIB%%|${OPENSSLLIB}|' ${WRKSRC}/setup.py post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-noiseprotocol/Makefile b/security/py-noiseprotocol/Makefile index 6d39559f584f..42d08429df48 100644 --- a/security/py-noiseprotocol/Makefile +++ b/security/py-noiseprotocol/Makefile @@ -1,19 +1,17 @@ -# Created by: Emanuel Haupt - PORTNAME= noiseprotocol PORTVERSION= 0.3.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Python implementation of Noise Protocol Framework LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-oauth2client/Makefile b/security/py-oauth2client/Makefile index c35467ef8f6d..39f1797c9184 100644 --- a/security/py-oauth2client/Makefile +++ b/security/py-oauth2client/Makefile @@ -1,26 +1,24 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= oauth2client PORTVERSION= 4.1.3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= OAuth 2.0 client library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.7:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.5:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4:security/py-rsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile index db4043c31e31..796becfb09f6 100644 --- a/security/py-oauthlib/Makefile +++ b/security/py-oauthlib/Makefile @@ -1,37 +1,35 @@ -# Created by: Kubilay Kocak - PORTNAME= oauthlib PORTVERSION= 3.2.0 CATEGORIES= security net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generic, spec-compliant, thorough implementation of the OAuth request-signing logic LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6:devel/py-pytest-cov@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN OPTIONS_DEFAULT=RSA SIGNALS SIGNEDTOKEN RSA_DESC= RSA support SIGNALS_DESC= Signal support SIGNEDTOKEN_DESC= Signed token support RSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.0.0:security/py-cryptography@${PY_FLAVOR} SIGNALS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=1.4.0:devel/py-blinker@${PY_FLAVOR} SIGNEDTOKEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=3.0.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0.0<3:www/py-pyjwt@${PY_FLAVOR} do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile index ec4ad3246ee3..642249478c27 100644 --- a/security/py-openssl/Makefile +++ b/security/py-openssl/Makefile @@ -1,54 +1,52 @@ -# Created by: ijliao - PORTNAME= openssl PORTVERSION= 20.0.1 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSL-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Python interface to the OpenSSL library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= cpe python:3.6+ USE_PYTHON= autoplist concurrent distutils pythonprefix NO_ARCH= yes CPE_VENDOR= jean-paul_calderone CPE_PRODUCT= py${PORTNAME} # Use options.mk to use OSVERSION and handle redefine PORTEPOCH .include # We need to keep old py-cryptography and py-penssl for 11.x release # due to outdated OpenSSL version in base # These tests will be skipped due the following reasons: # # * test_connect_refused: Avoid stalling in build environments that don't have # a internet connection # * test_set_verify_callback_exception: Fails on *BSD systems, see also # https://github.com/pyca/pyopenssl/issues/656 for further details # # The system clock must be in sync otherwise the test "test_verify_with_time" # will fail. do-test: @cd ${WRKSRC} && ${SET_ENV} LC_ALL=en_US.UTF-8 ${TEST_ENV} \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ ${PYTHON_CMD} -m pytest -rs -v -k \ 'not test_connect_refused and \ not test_set_verify_callback_exception' .include diff --git a/security/py-oscrypto/Makefile b/security/py-oscrypto/Makefile index 801a6bcb2d63..bca92e32ea7c 100644 --- a/security/py-oscrypto/Makefile +++ b/security/py-oscrypto/Makefile @@ -1,22 +1,20 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= oscrypto PORTVERSION= 1.2.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Cryptographic operations using the OS crypto libraries LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.0.0:devel/py-asn1crypto@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile index 5fb4cb9647fb..bfc983849872 100644 --- a/security/py-paramiko/Makefile +++ b/security/py-paramiko/Makefile @@ -1,34 +1,32 @@ -# Created by: Ulf Lilleengen - PORTNAME= paramiko PORTVERSION= 2.11.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Python SSH2 protocol library LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=2.5:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.7:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}invoke>=0:devel/py-invoke@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-relaxed>=0:devel/py-pytest-relaxed@${PY_FLAVOR} USES= cpe pytest:4 python:3.7+ USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= GSSAPI GSSAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.4.1:security/py-gssapi@${PY_FLAVOR} PYTEST_ARGS= -p no:relaxed .include diff --git a/security/py-pass-git-helper/Makefile b/security/py-pass-git-helper/Makefile index 6c687d8128e4..90a5ef177692 100644 --- a/security/py-pass-git-helper/Makefile +++ b/security/py-pass-git-helper/Makefile @@ -1,24 +1,22 @@ -# Created by: Emanuel Haupt - PORTNAME= pass-git-helper PORTVERSION= 1.2.0 DISTVERSIONPREFIX= v CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Git credential helper interfacing with pass LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} USES= python pytest USE_GITHUB= yes GH_ACCOUNT= languitar USE_PYTHON= autoplist concurrent distutils .include diff --git a/security/py-passlib/Makefile b/security/py-passlib/Makefile index 6e081071eb2d..2c89138b4503 100644 --- a/security/py-passlib/Makefile +++ b/security/py-passlib/Makefile @@ -1,32 +1,30 @@ -# Created by: Kubilay Kocak - PORTNAME= passlib PORTVERSION= 1.7.4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Comprehensive password hashing framework supporting over 30 schemes LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1:devel/py-nose@${PY_FLAVOR} # Python 2.6,3.3-3.8 USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes # A number of (bcrypt) tests are failing due to: # AssertionError: sanity check failed: 'os_crypt' backend supports $2b$ but has wraparound bug # See: # WRKSRC/passlib/handlers/bcrypt.py#306 # http://www.openwall.com/lists/oss-security/2012/01/02/4 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/security/py-pbkdf2/Makefile b/security/py-pbkdf2/Makefile index aebe5a5dc476..261340dedfb3 100644 --- a/security/py-pbkdf2/Makefile +++ b/security/py-pbkdf2/Makefile @@ -1,19 +1,17 @@ -# Created by: Neil Booth - PORTNAME= pbkdf2 PORTVERSION= 1.3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kyuupichan@gmail.com COMMENT= PKCS5 v2.0 PBKDF2 Module LICENSE= MIT USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/security/py-pgpdump/Makefile b/security/py-pgpdump/Makefile index c9beaa8de294..dcc668f007e2 100644 --- a/security/py-pgpdump/Makefile +++ b/security/py-pgpdump/Makefile @@ -1,18 +1,16 @@ -# Created by: Yuri Victorovich - PORTNAME= pgpdump PORTVERSION= 1.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python library for parsing PGP packets LICENSE= BSD2CLAUSE NO_ARCH= yes USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-plaso/Makefile b/security/py-plaso/Makefile index 313923c378df..652aff920094 100644 --- a/security/py-plaso/Makefile +++ b/security/py-plaso/Makefile @@ -1,73 +1,71 @@ -# Created by: Antoine Brodin - PORTNAME= plaso PORTVERSION= 20210606 CATEGORIES= security python MASTER_SITES= https://github.com/log2timeline/plaso/releases/download/${PORTVERSION}/ \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Automatic creation of a super timeline LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= libesedb>=e:devel/libesedb \ libevt>=a:devel/libevt \ libevtx>=a:devel/libevtx \ libfwsi>=e:devel/libfwsi \ liblnk>=0:devel/liblnk \ libmsiecf>=a:devel/libmsiecf \ libolecf>=a:devel/libolecf \ libregf>=a:devel/libregf \ libscca>=a:devel/libscca \ libsigscan>=e:devel/libsigscan \ ${PYTHON_PKGNAMEPREFIX}artifacts>=0:security/py-artifacts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bencode.py>=0:converters/py-bencode.py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}biplist>=0:devel/py-biplist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfvfs>=0:security/py-dfvfs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dfwinreg>=0:security/py-dfwinreg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}elasticsearch>=0:textproc/py-elasticsearch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lz4>=0:archivers/py-lz4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pefile>=0:devel/py-pefile@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0:textproc/py-xlsxwriter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yara>=0:security/py-yara@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fakeredis>=0:databases/py-fakeredis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ redis-server:databases/redis \ ca_root_nss>=0:security/ca_root_nss USES= python:3.5+ USE_LOCALE= en_US.UTF-8 USE_PYTHON= distutils autoplist concurrent EXTRACT_CMD= ${SETENV} LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} ${TAR} NO_ARCH= yes post-patch: ${REINPLACE_CMD} "s|'share', 'artifacts'|'share', '${PYTHON_PKGNAMEPREFIX}artifacts'|" \ ${WRKSRC}/plaso/cli/helpers/artifact_definitions.py ${REINPLACE_CMD} "s|'share', 'plaso'|'share', '${PYTHON_PKGNAMEPREFIX}plaso'|" \ ${WRKSRC}/plaso/cli/helpers/data_location.py ${REINPLACE_CMD} "s|share/doc/plaso|${DOCSDIR_REL}| ; s|share/plaso|${DATADIR_REL}|" \ ${WRKSRC}/setup.py do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py) .include diff --git a/security/py-pwntools/Makefile b/security/py-pwntools/Makefile index b454a0b8828f..9ef8503d611b 100644 --- a/security/py-pwntools/Makefile +++ b/security/py-pwntools/Makefile @@ -1,40 +1,38 @@ -# Created by: Emanuel Haupt - PORTNAME= pwntools PORTVERSION= 4.8.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= CTF framework and exploit development library LICENSE= BSD2CLAUSE GPLv2 MIT LICENSE_COMB= multi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>=3.0.5rc2:devel/py-capstone@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colored-traceback>0:devel/py-colored-traceback@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}intervaltree>=3.0:devel/py-intervaltree@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mako>=1.0.0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paramiko>=1.15.2:security/py-paramiko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=6.0.8:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=3.3.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyelftools>=0.2.4:devel/py-pyelftools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.9:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyserial>=2.7:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ropgadget>0:security/py-ropgadget@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rpyc>0:devel/py-RPyC@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>0:devel/py-sortedcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unicorn>=1.0.2rc1:emulators/py-unicorn@${PY_FLAVOR} USES= python cpe USE_PYTHON= autoplist concurrent distutils CPE_VENDOR= pwntools_project .include diff --git a/security/py-pyaff4/Makefile b/security/py-pyaff4/Makefile index 68e9fc377894..82572a445329 100644 --- a/security/py-pyaff4/Makefile +++ b/security/py-pyaff4/Makefile @@ -1,27 +1,25 @@ -# Created by: antoine@FreeBSD.org - PORTNAME= pyaff4 DISTVERSION= 0.26.post6 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python Advanced Forensic Format Version 4 library LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-snappy>=0.5.1:archivers/py-python-snappy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rdflib>=4.2.2:textproc/py-rdflib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}intervaltree>=2.1.0:devel/py-intervaltree@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyblake2>=0.9.3:security/py-pyblake2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}expiringdict>=1.1.4:devel/py-expiringdict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} NO_ARCH= yes USES= python:3.6+ zip USE_PYTHON= distutils autoplist .include diff --git a/security/py-pyaxo/Makefile b/security/py-pyaxo/Makefile index dee9560429e6..024fa2e0dcb0 100644 --- a/security/py-pyaxo/Makefile +++ b/security/py-pyaxo/Makefile @@ -1,32 +1,30 @@ -# Created by: Yuri Victorovich - PORTNAME= pyaxo DISTVERSION= 0.8.2 PORTREVISION= 2 CATEGORIES= security net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python implementation of the Axolotl ratchet protocol LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.1:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e "/'pytest-runner',/d" ${WRKSRC}/setup.py do-test: @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs) .include diff --git a/security/py-pyclamd/Makefile b/security/py-pyclamd/Makefile index df01817d1ab1..54ddc8348549 100644 --- a/security/py-pyclamd/Makefile +++ b/security/py-pyclamd/Makefile @@ -1,18 +1,16 @@ -# Created by: Milan Obuch - PORTNAME= pyClamd PORTVERSION= 0.3.17 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bsd@dino.sk COMMENT= Python ClamD interface module LICENSE= LGPL3+ NO_ARCH= yes USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/py-pycrypto/Makefile b/security/py-pycrypto/Makefile index 8791a05141e4..ae3fe6e2b6a8 100644 --- a/security/py-pycrypto/Makefile +++ b/security/py-pycrypto/Makefile @@ -1,46 +1,44 @@ -# Created by: nbm - PORTNAME= pycrypto PORTVERSION= 2.6.1 PORTREVISION= 3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python Cryptography Toolkit LICENSE= PD LICENSE_FILE= ${WRKSRC}/COPYRIGHT DEPRECATED= Unmaintained, obsolete, and contains security vulnerabilities. Use security/py-pycryptodome instead EXPIRATION_DATE=2022-06-30 USES= cpe python:3.6-3.10 USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pycryptodome CPE_VENDOR= dlitz GNU_CONFIGURE= yes OPTIONS_DEFINE= GMP OPTIONS_DEFAULT= GMP GMP_DESC= Use GMP for faster DSA/RSA operations GMP_CONFIGURE_WITH= gmp GMP_CPPFLAGS= -I${LOCALBASE}/include GMP_LDFLAGS= -L${LOCALBASE}/lib GMP_LIB_DEPENDS= libgmp.so:math/gmp pre-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/*/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/security/py-pyelliptic/Makefile b/security/py-pyelliptic/Makefile index f6e546b5f4a0..71cc6612420a 100644 --- a/security/py-pyelliptic/Makefile +++ b/security/py-pyelliptic/Makefile @@ -1,23 +1,21 @@ -# Created by: Yuri Victorovich - PORTNAME= pyelliptic PORTVERSION= 2.0.1 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python OpenSSL wrapper LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes GH_ACCOUNT= radfish USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-pyhanko-certvalidator/Makefile b/security/py-pyhanko-certvalidator/Makefile index 6489ef05cf9f..ebcc86ba9d46 100644 --- a/security/py-pyhanko-certvalidator/Makefile +++ b/security/py-pyhanko-certvalidator/Makefile @@ -1,26 +1,24 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pyhanko-certvalidator PORTVERSION= 0.19.4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Validates X.509 certificates and paths LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.2.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oscrypto>=1.1.0:security/py-oscrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritools>=3.0.1:net/py-uritools@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-pylibacl/Makefile b/security/py-pylibacl/Makefile index b313fa63a74f..ebc72411efdc 100644 --- a/security/py-pylibacl/Makefile +++ b/security/py-pylibacl/Makefile @@ -1,26 +1,24 @@ -# Created by: joris - PORTNAME= pylibacl PORTVERSION= 0.5.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= joris.dedieu@gmail.com COMMENT= Manipulate ACL with Python LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/security/py-pymacaroons/Makefile b/security/py-pymacaroons/Makefile index fcaaebfe7cc0..6256f0191150 100644 --- a/security/py-pymacaroons/Makefile +++ b/security/py-pymacaroons/Makefile @@ -1,23 +1,21 @@ -# Created by: Brendan Molloy - PORTNAME= pymacaroons PORTVERSION= 0.13.0 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Macaroon library for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=1.1.2<2.0:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-pynacl/Makefile b/security/py-pynacl/Makefile index 6c59c0ccb419..c492e2119430 100644 --- a/security/py-pynacl/Makefile +++ b/security/py-pynacl/Makefile @@ -1,37 +1,35 @@ -# Created by: Yuri Victorovich - PORTNAME= pynacl DISTVERSION= 1.5.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyNaCl-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Python binding to the Networking and Cryptography library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.29.0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.4.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.27.0:devel/py-hypothesis@${PY_FLAVOR} USES= python:3.6+ localbase USE_PYTHON= autoplist distutils OPTIONS_DEFINE= BUNDLED_NACL BUNDLED_NACL_DESC= Use bundled NaCl version BUNDLED_NACL_LIB_DEPENDS_OFF= libsodium.so:security/libsodium BUNDLED_NACL_MAKE_ENV_OFF= SODIUM_INSTALL=system post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium*.so do-test: # tests fail: https://github.com/pyca/pynacl/issues/747 @cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs tests .include diff --git a/security/py-pyotp2289/Makefile b/security/py-pyotp2289/Makefile index 4d60078fb136..5744cb4dcf14 100644 --- a/security/py-pyotp2289/Makefile +++ b/security/py-pyotp2289/Makefile @@ -1,25 +1,23 @@ -# Created by: Simeon Simeonov - PORTNAME= pyotp2289 PORTVERSION= 1.1.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sgs@pichove.org COMMENT= Pure Python implementation of RFC-2289 - "A One-Time Password System" LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest .include diff --git a/security/py-pysaml2/Makefile b/security/py-pysaml2/Makefile index 3039b4902512..4e121f67214b 100644 --- a/security/py-pysaml2/Makefile +++ b/security/py-pysaml2/Makefile @@ -1,47 +1,45 @@ -# Created by: Brendan Molloy - PORTNAME= pysaml2 PORTVERSION= 7.1.2 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlschema>=1.2.1:textproc/py-xmlschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} USES= cpe python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= pysaml2_project .include .if ${PYTHON_REL} < 30900 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} .endif do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pysaml24/Makefile b/security/py-pysaml24/Makefile index 2162039b9042..229aa9a999e9 100644 --- a/security/py-pysaml24/Makefile +++ b/security/py-pysaml24/Makefile @@ -1,44 +1,42 @@ -# Created by: Brendan Molloy - PORTNAME= pysaml2 PORTVERSION= 4.9.0 PORTREVISION= 1 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 4 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} USES= cpe python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= pysaml2_project PORTSCOUT= limit:^4\. do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pysaml26/Makefile b/security/py-pysaml26/Makefile index 38c092a301d9..9fdd5e6de66c 100644 --- a/security/py-pysaml26/Makefile +++ b/security/py-pysaml26/Makefile @@ -1,45 +1,43 @@ -# Created by: Brendan Molloy - PORTNAME= pysaml2 PORTVERSION= 6.5.2 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 6 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python implementation of SAML Version 2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}repoze.who>=0:devel/py-repoze.who@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlschema>=1.2.1:textproc/py-xmlschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR} \ xmlsec1:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR} USES= cpe python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= pysaml2_project PORTSCOUT= limit:^6\. do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/security/py-pyscard/Makefile b/security/py-pyscard/Makefile index 16a6363944a2..942e2062b9bc 100644 --- a/security/py-pyscard/Makefile +++ b/security/py-pyscard/Makefile @@ -1,29 +1,27 @@ -# Created by: mp39590@gmail.com - PORTNAME= pyscard PORTVERSION= 2.0.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mp39590@gmail.com COMMENT= Smartcard module for Python LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= swig:devel/swig \ pcsc-lite>0:devel/pcsc-lite RUN_DEPENDS= pcsc-lite>0:devel/pcsc-lite ## Python3 is supported USES= python:3.6+ USE_PYTHON= autoplist distutils PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard*.so .include diff --git a/security/py-pysha3/Makefile b/security/py-pysha3/Makefile index c4ad5c3ca7bc..09008c2dfec1 100644 --- a/security/py-pysha3/Makefile +++ b/security/py-pysha3/Makefile @@ -1,27 +1,25 @@ -# Created by: Kubilay Kocak - PORTNAME= pysha3 DISTVERSION= 1.0.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= SHA-3 (Keccak) for Python LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_mips64= fails to compile: KeccakP-1600-opt64.c: error: Not yet implemented # Actually Python 2.7,3.4+ USES= python:3.6+ USE_PYTHON= autoplist distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pysha3*.so do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/security/py-pysodium/Makefile b/security/py-pysodium/Makefile index 16a126b253fe..74675b719bbe 100644 --- a/security/py-pysodium/Makefile +++ b/security/py-pysodium/Makefile @@ -1,22 +1,20 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pysodium PORTVERSION= 0.7.12 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Wrapper for libsodium providing high level crypto primitives LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsodium.so:security/libsodium USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-pyspnego/Makefile b/security/py-pyspnego/Makefile index cbcc87c6c617..bbc8c6200ce7 100644 --- a/security/py-pyspnego/Makefile +++ b/security/py-pyspnego/Makefile @@ -1,30 +1,28 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pyspnego PORTVERSION= 0.5.3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Windows Negotiate Authentication Client and Server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= KERBEROS YAML KERBEROS_DESC= Kerberos authentication support YAML_DESC= YAML output support KERBEROS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.5.0:security/py-gssapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}krb5>=0.3.0:security/py-krb5@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR} .include diff --git a/security/py-python-gnupg/Makefile b/security/py-python-gnupg/Makefile index 90fc7183733d..a5c9daa09c7c 100644 --- a/security/py-python-gnupg/Makefile +++ b/security/py-python-gnupg/Makefile @@ -1,26 +1,24 @@ -# Created by: Christer Edwards - PORTNAME= python-gnupg DISTVERSION= 0.4.7 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= christer.edwards@gmail.com COMMENT= Python wrapper for the GNU Privacy Guard (GPG or GnuPG) LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0.15.2:devel/py-coverage@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: @(cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} test_gnupg.py --no-doctests) @(cd ${WRKSRC} && ${SETENV} coverage-${PYTHON_VER} run test_gnupg.py --no-doctests) .include diff --git a/security/py-python-jose/Makefile b/security/py-python-jose/Makefile index b8d9e1eb3a01..1c40a224c31a 100644 --- a/security/py-python-jose/Makefile +++ b/security/py-python-jose/Makefile @@ -1,25 +1,23 @@ -# Created by: Dan Langille - PORTNAME= python-jose PORTVERSION= 3.3.0 CATEGORIES= security MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Client SDK for TIP API which require Authentication Tokens LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>0:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rsa>0:security/py-rsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/py-python-openid/Makefile b/security/py-python-openid/Makefile index 7a0e5add357b..a643b3b729d9 100644 --- a/security/py-python-openid/Makefile +++ b/security/py-python-openid/Makefile @@ -1,20 +1,18 @@ -# Created by: Cheng-Lung Sung - PORTNAME= python-openid PORTVERSION= 2.2.5 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rm@FreeBSD.org COMMENT= Python OpenID version LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE NO_ARCH= yes USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-python-pkcs11/Makefile b/security/py-python-pkcs11/Makefile index 30a549a9cdb1..8fd26d97e957 100644 --- a/security/py-python-pkcs11/Makefile +++ b/security/py-python-pkcs11/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= python-pkcs11 PORTVERSION= 0.7.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= PKCS\#11 (Cryptoki) support for Python LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent cython distutils .include diff --git a/security/py-python-registry/Makefile b/security/py-python-registry/Makefile index a0eb09c1cdca..480aea19b570 100644 --- a/security/py-python-registry/Makefile +++ b/security/py-python-registry/Makefile @@ -1,40 +1,38 @@ -# Created by: Antoine Brodin - PORTNAME= python-registry PORTVERSION= 1.4 CATEGORIES= security devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Read access to Windows Registry files LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum-compat>=0:devel/py-enum-compat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unicodecsv>=0:devel/py-unicodecsv@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= williballenthin NO_ARCH= yes USES= python:3.6+ shebangfix USE_PYTHON= distutils autoplist concurrent SHEBANG_FILES= samples/*.py python_OLD_CMD= .* OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \ ${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/py-python3-openid/Makefile b/security/py-python3-openid/Makefile index 9baa6d702095..f8360f195e2d 100644 --- a/security/py-python3-openid/Makefile +++ b/security/py-python3-openid/Makefile @@ -1,30 +1,28 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= python3-openid PORTVERSION= 3.2.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python 3 port of the python-openid library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} USES= python:3.4+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= MYSQL POSTGRESQL MYSQL_DESC= MySQL support POSTGRESQL_DESC=PostgreSQL support MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysql-connector-python>=0:databases/py-mysql-connector-python@${PY_FLAVOR} POSTGRESQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} .include diff --git a/security/py-python3-saml/Makefile b/security/py-python3-saml/Makefile index 51a00839aac6..9cbe2efbc4b0 100644 --- a/security/py-python3-saml/Makefile +++ b/security/py-python3-saml/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= python3-saml PORTVERSION= 1.14.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add SAML support to your Python software LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xmlsec>=1.3.9:security/py-xmlsec@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-requests-kerberos/Makefile b/security/py-requests-kerberos/Makefile index ee6c03bcafd8..367dbc52d04f 100644 --- a/security/py-requests-kerberos/Makefile +++ b/security/py-requests-kerberos/Makefile @@ -1,23 +1,21 @@ -# Created by: Dan Langille - PORTNAME= requests-kerberos PORTVERSION= 0.14.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Kerberos authentication handler for python-requests LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>1.1.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}kerberos>1.1.1:security/py-kerberos@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include diff --git a/security/py-ropgadget/Makefile b/security/py-ropgadget/Makefile index 82b15ed36958..a7cecacd7e52 100644 --- a/security/py-ropgadget/Makefile +++ b/security/py-ropgadget/Makefile @@ -1,20 +1,18 @@ -# Created by: Emanuel Haupt - PORTNAME= ropgadget PORTVERSION= 6.8 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ROPGadget-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Tool to search gadgets to facilitate ROP exploitation LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>=4.0.1:devel/py-capstone@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-rsa/Makefile b/security/py-rsa/Makefile index 605b96ebe833..d4c9c497965f 100644 --- a/security/py-rsa/Makefile +++ b/security/py-rsa/Makefile @@ -1,24 +1,22 @@ -# Created by: Kubilay Kocak - PORTNAME= rsa PORTVERSION= 4.8 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure-Python RSA implementation LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.3:devel/py-pyasn1@${PY_FLAVOR} USES= cpe python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CPE_VENDOR= python .include diff --git a/security/py-safe/Makefile b/security/py-safe/Makefile index fceccc177dd5..a161d745afdf 100644 --- a/security/py-safe/Makefile +++ b/security/py-safe/Makefile @@ -1,19 +1,17 @@ -# Created by: andrej@ebert.su - PORTNAME= safe PORTVERSION= 0.4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Safe-${PORTVERSION} MAINTAINER= andrej@ebert.su COMMENT= Python library to test password strength LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist distutils .include diff --git a/security/py-scrypt/Makefile b/security/py-scrypt/Makefile index 1beb80a6284b..9b6ed2234e55 100644 --- a/security/py-scrypt/Makefile +++ b/security/py-scrypt/Makefile @@ -1,23 +1,21 @@ -# Created by: Yuri Victorovich - PORTNAME= scrypt DISTVERSION= 0.8.20 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Bindings for the scrypt key derivation function library LICENSE= BSD2CLAUSE USES= python:3.6+ ssl USE_PYTHON= autoplist distutils post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_scrypt*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/security/py-service_identity/Makefile b/security/py-service_identity/Makefile index b0ef2d9c18e5..834a79648c4f 100644 --- a/security/py-service_identity/Makefile +++ b/security/py-service_identity/Makefile @@ -1,25 +1,23 @@ -# Created by: Axel Rau - PORTNAME= service_identity PORTVERSION= 18.1.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= axel.rau@chaos1.de COMMENT= Service identity verification for pyOpenSSL LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=16.0.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/security/py-signedjson/Makefile b/security/py-signedjson/Makefile index 6dd73ee4d8fe..8aeb2cdad14b 100644 --- a/security/py-signedjson/Makefile +++ b/security/py-signedjson/Makefile @@ -1,32 +1,30 @@ -# Created by: Brendan Molloy - PORTNAME= signedjson PORTVERSION= 1.1.4 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sign JSON with Ed25519 signatures LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.0.0:devel/py-canonicaljson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.0.1:devel/py-unpaddedbase64@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include .if ${PYTHON_REL} < 30800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.5:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/security/py-sshpubkeys/Makefile b/security/py-sshpubkeys/Makefile index f14b73f723f0..19d2f69c5b18 100644 --- a/security/py-sshpubkeys/Makefile +++ b/security/py-sshpubkeys/Makefile @@ -1,22 +1,20 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= sshpubkeys PORTVERSION= 3.3.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= SSH public key parser LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.1.4:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.13:security/py-ecdsa@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-sslyze/Makefile b/security/py-sslyze/Makefile index 82bc7d3fb1d5..43b1198565aa 100644 --- a/security/py-sslyze/Makefile +++ b/security/py-sslyze/Makefile @@ -1,28 +1,26 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= sslyze PORTVERSION= 5.0.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast and powerful SSL/TLS scanning library LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<38.0.0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nassl>=4.0.1<5.0.0:security/py-nassl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic>=1.7<1.10:devel/py-pydantic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tls-parser>=2.0.0<3.0.0:security/py-tls-parser@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/sslyze/plugins/openssl_cipher_suites/_tls12_workaround.py .include diff --git a/security/py-stem/Makefile b/security/py-stem/Makefile index d858aaac2b44..80bde3cc27c7 100644 --- a/security/py-stem/Makefile +++ b/security/py-stem/Makefile @@ -1,30 +1,28 @@ -# Created by: Carlo Strub - PORTNAME= stem PORTVERSION= 1.8.0 CATEGORIES= security net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Python controller library for Tor LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Depends on expired security/py-pycrypto EXPIRATION_DATE=2022-09-30 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py -a .include diff --git a/security/py-stix/Makefile b/security/py-stix/Makefile index 4263ce35f797..17d213cd8737 100644 --- a/security/py-stix/Makefile +++ b/security/py-stix/Makefile @@ -1,46 +1,44 @@ -# Created by: Antoine Brodin - PORTNAME= stix PORTVERSION= 1.2.0.11 DISTVERSIONPREFIX= v CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python library for parsing, manipulating, and generating STIX content LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=2.3:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cybox>=2.1.0.13:security/py-cybox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mixbox>=1.0.2:security/py-mixbox@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}maec>=4.1.0.13:security/py-maec@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= STIXProject GH_PROJECT= python-${PORTNAME} NO_ARCH= yes USES= python:3.6+ USE_PYTHON= concurrent distutils autoplist PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER}) .include diff --git a/security/py-tinyaes/Makefile b/security/py-tinyaes/Makefile index 700008fb46cb..ba6bc91b8c8c 100644 --- a/security/py-tinyaes/Makefile +++ b/security/py-tinyaes/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= tinyaes PORTVERSION= 1.0.3 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tiny-AES-c wrapper in Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python:3.7+ USE_PYTHON= autoplist concurrent cython distutils post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-tls-parser/Makefile b/security/py-tls-parser/Makefile index fcfa9dc2ef55..64ce3a753a7d 100644 --- a/security/py-tls-parser/Makefile +++ b/security/py-tls-parser/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= tls-parser PORTVERSION= 2.0.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= tls_parser-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Small library to parse TLS records LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-tlslite-ng/Makefile b/security/py-tlslite-ng/Makefile index 3c45f1851862..2c56e6bacb2b 100644 --- a/security/py-tlslite-ng/Makefile +++ b/security/py-tlslite-ng/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= tlslite-ng PORTVERSION= 0.7.6 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure python implementation of SSL and TLS LICENSE= BSD3CLAUSE LGPL21 PD LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR} USES= python:3.3+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-tlslite/Makefile b/security/py-tlslite/Makefile index d8f4f64a86f5..089d6199b81e 100644 --- a/security/py-tlslite/Makefile +++ b/security/py-tlslite/Makefile @@ -1,17 +1,15 @@ -# Created by: Alexander Botero-Lowry - PORTNAME= tlslite PORTVERSION= 0.4.9 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Python module implementing SSL 3.0, TLS 1.0, and TLS 1.1 USES= cpe python:3.6+ CPE_VENDOR= ${PORTNAME}_project USE_PYTHON= distutils autoplist .include diff --git a/security/py-trezor/Makefile b/security/py-trezor/Makefile index c1669403b8c0..300ca858f19e 100644 --- a/security/py-trezor/Makefile +++ b/security/py-trezor/Makefile @@ -1,33 +1,31 @@ -# Created by: Emanuel Haupt - PORTNAME= trezor PORTVERSION= 0.13.3 CATEGORIES= security MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Client side implementation for TREZOR Bitcoin hardware wallets LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= protoc:devel/protobuf \ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}construct>=2.9:devel/py-construct@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.9:security/py-ecdsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hidapi>=0.7.99.post20:comms/py-hidapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mnemonic>=0.20:security/py-mnemonic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyblake2>=0.9.3:security/py-pyblake2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.4.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libusb1>=1.6.4:devel/py-libusb1@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-tuf/Makefile b/security/py-tuf/Makefile index 0b12568ae617..bad372437c9a 100644 --- a/security/py-tuf/Makefile +++ b/security/py-tuf/Makefile @@ -1,30 +1,28 @@ -# Created by: Kubilay Kocak - PORTNAME= tuf PORTVERSION= 1.1.0 CATEGORIES= security devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Framework for securing software update systems LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.19.1:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}securesystemslib>=0.22.0:security/py-securesystemslib@${PY_FLAVOR} USES= pytest python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PYTEST_BROKEN_TESTS= test_cleanup TestRepoExamples # uses files missing from pypi distribution post-patch: @${RM} ${WRKSRC}/pyproject.toml .include diff --git a/security/py-txtorcon/Makefile b/security/py-txtorcon/Makefile index ef2db5a95d30..8d80ce48ee0b 100644 --- a/security/py-txtorcon/Makefile +++ b/security/py-txtorcon/Makefile @@ -1,47 +1,45 @@ -# Created by: Yuri Victorovich - PORTNAME= txtorcon DISTVERSION= 22.0.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Twisted-based Tor controller client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}Automat>0:devel/py-Automat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=15.5.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.1:devel/py-zope.interface@${PY_FLAVOR} USES= python:3.6+ shebangfix USE_PYTHON= distutils autoplist SHEBANG_FILES= examples/*.py NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e " \ s|'share/txtorcon'|'${DOCSDIR}'| ; \ s|'share/txtorcon/examples'|'${EXAMPLESDIR}'|" \ ${WRKSRC}/setup.py post-patch-DOCS-off: @${REINPLACE_CMD} -E " \ s|(.*'${DOCSDIR}'.*)|#\1| ; \ s|(.*'docs/.*',$$)|#\1| ; \ s|(.*\+ sphinx_docs.*)|#\1|" \ ${WRKSRC}/setup.py post-patch-EXAMPLES-off: @${REINPLACE_CMD} -E "s|(.*'${EXAMPLESDIR}'.*)|#\1|" ${WRKSRC}/setup.py .include diff --git a/security/py-uhashring/Makefile b/security/py-uhashring/Makefile index 063b67bdf6e0..02d7cdaea9cd 100644 --- a/security/py-uhashring/Makefile +++ b/security/py-uhashring/Makefile @@ -1,20 +1,18 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= uhashring PORTVERSION= 2.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Full featured consistent hashing python library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-virustotal-api/Makefile b/security/py-virustotal-api/Makefile index 2005fa0a7f38..005c2056ab2d 100644 --- a/security/py-virustotal-api/Makefile +++ b/security/py-virustotal-api/Makefile @@ -1,17 +1,15 @@ -# Created by: Dan Langille - PORTNAME= virustotal-api PORTVERSION= 1.1.11 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Virus Total Public/Private/Intel API LICENSE= MIT USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/py-webauthn/Makefile b/security/py-webauthn/Makefile index 01817a19e431..9d7a8400927a 100644 --- a/security/py-webauthn/Makefile +++ b/security/py-webauthn/Makefile @@ -1,30 +1,28 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= webauthn PORTVERSION= 1.2.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= WebAuthn Python module LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.24.0:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=21.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cattrs>=1.8.0:devel/py-cattrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cbor2>=4.0.1:devel/py-cbor2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=3.4.7:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=20.0.1,1:security/py-openssl@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v .include diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile index 2f7e1bf6768b..ed7657b6f878 100644 --- a/security/py-xmlsec/Makefile +++ b/security/py-xmlsec/Makefile @@ -1,36 +1,34 @@ -# Created by: ijliao - PORTNAME= xmlsec PORTVERSION= 1.3.12 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Python bindings for XML Security Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.8.0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= libltdl.so:devel/libltdl \ libxmlsec1-nss.so:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} USES= gnome pkgconfig python:3.6+ USE_GNOME= libxml2 libxslt USE_PYTHON= autoplist distutils flavors INSTALL_TARGET= install-strip post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xmlsec*.so do-test: @cd ${WRKSRC} && ${LOCALBASE}/bin/pytest-${PYTHON_VER} tests .include diff --git a/security/py-yara-python-dex/Makefile b/security/py-yara-python-dex/Makefile index e4149e2ea47f..d7cb6254abb3 100644 --- a/security/py-yara-python-dex/Makefile +++ b/security/py-yara-python-dex/Makefile @@ -1,31 +1,29 @@ -# Created by: thierry@pompo.net - PORTNAME= yara-python-dex PORTVERSION= 1.0.3 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Prebuilt dex-enabled yara-python wheels LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= MobSF VirusTotal:yp VirusTotal:yp2 GH_PROJECT= yara-python:yp yara:yp2 GH_TAGNAME= 188cb6e85137f715fef563f61c6b4f21ad026562:yp \ ed1a1a430c64cf908b61a5fadc3958866a840bc6:yp2 GH_SUBDIR= yara-python:yp yara-python/yara:yp2 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara USES= python:3.7+ ssl USE_PYTHON= distutils .if !defined(WITH_DEBUG) LDFLAGS+= -s .endif PLIST_FILES= %%PYTHON_SITELIBDIR%%/yara%%PYTHON_EXT_SUFFIX%%.so .include diff --git a/security/quantis-kmod/Makefile b/security/quantis-kmod/Makefile index ac2880affc42..bef42cf29825 100644 --- a/security/quantis-kmod/Makefile +++ b/security/quantis-kmod/Makefile @@ -1,25 +1,23 @@ -# Created by: Alex Dupre - PORTNAME= quantis DISTVERSION= v18.03.08 CATEGORIES= security MASTER_SITES= https://www.idquantique.com/wordpress/wp-content/uploads/ PKGNAMESUFFIX= -kmod DISTNAME= Quantis-${DISTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Kernel driver for Quantis PCI/PCIe random number generator LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKDIR}/Quantis-${DISTVERSION}/License.txt USES= kmod uidfix zip:infozip EXTRACT_BEFORE_ARGS= -aqo WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Drivers/Unix/QuantisPci PLIST_FILES= ${KMODDIR}/quantis.ko .include diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index 062c6fe93250..606dc1aca48a 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -1,68 +1,66 @@ -# Created by: sumikawa - PORTNAME= racoon2 PORTVERSION= ${RACOON2_COMMIT_DATE} PORTREVISION= 1 CATEGORIES= security net HASH= 7ee335e RACOON2_COMMIT_DATE=202000908 MAINTAINER= cy@FreeBSD.org COMMENT= Racoon2 IPsec daemon CONFLICTS= racoon2-legacy USE_GITHUB= yes GH_ACCOUNT= zoulasc GH_TAGNAME= ${HASH} USES= autoreconf libtool:build perl5 tar:tgz ssl CONFIGURE_ARGS+= --enable-natt \ --prefix=${STAGEDIR}/${PREFIX} GNU_CONFIGURE= yes CONFIGURE_ENV= YACC=/usr/bin/yacc perl_bindir=${LOCALBASE}/bin/perl \ STAGEDIR=${STAGEDIR} PREFIX=${PREFIX} MAKE_ENV= STAGEDIR=${STAGEDIR} PREFIX=${PREFIX} CFLAGS= -DHAVE_CONFIG_H OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS .include .if ${PORT_OPTIONS:MDOCS} PORTDOCS+= INSTALL USAGE config-usage.ja.txt config-usage.txt PORTDOCS+= iked-memo.ja.txt libracoon.ja.txt specification.ja.txt PORTDOCS+= spmif.txt style.txt system-message.ja.txt .endif post-patch: # @${REINPLACE_CMD} 's|/var/run/racoon2|$$(STAGEDIR)&|' \ ${WRKSRC}/samples/Makefile.in ${REINPLACE_CMD} 's|$$(sysconfdir)|${STAGEDIR}/${PREFIX}/etc|' ${WRKSRC}/samples/rc.d/Makefile.am @${LN} -sf ${LOCALBASE}/share/automake-1.16/ylwrap ${WRKSRC}/lib post-patch-DOCS-on: .for FILE in ${PORTDOCS} @${REINPLACE_CMD} -e 's|/usr/local/racoon2|${PREFIX}|' ${WRKSRC}/doc/${FILE} .endfor post-install: @if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \ ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \ ${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \ fi ; post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.jp ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/ratproxy/Makefile b/security/ratproxy/Makefile index c67c665f297b..c658c3979888 100644 --- a/security/ratproxy/Makefile +++ b/security/ratproxy/Makefile @@ -1,30 +1,28 @@ -# Created by: Steven Kreuzer - PORTNAME= ratproxy PORTVERSION= 1.58 CATEGORIES= security MASTER_SITES= ftp://ftp.bit.nl/openbsd/distfiles/ \ ftp://mirror.wdc1.us.leaseweb.net/gentoo/distfiles/ MAINTAINER= skreuzer@FreeBSD.org COMMENT= Semi-automated, largely passive web application security audit tool USES= shebangfix ssl CFLAGS+= -I${OPENSSLINC} -fcommon LDFLAGS+= -L${OPENSSLLIB} WRKSRC= ${WRKDIR}/${PORTNAME} SHEBANG_FILES= ratproxy-report.sh PLIST_FILES= bin/ratproxy \ bin/ratproxy-report.sh post-patch: @${REINPLACE_CMD} -e 's#-Wno-pointer-sign##g' \ -e "s|\(-lcrypto\)|${LDFLAGS} \1|g" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ratproxy ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ratproxy-report.sh ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/rats/Makefile b/security/rats/Makefile index ec33be9e49d8..70b768b48576 100644 --- a/security/rats/Makefile +++ b/security/rats/Makefile @@ -1,34 +1,32 @@ -# Created by: Kris Kennaway - PORTNAME= rats PORTVERSION= 2.4 CATEGORIES= security devel MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/ MAINTAINER= ports@FreeBSD.org COMMENT= Source code auditing tool LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 GNU_CONFIGURE= yes USES= gmake tar:tgz CONFIGURE_ARGS= --with-expat-lib=${LOCALBASE}/lib \ --with-expat-include=${LOCALBASE}/include/xml \ --datadir=${DATADIR} ALL_TARGET= ${PORTNAME} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \ ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/reop/Makefile b/security/reop/Makefile index 0d3b39abc123..217215f162ef 100644 --- a/security/reop/Makefile +++ b/security/reop/Makefile @@ -1,31 +1,29 @@ -# Created by: Kubilay Kocak - PORTNAME= reop PORTVERSION= 2.1.1 CATEGORIES= security MASTER_SITES= https://humungus.tedunangst.com/r/reop/d/ MAINTAINER= bofh@FreeBSD.org COMMENT= Reasonable Expectation Of Privacy LICENSE= ISCL LIB_DEPENDS= libsodium.so:security/libsodium USES= gmake tar:tgz MAKEFILE= GNUmakefile MAKE_ARGS+= CFLAGS+="-I${LOCALBASE}/include -Iother -Wno-pointer-sign" \ CPPFLAGS="-D_NSIG=NSIG" \ PREFIX="${STAGEDIR}${PREFIX}" PLIST_FILES= bin/reop \ man/man1/reop.1.gz do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/security/rhash/Makefile b/security/rhash/Makefile index 870f5a114148..c33389ca8c01 100644 --- a/security/rhash/Makefile +++ b/security/rhash/Makefile @@ -1,48 +1,46 @@ -# Created by: Alexey Dokuchaev - PORTNAME= rhash PORTVERSION= 1.4.3 CATEGORIES= security MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Utility and library for computing and checking of file hashes LICENSE= BSD0CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --mandir="${PREFIX}/man" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --enable-lib-static --enable-openssl-runtime \ --extra-cflags="${CFLAGS}" --extra-ldflags="${LDFLAGS}" INSTALL_TARGET= install install-lib-so-link install-pkg-config USES= cpe CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/RHash-${PORTVERSION} PORTDOCS= ChangeLog README.md OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext localbase:ldflags NLS_CONFIGURE_ON= --enable-gettext NLS_INSTALL_TARGET= install-gmo post-patch: @${REINPLACE_CMD} -e '/BYTE_ORDER/s,__,_,g' \ ${WRKSRC}/librhash/byte_order.h post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-test: cd ${WRKSRC}/tests && ${SH} test_rhash.sh --full --shared .include diff --git a/security/rifiuti2/Makefile b/security/rifiuti2/Makefile index 4b7cb0f6d95d..f70cc74dd7c3 100644 --- a/security/rifiuti2/Makefile +++ b/security/rifiuti2/Makefile @@ -1,32 +1,30 @@ -# Created by: antoine@FreeBSD.org - PORTNAME= rifiuti2 PORTVERSION= 0.7.0 CATEGORIES= security MASTER_SITES= https://github.com/abelcheung/rifiuti2/releases/download/${PORTVERSION}/ MAINTAINER= antoine@FreeBSD.org COMMENT= Tool for analyzing Windows recycle bin LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/docs/LICENSE.md USES= gettext gmake gnome localbase pkgconfig tar:xz USE_GNOME= glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/rifiuti \ bin/rifiuti-vista \ man/man1/rifiuti.1.gz \ man/man1/rifiuti-vista.1.gz \ share/locale/zh_HK/LC_MESSAGES/rifiuti2.mo PORTDOCS= NEWS.md README.md OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile index c16e2468c56b..6089011bb8ec 100644 --- a/security/rkhunter/Makefile +++ b/security/rkhunter/Makefile @@ -1,56 +1,54 @@ -# Created by: Radim Kolar - PORTNAME= rkhunter PORTVERSION= 1.4.6 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= lukasz@wasikowski.net COMMENT= Rootkit detection tool LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/files/LICENSE OPTIONS_DEFINE= LSOF NMAP DOCS OPTIONS_DEFAULT=LSOF RUN_DEPENDS+= p5-Digest-SHA1>=0:security/p5-Digest-SHA1 USES= perl5 shebangfix SHEBANG_FILES= files/check_modules.pl files/filehashsha.pl \ files/stat.pl NO_ARCH= yes NO_BUILD= yes SUB_FILES= 415.${PORTNAME} PORTDOCS= ACKNOWLEDGMENTS CHANGELOG FAQ LICENSE README LSOF_RUN_DEPENDS= lsof:sysutils/lsof NMAP_RUN_DEPENDS= nmap:security/nmap post-patch: @${REINPLACE_CMD} -i '' -e 's|{SHAREDIR}/man/man8|{PREFIX}/man/man8|g' \ ${WRKSRC}/installer.sh @${REINPLACE_CMD} -i '' -e 's|RKHPREFIX|${PREFIX}|g' \ ${WRKSRC}/files/${PORTNAME}.conf do-install: cd ${WRKSRC} && ./installer.sh --layout custom ${STAGEDIR}${PREFIX} --install ${INSTALL_MAN} ${WRKSRC}/files/${PORTNAME}.8 \ ${STAGEDIR}${MAN8PREFIX}/man/man8 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/security ${INSTALL_SCRIPT} ${WRKDIR}/415.${PORTNAME} ${STAGEDIR}${PREFIX}/etc/periodic/security @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${STAGEDIR}${DOCSDIR} @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf ${INSTALL_DATA} ${WRKSRC}/files/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${INSTALL_DATA} -m 640 ${WRKSRC}/files/programs_bad.dat ${STAGEDIR}${PREFIX}/var/lib/${PORTNAME}/db/programs_bad.dat.sample ${INSTALL_DATA} -m 640 ${WRKSRC}/files/mirrors.dat ${STAGEDIR}${PREFIX}/var/lib/${PORTNAME}/db/mirrors.dat.sample .for f in cn de en tr tr.utf8 zh zh.utf8 ja ${INSTALL_DATA} -m 640 ${WRKSRC}/files/i18n/${f} ${STAGEDIR}${PREFIX}/var/lib/${PORTNAME}/db/i18n/${f}.sample .endfor .include diff --git a/security/rubygem-acme-client/Makefile b/security/rubygem-acme-client/Makefile index 7493be5b32db..0b6f80acc926 100644 --- a/security/rubygem-acme-client/Makefile +++ b/security/rubygem-acme-client/Makefile @@ -1,25 +1,23 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= acme-client PORTVERSION= 2.0.11 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Client for the ACME protocol LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-faraday>=1.0<3.0.0:www/rubygem-faraday \ rubygem-faraday-retry1>=1.0<2:www/rubygem-faraday-retry1 USES= gem shebangfix USE_RUBY= yes NO_ARCH= yes SHEBANG_FILES= bin/setup .include diff --git a/security/rubygem-aes_key_wrap/Makefile b/security/rubygem-aes_key_wrap/Makefile index 9db22322b687..f785cc719d43 100644 --- a/security/rubygem-aes_key_wrap/Makefile +++ b/security/rubygem-aes_key_wrap/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= aes_key_wrap PORTVERSION= 1.1.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby implementation of AES Key Wrap LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem shebangfix USE_RUBY= yes NO_ARCH= yes SHEBANG_FILES= bin/setup .include diff --git a/security/rubygem-airbrussh/Makefile b/security/rubygem-airbrussh/Makefile index cf3a3f2f2446..d01392435241 100644 --- a/security/rubygem-airbrussh/Makefile +++ b/security/rubygem-airbrussh/Makefile @@ -1,23 +1,21 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= airbrussh PORTVERSION= 1.4.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Replacement log formatter for SSHKit LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-sshkit>=1.7.1:security/rubygem-sshkit USES= gem shebangfix USE_RUBY= yes NO_ARCH= yes SHEBANG_FILES= bin/setup .include diff --git a/security/rubygem-android_key_attestation/Makefile b/security/rubygem-android_key_attestation/Makefile index ef77b0125391..728e88e9dbf2 100644 --- a/security/rubygem-android_key_attestation/Makefile +++ b/security/rubygem-android_key_attestation/Makefile @@ -1,18 +1,16 @@ -# Created by: Matthias Fechner - PORTNAME= android_key_attestation PORTVERSION= 0.3.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Android key attestation verification LICENSE= MIT USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-attr_encrypted/Makefile b/security/rubygem-attr_encrypted/Makefile index 9652861e226f..0be3527a6c8e 100644 --- a/security/rubygem-attr_encrypted/Makefile +++ b/security/rubygem-attr_encrypted/Makefile @@ -1,20 +1,18 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= attr_encrypted PORTVERSION= 3.1.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Generates attr_accessors that encrypt and decrypt attributes LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE RUN_DEPENDS= rubygem-encryptor>=3.0.0:security/rubygem-encryptor NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-bcrypt/Makefile b/security/rubygem-bcrypt/Makefile index 20ea72b8e24e..a54ec6e66f47 100644 --- a/security/rubygem-bcrypt/Makefile +++ b/security/rubygem-bcrypt/Makefile @@ -1,17 +1,15 @@ -# Created by: Steve Wills - PORTNAME= bcrypt PORTVERSION= 3.1.18 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= OpenBSD bcrypt password hashing algorithm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gem USE_RUBY= yes .include diff --git a/security/rubygem-cose/Makefile b/security/rubygem-cose/Makefile index 792b6c3e7e77..a43daa5b15b1 100644 --- a/security/rubygem-cose/Makefile +++ b/security/rubygem-cose/Makefile @@ -1,22 +1,20 @@ -# Created by: Matthias Fechner - PORTNAME= cose PORTVERSION= 1.2.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Ruby implementation of RFC 8152 CBOR Object Signing and Encryption LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-cbor>=0.5.9<0.6:devel/rubygem-cbor \ rubygem-openssl-signature_algorithm>=1.0<2:security/rubygem-openssl-signature_algorithm USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-declarative_policy/Makefile b/security/rubygem-declarative_policy/Makefile index 1649e6b6b224..85a077adcb09 100644 --- a/security/rubygem-declarative_policy/Makefile +++ b/security/rubygem-declarative_policy/Makefile @@ -1,19 +1,17 @@ -# Created by: Matthias Fechner - PORTNAME= declarative_policy PORTVERSION= 1.1.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Authorization framework with a declarative DSL LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-devise-two-factor-rails5/Makefile b/security/rubygem-devise-two-factor-rails5/Makefile index f979a022306f..86ef967192ff 100644 --- a/security/rubygem-devise-two-factor-rails5/Makefile +++ b/security/rubygem-devise-two-factor-rails5/Makefile @@ -1,28 +1,26 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= devise-two-factor PORTVERSION= 4.0.2 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= -rails5 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Barebones two-factor authentication with Devise LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activesupport5>=0<7.1:devel/rubygem-activesupport5 \ rubygem-attr_encrypted>=1.3<4:security/rubygem-attr_encrypted \ rubygem-devise-rails5>=4.0<5:devel/rubygem-devise-rails5 \ rubygem-railties5>=0<7.1:www/rubygem-railties5 \ rubygem-rotp>=6.0<7:devel/rubygem-rotp USES= gem USE_RUBY= yes NO_ARCH= yes PORTSCOUT= limit:^4\. .include diff --git a/security/rubygem-devise-two-factor-rails61/Makefile b/security/rubygem-devise-two-factor-rails61/Makefile index d1674929d6c7..126e124dc0e5 100644 --- a/security/rubygem-devise-two-factor-rails61/Makefile +++ b/security/rubygem-devise-two-factor-rails61/Makefile @@ -1,26 +1,24 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= devise-two-factor PORTVERSION= 4.0.2 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= -rails61 MAINTAINER= mfechner@FreeBSD.org COMMENT= Barebones two-factor authentication with Devise LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activesupport61>=0<7.1:devel/rubygem-activesupport61 \ rubygem-attr_encrypted>=3<4:security/rubygem-attr_encrypted \ rubygem-devise-rails61>=4.0<5:devel/rubygem-devise-rails61 \ rubygem-railties61>=0<7.1:www/rubygem-railties61 \ rubygem-rotp>=6.0<7:devel/rubygem-rotp USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-devise-two-factor/Makefile b/security/rubygem-devise-two-factor/Makefile index 2bc4f3a1cf3b..abc3bca336ce 100644 --- a/security/rubygem-devise-two-factor/Makefile +++ b/security/rubygem-devise-two-factor/Makefile @@ -1,27 +1,25 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= devise-two-factor PORTVERSION= 4.0.2 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Barebones two-factor authentication with Devise LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activesupport50>=0<7.1:devel/rubygem-activesupport50 \ rubygem-attr_encrypted>=1.3<4:security/rubygem-attr_encrypted \ rubygem-devise>=4.0<5:devel/rubygem-devise \ rubygem-railties50>=0<7.1:www/rubygem-railties50 \ rubygem-rotp>=6.0<7:devel/rubygem-rotp USES= gem USE_RUBY= yes NO_ARCH= yes PORTSCOUT= limit:^4\. .include diff --git a/security/rubygem-digest/Makefile b/security/rubygem-digest/Makefile index eb47f2fff158..707841c4e2e0 100644 --- a/security/rubygem-digest/Makefile +++ b/security/rubygem-digest/Makefile @@ -1,18 +1,16 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= digest PORTVERSION= 3.1.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Framework for message digest libraries LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt USES= gem USE_RUBY= yes .include diff --git a/security/rubygem-ed25519/Makefile b/security/rubygem-ed25519/Makefile index 8efc59bfdaf6..ecd8e4f255c3 100644 --- a/security/rubygem-ed25519/Makefile +++ b/security/rubygem-ed25519/Makefile @@ -1,17 +1,15 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= ed25519 PORTVERSION= 1.3.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby binding to the Ed25519 (RFC 8032) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes .include diff --git a/security/rubygem-ed2551912/Makefile b/security/rubygem-ed2551912/Makefile index 9ee259dea817..8eaf7f960546 100644 --- a/security/rubygem-ed2551912/Makefile +++ b/security/rubygem-ed2551912/Makefile @@ -1,20 +1,18 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= ed25519 PORTVERSION= 1.2.4 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= 12 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby binding to the Ed25519 (RFC 8032) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes PORTSCOUT= limit:^1\.2\. .include diff --git a/security/rubygem-encryptor/Makefile b/security/rubygem-encryptor/Makefile index 6c3ddee1a438..547edc55bb5d 100644 --- a/security/rubygem-encryptor/Makefile +++ b/security/rubygem-encryptor/Makefile @@ -1,18 +1,16 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= encryptor PORTVERSION= 3.0.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Wrapper for the standard ruby OpenSSL library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-ezcrypto/Makefile b/security/rubygem-ezcrypto/Makefile index e6c040926f14..7058768dfe16 100644 --- a/security/rubygem-ezcrypto/Makefile +++ b/security/rubygem-ezcrypto/Makefile @@ -1,23 +1,21 @@ -# Created by: Steven Kreuzer - PORTNAME= ezcrypto PORTVERSION= 0.7.2 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= skreuzer@FreeBSD.org COMMENT= Wrapper for the poorly documented OpenSSL ruby library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|"test/store".freeze, ||' ${WRKSRC}/${GEMSPEC} .include diff --git a/security/rubygem-googleauth/Makefile b/security/rubygem-googleauth/Makefile index c6364d8aceec..0086f0a89b16 100644 --- a/security/rubygem-googleauth/Makefile +++ b/security/rubygem-googleauth/Makefile @@ -1,26 +1,24 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= googleauth PORTVERSION= 1.2.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Google Auth Library for Ruby LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-faraday>=0.17.3<3.0:www/rubygem-faraday \ rubygem-jwt>=1.4<3.0:www/rubygem-jwt \ rubygem-memoist>=0.16<1:devel/rubygem-memoist \ rubygem-multi_json>=1.11<2:devel/rubygem-multi_json \ rubygem-os>=0.9<2.0:devel/rubygem-os \ rubygem-signet>=0.16<2:security/rubygem-signet USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-gpgme/Makefile b/security/rubygem-gpgme/Makefile index ee74cc85f2b5..4733e4d0be93 100644 --- a/security/rubygem-gpgme/Makefile +++ b/security/rubygem-gpgme/Makefile @@ -1,28 +1,26 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= gpgme PORTVERSION= 2.0.20 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby interface to GnuPG Made Easy (GPGME) LICENSE= LGPL21+ BUILD_DEPENDS= gpgme-config:security/gpgme LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= gpgme-config:security/gpgme USES= gem shebangfix USE_RUBY= yes CONFIGURE_ARGS= --use-system-libraries SHEBANG_FILES= test/pinentry post-patch: @${REINPLACE_CMD} -e '/mini_portile2/d' ${WRKSRC}/gpgme.gemspec ${WRKSRC}/ext/gpgme/extconf.rb .include diff --git a/security/rubygem-gpgr/Makefile b/security/rubygem-gpgr/Makefile index aebb952b8eb9..735eb146c9cb 100644 --- a/security/rubygem-gpgr/Makefile +++ b/security/rubygem-gpgr/Makefile @@ -1,20 +1,18 @@ -# Created by: Greg Larkin - PORTNAME= gpgr PORTVERSION= 0.1.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Very light interface to the command-line GPG tool LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= gpg:security/gnupg NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-gssapi/Makefile b/security/rubygem-gssapi/Makefile index 2af8dc749a0c..ffc0991931c1 100644 --- a/security/rubygem-gssapi/Makefile +++ b/security/rubygem-gssapi/Makefile @@ -1,20 +1,18 @@ -# Created by: Joseph Benden - PORTNAME= gssapi PORTVERSION= 1.3.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= joe@thrallingpenguin.com COMMENT= Ruby FFI Library wrapper for GSSAPI LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= rubygem-ffi>=1.0.1:devel/rubygem-ffi NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-lockbox/Makefile b/security/rubygem-lockbox/Makefile index 707224301fa5..a9df4dbe22f3 100644 --- a/security/rubygem-lockbox/Makefile +++ b/security/rubygem-lockbox/Makefile @@ -1,19 +1,17 @@ -# Created by: Matthias Fechner - PORTNAME= lockbox PORTVERSION= 0.6.8 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Modern encryption for Rails LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-net-sftp/Makefile b/security/rubygem-net-sftp/Makefile index dbfce6ed1c87..b48918000986 100644 --- a/security/rubygem-net-sftp/Makefile +++ b/security/rubygem-net-sftp/Makefile @@ -1,21 +1,19 @@ -# Created by: Roderick van Domburg - PORTNAME= net-sftp PORTVERSION= 3.0.0 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Implementation of the SFTP client protocol LICENSE= MIT RUN_DEPENDS= rubygem-net-ssh6>=5.0.0<7.0.0:security/rubygem-net-ssh6 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-net-sftp2/Makefile b/security/rubygem-net-sftp2/Makefile index 3bd88e1c4cb3..a66651cdc79b 100644 --- a/security/rubygem-net-sftp2/Makefile +++ b/security/rubygem-net-sftp2/Makefile @@ -1,23 +1,21 @@ -# Created by: Roderick van Domburg - PORTNAME= net-sftp PORTVERSION= 2.1.2 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= 2 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of the SFTP client protocol LICENSE= MIT RUN_DEPENDS= rubygem-net-ssh>=2.6.5:security/rubygem-net-ssh USES= gem USE_RUBY= yes NO_ARCH= yes PORTSCOUT= limit:^2\. .include diff --git a/security/rubygem-net-ssh-multi/Makefile b/security/rubygem-net-ssh-multi/Makefile index 425493f12178..c35d3b26468c 100644 --- a/security/rubygem-net-ssh-multi/Makefile +++ b/security/rubygem-net-ssh-multi/Makefile @@ -1,21 +1,19 @@ -# Created by: Renaud Chaput - PORTNAME= net-ssh-multi PORTVERSION= 1.2.1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= renchap@cocoa-x.com COMMENT= SSH connection multiplexing library for Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-net-ssh>=2.6.5:security/rubygem-net-ssh \ rubygem-net-ssh-gateway>=1.2.0:security/rubygem-net-ssh-gateway NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-net-ssh/Makefile b/security/rubygem-net-ssh/Makefile index 4cd3d1e322a3..53ac3ddbbcd6 100644 --- a/security/rubygem-net-ssh/Makefile +++ b/security/rubygem-net-ssh/Makefile @@ -1,28 +1,26 @@ -# Created by: Roderick van Domburg - PORTNAME= net-ssh PORTVERSION= 7.0.1 PORTEPOCH= 2 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Non-interactive SSH processing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem shebangfix USE_RUBY= yes NO_ARCH= yes SHEBANG_FILES= support/ssh_tunnel_bug.rb OPTIONS_DEFINE= PROMPT_PASSPHRASES OPTIONS_DEFAULT=PROMPT_PASSPHRASES PROMPT_PASSPHRASES_DESC= Prompt for passphrases on keys PROMPT_PASSPHRASES_RUN_DEPENDS= rubygem-ruby-termios>=0:comms/rubygem-ruby-termios .include diff --git a/security/rubygem-net-ssh5/Makefile b/security/rubygem-net-ssh5/Makefile index 03f6bc552d9c..02966284fb6d 100644 --- a/security/rubygem-net-ssh5/Makefile +++ b/security/rubygem-net-ssh5/Makefile @@ -1,30 +1,28 @@ -# Created by: Roderick van Domburg - PORTNAME= net-ssh PORTVERSION= 5.2.0 PORTEPOCH= 2 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= 5 MAINTAINER= ruby@FreeBSD.org COMMENT= Non-interactive SSH processing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem shebangfix USE_RUBY= yes OPTIONS_DEFINE= PROMPT_PASSPHRASES OPTIONS_DEFAULT=PROMPT_PASSPHRASES PROMPT_PASSPHRASES_DESC= Prompt for passphrases on keys SHEBANG_FILES= support/ssh_tunnel_bug.rb NO_ARCH= yes PROMPT_PASSPHRASES_RUN_DEPENDS= rubygem-ruby-termios>=0:comms/rubygem-ruby-termios PORTSCOUT= limit:^5\. .include diff --git a/security/rubygem-net-ssh6/Makefile b/security/rubygem-net-ssh6/Makefile index 6b0142b96e99..ab0e773ebded 100644 --- a/security/rubygem-net-ssh6/Makefile +++ b/security/rubygem-net-ssh6/Makefile @@ -1,30 +1,28 @@ -# Created by: Roderick van Domburg - PORTNAME= net-ssh PORTVERSION= 6.1.0 CATEGORIES= security rubygems MASTER_SITES= RG PKGNAMESUFFIX= 6 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Non-interactive SSH processing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gem shebangfix USE_RUBY= yes NO_ARCH= yes PORTSCOUT= limit:^6\. SHEBANG_FILES= support/ssh_tunnel_bug.rb OPTIONS_DEFINE= PROMPT_PASSPHRASES OPTIONS_DEFAULT=PROMPT_PASSPHRASES PROMPT_PASSPHRASES_DESC= Prompt for passphrases on keys PROMPT_PASSPHRASES_RUN_DEPENDS= rubygem-ruby-termios>=0:comms/rubygem-ruby-termios .include diff --git a/security/rubygem-nmap-parser/Makefile b/security/rubygem-nmap-parser/Makefile index afda61f2519e..190af10021d1 100644 --- a/security/rubygem-nmap-parser/Makefile +++ b/security/rubygem-nmap-parser/Makefile @@ -1,20 +1,18 @@ -# Created by: Daniel Roethlisberger - PORTNAME= nmap-parser PORTVERSION= 0.3.5 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby interface to Nmap scan data LICENSE= MIT RUN_DEPENDS= nmap:security/nmap NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-omniauth-alicloud/Makefile b/security/rubygem-omniauth-alicloud/Makefile index 55b25405b947..d0bd4e58dc7d 100644 --- a/security/rubygem-omniauth-alicloud/Makefile +++ b/security/rubygem-omniauth-alicloud/Makefile @@ -1,22 +1,20 @@ -# Created by: Matthias Fechner - PORTNAME= omniauth-alicloud PORTVERSION= 1.0.1 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Wrapper the AliCloud Oauth2 API LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7.1<1.8.1:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-atlassian-oauth2/Makefile b/security/rubygem-omniauth-atlassian-oauth2/Makefile index 7875cffe499e..c294412218da 100644 --- a/security/rubygem-omniauth-atlassian-oauth2/Makefile +++ b/security/rubygem-omniauth-atlassian-oauth2/Makefile @@ -1,22 +1,20 @@ -# Created by: Matthias Fechner - PORTNAME= omniauth-atlassian-oauth2 PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Atlassian OAuth2 strategy for OmniAuth LICENSE= MIT RUN_DEPENDS= rubygem-omniauth1>=1.1.1:security/rubygem-omniauth1 \ rubygem-omniauth-oauth2>=1.5:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-cas3/Makefile b/security/rubygem-omniauth-cas3/Makefile index 90d665e758be..0851dda7434f 100644 --- a/security/rubygem-omniauth-cas3/Makefile +++ b/security/rubygem-omniauth-cas3/Makefile @@ -1,24 +1,22 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= omniauth-cas3 PORTVERSION= 1.1.4 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= CAS 3.0 Strategy for OmniAuth LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \ rubygem-nokogiri>=1.7.1<2:textproc/rubygem-nokogiri \ rubygem-omniauth1>=1.2<2:security/rubygem-omniauth1 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-dingtalk-oauth2/Makefile b/security/rubygem-omniauth-dingtalk-oauth2/Makefile index 9d12bb7aa499..f8d7abab7f96 100644 --- a/security/rubygem-omniauth-dingtalk-oauth2/Makefile +++ b/security/rubygem-omniauth-dingtalk-oauth2/Makefile @@ -1,21 +1,19 @@ -# Created by: Matthias Fechner - PORTNAME= omniauth-dingtalk-oauth2 PORTVERSION= 1.0.1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Wrapper the DingTalk Oauth2 API LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-omniauth-oauth2>=1.7<2:net/rubygem-omniauth-oauth2 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-jwt/Makefile b/security/rubygem-omniauth-jwt/Makefile index 260f0bb48b70..dfeccdf522c9 100644 --- a/security/rubygem-omniauth-jwt/Makefile +++ b/security/rubygem-omniauth-jwt/Makefile @@ -1,23 +1,21 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= omniauth-jwt PORTVERSION= 0.0.2 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= OmniAuth strategy to accept JWT-based single sign-on LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-jwt>=0:www/rubygem-jwt \ rubygem-omniauth1>=1.1<2:security/rubygem-omniauth1 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-omniauth-oauth2-generic/Makefile b/security/rubygem-omniauth-oauth2-generic/Makefile index d2fce5f51d17..0caffcce07e0 100644 --- a/security/rubygem-omniauth-oauth2-generic/Makefile +++ b/security/rubygem-omniauth-oauth2-generic/Makefile @@ -1,25 +1,23 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= omniauth-oauth2-generic PORTVERSION= 0.2.8 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generic, Configurable OmniAuth Strategy for OAuth2 providers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= rubygem-omniauth-oauth2>=1.0<2:net/rubygem-omniauth-oauth2 \ rubygem-rake>=0:devel/rubygem-rake USES= gem USE_RUBY= yes NO_ARCH= yes post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/console ${STAGEDIR}${PREFIX}/bin/setup .include diff --git a/security/rubygem-omniauth-saml/Makefile b/security/rubygem-omniauth-saml/Makefile index 4eb9a9f6f4c3..fc4f0cc38609 100644 --- a/security/rubygem-omniauth-saml/Makefile +++ b/security/rubygem-omniauth-saml/Makefile @@ -1,22 +1,20 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= omniauth-saml PORTVERSION= 1.10.3 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= OmniAuth strategy for SAML LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= rubygem-omniauth1>=1.3.2<2:security/rubygem-omniauth1 \ rubygem-ruby-saml>=1.9<2:security/rubygem-ruby-saml USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-openssl-signature_algorithm/Makefile b/security/rubygem-openssl-signature_algorithm/Makefile index 6d51ebbb7e42..3e48aba2e15e 100644 --- a/security/rubygem-openssl-signature_algorithm/Makefile +++ b/security/rubygem-openssl-signature_algorithm/Makefile @@ -1,19 +1,17 @@ -# Created by: Matthias Fechner - PORTNAME= openssl-signature_algorithm PORTVERSION= 1.0.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= ECDSA, RSA-PSS and RSA-PKCS for ruby LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-pbkdf2-ruby/Makefile b/security/rubygem-pbkdf2-ruby/Makefile index f760032d46dc..4f3886479650 100644 --- a/security/rubygem-pbkdf2-ruby/Makefile +++ b/security/rubygem-pbkdf2-ruby/Makefile @@ -1,18 +1,16 @@ -# Created by: Mark Felder - PORTNAME= pbkdf2-ruby PORTVERSION= 0.2.1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= feld@FreeBSD.org COMMENT= Password Based Key Derivation Function 2 for Ruby LICENSE= MIT USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-pundit/Makefile b/security/rubygem-pundit/Makefile index 2629f0b4aaf7..f11b135c48a0 100644 --- a/security/rubygem-pundit/Makefile +++ b/security/rubygem-pundit/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= pundit PORTVERSION= 2.2.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Object oriented authorization for Rails applications LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-activesupport5>=3.0.0:devel/rubygem-activesupport5 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-razorback-scriptNugget/Makefile b/security/rubygem-razorback-scriptNugget/Makefile index 35e93abe6e0d..6a8927cccdb3 100644 --- a/security/rubygem-razorback-scriptNugget/Makefile +++ b/security/rubygem-razorback-scriptNugget/Makefile @@ -1,18 +1,16 @@ -# Created by: Tom Judge - PORTNAME= razorback-scriptNugget PORTVERSION= 0.5.0 PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= SF/razorbacktm/Bindings DISTNAME= scriptNugget-ruby-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Framework for an intelligence driven security - Script Nugget Ruby NO_ARCH= yes USE_RUBY= yes USES= gem shebangfix SHEBANG_FILES= lib/razorback.rb .include diff --git a/security/rubygem-roauth/Makefile b/security/rubygem-roauth/Makefile index 6899b73ebfa5..70e729fa6e3e 100644 --- a/security/rubygem-roauth/Makefile +++ b/security/rubygem-roauth/Makefile @@ -1,16 +1,14 @@ -# Created by: TAKATSU Tomonari - PORTNAME= roauth PORTVERSION= 0.0.8 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= tota@FreeBSD.org COMMENT= Simple Ruby OAuth library NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-ruby-rc4/Makefile b/security/rubygem-ruby-rc4/Makefile index 7808e56f7702..2192ced04402 100644 --- a/security/rubygem-ruby-rc4/Makefile +++ b/security/rubygem-ruby-rc4/Makefile @@ -1,18 +1,16 @@ -# Created by: Steve Wills - PORTNAME= ruby-rc4 PORTVERSION= 0.1.5 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Pure Ruby implementation of the RC4 algorithm LICENSE= MIT NO_ARCH= yes USE_RUBY= yes USES= gem .include diff --git a/security/rubygem-ruby-saml/Makefile b/security/rubygem-ruby-saml/Makefile index 3a3bce63aa21..df81c1a1f716 100644 --- a/security/rubygem-ruby-saml/Makefile +++ b/security/rubygem-ruby-saml/Makefile @@ -1,22 +1,20 @@ -# Created by: Torsten Zuhlsdorff - PORTNAME= ruby-saml PORTVERSION= 1.13.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= SAML toolkit for Ruby on Rails LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-nokogiri>=1.10.5:textproc/rubygem-nokogiri \ rubygem-rexml>=0:textproc/rubygem-rexml USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-safety_net_attestation/Makefile b/security/rubygem-safety_net_attestation/Makefile index 59d7207b5186..ea9f45845d81 100644 --- a/security/rubygem-safety_net_attestation/Makefile +++ b/security/rubygem-safety_net_attestation/Makefile @@ -1,20 +1,18 @@ -# Created by: Matthias Fechner - PORTNAME= safety_net_attestation PORTVERSION= 0.4.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= SafetyNet attestation response verification LICENSE= MIT RUN_DEPENDS= rubygem-jwt>=2.0<3:www/rubygem-jwt USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-scrypt/Makefile b/security/rubygem-scrypt/Makefile index 81107ac390b6..cbce35781e28 100644 --- a/security/rubygem-scrypt/Makefile +++ b/security/rubygem-scrypt/Makefile @@ -1,19 +1,17 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= scrypt PORTVERSION= 3.0.7 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Scrypt key derivation function LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= rubygem-ffi-compiler>=1.0<2.0:devel/rubygem-ffi-compiler USES= gem USE_RUBY= yes .include diff --git a/security/rubygem-securerandom/Makefile b/security/rubygem-securerandom/Makefile index 37722f6d7d68..5cf02823413c 100644 --- a/security/rubygem-securerandom/Makefile +++ b/security/rubygem-securerandom/Makefile @@ -1,20 +1,18 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= securerandom PORTVERSION= 0.2.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Interface for secure random number generator LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-signet/Makefile b/security/rubygem-signet/Makefile index 95c3c543cc4b..3bb498664452 100644 --- a/security/rubygem-signet/Makefile +++ b/security/rubygem-signet/Makefile @@ -1,24 +1,22 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= signet PORTVERSION= 0.17.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= OAuth 1.0 / OAuth 2.0 implementation LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-addressable>=2.8<3:www/rubygem-addressable \ rubygem-faraday>=0.17.5<3.0:www/rubygem-faraday \ rubygem-jwt>=1.5<3.0:www/rubygem-jwt \ rubygem-multi_json>=1.10<2:devel/rubygem-multi_json USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-ssh_data/Makefile b/security/rubygem-ssh_data/Makefile index 7b6df3c7e1e3..b9b93577b02c 100644 --- a/security/rubygem-ssh_data/Makefile +++ b/security/rubygem-ssh_data/Makefile @@ -1,19 +1,17 @@ -# Created by: Matthias Fechner - PORTNAME= ssh_data PORTVERSION= 1.3.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Library for parsing SSH certificates LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-sshkey/Makefile b/security/rubygem-sshkey/Makefile index 689257c96926..d362b6a72a9a 100644 --- a/security/rubygem-sshkey/Makefile +++ b/security/rubygem-sshkey/Makefile @@ -1,19 +1,17 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= sshkey PORTVERSION= 2.0.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generate private/public SSH keypairs using pure Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-sshkit/Makefile b/security/rubygem-sshkit/Makefile index 987819e97301..0a385e00bfd3 100644 --- a/security/rubygem-sshkit/Makefile +++ b/security/rubygem-sshkit/Makefile @@ -1,22 +1,20 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= sshkit PORTVERSION= 1.21.2 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Toolkit for remotely running commands on groups of servers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= rubygem-net-scp>=1.1.2:security/rubygem-net-scp \ rubygem-net-ssh>=2.8.0,2:security/rubygem-net-ssh USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-sslshake/Makefile b/security/rubygem-sslshake/Makefile index 1f3ae63f7861..68a45d89c2cb 100644 --- a/security/rubygem-sslshake/Makefile +++ b/security/rubygem-sslshake/Makefile @@ -1,18 +1,16 @@ -# Created by: Matthias Fechner - PORTNAME= sslshake PORTVERSION= 1.3.1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Simulate SSL and TLD handshake LICENSE= MPL20 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-ssrf_filter/Makefile b/security/rubygem-ssrf_filter/Makefile index 56f05342a382..52f51a5fb347 100644 --- a/security/rubygem-ssrf_filter/Makefile +++ b/security/rubygem-ssrf_filter/Makefile @@ -1,18 +1,16 @@ -# Created by: Matthias Fechner - PORTNAME= ssrf_filter PORTVERSION= 1.0.7 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Gem to prevent SSRF attacks LICENSE= MIT USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-tpm-key_attestation/Makefile b/security/rubygem-tpm-key_attestation/Makefile index e6521a4159eb..ea8345a174ff 100644 --- a/security/rubygem-tpm-key_attestation/Makefile +++ b/security/rubygem-tpm-key_attestation/Makefile @@ -1,22 +1,20 @@ -# Created by: Matthias Fechner - PORTNAME= tpm-key_attestation PORTVERSION= 0.10.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= TPM Key Attestation verifier LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-bindata>=2.4<3:devel/rubygem-bindata \ rubygem-openssl-signature_algorithm>=1.0<2:security/rubygem-openssl-signature_algorithm USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-twitter_oauth/Makefile b/security/rubygem-twitter_oauth/Makefile index 13cf75346273..f6e9adc61de7 100644 --- a/security/rubygem-twitter_oauth/Makefile +++ b/security/rubygem-twitter_oauth/Makefile @@ -1,23 +1,21 @@ -# Created by: TAKATSU Tomonari - PORTNAME= twitter_oauth PORTVERSION= 0.4.94 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Twitter OAuth REST API client library for Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-json>=1.8.0:devel/rubygem-json \ rubygem-mime-types>=1.16:misc/rubygem-mime-types \ rubygem-oauth>=0.4.7:net/rubygem-oauth USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-vault/Makefile b/security/rubygem-vault/Makefile index c9fd758a94b1..7927a04dfbaa 100644 --- a/security/rubygem-vault/Makefile +++ b/security/rubygem-vault/Makefile @@ -1,21 +1,19 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= vault PORTVERSION= 0.17.0 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby API client for interacting with a Vault server LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-aws-sigv4>=0:devel/rubygem-aws-sigv4 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/security/rubygem-webauthn/Makefile b/security/rubygem-webauthn/Makefile index f0e84000840b..6a2ea68cc41e 100644 --- a/security/rubygem-webauthn/Makefile +++ b/security/rubygem-webauthn/Makefile @@ -1,30 +1,28 @@ -# Created by: Matthias Fechner - PORTNAME= webauthn PORTVERSION= 2.4.1 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= WebAuthn ruby server library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-android_key_attestation>=0.3.0<0.4:security/rubygem-android_key_attestation \ rubygem-awrence>=1.1<2:devel/rubygem-awrence \ rubygem-bindata>=2.4<3:devel/rubygem-bindata \ rubygem-cbor>=0.5.9<0.6:devel/rubygem-cbor \ rubygem-cose>=1.1<2:security/rubygem-cose \ rubygem-openssl>=2.0<3:security/rubygem-openssl \ rubygem-safety_net_attestation>=0.4.0<0.5:security/rubygem-safety_net_attestation \ rubygem-securecompare>=1.0<2:security/rubygem-securecompare \ rubygem-tpm-key_attestation>=0.10.0<0.11:security/rubygem-tpm-key_attestation USES= gem shebangfix USE_RUBY= yes SHEBANG_FILES= script/ci/install-openssl script/ci/install-ruby NO_ARCH= yes .include diff --git a/security/s2n/Makefile b/security/s2n/Makefile index a9f14d11cc86..62e7db2a25b3 100644 --- a/security/s2n/Makefile +++ b/security/s2n/Makefile @@ -1,42 +1,40 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= s2n PORTVERSION= 1.3.4 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= C99 implementation of the TLS/SSL protocols LICENSE= APACHE20 USES= cmake ssl USE_GITHUB= yes GH_ACCOUNT= aws GH_PROJECT= s2n-tls OPTIONS_DEFINE= DOCS EXAMPLES TEST USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON SUB_FILES= pkg-message .include .if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != arm && ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 CMAKE_ARGS+= -DS2N_NO_PQ:BOOL=ON .endif post-build-TEST-on: (cd ${WRKDIR}/.build && ninja test) post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -r ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/bin/*.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/safesh/Makefile b/security/safesh/Makefile index cfda8e0118cc..de30f827cbc1 100644 --- a/security/safesh/Makefile +++ b/security/safesh/Makefile @@ -1,31 +1,29 @@ -# Created by: eivind - PORTNAME= safesh PORTVERSION= 1.5 CATEGORIES= security MASTER_SITES= # none DISTFILES= # none MAINTAINER= ports@FreeBSD.org COMMENT= Authentication manager for OpenSSH (making secure auth easier) NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/cvs-safesh \ bin/safesh \ bin/safeshinstall \ bin/scpsh \ man/man1/safesh.1.gz # XXX Anybody that know how to create manlinks from ports easily, please # contact me. do-install: ${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_SCRIPT} ${FILESDIR}/cvs-safesh.sh ${STAGEDIR}${PREFIX}/bin/cvs-safesh ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 ${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/scpsh ${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/safeshinstall .include diff --git a/security/samhain-client/Makefile b/security/samhain-client/Makefile index a5351b8f8310..cafecb98b1be 100644 --- a/security/samhain-client/Makefile +++ b/security/samhain-client/Makefile @@ -1,11 +1,9 @@ -# Created by: Nikola Kolev - PKGNAMESUFFIX= -client COMMENT= Client daemon for the Samhain IDS WITH_CLIENT= yes MASTERDIR= ${.CURDIR}/../samhain .include "${MASTERDIR}/Makefile" diff --git a/security/samhain-server/Makefile b/security/samhain-server/Makefile index 70f937bd41ca..ecd63ca90ea4 100644 --- a/security/samhain-server/Makefile +++ b/security/samhain-server/Makefile @@ -1,19 +1,17 @@ -# Created by: Nikola Kolev - # This port recognizes the following non-boolean tunables: # # WITH_RUNAS_USER: # Whe building with "WITH_SERVER" defined, the username of the # account Yule will run as. Defaults to "yule". If using # WITH_GNUPG, ensure that this user exists and has a pgp # keypair before installing. PKGNAMESUFFIX= -server COMMENT= Log server for the Samhain IDS WITH_SERVER= yes MASTERDIR= ${.CURDIR}/../samhain .include "${MASTERDIR}/Makefile" diff --git a/security/samhain/Makefile b/security/samhain/Makefile index dec36c17d601..faf340bb53a4 100644 --- a/security/samhain/Makefile +++ b/security/samhain/Makefile @@ -1,201 +1,199 @@ -# Created by: Nikola Kolev - PORTNAME= samhain PORTVERSION= 4.4.3 CATEGORIES= security MASTER_SITES= http://la-samhna.de/archive/ DISTNAME= samhain_signed-${PORTVERSION} MAINTAINER= freebsd@gregv.net COMMENT= Samhain Intrusion Detection System LICENSE= GPLv2 BROKEN_aarch64= fails to link: missing sbrk BROKEN_mips= fails to configure: error: Could not find the libwrap library BROKEN_mips64= fails to configure: error: Could not find the libwrap library BROKEN_riscv64= fails to link: missing sbrk USES= shebangfix SHEBANG_FILES= scripts/samhainadmin-gpg.pl.in \ scripts/samhainadmin-sig.pl.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var \ --with-logserver=true \ --with-altlogserver=true \ --with-timeserver=true \ --with-alttimeserver=true WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= ASM DB_RELOAD DEBUG DNMALLOC DOCS ENCRYPT GNUPG IPV6 \ LIBWRAP LOGFILE_MONITOR LOGIN_WATCH MAIL \ MOUNTS_CHECK PORT_CHECK POSIX_ACL PRELUDE PROCESS_CHECK \ PTRACE SRP STATIC SUIDCHECK UDP USERFILES XML_LOGS OPTIONS_DEFAULT= ASM DNMALLOC ENCRYPT LIBWRAP MAIL SRP OPTIONS_RADIO= DB OPTIONS_RADIO_DB= MYSQL ODBC PGSQL OPTIONS_SUB= yes DB_DESC= Database support DB_RELOAD_DESC= Enable database reload on SIGHUP DNMALLOC_DESC= Enable dnmalloc ENCRYPT_DESC= Enable client/server encryption LOGFILE_MONITOR_DESC= Enable monitor logfiles LOGIN_WATCH_DESC= Enable watch for login/logout MAIL_DESC= Enable internal SMTP mailer MOUNTS_CHECK_DESC= Enable check mount options on filesystems PORT_CHECK_DESC= Enable check ports POSIX_ACL_DESC= Enable check posix acls PRELUDE_DESC= Enable Prelude Framework support PROCESS_CHECK_DESC= Enable check processes PTRACE_DESC= Enable use anti-debugger options SRP_DESC= Enable SRP for authentication SUIDCHECK_DESC= Enable check for suid/sgid files UDP_DESC= Enable UDP server USERFILES_DESC= Enable check for users config files XML_LOGS_DESC= Enable XML-formatted logs ASM_CONFIGURE_ENABLE= asm DB_RELOAD_CONFIGURE_ENABLE= db-reload DEBUG_CONFIGURE_ENABLE= debug DNMALLOC_CONFIGURE_ENABLE= dnmalloc ENCRYPT_CONFIGURE_ENABLE= encrypt GNUPG_BUILD_DEPENDS= gpg:security/gnupg GNUPG_CONFIGURE_WITH= gpg=${PREFIX}/bin/gpg IPV6_CONFIGURE_ENABLE= ipv6 LIBWRAP_CONFIGURE_WITH= libwrap LOGFILE_MONITOR_CONFIGURE_ENABLE= logfile-monitor LOGIN_WATCH_CONFIGURE_ENABLE= login-watch MAIL_CONFIGURE_ENABLE= mail MOUNTS_CHECK_CONFIGURE_ENABLE= mounts-check MYSQL_IMPLIES= XML_LOGS MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-database=mysql ODBC_IMPLIES= XML_LOGS ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_ON= --with-database=odbc PGSQL_IMPLIES= XML_LOGS PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-database=postgresql PORT_CHECK_CONFIGURE_ENABLE= port-check POSIX_ACL_CONFIGURE_ENABLE= posix-acl PRELUDE_LIB_DEPENDS= libprelude.so:security/libprelude PRELUDE_CONFIGURE_WITH= prelude PROCESS_CHECK_CONFIGURE_ENABLE= process-check PTRACE_CONFIGURE_ENABLE= ptrace SRP_CONFIGURE_ENABLE= srp STATIC_CONFIGURE_ENABLE= static SUIDCHECK_CONFIGURE_ENABLE= suidcheck UDP_CONFIGURE_ENABLE= udp USERFILES_CONFIGURE_ENABLE= userfiles XML_LOGS_CONFIGURE_ENABLE= xml-log .include .if ${ARCH} == "amd64" CFLAGS+= -fPIC .endif .if defined(WITH_RUNAS_USER) CONFIGURE_ARGS+= --enable-identity=${WITH_RUNAS_USER} .else CONFIGURE_ARGS+= --enable-identity=yule .endif .if defined(WITH_CLIENT) CONFIGURE_ARGS+= --enable-network=client \ --with-data-file=REQ_FROM_SERVER/var/lib/samhain/data.samhain \ --with-config-file=REQ_FROM_SERVER PLIST_SUB+= SAMHAIN="" SETPWD="" YULE="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixsamhainrc.patch .elif defined(WITH_SERVER) USERS= yule GROUPS= yule CONFIGURE_ARGS+= --enable-network=server SUB_LIST+= WITH_YULE="yes" PLIST_SUB+= YULE="" SAMHAIN="@comment " SETPWD="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixyulerc.patch .else SUB_LIST+= WITH_YULE="" PLIST_SUB+= SAMHAIN="" YULE="@comment " SETPWD="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixsamhainrc.patch .endif pre-everything:: .if !defined(WITH_CLIENT) && !defined(WITH_SERVER) @${ECHO_MSG} @${ECHO_MSG} "Building Samhain in standalone mode." @${ECHO_MSG} "If you wish to enable networked mode, please hit CTRL-C" @${ECHO_MSG} "now, and build samhain from the samhain-client and" @${ECHO_MSG} "samhain-server ports." @${ECHO_MSG} .endif .if defined(WITH_CLIENT) && defined(WITH_SERVER) IGNORE= can't build client and server at once .endif post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKSRC}.tar.gz @${RM} ${WRKSRC}.tar.gz ${WRKSRC}.tar.gz.asc post-install: .if !defined(WITH_SERVER) ${INSTALL_SCRIPT} ${WRKSRC}/init/samhain.startFreeBSD ${STAGEDIR}${PREFIX}/etc/rc.d/samhain @${CP} ${WRKSRC}/samhainrc ${STAGEDIR}${PREFIX}/etc/samhainrc.sample @${CHGRP} wheel ${STAGEDIR}${PREFIX}/etc/samhainrc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/samhain .else ${INSTALL_SCRIPT} ${WRKSRC}/init/samhain.startFreeBSD ${STAGEDIR}${PREFIX}/etc/rc.d/yule @${CP} ${WRKSRC}/yulerc ${STAGEDIR}${PREFIX}/etc/yulerc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yule ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yulectl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yule_setpwd .endif .if defined(WITH_CLIENT) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/samhain_setpwd .endif post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/MANUAL-2_4.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/HOWTO-client+server.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/HOWTO-client+server-troubleshooting.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/HOWTO-samhain+GnuPG.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/HOWTO-write-modules.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/FAQ.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README.UPGRADE ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/BUGS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/sh_mounts.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/sh_userfiles.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/security/sancp/Makefile b/security/sancp/Makefile index 9dbdd6a81b0b..f87cbdc2c194 100644 --- a/security/sancp/Makefile +++ b/security/sancp/Makefile @@ -1,51 +1,49 @@ -# Created by: Paul Schmehl - PORTNAME= sancp PORTVERSION= 1.6.1 DISTVERSIONSUFFIX= -stable PORTREVISION= 6 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-stable MAINTAINER= bofh@FreeBSD.org COMMENT= Network connection profiler LICENSE= QPLv1 LICENSE_NAME= Q PUBLIC LICENSE v1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= compiler ALL_TARGET= bsd USE_RC_SUBR= sancp USERS= sancp GROUPS= sancp OPTIONS_DEFINE= DOCS PORTDOCS= CHANGES INSTALL ISSUES \ README SETUP fields.LIST CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing MAKE_ARGS= CFLAGS="${CXXFLAGS}" \ LFLAGS="${LDFLAGS}" SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e 's|gcc|$${CC}|g ; s|g++|$${CXX}|g' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sancp \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/etc/sancp/sancp.conf \ ${STAGEDIR}${PREFIX}/etc/sancp.conf.sample ${MKDIR} ${STAGEDIR}/var/log/sancp do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/sasp/Makefile b/security/sasp/Makefile index 6084df84b7b9..09ec29961ad9 100644 --- a/security/sasp/Makefile +++ b/security/sasp/Makefile @@ -1,25 +1,23 @@ -# Created by: sviat - PORTNAME= sasp PORTVERSION= 0.1 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= LOCAL/ahze \ http://people.freebsd.org/~ahze/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool that permits to use a gateway whatever IP we have LIB_DEPENDS= libnet.so:net/libnet NO_WRKSUBDIR= yes PLIST_FILES= sbin/sasp do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include -o sasp sasp.c \ ${LDFLAGS} -L${LOCALBASE}/lib -lpcap -lnet) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sasp ${STAGEDIR}${PREFIX}/sbin .include diff --git a/security/scanlogd/Makefile b/security/scanlogd/Makefile index d2cc46a2b138..edd50311e578 100644 --- a/security/scanlogd/Makefile +++ b/security/scanlogd/Makefile @@ -1,43 +1,41 @@ -# Created by: Roman Bogorodskiy - PORTNAME= scanlogd PORTVERSION= 2.2.8 CATEGORIES= security MASTER_SITES= http://openwall.com/scanlogd/ \ ftp://ftp.openwall.com/pub/projects/scanlogd/ \ ftp://rt.fm/pub/scanlogd/ MAINTAINER= novel@FreeBSD.org COMMENT= TCP port scan detection tool USE_RC_SUBR= ${PORTNAME} USERS= scanlogd GROUPS= scanlogd MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" PLIST_FILES= bin/scanlogd man/man8/scanlogd.8.gz \ etc/periodic/security/850.scanlogd OPTIONS_SINGLE= PCAP OPTIONS_SINGLE_PCAP= PCAP_BASE NIDS OPTIONS_DEFAULT= PCAP_BASE PCAP_BASE_DESC= Use pcap from base for packet capture NIDS_DESC= Use net/libnet for packet capture PCAP_BASE_ALL_TARGET= libpcap NIDS_ALL_TARGET= libnids NIDS_BUILD_DEPENDS= ${LOCALBASE}/lib/libnids.a:net/libnids NIDS_LIB_DEPENDS= libnet.so:net/libnet do-install: ${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/security ${INSTALL_SCRIPT} ${FILESDIR}/850.scanlogd \ ${STAGEDIR}${PREFIX}/etc/periodic/security .include diff --git a/security/scrypt/Makefile b/security/scrypt/Makefile index 013cc824c7a6..462aa1ff211a 100644 --- a/security/scrypt/Makefile +++ b/security/scrypt/Makefile @@ -1,26 +1,24 @@ -# Created by: Wen Heping - PORTNAME= scrypt PORTVERSION= 1.3.1 CATEGORIES= security MASTER_SITES= http://www.tarsnap.com/scrypt/ MAINTAINER= cperciva@tarsnap.com COMMENT= Key Derivation Function LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= libtool ssl tar:tgz GNU_CONFIGURE= yes CONFIGURE_ENV= CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \ LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}" CONFIGURE_ARGS= --enable-libscrypt-kdf --disable-static PLIST_FILES= bin/scrypt \ include/scrypt-kdf.h \ lib/libscrypt-kdf.so.1.0.0 \ man/man1/scrypt.1.gz .include diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index cf65e480d7f1..93ceab2fde10 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -1,58 +1,56 @@ -# Created by: Dave McKay - PORTNAME= seahorse PORTVERSION= 41.0 CATEGORIES= security gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME application for managing encryption keys (PGP, SSH) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gnupg>=2.1.4:security/gnupg \ itstool:textproc/itstool \ valac:lang/vala LIB_DEPENDS= libgcr-base-3.so:security/gcr \ libgpgme.so:security/gpgme \ libhandy-1.so:x11-toolkits/libhandy \ libpwquality.so:security/libpwquality \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= gnupg>=2.1.4:security/gnupg USES= cpe gettext gnome localbase:ldflags meson pkgconfig \ python:3.5+,build tar:xz xorg USE_CSTD= c99 USE_GNOME= gtk30 GLIB_SCHEMAS= org.gnome.seahorse.gschema.xml \ org.gnome.seahorse.manager.gschema.xml \ org.gnome.seahorse.window.gschema.xml USE_LDCONFIG= yes USE_XORG= sm CPE_VENDOR= gnome MESON_ARGS= -Dcheck-compatible-gpg=false \ -Dhkp-support=true \ -Dkeyservers-support=true \ -Dpgp-support=true \ -Dpkcs11-support=true BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limitw:1,even OPTIONS_DEFINE= AVAHI LDAP OPTIONS_DEFAULT= AVAHI LDAP OPTIONS_SUB= yes AVAHI_DESC= DNS-SD key sharing LDAP_DESC= LDAP keyserver support (for gpg) AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= key-sharing LDAP_USE= OPENLDAP=yes LDAP_MESON_TRUE= ldap-support .include diff --git a/security/seccure/Makefile b/security/seccure/Makefile index 65c6c8878b44..42aba7bbfb49 100644 --- a/security/seccure/Makefile +++ b/security/seccure/Makefile @@ -1,20 +1,18 @@ -# Created by: Lukasz Komsta - PORTNAME= seccure PORTVERSION= 0.5 PORTREVISION= 8 CATEGORIES= security MASTER_SITES= http://point-at-infinity.org/seccure/ \ NETBSD MAINTAINER= zi@FreeBSD.org COMMENT= Elliptic Curve Crypto Utility for Reliable Encryption LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgcrypt.so:security/libgcrypt USE_GCC= yes .include diff --git a/security/secpanel/Makefile b/security/secpanel/Makefile index fc841dc1c4f2..6ff117808659 100644 --- a/security/secpanel/Makefile +++ b/security/secpanel/Makefile @@ -1,73 +1,71 @@ -# Created by: Pete Fritchman - PORTNAME= secpanel PORTVERSION= 0.6.1 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= security tcl tk MASTER_SITES= SF/${PORTNAME} \ SF/nemysisfreebsdp/security/:icons DISTFILES= ${DISTNAME}.tgz \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.tgz MAINTAINER= portmaster@BSDforge.com COMMENT= GUI for managing and running ssh and related utilities LICENSE= GPLv2 RUN_DEPENDS= ssh-askpass:security/openssh-askpass USES= tk:wrapper OPTIONS_RADIO= TERMINAL OPTIONS_RADIO_TERMINAL= GNOMETERMINAL MATETERMINAL XTERM OPTIONS_DEFAULT= GNOMETERMINAL GNOMETERMINAL_DESC= build with gnome-terminal MATETERMINAL_DESC= build with mate-terminal (you need mate-desktop) XTERM_DESC= build with xterm GNOMETERMINAL_RUN_DEPENDS= gnome-terminal>=3.0.0:x11/gnome-terminal MATETERMINAL_RUN_DEPENDS= mate-terminal:x11/mate-terminal XTERM_RUN_DEPENDS= xterm:x11/xterm WRKSRC= ${WRKDIR}/${PREFIX} NO_BUILD= yes SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MMATETERMINAL} USES+= mate USE_MATE= desktop .endif DESKTOP_ENTRIES="SecPanel" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" "" ${FALSE} post-patch: @${REINPLACE_CMD} \ -e 's|\[file dirname \[info script\]\]/../lib/secpanel|${DATADIR}|' \ ${WRKSRC}/bin/secpanel do-install: .if ${PORT_OPTIONS:MMATETERMINAL} ${REINPLACE_CMD} 's|set configs(termver) "Xterm"|set configs(termver) "MATE-Terminal"|' \ ${WRKSRC}/bin/secpanel ${REINPLACE_CMD} 's|Xterm|MATE-Terminal|' \ ${WRKSRC}/lib/secpanel/default.config .elif ${PORT_OPTIONS:MGNOMETERMINAL} ${REINPLACE_CMD} 's|set configs(termver) "Xterm"|set configs(termver) "GNOME-Terminal"|' \ ${WRKSRC}/bin/secpanel ${REINPLACE_CMD} 's|Xterm|GNOME-Terminal|' \ ${WRKSRC}/lib/secpanel/default.config .endif ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @(cd ${WRKSRC}/lib/secpanel && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${CHMOD} u+rw ${STAGEDIR}${DATADIR}/default.config ${MV} ${STAGEDIR}${DATADIR}/default.config ${STAGEDIR}${DATADIR}/default.config.sample ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/security/sectok/Makefile b/security/sectok/Makefile index b0033255239c..f319136ff564 100644 --- a/security/sectok/Makefile +++ b/security/sectok/Makefile @@ -1,37 +1,35 @@ -# Created by: Bruce M. Simpson - PORTNAME= sectok PORTVERSION= 20030825 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.citi.umich.edu/projects/smartcard/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= ISO 7816 Smartcard Utility LIB_DEPENDS= libsectok.so:security/libsectok USES= ssl USE_LDCONFIG= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} \ -e '/^INCLUDES=/s|$$| ${CPPFLAGS}|' \ -e '/^LIBS=/s|=|=${LDFLAGS} |' \ -e '/^LIBS=/s|$$| ${LIBS}|' \ ${WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/man/man1) .include diff --git a/security/secure_delete/Makefile b/security/secure_delete/Makefile index 9f5fbeba30de..b60ef1e26cc4 100644 --- a/security/secure_delete/Makefile +++ b/security/secure_delete/Makefile @@ -1,48 +1,46 @@ -# Created by: Vaida Bogdan - PORTNAME= secure_delete PORTVERSION= 3.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= PACKETSTORM/groups/thc \ http://freeworld.thc.org/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Secure data deletion toolkit LICENSE= GPLv2 # mentioned in manpages CONFLICTS= srm MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message PORTDOCS= CHANGES FILES README secure_delete.doc usenix6-gutmann.doc PLIST_FILES= bin/sdel bin/sfill bin/smem bin/srm bin/sswap \ bin/the_cleaner.sh man/man1/sfill.1.gz man/man1/smem.1.gz \ man/man1/srm.1.gz man/man1/sswap.1.gz OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^CC=|CC?=| ; \ s|-O2 |$$(CFLAGS) | ;\ /strip/s|^|#|' ${WRKSRC}/Makefile do-install: .for i in srm sfill sswap smem ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor ${INSTALL_SCRIPT} ${WRKSRC}/the_cleaner.sh ${STAGEDIR}${PREFIX}/bin ${LN} -sf srm ${STAGEDIR}${PREFIX}/bin/sdel do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/sha2wordlist/Makefile b/security/sha2wordlist/Makefile index 6fa3f1ff0464..4a5140b1344b 100644 --- a/security/sha2wordlist/Makefile +++ b/security/sha2wordlist/Makefile @@ -1,25 +1,23 @@ -# Created by: Peter Ankerstal - PORTNAME= sha2wordlist PORTVERSION= 1.0.20140124 CATEGORIES= security MAINTAINER= peter@pean.org COMMENT= Create SHA256 digests as PGP words LICENSE= BSD2CLAUSE BSD3CLAUSE LICENSE_COMB= multi USE_GITHUB= yes GH_ACCOUNT= kirei GH_TAGNAME= 3615281 PLIST_FILES= sbin/sha2wordlist post-patch: @${REINPLACE_CMD} -e 's|gcc|cc|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/sbin/ .include diff --git a/security/shibboleth-sp/Makefile b/security/shibboleth-sp/Makefile index b2975708b058..e32d61449dea 100644 --- a/security/shibboleth-sp/Makefile +++ b/security/shibboleth-sp/Makefile @@ -1,91 +1,89 @@ -# Created by: Janos Mohacsi - PORTNAME= shibboleth-sp PORTVERSION= 3.3.0 PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= http://shibboleth.net/downloads/service-provider/${PORTVERSION}/ MAINTAINER= girgen@FreeBSD.org COMMENT= C++ Shibboleth Service Provider (Internet2) for Apache LICENSE= APACHE20 BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libsaml.so:security/opensaml \ liblog4shib.so:devel/log4shib \ libxerces-c-3.2.so:textproc/xerces-c3 \ libxml-security-c.so:security/apache-xml-security-c \ libxmltooling.so:devel/xmltooling \ libapr-1.so:devel/apr1 \ libgdbm.so:databases/gdbm \ libexpat.so:textproc/expat2 USES= gmake tar:bzip2 cpe pkgconfig libtool bdb GNU_CONFIGURE= yes MAKE_ENV= NOKEYGEN=YES USE_LDCONFIG= yes USE_RC_SUBR= shibboleth-sp DOCSDIR= ${PREFIX}/share/doc/shibboleth CPE_VENDOR= shibboleth USERS= shibd GROUPS= shibd INSTALL_TARGET= install-strip OPTIONS_GROUP= CONNECT SESSION OPTIONS_GROUP_CONNECT=FASTCGI APACHE CONNECT_DESC= Webserver modules OPTIONS_GROUP_SESSION=ODBC MEMCACHED SESSION_DESC= Optional session storage OPTIONS_DEFAULT=ODBC APACHE # Descriptions ODBC_DESC= ODBC database backend - store sessions in a database MEMCACHED_DESC= Store sessions in memcached FASTCGI_DESC= FastCGI protocol support, e.g. for NGINX APACHE_DESC= Build Apache module APACHE_USES= apache:2.4+ ODBC_CONFIGURE_ENABLE= odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC FASTCGI_CONFIGURE_WITH= fastcgi=${LOCALBASE} FASTCGI_LIB_DEPENDS= libfcgi++.so:www/fcgi MEMCACHED_CONFIGURE_WITH= memcached=${LOCALBASE} MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached OPTIONS_SUB= yes SUB_LIST+= SH=${SH} WWWGRP=${WWWGRP} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_LIST+= SHIBD_USER=${USERS} SUB_LIST+= SHIBD_GROUP=${GROUPS} PLIST_SUB+= SHIBD_USER=${USERS} PLIST_SUB+= SHIBD_GROUP=${GROUPS} CONFIGURE_ARGS+=--localstatedir=/var \ --disable-doxygen-doc --disable-dependency-tracking .include .if ${PORT_OPTIONS:MAPACHE} && "${APACHE_VERSION}" == 2.4 CONFIGURE_ARGS+=--disable-apache-22 --enable-apache-24 --with-apxs24=${APXS} PLIST_SUB+= WITH_APACHE_24="" .else CONFIGURE_ARGS+=--disable-apache-24 --disable-apache-22 PLIST_SUB+= WITH_APACHE_24="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \ -e 's,^pkgwebdir.*=.*,pkgwebdir = ${DOCSDIR},' \ ${WRKSRC}/doc/Makefile.in ${WRKSRC}/configs/Makefile.in .include diff --git a/security/sig2dot/Makefile b/security/sig2dot/Makefile index ba3f33fd18d3..c6322870d4c8 100644 --- a/security/sig2dot/Makefile +++ b/security/sig2dot/Makefile @@ -1,27 +1,25 @@ -# Created by: ijliao - PORTNAME= sig2dot PORTVERSION= 0.35 CATEGORIES= security MASTER_SITES= http://www.chaosreigns.com/code/sig2dot/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .pl MAINTAINER= ports@FreeBSD.org COMMENT= GPG/PGP Keyring Graph Generator CONFLICTS_INSTALL=signing-party PLIST_FILES= bin/sig2dot EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} NO_WRKSUBDIR= yes NO_BUILD= yes USES= shebangfix perl5 SHEBANG_FILES= sig2dot.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sig2dot.pl ${STAGEDIR}${PREFIX}/bin/sig2dot .include diff --git a/security/signing-party/Makefile b/security/signing-party/Makefile index 406e8ed60242..c9593f4948d1 100644 --- a/security/signing-party/Makefile +++ b/security/signing-party/Makefile @@ -1,74 +1,72 @@ -# Created by: johans - PORTNAME= signing-party PORTVERSION= 2.10 CATEGORIES= security MAINTAINER= romain@FreeBSD.org COMMENT= Various OpenPGP related tools LICENSE= BSD2CLAUSE BSD3CLAUSE GPLv2 GPLv2+ GPLv3+ MIT LICENSE_COMB= multi BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= gpg:security/gnupg \ p5-Net-IDN-Encode>=0:textproc/p5-Net-IDN-Encode \ p5-Class-MethodMaker>=0:devel/p5-Class-MethodMaker \ p5-GnuPG-Interface>=0:security/p5-GnuPG-Interface \ p5-Mail-Tools>=0:mail/p5-Mail-Tools \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-Convert-Recode>=0:converters/p5-Convert-Recode \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \ p5-Text-Template>=0:textproc/p5-Text-Template \ p5-GD>=0:graphics/p5-GD USES= perl5 python gmake shebangfix SHEBANG_FILES= ${SCRIPTS} BINARY_ALIAS= sed=gsed CONFLICTS_INSTALL= pgpdir sig2dot springgraph # bin/gpgdir bin/sig2dot bin/springgraph USE_GITLAB= yes GL_SITE= https://salsa.debian.org/ GL_ACCOUNT= signing-party-team GL_COMMIT= 8f6c9d59d8edbb08dade7bac06417fce07626f7f BINS= keyanalyze/keyanalyze keyanalyze/process_keys \ gpgwrap/bin/gpgwrap SCRIPTS= caff/caff caff/pgp-clean caff/pgp-fixkey \ gpgdir/gpgdir gpglist/gpglist \ gpgparticipants/gpgparticipants gpgsigs/gpgsigs \ gpg-key2latex/gpg-key2latex \ gpg-key2ps/gpg-key2ps gpg-mailkeys/gpg-mailkeys \ keyart/keyart keylookup/keylookup \ sig2dot/sig2dot springgraph/springgraph \ gpgparticipants/gpgparticipants MANUALS1= ${SCRIPTS:S/$/.1/:S/keyart/&\/doc/} ${BINS:S/$/.1/:S/bin/doc/} EXAMPLES= caff/caffrc.sample gpg-mailkeys/example.gpg-mailkeysrc PORTEXAMPLES= ${EXAMPLES:T} PORTDOCS= * OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|/usr/share/doc/signing-party/caff/caffrc\.sample|${EXAMPLESDIR}/caffrc.sample|' \ ${WRKSRC}/caff/caff @${REINPLACE_CMD} -e 's|/usr/bin/pinentry-gtk-2|${LOCALBASE}/bin/pinentry-gtk-2|' \ ${WRKSRC}/caff/README.gpg-agent @${REINPLACE_CMD} -e 's|[[:<:]]make|${MAKE_CMD}|' \ -e '/^all/s|pgpring/pgpring||' \ ${WRKSRC}/gpgwrap/Makefile \ ${WRKSRC}/keyanalyze/Makefile @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/gpgwrap/src/Makefile do-install: ${INSTALL_PROGRAM} ${BINS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${MANUALS1:S|^|${WRKSRC}/|} \ ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/caff ${INSTALL_DATA} ${WRKSRC}/caff/README* ${STAGEDIR}${DOCSDIR}/caff .include diff --git a/security/silktools/Makefile b/security/silktools/Makefile index 80af62aa94ec..2b588e5c07cb 100644 --- a/security/silktools/Makefile +++ b/security/silktools/Makefile @@ -1,61 +1,59 @@ -# Created by: David Thiel - PORTNAME= silktools PORTVERSION= 3.19.1 CATEGORIES= security net MASTER_SITES= http://tools.netsa.cert.org/releases/ DISTNAME= silk-${PORTVERSION} MAINTAINER= antoine@FreeBSD.org COMMENT= Tools for large-scale network capture analysis LICENSE= GPLR GPLv2 LICENSE_COMB= multi LICENSE_NAME_GPLR= Government Purpose License Rights LICENSE_FILE_GPLR= ${WRKSRC}/LICENSE.txt LICENSE_PERMS_GPLR= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfixbuf.so:net/libfixbuf BUILD_DEPENDS= p5-DBI>=0:databases/p5-DBI \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-packing-tools USE_LDCONFIG= yes USES= gmake libtool perl5 pkgconfig INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= ADNS CARES GNUTLS IPV6 LOCALTIME LZO PYTHON SNAPPY STATIC OPTIONS_DEFAULT= LZO PYTHON OPTIONS_SUB= yes ADNS_CONFIGURE_WITH= adns=${LOCALBASE} ADNS_DESC= Asynchronous DNS resolution via adns ADNS_LIB_DEPENDS= libadns.so:dns/adns CARES_CONFIGURE_WITH= c-ares=${LOCALBASE} CARES_LIB_DEPENDS= libcares.so:dns/c-ares IPV6_CONFIGURE_ENABLE= ipv6 GNUTLS_CONFIGURE_WITH= gnutls=${LOCALBASE} GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls LOCALTIME_DESC= Use localtime instead of UTC LOCALTIME_CONFIGURE_ENABLE= localtime LZO_CONFIGURE_WITH= lzo=${LOCALBASE} LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 PYTHON_CONFIGURE_WITH= python PYTHON_USES= python PYTHON_USE= python=py3kplist SNAPPY_CONFIGURE_WITH= snappy=${LOCALBASE} SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy STATIC_CONFIGURE_ENABLE= static .include diff --git a/security/smurflog/Makefile b/security/smurflog/Makefile index 984f4909f883..e1d0d11d3d33 100644 --- a/security/smurflog/Makefile +++ b/security/smurflog/Makefile @@ -1,33 +1,31 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= smurflog PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= PACKETSTORM/UNIX/loggers MAINTAINER= ports@FreeBSD.org COMMENT= Program to assist logging of smurf attacks USE_CSTD= gnu89 GNU_CONFIGURE= yes PORTDOCS= README PLIST_FILES= sbin/smurflog OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/strip/d' ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/smurflog ${STAGEDIR}${PREFIX}/sbin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile index 0ba064e6718f..eb0b53df59ad 100644 --- a/security/snoopy/Makefile +++ b/security/snoopy/Makefile @@ -1,37 +1,35 @@ -# Created by: Philippe Audeoud - PORTNAME= snoopy PORTVERSION= 2.4.15 CATEGORIES= security MASTER_SITES= https://github.com/a2o/snoopy/releases/download/snoopy-${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Log every executed command to syslog LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash TEST_DEPENDS= socat:net/socat USES= autoreconf gmake libtool shebangfix CONFIGURE_ARGS= --disable-datasource-tid_kernel \ ac_cv_prog_SNOOPY_PROG_SOCAT_FOUND=yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes SHEBANG_GLOB= *.sh OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README.md do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog README.md ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/ && ${INSTALL_DATA} CONTRIBUTING.md FAQ.md FILTER_exclude_spawns_of.md INSTALL.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/security/snort-rep/Makefile b/security/snort-rep/Makefile index 1b2da955e657..3d633d6dc37f 100644 --- a/security/snort-rep/Makefile +++ b/security/snort-rep/Makefile @@ -1,26 +1,24 @@ -# Created by: Mark Pulford - PORTNAME= snort-rep PORTVERSION= 1.10 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://david.schweikert.ch/software/snort-rep/pub/ MAINTAINER= ports@FreeBSD.org COMMENT= Snort reporting tool that can produce text or HTML from logs USES= shebangfix perl5 SHEBANG_FILES= snort-rep snort-rep-mail OPTIONS_DEFINE= EXAMPLES do-build: (cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1) do-install: ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/snort/Makefile b/security/snort/Makefile index 275312fcec45..cccd7a1a0a7a 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -1,139 +1,137 @@ -# Created by: Dirk Froemberg - PORTNAME= snort PORTVERSION= 2.9.20 CATEGORIES= security MASTER_SITES= https://snort.org/downloads/snort/ \ https://snort.org/downloads/archive/snort/ PATCH_DIST_STRIP= -p1 MAINTAINER= dvl@FreeBSD.org COMMENT= Lightweight network intrusion detection system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= daq>=2.2.2_3:net/daq LIB_DEPENDS= libpcre.so:devel/pcre \ libdnet.so:net/libdnet \ libpcap.so:net/libpcap RUN_DEPENDS= daq>=2.2.2_3:net/daq USES= bison cpe libtool pathfix shebangfix ssl USE_RC_SUBR= snort USE_LDCONFIG= yes SUB_FILES= pkg-message SHEBANG_FILES= tools/appid_detector_builder.sh GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes RULES_DIR= ${ETCDIR}/rules PREPROC_RULE_DIR= ${ETCDIR}/preproc_rules LOGS_DIR= /var/log/snort CONFLICTS_INSTALL= snort3-3.* OPTIONS_DEFINE= IPV6 GRE HA NORMALIZER DOCS APPID \ PERFPROFILE LRGPCAP SOURCEFIRE NONETHER \ FILEINSPECT OPTIONS_GROUP= ADDONS DEV OPTIONS_GROUP_ADDONS= BARNYARD PULLEDPORK OPTIONS_GROUP_DEV= DBGSNORT COREDUMPS OPTIONS_SUB= yes OPTIONS_DEFAULT= GRE NORMALIZER BARNYARD \ PERFPROFILE SOURCEFIRE PULLEDPORK GRE_DESC= GRE support IPV6_DESC= IPv6 in snort.conf LRGPCAP_DESC= Pcaps larger than 2GB NONETHER_DESC= Non-Ethernet Decoders NORMALIZER_DESC= Normalizer PERFPROFILE_DESC= Performance profiling SOURCEFIRE_DESC= Sourcefire recommended build options APPID_DESC= Build with application id support (EXPERIMENTAL) HA_DESC= Enable high-availability state sharing (EXPERIMENTAL) FILEINSPECT_DESC= Build with extended file inspection features (EXPERIMENTAL) ADDONS_DESC= Depend on 3rd party addons BARNYARD_DESC= Depend on barnyard2 (supports also snortsam) PULLEDPORK_DESC= Depend on pulledpork DEV_DESC= Developer options DBGSNORT_DESC= Enable debugging symbols COREDUMPS_DESC= Enable core dumps COREDUMPS_CONFIGURE_ENABLE= corefiles DBGSNORT_CONFIGURE_ENABLE= debug DBGSNORT_MAKE_ENV= DONTSTRIP="yes" GRE_CONFIGURE_ENABLE= gre LRGPCAP_CONFIGURE_ENABLE= large-pcap NONETHER_CONFIGURE_ENABLE= non-ether-decoders NORMALIZER_CONFIGURE_ENABLE= normalizer PERFPROFILE_CONFIGURE_ENABLE= perfprofiling ppm SOURCEFIRE_CONFIGURE_ENABLE= sourcefire APPID_CONFIGURE_ENABLE= open-appid HA_CONFIGURE_ENABLE= ha FILEINSPECT_CONFIGURE_ENABLE= file-inspect BARNYARD_RUN_DEPENDS= barnyard2:security/barnyard2 PULLEDPORK_RUN_DEPENDS= pulledpork.pl:security/pulledpork APPID_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.1" \ luajit_LIBS="-L${LOCALBASE}/lib -lluajit-5.1" # Disable SIMD on 32-bit arm. Snort has numerous arbitrarily misaligned memory # accesses and some of them cause faults. The kludge below combined with # patch-configure seems to work around it well enough. # # Note the change is more aggressive than it possibly needs to be reduce surprises. CFLAGS_armv6= -mfpu=vfpv3 CFLAGS_armv7= -mfpu=vfpv3 CONFIG_FILES= classification.config gen-msg.map reference.config \ snort.conf threshold.conf unicode.map file_magic.conf DOCS= RELEASE.NOTES doc/AUTHORS doc/BUGS doc/CREDITS \ doc/README* doc/USAGE doc/*.pdf PREPROC_RULES= decoder.rules preprocessor.rules sensitive-data.rules CFLAGS+= -fstack-protector CONFIGURE_ARGS+=--enable-reload \ --enable-mpls --enable-targetbased \ --enable-reload-error-restart post-patch: @${REINPLACE_CMD} "s,/etc/snort.conf,${ETCDIR}/snort.conf," \ ${WRKSRC}/src/snort.c ${WRKSRC}/snort.8 @${REINPLACE_CMD} -e 's|^dynamicdetection|#dynamicdetection|' \ -e '/ipvar HOME_NET/s/any/[YOU_NEED_TO_SET_HOME_NET_IN_snort.conf]/' \ -e '/^# include .PREPROC_RULE/s/# include/include/' \ ${WRKSRC}/etc/snort.conf post-patch-IPV6-off: # IPv6 is no longer a ./configure option! @${REINPLACE_CMD} -e '/normalize_ip6/s/^preprocessor/#preprocessor/' \ -e '/normalize_icmp6/s/^preprocessor/#preprocessor/' \ ${WRKSRC}/etc/snort.conf post-build: @${FIND} ${WRKSRC}/src -name '*.0' -type f -exec ${STRIP_CMD} {} \; post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${RULES_DIR} ${STAGEDIR}${LOGS_DIR} \ ${STAGEDIR}${PREPROC_RULE_DIR} .for f in ${CONFIG_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${STAGEDIR}${ETCDIR}/${f}-sample .endfor .for f in ${PREPROC_RULES} ${INSTALL_DATA} ${WRKSRC}/preproc_rules/${f} ${STAGEDIR}${PREPROC_RULE_DIR}/${f}-sample .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${PREPROC_RULE_DIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/security/snort3/Makefile b/security/snort3/Makefile index 7abd2ee44ee2..23bd683bc2d3 100644 --- a/security/snort3/Makefile +++ b/security/snort3/Makefile @@ -1,80 +1,78 @@ -# Created by: Mark Felder - PORTNAME= snort DISTVERSION= 3.1.36.0 PORTEPOCH= 1 CATEGORIES= security PKGNAMESUFFIX= 3 MAINTAINER= bofh@FreeBSD.org COMMENT= Lightweight network intrusion detection system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdaq.so:net/libdaq \ libdnet.so:net/libdnet \ libhwloc.so:devel/hwloc2 \ libpcap.so:net/libpcap \ libpcre.so:devel/pcre \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake compiler:c++14-lang cpe iconv localbase pathfix pkgconfig \ shebangfix ssl USE_GITHUB= yes GH_ACCOUNT= snort3 GH_PROJECT= snort3 SHEBANG_FILES= tools/appid_detector_builder.sh CMAKE_ARGS+= -DFLEX_INCLUDE_DIR_HINT:PATH=${PREFIX}/include/flex CONFLICTS= snort-2* OPTIONS_DEFINE= ADDRESSSANITIZER DEBUG DOCS FLATBUFFERS HYPERSCAN \ LARGEPCAP PIE STATICDAQ THREADSANITIZER OPTIONS_DEFINE_amd64= TSC OPTIONS_DEFAULT= STATICDAQ OPTIONS_DEFAULT_amd64= HYPERSCAN OPTIONS_SUB= yes ADDRESSSANITIZER_DESC= Enable address sanitizer FLATBUFFERS_DESC= Enable flatbuffers support HYPERSCAN_DESC= Enable high-performance regular expression lib LARGEPCAP_DESC= Enable support for pcaps larger than 2 GB PIE_DESC= Enable PIE (Broken) STATICDAQ_DESC= Link static DAQ modules THREADSANITIZER_DESC= Enable thread sanitizer TSC_DESC= Use timestamp counter register clock (x86 only) ADDRESSSANITIZER_CMAKE_BOOL= ENABLE_ADDRESS_SANITIZER DEBUG_CMAKE_BOOL= ENABLE_COREFILES ENABLE_GDB DOCS_CMAKE_BOOL= MAKE_HTML_DOC MAKE_PDF_DOC MAKE_TEXT_DOC FLATBUFFERS_LIB_DEPENDS= flatc:devel/flatbuffers205 # until https://github.com/snort3/snort3/issues/250 is fixed HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan HYPERSCAN_PLIST_SUB= HYPERSCAN="" HYPERSCAN_PLIST_SUB_OFF= HYPERSCAN="@comment " LARGEPCAP_CMAKE_BOOL= ENABLE_LARGE_PCAP PIE_CMAKE_BOOL= ENABLE_PIE STATICDAQ_CMAKE_BOOL= ENABLE_STATIC_DAQ THREADSANITIZER_CMAKE_BOOL= ENABLE_THREAD_SANITIZER TSC_CMAKE_BOOL= ENABLE_TSC_CLOCK .include .if ${ARCH:Mpowerpc64*} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit-openresty .else LIB_DEPENDS+= libluajit-5.1.so:lang/luajit .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 BUILD_DEPENDS= flex>0:textproc/flex .endif post-patch: ${REINPLACE_CMD} -e 's|_LIBDIR}/pkgconfig|_PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/cmake/create_pkg_config.cmake .include diff --git a/security/snortsam/Makefile b/security/snortsam/Makefile index 884a66c7fca2..e9b54633355f 100644 --- a/security/snortsam/Makefile +++ b/security/snortsam/Makefile @@ -1,76 +1,74 @@ -# Created by: Danton Dorati - PORTNAME= snortsam PORTVERSION= 2.70 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.snortsam.net/files/snortsam/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= urisso@bsd.com.br COMMENT= Output plugin for Snort OPTIONS_DEFINE= IPFW SAMTOOL DEBUG DOCS OPTIONS_DEFAULT= IPFW SAMTOOL IPFW_DESC= checks if configured tables are available SAMTOOL_DESC= install samtool .include USE_RC_SUBR= snortsam SUB_FILES= pkg-message \ pkg-install PLIST_FILES= sbin/snortsam \ %%ETCDIR%%/snortsam.conf.sample \ %%ETCDIR%%/country-rootservers.conf.sample \ %%ETCDIR%%/rootservers.cfg.sample .if ${PORT_OPTIONS:MSAMTOOL} PLIST_FILES+= sbin/samtool .endif PORTDOCS= AUTHORS BUGS CREDITS FAQ INSTALL LICENSE README README.ciscoacl \ README.conf README.iptables README.netscreen README.pf README.pf2 \ README.rules README.slackware README.snmp_interface_down README.wgrd \ README_8signs.rtf TODO .if ! ${PORT_OPTIONS:MIPFW} EXTRA_PATCHES+= ${FILESDIR}/ssp_ipfw2_no_table_check.patch .endif .if ${PORT_OPTIONS:MDEBUG} DEBUG=-DDEBUG .endif # This seems silly, but the RC file gets into ${WRKDIR}/${PORTNAME} which # without this, would exist and be a directory. post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} post-patch: @${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/conf/snortsam.conf.sample @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/docs/README.conf @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/src/snortsam.h @${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${ETCDIR}/snortsam.conf|g" ${WRKSRC}/contrib/snortsam-state.c @${CHMOD} +x ${WRKSRC}/makesnortsam.sh do-build: @cd ${WRKSRC}/src && ${MAKE} ${DEBUG} @cd ${WRKSRC}/src && ${MAKE} samtool ${DEBUG} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/snortsam ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/samtool ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/conf/snortsam.conf.sample ${STAGEDIR}${ETCDIR}/snortsam.conf.sample ${INSTALL_DATA} ${WRKSRC}/conf/rootservers.cfg ${STAGEDIR}${ETCDIR}/rootservers.cfg.sample ${INSTALL_DATA} ${WRKSRC}/conf/country-rootservers.conf ${STAGEDIR}${ETCDIR}/country-rootservers.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/snortsnarf/Makefile b/security/snortsnarf/Makefile index 644bcb58e3d7..8ca80a2d0b00 100644 --- a/security/snortsnarf/Makefile +++ b/security/snortsnarf/Makefile @@ -1,40 +1,38 @@ -# Created by: Kris Kennaway - PORTNAME= snortsnarf PORTVERSION= 1.0 PORTEPOCH= 1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Initial%20Release%20${PORTVERSION} DISTNAME= SnortSnarf-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Generate HTML report summaries from snort incident alerts LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-Time-modules>=0:devel/p5-Time-modules USES= perl5 shebangfix SHEBANG_FILES= snortsnarf.pl NO_BUILD= yes USE_PERL5= run OPTIONS_DEFINE= DOCS post-patch: @${SED} -e 's|\./include|${PREFIX}/libdata/${PORTNAME}|' \ < ${WRKSRC}/snortsnarf.pl > ${WRKSRC}/snortsnarf do-install: ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/snortsnarf (cd ${WRKSRC}/include \ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/libdata/${PORTNAME}) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README Usage ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/softhsm2/Makefile b/security/softhsm2/Makefile index 0ff394d920ae..f342c31bc651 100644 --- a/security/softhsm2/Makefile +++ b/security/softhsm2/Makefile @@ -1,69 +1,67 @@ -# Created by: Jaap Akkerhuis - PORTNAME= softhsm PORTVERSION= 2.6.1 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://dist.opendnssec.org/source/ \ http://dist.opendnssec.org/source/testing/ PKGNAMESUFFIX= 2 MAINTAINER= jaap@NLnetLabs.nl COMMENT= Software implementation of a Hardware Security Module (HSM) LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= compiler:c++11-lang libtool ssl pkgconfig SUB_FILES= pkg-message CONFLICTS= softhsm-1.* USE_LDCONFIG= yes LIB_DEPENDS+= libcppunit.so:devel/cppunit MY_DEPENDS+= p11-kit:security/p11-kit BUILD_DEPENDS+= ${MY_DEPENDS} RUN_DEPENDS+= ${MY_DEPENDS} OPTIONS_DEFINE= SQLITE MIGRATE MIGRATE_IMPLIES= SQLITE OPTIONS_SUB= yes SQLITE_DESC= Build with object store backend DB support (SQLITE3) MIGRATE_DESC= Build the migration tool OPTIONS_SINGLE= CRYP OPTIONS_SINGLE_CRYP= CRYP_OPEN CRYP_BOTAN CRYP_OPEN_DESC= Build with OpenSSL crypto library CRYP_BOTAN_DESC= Build with Botan crypto library OPTIONS_DEFAULT= CRYP_OPEN SQLITE MIGRATE SQLITE_CONFIGURE_WITH= sqlite3=${LOCALBASE} objectstore-backend-db SQLITE_USES= sqlite MIGRATE_CONFIGURE_WITH= migrate CRYP_BOTAN_CONFIGURE_ON= --with-crypto-backend=botan CRYP_BOTAN_LIB_DEPENDS= libbotan-2.so:security/botan2 CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl --with-openssl=${OPENSSLBASE} .include .if ${SSL_DEFAULT:Mlibressl*} || ${SSL_DEFAULT:Mopenssl} CONFIGURE_ARGS+= --disable-gost .endif # openssl-1.1.1 (default after 1200080) doesn't support GHOST (yet), punt for now. CONFIGURE_ARGS+= --disable-gost post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/p11-kit/modules ${INSTALL_DATA} ${WRKSRC}/softhsm2.module \ ${STAGEDIR}${PREFIX}/share/p11-kit/modules .include diff --git a/security/sqlmap/Makefile b/security/sqlmap/Makefile index aaae46ad1f18..20273f475382 100644 --- a/security/sqlmap/Makefile +++ b/security/sqlmap/Makefile @@ -1,28 +1,26 @@ -# Created by: Tomoyuki Sakurai - PORTNAME= sqlmap PORTVERSION= 1.3.12 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rm@FreeBSD.org COMMENT= Automatic SQL injection tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/sqlmap/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= python:3.6+ shebangfix USE_PYTHON= autoplist distutils SHEBANG_FILES= *.py sqlmap/extra/shutils/*.sh sqlmap/extra/shutils/*.py NO_ARCH= yes OPTIONS_DEFINE= MSF MSF_DESC= Enable Metasploit Framework integration MSF_RUN_DEPENDS= msfcli:security/metasploit .include diff --git a/security/sqlninja/Makefile b/security/sqlninja/Makefile index b8b9a7dcb7d8..31ce1a818438 100644 --- a/security/sqlninja/Makefile +++ b/security/sqlninja/Makefile @@ -1,46 +1,44 @@ -# Created by: Valerio Daelli - PORTNAME= sqlninja DISTVERSION= 0.2.6 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Sql Server exploit toolkit LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-Pcap>=0:net/p5-Net-Pcap \ p5-Net-RawIP>=0:net/p5-Net-RawIP \ p5-NetPacket>=0:net/p5-NetPacket USES= perl5 tar:tgz NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${ETCDIR}/scripts ${MKDIR} ${STAGEDIR}${ETCDIR}/apps .for i in sqlninja ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor .for i in churrasco.scr dnstun.scr nc.scr ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${i} ${STAGEDIR}${ETCDIR}/scripts .endfor .for i in churrasco.exe dnstun.exe nc.exe ${INSTALL_SCRIPT} ${WRKSRC}/apps/${i} ${STAGEDIR}${ETCDIR}/apps .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in sqlninja-howto.html sqlninja.conf.example ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/srm/Makefile b/security/srm/Makefile index 903024c786d0..25221c2f4072 100644 --- a/security/srm/Makefile +++ b/security/srm/Makefile @@ -1,23 +1,21 @@ -# Created by: Keith J. Jones - PORTNAME= srm PORTVERSION= 1.2.15 CATEGORIES= security sysutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} \ SF/${PORTNAME}/old_releases \ SF/${PORTNAME}/old_releases/${PORTVERSION} MAINTAINER= mshirk@daemon-security.com COMMENT= Secure rm, a utility which destroys file contents before unlinking LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= secure_delete GNU_CONFIGURE= yes TEST_TARGET= test PLIST_FILES= bin/fill_test bin/srm man/man1/srm.1.gz .include diff --git a/security/ssdeep/Makefile b/security/ssdeep/Makefile index 78a5cb728505..6c8950919fb0 100644 --- a/security/ssdeep/Makefile +++ b/security/ssdeep/Makefile @@ -1,19 +1,17 @@ -# Created by: Nobutaka Mantani - PORTNAME= ssdeep PORTVERSION= 2.14.1 CATEGORIES= security MASTER_SITES= https://github.com/ssdeep-project/ssdeep/releases/download/release-${PORTVERSION}/ MAINTAINER= nobutaka@FreeBSD.org COMMENT= Tool for computing context triggered piecewise hashes LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake libtool USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/security/ssh-multiadd/Makefile b/security/ssh-multiadd/Makefile index 103a7c0f538a..4768385de2e5 100644 --- a/security/ssh-multiadd/Makefile +++ b/security/ssh-multiadd/Makefile @@ -1,25 +1,23 @@ -# Created by: Pete Fritchman - PORTNAME= ssh-multiadd PORTVERSION= 1.3.2 CATEGORIES= security MASTER_SITES= SUNSITE/system/network/telnet MAINTAINER= ports@FreeBSD.org COMMENT= Tool to add multiple ssh keys to the authentication agent USES= python:run NO_BUILD= yes PLIST_FILES= bin/ssh-multiadd man/man1/ssh-multiadd.1.gz post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin/python2|${PYTHON_CMD}| ; \ s|#break|break|' ${WRKSRC}/ssh-multiadd do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ssh-multiadd ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ssh-multiadd.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/sshguard/Makefile b/security/sshguard/Makefile index 7e0d66b5f9b7..93860b2df754 100644 --- a/security/sshguard/Makefile +++ b/security/sshguard/Makefile @@ -1,31 +1,29 @@ -# Created by: Mij - PORTNAME= sshguard PORTVERSION= 2.4.2 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION} MAINTAINER= kevinz5000@gmail.com COMMENT= Protect hosts from brute-force attacks against SSH and other services LICENSE= BSD2CLAUSE USE_RC_SUBR= sshguard GNU_CONFIGURE= yes SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|' \ ${WRKSRC}/doc/sshguard.8.rst @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/examples/sshguard.conf.sample post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/examples/sshguard.conf.sample \ ${STAGEDIR}${PREFIX}/etc .include diff --git a/security/sshpass/Makefile b/security/sshpass/Makefile index 4ec48deb7fe2..8ebfc0eb7065 100644 --- a/security/sshpass/Makefile +++ b/security/sshpass/Makefile @@ -1,20 +1,18 @@ -# Created by: Hung-Yi Chen - PORTNAME= sshpass PORTVERSION= 1.09 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/sshpass/${PORTVERSION} MAINTAINER= gaod@hychen.org COMMENT= Non-interactive ssh password auth tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf GNU_CONFIGURE= yes PLIST_FILES= bin/sshpass \ man/man1/sshpass.1.gz .include diff --git a/security/ssl-admin/Makefile b/security/ssl-admin/Makefile index a76457753708..97a610b34502 100644 --- a/security/ssl-admin/Makefile +++ b/security/ssl-admin/Makefile @@ -1,37 +1,35 @@ -# Created by: Eric Crist - PORTNAME= ssl-admin DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 PORTREVISION= 2 CATEGORIES= security MAINTAINER= ecrist@secure-computing.net COMMENT= OpenSSL certificate manager with OpenVPN support LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE RUN_DEPENDS= zip:archivers/zip USES= perl5 shebangfix tar:xz USE_GITHUB= yes GH_ACCOUNT= ecrist USE_PERL5= run SHEBANG_FILES= ssl-admin GNU_CONFIGURE= yes MAKE_ENV= ETCDIR=${PREFIX}/etc BINDIR=${PREFIX}/bin \ MANDIR=${MANPREFIX}/man NO_ARCH= yes SUB_FILES= pkg-message WRKSRC_SUBDIR= perl post-patch: ${REINPLACE_CMD} -e 's|`which sed`|${SED}|' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|{DESTDIR}/|{DESTDIR}|g' ${WRKSRC}/Makefile .include diff --git a/security/sslscan/Makefile b/security/sslscan/Makefile index 5091ccf32508..471809b84581 100644 --- a/security/sslscan/Makefile +++ b/security/sslscan/Makefile @@ -1,37 +1,35 @@ -# Created by: Matthieu BOUTHORS - PORTNAME= sslscan DISTVERSION= 1.11.12 DISTVERSIONSUFFIX= -${GH_ACCOUNT} PORTREVISION= 1 CATEGORIES= security MAINTAINER= gavin@FreeBSD.org COMMENT= Fast SSL port scanner LICENSE= GPLv3 USES= gmake USE_GITHUB= yes GH_ACCOUNT= rbsec OPTIONS_DEFINE= UNSAFESSL OPTIONS_DEFAULT= UNSAFESSL UNSAFESSL_DESC= Use openssl-unsafe as libssl provider (SSLv2 etc.) UNSAFESSL_USES_OFF= ssl UNSAFESSL_BUILD_DEPENDS= ${LOCALBASE}/openssl-unsafe/lib/libssl.so:security/openssl-unsafe UNSAFESSL_RUN_DEPENDS= ${UNSAFESSL_BUILD_DEPENDS} UNSAFESSL_CFLAGS= -I${LOCALBASE}/openssl-unsafe/include \ -Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib UNSAFESSL_LDFLAGS= -L${LOCALBASE}/openssl-unsafe/lib \ -Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib UNSAFESSL_ALL_TARGET= sslscan .include .if empty(PORT_OPTIONS:MUNSAFESSL) && ${SSL_DEFAULT:Mopenssl} BROKEN= Does not build with openssl .endif .include diff --git a/security/sssd/Makefile b/security/sssd/Makefile index 6efabbcf88e5..55c1645cd638 100644 --- a/security/sssd/Makefile +++ b/security/sssd/Makefile @@ -1,131 +1,129 @@ -# Created by: Lukas Slebodnik - PORTNAME= sssd PORTVERSION= 1.16.5 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= https://releases.pagure.org/SSSD/${PORTNAME}/ MAINTAINER= lukas.slebodnik@intrak.sk COMMENT= System Security Services Daemon LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpopt.so:devel/popt \ libtalloc.so:devel/talloc \ libtevent.so:devel/tevent \ libtdb.so:databases/tdb \ libldb.so:databases/ldb21 \ libcares.so:dns/c-ares \ libdbus-1.so:devel/dbus \ libdhash.so:devel/ding-libs \ libpcre.so:devel/pcre \ libunistring.so:devel/libunistring \ libnss3.so:security/nss \ libsasl2.so:security/cyrus-sasl2 \ libinotify.so:devel/libinotify \ libplds4.so:devel/nspr BUILD_DEPENDS= xmlcatalog:textproc/libxml2 \ docbook-xsl>=1:textproc/docbook-xsl \ xsltproc:textproc/libxslt \ xmlcatmgr:textproc/xmlcatmgr \ krb5>=1.10:security/krb5 \ nsupdate:dns/bind-tools FLAVORS= default smb FLAVOR?= ${FLAVORS:[1]} smb_PKGNAMESUFFIX= -smb GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-selinux --without-semanage \ --without-libnl --without-nfsv4-idmapd-plugin \ --without-autofs --without-secrets --without-kcm \ --without-python2-bindings --with-python-prefix=${PREFIX} \ --with-init-dir=no \ --disable-cifs-idmap-plugin \ --with-unicode-lib=libunistring \ --with-ldb-lib-dir=${LOCALBASE}/lib/shared-modules/ldb \ --with-xml-catalog-path=${LOCALBASE}/share/xml/catalog \ --datadir=${DATADIR} --docdir=${DOCSDIR} --localstatedir=/var \ --with-db-path=/var/db/sss/db --with-mcache-path=/var/db/sss/mc \ --with-pubconf-path=/var/db/sss/pubconf \ --with-gpo-cache-path=/var/db/sss/gpo_cache \ --with-pid-path=/var/run --with-pipe-path=/var/run/sss/pipes \ --with-krb5-conf=/etc/krb5.conf \ --enable-pammoddir=${PREFIX}/lib CFLAGS+= -fstack-protector-all PLIST_SUB= PYTHON_VER=${PYTHON_VER} #DEBUG_FLAGS= -g MAKE_ENV+= LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW" SUB_FILES= pkg-message TEST_TARGET= check USES= autoreconf cpe gettext gmake iconv libtool pathfix pkgconfig \ python:3.6+ shebangfix gssapi:mit USE_LDCONFIG= yes USE_OPENLDAP= yes INSTALL_TARGET= install-strip CPE_VENDOR= fedoraproject BINARY_ALIAS= python3=python${PYTHON_VER} SHEBANG_FILES= src/tools/sss_obfuscate \ src/sbus/sbus_codegen USE_RC_SUBR= ${PORTNAME} PORTDATA= * OPTIONS_DEFINE= DOCS SMB OPTIONS_SUB= yes SMB_DESC= Install IPA and AD providers (requires Samba4) SMB_USES= samba:lib SMB_CONFIGURE_WITH= samba smb-idmap-interface-version=6 SMB_LIB_DEPENDS= libndr-nbt.so.0:net/samba412 \ libndr-krb5pac.so.0:net/samba412 \ libndr-standard.so.0:net/samba412 \ libndr.so.1:net/samba412 \ libsamba-util.so.0:net/samba412 \ libsmbclient.so.0:net/samba412 .if ${FLAVOR} == smb OPTIONS_DEFAULT+= SMB .endif post-patch: @${REINPLACE_CMD} -e 's|NSS_STATUS_NOTFOUND|NS_NOTFOUND|g' \ -e 's|NSS_STATUS_UNAVAIL|NS_UNAVAIL|g' \ -e 's|NSS_STATUS_TRYAGAIN|NS_TRYAGAIN|g' \ -e '/ETIME/d' \ -e 's|NSS_STATUS_SUCCESS|NS_SUCCESS|g' \ ${WRKSRC}/src/sss_client/common.c @${REINPLACE_CMD} \ -e 's|pam_modutil_getlogin(pamh)|getlogin()|g' \ ${WRKSRC}/src/sss_client/pam_sss.c @${REINPLACE_CMD} \ -e 's|install-data-hook install-dist_initSCRIPTS|install-dist_initSCRIPTS|g' \ -e 's|install-data-hook|notinstall-data-hook|g' \ ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|/etc/sssd/|${ETCDIR}/|g' \ -e 's|/etc/openldap/|${LOCALBASE}/etc/openldap/|g' \ ${WRKSRC}/src/man/*xml @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \ -e 's|/var/lib/sss/pubconf/|/var/db/sss/pubconf/|g' \ ${WRKSRC}/src/man/sss_ssh_knownhostsproxy.1.xml \ ${WRKSRC}/src/man/*/sss_ssh_knownhostsproxy.1.xml \ ${WRKSRC}/src/man/po/*.po @${CP} ${FILESDIR}/bsdnss.c ${WRKSRC}/src/sss_client/bsdnss.c @${CP} ${FILESDIR}/sss_bsd_errno.h ${WRKSRC}/src/util/sss_bsd_errno.h post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf \ ${STAGEDIR}${ETCDIR}/sssd.conf.sample ${LN} -sf nss_sss.so ${STAGEDIR}${PREFIX}/lib/nss_sss.so.1 # clean unused man dirs .for i in es/man1 nl/man1 nl/man5 pt/man1 pt/man5 sv/man1 @${RMDIR} ${STAGEDIR}${PREFIX}/man/${i} .endfor .include diff --git a/security/ssss/Makefile b/security/ssss/Makefile index 00d4be11813a..e1690ebb8bd5 100644 --- a/security/ssss/Makefile +++ b/security/ssss/Makefile @@ -1,19 +1,17 @@ -# Created by: Lukasz Komsta - PORTNAME= ssss PORTVERSION= 0.5 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://point-at-infinity.org/ssss/ MAINTAINER= ports@FreeBSD.org COMMENT= Shamir's Secret Sharing Scheme LIB_DEPENDS= libgmp.so:math/gmp PLIST_FILES= bin/ssss-combine bin/ssss-split man/man1/ssss.1.gz post-patch: ${REINPLACE_CMD} 's,(DESTDIR),&$$(PREFIX),' ${WRKSRC}/Makefile .include diff --git a/security/sst/Makefile b/security/sst/Makefile index 553501b48657..162a45bab115 100644 --- a/security/sst/Makefile +++ b/security/sst/Makefile @@ -1,21 +1,19 @@ -# Created by: Mikhail Teterin - PORTNAME= sst PORTVERSION= 1.23 CATEGORIES= security MASTER_SITES= http://utcc.utoronto.ca/~pkern/stuff/sst/ MAINTAINER= mi@aldan.algebra.com COMMENT= Simple SSL tunneling tool (uses netcat) .if !exists(/usr/bin/nc) RUN_DEPENDS= netcat:net/netcat .endif MAKEFILE= ${FILESDIR}/Makefile USES= uidfix ssl tar:xz PLIST_FILES= sbin/sst \ man/man1/sst.1.gz .include diff --git a/security/steghide/Makefile b/security/steghide/Makefile index 038c7a3d6a95..01aa609c0910 100644 --- a/security/steghide/Makefile +++ b/security/steghide/Makefile @@ -1,37 +1,35 @@ -# Created by: RaRa Rasputin - PORTNAME= steghide PORTVERSION= 0.5.1 PORTREVISION= 7 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Steganography tool to hide data in binary files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmcrypt.so:security/libmcrypt \ libmhash.so:security/mhash USES= compiler cpe gmake jpeg libtool:build localbase perl5 CPE_VENDOR= ${PORTNAME}_project GNU_CONFIGURE= yes CPPFLAGS+= -fpermissive LIBS+= -lmcrypt CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-static-float-init MAKE_ARGS= LIBTOOL="${LOCALBASE}/bin/libtool" OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl post-patch: @${REINPLACE_CMD} '/CXXFLAGS=/s|-O2|${CXXFLAGS}|' ${WRKSRC}/configure .include diff --git a/security/stoken/Makefile b/security/stoken/Makefile index 1a699c0f001b..7f974d803472 100644 --- a/security/stoken/Makefile +++ b/security/stoken/Makefile @@ -1,35 +1,33 @@ -# Created by: Alex Samorukov - PORTNAME= stoken DISTVERSION= 0.92 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF/stoken MAINTAINER= samm@FreeBSD.org COMMENT= Software Token for UNIX compatible with RSA SecurID LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt # can alternatively use nettle, potentially port option can be created USES= gnome libtool localbase pkgconfig GNU_CONFIGURE= yes USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_CONFIGURE_WITH= gtk X11_DESC= Build GUI token interface X11_USE= GNOME=gtk30,cairo,gdkpixbuf2 post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g ; s|^dist_doc_DATA|#dist_doc_DATA|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|LTC_LTC_PKCS_1_V1_5|LTC_PKCS_1_V1_5|g' \ ${WRKSRC}/src/stc-tomcrypt.c .include diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index a743963f0950..faa3b77994ab 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -1,119 +1,117 @@ -# Created by: Martti Kuparinen - PORTNAME= stunnel DISTVERSION= 5.65 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.stunnel.org/downloads/archive/5.x/ \ https://ftp.nluug.nl/pub/networking/stunnel/archive/5.x/ \ http://ftp.nluug.nl/pub/networking/stunnel/archive/5.x/ MAINTAINER= zi@FreeBSD.org COMMENT= SSL encryption wrapper for standard network daemons # FIXME: IMHO, there really ought to be a GPL-2+ option or some such. LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON= missing upstream support USES= cpe libtool perl5 shebangfix ssl USE_PERL5= build USE_LDCONFIG= yes USE_RC_SUBR= stunnel GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/tmp --enable-static --disable-systemd \ --with-ssl="${OPENSSLBASE}" SHEBANG_FILES= src/stunnel3.in SUB_FILES= daemon.conf SUB_LIST= STUNNEL_PIDFILE=${STUNNEL_PIDFILE} \ STUNNEL_USER=${STUNNEL_USER} \ STUNNEL_GROUP=${STUNNEL_GROUP} OPTIONS_DEFINE= DOCS EXAMPLES FIPS IPV6 LIBWRAP OPTIONS_SINGLE= THREAD OPTIONS_SINGLE_THREAD= FORK PTHREAD UCONTEXT OPTIONS_DEFAULT= PTHREAD FIPS_CONFIGURE_ENABLE= fips IPV6_CONFIGURE_ENABLE= ipv6 LIBWRAP_CONFIGURE_ENABLE= libwrap FIPS_DESC= Enable OpenSSL FIPS mode FORK_DESC= Use the fork(3) threading model PTHREAD_DESC= Use the pthread(3) threading model UCONTEXT_DESC= Use the ucontext(3) threading model STUNNEL_PIDFILE=/var/run/stunnel/stunnel.pid STUNNEL_USER?= stunnel STUNNEL_GROUP?= stunnel USERS= ${STUNNEL_USER} GROUPS= ${STUNNEL_GROUP} .include .if ${PORT_OPTIONS:MLIBWRAP} LDFLAGS+= -lwrap .endif .if ${PORT_OPTIONS:MUCONTEXT} CONFIGURE_ARGS+=--with-threads=ucontext LDFLAGS+= -lpthread .elif ${PORT_OPTIONS:MFORK} CONFIGURE_ARGS+=--with-threads=fork .else CONFIGURE_ARGS+=--with-threads=pthread LDFLAGS+= -lpthread .endif .include .if ${PORT_OPTIONS:MFIPS} && ${SSL_DEFAULT:Mlibressl*} IGNORE= LibreSSL does not support FIPS standard .endif .if ${SSL_DEFAULT:Mlibressl*} NO_PACKAGE= The stunnel license restricts distribution when linked to non-OpenSSL non-base SSL-libraries .endif post-patch: # place files under /var/tmp so that this can be run by an unprivileged # user stunnel and group stunnel @${REINPLACE_CMD} -E -e 's|\@prefix\@/var/lib/stunnel/|/var/tmp/stunnel|; \ s|nobody|stunnel|;s|nogroup|stunnel|;s|;include |include |' \ ${WRKSRC}/tools/stunnel.conf-sample.in @${REINPLACE_CMD} -E -e 's|\$$\(prefix\)/var/run/stunnel/stunnel.pid|$$(localstatedir)/stunnel.pid|' \ ${WRKSRC}/src/Makefile.in @${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e 's,@(ACLOCAL|AUTO(MAKE|CONF|HEADER))@,/usr/bin/true,' @${REINPLACE_CMD} -E -e 's|install-confDATA install-data-local|install-confDATA|g' \ ${WRKSRC}/tools/Makefile.in .if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -E -e 's/ install-docDATA/ /' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E -e '/install-data-am/s,install-docDATA,,' ${WRKSRC}/doc/Makefile.in .endif .if empty(PORT_OPTIONS:MEXAMPLES) @${REINPLACE_CMD} -E -e 's/([^n])install-examplesDATA/\1/' \ ${WRKSRC}/tools/Makefile.in .else @${REINPLACE_CMD} -E -e 's|\$$\(docdir\)/examples|${EXAMPLESDIR}|g' ${WRKSRC}/tools/Makefile.in .endif post-build: @${STRIP_CMD} ${WRKSRC}/src/.libs/libstunnel.so post-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d/ ${INSTALL_DATA} ${WRKDIR}/daemon.conf ${STAGEDIR}${ETCDIR}/conf.d/00-daemon.conf cert: @${ECHO} "" @${ECHO} "**************************************************************************" @${ECHO} "The new certificate will be saved into ${ETCDIR}/stunnel.pem" @${ECHO} "**************************************************************************" @${ECHO} "" @(cd ${WRKSRC}/tools/; make cert) .include diff --git a/security/subversion-gnome-keyring/Makefile b/security/subversion-gnome-keyring/Makefile index 4cd74140f42a..4840daecbde2 100644 --- a/security/subversion-gnome-keyring/Makefile +++ b/security/subversion-gnome-keyring/Makefile @@ -1,24 +1,22 @@ -# Created by: Autrijus Tang - PKGNAMESUFFIX= -gnome-keyring CATEGORIES= security gnome MAINTAINER= lev@FreeBSD.org COMMENT= Gnome Keyring integration for Version control system PORTREVISION_114= 0 PORTREVISION_LTS= 0 .include "${.CURDIR}/../../devel/subversion/Makefile.addons" LIB_DEPENDS+= libsecret-1.so:security/libsecret CONFIGURE_ARGS+= --with-gnome-keyring ALL_TARGET= gnome-keyring-lib INSTALL_TARGET= install-gnome-keyring-lib post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include diff --git a/security/sudo/Makefile b/security/sudo/Makefile index a23f8b26b5d9..a85af70061c3 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,127 +1,125 @@ -# Created by: erich@rrnet.com - PORTNAME= sudo PORTVERSION= 1.9.11p3 CATEGORIES= security MASTER_SITES= SUDO MAINTAINER= garga@FreeBSD.org COMMENT= Allow others to run commands as root LICENSE= sudo LICENSE_NAME= Sudo license LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe libtool CPE_VENDOR= todd_miller USE_LDCONFIG= yes GNU_CONFIGURE= yes LDFLAGS+= -lgcc CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-ignore-dot \ --with-tty-tickets \ --with-env-editor \ --with-logincap \ --with-long-otp-prompt \ --with-rundir=/var/run/sudo OPTIONS_DEFINE= LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \ AUDIT OPIE PAM PYTHON NLS SSSD DOCS EXAMPLES OPTIONS_RADIO= KERBEROS OPTIONS_DEFAULT= AUDIT PAM OPTIONS_SUB= yes INSULTS_DESC= Enable insults on failures DISABLE_ROOT_SUDO_DESC= Do not allow root to run sudo DISABLE_AUTH_DESC= Do not require authentication by default NOARGS_SHELL_DESC= Run a shell if no arguments are given AUDIT_DESC= Enable BSM audit support KERBEROS_DESC= Enable Kerberos 5 authentication (no PAM support) OPIE_DESC= Enable one-time passwords (no PAM support) PYTHON_DESC= Enable python plugin support SSSD_DESC= Enable SSSD backend support. PAM_PREVENTS= OPIE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT PAM_PREVENTS_MSG= PAM cannot be combined with any other authentication plugin LOGFAC?= authpriv CONFIGURE_ARGS+= --with-logfac=${LOGFAC} # This is intentionally not an option. # SUDO_SECURE_PATH is a PATH string that will override the user's PATH. # ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" .if defined(SUDO_SECURE_PATH) CONFIGURE_ARGS+= --with-secure-path="${SUDO_SECURE_PATH}" .endif NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl NLS_CFLAGS= -I${LOCALBASE}/include INSULTS_CONFIGURE_ON= --with-insults INSULTS_CONFIGURE_ON+= --with-all-insults LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --with-ldap=${PREFIX} SUDO_LDAP_CONF?= ldap.conf LDAP_CONFIGURE_ON+= --with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF} DISABLE_ROOT_SUDO_CONFIGURE_ON= --disable-root-sudo DISABLE_AUTH_CONFIGURE_ON= --disable-authentication NOARGS_SHELL_CONFIGURE_ENABLE= noargs-shell AUDIT_CONFIGURE_WITH= bsm-audit PAM_CONFIGURE_ON= --with-pam OPIE_CONFIGURE_ON= --with-opie PYTHON_USES= python PYTHON_CONFIGURE_ENABLE= python SSSD_CONFIGURE_ON= --with-sssd SSSD_RUN_DEPENDS= sssd:security/sssd OPTIONS_RADIO_KERBEROS= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --with-kerb5=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS} # This is intentionally not an option. # SUDO_KERB5_INSTANCE is an optional instance string that will be appended to kerberos # principals when to perform authentication. Common choices are "admin" and "sudo". .if defined(SUDO_KERB5_INSTANCE) CONFIGURE_ARGS+= --enable-kerb5-instance="${SUDO_KERB5_INSTANCE}" .endif .include .if ${ARCH} == "arm" CONFIGURE_ARGS+= --disable-pie .endif post-patch: @${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \ s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's,$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(docdir),$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(bindir),' \ ${WRKSRC}/plugins/sudoers/Makefile.in post-install: ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/sudo.default ${MV} ${STAGEDIR}${PREFIX}/etc/sudo.conf ${STAGEDIR}${PREFIX}/etc/sudo.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf ${STAGEDIR}${PREFIX}/etc/sudo_logsrvd.conf.sample ${RM} ${STAGEDIR}${PREFIX}/etc/sudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cvtsudoers ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sudoreplay ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_logsrvd ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/sudo_sendlog ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/visudo .for f in audit_json.so group_file.so libsudo_util.so sample_approval.so sudoers.so system_group.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/${f} .endfor post-install-PYTHON-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/sudo/python_plugin.so .include diff --git a/security/sudoscript/Makefile b/security/sudoscript/Makefile index 1bcae9f02bcd..dbc330c5bc51 100644 --- a/security/sudoscript/Makefile +++ b/security/sudoscript/Makefile @@ -1,20 +1,18 @@ -# Created by: hbo@egbok.com - PORTNAME= sudoscript PORTVERSION= 2.1.2 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%202.1%20release/${PORTNAME}%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Audited shells in Perl with sudo(8) and script(1) USES= perl5 gmake MAKE_ARGS= PERLPATH=${PERL} MAKE_ENV= SSRPM=yes NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|^PREFIX=|^PREFIX?=|g' \ ${WRKSRC}/Makefile .include diff --git a/security/super/Makefile b/security/super/Makefile index 8b739f57a84a..35f59a0ac6fc 100644 --- a/security/super/Makefile +++ b/security/super/Makefile @@ -1,41 +1,39 @@ -# Created by: David O'Brien (obrien@NUXI.com) - PORTNAME= super PORTVERSION= 3.30.3 PORTREVISION= 1 CATEGORIES= security sysutils MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \ http://www.ucolick.org/~will/RUE/super/ EXTRACT_SUFX= -tar.gz MAINTAINER= egypcio@FreeBSD.org COMMENT= Allow others to run commands as root LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/Artistic LICENSE_FILE_GPLv1+ = ${WRKSRC}/Copying GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|\.\/mkdir_p -p755|mkdir -p -m 755|g' \ -e '/sysconfdir/ s|super\.tab|&.sample|' \ ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/super ${STAGEDIR}${PREFIX}/bin/setuid post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/sample.tab ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/swatchdog/Makefile b/security/swatchdog/Makefile index 30c4d2125fc1..ee894111bf12 100644 --- a/security/swatchdog/Makefile +++ b/security/swatchdog/Makefile @@ -1,28 +1,26 @@ -# Created by: jfitz - PORTNAME= swatchdog PORTVERSION= 3.2.4 CATEGORIES= security sysutils MASTER_SITES= SF/swatch/${PORTNAME} MAINTAINER= joseph@randomnetworks.com COMMENT= Simple log watcher formerly known as swatch LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc \ p5-Date-Manip>=0:devel/p5-Date-Manip \ p5-File-Tail>=0:devel/p5-File-Tail \ p5-TimeDate>=0:devel/p5-TimeDate RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure CONFIGURE_ARGS= INSTALLMAN1DIR=${PREFIX}/man/man1 USE_RC_SUBR= ${PORTNAME} post-patch: ${FIND} ${WRKSRC} -name "*.orig" -delete .include diff --git a/security/tclsasl/Makefile b/security/tclsasl/Makefile index 456da3206add..732e19667ee9 100644 --- a/security/tclsasl/Makefile +++ b/security/tclsasl/Makefile @@ -1,28 +1,26 @@ -# Created by: Denis Shaposhnikov - PORTNAME= tclsasl PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= security tcl MASTER_SITES= http://beepcore-tcl.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Tcl interface to the Cyrus SASLv2 library LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 USES= tcl:tea libtool tar:tgz USE_LDCONFIG= yes CONFIGURE_ARGS= --with-cyrus-sasl=${LOCALBASE} CONFIGURE_ENV= INSTALL="${INSTALL_DATA}" STAGEDIR="${STAGEDIR}" PORTDOCS= tclsasl.html OPTIONS_DEFINE= DOCS post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/tclsasl.html ${STAGEDIR}${DOCSDIR} .include diff --git a/security/tcpcrypt/Makefile b/security/tcpcrypt/Makefile index d593a6a9c739..fc7bc93fcda4 100644 --- a/security/tcpcrypt/Makefile +++ b/security/tcpcrypt/Makefile @@ -1,27 +1,25 @@ -# Created by: John-Mark Gurney - PORTNAME= tcpcrypt PORTVERSION= 0.5 DISTVERSIONPREFIX= v CATEGORIES= security net MAINTAINER= jmg@FreeBSD.org COMMENT= TCPCrypt userland divert daemon LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= scslab GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= autoreconf libtool ssl CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} INSTALL_TARGET= install-strip TEST_TARGET= check USERS= tcpcryptd GROUPS= tcpcryptd .include diff --git a/security/tinc/Makefile b/security/tinc/Makefile index 10754c6cda14..74d6513d4df2 100644 --- a/security/tinc/Makefile +++ b/security/tinc/Makefile @@ -1,28 +1,26 @@ -# Created by: ijliao - PORTNAME= tinc PORTVERSION= 1.0.36 PORTREVISION= 2 CATEGORIES= security net-vpn MASTER_SITES= https://www.tinc-vpn.org/packages/ \ http://www.tinc-vpn.org/packages/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Virtual Private Network (VPN) daemon LICENSE= GPLv3 LIB_DEPENDS= liblzo2.so:archivers/lzo2 USES= cpe ssl makeinfo CPE_VENDOR= tinc-vpn GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --localstatedir=/var USE_RC_SUBR= tincd INFO= tinc PLIST_FILES= sbin/tincd \ man/man5/tinc.conf.5.gz man/man8/tincd.8.gz .include diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile index afde6f63cce1..ef250a6f8439 100644 --- a/security/tor-devel/Makefile +++ b/security/tor-devel/Makefile @@ -1,130 +1,128 @@ -# Created by: peter.thoenen@yahoo.com - PORTNAME= tor DISTVERSION= 0.4.7.4-alpha CATEGORIES= security net MASTER_SITES= TOR PKGNAMESUFFIX= -devel MAINTAINER= yuri@FreeBSD.org COMMENT= Anonymizing overlay network for TCP LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 cpe gmake pkgconfig # should be compiler:c99 or compiler:gnu99 USE_CSTD= gnu99 # until this bug report is closed: https://trac.torproject.org/projects/tor/ticket/27900 CPE_VENDOR= torproject GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" \ --with-libevent-dir=${LOCALBASE} # probably not needed CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC OPTIONS_GROUP= COMPRESSION TRACING OPTIONS_GROUP_COMPRESSION= ZSTD LZMA OPTIONS_GROUP_TRACING= LTTNG USDT LOG_DEBUG OPTIONS_DEFAULT=MANPAGES ZSTD LZMA OPTIONS_SUB= yes STATIC_TOR_DESC= Build a static tor TCMALLOC_DESC= Use the tcmalloc memory allocation library COMPRESSION_DESC= Supported compression libraries TRACING_DESC= Tracing USE_RC_SUBR= tor SUB_FILES= pkg-message SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}" GROUPS= _tor USERS= _tor CONFLICTS_INSTALL= tor STATIC_TOR_USES= ssl:build STATIC_TOR_USES_OFF= ssl # compression options ZSTD_CONFIGURE_ENABLE= zstd ZSTD_CONFIGURE_ENV=TOR_ZSTD_LIBS="${TOR_ZSTD_LIBS}" LZMA_CONFIGURE_ENABLE= lzma # tracing options LTTNG_DESC= Build with LTTng-UST instrumentation LTTNG_USES= localbase LTTNG_CONFIGURE_ENABLE= tracing-instrumentation-lttng LTTNG_LIB_DEPENDS= liblttng-ust.so:sysutils/lttng-ust USDT_DESC= Build with tracing USDT instrumentation USDT_CONFIGURE_ENABLE= tracing-instrumentation-usdt USDT_LIB_DEPENDS= liblttng-ust.so:sysutils/lttng-ust USDT_BROKEN= error: use of undeclared identifier 'tor_circuit': https://gitlab.torproject.org/tpo/core/tor/-/issues/40174#note_2714275 LOG_DEBUG_DESC= Build with tracing event to debug log LOG_DEBUG_CONFIGURE_ENABLE= tracing-instrumentation-log-debug .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= asciidoc:textproc/asciidoc .else CONFIGURE_ARGS+= --disable-asciidoc .endif .if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ empty(PORT_OPTIONS:MSTATIC_TOR) CONFIGURE_ARGS+= --enable-gcc-hardening .else CONFIGURE_ARGS+= --disable-gcc-hardening .endif .if ${PORT_OPTIONS:MSTATIC_TOR} BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:devel/libevent CONFIGURE_ARGS+= --enable-static-tor \ --with-zlib-dir=/usr/lib --disable-linker-hardening TOR_LIBEVENT_LIBS= ${LOCALBASE}/lib/libevent.a . if ${PORT_OPTIONS:MZSTD} BUILD_DEPENDS+= ${LOCALBASE}/lib/libzstd.a:archivers/zstd TOR_ZSTD_LIBS= ${LOCALBASE}/lib/libzstd.a LDFLAGS+= -lelf # needed by libexecinfo.a . endif .else CONFIGURE_ARGS+= --enable-linker-hardening LIB_DEPENDS+= libevent.so:devel/libevent TOR_LIBEVENT_LIBS= -levent . if ${PORT_OPTIONS:MZSTD} LIB_DEPENDS+= libzstd.so:archivers/zstd TOR_ZSTD_LIBS= -lzstd . endif .endif .if ${PORT_OPTIONS:MTCMALLOC} CONFIGURE_ARGS+= --with-malloc=tcmalloc .if ${PORT_OPTIONS:MSTATIC_TOR} BUILD_DEPENDS+= ${LOCALBASE}/lib/libtcmalloc.a:devel/google-perftools # for static 'tor' executable RUN_DEPENDS+= google-perftool>0:devel/google-perftools # for a still-dynamic 'tor-gencert' executable LDFLAGS+= -lc++ -lm # required by libtcmalloc.a and isn't cocered by google-perftools' `pkg-config --libs libtcmalloc` output .else LIB_DEPENDS+= libtcmalloc.so:devel/google-perftools .endif .endif PORTSCOUT= limit:^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+-[a-z].*$$ post-patch: @${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|lib/tor|db/tor|' \ ${WRKSRC}/src/config/torrc.*.in \ ${WRKSRC}/doc/man/tor.1.* \ ${WRKSRC}/doc/man/tor.html.in post-install: @${MKDIR} ${STAGEDIR}/var/log/tor ${STAGEDIR}/var/run/tor ${STAGEDIR}/var/db/tor check regression-test test: build @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS} check .include diff --git a/security/tor/Makefile b/security/tor/Makefile index 73c06986aeef..b889da66fd9d 100644 --- a/security/tor/Makefile +++ b/security/tor/Makefile @@ -1,127 +1,125 @@ -# Created by: peter.thoenen@yahoo.com - PORTNAME= tor DISTVERSION= 0.4.7.8 CATEGORIES= security net MASTER_SITES= TOR MAINTAINER= yuri@FreeBSD.org COMMENT= Anonymizing overlay network for TCP LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 cpe gmake pkgconfig # should be compiler:c99 or compiler:gnu99 USE_CSTD= gnu99 # until this bug report is closed: https://trac.torproject.org/projects/tor/ticket/27900 CPE_VENDOR= torproject GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}" CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \ TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/" \ TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}" OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC OPTIONS_GROUP= COMPRESSION TRACING OPTIONS_GROUP_COMPRESSION= ZSTD LZMA OPTIONS_GROUP_TRACING= LTTNG USDT LOG_DEBUG OPTIONS_DEFAULT=MANPAGES ZSTD LZMA OPTIONS_EXCLUDE_FreeBSD_12=DOCS MANPAGES # XXX(rene) a2x somehow broken there OPTIONS_SUB= yes STATIC_TOR_DESC= Build a static tor TCMALLOC_DESC= Use the tcmalloc memory allocation library COMPRESSION_DESC= Supported compression libraries TRACING_DESC= Tracing USE_RC_SUBR= tor SUB_FILES= pkg-message SUB_LIST= USER="${USERS}" GROUP="${GROUPS}" PLIST_SUB= USER="${USERS}" GROUP="${GROUPS}" GROUPS= _tor USERS= _tor CONFLICTS_INSTALL= tor-devel STATIC_TOR_USES= ssl:build STATIC_TOR_USES_OFF= ssl # compression options ZSTD_CONFIGURE_ENABLE= zstd ZSTD_CONFIGURE_ENV=TOR_ZSTD_LIBS="${TOR_ZSTD_LIBS}" LZMA_CONFIGURE_ENABLE= lzma # tracing options LTTNG_DESC= Build with LTTng-UST instrumentation LTTNG_USES= localbase LTTNG_CONFIGURE_ENABLE= tracing-instrumentation-lttng LTTNG_LIB_DEPENDS= liblttng-ust.so:sysutils/lttng-ust USDT_DESC= Build with tracing USDT instrumentation USDT_CONFIGURE_ENABLE= tracing-instrumentation-usdt USDT_LIB_DEPENDS= liblttng-ust.so:sysutils/lttng-ust USDT_BROKEN= error: use of undeclared identifier 'tor_circuit': https://gitlab.torproject.org/tpo/core/tor/-/issues/40174#note_2714275 LOG_DEBUG_DESC= Build with tracing event to debug log LOG_DEBUG_CONFIGURE_ENABLE= tracing-instrumentation-log-debug .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= asciidoc:textproc/asciidoc .else CONFIGURE_ARGS+= --disable-asciidoc .endif .if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \ empty(PORT_OPTIONS:MSTATIC_TOR) CONFIGURE_ARGS+= --enable-gcc-hardening .else CONFIGURE_ARGS+= --disable-gcc-hardening .endif .if ${PORT_OPTIONS:MSTATIC_TOR} BUILD_DEPENDS += ${LOCALBASE}/lib/libevent.a:devel/libevent CONFIGURE_ARGS+= --enable-static-tor \ --with-zlib-dir=/usr/lib --disable-linker-hardening TOR_LIBEVENT_LIBS= ${LOCALBASE}/lib/libevent.a . if ${PORT_OPTIONS:MZSTD} BUILD_DEPENDS+= ${LOCALBASE}/lib/libzstd.a:archivers/zstd TOR_ZSTD_LIBS= ${LOCALBASE}/lib/libzstd.a LDFLAGS+= -lelf # needed by libexecinfo.a . endif .else CONFIGURE_ARGS+= --enable-linker-hardening LIB_DEPENDS+= libevent.so:devel/libevent TOR_LIBEVENT_LIBS= -levent . if ${PORT_OPTIONS:MZSTD} LIB_DEPENDS+= libzstd.so:archivers/zstd TOR_ZSTD_LIBS= -lzstd . endif .endif .if ${PORT_OPTIONS:MTCMALLOC} CONFIGURE_ARGS+= --with-malloc=tcmalloc .if ${PORT_OPTIONS:MSTATIC_TOR} BUILD_DEPENDS+= ${LOCALBASE}/lib/libtcmalloc.a:devel/google-perftools # for static 'tor' executable RUN_DEPENDS+= google-perftool>0:devel/google-perftools # for a still-dynamic 'tor-gencert' executable LDFLAGS+= -lc++ -lm # required by libtcmalloc.a and isn't cocered by google-perftools' `pkg-config --libs libtcmalloc` output .else LIB_DEPENDS+= libtcmalloc.so:devel/google-perftools .endif .endif post-patch: @${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|lib/tor|db/tor|' \ ${WRKSRC}/src/config/torrc.*.in \ ${WRKSRC}/doc/man/tor.1.* \ ${WRKSRC}/doc/man/tor.html.in post-install: @${MKDIR} ${STAGEDIR}/var/log/tor ${STAGEDIR}/var/run/tor ${STAGEDIR}/var/db/tor check regression-test test: build @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS} check .include diff --git a/security/totp-cli/Makefile b/security/totp-cli/Makefile index 00d2a185019f..c5b0af3fd644 100644 --- a/security/totp-cli/Makefile +++ b/security/totp-cli/Makefile @@ -1,31 +1,29 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= totp-cli PORTVERSION= 1.2.1 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= sunpoet@FreeBSD.org COMMENT= Authy/Google Authenticator like TOTP CLI tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules PLIST_FILES= bin/totp-cli GH_ACCOUNT= yitsushi GH_TUPLE= go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ golang:crypto:0559593:golang_crypto/vendor/golang.org/x/crypto \ golang:sys:05e143d:golang_sys/vendor/golang.org/x/sys \ golang:term:065cf7b:golang_term/vendor/golang.org/x/term \ golang:text:b4bca84:golang_text/vendor/golang.org/x/text \ kardianos:osext:2bc1f35:kardianos_osext/vendor/github.com/kardianos/osext \ mitchellh:go-homedir:af06845:mitchellh_gohomedir/vendor/github.com/mitchellh/go-homedir \ yitsushi:github-release-check:4d0202c:yitsushi_github_release_check/vendor/github.com/yitsushi/github-release-check \ yitsushi:go-commander:b4d4247:yitsushi_go_commander/vendor/github.com/yitsushi/go-commander USE_GITHUB= yes .include diff --git a/security/tpm-tools/Makefile b/security/tpm-tools/Makefile index 4e713da842a5..877263c58ce1 100644 --- a/security/tpm-tools/Makefile +++ b/security/tpm-tools/Makefile @@ -1,34 +1,32 @@ -# Created by: Sebastian Schuetz - PORTNAME= tpm-tools PORTVERSION= 1.3.9.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/trousers/${PORTNAME}/${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Provides a basic set of TPM tools LICENSE= CPL LICENSE_NAME= Common Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libtspi.so:security/trousers BUILD_DEPENDS= ${LOCALBASE}/sbin/pkcsconf:security/opencryptoki RUN_DEPENDS= ${LOCALBASE}/sbin/tcsd:security/trousers \ ${LOCALBASE}/lib/pkcs11/libopencryptoki.so:security/opencryptoki USES= autoreconf gettext gmake iconv libtool ssl USE_LDCONFIG= YES NO_WRKSUBDIR= YES GNU_CONFIGURE= YES LIBS+= -L${LOCALBASE}/lib -lintl INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} '/^libtpm_unseal_la_LIBADD =/s/$$/ -lcrypto/' \ ${WRKSRC}/lib/Makefile.in .include diff --git a/security/trezord/Makefile b/security/trezord/Makefile index 10cc68d6f51b..309d0071ed2a 100644 --- a/security/trezord/Makefile +++ b/security/trezord/Makefile @@ -1,28 +1,26 @@ -# Created by: Alex Dupre - PORTNAME= trezord DISTVERSIONPREFIX= v DISTVERSION= 2.0.31 PORTREVISION= 3 CATEGORIES= security MAINTAINER= ale@FreeBSD.org COMMENT= TREZOR Communication Daemon aka TREZOR Bridge LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING USES= go:modules USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= trezor GH_PROJECT= ${PORTNAME}-go GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} PLIST_FILES= bin/${GH_PROJECT} .include "${.CURDIR}/Makefile.modules" .include diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile index 14cbced4151b..bd84cc0a4ba9 100644 --- a/security/tripwire/Makefile +++ b/security/tripwire/Makefile @@ -1,185 +1,183 @@ -# Created by: Cy Schubert - PORTNAME= tripwire PORTVERSION= 2.4.3.7 PORTREVISION= 1 CATEGORIES= security MAINTAINER= cy@FreeBSD.org COMMENT= File system security and verification program LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= Tripwire GH_PROJECT= tripwire-open-source NO_LICENSES_INSTALL= yes MAKE_JOBS_UNSAFE= yes USES= cpe gmake ssl GNU_CONFIGURE= yes MAKE_ARGS= SYSPRE=${ARCH}-unknown-freebsd \ DESTDIR=${STAGEDIR} M4= /usr/bin/m4 # Tripwire database files are stored in TWDB. TWDB?= /var/db/tripwire # If TW_CLOBBER is set to true, the install script clobbers # previously installed config files. # # If TW_PROMPT is set to true, the install script is interactive. OPTIONS_SINGLE= TWCFG OPTIONS_SINGLE_TWCFG= TWCFG_ETC TWCFG_TWDB OPTIONS_DEFINE= TW_CLOBBER TW_PROMPT SW_ONLY DB_BUILD OPTIONS_DEFAULT= TWCFG_ETC TW_PROMPT DB_BUILD TWCFG_ETC_DESC= Put config files in ${ETCDIR} TWCFG_TWDB_DESC= Put config files in ${TWDB}/etc TW_CLOBBER_DESC= Clobber existing database files at install TW_PROMPT_DESC= Interactive install (ignored when PACKAGE_BUILDING) SW_ONLY_DESC= Install software only, do not post-configure (ignored when PACKAGE_BUILDING) DB_BUILD_DESC= Build database during post-install (ignored when PACKAGE_BUILDING) PACKAGE_BUILDING= yes .ifndef PACKAGE_BUILDING BROKEN= for testing only .endif .include # Tripwire config files are stored in TWCFG .if ${PORT_OPTIONS:MTWCFG_ETC} TWCFG?= ${ETCDIR} .endif .if ${PORT_OPTIONS:MTWCFG_TWDB} TWCFG?= ${TWDB}/etc .endif .if ${PORT_OPTIONS:MTW_CLOBBER} TW_CLOBBER= true .else TW_CLOBBER= false .endif .if ${PORT_OPTIONS:MTW_PROMPT} TW_PROMPT= true .else TW_PROMPT= false # TW_SITE_PASS?= FreeBSD .ifndef TW_SITE_PASS BROKEN= No site passphrase specified or turn PROMPT on .endif # TW_LOCAL_PASS?= FreeBSD .ifndef TW_LOCAL_PASS BROKEN= No local passphrase specified or turn PROMPT on .endif .endif # Tripwire policy files are stored in TWPOLICY. TWPOLICY?= ${TWCFG} # The Tripwire site key files are stored in TWSITEKEYDIR. TWSITEKEYDIR?= ${TWPOLICY} # The Tripwire local key files are stored in TWLOCALKEYDIR. TWLOCALKEYDIR?= ${TWPOLICY} # Tripwire report files are stored in TWREPORT. TWREPORT?= ${TWDB}/report # This sets the default text editor for Tripwire. TWEDITOR?= /usr/bin/vi # This sets the location of the twpol.txt file that is to be installed TWPOL_TXT?= ${FILESDIR}/twpol.m4 CONFIGURE_ARGS= --prefix=${PREFIX} --program-transform-name='' --sysconfdir=${TWCFG} PLIST_SUB+= TWCFG=${TWCFG} TWDB=${TWDB} PKGPOSTINSTALL= ${WRKDIR}/pkg-postinstall PKGPOSTDEINSTALL= ${WRKDIR}/pkg-deinstall SUB_FILES= pkg-deinstall SUB_LIST= TWCFG=${TWCFG} TWDB=${TWDB} pre-configure: @ ${M4} -DFREEBSD_VERSION=`${ECHO_CMD} ${OSREL} | ${CUT} -d. -f1` < ${TWPOL_TXT} > ${WRKSRC}/policy/twpol-FreeBSD.txt @ ${MV} ${WRKSRC}/src/core/stdcore.h ${WRKSRC}/src/core/stdcore.h.orig @ ${SED} 's%^# define CONFIG_FILE_ROOT "${TWCFG}"%# define CONFIG_FILE_ROOT "${TWCFG}"%' ${WRKSRC}/src/core/stdcore.h.orig > ${WRKSRC}/src/core/stdcore.h @ ${MV} ${WRKSRC}/man/man4/twconfig.4 ${WRKSRC}/man/man5/twconfig.5 @ ${MV} ${WRKSRC}/man/man4/twpolicy.4 ${WRKSRC}/man/man5/twpolicy.5 @ ${LN} -s ${WRKSRC}/contrib ${WRKSRC}/install install-config-files: @ ${ECHO_CMD} TWPOLICY=${TWPOLICY} >> ${WRKSRC}/installer/install.cfg @ ${ECHO_CMD} TWSITEKEYDIR=${TWSITEKEYDIR} >> ${WRKSRC}/installer/install.cfg @ ${ECHO_CMD} TWLOCALKEYDIR=${TWLOCALKEYDIR} >> ${WRKSRC}/installer/install.cfg @ ${ECHO_CMD} TWDB=${TWDB} >> ${WRKSRC}/installer/install.cfg @ ${ECHO_CMD} TWREPORT=${TWREPORT} >> ${WRKSRC}/installer/install.cfg @ ${ECHO_CMD} TWEDITOR=${TWEDITOR} >> ${WRKSRC}/installer/install.cfg .ifdef TW_SITE_PASS @ ${ECHO_CMD} TW_SITE_PASS=${TW_SITE_PASS} >> ${WRKSRC}/installer/install.cfg .endif .ifdef TW_LOCAL_PASS @ ${ECHO_CMD} TW_LOCAL_PASS=${TW_LOCAL_PASS} >> ${WRKSRC}/installer/install.cfg .endif @ cd ${WRKSRC} && ${LN} -sf installer/install.cfg installer/install.sh . .ifdef PACKAGE_BUILDING @ cd ${WRKSRC} && DESTDIR=${STAGEDIR} PREFIX=${PREFIX} TW_CLOBBER=${TW_CLOBBER} DO_NOT_CONFIG="yes" TW_PROMPT="false" ${MAKE_CMD} install-data-hook .else .if ${PORT_OPTIONS:MSW_ONLY} @ cd ${WRKSRC} && DESTDIR=${STAGEDIR} PREFIX=${PREFIX} TW_CLOBBER=${TW_CLOBBER} DO_NOT_CONFIG="yes" TW_PROMPT="false" ${MAKE_CMD} install-data-hook .else @ cd ${WRKSRC} && DESTDIR=${STAGEDIR} PREFIX=${PREFIX} TW_CLOBBER=${TW_CLOBBER} TW_PROMPT=${TW_PROMPT} ${MAKE_CMD} install-data-hook .endif .endif make-pkg-install: @ ${ECHO_CMD} '#!/bin/sh -' > ${PKGPOSTINSTALL} @ ${ECHO_CMD} '#' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} "# Generated by make-${PKGPOSTINSTALL} on `date`" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} '#' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} 'case $$2 in' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} 'POST-INSTALL) ;;' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} '*) exit 0;;' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} 'esac' >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} PACKAGE_INSTALLER=yes >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} POLICYSRC=/tmp/$$$$.tmp >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} PREFIX="${PREFIX}" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} DO_NOT_CONFIG=yes >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} TW_CLOBBER="false" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} TW_PROMPT="false" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} prefix=${PREFIX} >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} sysconfdir=${TWCFG} >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} path_to_vi="/usr/bin/vi" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} path_to_sendmail="/usr/sbin/sendmail" >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} BASE_DIR=${PREFIX}/ >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} BIN_DIR=${PREFIX}/sbin >> ${PKGPOSTINSTALL} .ifdef TW_SITE_PASS @ ${ECHO_CMD} TW_SITE_PASS=${TW_SITE_PASS} >> ${PKGPOSTINSTALL} .endif .ifdef TW_LOCAL_PASS @ ${ECHO_CMD} TW_LOCAL_PASS=${TW_LOCAL_PASS} >> ${PKGPOSTINSTALL} .endif @ ${CAT} ${WRKSRC}/installer/install.cfg >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} ${CAT} "> /tmp/$$$$.tmp <<'EOF'" >> ${PKGPOSTINSTALL} @ ${M4} -DFREEBSD_VERSION=`${ECHO_CMD} ${OSREL} | ${CUT} -d. -f1` < ${TWPOL_TXT} >> ${PKGPOSTINSTALL} @ ${ECHO_CMD} EOF >> ${PKGPOSTINSTALL} @ ${SED} "/^\. /s/^/: /;/^BASE_DIR=/d;s/BIN_DIR=/: BIN_DIR=/;/^POLICYSRC/d" ${WRKSRC}/installer/install.sh >> ${PKGPOSTINSTALL} create-database: .ifndef PACKAGE_BUILDING .if ${PORT_OPTIONS:MDB_BUILD} .if ${PORT_OPTIONS:MSW_ONLY} @ ${ECHO} SW_ONLY has been specified, database will not be built. .else @ ${MKDIR} ${TWCFG} ${TWPOLICY} ${TWSITEKEYDIR} ${TWLOCALKEYDIR} \ ${TWDB} ${TWREPORT} @ ${ECHO} Creating tripwire database @ cd ${TWCFG} && ${PREFIX}/sbin/tripwire --init @ ${ECHO_CMD} @ ${ECHO} The tripwire database, configuration file and @ ${ECHO} policy file are signed using the local and site keys, @ ${ECHO} therefore the authors suggest creating a floppy is not necessary. .endif .endif .endif post-install: install-config-files create-database make-pkg-install ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} .include diff --git a/security/trousers/Makefile b/security/trousers/Makefile index 6693f8d8347c..17c02ef7c7de 100644 --- a/security/trousers/Makefile +++ b/security/trousers/Makefile @@ -1,50 +1,48 @@ -# Created by: Sebastian Schuetz - PORTNAME= trousers PORTVERSION= 0.3.14 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF MAINTAINER= hrs@FreeBSD.org COMMENT= Open-source TCG Software Stack LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= tpm-emulator>=0.7.4_1:emulators/tpm-emulator RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe dos2unix alias autoreconf gmake iconv libtool pkgconfig ssl CPE_VENDOR= ${PORTNAME}_project DOS2UNIX_GLOB= *.h *.c NO_WRKSUBDIR= yes USE_LDCONFIG= YES USE_RC_SUBR= tcsd INSTALL_TARGET= install-strip GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-gui=none --enable-static \ --localstatedir=${PREFIX}/var \ --with-tssuser=${USERS} \ --with-tssgroup=${GROUPS} \ --with-openssl=${OPENSSLBASE} \ RANLIB=: MAKE_ENV= ICONV_LIB=${ICONV_LIB} \ ICONV_PREFIX=${ICONV_PREFIX} CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} SUB_FILES= pkg-message SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" USERS= _tss GROUPS= _tss OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ENABLE= debug post-install: ${INSTALL_DATA} \ ${WRKSRC}/dist/tcsd.conf ${STAGEDIR}${PREFIX}/etc/tcsd.conf.sample @${MKDIR} ${STAGEDIR}${PREFIX}/var/lib/tpm .include diff --git a/security/tthsum/Makefile b/security/tthsum/Makefile index 3d0d6e75e3f7..83e6311e6df0 100644 --- a/security/tthsum/Makefile +++ b/security/tthsum/Makefile @@ -1,28 +1,26 @@ -# Created by: Emanuel Haupt - PORTNAME= tthsum PORTVERSION= 1.3.2 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://tthsum.devs.nu/pkg/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line utility for generating and checking TTH message digests LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.txt CONFLICTS= microdc2 USES= gmake PLIST_FILES= bin/tthsum man/man1/tthsum.1.gz WRKSRC= ${WRKDIR}/${PORTNAME} TEST_TARGET= runtest post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/u2f-devd/Makefile b/security/u2f-devd/Makefile index 841cf6e80559..dcf7e088e144 100644 --- a/security/u2f-devd/Makefile +++ b/security/u2f-devd/Makefile @@ -1,26 +1,24 @@ -# Created by: Greg V - PORTNAME= u2f-devd PORTVERSION= 1.1.10 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= # DISTFILES= # MAINTAINER= ports@FreeBSD.org COMMENT= Devd hotplug rules for Universal 2nd Factor (U2F) tokens LICENSE= BSD2CLAUSE NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message GROUPS= u2f PLIST_FILES= etc/devd/u2f.conf do-install: ${INSTALL_DATA} ${FILESDIR}/u2f.conf ${STAGEDIR}${PREFIX}/etc/devd .include diff --git a/security/unhide/Makefile b/security/unhide/Makefile index f65f387c3701..1dc7a1de39f2 100644 --- a/security/unhide/Makefile +++ b/security/unhide/Makefile @@ -1,30 +1,28 @@ -# Created by: ntarmos@cs.uoi.gr - PORTNAME= unhide DISTVERSION= 20210124 CATEGORIES= security MAINTAINER= ntarmos@ceid.upatras.gr COMMENT= Forensic tool to find hidden processes and TCP/UDP ports LICENSE= GPLv3 USES= tar:tgz USE_GITHUB= yes GH_ACCOUNT= YJesus GH_PROJECT= Unhide GH_TAGNAME= v${DISTVERSION} PLIST_FILES= man/man8/unhide.8.gz \ man/man8/unhide-tcp.8.gz \ sbin/unhide \ sbin/unhide-tcp post-patch: @${REINPLACE_CMD} -e 's/-eLf/-axH/g' -e 's/$$2/$$1/g' ${WRKSRC}/unhide-posix.c @${REINPLACE_CMD} -e 's/linux\/limits/limits/g' ${WRKSRC}/unhide-output.c @${REINPLACE_CMD} -e 's/-tan/-p tcp -an/g' -e 's/-uan/-p udp -an/g' \ -e 's/use_ss = 1/use_ss = 0/g' ${WRKSRC}/unhide-tcp.c .include diff --git a/security/unix-selfauth-helper/Makefile b/security/unix-selfauth-helper/Makefile index 2d4909ced787..a72f6f2c3838 100644 --- a/security/unix-selfauth-helper/Makefile +++ b/security/unix-selfauth-helper/Makefile @@ -1,21 +1,19 @@ -# Created by: Felix Palmen - PORTNAME= unix-selfauth-helper PORTVERSION= 1.0 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= felix@palmen-it.de COMMENT= Local self-authentication for pam_exec LICENSE= BSD2CLAUSE USES= uidfix USE_GITHUB= yes GH_ACCOUNT= Zirias PLIST_FILES= libexec/unix-selfauth-helper \ man/man8/unix-selfauth-helper.8.gz .include diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile index 7650e64c2e47..d9e47929ad46 100644 --- a/security/vaultwarden/Makefile +++ b/security/vaultwarden/Makefile @@ -1,452 +1,450 @@ -# Created by: Michael Reifenberger - PORTNAME= vaultwarden DISTVERSION= 1.25.0 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= https://github.com/dani-garcia/bw_web_builds/releases/download/v${DISTVERSION_WV}/:web DISTFILES= ${WV_DISTFILE}:web MAINTAINER= mr@FreeBSD.org COMMENT= Bitwarden compatible backend server LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS+= libcapnp.so:devel/capnproto LIB_DEPENDS+= libgmp.so:math/gmp LIB_DEPENDS+= libnettle.so:security/nettle USES= cargo ssl pgsql mysql:client DISTVERSION_WV= 2022.6.0 WV_DISTFILE= bw_web_v${DISTVERSION_WV}.tar.gz USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} INSTALL_TARGET=install-strip # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist USE_GITHUB= yes GH_ACCOUNT= dani-garcia CARGO_FEATURES= postgresql sqlite mysql #vendored_openssl CARGO_ENV+= RUSTC_BOOTSTRAP=1 # make cargo-crates CARGO_CRATES= addr2line-0.17.0 \ adler-1.0.2 \ aead-0.4.3 \ aes-0.7.5 \ aes-gcm-0.9.4 \ aho-corasick-0.7.18 \ alloc-no-stdlib-2.0.3 \ alloc-stdlib-0.2.1 \ ansi_term-0.12.1 \ async-compression-0.3.13 \ async-stream-0.3.3 \ async-stream-impl-0.3.3 \ async-trait-0.1.53 \ async_once-0.2.6 \ atomic-0.5.1 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.65 \ base-x-0.2.10 \ base64-0.13.0 \ binascii-0.1.4 \ bitflags-1.3.2 \ block-buffer-0.7.3 \ block-buffer-0.9.0 \ block-buffer-0.10.2 \ block-padding-0.1.5 \ brotli-3.3.4 \ brotli-decompressor-2.3.2 \ bumpalo-3.9.1 \ byte-tools-0.3.1 \ byteorder-1.4.3 \ bytes-0.4.12 \ bytes-1.1.0 \ cached-0.34.0 \ cached_proc_macro-0.12.0 \ cached_proc_macro_types-0.1.0 \ cc-1.0.73 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chashmap-2.2.2 \ chrono-0.4.19 \ chrono-tz-0.6.1 \ chrono-tz-build-0.0.2 \ cipher-0.3.0 \ const_fn-0.4.9 \ cookie-0.15.1 \ cookie-0.16.0 \ cookie_store-0.15.1 \ cookie_store-0.16.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.2 \ crc32fast-1.3.2 \ cron-0.11.0 \ crossbeam-utils-0.8.8 \ crypto-common-0.1.3 \ crypto-mac-0.11.1 \ ctr-0.8.0 \ ctrlc-3.2.2 \ darling-0.13.4 \ darling_core-0.13.4 \ darling_macro-0.13.4 \ dashmap-5.3.3 \ data-encoding-2.3.2 \ data-url-0.1.1 \ devise-0.3.1 \ devise_codegen-0.3.1 \ devise_core-0.3.1 \ diesel-1.4.8 \ diesel_derives-1.4.1 \ diesel_migrations-1.4.0 \ digest-0.8.1 \ digest-0.9.0 \ digest-0.10.3 \ dirs-4.0.0 \ dirs-sys-0.3.7 \ discard-1.0.4 \ dotenvy-0.15.1 \ either-1.6.1 \ email-encoding-0.1.0 \ encoding_rs-0.8.31 \ enum-as-inner-0.3.4 \ error-chain-0.12.4 \ fake-simd-0.1.2 \ fastrand-1.7.0 \ fern-0.6.1 \ figment-0.10.6 \ flate2-1.0.23 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.0.1 \ fuchsia-cprng-0.1.1 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ futures-0.3.21 \ futures-channel-0.3.21 \ futures-core-0.3.21 \ futures-executor-0.3.21 \ futures-io-0.3.21 \ futures-macro-0.3.21 \ futures-sink-0.3.21 \ futures-task-0.3.21 \ futures-timer-3.0.2 \ futures-util-0.3.21 \ generator-0.7.0 \ generic-array-0.12.4 \ generic-array-0.14.5 \ getrandom-0.1.16 \ getrandom-0.2.6 \ ghash-0.4.4 \ gimli-0.26.1 \ glob-0.3.0 \ governor-0.4.2 \ h2-0.3.13 \ half-1.8.2 \ handlebars-4.2.2 \ hashbrown-0.11.2 \ hashbrown-0.12.1 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hkdf-0.12.3 \ hmac-0.11.0 \ hmac-0.12.1 \ hostname-0.3.1 \ html5gum-0.4.0 \ http-0.2.7 \ http-body-0.4.4 \ httparse-1.7.1 \ httpdate-1.0.2 \ hyper-0.14.18 \ hyper-tls-0.5.0 \ ident_case-1.0.1 \ idna-0.1.5 \ idna-0.2.3 \ indexmap-1.8.1 \ inlinable_string-0.1.15 \ instant-0.1.12 \ iovec-0.1.4 \ ipconfig-0.2.2 \ ipnet-2.5.0 \ itoa-1.0.1 \ jetscii-0.5.2 \ js-sys-0.3.57 \ jsonwebtoken-8.1.0 \ kernel32-sys-0.2.2 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ lettre-0.10.0-rc.6 \ libc-0.2.125 \ libmimalloc-sys-0.1.25 \ libsqlite3-sys-0.22.2 \ linked-hash-map-0.5.4 \ lock_api-0.4.7 \ log-0.4.17 \ loom-0.5.4 \ lru-cache-0.1.2 \ mach-0.3.2 \ maplit-1.0.2 \ match_cfg-0.1.0 \ matchers-0.1.0 \ matches-0.1.9 \ maybe-uninit-2.0.0 \ memchr-2.5.0 \ migrations_internals-1.4.1 \ migrations_macros-1.4.2 \ mimalloc-0.1.29 \ mime-0.3.16 \ minimal-lexical-0.2.1 \ miniz_oxide-0.5.1 \ mio-0.6.23 \ mio-0.8.3 \ mio-extras-2.0.6 \ miow-0.2.2 \ multer-2.0.2 \ mysqlclient-sys-0.2.5 \ native-tls-0.2.10 \ net2-0.2.37 \ nix-0.24.1 \ no-std-compat-0.4.1 \ nom-7.1.1 \ nonzero_ext-0.3.0 \ num-bigint-0.4.3 \ num-derive-0.3.3 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.13.1 \ num_threads-0.1.6 \ object-0.28.4 \ once_cell-1.10.0 \ opaque-debug-0.2.3 \ opaque-debug-0.3.0 \ openssl-0.10.40 \ openssl-macros-0.1.0 \ openssl-probe-0.1.5 \ openssl-src-111.18.0+1.1.1n \ openssl-sys-0.9.73 \ owning_ref-0.3.3 \ parity-ws-0.11.1 \ parking_lot-0.4.8 \ parking_lot-0.11.2 \ parking_lot-0.12.0 \ parking_lot_core-0.2.14 \ parking_lot_core-0.8.5 \ parking_lot_core-0.9.3 \ parse-zoneinfo-0.3.0 \ paste-1.0.7 \ pear-0.2.3 \ pear_codegen-0.2.3 \ pem-1.0.2 \ percent-encoding-1.0.1 \ percent-encoding-2.1.0 \ pest-2.1.3 \ pest_derive-2.1.0 \ pest_generator-2.1.3 \ pest_meta-2.1.3 \ phf-0.10.1 \ phf_codegen-0.10.0 \ phf_generator-0.10.0 \ phf_shared-0.10.0 \ pico-args-0.4.2 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.25 \ polyval-0.5.3 \ ppv-lite86-0.2.16 \ pq-sys-0.4.6 \ proc-macro-hack-0.5.19 \ proc-macro2-1.0.38 \ proc-macro2-diagnostics-0.9.1 \ psl-types-2.0.10 \ publicsuffix-2.1.1 \ quanta-0.9.3 \ quick-error-1.2.3 \ quick-error-2.0.1 \ quickcheck-1.0.3 \ quote-1.0.18 \ quoted_printable-0.4.5 \ r2d2-0.8.9 \ rand-0.4.6 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.3.1 \ rand_core-0.4.2 \ rand_core-0.5.1 \ rand_core-0.6.3 \ rand_hc-0.2.0 \ raw-cpuid-10.3.0 \ rdrand-0.4.0 \ redox_syscall-0.2.13 \ redox_users-0.4.3 \ ref-cast-1.0.7 \ ref-cast-impl-1.0.7 \ regex-1.5.5 \ regex-automata-0.1.10 \ regex-syntax-0.6.25 \ remove_dir_all-0.5.3 \ reqwest-0.11.10 \ resolv-conf-0.7.0 \ ring-0.16.20 \ rmp-0.8.11 \ rmpv-1.0.0 \ rocket-0.5.0-rc.2 \ rocket_codegen-0.5.0-rc.2 \ rocket_http-0.5.0-rc.2 \ rustc-demangle-0.1.21 \ rustc_version-0.2.3 \ rustls-0.20.4 \ rustls-pemfile-1.0.0 \ rustversion-1.0.6 \ ryu-1.0.9 \ same-file-1.0.6 \ schannel-0.1.19 \ scheduled-thread-pool-0.2.5 \ scoped-tls-1.0.0 \ scopeguard-1.1.0 \ sct-0.7.0 \ security-framework-2.6.1 \ security-framework-sys-2.6.1 \ semver-0.9.0 \ semver-parser-0.7.0 \ serde-1.0.137 \ serde_cbor-0.11.2 \ serde_derive-1.0.137 \ serde_json-1.0.81 \ serde_urlencoded-0.7.1 \ sha-1-0.8.2 \ sha-1-0.9.8 \ sha1-0.6.1 \ sha1-0.10.1 \ sha1_smol-1.0.0 \ sha2-0.9.9 \ sha2-0.10.2 \ sharded-slab-0.1.4 \ signal-hook-registry-1.4.0 \ simple_asn1-0.6.1 \ siphasher-0.3.10 \ slab-0.4.6 \ smallvec-0.6.14 \ smallvec-1.8.0 \ socket2-0.3.19 \ socket2-0.4.4 \ spin-0.5.2 \ spin-0.9.3 \ stable-pattern-0.1.0 \ stable_deref_trait-1.2.0 \ standback-0.2.17 \ state-0.5.3 \ stdweb-0.4.20 \ stdweb-derive-0.5.3 \ stdweb-internal-macros-0.2.9 \ stdweb-internal-runtime-0.1.5 \ strsim-0.10.0 \ subtle-2.4.1 \ syn-1.0.93 \ syslog-6.0.1 \ tempfile-3.3.0 \ thiserror-1.0.31 \ thiserror-impl-1.0.31 \ thread_local-1.1.4 \ threadpool-1.8.1 \ time-0.1.43 \ time-0.2.27 \ time-0.3.9 \ time-macros-0.1.1 \ time-macros-0.2.4 \ time-macros-impl-0.1.2 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.0 \ tokio-1.18.2 \ tokio-macros-1.7.0 \ tokio-native-tls-0.3.0 \ tokio-rustls-0.23.4 \ tokio-socks-0.5.1 \ tokio-stream-0.1.8 \ tokio-util-0.6.9 \ tokio-util-0.7.1 \ toml-0.5.9 \ totp-lite-1.0.3 \ tower-service-0.3.1 \ tracing-0.1.34 \ tracing-attributes-0.1.21 \ tracing-core-0.1.26 \ tracing-log-0.1.3 \ tracing-subscriber-0.3.11 \ trust-dns-proto-0.20.4 \ trust-dns-resolver-0.20.4 \ try-lock-0.2.3 \ typenum-1.15.0 \ ubyte-0.10.1 \ ucd-trie-0.1.3 \ uncased-0.9.6 \ unicode-bidi-0.3.8 \ unicode-normalization-0.1.19 \ unicode-xid-0.2.3 \ universal-hash-0.4.1 \ untrusted-0.7.1 \ url-1.7.2 \ url-2.2.2 \ uuid-1.0.0 \ valuable-0.1.0 \ vcpkg-0.2.15 \ version_check-0.9.4 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.80 \ wasm-bindgen-backend-0.2.80 \ wasm-bindgen-futures-0.4.30 \ wasm-bindgen-macro-0.2.80 \ wasm-bindgen-macro-support-0.2.80 \ wasm-bindgen-shared-0.2.80 \ web-sys-0.3.57 \ webauthn-rs-0.3.2 \ webpki-0.22.0 \ widestring-0.4.3 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.36.1 \ windows_aarch64_msvc-0.36.1 \ windows_i686_gnu-0.36.1 \ windows_i686_msvc-0.36.1 \ windows_x86_64_gnu-0.36.1 \ windows_x86_64_msvc-0.36.1 \ winreg-0.6.2 \ winreg-0.10.1 \ ws2_32-sys-0.2.1 \ yansi-0.5.1 \ yubico-0.11.0 \ job_scheduler@git+https://github.com/BlackDex/job_scheduler?rev=9100fc596a083fd9c0b560f8f11f108e0a19d07e\#9100fc596a083fd9c0b560f8f11f108e0a19d07e #post-patch: # ${REINPLACE_CMD} 's/^rust-version = "1.60"/rust-version = "1.59"/' \ # ${WRKSRC}/Cargo.toml post-install: ${MKDIR} ${STAGEDIR}/${ETCDIR}/rc.conf.d ${CP} ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample ${CHMOD} 0600 ${STAGEDIR}/${LOCALBASE}/etc/rc.conf.d/${PORTNAME}.sample ${MKDIR} ${STAGEDIR}/${WWWDIR} ${MKDIR} ${STAGEDIR}/${WWWDIR}/data (cd ${WRKDIR} && ${COPYTREE_SHARE} web-vault ${STAGEDIR}/${WWWDIR}) ${ECHO_CMD} \ '@postexec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ >> ${TMPPLIST} .include diff --git a/security/vlock/Makefile b/security/vlock/Makefile index 40fb807d494c..9ea76149ab2a 100644 --- a/security/vlock/Makefile +++ b/security/vlock/Makefile @@ -1,61 +1,59 @@ -# Created by: George Reid - PORTNAME= vlock PORTVERSION= 2.2.3 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/ \ LOCAL/martymac MAINTAINER= martymac@FreeBSD.org COMMENT= Locks a terminal LICENSE= GPLv2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --enable-plugins --enable-pam \ --prefix=${PREFIX} \ --mandir=${MANPREFIX}/man \ --with-modules="${VLOCKMODULES}" \ --with-scripts="${VLOCKSCRIPTS}" \ VLOCK_GROUP="nobody" \ EXTRA_CFLAGS="-I${LOCALBASE}/include" \ EXTRA_LDFLAGS="-L${LOCALBASE}/lib" USES= gmake USE_CSTD= gnu99 OPTIONS_DEFINE= ROOTPWD VLOCKSCRIPTS CACASAVER DOCS OPTIONS_DEFAULT= ROOTPWD OPTIONS_SUB= yes ROOTPWD_DESC= Enable unlock using root password ROOTPWD_CONFIGURE_ENABLE= root-password VLOCKSCRIPTS_DESC= Install sample hook scripts CACASAVER_DESC= Enable libcaca screensaver CACASAVER_LIB_DEPENDS= libcaca.so:graphics/libcaca # Default scripts/modules VLOCKSCRIPTS= VLOCKMODULES= all.so new.so # Vlock special group VLOCK_GRP= vlock GROUPS= ${VLOCK_GRP} PLIST_SUB+= VLOCK_GRP=${VLOCK_GRP} PORTDOCS= ChangeLog PLUGINS README README.X11 SECURITY TODO .include .if ${PORT_OPTIONS:MVLOCKSCRIPTS} VLOCKSCRIPTS+= amarok.sh example_script.sh mplayer.sh .endif .if ${PORT_OPTIONS:MCACASAVER} VLOCKMODULES+= caca.so .endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/vm-to-tor/Makefile b/security/vm-to-tor/Makefile index 2322c5009a1b..7878bac72055 100644 --- a/security/vm-to-tor/Makefile +++ b/security/vm-to-tor/Makefile @@ -1,40 +1,38 @@ -# Created by: Yuri Victorovich - PORTNAME= vm-to-tor PORTVERSION= 1.0 CATEGORIES= security net MAINTAINER= yuri@FreeBSD.org COMMENT= Connect virtual machines to the tor network LICENSE= BSD4CLAUSE RUN_DEPENDS= tor:security/tor \ tiny-network-utilities>=1.0:net/tiny-network-utilities USE_GITHUB= yes GH_ACCOUNT= yurivict NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_FILES+= etc/rc.d/${PORTNAME} bin/vm-ctrl PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.simple.sample" PLIST_FILES+= "@sample etc/${PORTNAME}.rc.conf.complex.sample" post-patch: @${REINPLACE_CMD} 's|"/usr/local"|"${LOCALBASE}"|' \ ${WRKSRC}/${PORTNAME} @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ -e 's|etc/rc\.conf\.|etc/${PORTNAME}.rc.conf.|' \ ${WRKSRC}/rc.conf.*.sample do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d ${INSTALL_SCRIPT} ${WRKSRC}/vm-ctrl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.simple.sample \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.simple.sample ${INSTALL_SCRIPT} ${WRKSRC}/rc.conf.complex.sample \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.rc.conf.complex.sample .include diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile index 21bb62e5c21a..a9aa63d62197 100644 --- a/security/vpnc/Makefile +++ b/security/vpnc/Makefile @@ -1,75 +1,73 @@ -# Created by: Christian Lackas - PORTNAME= vpnc PORTVERSION= 0.5.3 PORTREVISION= 14 CATEGORIES= security net-vpn MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ \ LOCAL/ehaupt MAINTAINER= ports@FreeBSD.org COMMENT= Client for Cisco 3000 VPN Concentrator LICENSE= BSD2CLAUSE GPLv2+ LICENSE_COMB= multi LICENSE_NAME_VPNC= vpnc LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_TEXT_VPNC= Redistribution is not allowed if linked against OpenSSL LICENSE_PERMS_VPNC= auto-accept LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= vpnc-script:sysutils/vpnc-scripts USES= gmake perl5 shebangfix USE_PERL5= build USE_RC_SUBR= vpnc ALL_TARGET= all SHEBANG_FILES= makeman.pl PORTDOCS= README TODO MAKE_ENV= BINS="${EXTRABUILDS}" OPTIONS_DEFINE= CISCOVERSION DECRYPT DOCS SSL OPTIONS_DEFAULT= DECRYPT OPTIONS_SUB= yes CISCOVERSION_DESC= Mask linux presentation string CISCOVERSION_CFLAGS= -DCISCO_PATCH_VERSION DECRYPT_DESC= cisco-decypt password decrypt utility DECRYPT_VARS= EXTRABUILDS+=cisco-decrypt SSL_VARS= NO_PACKAGE="binary linked against OpenSSL must not be redistributed" \ LICENSE+=VPNC SSL_CFLAGS= -DOPENSSL_GPL_VIOLATION SSL_LDFLAGS= -lcrypto post-patch: @${REINPLACE_CMD} \ -e 's|.*%%FREEBSD_IPLEN_FIX%%.*|#define NEED_IPLEN_FIX 1|' \ ${WRKSRC}/sysdep.h @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c @${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \ ${WRKSRC}/vpnc.8.template do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${STAGEDIR}${PREFIX}/sbin/vpnc ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect \ ${STAGEDIR}${PREFIX}/sbin/vpnc-disconnect ${INSTALL_DATA} ${WRKSRC}/vpnc.conf \ ${STAGEDIR}${PREFIX}/etc/vpnc.conf.sample ${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${STAGEDIR}${MANPREFIX}/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install-DECRYPT-on: ${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cisco-decrypt.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile index 010bb625e3f7..1b75dcb8748a 100644 --- a/security/vuxml/Makefile +++ b/security/vuxml/Makefile @@ -1,108 +1,106 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= vuxml PORTVERSION= 1.1 PORTREVISION= 5 CATEGORIES= security textproc MASTER_SITES= http://www.vuxml.org/dtd/vuxml-1/ DISTFILES= vuxml-10.dtd vuxml-model-10.mod \ vuxml-11.dtd vuxml-model-11.mod \ xml1.dcl catalog catalog.xml DIST_SUBDIR= vuxml MAINTAINER= ports-secteam@FreeBSD.org COMMENT= Vulnerability and eXposure Markup Language DTD LICENSE= BSD2CLAUSE RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xml/dtd/xhtml-modularization/VERSION:textproc/xhtml-modularization \ ${LOCALBASE}/share/xml/dtd/xhtml-basic/xhtml-basic10.dtd:textproc/xhtml-basic USES= python:run NO_MTREE= yes NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR} dir_DTD= share/xml/dtd/vuxml .include VUXML_FILE?= ${PKGDIR}/vuln.xml VUXML_FLAT_FILE?= ${PKGDIR}/vuln-flat.xml _YEAR!= date +%Y VUXML_CURRENT_FILE?= ${PKGDIR}/vuln-${_YEAR}.xml post-clean: @${RM} "${VUXML_FILE}.tidy" @${RM} "${VUXML_FLAT_FILE}" do-extract: @${RM} -r ${WRKDIR} @${MKDIR} ${WRKDIR} .for f in ${DISTFILES} ${CP} ${_DISTDIR}/${f} ${WRKDIR}/${f} .endfor do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${dir_DTD} .for f in ${DISTFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${dir_DTD}/${f} .endfor do-test: @${MKDIR} ${WRKDIR}/test @${CP} ${.CURDIR}/vuln*.xml ${WRKDIR}/test @cd ${.CURDIR} && make validate PKGDIR=${WRKDIR}/test ${VUXML_FLAT_FILE}: ${VUXML_FILE} vuln-20??.xml xmllint -noent ${.ALLSRC:[1]} > ${.TARGET} validate: tidy @${SH} ${FILESDIR}/validate.sh "${VUXML_FLAT_FILE}" @${ECHO_MSG} Checking if tidy differs... @if ${DIFF} -u "${VUXML_FLAT_FILE}" "${VUXML_FILE}.tidy"; \ then \ ${ECHO_MSG} ... seems okay; \ ${RM} "${VUXML_FILE}.tidy"; \ else \ return 1; \ fi @${ECHO_MSG} Checking for space/tab... @unexpand "${VUXML_FLAT_FILE}" | ${SED} -E 's,[[:space:]]*$$,,g' > "${VUXML_FILE}.unexpanded" @if ${DIFF} -u "${VUXML_FLAT_FILE}" "${VUXML_FILE}.unexpanded"; \ then \ ${ECHO_MSG} ... seems okay; \ ${RM} "${VUXML_FILE}.unexpanded"; \ else \ ${ECHO_MSG} ... see above; \ ${ECHO_CMD} Consider using ${VUXML_FILE}.unexpanded for final commit; \ return 1; \ fi ${PYTHON_CMD} ${FILESDIR}/extra-validation.py ${VUXML_FLAT_FILE} tidy: ${VUXML_FLAT_FILE} @if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \ then \ echo "Please install the VuXML port prior to running make validate/tidy."; \ exit 1; \ fi ${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FLAT_FILE}" > "${VUXML_FILE}.tidy" newentry: @${SH} ${FILESDIR}/newentry.sh "${VUXML_CURRENT_FILE}" .if defined(VID) && !empty(VID) html: work/${VID}.html work/${VID}.html: ${FILESDIR}/html.xsl ${FILESDIR}/common.css ${VUXML_FILE} ${MKDIR} work xsltproc --stringparam vid "${VID}" \ --output ${.TARGET} \ ${FILESDIR}/html.xsl ${VUXML_FILE} ${INSTALL_DATA} ${FILESDIR}/common.css work .endif .include diff --git a/security/vxquery/Makefile b/security/vxquery/Makefile index 056cc3f45c74..d2d94afff5e7 100644 --- a/security/vxquery/Makefile +++ b/security/vxquery/Makefile @@ -1,19 +1,17 @@ -# Created by: nectar@FreeBSD.org - PORTNAME= vxquery PORTVERSION= 0.2.1 CATEGORIES= security textproc MASTER_SITES= http://www.vuxml.org/files/ MAINTAINER= ports@FreeBSD.org COMMENT= VuXML Query Tool LICENSE= BSD2CLAUSE USES= tar:bzip2 GNU_CONFIGURE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/object/vxquery ${STAGEDIR}${PREFIX}/bin .include diff --git a/security/wapiti/Makefile b/security/wapiti/Makefile index 1c3e7b639497..fe65fe60a3be 100644 --- a/security/wapiti/Makefile +++ b/security/wapiti/Makefile @@ -1,26 +1,24 @@ -# Created by: Philippe Audeoud - PORTNAME= wapiti PORTVERSION= 3.0.3 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}3-${DISTVERSIONFULL} MAINTAINER= antoine@FreeBSD.org COMMENT= Vulnerability scanner for web applications LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tld>=0:dns/py-tld@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaswfp>=0:graphics/py-yaswfp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mako>=0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist .include diff --git a/security/webfwlog/Makefile b/security/webfwlog/Makefile index 05df89c54433..4a852151bb40 100644 --- a/security/webfwlog/Makefile +++ b/security/webfwlog/Makefile @@ -1,118 +1,116 @@ -# Created by: Bob Hockney - PORTNAME= webfwlog PORTVERSION= 1.1.1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ \ http://devel.webfwlog.net/download/v1.1.x/ MAINTAINER= zeus@ix.netcom.com COMMENT= Web-based firewall log analyzer LICENSE= GPLv2 USES= cpe php:web GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-syslog \ --sysconfdir=${ETCDIR} \ --disable-dependency-tracking USE_PHP= session OPTIONS_DEFINE= DOCS OPTIONS_MULTI= BACKENDS OPTIONS_MULTI_BACKENDS= MYSQLIPV6 MYSQL PGSQL BACKENDS_DESC= Database backends, choose at least one OPTIONS_GROUP= GEOIPV2 OPTIONS_GROUP_GEOIPV2= LIBMAXMINDDB MAXMINDDB BDB GEOIPV2_DESC= GEOIPv2 support OPTIONS_DEFAULT= MYSQLIPV6 MYSQL MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= php=mysqli MYSQLIPV6_DESC= Build plugin for Mysql IPv6 support (implies MYSQL) MYSQLIPV6_IMPLIES= MYSQL MYSQLIPV6_CONFIGURE_ENABLE= mysql-ipv6 MYSQLIPV6_PLUGIN_DIR_REL= lib/mysql/plugin MYSQLIPV6_PLUGIN_DIR= ${LOCALBASE}/${MYSQLIPV6_PLUGIN_DIR_REL} MYSQLIPV6_CONFIGURE_ON= --libdir=${MYSQLIPV6_PLUGIN_DIR} MYSQLIPV6_USES= libtool MYSQLIPV6_USE= ldconfig=${MYSQLIPV6_PLUGIN_DIR} MYSQLIPV6_PLIST_FILES= ${MYSQLIPV6_PLUGIN_DIR_REL}/libwebfwlog_udf.so \ ${MYSQLIPV6_PLUGIN_DIR_REL}/libwebfwlog_udf.so.0 \ ${MYSQLIPV6_PLUGIN_DIR_REL}/libwebfwlog_udf.so.0.0.0 PGSQL_CONFIGURE_WITH= pgsql PGSQL_USE= php=pgsql PGSQL_USES= pgsql LIBMAXMINDDB_DESC= Full geoipv2 support for file logs, and lookup only LIBMAXMINDDB_CONFIGURE_WITH= libmaxminddb LIBMAXMINDDB_CPPFLAGS= -I${LOCALBASE}/include LIBMAXMINDDB_LDFLAGS= -L${LOCALBASE}/lib LIBMAXMINDDB_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb MAXMINDDB_DESC= PHP extension for geoipv2 speed (implies LIBMAXMINDDB) MAXMINDDB_IMPLIES= LIBMAXMINDDB MAXMINDDB_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/maxminddb.so:devel/php-maxminddb BDB_DESC= Use berkeley DB for file log speed (implies LIBMAXMINDDB) BDB_IMPLIES= LIBMAXMINDDB BDB_CONFIGURE_WITH= libdb=${BDB_LIB_NAME} BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR} BDB_LDFLAGS= -L${BDB_LIB_DIR} BDB_USES= bdb PORTDOCS= AUTHORS COPYING CREDITS ChangeLog INSTALL \ README README.geoip README.pdf ReleaseNotes SUB_FILES= pkg-message SUB_LIST+= VERSION=${PORTVERSION} PLIST_SUB+= WWWGRP=${WWWGRP} .include .if ${PORT_OPTIONS:MMYSQLIPV6} USES+= mysql:server,client .elif ${PORT_OPTIONS:MMYSQL} USES+= mysql:client .endif do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/include/ ${INSTALL_DATA} ${WRKSRC}/webfwlog/style.css ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webfwlog/index.php ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC}/webfwlog/include/ && ${COPYTREE_SHARE} \*.php ${STAGEDIR}${WWWDIR}/include/) @${MKDIR} ${STAGEDIR}${WWWDIR}-vendor @(cd ${WRKSRC}/webfwlog-vendor/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}-vendor) @${RM} -r ${STAGEDIR}${WWWDIR}-vendor/maxmind-db/reader/ext @${ECHO} "Installed web files in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/webfwlog.conf ${STAGEDIR}${ETCDIR}/webfwlog.conf.sample @${ECHO} "Installed ${ETCDIR}/webfwlog.conf" ${INSTALL_PROGRAM} ${WRKSRC}/src/wfwl_syslog ${STAGEDIR}${PREFIX}/bin/ @${ECHO} "Installed ${PREFIX}/bin/wfwl_syslog" .if ${PORT_OPTIONS:MMYSQLIPV6} && exists (${MYSQLIPV6_PLUGIN_DIR}) @${MKDIR} ${STAGEDIR}${MYSQLIPV6_PLUGIN_DIR} @(cd ${WRKSRC}/src/mysql && ${MAKE} DESTDIR=${STAGEDIR} install-strip) @${ECHO} "Installed mysql shared library in ${MYSQLIPV6_PLUGIN_DIR}" .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/mysql @${MKDIR} ${STAGEDIR}${DOCSDIR}/pgsql @${MKDIR} ${STAGEDIR}${DOCSDIR}/examples @(cd ${WRKSRC}/mysql/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/mysql/) @(cd ${WRKSRC}/pgsql/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/pgsql/) @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/examples/) .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/whatweb/Makefile b/security/whatweb/Makefile index 8540f5c4643e..5a0a1265a4ab 100644 --- a/security/whatweb/Makefile +++ b/security/whatweb/Makefile @@ -1,44 +1,42 @@ -# Created by: Niels Heinen - PORTNAME= whatweb DISTVERSION= 0.4.8-${GH_TAGNAME} PORTREVISION= 2 CATEGORIES= security www MAINTAINER= rm@FreeBSD.org COMMENT= Tool to fingerprint web site components LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_TUPLE= urbanadventurer:WhatWeb:f467aa2 USES= cpe CPE_VENDOR= morningstarsecurity USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes NO_BUILD= yes NO_ARCH= yes PORTDOCS= CHANGELOG INSTALL README whatweb.xsl OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e \ 's!/usr/share/whatweb/!${RUBY_SITELIBDIR}/whatweb!' \ ${WRKSRC}/whatweb do-install: .for dir in addons lib my-plugins plugin-development plugins plugins-disabled ( cd ${WRKSRC}/${dir} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR}/whatweb/${dir} ) .endfor ${INSTALL_MAN} ${WRKSRC}/whatweb.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/whatweb ${STAGEDIR}${PREFIX}/bin/whatweb do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/wipe/Makefile b/security/wipe/Makefile index d8e03c3a5b5e..4813dc41ccc6 100644 --- a/security/wipe/Makefile +++ b/security/wipe/Makefile @@ -1,37 +1,35 @@ -# Created by: Edson Brandi - PORTNAME= wipe PORTVERSION= 2.3.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= File and block device wiping utility LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= tar:bzip2 GNU_CONFIGURE= yes PLIST_FILES= bin/wipe man/man1/wipe.1.gz PORTDOCS= CHANGES README TESTING TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/doc/wipe|${DOCSDIR}|' ${WRKSRC}/wipe.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/security/wolfssh/Makefile b/security/wolfssh/Makefile index 274006e03393..804495ea5188 100644 --- a/security/wolfssh/Makefile +++ b/security/wolfssh/Makefile @@ -1,28 +1,26 @@ -# Created by: Po-Chuan Hsieh - PORTNAME= wolfssh PORTVERSION= 1.4.10 CATEGORIES= security MASTER_SITES= https://www.wolfssl.com/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lightweight SSH Library LICENSE= GPLv3 LIB_DEPENDS= libwolfssl.so:security/wolfssl USES= autoreconf libtool localbase CONFIGURE_ARGS= --enable-fwd \ --enable-keygen \ --enable-scp \ --enable-sftp \ --enable-shared=yes \ --enable-shell \ --enable-static=yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check .include diff --git a/security/xca/Makefile b/security/xca/Makefile index 4eb06fa09945..82c42eb1faa9 100644 --- a/security/xca/Makefile +++ b/security/xca/Makefile @@ -1,38 +1,36 @@ -# Created by: Valentin Zahariev - PORTNAME= xca PORTVERSION= 2.4.0 CATEGORIES= security MASTER_SITES= https://github.com/${GH_ACCOUNT}/xca/releases/download/RELEASE.${PORTVERSION}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Graphical certification authority LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libltdl.so:devel/libltdl USES= compiler:c++11-lang desktop-file-utils gmake localbase \ pkgconfig qt:5 shared-mime-info ssl USE_QT= buildtools_build core gui help linguist_build sql widgets USE_CXXSTD= c++11 GNU_CONFIGURE= yes BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \ --with-qt=${PREFIX} \ --with-qt-version=5 GH_ACCOUNT= chris2511 OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx post-patch: @${REINPLACE_CMD} -e '/^CFLAGS/s|-O2 ||' \ ${WRKSRC}/Local.mak.in .include diff --git a/security/xinetd/Makefile b/security/xinetd/Makefile index 64241526fcac..d27946c6dfa4 100644 --- a/security/xinetd/Makefile +++ b/security/xinetd/Makefile @@ -1,47 +1,45 @@ -# Created by: markm - PORTNAME= xinetd PORTVERSION= 2.3.15 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= GENTOO MAINTAINER= garga@FreeBSD.org COMMENT= Replacement for inetd with better control and logging LICENSE= XINETD LICENSE_NAME= xinetd license LICENSE_FILE= ${WRKSRC}/COPYRIGHT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept GNU_CONFIGURE= yes USE_RC_SUBR= xinetd ALL_TARGET= build CONFIGURE_ARGS= --with-loadavg USES= cpe shebangfix SHEBANG_FILES= ${WRKSRC}/xinetd/xconv.pl OPTIONS_DEFINE= IPV6 LIBWRAP XCONV OPTIONS_DEFAULT= LIBWRAP XCONV OPTIONS_SUB= yes XCONV_DESC= Install xconv utility (requires perl) IPV6_CONFIGURE_WITH= ipv6 LIBWRAP_CONFIGURE_WITH= libwrap XCONV_USES= perl5 XCONV_USE= PERL5=run post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xinetd/xconfig.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xinetd/xinetd ${STAGEDIR}${PREFIX}/sbin/xinetd ${INSTALL_SCRIPT} ${WRKSRC}/xinetd/xconv.pl ${STAGEDIR}${PREFIX}/bin/xconv ${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.conf.man ${STAGEDIR}${PREFIX}/man/man5/xinetd.conf.5 ${INSTALL_MAN} ${WRKSRC}/xinetd/xconv.pl.8 ${STAGEDIR}${PREFIX}/man/man8/xconv.8 ${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.8 ${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.log.man ${STAGEDIR}${PREFIX}/man/man8/xinetd.log.8 .include diff --git a/security/xml-security/Makefile b/security/xml-security/Makefile index 20f73023f4f9..7f0546f921a5 100644 --- a/security/xml-security/Makefile +++ b/security/xml-security/Makefile @@ -1,60 +1,58 @@ -# Created by: Alex Dupre - PORTNAME= xml-security DISTVERSION= 1_5_5 PORTREVISION= 1 CATEGORIES= security java MASTER_SITES= https://archive.apache.org/dist/santuario/java-library/${DISTVERSION}/ DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Java library for XML Signature and Encryption BUILD_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVALIBDIR}/xalan.jar:textproc/xalan-j RUN_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging LICENSE= APACHE20 OPTIONS_DEFINE= DOCS EXAMPLES USES= cpe zip CPE_PRODUCT= xml_security_for_java CPE_VENDOR= apache USE_JAVA= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} USE_ANT= yes MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES ALL_TARGET= jar PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= %%JAVAJARDIR%%/xmlsec.jar .include .if ${PORT_OPTIONS:MDOCS} ALL_TARGET+= javadoc .endif do-install: @${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/xmlsec.jar..." @${INSTALL_DATA} ${WRKSRC}/build/xmlsec-${PORTVERSION}.jar \ ${STAGEDIR}/${JAVAJARDIR}/xmlsec.jar @${ECHO} " [ DONE ]" .if ${PORT_OPTIONS:MDOCS} @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." @${MKDIR} ${STAGEDIR}/${DOCSDIR} @(cd ${WRKSRC}/build/docs/html && ${COPYTREE_SHARE} javadoc \ ${STAGEDIR}/${DOCSDIR}) @${ECHO} " [ DONE ]" .endif .if ${PORT_OPTIONS:MEXAMPLES} @${ECHO} -n ">> Installing examples in ${EXAMPLESDIR}..." @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} @(cd ${WRKSRC}/samples && ${COPYTREE_SHARE} "javax org" \ ${STAGEDIR}/${EXAMPLESDIR}) @${ECHO} " [ DONE ]" .endif .include diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index 6d6ccfa6822c..ad4dfe9f782b 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -1,74 +1,72 @@ -# Created by: Jim Geovedi - PORTNAME= xmlsec1 PORTVERSION= 1.2.34 CATEGORIES= security MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ ftp://ftp.aleksey.com/pub/xmlsec/releases/ \ ftp://ftp.xmlsoft.org/xmlsec/releases/ \ ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/ MAINTAINER= hrs@FreeBSD.org COMMENT= XML Security Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libltdl.so:devel/libltdl USES= gmake gnome libtool localbase pathfix pkgconfig ssl USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" \ --with-gcrypt="${LOCALBASE}" \ --enable-werror \ --enable-soap \ --disable-docs-build MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC} INSTALL_TARGET= install-strip PORTDOCS= * PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS GNUTLS NSS OPTIONS_DEFAULT= NSS OPTIONS_SUB= yes GNUTLS_DESC= Enable GNUTLS support GNUTLS_CONFIGURE_ON= --with-gnutls="${LOCALBASE}" GNUTLS_CONFIGURE_OFF= --without-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls NSS_DESC= Enable Mozilla's NSS support NSS_CONFIGURE_ON= --with-nss="${LOCALBASE}" \ --with-nspr="${LOCALBASE}" NSS_CONFIGURE_OFF= --without-nss \ --without-nspr NSS_LIB_DEPENDS= libnss3.so:security/nss \ libnspr4.so:devel/nspr \ libplds4.so:devel/nspr \ libplc4.so:devel/nspr post-patch: @${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \ -e 's/mozilla-nspr/nspr/' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' \ -e 's/(CP) -u/(CP)/' \ ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \ ${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \ ${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in post-patch-GNUTLS-on: # Don't rely on broken autodetection @${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \ -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \ ${WRKSRC}/${CONFIGURE_SCRIPT} post-patch-NSS-on: # Makeing the xmlsec1 executable multi-threaded to let load -lnss, # when needed. @${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \ ${WRKSRC}/apps/Makefile.in .include diff --git a/security/xorsearch/Makefile b/security/xorsearch/Makefile index ef9f99e73204..9801d2cc923c 100644 --- a/security/xorsearch/Makefile +++ b/security/xorsearch/Makefile @@ -1,26 +1,24 @@ -# Created by: Edwin Groothuis - PORTNAME= xorsearch DISTVERSION= 1_11_1 CATEGORIES= security textproc MASTER_SITES= http://www.didierstevens.com/files/software/ DISTNAME= XORSearch_V${DISTVERSION} MAINTAINER= anastasios@mageirias.com COMMENT= Search for a given string in an XOR or ROL encoded binary file LICENSE= PD USES= dos2unix zip DOS2UNIX_GLOB= *.c NO_WRKSUBDIR= yes PLIST_FILES= bin/xorsearch do-build: ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/XORSearch ${WRKSRC}/XORSearch.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/XORSearch ${STAGEDIR}${PREFIX}/bin/xorsearch .include diff --git a/security/yafic/Makefile b/security/yafic/Makefile index abcdceee695d..610e515e4411 100644 --- a/security/yafic/Makefile +++ b/security/yafic/Makefile @@ -1,49 +1,47 @@ -# Created by: allan@saddi.com - PORTNAME= yafic PORTVERSION= 1.2.2 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF MAINTAINER= allan@saddi.com COMMENT= Yet Another File Integrity Checker, similar to Tripwire GNU_CONFIGURE= yes USES= gmake LDFLAGS+= -static OPTIONS_DEFINE= CRYPTO OPTIONS_DEFAULT= CRYPTO OPTIONS_SUB= yes CRYPTO_DESC= Cryptographic support CRYPTO_USES= ssl:build CRYPTO_CONFIGURE_ENABLE= crypto CRYPTO_LDFLAGS= -L${OPENSSLLIB} CRYPTO_CFLAGS= -I${OPENSSLINC} PKGMESSAGE= ${WRKDIR}/pkg-message .include post-patch: @${SED} -e "s;@@PREFIX@@;${PREFIX};g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yafic ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MCRYPTO} ${INSTALL_PROGRAM} ${WRKSRC}/yafic-sign ${STAGEDIR}${PREFIX}/bin ${LN} -sf yafic-sign ${STAGEDIR}${PREFIX}/bin/yafic-check .endif ${INSTALL_MAN} ${WRKSRC}/yafic.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MCRYPTO} ${INSTALL_MAN} ${WRKSRC}/yafic-sign.1 ${STAGEDIR}${PREFIX}/man/man1 ${LN} -sf yafic-sign.1 ${STAGEDIR}${PREFIX}/man/man1/yafic-check.1 .endif ${INSTALL_MAN} ${WRKSRC}/yafic.conf.5 ${STAGEDIR}${PREFIX}/man/man5 @${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/yafic @${CP} ${FILESDIR}/yafic.conf.sample ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile index 14a6b7da35a5..afec4a5777f0 100644 --- a/security/yersinia/Makefile +++ b/security/yersinia/Makefile @@ -1,44 +1,42 @@ -# Created by: se - PORTNAME= yersinia PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= security # MASTER_SITES= http://www.yersinia.net/download/ PKGNAMESUFFIX= -gtk MAINTAINER= ayu@commun.jp COMMENT= Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...) LICENSE= GPLv2 LIB_DEPENDS= libnet.so:net/libnet \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf gnome ncurses pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk20 USE_GITHUB= yes GH_TUPLE= tomac:yersinia:8c0d7c5 GNU_CONFIGURE= yes PLIST_FILES= sbin/yersinia \ man/man8/yersinia.8.gz OPTIONS_DEFINE= PORTS_PCAP PORTS_PCAP_DESC=Use ports PCAP instead of system PCAP PORTS_PCAP_CONFIGURE_ON= --with-pcap-includes=${LOCALBASE}/include PORTS_PCAP_CONFIGURE_OFF= --with-pcap-includes=/usr/include PORTS_PCAP_BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:net/libpcap post-patch: @${REINPLACE_CMD} -e 's,-O3 -Wall -g,${CFLAGS} -fcommon,' \ ${WRKSRC}/configure.ac do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/yersinia ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/yersinia.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ .include diff --git a/security/zeek/Makefile b/security/zeek/Makefile index 5667da465abe..1f8a94a13613 100644 --- a/security/zeek/Makefile +++ b/security/zeek/Makefile @@ -1,172 +1,170 @@ -# Created by: David O'Brien - PORTNAME= zeek PORTVERSION= 5.0.0 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://download.zeek.org/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= leres@FreeBSD.org COMMENT= System for detecting network intruders in real-time LICENSE= BSD3CLAUSE BROKEN_FreeBSD_12_powerpc64= does not build: error: zero-size array 'names' BUILD_DEPENDS= cmake>=3.15.0:devel/cmake USES= bison cmake compiler cpe gettext-runtime \ ninja perl5 python shebangfix ssl USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limit:0,even CXXFLAGS_powerpc64= -mpower8-vector SHEBANG_FILES= auxil/zeekctl/auxil/trace-summary/trace-summary SUB_FILES= pkg-message NO_MTREE= yes CMAKE_ARGS+= -GNinja \ -D BUILD_SHARED_LIBS:BOOL=true \ -D BUILD_STATIC_BROKER:BOOL=true \ -D BinPAC_SKIP_INSTALL:BOOL=true \ -D CMAKE_EXE_LINKER_FLAGS="${OPENSSL_LDFLAGS}" \ -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ -D ENABLE_PERFTOOLS_DEBUG:BOOL=false \ -D INSTALL_AUX_TOOLS:BOOL=true \ -D PYTHON_EXECUTABLE:PATH=${PYTHON_CMD} \ -D PY_MOD_INSTALL_DIR:PATH=${PREFIX}/lib/zeekctl \ -D ZEEK_ETC_INSTALL_DIR:PATH=${PREFIX}/etc \ -D ZEEK_MAN_INSTALL_PATH=${MANPREFIX}/man \ -D ZEEK_ROOT_DIR:PATH=${PREFIX} \ -D ZEEK_SCRIPT_INSTALL_PATH:PATH=${PREFIX}/share/zeek ZEEKUSER?= zeek ZEEKGROUP?= zeek PLIST_SUB+= ARCH=${UNAME_M} \ LCASE_OPSYS=${OPSYS:tl} \ ZEEKGROUP=${ZEEKGROUP} \ ZEEKUSER=${ZEEKUSER} USERS= ${ZEEKUSER} GROUPS= ${ZEEKGROUP} OPTIONS_DEFINE= BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP PERFTOOLS \ SPICY ZEEKCTL ZKG OPTIONS_SINGLE= BUILD_TYPE OPTIONS_SINGLE_BUILD_TYPE= DEBUG MINSIZEREL RELEASE RELWITHDEBINFO OPTIONS_DEFAULT= BROKER GEOIP2 IPSUMDUMP LBL_CF LBL_HF NETMAP RELEASE \ ZEEKCTL ZKG OPTIONS_DEFAULT_aarch64= SPICY OPTIONS_DEFAULT_amd64= SPICY OPTIONS_DEFAULT_armv6= SPICY OPTIONS_DEFAULT_armv7= SPICY OPTIONS_DEFAULT_i386= SPICY OPTIONS_SUB= yes BROKER_DESC= Enable the Broker communication library DEBUG_DESC= Optimizations off, debug symbols/flags on GEOIP2_DESC= Build with GeoIP2 (MaxMindDB) support IPSUMDUMP_DESC= Enables traffic summaries LBL_CF_DESC= Unix time to formated time/date filter support LBL_HF_DESC= Address to hostname filter support MINSIZEREL_DESC= Optimizations on, debug symbols/flags off NETMAP_DESC= Native Netmap Packet IOSource for Zeek PERFTOOLS_DESC= Use Perftools to improve memory & CPU usage RELEASE_DESC= Optimizations on, debug symbols/flags off RELWITHDEBINFO_DESC= Optimizations/debug symbols on, debug flags off SPICY_DESC= Enable the Spicy parser generator ZEEKCTL_DESC= ZeekControl support (implies BROKER and IPSUMDUMP) ZKG_DESC= Zeek package manager support ZEEKCTL_IMPLIES= BROKER IPSUMDUMP BROKER_BUILD_DEPENDS= swig:devel/swig BROKER_CMAKE_BOOL= ENABLE_BROKER GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb IPSUMDUMP_BUILD_DEPENDS=ipsumdump:net/ipsumdump IPSUMDUMP_RUN_DEPENDS= ipsumdump:net/ipsumdump LBL_CF_RUN_DEPENDS= ${LOCALBASE}/bin/cf:sysutils/lbl-cf LBL_HF_RUN_DEPENDS= ${LOCALBASE}/bin/hf:sysutils/lbl-hf NETMAP_GH_TUPLE= zeek:zeek-netmap:v2.0.0:zeek_netmap NETMAP_USE= GITHUB=nodefault PERFTOOLS_BUILD_DEPENDS=${LOCALBASE}/bin/perftools-pprof:devel/google-perftools PERFTOOLS_CMAKE_BOOL= ENABLE_PERFTOOLS PERFTOOLS_RUN_DEPENDS=${LOCALBASE}/bin/perftools-pprof:devel/google-perftools PYTHON_BUILD_DEPENDS= swig:devel/swig SPICY_CMAKE_OFF= -DDISABLE_SPICY=ON SPICY_BUILD_DEPENDS= bison>=3.3:devel/bison \ flex>=2.6:textproc/flex ZEEKCTL_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ swig:devel/swig ZEEKCTL_CMAKE_BOOL= INSTALL_ZEEKCTL ZEEKCTL_RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} ZKG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zkg>=2.7.1:security/py-zkg@${PY_FLAVOR} \ .include .if ${PORT_OPTIONS:MDEBUG} CMAKE_BUILD_TYPE= Debug STRIP= .elif ${PORT_OPTIONS:MMINSIZEREL} CMAKE_BUILD_TYPE= MinSizeRel .elif ${PORT_OPTIONS:MRELEASE} CMAKE_BUILD_TYPE= Release .elif ${PORT_OPTIONS:MRELWITHDEBINFO} CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif .if ${PORT_OPTIONS:MZEEKCTL} USE_RC_SUBR= zeek .endif post-patch: ${REINPLACE_CMD} -e '\|/usr/local/|s|$$| ${STAGEDIR}${PREFIX}/|' \ ${WRKSRC_zeek_netmap}/cmake/FindNetmap.cmake post-install-ZEEKCTL-on: ${MKDIR} ${STAGEDIR}${PREFIX}/logs ${MKDIR} ${STAGEDIR}${PREFIX}/spool/tmp ${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/auto ${MKDIR} ${STAGEDIR}${PREFIX}/spool/installed-scripts-do-not-touch/site .for F in zeekctl.cfg networks.cfg node.cfg ${MV} ${STAGEDIR}${PREFIX}/etc/${F} ${STAGEDIR}${PREFIX}/etc/${F}.sample .endfor ${RM} ${STAGEDIR}${PREFIX}/share/zeekctl/scripts/zeekctl-config.sh ${LN} -s ../../../spool/zeekctl-config.sh \ ${STAGEDIR}${PREFIX}/share/zeekctl/scripts/zeekctl-config.sh post-install: ${MV} ${STAGEDIR}${DATADIR}/site/local.zeek \ ${STAGEDIR}${DATADIR}/site/local.zeek.sample pre-install-ZEEKCTL-on: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d post-install-NETMAP-on: ${MKDIR} ${WRKDIR}/zeek-bin ${CP} ${STAGEDIR}${PREFIX}/bin/zeek-config ${WRKDIR}/zeek-bin ${REINPLACE_CMD} -e 's|${PREFIX}|${STAGEDIR}${PREFIX}|g' \ ${WRKDIR}/zeek-bin/zeek-config cd ${WRKSRC_zeek_netmap} && ${SETENV} PATH=${WRKDIR}/zeek-bin:${PATH} \ ./configure --with-netmap=/usr \ --install-root=${STAGEDIR}${PREFIX}/lib/zeek/plugins cd ${WRKSRC_zeek_netmap}/build && make && make install .include # Would like to use ARCH (uname -p) but it's not always correct (e.g. arm64) UNAME_M!= ${UNAME} -m .include diff --git a/security/zeronet/Makefile b/security/zeronet/Makefile index 25b553c71621..aee182c162a8 100644 --- a/security/zeronet/Makefile +++ b/security/zeronet/Makefile @@ -1,76 +1,74 @@ -# Created by: Yuri Victorovich - PORTNAME= zeronet DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 PORTREVISION= 2 CATEGORIES= security net-p2p MAINTAINER= yuri@FreeBSD.org COMMENT= Decentralized websites using Bitcoin crypto and BitTorrent network LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coincurve>0:security/py-coincurve@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gevent-websocket>0:www/py-gevent-websocket@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}maxminddb>0:net/py-maxminddb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}merkletools>0:security/py-merkletools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>0:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyelliptic>0:security/py-pyelliptic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-bitcoinlib>0:finance/py-python-bitcoinlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rsa>0:security/py-rsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} SUB_FILES= zeronet-service zeronet-cmd pkg-message SUB_LIST= LOCALBASE=${LOCALBASE} USER=${USER} GROUP=${GROUP} PLIST_SUB= USER=${USER} GROUP=${GROUP} # ZeroNet hasn't been ported to Python 3 yet # https://github.com/HelloZeroNet/ZeroNet/issues/149 USES= python:3.6+ shebangfix SHEBANG_FILES= zeronet.py USE_GITHUB= yes GH_ACCOUNT= HelloZeroNet GH_PROJECT= ZeroNet NO_ARCH= yes OPTIONS_DEFINE= DEBUG DEBUG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR} .include USER= nobody GROUP= nobody post-patch: @${REINPLACE_CMD} -i '' -e 's|msgpack-python|msgpack|' ${WRKSRC}/requirements.txt do-build: @cd ${WRKSRC} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC} -f ${WRKSRC} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC} -f ${WRKSRC} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${CP} -R ${WRKSRC}/* ${STAGEDIR}${DATADIR}/ @${RM} `${FIND} ${STAGEDIR}${DATADIR} -name "*.orig"` @${RM} `${FIND} ${STAGEDIR}${DATADIR} -name LICENSE` @${RM} ${STAGEDIR}${DATADIR}/README*.md ${STAGEDIR}${DATADIR}/CHANGELOG*.md ${STAGEDIR}${DATADIR}/requirements.txt @${RM} ${STAGEDIR}${DATADIR}/Vagrantfile ${STAGEDIR}${DATADIR}/Dockerfile @${RM} -r `${FIND} ${STAGEDIR}${DATADIR} -name test` @${MKDIR} ${STAGEDIR}/var/db/zeronet @${MKDIR} ${STAGEDIR}/var/log/zeronet @${LN} -s /var/db/zeronet ${STAGEDIR}${DATADIR}/data @${LN} -s /var/log/zeronet ${STAGEDIR}${DATADIR}/log @${LN} -s /var/db/zeronet/zeronet.conf ${STAGEDIR}${DATADIR}/zeronet.conf # ZeroNet writes this file when it is used w/out the 'tor' option ${INSTALL_SCRIPT} ${WRKDIR}/zeronet-cmd ${STAGEDIR}${PREFIX}/bin/zeronet ${INSTALL_SCRIPT} ${WRKDIR}/zeronet-service ${STAGEDIR}${PREFIX}/etc/rc.d/zeronet .include diff --git a/security/zxid/Makefile b/security/zxid/Makefile index 1e88fb664113..19edb21f5c2d 100644 --- a/security/zxid/Makefile +++ b/security/zxid/Makefile @@ -1,66 +1,64 @@ -# Created by: Gea-Suan Lin - PORTNAME= zxid PORTVERSION= 1.42 PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= http://zxid.org/ MAINTAINER= admins@perceptyx.com COMMENT= Open Source IdM for the Masses - SAML SSO LICENSE= E2ETA LICENSE_NAME= End2End Trust Architecture (e2eta) Software Copying LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= # none LIB_DEPENDS= libcurl.so:ftp/curl USES= gmake localbase tar:tgz ssl USE_CSTD= gnu89 MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ LD="${CC}" LDFLAGS="${LDFLAGS}" \ PREFIX="${PREFIX}" OPENSSL_ROOT="${OPENSSLBASE}" \ POSTLIBS="${LDFLAGS}" TARGET="${OPSYS:tl}" \ V=1 ALL_TARGET= default smime libzxid.so.0.0 USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CFLAGS+= -D_LSEEK_DECLARED -fPIC OPTIONS_DEFINE= DOCS ZXID_BINS= smime zxcall zxcot zxdecode zxencdectest zxidhlo \ zxidhlowsf zxidhrxmlwsc zxidhrxmlwsp zxididp zxidsimple \ zxidwsctool zxlogview zxpasswd post-patch: @${REINPLACE_CMD} -e \ '/^LIBS/s|-lpthread|-pthread| ; \ /^SHARED/s|--export-all-symbols|| ; \ /..error /d ; \ /which gcc/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|||' \ ${WRKSRC}/zxidconf.c ${WRKSRC}/zxididp.c do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${ZXID_BINS} \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/include/zx ${LN} -sf ../zxid/zx.h ${STAGEDIR}${PREFIX}/include/zx/zx.h @${MKDIR} ${STAGEDIR}${PREFIX}/include/zxid ${INSTALL_DATA} ${WRKSRC}/*.h ${WRKSRC}/c/*.h \ ${STAGEDIR}${PREFIX}/include/zxid ${INSTALL_DATA} ${WRKSRC}/libzxid.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/libzxid.so.0.0 ${STAGEDIR}${PREFIX}/lib ${LN} -sf libzxid.so.0.0 ${STAGEDIR}${PREFIX}/lib/libzxid.so ${LN} -sf libzxid.so.0.0 ${STAGEDIR}${PREFIX}/lib/libzxid.so.0 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.pd ${STAGEDIR}${DOCSDIR} .include diff --git a/security/zzuf/Makefile b/security/zzuf/Makefile index 9c6fd2df4baf..3e7362ab813d 100644 --- a/security/zzuf/Makefile +++ b/security/zzuf/Makefile @@ -1,16 +1,14 @@ -# Created by: Peter Johnson - PORTNAME= zzuf PORTVERSION= 0.13 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/zzuf/ MAINTAINER= johnson.peter@gmail.com COMMENT= Transparent application input fuzzer USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes .include