diff --git a/Mk/Uses/mysql.mk b/Mk/Uses/mysql.mk index 36d6ce454f1c..cf5840131744 100644 --- a/Mk/Uses/mysql.mk +++ b/Mk/Uses/mysql.mk @@ -1,145 +1,154 @@ # Provide support for MySQL # Feature: mysql # Usage: USES=mysql or USES=mysql:args # Valid ARGS: , client, server # # version If no version is given (by the maintainer via the port), try to # find the currently installed version. Fall back to default if # necessary (MySQL-8.0 = 80, look at bsd.default-versions.mk for # possible values). # client Depends on the libmysqlclient library (default) # server Depend on the server at run/build time. If none of these is # set, depends on the client. # # IGNORE_WITH_MYSQL # This variable can be defined if the ports does not support one # or more versions of MySQL. # WITH_MYSQL_VER # User defined variable to set MySQL version. # MYSQL_VER # Detected MySQL version. # +# DBD_MYSQL +# Set compatible p5-DBD-mysql version +# # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_MYSQL_MK) _INCLUDE_USES_MYSQL_MK= yes . if !empty(mysql_ARGS) .undef _WANT_MYSQL_VER .undef _WANT_MYSQL_SERVER _MYSQL_ARGS= ${mysql_ARGS:S/,/ /g} . if ${_MYSQL_ARGS:Mserver} _WANT_MYSQL_SERVER= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nserver} . endif . if ${_MYSQL_ARGS:Mclient} _WANT_MYSQL_CLIENT= yes _MYSQL_ARGS:= ${_MYSQL_ARGS:Nclient} . endif # Port requested a version . if !empty(_MYSQL_ARGS) _WANT_MYSQL_VER= ${_MYSQL_ARGS} . if (${_WANT_MYSQL_VER:C/[0-9]*//} == "m") _WANT_MYSQL_FLAVOUR= mariadb . else _WANT_MYSQL_FLAVOUR= mysql . endif . endif . endif # !empty(mysql_ARGS) . if defined(DEFAULT_MYSQL_VER) WARNING+= "DEFAULT_MYSQL_VER is defined, consider using DEFAULT_VERSIONS=mysql=${DEFAULT_MYSQL_VER} instead" . endif DEFAULT_MYSQL_VER?= ${MYSQL_DEFAULT:S/.//} # MySQL client version currently supported. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. MYSQL80_LIBVER= 21 MYSQL81_LIBVER= 22 . for v in 5 6 11 MYSQL10${v}m_LIBVER= 3 . endfor # Setting/finding MySQL version we want. . if exists(${LOCALBASE}/bin/mysql) _MYSQL!= ${LOCALBASE}/bin/mysql_config --version | ${SED} -e 's/\([0-9]\{1,2\}\)\.\([0-9]*\).*/\1\2/' _MARIADB!= ${LOCALBASE}/bin/mysql --version | ${GREP} MariaDB | wc -l . if ${_MARIADB} == 1 _MYSQL_VER= ${_MYSQL}m _MYSQL_FLAVOUR= mariadb . else _MYSQL_VER= ${_MYSQL} _MYSQL_FLAVOUR= mysql . endif . endif . if defined(_WANT_MYSQL_VER) . if defined(WITH_MYSQL_VER) && (${WITH_MYSQL_VER:C/[0-9]*//} == "m") WITH_MYSQL_FLAVOUR= mariadb . else WITH_MYSQL_FLAVOUR= mysql . endif . if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER} != ${_WANT_MYSQL_VER} IGNORE= cannot install: the port wants ${_WANT_MYSQL_FLAVOUR}${_WANT_MYSQL_VER:C/[m]//}-client and you try to install ${WITH_MYSQL_FLAVOUR}${WITH_MYSQL_VER:C/[m]//}-client . endif MYSQL_VER= ${_WANT_MYSQL_VER} . elif defined(WITH_MYSQL_VER) MYSQL_VER= ${WITH_MYSQL_VER} . else . if defined(_MYSQL_VER) MYSQL_VER= ${_MYSQL_VER} . else MYSQL_VER= ${DEFAULT_MYSQL_VER} . endif . endif # _WANT_MYSQL_VER . if ${MYSQL_VER:C/[0-9]*//} == "m" MYSQL_FLAVOUR= mariadb . else MYSQL_FLAVOUR= mysql . endif . if defined(_MYSQL_VER) . if ${_MYSQL_VER} != ${MYSQL_VER} IGNORE= cannot install: MySQL versions mismatch: ${_MYSQL_FLAVOUR}${_MYSQL_VER:C/[m]//}-client is installed and wanted version is ${MYSQL_FLAVOUR}${MYSQL_VER:C/[m]//}-client . endif . endif _MYSQL_SHLIB= libmysqlclient . if (${MYSQL_VER:C/[0-9]*//} == "m") _MYSQL_SERVER_FLAVOUR= mariadb _MYSQL_CLIENT_FLAVOUR= mariadb . if ${MYSQL_VER:C/m//} >= 105 _MYSQL_SHLIB= libmariadb . endif . else _MYSQL_SERVER_FLAVOUR= mysql _MYSQL_CLIENT_FLAVOUR= mysql . endif _MYSQL_CLIENT= databases/${_MYSQL_CLIENT_FLAVOUR}${MYSQL_VER:C/[m]//}-client _MYSQL_SERVER= databases/${_MYSQL_SERVER_FLAVOUR}${MYSQL_VER:C/[m]//}-server # And now we are checking if we can use it . if defined(MYSQL${MYSQL_VER}_LIBVER) . if defined(IGNORE_WITH_MYSQL) . for VER in ${IGNORE_WITH_MYSQL} . if (${MYSQL_VER} == "${VER}") IGNORE= cannot install: does not work with MySQL version ${MYSQL_VER} (MySQL ${IGNORE_WITH_MYSQL} not supported) . endif . endfor . endif # IGNORE_WITH_MYSQL . if defined(_WANT_MYSQL_SERVER) RUN_DEPENDS+= ${LOCALBASE}/libexec/mysqld:${_MYSQL_SERVER} . endif . if defined(_WANT_MYSQL_CLIENT) || !defined(_WANT_MYSQL_SERVER) LIB_DEPENDS+= ${_MYSQL_SHLIB}.so.${MYSQL${MYSQL_VER}_LIBVER}:${_MYSQL_CLIENT} . endif . else IGNORE= cannot install: unknown MySQL version: ${MYSQL_VER} . endif # Check for correct libs +. if ${MYSQL_FLAVOUR} == mariadb +DBD_MYSQL= p5-DBD-mysql4>=0:databases/p5-DBD-mysql4 +. else +DBD_MYSQL= p5-DBD-mysql>=0:databases/p5-DBD-mysql +. endif + .endif diff --git a/comms/atslog/Makefile b/comms/atslog/Makefile index 243324ef36e7..a442dffef7e3 100644 --- a/comms/atslog/Makefile +++ b/comms/atslog/Makefile @@ -1,111 +1,111 @@ PORTNAME= atslog PORTVERSION= 2.1.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= comms MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= Software for collecting and analyzing calls from different PBX models WWW= http://www.atslog.com/en/about/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 shebangfix SHEBANG_FILES= data/sql/install-sql.pl \ include/atslogcleardb.pl.in include/atslogdb.pl.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var USE_RC_SUBR= ${PORTNAME}d PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message PORTDOCS= CHANGES ChangeLog DEINSTALL INSTALL TODO UPDATING USAGE OPTIONS_DEFINE= EXAMPLES LIBWRAP WWW WWWGD DOCS OPTIONS_DEFAULT= LIBWRAP MYSQL WWW WWWGD OPTIONS_MULTI= DB OPTIONS_MULTI_DB= PGSQL MYSQL OPTIONS_SUB= yes LIBWRAP_DESC= Enable TCP wrapper support WWW_DESC= Install web interface WWWGD_DESC= Graphic reports MYSQL_USES= mysql -MYSQL_BUILD_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_BUILD_DEPENDS= ${DBD_MYSQL} +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} PGSQL_USES= pgsql PGSQL_BUILD_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg LIBWRAP_CONFIGURE_OFF= --disable-libwrap .include .if ${PORT_OPTIONS:MWWW} USES+= php:web .if ${PORT_OPTIONS:MWWWGD} USE_PHP+= gd .endif .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql .endif .endif post-patch: @${REINPLACE_CMD} -e 's|createsqltables.|${DATADIR}/sql/createsqltables.|g' \ -e 's|data.sql|${DATADIR}/sql/data.sql|' ${WRKSRC}/data/sql/install-sql.pl do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${USE_RC_SUBR}/${USE_RC_SUBR} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ru.KOI8-R/man8 .for i in ${USE_RC_SUBR} ${PORTNAME}master ${INSTALL_MAN} ${WRKSRC}/man/en/${i}.8 ${STAGEDIR}${PREFIX}/share/man/man8 ${INSTALL_MAN} ${WRKSRC}/man/ru.KOI8-R/${i}.8 ${STAGEDIR}${PREFIX}/share/man/ru.KOI8-R/man8 .endfor ${INSTALL_DATA} ${WRKSRC}/include/${PORTNAME}.conf.default ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${INSTALL_DATA} ${WRKSRC}/include/${PORTNAME}.conf.default.rus ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.rus.sample .for i in atslogcleardb.pl atslogdb.pl atslogmaster ${INSTALL_SCRIPT} ${WRKSRC}/include/${i} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/lang (cd ${WRKSRC}/include && \ ${FIND} lang -type f ! -iregex ".*Makefile" -exec \ ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/textlogs (cd ${WRKSRC}/data && \ ${FIND} textlogs -type f -exec \ ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \;) @${MKDIR} ${STAGEDIR}${DATADIR}/sql (cd ${WRKSRC}/data && \ ${FIND} sql -type f -iregex ".*\.sql" -exec \ ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/{}" \;) ${INSTALL_SCRIPT} ${WRKSRC}/data/sql/install-sql.pl ${STAGEDIR}${DATADIR}/sql @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} (cd ${WRKSRC}/libexec && \ ${FIND} -E . -type f ! -iregex ".*\.(sh|orig)" -exec \ ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/{}" \;) ${INSTALL_SCRIPT} ${WRKSRC}/libexec/genindex.sh ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC}/www && \ ${FIND} . -type d ! -empty -exec \ ${MKDIR} "${STAGEDIR}${WWWDIR}/{}" \; && \ ${FIND} -E . -type f ! -iregex "(.*Makefile|.*\.orig)" -exec \ ${INSTALL_DATA} {} "${STAGEDIR}${WWWDIR}/{}" \; ${MV} ${STAGEDIR}${WWWDIR}/include/config.inc.php.default ${STAGEDIR}${WWWDIR}/include/config.inc.php.sample do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/databases/innotop/Makefile b/databases/innotop/Makefile index a0cd61da780d..3baf8a40e885 100644 --- a/databases/innotop/Makefile +++ b/databases/innotop/Makefile @@ -1,29 +1,30 @@ PORTNAME= innotop PORTVERSION= 1.13.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= skreuzer@FreeBSD.org COMMENT= MySQL and InnoDB monitoring program WWW= https://github.com/innotop/innotop LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql \ +BUILD_DEPENDS= ${DBD_MYSQL} \ p5-DBI>=1.46:databases/p5-DBI \ p5-Term-ReadKey>=2.10:devel/p5-Term-ReadKey \ p5-Time-HiRes>0:devel/p5-Time-HiRes \ p5-Term-ANSIColor>0:devel/p5-Term-ANSIColor \ p5-Term-ReadLine>0:devel/p5-Term-ReadLine RUN_DEPENDS:= ${BUILD_DEPENDS} USES= mysql perl5 USE_PERL5= configure USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e 's|/etc/innotop|${PREFIX}/etc|g' ${WRKSRC}/innotop .include diff --git a/databases/mtop/Makefile b/databases/mtop/Makefile index 7bb878920f81..b6f9333e4348 100644 --- a/databases/mtop/Makefile +++ b/databases/mtop/Makefile @@ -1,25 +1,25 @@ PORTNAME= mtop PORTVERSION= 0.6.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MySQL Monitoring Tool WWW= https://mtop.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-Curses>=0:devel/p5-Curses \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql + ${DBD_MYSQL} RUN_DEPENDS:= ${BUILD_DEPENDS} NO_ARCH= yes -USES= perl5 +USES= mysql perl5 USE_PERL5= configure post-patch: ${RM} ${WRKSRC}/cpan2spec.pl .include diff --git a/databases/mysqlreport/Makefile b/databases/mysqlreport/Makefile index 15bba81d2698..86f6915797ca 100644 --- a/databases/mysqlreport/Makefile +++ b/databases/mysqlreport/Makefile @@ -1,42 +1,42 @@ PORTNAME= mysqlreport PORTVERSION= 3.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases MAINTAINER= ports@FreeBSD.org COMMENT= Mysqlreport makes a friendly report of important MySQL status values WWW= https://hackmysql.com/mysqlreport LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql \ +RUN_DEPENDS= ${DBD_MYSQL} \ p5-DBI>=0:databases/p5-DBI \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey NO_ARCH= yes NO_BUILD= yes -USES= perl5 shebangfix +USES= mysql perl5 shebangfix WRKSRC_SUBDIR= ${PORTNAME} PLIST_FILES= bin/mysqlreport PORTDOCS= COPYING mysqlreportguide.html mysqlreportdoc.html USE_GITHUB= yes GH_ACCOUNT= daniel-nichter GH_PROJECT= hackmysql.com GH_TAGNAME= f0f327b SHEBANG_FILES= mysqlreport OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mysqlreport ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile index 034c056942fd..faee6e334d48 100644 --- a/databases/mytop/Makefile +++ b/databases/mytop/Makefile @@ -1,27 +1,28 @@ PORTNAME= mytop PORTVERSION= 1.7 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= ports@FreeBSD.org COMMENT= Top clone for MySQL WWW= https://jeremy.zawodny.com/mysql/mytop/ LICENSE= GPLv2 -RUN_DEPENDS= p5-DBD-mysql>1.0:databases/p5-DBD-mysql \ +RUN_DEPENDS= ${DBD_MYSQL} \ p5-DBI>=1.13:databases/p5-DBI \ p5-Term-ReadKey>=2.10:devel/p5-Term-ReadKey USE_GITHUB= yes GH_ACCOUNT= jzawodn GH_TAGNAME= 437f2ef NO_ARCH= yes -USES+= perl5 +USES+= mysql perl5 USE_PERL5= configure PLIST_FILES= bin/mytop \ ${SITE_MAN1}/mytop.1.gz .include diff --git a/databases/p5-Class-DBI-mysql/Makefile b/databases/p5-Class-DBI-mysql/Makefile index 0711ab8fc1ac..81cb5f360027 100644 --- a/databases/p5-Class-DBI-mysql/Makefile +++ b/databases/p5-Class-DBI-mysql/Makefile @@ -1,19 +1,19 @@ PORTNAME= Class-DBI-mysql PORTVERSION= 1.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensions to Class::DBI for MySQL WWW= https://metacpan.org/release/Class-DBI-mysql BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-DBI>=0:databases/p5-Class-DBI \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql + ${DBD_MYSQL} -USES= perl5 +USES= mysql perl5 USE_PERL5= configure .include diff --git a/databases/p5-DBIx-MySQLSequence/Makefile b/databases/p5-DBIx-MySQLSequence/Makefile index 2c726034da4e..b120bb8f6f28 100644 --- a/databases/p5-DBIx-MySQLSequence/Makefile +++ b/databases/p5-DBIx-MySQLSequence/Makefile @@ -1,25 +1,25 @@ PORTNAME= DBIx-MySQLSequence PORTVERSION= 1.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Proper and correct (emulated) sequence support for MySQL WWW= https://metacpan.org/release/DBIx-MySQLSequence -BUILD_DEPENDS= p5-DBD-mysql>0:databases/p5-DBD-mysql \ +BUILD_DEPENDS= ${DBD_MYSQL} \ p5-DBI>0:databases/p5-DBI \ p5-Params-Util>=0.26:devel/p5-Params-Util -RUN_DEPENDS= p5-DBD-mysql>0:databases/p5-DBD-mysql \ +RUN_DEPENDS= ${DBD_MYSQL} \ p5-DBI>0:databases/p5-DBI \ p5-Params-Util>=0.26:devel/p5-Params-Util -USES= perl5 +USES= mysql perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -i '' '/Test::More/d' ${WRKSRC}/Makefile.PL .include diff --git a/databases/p5-DBIx-TableHash/Makefile b/databases/p5-DBIx-TableHash/Makefile index 92a23b73d85b..9cf9567deeb7 100644 --- a/databases/p5-DBIx-TableHash/Makefile +++ b/databases/p5-DBIx-TableHash/Makefile @@ -1,19 +1,19 @@ PORTNAME= DBIx-TableHash CATEGORIES= databases perl5 PORTVERSION= 1.05 -PORTREVISION= 1 +PORTREVISION= 2 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:CHTHORMAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Tie a hash to a MySQL table plus SQL utilities WWW= https://christhorman.com/projects/perl/DBIx-TableHash/ BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS= ${DBD_MYSQL} -USES= perl5 +USES= mysql perl5 USE_PERL5= configure .include diff --git a/databases/p5-MySQL-Diff/Makefile b/databases/p5-MySQL-Diff/Makefile index 71f66fe38db2..1e62c43ba9cd 100644 --- a/databases/p5-MySQL-Diff/Makefile +++ b/databases/p5-MySQL-Diff/Makefile @@ -1,28 +1,29 @@ PORTNAME= MySQL-Diff PORTVERSION= 0.50 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl module for comparing the table structure of two MySQL databases WWW= https://metacpan.org/release/MySQL-Diff LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-MakeMethods>=0:devel/p5-Class-MakeMethods \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-File-Slurp>=0:devel/p5-File-Slurp \ p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote -USES= perl5 shebangfix +USES= mysql perl5 shebangfix USE_PERL5= configure SHEBANG_FILES= bin/mysqldiff post-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${STAGEDIR}${PREFIX}/bin .include diff --git a/databases/p5-Test-mysqld/Makefile b/databases/p5-Test-mysqld/Makefile index a77739977fc9..789fffbb9579 100644 --- a/databases/p5-Test-mysqld/Makefile +++ b/databases/p5-Test-mysqld/Makefile @@ -1,27 +1,28 @@ PORTNAME= Test-mysqld PORTVERSION= 1.0013 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for mysqld test runner WWW= https://metacpan.org/release/Test-mysqld LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Accessor-Lite>=0:devel/p5-Class-Accessor-Lite \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-DBI>=0:databases/p5-DBI \ p5-File-Copy-Recursive>=0:devel/p5-File-Copy-Recursive TEST_DEPENDS= p5-Test-SharedFork>=0:devel/p5-Test-SharedFork -USES= perl5 +USES= mysql perl5 USE_PERL5= modbuildtiny NO_ARCH= yes .include diff --git a/databases/p5-mysql-genocide/Makefile b/databases/p5-mysql-genocide/Makefile index 566a87d8ba76..11a3c59d46f3 100644 --- a/databases/p5-mysql-genocide/Makefile +++ b/databases/p5-mysql-genocide/Makefile @@ -1,19 +1,19 @@ PORTNAME= mysql-genocide PORTVERSION= 0.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:RSOLIV PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Parallel operation on MySQL processlist WWW= https://metacpan.org/release/RSOLIV/mysql-genocide-0.03 BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS= ${DBD_MYSQL} -USES= perl5 +USES= mysql perl5 USE_PERL5= configure .include diff --git a/databases/percona-toolkit/Makefile b/databases/percona-toolkit/Makefile index d20d91967c59..bd9f994116d3 100644 --- a/databases/percona-toolkit/Makefile +++ b/databases/percona-toolkit/Makefile @@ -1,28 +1,29 @@ PORTNAME= percona-toolkit DISTVERSION= 3.5.2 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://www.percona.com/downloads/${PORTNAME}/${PORTVERSION}/source/tarball/ MAINTAINER= flo@FreeBSD.org COMMENT= Collection of essential command-line utilities for MySQL WWW= https://www.percona.com/software/percona-toolkit/ LICENSE= ARTPERL10 GPLv2 LICENSE_COMB= dual RUN_DEPENDS= bash:shells/bash \ - p5-DBD-mysql>=3:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-DBI>=1.46:databases/p5-DBI \ p5-Term-ReadKey>=2.10:devel/p5-Term-ReadKey \ pidof:sysutils/pidof -USES= perl5 shebangfix +USES= mysql perl5 shebangfix USE_PERL5= configure SHEBANG_FILES= bin/pt-* CONFLICTS_INSTALL= p5-Pipeline # lib/perl5/site_perl/Pipeline.pm NO_ARCH= yes .include diff --git a/deskutils/note/Makefile b/deskutils/note/Makefile index 9d7ec2bab443..8d0ade1192a5 100644 --- a/deskutils/note/Makefile +++ b/deskutils/note/Makefile @@ -1,55 +1,57 @@ PORTNAME= note DISTVERSION= 1.3.26 +PORTREVISION= 1 CATEGORIES= deskutils perl5 MASTER_SITES= http://www.daemon.de/idisk/Apps/note/ MAINTAINER= ports@FreeBSD.org COMMENT= Console based tool to handle encrypted notes WWW= https://www.daemon.de/NOTE LICENSE= GPLv1 RUN_DEPENDS= p5-YAML>=0.1:textproc/p5-YAML \ p5-Config-General>0:devel/p5-Config-General USES= perl5 USE_PERL5= configure NO_ARCH= yes OPTIONS_DEFINE= EXAMPLES MYSQL PWSAFE3 OPTIONS_DEFAULT= BLOWFISH DES IDEA MYSQL PWSAFE3 -MYSQL_RUN_DEPENDS= p5-DBD-mysql>0:databases/p5-DBD-mysql \ +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} \ p5-DBI>0:databases/p5-DBI +MYSQL_USES= mysql PWSAFE3_DESC= Password Safe v3 backend PWSAFE3_RUN_DEPENDS= p5-Crypt-PWSafe3>0:security/p5-Crypt-PWSafe3 OPTIONS_GROUP= CRYPTO OPTIONS_GROUP_CRYPTO= DES IDEA BLOWFISH CRYPTO_DESC= Encryption support CRYPTO_RUN_DEPENDS= p5-Crypt-CBC>0:security/p5-Crypt-CBC \ p5-Crypt-Rijndael>0:security/p5-Crypt-Rijndael BLOWFISH_DESC= BlowFish block cipher support BLOWFISH_RUN_DEPENDS= p5-Crypt-Blowfish>0:security/p5-Crypt-Blowfish \ ${CRYPTO_RUN_DEPENDS} DES_DESC= DES block cipher support DES_RUN_DEPENDS= p5-Crypt-DES>0:security/p5-Crypt-DES \ ${CRYPTO_RUN_DEPENDS} IDEA_DESC= IDEA block cipher support IDEA_RUN_DEPENDS= p5-Crypt-IDEA>0:security/p5-Crypt-IDEA \ ${CRYPTO_RUN_DEPENDS} post-patch: @${REINPLACE_CMD} -e 's|{{(|{\\{(|g' \ ${WRKSRC}/bin/note post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/config && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile index 0e88f2107a7d..0b0db38d0440 100644 --- a/devel/bugzilla44/Makefile +++ b/devel/bugzilla44/Makefile @@ -1,136 +1,136 @@ PORTNAME= bugzilla PORTVERSION= 4.4.13 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived MAINTAINER= bz-ports@FreeBSD.org COMMENT= Bug-tracking system developed by Mozilla Project WWW= https://www.bugzilla.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE # see Bugzilla/Install/Requirements.pm # PR 194782: silence Module::Pluggable deprecated warnings # PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \ p5-DateTime>=0.75:devel/p5-DateTime \ p5-Email-MIME>=1.904:mail/p5-Email-MIME \ p5-Email-Send>=2.04:mail/p5-Email-Send \ p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI USES= cpe perl5 USE_PERL5= run CPE_VENDOR= mozilla SUB_FILES= pkg-message DATA_DIRS_LIST= images js skins # checksetup will fail if these directories are not present! EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" MODPERL_USES= apache:run MYSQL_USES= mysql -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} PGSQL_USES= pgsql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ sqlite3>=3:databases/sqlite3 GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Template-GD>=0:www/p5-Template-GD CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ interdiff:misc/patchutils MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ p5-Email-Reply>=0:mail/p5-Email-Reply \ p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ p5-Daemon-Generic>=0:net/p5-Daemon-Generic \ p5-File-Slurp>=9999.13:devel/p5-File-Slurp MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ p5-XML-Twig>=0:textproc/p5-XML-Twig BMP2PNG_USES= magick:6,run # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC \ p5-JSON-XS>=2.0:converters/p5-JSON-XS MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ p5-Apache-DBI>=0:www/p5-Apache-DBI GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Twig>=0:textproc/p5-XML-Twig LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ p5-IO-Stringy>=2.110:devel/p5-IO-Stringy .include post-extract: ${RM} -r ${WRKSRC}/.git ${RM} ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \ ${WRKSRC}/docs/en/README.docs ${WRKSRC}/docs/en/html/Bugzilla-Guide.proc \ ${WRKSRC}/.travis.yml ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST.SKIP \ ${WRKSRC}/taskgraph.json post-patch: ${REINPLACE_CMD} -e 's/apache/www/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm ${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl \ ${WRKSRC}/docs/en/html/api/importxml.html ${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.html -o -name \*.pl -o -name \*.pm -o -name \*.t -o -name \*.txt -o -name \*.xml \) \ -exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \ s!/usr/lib/sendmail!/usr/sbin/sendmail!g; \ s!/var/www/html/bugzilla!${WWWDIR}!" {} \+ .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL} ${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm .endif pre-install: ${FIND} ${WRKSRC} -type f \( -name "*.orig" -or -name "*.bak" \) -delete do-install: .SILENT @${MKDIR} ${STAGEDIR}${WWWDIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ ${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \; @${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} .for D in ${DATA_DIRS_LIST} (cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D}) .endfor ${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-CONTRIB-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/contrib (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) .include diff --git a/devel/bugzilla50/Makefile b/devel/bugzilla50/Makefile index d7886fd857b1..2e1b884f0eea 100644 --- a/devel/bugzilla50/Makefile +++ b/devel/bugzilla50/Makefile @@ -1,145 +1,145 @@ PORTNAME= bugzilla PORTVERSION= 5.0.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived MAINTAINER= bz-ports@FreeBSD.org COMMENT= Bug-tracking system developed by Mozilla Project WWW= https://www.bugzilla.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE # see Bugzilla/Install/Requirements.pm # PR 194782: silence Module::Pluggable deprecated warnings # PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \ p5-DateTime>=0.75:devel/p5-DateTime \ p5-Email-MIME>=1.904:mail/p5-Email-MIME \ p5-Email-Sender>=1.300011:mail/p5-Email-Sender \ p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-JSON-XS>=2.01:converters/p5-JSON-XS \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI USES= cpe perl5 USE_PERL5= run CPE_VENDOR= mozilla SUB_FILES= pkg-message DATA_DIRS_LIST= images js skins # checksetup will fail if these directories are not present! EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" MODPERL_USES= apache:run MYSQL_USES= mysql -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} PGSQL_USES= pgsql:11+ PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ sqlite3>=3:databases/sqlite3 GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Template-GD>=0:www/p5-Template-GD CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ interdiff:misc/patchutils MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ p5-Email-Reply>=0:mail/p5-Email-Reply \ p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ p5-Daemon-Generic>=0:net/p5-Daemon-Generic MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ p5-XML-Twig>=0:textproc/p5-XML-Twig BMP2PNG_USES= magick:6,run # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC REST_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ p5-Apache-DBI>=0:www/p5-Apache-DBI GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Twig>=0:textproc/p5-XML-Twig LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ p5-IO-Stringy>=2.110:devel/p5-IO-Stringy MEMCACHED_RUN_DEPENDS= p5-Cache-Memcached>=1.30:databases/p5-Cache-Memcached .include post-extract: # The docs_urlbase parameter has been removed. If documentation has not been # compiled locally, the "Help" links and other documentation links will # redirect to bugzilla.readthedocs.org automatically. ${RM} -r ${WRKSRC}/docs ${RM} -r ${WRKSRC}/.git ${RM} ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \ ${WRKSRC}/.travis.yml ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST.SKIP post-patch: ${REINPLACE_CMD} -e 's/apache/www/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm ${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl ${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.pl -o -name \*.pm -o -name \*.t \) \ -exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \ s!/usr/lib/sendmail!/usr/sbin/sendmail!g;" {} \+ .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL} ${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm .endif pre-install: ${FIND} ${WRKSRC} -type f \( -name "*.orig" -or -name "*.bak" \) -delete do-install: .SILENT @${MKDIR} ${STAGEDIR}${WWWDIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ ${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \; @${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} .for D in ${DATA_DIRS_LIST} (cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D}) .endfor ${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} do-install-CONTRIB-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/contrib (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) do-install-MOREBUGURL-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl (cd ${WRKSRC}/extensions/MoreBugUrl && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl) do-install-VOTING-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/Voting (cd ${WRKSRC}/extensions/Voting && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/Voting) .include diff --git a/mail/assp/Makefile b/mail/assp/Makefile index 115ed0933457..39dde5a3e4f4 100644 --- a/mail/assp/Makefile +++ b/mail/assp/Makefile @@ -1,152 +1,153 @@ PORTNAME= assp PORTVERSION= 1.9.9.14158 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.ringofsaturn.com/distfiles/ DISTNAME= ${PORTNAME:tu}_${PORTVERSION}_Install MAINTAINER= ports@FreeBSD.org COMMENT= Anti-Spam SMTP Proxy WWW= http://opal.com/jr/freebsd/ports/mail/assp/ RUN_DEPENDS= p5-Net-DNS>=0.68:dns/p5-Net-DNS \ p5-libwww>=6.04:www/p5-libwww \ p5-HTML-Parser>=3.69:www/p5-HTML-Parser USES= perl5 zip:infozip shebangfix SHEBANG_FILES= *.pl NO_BUILD= yes NO_ARCH= yes USE_PERL5= run ASSP_USER= assp ASSP_GROUP= assp USERS= ${ASSP_USER} GROUPS= ${ASSP_GROUP} ASSP_HOME= /var/db/assp ASSP_LOG= /var/log/assp PLIST_SUB= ASSP_HOME="${ASSP_HOME}" ASSP_LOG="${ASSP_LOG}" \ ASSP_USER="${ASSP_USER}" ASSP_GROUP="${ASSP_GROUP}" SUB_FILES= 510.assp assp.8 assplog.8 assplog.pl SUB_LIST= ASSP_USER="${ASSP_USER}" ASSP_GROUP="${ASSP_GROUP}" \ ASSP_HOME="${ASSP_HOME}" ASSP_LOG="${ASSP_LOG}" \ DATADIR="${DATADIR}" PERL="${PERL}" USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= EMVALID LDAP SPF SRS SEND FBACKW CLAMAV DNSBL MYSQL \ MATCHRE SENDERB MIMEMOD SSL IPV6 DOCS EMVALID_DESC= RFC822 recipient address validator LDAP_DESC= LDAP validation of recipient addresses SPF_DESC= SPF validation of client IP SRS_DESC= Sender Rewriting Scheme SEND_DESC= Resending .eml files FBACKW_DESC= File Reading Backwards CLAMAV_DESC= ClamAV virus scanner DNSBL_DESC= DNS block list checking MYSQL_DESC= Use MySQL db to store white/red/delaylists MATCHRE_DESC= Match IP ranges and CIDR blocks in lists SENDERB_DESC= Country Code checks MIMEMOD_DESC= Multiple Attachement detection OPTIONS_DEFAULT= EMVALID SPF SRS SEND FBACKW CLAMAV DNSBL MATCHRE SENDERB MIMEMOD SSL WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ASSP_1.9.9_14158_install/${PORTNAME:tu} .include .if ${PORT_OPTIONS:MEMVALID} RUN_DEPENDS+= p5-Email-Valid>=0.190:mail/p5-Email-Valid .endif .if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= p5-perl-ldap>=0.4400:net/p5-perl-ldap .endif .if ${PORT_OPTIONS:MSPF} RUN_DEPENDS+= p5-Mail-SPF>=2.007:mail/p5-Mail-SPF .endif .if ${PORT_OPTIONS:MSRS} RUN_DEPENDS+= p5-Mail-SRS>=0.31:mail/p5-Mail-SRS .endif .if ${PORT_OPTIONS:MSEND} RUN_DEPENDS+= p5-Email-Send>=2.198:mail/p5-Email-Send .endif .if ${PORT_OPTIONS:MFBACKW} RUN_DEPENDS+= p5-File-ReadBackwards>=1.05:devel/p5-File-ReadBackwards .endif .if ${PORT_OPTIONS:MCLAMAV} RUN_DEPENDS+= p5-File-Scan-ClamAV>=1.91:security/p5-File-Scan-ClamAV PLIST_SUB+= ASSP_CLAMAV="" .else PLIST_SUB+= ASSP_CLAMAV="@comment " .endif .if ${PORT_OPTIONS:MDNSBL} RUN_DEPENDS+= p5-Net-DNS>=0.68:dns/p5-Net-DNS .endif .if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= p5-Tie-DBI>=1.05:databases/p5-Tie-DBI -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${DBD_MYSQL} +USES+= mysql .endif .if ${PORT_OPTIONS:MMATCHRE} RUN_DEPENDS+= p5-Net-IP-Match-Regexp>=1.01:net-mgmt/p5-Net-IP-Match-Regexp .endif .if ${PORT_OPTIONS:MSENDERB} RUN_DEPENDS+= p5-Net-SenderBase>=1.02:mail/p5-Net-SenderBase .endif .if ${PORT_OPTIONS:MMIMEMOD} RUN_DEPENDS+= p5-Email-MIME>=1.910:mail/p5-Email-MIME .endif .if ${PORT_OPTIONS:MSSL} RUN_DEPENDS+= p5-IO-Socket-SSL>=1.74:security/p5-IO-Socket-SSL .endif .if ${PORT_OPTIONS:MIPV6} RUN_DEPENDS+= p5-IO-Socket-INET6>=2.69:net/p5-IO-Socket-INET6 .endif EXTRACT_AFTER_ARGS= -d ${PORTNAME}-${PORTVERSION} do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/images \ ${STAGEDIR}${DATADIR}/logs ${STAGEDIR}${DATADIR}/reports ${INSTALL_SCRIPT} ${WRKSRC}/assp.pl ${STAGEDIR}${DATADIR} (cd ${STAGEDIR} && ${LN} -sf ${DATADIR}/assp.pl ${STAGEDIR}${PREFIX}/sbin/assp) ${INSTALL_SCRIPT} ${WRKSRC}/rebuildspamdb.pl ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/stat.pl ${STAGEDIR}${DATADIR} ( cd ${WRKSRC} && ${COPYTREE_SHARE} "files images reports" \ ${STAGEDIR}${DATADIR}/ "! -name '*.orig' ! -name '*.bak'" ) ${INSTALL_SCRIPT} ${WRKDIR}/assplog.pl ${STAGEDIR}${PREFIX}/sbin/assplog ${INSTALL_MAN} ${WRKDIR}/assp.8 ${STAGEDIR}${PREFIX}/share/man/man8 ${INSTALL_MAN} ${WRKDIR}/assplog.8 ${STAGEDIR}${PREFIX}/share/man/man8 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/510.assp ${STAGEDIR}${PREFIX}/etc/periodic/daily/ @${MKDIR} ${STAGEDIR}${ASSP_HOME} @${MKDIR} ${STAGEDIR}${ASSP_LOG} .for f in files images rebuildspamdb.pl reports ${LN} -sf ${DATADIR}/${f} ${STAGEDIR}${ASSP_HOME}/ .endfor ${LN} -sf ${ASSP_LOG} ${STAGEDIR}${ASSP_HOME}/logs do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.htm ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/exilog/Makefile b/mail/exilog/Makefile index 2cdba1a826db..a6866f4d680e 100644 --- a/mail/exilog/Makefile +++ b/mail/exilog/Makefile @@ -1,80 +1,80 @@ PORTNAME= exilog PORTVERSION= 0.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= mail MASTER_SITES= http://duncanthrax.net/exilog/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool to centralize and visualize Exim logs with a web front end WWW= https://duncanthrax.net/exilog/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask \ p5-CGI>0:www/p5-CGI USES= perl5 shebangfix SHEBANG_GLOB= *.pl .ifndef WITHOUT_WWWDIR EXILOGDIR?= ${PREFIX}/www/exilog .else EXILOGDIR?= ${PREFIX}/exilog .endif OPTIONS_DEFINE= DOCS AGENT OPTIONS_MULTI= SQLBACKEND OPTIONS_MULTI_SQLBACKEND= MYSQL PGSQL OPTIONS_DEFAULT= AGENT DOCS MYSQL OPTIONS_SUB= YES AGENT_DESC= Include exilog agent -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg PGSQL_USES= pgsql .include .if ${PORT_OPTIONS:MAGENT} USE_RC_SUBR= ${PORTNAME} .endif NO_BUILD= yes NO_ARCH= yes PLIST_SUB+= EXILOGDIR="${EXILOGDIR:S,^${PREFIX}/,,}" PORTDOC_FILES= doc/Changelog \ doc/exilog.txt \ doc/mysql-db-script.sql \ doc/pgsql-db-script.sql post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} pre-patch: @${REINPLACE_CMD} -e 's,$$RealBin/exilog.conf,${PREFIX}/etc/exilog.conf,' ${WRKSRC}/exilog_config.pm @${REINPLACE_CMD} -e "s,\(use exilog_config\),use lib \'${EXILOGDIR}\'; \1," ${WRKSRC}/exilog_agent.pl @${REINPLACE_CMD} -e "s,\(use exilog_config\),use lib \'${EXILOGDIR}\'; \1," ${WRKSRC}/exilog_cleanup.pl @${REINPLACE_CMD} -e "s,\(use exilog_config\),use lib \'${EXILOGDIR}\'; \1," ${WRKSRC}/exilog_cgi.pl do-install: ${MKDIR} ${STAGEDIR}${EXILOGDIR} ${STAGEDIR}${EXILOGDIR}/icons ${CP} ${WRKSRC}/*.pm ${WRKSRC}/*.css ${WRKSRC}/*.js ${STAGEDIR}${EXILOGDIR} ${CP} ${WRKSRC}/icons/* ${STAGEDIR}${EXILOGDIR}/icons .if ${PORT_OPTIONS:MAGENT} ${INSTALL_SCRIPT} ${WRKSRC}/exilog_agent.pl ${STAGEDIR}${PREFIX}/sbin .endif ${INSTALL_SCRIPT} ${WRKSRC}/exilog_cleanup.pl ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/exilog_cgi.pl ${STAGEDIR}${EXILOGDIR} ${CP} ${WRKSRC}/exilog.conf-example ${STAGEDIR}${PREFIX}/etc/exilog.conf-dist ${CP} ${FILESDIR}/htaccess ${STAGEDIR}${EXILOGDIR}/.htaccess ${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in ${PORTDOC_FILES} ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile index 114c2b74a2fe..e7636444a181 100644 --- a/mail/opendmarc/Makefile +++ b/mail/opendmarc/Makefile @@ -1,64 +1,64 @@ PORTNAME= opendmarc PORTVERSION= 1.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail security MASTER_SITES= GH MAINTAINER= freebsd@gushi.org COMMENT= DMARC library and milter implementation WWW= http://www.trusteddomain.org/opendmarc.html LICENSE= BSD3CLAUSE SENDMAIL LICENSE_COMB= multi RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \ p5-DBI>=0:databases/p5-DBI \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-HTTP-Message>=0:www/p5-HTTP-Message -USES= cpe libtool perl5 shebangfix autoreconf +USES= cpe libtool mysql perl5 shebangfix autoreconf LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail LICENSE_GROUPS_SENDMAIL= FSF OSI LICENSE_NAME_SENDMAIL= Sendmail Open Source License LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CPE_VENDOR= trusteddomain USE_LDCONFIG= yes USE_RC_SUBR= opendmarc USE_GITHUB= yes GH_ACCOUNT= trusteddomainproject GH_TAGNAME= rel-opendmarc-1-4-2 GH_PROJECT= OpenDMARC GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share OPTIONS_DEFINE= SPF DOCS OPTIONS_DEFAULT= SPF SPF_DESC= Enable support for SPF record checking SPF_LIB_DEPENDS= libspf2.so:mail/libspf2 SPF_CONFIGURE_ON= --with-spf \ --with-spf2-include=${LOCALBASE}/include/spf2 \ --with-spf2-lib=${LOCALBASE}/lib SHEBANG_FILES= reports/opendmarc-expire.in \ reports/opendmarc-import.in \ reports/opendmarc-params.in \ reports/opendmarc-reports.in PORTDOCS= * .include .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" CONFIGURE_ARGS+= --with-milter=${MILTERBASE} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail ${INSTALL_DATA} \ ${WRKSRC}/opendmarc/opendmarc.conf.sample ${STAGEDIR}${PREFIX}/etc/mail @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendmarc.so.2 .include diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile index c31d36e2aa39..f4147f5a9083 100644 --- a/mail/policyd2/Makefile +++ b/mail/policyd2/Makefile @@ -1,87 +1,88 @@ PORTNAME= policyd2 PORTVERSION= 2.0.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= https://download.policyd.org/v${PORTVERSION}/ DISTNAME= cluebringer-v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Policyd v2 is a multi-platform policy server for popular MTAs WWW= https://wiki.policyd.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= gsed:textproc/gsed \ p5-Cache-FastMmap>=0:devel/p5-Cache-FastMmap \ p5-Config-IniFiles>=0:devel/p5-Config-IniFiles \ p5-Net-CIDR>=0:net-mgmt/p5-Net-CIDR \ p5-Net-Server>=0:net/p5-Net-Server USES= perl5 shebangfix tar:xz USE_RC_SUBR= policyd2 SHEBANG_FILES= cbpadmin \ cbpolicyd \ database/convert-tsql \ database/whitelists/parse* bash_CMD= /bin/sh WWWDIR= ${PREFIX}/www/policyd NO_BUILD= yes PORTDOCS= AUTHORS ChangeLog INSTALL TODO WISHLIST OPTIONS_DEFINE= DOCS MYSQL PGSQL SQLITE WEBUI OPTIONS_DEFAULT= MYSQL WEBUI MYSQL_DESC= Add a dependency on DBD::mysql PGSQL_DESC= Add a dependency on DBD::Pg SQLITE_DESC= Add a dependency on DBD:SQLite WEBUI_DESC= Add a dependency on the corresponding PHP pdo driver -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite .include .if ${PORT_OPTIONS:MWEBUI} . if ${PORT_OPTIONS:MMYSQL} USES+= php USE_PHP= pdo_mysql . endif . if ${PORT_OPTIONS:MSQLITE} USES+= php USE_PHP= pdo_sqlite . endif . if ${PORT_OPTIONS:MPGSQL} USES+= php USE_PHP= pdo_pgsql . endif .endif post-patch: @${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/cbpadmin \ ${WRKSRC}/cbpolicyd @${REINPLACE_CMD} 's|sed|gsed|' ${WRKSRC}/database/convert-tsql \ ${WRKSRC}/database/whitelists/parse-checkhelo-whitelist \ ${WRKSRC}/database/whitelists/parse-greylisting-whitelist do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} \ ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/cbp \ ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${DOCSDIR} ${INSTALL_SCRIPT} ${WRKSRC}/cbpadmin ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/cbpolicyd ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/cluebringer.conf \ ${STAGEDIR}${PREFIX}/etc/cluebringer.conf.sample (cd ${WRKSRC}/webui && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${MV} ${STAGEDIR}${WWWDIR}/includes/config.php \ ${STAGEDIR}${WWWDIR}/includes/config.php.sample (cd ${WRKSRC}/cbp && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/cbp) (cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} database ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/mail/ratelimit-policyd/Makefile b/mail/ratelimit-policyd/Makefile index dfd58c973b4e..7e5efab5217d 100644 --- a/mail/ratelimit-policyd/Makefile +++ b/mail/ratelimit-policyd/Makefile @@ -1,61 +1,62 @@ PORTNAME= ratelimit-policyd PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= mail MAINTAINER= 000.fbsd@quip.cz COMMENT= Sender rate limit policy daemon for Postfix WWW= https://github.com/MirLach/ratelimit-policyd LICENSE= NONE -USES+= perl5 shebangfix +USES+= mysql perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= MirLach #GH_TAGNAME= 65154a2 -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${DBD_MYSQL} SHEBANG_FILES= ratelimit-policyd.pl NO_BUILD= yes SUB_FILES= pkg-message PERIODIC_DAILY= etc/periodic/daily PLIST_FILES= bin/ratelimit-policyd.pl \ etc/rc.d/ratelimit-policyd \ etc/ratelimit-policyd.cfg.sample \ ${PERIODIC_DAILY}/535.ratelimit-policyd PORTDATA= mysql-schema.sql PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/rc.d/ratelimit-policyd ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/ratelimit-policyd.pl ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ ${WRKSRC}/periodic/daily/535.ratelimit-policyd do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ratelimit-policyd.pl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/ratelimit-policyd ${STAGEDIR}${PREFIX}/etc/rc.d ${INSTALL_DATA} ${WRKSRC}/ratelimit-policyd.cfg \ ${STAGEDIR}${PREFIX}/etc/ratelimit-policyd.cfg.sample @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mysql-schema.sql ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DAILY} ${INSTALL_SCRIPT} ${WRKSRC}/periodic/daily/535.ratelimit-policyd \ ${STAGEDIR}${PREFIX}/${PERIODIC_DAILY} .include diff --git a/mail/spamassassin-devel/Makefile b/mail/spamassassin-devel/Makefile index ce9e36451e06..b144aa58ff2d 100644 --- a/mail/spamassassin-devel/Makefile +++ b/mail/spamassassin-devel/Makefile @@ -1,217 +1,218 @@ PORTNAME= spamassassin PORTVERSION= ${SA_COMMIT_DATE} CATEGORIES?= mail perl5 PKGNAMESUFFIX= -devel MAINTAINER?= cy@FreeBSD.org COMMENT?= Highly efficient mail filter for identifying spam WWW= https://spamassassin.apache.org/ USE_GITHUB= yes GH_ACCOUNT= apache GH_TAGNAME= 6e2be8ffc SA_COMMIT_DATE= 2024.04.02 LICENSE= APACHE20 BUILD_DEPENDS= p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-HTML-Parser>=3.46:www/p5-HTML-Parser \ p5-HTTP-Date>=0:www/p5-HTTP-Date \ p5-Net-DNS>=0.63:dns/p5-Net-DNS \ p5-NetAddr-IP>=4.010:net-mgmt/p5-NetAddr-IP RUN_DEPENDS:= ${BUILD_DEPENDS} \ p5-Net-CIDR-Lite>=0:net/p5-Net-CIDR-Lite \ p5-Net-IDN-Encode>=0:textproc/p5-Net-IDN-Encode \ p5-Net-LibIDN>=0:dns/p5-Net-LibIDN \ p5-URI>=0:net/p5-URI \ p5-Class-XSAccessor>=0:devel/p5-Class-XSAccessor \ p5-XString>=0:textproc/p5-XString \ p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 \ re2c>=.12.0:devel/re2c .for dep in DCC DKIM DMARC MYSQL PGSQL PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY SSL TEST_DEPENDS+= ${${dep}_RUN_DEPENDS} .endfor CONFLICTS?= ja-spamassassin spamassassin CPE_VENDOR= apache USES= cpe perl5 USE_PERL5= configure USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/spamassassin DBDIR?= /var/db DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} ETCDIR?= ${PREFIX}/etc/mail/spamassassin SPAMASSASSIN_CONTACT_ADDRESS?= The administrator of that system USERS?= spamd GROUPS?= spamd CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \ CONTACT_ADDRESS="${SPAMASSASSIN_CONTACT_ADDRESS}" \ LOCALSTATEDIR="${DBDIR}/spamassassin" \ BUILD_SPAMC=yes OPTIONS_DEFINE= AS_ROOT DOCS SSL OPTIONS_GROUP= DATABASE GPG PLUGINS OPTIONS_GROUP_DATABASE= MYSQL PGSQL OPTIONS_GROUP_PLUGINS= DCC DKIM DMARC PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY OPTIONS_SINGLE= GPG OPTIONS_SINGLE_GPG= GNUPG_NONE GNUPG GNUPG2 OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG SSL SPF_QUERY AS_ROOT_DESC= Run spamd as root (recommended) DATABASE_DESC= Optional user-config/bayes database backends GPG_DESC= GnuPG (for sa-update) GNUPG_NONE_DESC= Do not use GnuPG GNUPG_DESC= GnuPG 1 (security/gnupg1) GNUPG2_DESC= GnuPG 2 (security/gnupg) PLUGINS_DESC= Optional SpamAssassin plugins DCC_DESC= DCC digest list support (mail/dcc-dccd) DKIM_DESC= Verify DKIM records (mail/p5-Mail-DKIM) DMARC_DESC= Verify DMARC records (mail/p5-Mail-DMARC) PYZOR_DESC= Pyzor digest list support (mail/pyzor) RAZOR_DESC= Vipul's Razor digest list support (mail/razor-agents) RELAY_COUNTRY_DESC= Location-based scoring (net/p5-GeoIP2) RLIMIT_DESC= Resource limits (devel/p5-BSD-Resource) SPF_QUERY_DESC= Verify SPF records (mail/p5-Mail-SPF) SUB_FILES= pkg-message SUB_LIST+= SPAMD_OWN="${USERS}:${GROUPS}" PLIST_SUB+= USER=${USERS} GROUP=${GROUPS} OPTIONS_SUB= yes AS_ROOT_SUB_LIST= RUN_AS_USER="-u ${USERS} -H /var/spool/spamd" AS_ROOT_SUB_LIST_OFF= RUN_AS_USER= DCC_RUN_DEPENDS= dcc-dccd>=1.3.111:mail/dcc-dccd DKIM_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-Mail-DKIM>=0.37:mail/p5-Mail-DKIM \ p5-Crypt-OpenSSL-RSA>=0.26_1:security/p5-Crypt-OpenSSL-RSA DMARC_RUN_DEPENDS= p5-Mail-DMARC>=0:mail/p5-Mail-DMARC \ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \ p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ p5-Config-Tiny>=0:devel/p5-Config-Tiny \ p5-File-ShareDir-Install>=0:devel/p5-File-ShareDir-Install \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Socket6>=0:net/p5-Socket6 \ p5-Email-MIME>=0:mail/p5-Email-MIME \ p5-HTTP-Message>=0:www/p5-HTTP-Message \ p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-JSON>=0:converters/p5-JSON \ p5-Net-SMTPS>=0:mail/p5-Net-SMTPS \ p5-Net-SSLeay>=0:security/p5-Net-SSLeay \ p5-XML-LibXML>=0:textproc/p5-XML-LibXML \ p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \ p5-DBIx-Simple>=0:databases/p5-DBIx-Simple \ p5-Test-File-ShareDir>=0:devel/p5-Test-File-ShareDir \ p5-CGI>=0:www/p5-CGI \ p5-Email-Simple>=0:mail/p5-Email-Simple \ p5-Mail-DKIM>=0:mail/p5-Mail-DKIM \ p5-Net-IMAP-Simple>=0:mail/p5-Net-IMAP-Simple \ p5-Net-Server>=0:net/p5-Net-Server \ p5-Net-HTTP>=0:net/p5-Net-HTTP \ p5-Test-Output>=0:devel/p5-Test-Output \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-IDN-Encode>=0:textproc/p5-Net-IDN-Encode \ p5-libwww>=0:www/p5-libwww \ p5-URI>=0:net/p5-URI GNUPG_RUN_DEPENDS= gnupg1>=1.4.7:security/gnupg1 GNUPG2_RUN_DEPENDS= gpg2:security/gnupg -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg PYZOR_RUN_DEPENDS= pyzor:mail/pyzor RAZOR_RUN_DEPENDS= razor-agents>=2.84:mail/razor-agents \ p5-Digest-SHA1>=2.13:security/p5-Digest-SHA1 RLIMIT_RUN_DEPENDS= p5-BSD-Resource>=1.2911:devel/p5-BSD-Resource RELAY_COUNTRY_RUN_DEPENDS= p5-GeoIP2>=0:net/p5-GeoIP2 \ p5-IP-Country>=0:net/p5-IP-Country SPF_QUERY_RUN_DEPENDS= p5-Mail-SPF>=0:mail/p5-Mail-SPF SSL_USES= ssl SSL_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL SSL_CONFIGURE_ON= ENABLE_SSL=yes SSL_CONFIGURE_OFF= ENABLE_SSL=no # plugin names in rules/*.pre, for enabling/disabling DCC_INITVAR= DCC DKIM_INITVAR= DKIM DMARC_INITVAR= DMARC PYZOR_INITVAR= Pyzor RAZOR_INITVAR= Razor2 RELAY_COUNTRY_INITVAR= RelayCountry RLIMIT_INITVAR= ResourceLimit SPF_QUERY_INITVAR= SPF DOCS= CREDITS Changes INSTALL NOTICE PACKAGING README TRADEMARK UPGRADE USAGE procmailrc.example DOCSSQL= README README.awl README.bayes awl_mysql.sql awl_pg.sql bayes_mysql.sql bayes_pg.sql userpref_mysql.sql userpref_pg.sql DOCSLDAP= README README.testing sa_test.ldif PORTDOCS= ${DOCS} sql ldap USE_RC_SUBR= sa-spamd ALL_TARGET= all spamc/libspamc.so .include .if ${PORT_OPTIONS:MSSL} CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} ALL_TARGET+= spamc/libsslspamc.so .endif .if ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MPGSQL} SUB_LIST+= SQL_FLAG="-Q" .else SUB_LIST+= SQL_FLAG="" .endif post-patch:: ${REINPLACE_CMD} -e 's,B_CONFDIR)/local.cf,B_CONFDIR)/local.cf.sample,g' \ -e 's,B_CONFDIR)/init.pre,B_CONFDIR)/init.pre.sample,g' \ -e 's,B_CONFDIR)/v310.pre,B_CONFDIR)/v310.pre.sample,g' \ -e 's,B_CONFDIR)/v312.pre,B_CONFDIR)/v312.pre.sample,g' \ -e 's,B_CONFDIR)/v320.pre,B_CONFDIR)/v320.pre.sample,g' \ -e 's,B_CONFDIR)/v330.pre,B_CONFDIR)/v330.pre.sample,g' \ -e 's,B_CONFDIR)/v340.pre,B_CONFDIR)/v340.pre.sample,g' \ -e 's,B_CONFDIR)/v341.pre,B_CONFDIR)/v341.pre.sample,g' \ -e 's,B_CONFDIR)/v342.pre,B_CONFDIR)/v342.pre.sample,g' \ -e 's,B_CONFDIR)/v343.pre,B_CONFDIR)/v343.pre.sample,g' \ -e 's,B_CONFDIR)/v400.pre,B_CONFDIR)/v400.pre.sample,g' \ -e 's,B_CONFDIR)/v401.pre,B_CONFDIR)/v401.pre.sample,g' \ -e 's/require DBI/0/' \ ${WRKSRC}/Makefile.PL ${REINPLACE_CMD} -e '/^CC =/d; \ s|@SSLCFLAGS@|& $${CFLAGS}|g' ${WRKSRC}/spamc/Makefile.in .for var in ${OPTIONS_GROUP_PLUGINS} . if ${PORT_OPTIONS:M${var}} ${REINPLACE_CMD} -e '/${${var}_INITVAR}/s/^\#.*loadplugin/loadplugin/' ${WRKSRC}/rules/*.pre . else ${REINPLACE_CMD} -e '/${${var}_INITVAR}/s/^loadplugin/\# loadplugin/' ${WRKSRC}/rules/*.pre . endif .endfor pre-su-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_LIB} ${WRKSRC}/spamc/libspamc.so ${STAGEDIR}${PREFIX}/lib/libspamc.so.0 ${LN} -sf libspamc.so.0 ${STAGEDIR}${PREFIX}/lib/libspamc.so .if ${PORT_OPTIONS:MSSL} ${INSTALL_LIB} ${WRKSRC}/spamc/libsslspamc.so ${STAGEDIR}${PREFIX}/lib/libsslspamc.so.0 ${LN} -sf libsslspamc.so.0 ${STAGEDIR}${PREFIX}/lib/libsslspamc.so .endif ${INSTALL_DATA} ${WRKSRC}/spamc/libspamc.h ${STAGEDIR}${PREFIX}/include post-install:: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spamc @${MKDIR} ${STAGEDIR}/var/lib/spamassassin ${STAGEDIR}${DBDIR}/spamassassin ${STAGEDIR}/var/run/spamd @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "sql ldap" ${STAGEDIR}${DOCSDIR}) .include diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile index 06993c0e624f..63058355b9a2 100644 --- a/mail/spamassassin/Makefile +++ b/mail/spamassassin/Makefile @@ -1,213 +1,215 @@ PORTNAME= spamassassin PORTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES?= mail perl5 MASTER_SITES= https://archive.apache.org/dist/${PORTNAME}/source/ CPAN/Mail DISTNAME= Mail-SpamAssassin-${PORTVERSION} MAINTAINER?= cy@FreeBSD.org COMMENT?= Highly efficient mail filter for identifying spam WWW= https://spamassassin.apache.org/ LICENSE= APACHE20 BUILD_DEPENDS= p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-HTML-Parser>=3.46:www/p5-HTML-Parser \ p5-HTTP-Date>=0:www/p5-HTTP-Date \ p5-Net-DNS>=0.63:dns/p5-Net-DNS \ p5-NetAddr-IP>=4.010:net-mgmt/p5-NetAddr-IP RUN_DEPENDS:= ${BUILD_DEPENDS} \ p5-Net-CIDR-Lite>=0:net/p5-Net-CIDR-Lite \ p5-Net-IDN-Encode>=0:textproc/p5-Net-IDN-Encode \ p5-Net-LibIDN>=0:dns/p5-Net-LibIDN \ p5-URI>=0:net/p5-URI \ p5-Class-XSAccessor>=0:devel/p5-Class-XSAccessor \ p5-XString>=0:textproc/p5-XString \ p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 \ re2c>=.12.0:devel/re2c .for dep in DCC DKIM DMARC MYSQL PGSQL PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY SSL TEST_DEPENDS+= ${${dep}_RUN_DEPENDS} .endfor CONFLICTS?= ja-spamassassin CPE_VENDOR= apache USES= cpe perl5 USE_PERL5= configure USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/spamassassin DBDIR?= /var/db DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} ETCDIR?= ${PREFIX}/etc/mail/spamassassin SPAMASSASSIN_CONTACT_ADDRESS?= The administrator of that system USERS?= spamd GROUPS?= spamd CONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \ CONTACT_ADDRESS="${SPAMASSASSIN_CONTACT_ADDRESS}" \ LOCALSTATEDIR="${DBDIR}/spamassassin" \ BUILD_SPAMC=yes OPTIONS_DEFINE= AS_ROOT DOCS SSL OPTIONS_GROUP= DATABASE GPG PLUGINS OPTIONS_GROUP_DATABASE= MYSQL PGSQL OPTIONS_GROUP_PLUGINS= DCC DKIM DMARC PYZOR RAZOR RELAY_COUNTRY RLIMIT SPF_QUERY OPTIONS_SINGLE= GPG OPTIONS_SINGLE_GPG= GNUPG_NONE GNUPG GNUPG2 OPTIONS_DEFAULT= AS_ROOT DKIM GNUPG SSL SPF_QUERY AS_ROOT_DESC= Run spamd as root (recommended) DATABASE_DESC= Optional user-config/bayes database backends GPG_DESC= GnuPG (for sa-update) GNUPG_NONE_DESC= Do not use GnuPG GNUPG_DESC= GnuPG 1 (security/gnupg1) GNUPG2_DESC= GnuPG 2 (security/gnupg) PLUGINS_DESC= Optional SpamAssassin plugins DCC_DESC= DCC digest list support (mail/dcc-dccd) DKIM_DESC= Verify DKIM records (mail/p5-Mail-DKIM) DMARC_DESC= Verify DMARC records (mail/p5-Mail-DMARC) PYZOR_DESC= Pyzor digest list support (mail/pyzor) RAZOR_DESC= Vipul's Razor digest list support (mail/razor-agents) RELAY_COUNTRY_DESC= Location-based scoring (net/p5-GeoIP2) RLIMIT_DESC= Resource limits (devel/p5-BSD-Resource) SPF_QUERY_DESC= Verify SPF records (mail/p5-Mail-SPF) SUB_FILES= pkg-message SUB_LIST+= SPAMD_OWN="${USERS}:${GROUPS}" PLIST_SUB+= USER=${USERS} GROUP=${GROUPS} OPTIONS_SUB= yes AS_ROOT_SUB_LIST= RUN_AS_USER="-u ${USERS} -H /var/spool/spamd" AS_ROOT_SUB_LIST_OFF= RUN_AS_USER= DCC_RUN_DEPENDS= dcc-dccd>=1.3.111:mail/dcc-dccd DKIM_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-Mail-DKIM>=0.37:mail/p5-Mail-DKIM \ p5-Crypt-OpenSSL-RSA>=0.26_1:security/p5-Crypt-OpenSSL-RSA DMARC_RUN_DEPENDS= p5-Mail-DMARC>=0:mail/p5-Mail-DMARC \ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \ p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ p5-Config-Tiny>=0:devel/p5-Config-Tiny \ p5-File-ShareDir-Install>=0:devel/p5-File-ShareDir-Install \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Socket6>=0:net/p5-Socket6 \ p5-Email-MIME>=0:mail/p5-Email-MIME \ p5-HTTP-Message>=0:www/p5-HTTP-Message \ p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny \ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-JSON>=0:converters/p5-JSON \ p5-Net-SMTPS>=0:mail/p5-Net-SMTPS \ p5-Net-SSLeay>=0:security/p5-Net-SSLeay \ p5-XML-LibXML>=0:textproc/p5-XML-LibXML \ p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \ p5-DBIx-Simple>=0:databases/p5-DBIx-Simple \ p5-Test-File-ShareDir>=0:devel/p5-Test-File-ShareDir \ p5-CGI>=0:www/p5-CGI \ p5-Email-Simple>=0:mail/p5-Email-Simple \ p5-Mail-DKIM>=0:mail/p5-Mail-DKIM \ p5-Net-IMAP-Simple>=0:mail/p5-Net-IMAP-Simple \ p5-Net-Server>=0:net/p5-Net-Server \ p5-Net-HTTP>=0:net/p5-Net-HTTP \ p5-Test-Output>=0:devel/p5-Test-Output \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-IDN-Encode>=0:textproc/p5-Net-IDN-Encode \ p5-libwww>=0:www/p5-libwww \ p5-URI>=0:net/p5-URI GNUPG_RUN_DEPENDS= gnupg1>=1.4.7:security/gnupg1 GNUPG2_RUN_DEPENDS= gpg2:security/gnupg -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg PYZOR_RUN_DEPENDS= pyzor:mail/pyzor RAZOR_RUN_DEPENDS= razor-agents>=2.84:mail/razor-agents \ p5-Digest-SHA1>=2.13:security/p5-Digest-SHA1 RLIMIT_RUN_DEPENDS= p5-BSD-Resource>=1.2911:devel/p5-BSD-Resource RELAY_COUNTRY_RUN_DEPENDS= p5-GeoIP2>=0:net/p5-GeoIP2 \ p5-IP-Country>=0:net/p5-IP-Country SPF_QUERY_RUN_DEPENDS= p5-Mail-SPF>=0:mail/p5-Mail-SPF SSL_USES= ssl SSL_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL SSL_CONFIGURE_ON= ENABLE_SSL=yes SSL_CONFIGURE_OFF= ENABLE_SSL=no # plugin names in rules/*.pre, for enabling/disabling DCC_INITVAR= DCC DKIM_INITVAR= DKIM DMARC_INITVAR= DMARC PYZOR_INITVAR= Pyzor RAZOR_INITVAR= Razor2 RELAY_COUNTRY_INITVAR= RelayCountry RLIMIT_INITVAR= ResourceLimit SPF_QUERY_INITVAR= SPF DOCS= CREDITS Changes INSTALL NOTICE PACKAGING README TRADEMARK UPGRADE USAGE procmailrc.example DOCSSQL= README README.awl README.bayes awl_mysql.sql awl_pg.sql bayes_mysql.sql bayes_pg.sql userpref_mysql.sql userpref_pg.sql DOCSLDAP= README README.testing sa_test.ldif PORTDOCS= ${DOCS} sql ldap USE_RC_SUBR= sa-spamd ALL_TARGET= all spamc/libspamc.so .include .if ${PORT_OPTIONS:MSSL} CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} ALL_TARGET+= spamc/libsslspamc.so .endif .if ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MPGSQL} SUB_LIST+= SQL_FLAG="-Q" .else SUB_LIST+= SQL_FLAG="" .endif post-patch:: ${REINPLACE_CMD} -e 's,B_CONFDIR)/local.cf,B_CONFDIR)/local.cf.sample,g' \ -e 's,B_CONFDIR)/init.pre,B_CONFDIR)/init.pre.sample,g' \ -e 's,B_CONFDIR)/v310.pre,B_CONFDIR)/v310.pre.sample,g' \ -e 's,B_CONFDIR)/v312.pre,B_CONFDIR)/v312.pre.sample,g' \ -e 's,B_CONFDIR)/v320.pre,B_CONFDIR)/v320.pre.sample,g' \ -e 's,B_CONFDIR)/v330.pre,B_CONFDIR)/v330.pre.sample,g' \ -e 's,B_CONFDIR)/v340.pre,B_CONFDIR)/v340.pre.sample,g' \ -e 's,B_CONFDIR)/v341.pre,B_CONFDIR)/v341.pre.sample,g' \ -e 's,B_CONFDIR)/v342.pre,B_CONFDIR)/v342.pre.sample,g' \ -e 's,B_CONFDIR)/v343.pre,B_CONFDIR)/v343.pre.sample,g' \ -e 's,B_CONFDIR)/v400.pre,B_CONFDIR)/v400.pre.sample,g' \ -e 's,B_CONFDIR)/v401.pre,B_CONFDIR)/v401.pre.sample,g' \ -e 's/require DBI/0/' \ ${WRKSRC}/Makefile.PL ${REINPLACE_CMD} -e '/^CC =/d; \ s|@SSLCFLAGS@|& $${CFLAGS}|g' ${WRKSRC}/spamc/Makefile.in .for var in ${OPTIONS_GROUP_PLUGINS} . if ${PORT_OPTIONS:M${var}} ${REINPLACE_CMD} -e '/${${var}_INITVAR}/s/^\#.*loadplugin/loadplugin/' ${WRKSRC}/rules/*.pre . else ${REINPLACE_CMD} -e '/${${var}_INITVAR}/s/^loadplugin/\# loadplugin/' ${WRKSRC}/rules/*.pre . endif .endfor pre-su-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_LIB} ${WRKSRC}/spamc/libspamc.so ${STAGEDIR}${PREFIX}/lib/libspamc.so.0 ${LN} -sf libspamc.so.0 ${STAGEDIR}${PREFIX}/lib/libspamc.so .if ${PORT_OPTIONS:MSSL} ${INSTALL_LIB} ${WRKSRC}/spamc/libsslspamc.so ${STAGEDIR}${PREFIX}/lib/libsslspamc.so.0 ${LN} -sf libsslspamc.so.0 ${STAGEDIR}${PREFIX}/lib/libsslspamc.so .endif ${INSTALL_DATA} ${WRKSRC}/spamc/libspamc.h ${STAGEDIR}${PREFIX}/include post-install:: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spamc @${MKDIR} ${STAGEDIR}/var/lib/spamassassin ${STAGEDIR}${DBDIR}/spamassassin ${STAGEDIR}/var/run/spamd @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "sql ldap" ${STAGEDIR}${DOCSDIR}) .include diff --git a/mail/sqlgrey/Makefile b/mail/sqlgrey/Makefile index 0e08bd7d3f9c..29dd55de1b02 100644 --- a/mail/sqlgrey/Makefile +++ b/mail/sqlgrey/Makefile @@ -1,62 +1,63 @@ PORTNAME= sqlgrey PORTVERSION= 1.8.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29 MAINTAINER= ports@FreeBSD.org COMMENT= Greylisting policy server for Postfix using an SQL backend WWW= https://sqlgrey.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-Net-Server>=0:net/p5-Net-Server \ p5-IO-Multiplex>=0:devel/p5-IO-Multiplex \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ ${LOCALBASE}/bin/bash:shells/bash \ ${LOCALBASE}/bin/gmd5sum:sysutils/coreutils USES= perl5 shebangfix SHEBANG_FILES= ${WRKSRC}/sqlgrey-logstats.pl ${WRKSRC}/update_sqlgrey_config ${WRKSRC}/sqlgrey USE_PERL5= run USE_RC_SUBR= sqlgrey NO_BUILD= yes NO_ARCH= yes ETCFILES= clients_fqdn_whitelist clients_ip_whitelist dyn_fqdn.regexp smtp_server.regexp sqlgrey.conf USERS= sqlgrey GROUPS= ${USERS} SUB_LIST= PERL=${PERL} USERS=${USERS} GROUPS=${GROUPS} PLIST_SUB= TOUCH=${TOUCH} PORTDOCS= Changelog FAQ HOWTO README TODO OPTIONS_DEFINE= PGSQL MYSQL SQLITE STATS DOCS OPTIONS_DEFAULT=PGSQL STATS_DESC= Depend on Date::Calc for logstats.pl script PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite STATS_RUN_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc post-patch: @${REINPLACE_CMD} -e 's!/etc/sqlgrey!${ETCDIR}!g' ${WRKSRC}/sqlgrey do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sqlgrey-logstats.pl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/sqlgrey ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/update_sqlgrey_config ${STAGEDIR}${PREFIX}/sbin cd ${WRKSRC} && perldoc -u sqlgrey | pod2man sqlgrey > ${STAGEDIR}${PREFIX}/share/man/man1/sqlgrey.1 @${MKDIR} ${STAGEDIR}${ETCDIR} .for i in ${ETCFILES} ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index 55719a5614a3..02f2c7ff9196 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -1,138 +1,139 @@ PORTNAME= sympa DISTVERSION= 6.2.72 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MAINTAINER= dgeo@centrale-med.fr COMMENT= Electronic mailing list manager WWW= https://www.sympa.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} \ postfix:mail/postfix RUN_DEPENDS= mhonarc>=0:www/mhonarc \ p5-App-cpanminus>=0:devel/p5-App-cpanminus \ p5-Archive-Zip>=1.05:archivers/p5-Archive-Zip \ p5-CGI>=3.51:www/p5-CGI \ p5-Class-Singleton>=1.03:devel/p5-Class-Singleton \ p5-Crypt-CipherSaber>=0.50:security/p5-Crypt-CipherSaber \ p5-Crypt-Eksblowfish>=0.009:security/p5-Crypt-Eksblowfish \ p5-Crypt-OpenSSL-X509>=1.800.1:security/p5-Crypt-OpenSSL-X509 \ p5-Crypt-SMIME>=0.15:security/p5-Crypt-SMIME \ p5-Data-Password>=1.07:security/p5-Data-Password \ p5-DateTime-Format-Mail>=0.28:devel/p5-DateTime-Format-Mail \ p5-DateTime-TimeZone>=0.59:devel/p5-DateTime-TimeZone \ p5-DBD-CSV>=0.22:databases/p5-DBD-CSV \ p5-DBI>=1.48:databases/p5-DBI \ p5-Encode-Locale>=1.02:converters/p5-Encode-Locale \ p5-File-Copy-Recursive>=0.36:devel/p5-File-Copy-Recursive \ p5-File-NFSLock>=0:devel/p5-File-NFSLock \ p5-HTML-Format>=0:textproc/p5-HTML-Format \ p5-HTML-StripScripts-Parser>=1.03:www/p5-HTML-StripScripts-Parser \ p5-HTML-Tree>=0:www/p5-HTML-Tree \ p5-IO-Socket-SSL>=0.90:security/p5-IO-Socket-SSL \ p5-IO-Stringy>=0:devel/p5-IO-Stringy \ p5-Locale-libintl>=1.22:devel/p5-Locale-libintl \ p5-Mail-DKIM>=0.55:mail/p5-Mail-DKIM \ p5-Mail-Tools>=0:mail/p5-Mail-Tools \ p5-MIME-Charset>=1.011.3:mail/p5-MIME-Charset \ p5-MIME-EncWords>=1.014:mail/p5-MIME-EncWords \ p5-MIME-Lite-HTML>=1.23:mail/p5-MIME-Lite-HTML \ p5-MIME-Tools>=5.423:mail/p5-MIME-Tools \ p5-Net-CIDR>=0.16:net-mgmt/p5-Net-CIDR \ p5-Net-DNS>=0.65:dns/p5-Net-DNS \ p5-perl-ldap>=0.40:net/p5-perl-ldap \ p5-Scalar-List-Utils>=1.20:lang/p5-Scalar-List-Utils \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite \ p5-Template-Toolkit>=2.21:www/p5-Template-Toolkit \ p5-Term-ProgressBar>=2.09:devel/p5-Term-ProgressBar \ p5-Time-HiRes>=1.29:devel/p5-Time-HiRes \ p5-Unicode-LineBreak>=2019.001:textproc/p5-Unicode-LineBreak \ p5-URI>=1.35:net/p5-URI \ p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML # Shebang is corrected by configure script USES= autoreconf cpe fakeroot gettext gmake perl5 shebangfix USE_GITHUB= YES GH_ACCOUNT= sympa-community USE_RC_SUBR= sympa GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --bindir=${PREFIX}/bin \ --datadir=${DATADIR} \ --enable-fhs \ --libexecdir=${PREFIX}/libexec/${PORTNAME} \ --localedir=${PREFIX}/share/locale \ --localstatedir=/var/${PORTNAME} \ --sbindir=${PREFIX}/libexec/${PORTNAME} \ --sysconfdir=${ETCDIR} \ --with-cgidir=${PREFIX}/libexec/${PORTNAME} \ --with-confdir=${ETCDIR} \ --with-cssdir=${DATADIR}/static/css \ --with-defaultdir=${DATADIR}/defaults \ --with-docdir=${EXAMPLESDIR} \ --with-expldir=${DATADIR}/list_data \ --with-lockdir=/var/spool/lock \ --with-modulesdir=${PREFIX}/libexec/${PORTNAME} \ --with-picturesdir=${DATADIR}/static/pictures \ --with-piddir=/var/run/${PORTNAME} \ --with-scriptdir=${PREFIX}/libexec/${PORTNAME} \ --with-spooldir=/var/spool/${PORTNAME} \ --with-staticdir=${DATADIR}/static \ --without-initdir \ --without-smrshdir CONFIGURE_ENV+= ac_cv_path_POSTALIAS=${LOCALBASE}/sbin/postalias \ lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} MAKE_ENV?= PERL_EXTUTILS_AUTOINSTALL=--skip # Ignore alpha/beta versions PORTSCOUT= limit:^[0-9]+(\.[0-9]+)*$$ SUB_FILES= apache.sample fcgi.sample nginx.sample pkg-install pkg-message USERS= sympa GROUPS= sympa PORTEXAMPLES= * OPTIONS_DEFINE= APACHE DOCS EXAMPLES FASTCGI OPTIONS_DEFAULT= FASTCGI MYSQL OPTIONS_RADIO= DATABASE OPTIONS_RADIO_DATABASE= MYSQL PGSQL SQLITE OPTIONS_SUB= yes APACHE_IMPLIES= FASTCGI APACHE_RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi APACHE_USES= apache:run FASTCGI_RUN_DEPENDS= p5-CGI-Fast>=1.08:www/p5-CGI-Fast \ p5-FCGI>=0.67:www/p5-FCGI -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} MYSQL_SUB_LIST= REQ_MYSQL=mysql MYSQL_SUB_LIST_OFF= REQ_MYSQL="" +MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=2.00:databases/p5-DBD-Pg PGSQL_SUB_LIST= REQ_PGSQL=postgresql PGSQL_SUB_LIST_OFF= REQ_PGSQL="" SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.31:databases/p5-DBD-SQLite ICONSDIR?= www/icons post-patch: @${REINPLACE_CMD} -e 's|^\( *staticdir=\).*$$|\1${DATADIR}|' \ -e 's|^\( *arcdir=\).*$$|\1${DATADIR}/arc|' \ -e 's|^\( *bouncedir=\).*$$|\1${DATADIR}/bounce|' \ ${WRKSRC}/configure.ac post-install: for link in sympa sympa.pl sympa_wizard.pl upgrade_bulk_spool.pl upgrade_send_spool.pl; do \ (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f -s ../libexec/sympa/$$link) \ done ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/apache.sample ${WRKDIR}/nginx.sample \ ${WRKDIR}/fcgi.sample ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 5733489accc8..8af625e9eaeb 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -1,247 +1,249 @@ PORTNAME= mythtv DISTVERSIONPREFIX= v DISTVERSION= 34.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia MAINTAINER= ahicks@p-o.co.uk COMMENT= Homebrew PVR project WWW= https://www.mythtv.org/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment .endif LIB_DEPENDS= liblzo2.so:archivers/lzo2 \ libmp3lame.so:audio/lame \ libsamplerate.so:audio/libsamplerate \ libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libva.so:multimedia/libva \ libbluray.so:multimedia/libbluray \ libass.so:multimedia/libass \ libfftw3_threads.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfreetype.so:print/freetype2 \ libxml2.so:textproc/libxml2 \ libdav1d.so:multimedia/dav1d \ libaom.so:multimedia/aom \ libdrm.so:graphics/libdrm \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libSoundTouch.so:audio/soundtouch \ libasound.so:audio/alsa-lib \ libsndio.so:audio/sndio \ libgnutls.so:security/gnutls \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 BUILD_DEPENDS= yasm:devel/yasm \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= compiler:c++17-lang gmake gl iconv libtool pkgconfig pathfix \ perl5 python qmake:no_env qt:5 shebangfix ssl xorg USE_GITHUB= yes GH_ACCOUNT= MythTV USE_GL= gl USE_LDCONFIG= yes USE_QT= buildtools:build core dbus gui imageformats:run \ linguist:build multimedia network opengl qmake:build script \ sql sql-mysql:run widgets xml USE_PERL5= run build USE_XORG= x11 xv xrandr xxf86vm xinerama xext xcb SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/metadata/Music/mbutils.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \ --libxml2-path="${LOCALBASE}/include/libxml2" \ --disable-audio-alsa \ --disable-qtwebkit CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \ QTDIR="${PREFIX}" PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig" MAKE_ENV= QTDIR="${PREFIX}" \ QMAKESPEC="${QMAKESPEC}" NOPRECIOUSMAKEVARS= # don't override ARCH in ffmpeg makefiles DESTDIRNAME= INSTALL_ROOT CFLAGS_powerpc= -Wno-error=int-conversion CPPFLAGS+= ${QTCPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_aarch64=-Wl,-z,notext REINPLACE_ARGS= -i "" WRKSRC_SUBDIR= ${PORTNAME} DESKTOP_ENTRIES="MythTV Frontend" "MythTV is a homebrew PVR project" "" \ "mythfrontend" "AudioVideo;Video;" false CONFLICTS_INSTALL= mythtv-frontend RUN_DEPENDS+= tv_check:textproc/p5-xmltv \ wget:ftp/wget USE_RC_SUBR= mythbackend SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/internetcontent/*.py \ programs/scripts/internetcontent/*.pl \ programs/scripts/internetcontent/nv_python_libs/*.py \ programs/scripts/hardwareprofile/*.py \ programs/scripts/metadata/Movie/tmdb3.py \ programs/scripts/metadata/Music/mbutils.py CONFIGURE_ARGS+=--dvb-path="${WRKSRC}/media_tree/include/uapi" \ --enable-v4l2 USERS= mythtv GROUPS= mythtv SUB_FILES= pkg-message OPTIONS_DEFINE= BINDINGS HDHOMERUN JACK LIRC MYSQL PULSEAUDIO VDPAU OPTIONS_DEFAULT= BINDINGS HDHOMERUN VDPAU OPTIONS_SUB= yes BINDINGS_DESC= Perl and Python bindings BINDINGS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ - p5-DBD-mysql>0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.2.2:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ - p5-DBD-mysql>0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_CONFIGURE_ON= --python="${PYTHON_CMD}" --with-bindings=perl,python BINDINGS_CONFIGURE_OFF= --without-bindings=perl,python +BINDINGS_USES= mysql HDHOMERUN_DESC= Native support for HDHomeRun network tuners HDHOMERUN_LIB_DEPENDS= libhdhomerun.so:multimedia/libhdhomerun HDHOMERUN_CONFIGURE_OFF= --disable-hdhomerun JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-audio-jack LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc MYSQL_DESC= Install MySQL server in addition to client MYSQL_USES= mysql:client,server MYSQL_USES_OFF= mysql PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-audio-pulseoutput VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau LINUXDVB= ${WRKSRC}/media_tree/include/uapi/linux/dvb post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure \ ${WRKSRC}/libs/libmythtv/libmythtv.pro \ ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ ${WRKSRC}/programs/mythtranscode/external/replex/Makefile.standalone \ ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze # Header file from: # https://git.linuxtv.org/media_tree.git/tree/include/uapi/linux/dvb @${MKDIR} ${LINUXDVB} @${CP} ${FILESDIR}/audio.h ${LINUXDVB} @${CP} ${FILESDIR}/ca.h ${LINUXDVB} @${CP} ${FILESDIR}/dmx.h ${LINUXDVB} @${CP} ${FILESDIR}/frontend.h ${LINUXDVB} @${CP} ${FILESDIR}/net.h ${LINUXDVB} @${CP} ${FILESDIR}/osd.h ${LINUXDVB} @${CP} ${FILESDIR}/version.h ${LINUXDVB} @${CP} ${FILESDIR}/video.h ${LINUXDVB} # Linux to BSD from multimedia/libv4l/Makefile @${FIND} ${LINUXDVB} -type f -name "*.h" | \ ${XARGS} -n 1 ${REINPLACE_CMD} \ -e 's|#include |#include |'\ -e 's|__inline__|inline|g' \ -e 's|__u8|uint8_t|g' \ -e 's|__s8|int8_t|g' \ -e 's|__le16|uint16_t|g' \ -e 's|__be16|uint16_t|g' \ -e 's|__u16|uint16_t|g' \ -e 's|__s16|int16_t|g' \ -e 's|__le32|uint32_t|g' \ -e 's|__be32|uint32_t|g' \ -e 's|__u32|uint32_t|g' \ -e 's|__s32|int32_t|g' \ -e 's|__le64|uint64_t|g' \ -e 's|__be64|uint64_t|g' \ -e 's|__u64|uint64_t|g' \ -e 's|__s64|int64_t|g' \ -e 's|uint16_t_to_cpu|letoh16|g' \ -e 's|uint32_t_to_cpu|letoh32|g' \ -e 's|uint64_t_to_cpu|letoh64|g' \ -e 's|error_t|int|g' \ -e 's|"gettext.h"||g' \ -e 's|MSG_MORE|0|g' \ -e 's|EBADR|EFAULT|g' \ -e 's|ENONET|EHOSTDOWN|g' \ -e 's|_IOC_READ|IOC_OUT|g' \ -e 's|_IOC_WRITE|IOC_IN|g' \ -e 's|_IOC_NONE|IOC_VOID|g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e '/^.*\.*/d' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \ -e 's|__user||g' \ ${LINUXDVB}/frontend.h pre-install: @${REINPLACE_CMD} -e '/^CPPFLAGS=/ s#$$# -I${LOCALBASE}/include#' \ ${WRKSRC}/libs/libmythbase/mythconfig.mak post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database ${INSTALL_DATA} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database @${FIND} ${STAGEDIR}${PREFIX}/bin -type f -exec ${SH} -c "${FILE} -i '{}' | \ ${GREP} -q 'x-executable; charset=binary'" \; -print | ${XARGS} ${STRIP_CMD} @${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name lib\*.so.\* | ${XARGS} ${STRIP_CMD} # Apply additional substitutions to pkg-plist generated by the 'makeplist' target create-plist: stage @(cd ${.CURDIR} && ${MAKE} makeplist > pkg-plist && \ ${REINPLACE_CMD} -E \ -e '1d' -e '/etc\/rc.d\/mythbackend/d' -e '/[.]packlist$$/d' \ -e '/[.]bak$$/d' \ -e '/[.]gitignore$$/d' \ -e 's#^bin/mythpython#%%BINDINGS%%bin/mythpython#' \ -e 's#^bin/mythwikiscripts#%%BINDINGS%%bin/mythwikiscripts#' \ -e 's#^%%PYTHON_SITELIBDIR%%#%%BINDINGS%%%%PYTHON_SITELIBDIR%%#' \ -e 's#^%%DATADIR%%hardwareprofile#%%BINDINGS%%hardwareprofile#' \ -e 's#^%%DATADIR%%internetcontent#%%BINDINGS%%internetcontent#' \ -e 's#^%%SITE_PERL%%#%%BINDINGS%%%%SITE_PERL%%#' \ pkg-plist) .include diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile index 28e74abdf046..69a34e271d9a 100644 --- a/multimedia/zoneminder/Makefile +++ b/multimedia/zoneminder/Makefile @@ -1,120 +1,120 @@ PORTNAME= zoneminder DISTVERSION= 1.36.33 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MAINTAINER= bsd@abinet.ru COMMENT= Complete security camera solution, fully web based with image analysis WWW= https://www.zoneminder.com/ LICENSE= GPLv2 ZM_DEPENDS= p5-DBI>=0:databases/p5-DBI \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-Date-Manip>=0:devel/p5-Date-Manip \ p5-Test-LWP-UserAgent>=0:www/p5-Test-LWP-UserAgent \ p5-Sys-Mmap>=0:devel/p5-Sys-Mmap \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-Sys-CPU>=0:devel/p5-Sys-CPU \ p5-Sys-MemInfo>=0:devel/p5-Sys-MemInfo \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-SOAP-WSDL>=0:devel/p5-SOAP-WSDL \ p5-Data-UUID>=0:devel/p5-Data-UUID \ p5-IO-Socket-Multicast>=0:net/p5-IO-Socket-Multicast \ p5-Number-Bytes-Human>=0:devel/p5-Number-Bytes-Human \ p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \ ffmpeg:multimedia/ffmpeg BUILD_DEPENDS= ${ZM_DEPENDS} LIB_DEPENDS= libx264.so:multimedia/libx264 \ libmp4v2.so:multimedia/mp4v2 \ libgcrypt.so:security/libgcrypt RUN_DEPENDS= ${ZM_DEPENDS} \ sudo:security/sudo \ p5-Device-SerialPort>=0:comms/p5-Device-SerialPort \ p5-Crypt-Eksblowfish>=0:security/p5-Crypt-Eksblowfish \ p5-Data-Entropy>=0:security/p5-Data-Entropy \ zip:archivers/zip USES= cmake:insource,noninja cpe jpeg mysql perl5 php shebangfix ssl USE_GITHUB= yes GH_TUPLE= FriendsOfCake:crud:1429237:crud/web/api/app/Plugin/Crud \ ZoneMinder:CakePHP-Enum-Behavior:ea90c0c:crud_plugin/web/api/app/Plugin/CakePHP-Enum-Behavior \ ZoneMinder:RtspServer:eab3285:rtsp_server/dep/RtspServer USE_RC_SUBR= zoneminder USE_PHP= ctype gd intl opcache pdo_mysql session sockets sysvsem OPTIONS_DEFINE= NLS V4L OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message SHEBANG_FILES= scripts/zmaudit.pl.in \ scripts/zmcamtool.pl.in \ scripts/zmcontrol.pl.in \ scripts/zmdc.pl.in \ scripts/zmfilter.pl.in \ scripts/zmpkg.pl.in \ scripts/zmstats.pl.in \ scripts/zmtelemetry.pl.in \ scripts/zmtrack.pl.in \ scripts/zmtrigger.pl.in \ scripts/zmupdate.pl.in \ scripts/zmvideo.pl.in \ scripts/zmwatch.pl.in \ scripts/zmx10.pl.in \ scripts/zmonvif-probe.pl.in \ scripts/zmrecover.pl.in CMAKE_ARGS+= -DZM_PERL_MM_PARMS=INSTALLDIRS=site \ -DZM_CONFIG_DIR=${PREFIX}/etc \ -DZM_CONFIG_SUBDIR=${PREFIX}/etc/zoneminder \ -DZM_WEBDIR=${WWWDIR} \ -DZM_CGIDIR=${WWWDIR}/cgi-bin \ -DZM_CONTENTDIR=/var/db/zoneminder \ -DZM_MANPAGE_DEST_PREFIX=${PREFIX}/share/man \ -DHAVE_SENDFILE=0 \ -DZM_NO_CURL=ON \ -DZM_NO_LIBVLC=ON \ -DPCRE_LIBRARIES=0 \ -DZM_PATH_MAP=/tmp \ -DGNUTLS_LIBRARIES=0 \ -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" .include .if ${OPSYS} == FreeBSD EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt .endif RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR} PKGMESSAGE= ${WRKDIR}/pkg-message post-patch: # Avoid conflict with C++20 by adding .txt suffix @${MV} ${WRKSRC}/version ${WRKSRC}/version.txt @${REINPLACE_CMD} -i .c++20 's/"version/&.txt/' \ ${WRKSRC}/CMakeLists.txt pre-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/temp ${MKDIR} ${STAGEDIR}${WWWDIR}/api/app/tmp ${MKDIR} ${STAGEDIR}/var/cache/zoneminder ${MKDIR} ${STAGEDIR}/var/db/zoneminder ${MKDIR} ${STAGEDIR}/var/db/zoneminder/events ${MKDIR} ${STAGEDIR}/var/run/zm ${MKDIR} ${STAGEDIR}/var/tmp/zm ${MKDIR} ${STAGEDIR}/var/log/zm post-install: # zmsystemctl.pl is only for systend-based systems @cd ${STAGEDIR}${PREFIX} && \ ${RM} \ bin/zmsystemctl.pl \ share/man/man8/zmsystemctl.pl.8.gz .include diff --git a/net-mgmt/check_mysql_health/Makefile b/net-mgmt/check_mysql_health/Makefile index 07c912678ae1..6cbb22ccdcb3 100644 --- a/net-mgmt/check_mysql_health/Makefile +++ b/net-mgmt/check_mysql_health/Makefile @@ -1,35 +1,35 @@ PORTNAME= check_mysql_health DISTVERSION= 3.0.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/ MAINTAINER= kirill@varnakov.com COMMENT= Nagios plugin to check various parameters of a MySQL database WWW= https://labs.consol.de/de/nagios/check_mysql_health/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS= ${DBD_MYSQL} -USES= autoreconf perl5 gmake +USES= autoreconf mysql perl5 gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} \ --with-mymodules-dir=${PREFIX}/libexec/nagios \ --with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \ --libexecdir=${PREFIX}/libexec/nagios \ --with-perl=${PERL} NO_ARCH= yes NAGIOSUSER?= nagios NAGIOSGROUP?= nagios NAGIOSDIR?= /var/spool/nagios PLIST_FILES= libexec/nagios/check_mysql_health .include diff --git a/net-mgmt/mysql-snmp/Makefile b/net-mgmt/mysql-snmp/Makefile index e0d8c51969c9..c97b32321e58 100644 --- a/net-mgmt/mysql-snmp/Makefile +++ b/net-mgmt/mysql-snmp/Makefile @@ -1,54 +1,54 @@ PORTNAME= mysql-snmp DISTVERSIONPREFIX= v DISTVERSION= 1.2-17 DISTVERSIONSUFFIX= -g1d0b409 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt perl5 MAINTAINER= 0mp@FreeBSD.org COMMENT= Net-SNMP Perl agent for monitoring MySQL servers WWW= https://github.com/masterzen/mysql-snmp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= net-snmp>=0:net-mgmt/net-snmp \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-DBI>=0:databases/p5-DBI \ p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP \ p5-Net-SNMP>=5.4.3:net-mgmt/p5-Net-SNMP \ p5-Unix-Syslog>=0:sysutils/p5-Unix-Syslog -USES= perl5 shebangfix +USES= mysql perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= masterzen USE_PERL5= run test USE_RC_SUBR= mysql-snmp SHEBANG_FILES= mysql-snmp opennms/* tests/test.pl NO_ARCH= yes NO_BUILD= yes SUB_LIST= PERL=${PERL} OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mysql-snmp ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${PREFIX}/share/snmp/mibs ${INSTALL_DATA} ${WRKSRC}/MYSQL-SERVER-MIB.txt \ ${STAGEDIR}${PREFIX}/share/snmp/mibs ${INSTALL_MAN} ${WRKSRC}/mysql-snmp.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} opennms ${STAGEDIR}/${DATADIR}) @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/my.cnf ${STAGEDIR}${ETCDIR}/my.cnf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-test: @(cd ${WRKSRC} && \ ${SETENV} ${TEST_ENV} ${PERL5} -I ${STAGEDIR}${PREFIX}/sbin ./tests/test.pl) .include diff --git a/net-mgmt/nagios-check_mysql_slave/Makefile b/net-mgmt/nagios-check_mysql_slave/Makefile index d0103111d32e..74f559c7ee3c 100644 --- a/net-mgmt/nagios-check_mysql_slave/Makefile +++ b/net-mgmt/nagios-check_mysql_slave/Makefile @@ -1,41 +1,41 @@ PORTNAME= check_mysql_slave PORTVERSION= 0.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= http://buhacoff.net/2009/products/check_mysql_slave/archive/ \ ZI PKGNAMEPREFIX= nagios- MAINTAINER= zi@FreeBSD.org COMMENT= Nagios Plugin to monitor MySQL replication on a slave WWW= http://buhacoff.net/software/check_mysql_slave LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-DBI>=1.60.7:databases/p5-DBI \ - p5-DBD-mysql>0:databases/p5-DBD-mysql + ${DBD_MYSQL} PORTSCOUT= ignore:1 NO_BUILD= yes NO_ARCH= yes -USES= perl5 shebangfix +USES= mysql perl5 shebangfix SHEBANG_FILES= check_mysql_slave check_mysql_slave_epn USE_PERL5= run DOC_FILES= check_mysql_slave.html check_mysql_slave.pod OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave \ ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave_epn \ ${STAGEDIR}${PREFIX}/libexec/nagios @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-mgmt/netdot/Makefile b/net-mgmt/netdot/Makefile index e3bdac514e39..78e2f68ea0e2 100644 --- a/net-mgmt/netdot/Makefile +++ b/net-mgmt/netdot/Makefile @@ -1,89 +1,89 @@ PORTNAME= netdot PORTVERSION= 1.0.7 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MAINTAINER= nick@foobar.org COMMENT= Open source tool to organize and maintain network information WWW= https://github.com/cvicente/Netdot/ LICENSE= GPLv2 RUN_DEPENDS= p5-libapreq2>=0:www/p5-libapreq2 \ mp2bug:www/mod_perl2 \ p5-Apache-Session>=1.6:www/p5-Apache-Session \ p5-Apache-AuthCookie>=0:www/p5-Apache-AuthCookie \ p5-Apache2-SiteControl>=1.0:www/p5-Apache2-SiteControl \ p5-URI>=0:net/p5-URI \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-SQL-Translator>=0.07:databases/p5-SQL-Translator \ p5-Class-DBI>=3.0.17:databases/p5-Class-DBI \ p5-Class-DBI-AbstractSearch>=0:databases/p5-Class-DBI-AbstractSearch \ p5-SNMP-Info>=2.06:net-mgmt/p5-SNMP-Info \ p5-HTML-Mason>=1.31:www/p5-HTML-Mason \ p5-Log-Dispatch>=0:devel/p5-Log-Dispatch \ p5-Log-Log4perl>=0:devel/p5-Log-Log4perl \ p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \ p5-Net-IRR>=0:net/p5-Net-IRR \ p5-NetAddr-IP>=4.042:net-mgmt/p5-NetAddr-IP \ p5-Net-Patricia>=1.20:net/p5-Net-Patricia \ p5-Net-Appliance-Session>=3.113610:net/p5-Net-Appliance-Session \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-DNS-ZoneFile-Fast>=1.12:dns/p5-Net-DNS-ZoneFile-Fast \ p5-BIND-Config-Parser>=0:dns/p5-BIND-Config-Parser \ p5-Carp-Assert>=0:devel/p5-Carp-Assert \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-Socket6>=0:net/p5-Socket6 \ p5-GraphViz>=2.02:graphics/p5-GraphViz \ rrdtool:databases/rrdtool \ netdisco-mibs>=0:net-mgmt/netdisco-mibs USES= gmake mysql perl5 shebangfix USE_GITHUB= yes GH_ACCOUNT= cvicente GH_PROJECT= Netdot NO_BUILD= yes SUB_FILES= pkg-message pkg-install SUB_LIST= WWWDIR="${WWWDIR}" \ WWWOWN="${WWWOWN}" \ WWWGRP="${WWWGRP}" \ CHOWN="${CHOWN}" \ CHMOD="${CHMOD}" SHEBANG_FILES= bin/*.pl bin/initdb upgrade/upgrade-tasks SHEBANG_LANG= perl perl2 perl2_OLD_CMD= <> perl2_CMD= ${LOCALBASE}/bin/perl .include INSTALL_TARGET= install \ PREFIX=${WWWDIR} \ PERL=${PERL} \ STAGEDIR=${STAGEDIR}${WWWDIR} \ APACHEUSER=${WWWOWN} \ APACHEGROUP=${WWWGRP} post-patch: @${REINPLACE_CMD} "s#/usr/local/netdot#${WWWDIR}#g" ${WRKSRC}/netdot.cron ${WRKSRC}/Makefile ${WRKSRC}/import/import_ip_bulk.pl @${REINPLACE_CMD} "s#%%LOCALPREFIX%%#${PREFIX}#g" ${WRKSRC}/etc/Default.conf post-install: .for f in export/bind export/dhcpd export/ethers export/rancid export/smokeping export/sysmon htdocs/img/graphs lib/Netdot/Manual tmp/sessions/locks htdocs/masondata/cache @${TOUCH} ${STAGEDIR}${WWWDIR}/${f}/.keep-me .endfor .for f in initdb ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${WWWDIR}/bin/${f} .endfor ${MKDIR} ${STAGEDIR}${WWWDIR}/upgrade .for f in Makefile updatedb upgrade-tasks ${INSTALL_SCRIPT} ${WRKSRC}/upgrade/${f} ${STAGEDIR}${WWWDIR}/upgrade/${f} .endfor ${INSTALL_DATA} ${WRKSRC}/netdot.cron ${STAGEDIR}${WWWDIR}/etc/netdot.cron ${INSTALL_DATA} ${WRKSRC}/etc/default_data ${STAGEDIR}${WWWDIR}/etc/default_data .include diff --git a/net-mgmt/ocsinventory-server/Makefile b/net-mgmt/ocsinventory-server/Makefile index 6023742136ad..3a119c78caac 100644 --- a/net-mgmt/ocsinventory-server/Makefile +++ b/net-mgmt/ocsinventory-server/Makefile @@ -1,60 +1,61 @@ PORTNAME= ocsinventory-server PORTVERSION= 2.12.1 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= dgeo@centrale-med.fr COMMENT= Open Computer and Software Inventory Next Generation WWW= https://www.ocsinventory-ng.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-XML-Simple>=2.12:textproc/p5-XML-Simple \ p5-DBI>=1.40:databases/p5-DBI \ - p5-DBD-mysql>=2.9004:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-Apache-DBI>=0.93:www/p5-Apache-DBI \ p5-Net-IP>=1.21:net-mgmt/p5-Net-IP \ p5-SOAP-Lite>=0.66:net/p5-SOAP-Lite \ p5-XML-Entities>=0.02:textproc/p5-XML-Entities \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ p5-Apache2-SOAP>=0:net/p5-Apache2-SOAP \ p5-Mojolicious>=0:www/p5-Mojolicious \ p5-Switch>=0:lang/p5-Switch \ p5-Plack>=0:www/p5-Plack USES= apache:run mysql perl5 NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message USE_GITHUB= YES GH_TAGNAME= 7aff9af5d91a98fd6897afc2ea4b979464a88452 GH_ACCOUNT= OCSInventory-NG GH_PROJECT= OCSInventory-Server OPTIONS_DEFINE= DOCS OCSREPORTS OPTIONS_DEFAULT= OCSREPORTS OCSREPORTS_DESC= Install ocsreports admin console OCSREPORTS_RUN_DEPENDS= ocsinventory-ocsreports>=0:net-mgmt/ocsinventory-ocsreports ETCDIR= ${PREFIX}/etc/ocsinventory-server post-patch: ${REINPLACE_CMD} -e 's|REST_API_LOADER_PATH|${SHAREDIR}/Api/Ocsinventory/Restapi/Loader.pm|g' ${WRKSRC}/etc/ocsinventory/ocsinventory-restapi.conf ${REINPLACE_CMD} -e 's|REST_API_PATH|${SHAREDIR}|g;' ${WRKSRC}/etc/ocsinventory/ocsinventory-restapi.conf ${REINPLACE_CMD} -e 's|LOCALBASE|${LOCALBASE}|g;' ${WRKSRC}/etc/ocsinventory/ocsinventory-server.conf do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "Apache Api binutils dtd" ${STAGEDIR}${DATADIR}/) ${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${ETCDIR} .for F in restapi server ${INSTALL_DATA} ${WRKSRC}/etc/ocsinventory/ocsinventory-${F}.conf ${STAGEDIR}${ETCDIR}/ocsinventory-${F}.conf.sample .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}/ .include diff --git a/net-mgmt/pandorafms_server/Makefile b/net-mgmt/pandorafms_server/Makefile index 64bbd745a1e8..3fe6264ca00c 100644 --- a/net-mgmt/pandorafms_server/Makefile +++ b/net-mgmt/pandorafms_server/Makefile @@ -1,114 +1,114 @@ PORTNAME= pandora_server -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= koichiro@rworks.jp COMMENT= Pandora FMS server WWW= http://www.pandorafms.org/ LICENSE= ${PANDORA_LICENSE} LICENSE_FILE= ${PANDORA_LICENSE_FILE} PANDORA_DEPS= p5-DBI>=0:databases/p5-DBI \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 \ p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP \ net-snmp>=0:net-mgmt/net-snmp \ p5-Socket6>=0:net/p5-Socket6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-XML-Twig>=0:textproc/p5-XML-Twig \ p5-JSON>=0:converters/p5-JSON BUILD_DEPENDS= ${PANDORA_DEPS} RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ - p5-DBD-mysql>=4:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ wmic:net-mgmt/wmi-client \ nmap:security/nmap \ p5-Encode-Locale>=0:converters/p5-Encode-Locale \ ${PANDORA_DEPS} OPTIONS_DEFINE= DOCS TENTACLE XPROBE PGSQL EXTRAS OPTIONS_DEFAULT= TENTACLE XPROBE EXTRAS DOCS_DESC= Install AUTHORS, ChangeLog and README TENTACLE_DESC= Install tentacle_server XPROBE_DESC= Install xprobe PGSQL_DESC= Use PostgreSQL backend (experimental) EXTRAS_DESC= Extra dependencies for util scripts -USES= perl5 shebangfix +USES= mysql perl5 shebangfix SHEBANG_FILES= FreeBSD/pandora_server \ bin/pandora_server \ util/integrity_check \ util/pandora_backup.sh \ util/pandora_count.sh \ util/pandora_diagnostic.sh \ util/pandora_remote_agent.sh \ util/pandora_server \ util/pandora_watchdog.sh \ util/plugin/babel_plugin/babel_plugin.sh \ util/plugin/create_integria_incident.sh \ util/plugin/dns_plugin.sh \ util/plugin/integria_plugin/integria_plugin.sh \ util/plugin/mysql_plugin.sh \ util/plugin/packet_loss.sh \ util/plugin/ssh_pandoraplugin.sh \ util/plugin/udp_nmap_plugin.sh \ util/plugin/webcheck_plugin.sh \ util/snmptrap_gen.sh \ util/tentacle_serverd \ util/trap_rate.sh USE_PERL5= build run SUB_LIST+= PERL="${PERL}" DATADIR="${DATADIR}" SUB_FILES= pkg-message .include "${.CURDIR}/bsd.pandora.mk" PORTDOCS+= README PANDORA_INSTALLER_ARGS+= --destdir ${STAGEDIR} .include .if ! ${PORT_OPTIONS:MTENTACLE} PLIST_SUB+= TENTACLE="@comment " PANDORA_INSTALLER_ARGS+=--no-tentacle .else PLIST_SUB+= TENTACLE="" #USE_RC_SUBR+= tentacle_server .endif .if ${PORT_OPTIONS:MXPROBE} RUN_DEPENDS+= ${LOCALBASE}/bin/xprobe2:net/xprobe .endif .if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MEXTRAS} # plugin/bgp_pluin.pl RUN_DEPENDS+= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP # plugin/multicast.pl RUN_DEPENDS+= p5-IO-Socket-Multicast>=0:net/p5-IO-Socket-Multicast # plugin/openvpn_pandoraplugin.pl RUN_DEPENDS+= p5-Net-Telnet>=0:net/p5-Net-Telnet # plugin/integria_plugin/integria_plugin.sh, plugin/webcheck_plugin.sh, # plugin/babel_plugin/babel_plugin.sh, plugin/create_integria_incident.sh RUN_DEPENDS+= ${LOCALBASE}/bin/wget:ftp/wget # plugin/ipmi-plugin.pl, recon_scripts/ipmi-recon.pl RUN_DEPENDS+= ${LOCALBASE}/sbin/ipmi-sensors:sysutils/freeipmi .endif post-patch: @${REINPLACE_CMD} -i "" \ -e 's,/usr/bin/perl,${PERL},g' \ `${GREP} -rl /usr/bin/perl ${WRKSRC} | ${GREP} -v pandora_server_installer` post-install: @${FIND} ${STAGEDIR}${DATADIR} -type l -name PandoraFMS -delete .for x in pandora_server tentacle_server @cd ${STAGEDIR}${PREFIX}/etc/rc.d && test -f ${x} \ && ${REINPLACE_CMD} -i "" -e 's|/usr/local|${PREFIX}|g' ${x} .endfor @${MV} ${STAGEDIR}${ETCDIR}/pandora_server.conf ${STAGEDIR}${ETCDIR}/pandora_server.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile index d9147cf8982f..3394822c3861 100644 --- a/net-mgmt/rackmonkey/Makefile +++ b/net-mgmt/rackmonkey/Makefile @@ -1,83 +1,83 @@ PORTNAME= rackmonkey PORTVERSION= 1.2.5 DISTVERSIONSUFFIX= -1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt www MASTER_SITES= SF \ ftp://ftp.secure-computing.net/pub/FreeBSD/ports/${PORTNAME}/ \ ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/${PORTNAME}/ MAINTAINER= ecrist@secure-computing.net COMMENT= Web-based tool for managing racks of equipment WWW= http://flux.org.uk/projects/rackmonkey/ RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \ p5-CGI>=0:www/p5-CGI \ p5-HTML-Template>=0:www/p5-HTML-Template \ p5-Spreadsheet-WriteExcel>=0:textproc/p5-Spreadsheet-WriteExcel \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-HTML-Parser>=0:www/p5-HTML-Parser OPTIONS_DEFINE= SQLITE MYSQL PGSQL INIT_DB SAMPLE OPTIONS_DEFAULT= SQLITE INIT_DB SAMPLE INIT_DB_DESC= Initialize DB at installation (SQLite Only) SAMPLE_DESC= Install sample data (SQLite Only) NO_ARCH= yes NO_BUILD= YES USES= perl5 USE_PERL5= run SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MSQLITE} USES+= sqlite RUN_DEPENDS+= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${DBD_MYSQL} .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MINIT_DB} PLIST_SUB+= INIT_DB="" .else PLIST_SUB+= INIT_DB="@comment " .endif do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/ ${INSTALL_SCRIPT} ${WRKSRC}/perl/rackmonkey.pl ${WRKSRC}/perl/rack2xls.pl ${WRKSRC}/perl/rackdns.pl ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/www && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC} && ${COPYTREE_SHARE} tmpl ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/perl && ${COPYTREE_SHARE} RackMonkey ${STAGEDIR}${WWWDIR}/ ${MKDIR} ${WRKDIR}/build_conf ${CP} ${WRKSRC}/conf/rackmonkey.conf-default ${WRKDIR}/build_conf/rackmonkey.conf .if ${PORT_OPTIONS:MSQLITE} ${SED} -i '' -e 's%dbconnect =%dbconnect = dbi:SQLite:dbname=${WWWDIR}/rackmonkey.db%' ${WRKDIR}/build_conf/rackmonkey.conf .if ${PORT_OPTIONS:MINIT_DB} ${LOCALBASE}/bin/sqlite3 ${STAGEDIR}${WWWDIR}/rackmonkey.db.sample < ${WRKSRC}/sql/schema/schema.sqlite.sql ${LOCALBASE}/bin/sqlite3 ${STAGEDIR}${WWWDIR}/rackmonkey.db.sample < ${WRKSRC}/sql/data/default_data.sql .if ${PORT_OPTIONS:MSAMPLE} ${LOCALBASE}/bin/sqlite3 ${STAGEDIR}${WWWDIR}/rackmonkey.db.sample < ${WRKSRC}/sql/data/sample_data.sql .endif .endif .endif ${SED} -i '' \ -e 's/#plugin_xls/plugin_xls/' \ -e 's/#plugin_dns/plugin_dns/' \ -e 's%tmplpath =%tmplpath = ${WWWDIR}/tmpl%' \ -e 's%wwwpath =%wwwpath = /rackmonkey%' \ ${WRKDIR}/build_conf/rackmonkey.conf ${INSTALL_DATA} ${WRKDIR}/build_conf/rackmonkey.conf ${STAGEDIR}${WWWDIR}/rackmonkey.conf.sample cd ${WRKSRC} && ${COPYTREE_SHARE} sql ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${WWWDIR}/ .include diff --git a/net/p5-Net-Google-SafeBrowsing2/Makefile b/net/p5-Net-Google-SafeBrowsing2/Makefile index 726bcc27ca06..b53138988ef3 100644 --- a/net/p5-Net-Google-SafeBrowsing2/Makefile +++ b/net/p5-Net-Google-SafeBrowsing2/Makefile @@ -1,41 +1,42 @@ PORTNAME= Net-Google-SafeBrowsing2 PORTVERSION= 1.09 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= ale@biancalanas.net COMMENT= Perl extension for the Google Safe Browsing v2 API WWW= https://metacpan.org/release/Net-Google-SafeBrowsing2 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-libwww>=5:www/p5-libwww \ p5-URI>=1:net/p5-URI \ p5-Net-IPAddress>=1:net-mgmt/p5-Net-IPAddress \ p5-Text-Trim>=1:textproc/p5-Text-Trim \ p5-MIME-Base64-URLSafe>=0.01:converters/p5-MIME-Base64-URLSafe \ p5-Digest-HMAC>=1:security/p5-Digest-HMAC \ p5-String-HexConvert>=0.01:textproc/p5-String-HexConvert \ p5-File-Slurp>9:devel/p5-File-Slurp OPTIONS_DEFINE= MYSQL SQLITE POSTGRES MYSQL_DESC= uses MySQL as the storage backend SQLITE_DESC= uses SQLite as the storage backend POSTGRES_DESC= uses Postgres as the storage backend OPTIONS_DEFAULT=SQLITE NO_ARCH= yes USES= perl5 USE_PERL5= configure -MYSQL_BUILD_DEPENDS= p5-DBD-mysql>=4:databases/p5-DBD-mysql -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4:databases/p5-DBD-mysql +MYSQL_BUILD_DEPENDS= ${DBD_MYSQL} +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql POSTGRES_BUILD_DEPENDS= p5-DBD-Pg>=2:databases/p5-DBD-Pg POSTGRES_RUN_DEPENDS= p5-DBD-Pg>=2:databases/p5-DBD-Pg SQLITE_BUILD_DEPENDS= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1:databases/p5-DBD-SQLite .include diff --git a/net/prosearch/Makefile b/net/prosearch/Makefile index 6b2f3d2f2661..7cacbf95b109 100644 --- a/net/prosearch/Makefile +++ b/net/prosearch/Makefile @@ -1,118 +1,118 @@ PORTNAME= prosearch PORTVERSION= 0.19.4 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net www MASTER_SITES= http://pro.setun.net/search/download/ SF/pro-search/pro-search/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Powerful file search WWW= https://sourceforge.net/projects/pro-search/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= perl5 shebangfix tar:bzip2 USE_PERL5= run SHEBANG_FILES= crawler.pl web/index.cgi web/index.fcgi SUB_FILES= pkg-message SUB_LIST= SEARCHDIR=${SEARCHDIR} NO_BUILD= yes NO_ARCH= yes SEARCHDIR?= www/search PLIST_SUB+= SEARCHDIR=${SEARCHDIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" #TODO user and group for crawler OPTIONS_DEFINE= CRAWLER SAMBA RSYNC APACHE MOD_PERL2 MOD_FASTCGI \ DB MYSQL PGSQL PGPP SQLITE OPTIONS_DEFAULT= CRAWLER SAMBA APACHE DB MYSQL CRAWLER_DESC= With crawler (nmap, p5-libwww) SAMBA_DESC= crawler with SAMBA (file://) RSYNC_DESC= crawler with RSYNC MOD_PERL2_DESC= With MOD_PERL2 MOD_FASTCGI_DESC= With MOD_FASTCGI DB_DESC= With both database server and client PGPP_DESC= postgres pure Perl connection driver #NGINX_DESC= With web server (NGINX) .include RUN_DEPENDS+=\ p5-lib-abs>=0:devel/p5-lib-abs .if ${PORT_OPTIONS:MCRAWLER} RUN_DEPENDS+=\ p5-libwww>=0:www/p5-libwww \ p5-URI>=0:net/p5-URI \ p5-DBI>=0:databases/p5-DBI \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ nmap:security/nmap \ p5-Net-DirectConnect>=0:net-p2p/p5-Net-DirectConnect .endif .if ${PORT_OPTIONS:MSAMBA} USES+= samba:run # smbclient .endif .if ${PORT_OPTIONS:MRSYNC} RUN_DEPENDS+= rsync:net/rsync .endif .if ${PORT_OPTIONS:MAPACHE} USES+= apache:run .endif .if ${PORT_OPTIONS:MNGINX} RUN_DEPENDS+=\ nginx:www/nginx .endif .if ${PORT_OPTIONS:MMOD_PERL2} RUN_DEPENDS+=\ ${LOCALBASE}/${APACHEMODDIR}/mod_perl.so:www/mod_perl2 .endif .if ${PORT_OPTIONS:MMOD_FASTCGI} RUN_DEPENDS+=\ ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi \ p5-FCGI>=0:www/p5-FCGI .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql RUN_DEPENDS+=\ -p5-DBD-mysql>=0:databases/p5-DBD-mysql +${DBD_MYSQL} .endif .if ${PORT_OPTIONS:MDB} && ${PORT_OPTIONS:MMYSQL} USES+= mysql:server .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql RUN_DEPENDS+=\ p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MPGPP} RUN_DEPENDS+=\ p5-DBD-PgPP>=0:databases/p5-DBD-PgPP .endif .if ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MPGPP} || ${PORT_OPTIONS:MDB} USES+= pgsql WANT_PGSQL= client server .endif .if ${PORT_OPTIONS:MSQLITE} USES+= sqlite RUN_DEPENDS+=\ p5-DBD-SQLite>=0:databases/p5-DBD-SQLite .endif WRKSRC= ${WRKDIR}/search do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEARCHDIR} @${CHMOD} +x ${STAGEDIR}${PREFIX}/${SEARCHDIR}/crawler.pl ${STAGEDIR}${PREFIX}/${SEARCHDIR}/010.search.purge ${STAGEDIR}${PREFIX}/${SEARCHDIR}/*.sh.* ${STAGEDIR}${PREFIX}/${SEARCHDIR}/web/*.*cgi .include diff --git a/net/pwhois/Makefile b/net/pwhois/Makefile index ea84ca8eec80..7484b2c25e3c 100644 --- a/net/pwhois/Makefile +++ b/net/pwhois/Makefile @@ -1,57 +1,58 @@ PORTNAME= pwhois PORTVERSION= 2.2.1.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://pwhois.org/get/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Whois-compatible framework for disclosing routing data WWW= https://pwhois.org/ RUN_DEPENDS= p5-DBI>0:databases/p5-DBI \ p5-Time-Format>0:devel/p5-Time-Format \ p5-Log-Dispatch>0:devel/p5-Log-Dispatch \ p5-Net-DNS>0:dns/p5-Net-DNS \ p5-Net-Telnet>0:net/p5-Net-Telnet \ p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \ p5-RPSL-Parser>0:devel/p5-RPSL-Parser \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql + ${DBD_MYSQL} FETCH_ARGS= -p USERS= ${PORTNAME} GROUPS= ${PORTNAME} USES= mysql shebangfix tar:tgz SHEBANG_FILES= pwhois-updatedb USE_RC_SUBR= ${PORTNAME}d SUB_FILES= pkg-message 512.pwhois-updatedb SUB_LIST= TOUCH="${TOUCH}" RM="${RM}" CHOWN="${CHOWN}" \ USER="${USERS}" GROUP="${GROUPS}" INSTALL="${INSTALL}" post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|CC = gcc |CC = ${CC}|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|/etc/pwhois/|${ETCDIR}/|g' \ -e 's|/var/pwhois/|/var/db/pwhois/|g' \ -e 's|/var/log/|/var/log/pwhois/|g' \ -e 's|/var/db/log/|/var/log/pwhois/|g' \ ${WRKSRC}/main.c ${WRKSRC}/pwhois-updatedb \ ${WRKSRC}/pwhois_pwdump.c ${WRKSRC}/pwhoisd.conf do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/512.pwhois-updatedb \ ${STAGEDIR}${PREFIX}/etc/periodic/daily/ ${INSTALL_PROGRAM} ${WRKSRC}/pwhoisd ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${WRKSRC}/pwhois-pwdump ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/pwhois-updatedb ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_DATA} ${WRKSRC}/pwhoisd.conf \ ${STAGEDIR}${ETCDIR}/pwhoisd.conf.sample ${INSTALL_DATA} ${WRKSRC}/mysql/createdb.sql ${STAGEDIR}${DATADIR}/ @${MKDIR} ${STAGEDIR}/var/db/pwhois @${MKDIR} ${STAGEDIR}/var/log/pwhois .include diff --git a/net/radiator/Makefile b/net/radiator/Makefile index 50363e2ee206..c73d5cbb2b19 100644 --- a/net/radiator/Makefile +++ b/net/radiator/Makefile @@ -1,59 +1,61 @@ PORTNAME= Radiator PORTVERSION= 4.24 +PORTREVISION= 1 CATEGORIES= net DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MASTER_SITES= # fetch manually DIST_SUBDIR= ${PORTNAME} MAINTAINER= lyngbol@wheel.dk COMMENT= Radiator Radius Server by Open System Consultants WWW= https://www.open.com.au/ # Commercial software LICENSE= radiator LICENSE_NAME= Radiator LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell OPTIONS_DEFINE= MYSQL MYSQL_DESC= MySQL support +MYSQL_USES= mysql USES= perl5 tar:tgz USE_PERL5= configure USE_RC_SUBR= radiator .include .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}) IGNORE= will not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the UNIX version after\ purchasing the license at: http://www.open.com.au/ \ - once ${DISTFILES} has been downloaded, move it to\ ${DISTDIR}/${DIST_SUBDIR} and then restart this build. \ (optionally download patches-${PORTVERSION}.tar.gz to the \ same directory as well) .endif .if ${PORT_OPTIONS:MMYSQL} -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${DBD_MYSQL} .endif pre-configure: .if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz) ${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC} .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/radius.cfg post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/radiator ${RM} ${STAGEDIR}${PREFIX}/lib/perl5/site_perl/radhostname.pl ${INSTALL_DATA} ${WRKSRC}/radius.cfg ${STAGEDIR}${PREFIX}/etc/radiator/radius.cfg.sample ${INSTALL_DATA} ${WRKSRC}/dictionary ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.ascend ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.cisco-vpn ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.sip ${STAGEDIR}${PREFIX}/etc/radiator .include diff --git a/net/rtg/Makefile b/net/rtg/Makefile index 65a052321f9d..897dbd8217ba 100644 --- a/net/rtg/Makefile +++ b/net/rtg/Makefile @@ -1,51 +1,51 @@ PORTNAME= rtg PORTVERSION= 0.7.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftpmirror.uk/freebsd-ports/rtg/ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Flexible, high-performance SNMP statistics monitoring system WWW= https://rtg.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libgd.so:graphics/gd RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql + ${DBD_MYSQL} USES= mysql:client perl5 shebangfix ssl USE_RC_SUBR= rtgpoll SHEBANG_FILES= etc/95.pl etc/report.pl etc/rtgtargmkr.pl.in GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/${PORTNAME} \ --htmldir=${PREFIX}/www/data \ --with-mysql=${LOCALBASE} \ --with-gd=${LOCALBASE} \ --with-snmp=${LOCALBASE} CFLAGS+= -fstack-protector LDFLAGS+= -fstack-protector USERS= rtg GROUPS= rtg OPTIONS_DEFINE= WEB MYSQL MYSQL_DESC= Pull MySQL server in as a dependancy for local setups WEB_DESC= Include PHP-based web client interface pre-requisites MYSQL_USES= mysql:server WEB_USES= php WEB_USE= PHP=mysqli WEB_SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/95.pl @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/report.pl @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/etc/common.php.in .include diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile index d7885de9b9bb..370705793f7b 100644 --- a/security/amavisd-new/Makefile +++ b/security/amavisd-new/Makefile @@ -1,259 +1,260 @@ PORTNAME= amavisd-new DISTVERSION= 2.12.3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= security MAINTAINER= flo@FreeBSD.org COMMENT= Mail scanner interface between mailer and content checkers WWW= https://www.ijs.si/software/amavisd/ LICENSE= GPLv2 RUN_DEPENDS= p5-Unix-Syslog>=0:sysutils/p5-Unix-Syslog \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-Convert-TNEF>=0:converters/p5-Convert-TNEF \ p5-Convert-UUlib>=1.08,1:converters/p5-Convert-UUlib \ p5-Archive-Zip>=1.14:archivers/p5-Archive-Zip \ p5-Net-Server>=2.0:net/p5-Net-Server \ p5-Mail-DKIM>=0.33:mail/p5-Mail-DKIM \ p5-Net-LibIDN>=0:dns/p5-Net-LibIDN USES= perl5 shebangfix tar:bz2 USE_GITLAB= yes USE_PERL5= run GL_ACCOUNT= amavis GL_PROJECT= amavis GL_TAGNAME= 3290c9c2a11a8cc9595b5810b2f86c1dac25a392 SHEBANG_FILES= amavisd-agent amavisd-nanny amavisd-release p0f-analyzer.pl \ amavisd-snmp-subagent amavisd NO_ARCH= yes NO_BUILD= yes DOCS= AAAREADME.first AMAVIS-MIB.txt INSTALL LDAP.schema LICENSE \ RELEASE_NOTES README_FILES/README.* README_FILES/screen.css \ README_FILES/amavisd-new-docs.html AMAVISUSER?= vscan AMAVISGROUP?= vscan USERS= ${AMAVISUSER} GROUPS= ${AMAVISGROUP} AMAVISDIR?= /var/amavis AMAVISQUARANTINE?= /var/virusmails DAEMON?= /usr/sbin/daemon -p OPTIONS_DEFINE= IPV6 BDB SNMP SQLITE MYSQL PGSQL LDAP SASL SPAMASSASSIN P0F \ FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB RPM ZOO UNZOO LZOP \ 7ZIP MSWORD TNEF DOCS OPTIONS_DEFAULT= BDB SPAMASSASSIN FILE UNRAR ARJ ARC CAB RPM ZOO LZOP \ 7ZIP MSWORD BDB_DESC= Use BerkeleyDB for nanny/cache/snmp SNMP_DESC= Install amavisd snmp subagent SQLITE_DESC= Use SQLite for lookups MYSQL_DESC= Use MySQL for lookups/logging/quarantine PGSQL_DESC= Use PgSQL for lookups/logging/quarantine LDAP_DESC= Use LDAP for lookups SASL_DESC= Use SASL authentication SPAMASSASSIN_DESC= Use mail/spamassassin P0F_DESC= Passive operating system fingerprinting 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 7ZIP_DESC= 7ZIP support with archivers/7-zip MSWORD_DESC= Ms Word support with textproc/ripole TNEF_DESC= Add external tnef decoder converters/tnef SUB_FILES= pkg-deinstall pkg-message SUB_LIST+= AMAVISUSER=${AMAVISUSER} \ AMAVISGROUP=${AMAVISGROUP} \ AMAVISDIR=${AMAVISDIR} \ AMAVISQUARANTINE=${AMAVISQUARANTINE} \ DAEMON="${DAEMON}" \ PERL=${PERL} PLIST_SUB+= AMAVISUSER=${AMAVISUSER} \ AMAVISGROUP=${AMAVISGROUP} \ AMAVISDIR=${AMAVISDIR} \ AMAVISQUARANTINE=${AMAVISQUARANTINE} \ AMAVIS_NOP0F=${AMAVIS_NOP0F} .include USE_RC_SUBR+= amavisd .if ${PORT_OPTIONS:MIPV6} RUN_DEPENDS+= p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 .endif .if ${PORT_OPTIONS:MSNMP} && ${PORT_OPTIONS:MBDB} USE_RC_SUBR+= amavisd-snmp RUN_DEPENDS+= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP .endif .if ${PORT_OPTIONS:MBDB} RUN_DEPENDS+= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB .endif .if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite .endif .if ${PORT_OPTIONS:MMYSQL} -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${DBD_MYSQL} +USES+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= p5-perl-ldap>=0:net/p5-perl-ldap .endif .if ${PORT_OPTIONS:MSASL} RUN_DEPENDS+= p5-Authen-SASL>=0:security/p5-Authen-SASL .endif .if ${PORT_OPTIONS:MSPAMASSASSIN} RUN_DEPENDS+= spamassassin>=0:mail/spamassassin .endif .if ${PORT_OPTIONS:MP0F} RUN_DEPENDS+= ${LOCALBASE}/bin/p0f:net-mgmt/p0f USE_RC_SUBR+= amavis-p0fanalyzer .else AMAVIS_NOP0F= "@comment " .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} .if ${ARCH} == "i386" RUN_DEPENDS+= ${LOCALBASE}/bin/rar:archivers/rar .else IGNORE= archivers/rar is a 32-bit binary port and is not compatible with ${ARCH} .endif .endif .if ${PORT_OPTIONS:MUNRAR} RUN_DEPENDS+= ${LOCALBASE}/bin/unrar:archivers/unrar .endif .if ${PORT_OPTIONS:MARJ} RUN_DEPENDS+= ${LOCALBASE}/bin/arj:archivers/arj .endif .if ${PORT_OPTIONS:MUNARJ} RUN_DEPENDS+= ${LOCALBASE}/bin/unarj:archivers/unarj .endif .if ${PORT_OPTIONS:MLHA} RUN_DEPENDS+= ${LOCALBASE}/bin/lha:archivers/lha .endif .if ${PORT_OPTIONS:MARC} RUN_DEPENDS+= ${LOCALBASE}/bin/arc:archivers/arc .endif .if ${PORT_OPTIONS:MNOMARCH} RUN_DEPENDS+= ${LOCALBASE}/bin/nomarch:archivers/nomarch .endif .if ${PORT_OPTIONS:MCAB} RUN_DEPENDS+= ${LOCALBASE}/bin/cabextract:archivers/cabextract .endif .if ${PORT_OPTIONS:MRPM} RUN_DEPENDS+= ${LOCALBASE}/bin/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+= ${LOCALBASE}/bin/lzop:archivers/lzop .endif .if ${PORT_OPTIONS:M7ZIP} RUN_DEPENDS+= ${LOCALBASE}/bin/7zz:archivers/7-zip .endif .if ${PORT_OPTIONS:MMSWORD} RUN_DEPENDS+= ${LOCALBASE}/bin/ripole:textproc/ripole .endif .if ${PORT_OPTIONS:MTNEF} RUN_DEPENDS+= ${LOCALBASE}/bin/tnef:converters/tnef .endif .include post-patch: @${REINPLACE_CMD} -e "s|$$daemon_user = 'vscan';|$$daemon_user = '${AMAVISUSER}';|" \ -e "s|$$daemon_group = 'vscan';|$$daemon_group = '${AMAVISGROUP}';|" \ -e "s|/var/amavis|${AMAVISDIR}|" \ -e "s|/var/lib/amavis|${AMAVISDIR}|" \ -e "s|/var/virusmails|${AMAVISQUARANTINE}|" \ -e 's|$$localhost_name = .localhost.;|$$localhost_name = $$myhostname;|' \ -e 's|/var/run/clamav/clamd|/var/run/clamav/clamd|g' \ ${WRKSRC}/amavisd.conf @${REINPLACE_CMD} "s|/var/amavis/db|${AMAVISDIR}/db|" ${WRKSRC}/amavisd-agent @${REINPLACE_CMD} "s|/var/amavis/db|${AMAVISDIR}/db|" ${WRKSRC}/amavisd-nanny @${REINPLACE_CMD} -e "s|/var/amavis/db|${AMAVISDIR}/db|" \ ${WRKSRC}/amavisd-snmp-subagent @${REINPLACE_CMD} "s|/var/amavis/amavisd.sock|${AMAVISDIR}/amavisd.sock|" \ ${WRKSRC}/amavisd-release @${REINPLACE_CMD} -e "s|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|" \ -e "s|/var/amavis|${AMAVISDIR}|g" \ -e 's|$$localhost_name = .localhost.;|$$localhost_name = $$myhostname;|' \ ${WRKSRC}/amavisd do-install: .for i in amavisd amavisd-agent amavisd-nanny amavisd-release amavisd-snmp-subagent ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin .endfor ${INSTALL_DATA} ${WRKSRC}/amavisd.conf ${STAGEDIR}${PREFIX}/etc/amavisd.conf.sample ${INSTALL_DATA} ${WRKSRC}/amavisd.conf-default ${STAGEDIR}${PREFIX}/etc/amavisd.conf-default ${INSTALL_DATA} ${WRKSRC}/amavisd-custom.conf ${STAGEDIR}${PREFIX}/etc/amavisd-custom.conf.sample ${LN} -s ${PREFIX}/sbin/amavisd-release ${STAGEDIR}${PREFIX}/sbin/amavisd-requeue ${MKDIR} ${STAGEDIR}${AMAVISDIR}/var ${MKDIR} ${STAGEDIR}${AMAVISDIR}/tmp ${MKDIR} ${STAGEDIR}${AMAVISDIR}/db ${MKDIR} ${STAGEDIR}${AMAVISQUARANTINE} do-install-P0F-on: ${INSTALL_SCRIPT} ${WRKSRC}/p0f-analyzer.pl ${STAGEDIR}${PREFIX}/sbin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/images .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor @${CP} -pr ${WRKSRC}/README_FILES/images/ ${STAGEDIR}${DOCSDIR}/images .include diff --git a/security/maia/Makefile b/security/maia/Makefile index 30237f78c2e0..b221c8c0bcf7 100644 --- a/security/maia/Makefile +++ b/security/maia/Makefile @@ -1,338 +1,338 @@ PORTNAME= maia DISTVERSION= 1.0.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= security MAINTAINER= ek@purplehat.org COMMENT= Web-based management system based on amavisd-new and SpamAssassin WWW= http://www.maiamailguard.com/ 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 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 .endif .if ${PORT_OPTIONS:MWEBHOST} USES+= php USE_PHP= bcmath ctype dom gettext iconv imap 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 +RUN_DEPENDS+= ${DBD_MYSQL} .endif .if ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MLOCAL} USES+= mysql:client -RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql +RUN_DEPENDS+= ${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} .if ${PORT_OPTIONS:MWEBHOST} ${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty .endif ${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/p5-openxpki/Makefile b/security/p5-openxpki/Makefile index 3bdd1c3aa161..546e4a8e7c49 100644 --- a/security/p5-openxpki/Makefile +++ b/security/p5-openxpki/Makefile @@ -1,156 +1,157 @@ PORTNAME= openxpki DISTVERSIONPREFIX= v DISTVERSION= 3.24.2 +PORTREVSION= 1 CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based trustcenter for PKI: universal server building block WWW= https://www.openxpki.org/ 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-OpenSSL-AES>=0.02:security/p5-Crypt-OpenSSL-AES \ p5-Crypt-PKCS10>=2.005: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-DBD-SQLite>=1.52:databases/p5-DBD-SQLite \ p5-DBIx-Handler>=0.14:databases/p5-DBIx-Handler \ p5-Devel-NYTProf>=0:devel/p5-Devel-NYTProf \ p5-Feature-Compat-Try>=0.05:devel/p5-Feature-Compat-Try \ 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-MooseX-StrictConstructor>=0.21:devel/p5-MooseX-StrictConstructor \ 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-PPI>=0:textproc/p5-PPI \ 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.38: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-Test-Pod-Coverage>=1.00:devel/p5-Test-Pod-Coverage \ p5-Test-Pod>=1.00:devel/p5-Test-Pod \ 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-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= ${DISTVERSION:R} USE_PERL5= configure USE_RC_SUBR= openxpki SHEBANG_FILES= ../../* NO_ARCH= yes PORTSCOUT= limitw:1,even # stay with stable versions only SUB_FILES= pkg-message WRKSRC_SUBDIR= core/server/ USERS= openxpki GROUPS= openxpki 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: @${MKDIR} ${WRKSRC}/config @${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 @${REINPLACE_CMD} -e 's|OPENSSLINC|${OPENSSLINC}|g' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|OPENSSLLIB|${OPENSSLLIB}|g' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|OPENSSLBINARY|${OPENSSLBASE}/bin/openssl|g' ${WRKSRC}/Makefile.PL @( \ cd ${WRKSRC}/../..; \ ${ECHO} "Patching dir names..."; \ ${GREP} -RIFl -e "/etc/openxpki" 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 "/run/openxpkid.pid" core/server doc qatest tools >filelist; \ ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|/run/openxpkid.pid|/var/openxpki/openxpkid.pid|g' "%"; \ ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ ${GREP} -RIFl -e "www-data" core/server doc qatest tools >filelist; \ ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|www-data|www|g' "%"; \ ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ ${RM} filelist; \ ) @${FIND} ${WRKSRC} -name "*.orig" -delete @${MKDIR} ${WRKSRC}/t/var/log/openxpki post-install: @${MKDIR} ${STAGEDIR}/var/openxpki/session @${MKDIR} ${STAGEDIR}/var/log/openxpki @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openxpki/local/keys 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 htdocs cgi-bin" ${STAGEDIR}${EXAMPLESDIR} "! -name *\.orig") .include diff --git a/security/p5-openxpki/files/pkg-message.in b/security/p5-openxpki/files/pkg-message.in index 5fb3c1370b08..b711dab6beb9 100644 --- a/security/p5-openxpki/files/pkg-message.in +++ b/security/p5-openxpki/files/pkg-message.in @@ -1,90 +1,90 @@ [ { type: install message: <=1.56:devel/p5-Danga-Socket \ p5-DBD-SQLite>=1.13:databases/p5-DBD-SQLite \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-DBI>=0:databases/p5-DBI \ p5-IO-AIO>=0:devel/p5-IO-AIO \ p5-MogileFS-Client>=0:sysutils/p5-MogileFS-Client \ p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask \ p5-Perlbal>=1.79:www/perlbal \ p5-Sys-Syscall>=0.22:devel/p5-Sys-Syscall NO_ARCH= yes -USES= perl5 +USES= mysql perl5 USE_PERL5= configure REINPLACE_ARGS= -i '' USE_RC_SUBR= mogilefsd mogstored OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/watchmen/Makefile b/sysutils/watchmen/Makefile index 80f56d385b4b..4d1f0162fa61 100644 --- a/sysutils/watchmen/Makefile +++ b/sysutils/watchmen/Makefile @@ -1,38 +1,41 @@ PORTNAME= watchmen PORTVERSION= 0.09 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= proler@gmail.com COMMENT= Watch and restart daemons WWW= https://github.com/proller/watchmen LICENSE= GPLv3+ RUN_DEPENDS= p5-libwww>=6.04:www/p5-libwww \ p5-URI>=0:net/p5-URI USE_GITHUB= yes GH_ACCOUNT= proller USES= perl5 shebangfix USE_PERL5= configure SHEBANG_FILES= watchmen NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} \ "@sample etc/${PORTNAME}.conf.sample" \ ${SITE_MAN1}/${PORTNAME}.1.gz OPTIONS_DEFINE= MYSQL PGSQL EMAIL MYSQL_DESC= Enable test mysql queries PGSQL_DESC= Enable test postgresql queries EMAIL_DESC= Report problems by email -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} PGSQL_RUN_DEPENDS= p5-DBD-Pg>=2.19.2:databases/p5-DBD-Pg EMAIL_RUN_DEPENDS= p5-MIME-Lite>=0:mail/p5-MIME-Lite +MYSQL_USES= mysql + post-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include diff --git a/textproc/p5-Hailo/Makefile b/textproc/p5-Hailo/Makefile index 59371de09bbe..ebb8f8643dbb 100644 --- a/textproc/p5-Hailo/Makefile +++ b/textproc/p5-Hailo/Makefile @@ -1,56 +1,58 @@ PORTNAME= Hailo PORTVERSION= 0.75 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:AVAR PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pluggable Markov engine analogous to MegaHAL WWW= https://metacpan.org/release/Hailo LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Class-Load>=0:devel/p5-Class-Load \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-Dir-Self>=0:devel/p5-Dir-Self \ p5-File-CountLines>=0:devel/p5-File-CountLines \ p5-Getopt-Long-Descriptive>=0:devel/p5-Getopt-Long-Descriptive \ p5-IO-Interactive>=0:devel/p5-IO-Interactive \ p5-IPC-System-Simple>=0:devel/p5-IPC-System-Simple \ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Moose>=0:devel/p5-Moose \ p5-MooseX-Getopt>=0:devel/p5-MooseX-Getopt \ p5-MooseX-StrictConstructor>=0:devel/p5-MooseX-StrictConstructor \ p5-MooseX-Types>=0:devel/p5-MooseX-Types \ p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ p5-Term-Sk>=0:devel/p5-Term-Sk \ p5-namespace-clean>=0:devel/p5-namespace-clean TEST_DEPENDS= p5-Bot-Training>=0.06:misc/p5-Bot-Training \ p5-Bot-Training-MegaHAL>=0.03:misc/p5-Bot-Training-MegaHAL \ p5-Bot-Training-StarCraft>=0.03:misc/p5-Bot-Training-StarCraft \ p5-Data-Section>=0:devel/p5-Data-Section \ p5-File-Slurp>=0:devel/p5-File-Slurp \ p5-Pod-Section>=0:textproc/p5-Pod-Section \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Expect>=0:devel/p5-Test-Expect \ p5-Test-Output>=0:devel/p5-Test-Output \ p5-Test-Script>=0:devel/p5-Test-Script \ p5-Test-Script-Run>=0:devel/p5-Test-Script-Run USES= perl5 USE_PERL5= configure NO_ARCH= yes OPTIONS_DEFINE= SQLITE PGSQL MYSQL OPTIONS_DEFAULT=SQLITE SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql .include diff --git a/www/interchange/Makefile b/www/interchange/Makefile index a24b5991b1de..e72cb3f604c5 100644 --- a/www/interchange/Makefile +++ b/www/interchange/Makefile @@ -1,72 +1,74 @@ PORTNAME= interchange PORTVERSION= 5.6.3 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= http://ftp.icdevgroup.org/interchange/5.6/tar/ MAINTAINER= ports@FreeBSD.org COMMENT= RedHat's database-enabled e-commerce server WWW= https://www.icdevgroup.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Safe-Hole>=0.10:security/p5-Safe-Hole \ p5-URI>=1.37:net/p5-URI \ p5-libwww>=5.810:www/p5-libwww \ p5-Set-Crontab>=1.00:devel/p5-Set-Crontab \ p5-Digest-SHA1>=2.11:security/p5-Digest-SHA1 USES= cpe perl5 shebangfix tar:bzip2 CPE_VENDOR= redhat SHEBANG_FILES= dist/src/compile.pl \ dist/src/cpan_local_install \ dist/src/mod_perl_tlink.pl \ dist/src/testcgi \ dist/src/tlink.pl \ dist/src/vlink.pl USE_PERL5= configure NO_ARCH= yes CONFLICTS_INSTALL= isc-cron mcron # bin/crontab OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg GROUPS= interch USERS= interch USE_RC_SUBR= interchange INTERCH_PREFIX= ${PREFIX}/interchange # Basically the parts of CONFIGURE_ARGS that interest us without # Uses/perl5.mk's overriding of PREFIX, INSTALLARCHLIB and INSTALLPRIVLIB, # since we install into a custom location. INTERCH_CONFIGURE_ARGS= INSTALLDIRS=site \ INTERCHANGE_USER=interch \ PREFIX=${INTERCH_PREFIX} \ force=1 MAKE_ARGS= NOCPANINSTALL=1 pre-install: # This directory must exist before the installation happens, otherwise _uid (a # file) will be copied to a file called ${STAGEDIR}${INTERCH_PREFIX}. ${MKDIR} ${STAGEDIR}${INTERCH_PREFIX} do-configure: # The same as the do-configure stage in Uses/perl5.mk, except we use # INTERCH_CONFIGURE_ARGS instead of CONFIGURE_ARGS. @cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} \ ${PERL5} ${CONFIGURE_CMD} ${INTERCH_CONFIGURE_ARGS} post-install: # This directory has to be created here for check-plist to pass, otherwise it # complains the @dirrmtry /var/run/interchange entry does not have a matching # directory in the stage tree. # Its ownership and mode are properly set in the @dir plist entry ${MKDIR} ${STAGEDIR}/var/run/interchange .include diff --git a/www/ljdeps/Makefile b/www/ljdeps/Makefile index b5919fafb18e..ac22de8c6b32 100644 --- a/www/ljdeps/Makefile +++ b/www/ljdeps/Makefile @@ -1,30 +1,30 @@ PORTNAME= ljdeps PORTVERSION= 1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www perl5 MAINTAINER= ports@FreeBSD.org COMMENT= Meta-port to install all the perl modules used by LiveJournal WWW= http://www.livejournal.com/code/ RUN_DEPENDS= p5-Net-Telnet>=0:net/p5-Net-Telnet \ p5-Image-Size>=0:graphics/p5-Image-Size \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-MIME-Lite>=0:mail/p5-MIME-Lite \ p5-URI>=0:net/p5-URI \ p5-HTML-Tagset>=0:www/p5-HTML-Tagset \ p5-HTML-Parser>=0:www/p5-HTML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-Time-modules>=0:devel/p5-Time-modules \ p5-GD>=0:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Data-ShowTable>=0:devel/p5-Data-ShowTable \ - p5-DBD-mysql>=0:databases/p5-DBD-mysql \ + ${DBD_MYSQL} \ p5-Proc-ProcessTable>=0:devel/p5-Proc-ProcessTable \ p5-SOAP-Lite>=0:net/p5-SOAP-Lite \ p5-Unicode-MapUTF8>=0:converters/p5-Unicode-MapUTF8 -USES= metaport perl5 +USES= metaport mysql perl5 .include diff --git a/www/otrs/Makefile b/www/otrs/Makefile index 6f317aeb4cf2..9cfb4864362a 100644 --- a/www/otrs/Makefile +++ b/www/otrs/Makefile @@ -1,189 +1,190 @@ PORTNAME= otrs DISTVERSIONPREFIX= rel- DISTVERSION= 6_0_29 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= m.tsatsenko@gmail.com COMMENT= Open Ticket Request System WWW= https://www.otrs.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ p5-DBI>=0:databases/p5-DBI \ p5-Crypt-Eksblowfish>=0:security/p5-Crypt-Eksblowfish \ p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \ p5-MIME-Tools>=5.427:mail/p5-MIME-Tools \ p5-libwww>=0:www/p5-libwww \ p5-Net-DNS>=0.66:dns/p5-Net-DNS \ p5-CSS-Minifier-XS>=0:textproc/p5-CSS-Minifier-XS \ p5-JavaScript-Minifier-XS>=0:textproc/p5-JavaScript-Minifier-XS \ p5-DateTime>=0:devel/p5-DateTime \ p5-Sys-Hostname-Long>=0:sysutils/p5-Sys-Hostname-Long \ p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \ p5-JSON-XS>=0:converters/p5-JSON-XS \ p5-Text-CSV_XS>=0:textproc/p5-Text-CSV_XS \ p5-IO-Interactive>=0:devel/p5-IO-Interactive \ p5-Email-Valid>=0:mail/p5-Email-Valid \ p5-JSON>=0:converters/p5-JSON \ p5-YAML>=0:textproc/p5-YAML \ p5-Date-Pcalc>=0:devel/p5-Date-Pcalc \ p5-Text-CSV>=0:textproc/p5-Text-CSV \ p5-Text-Diff>=0:textproc/p5-Text-Diff \ p5-XML-FeedPP>=0:textproc/p5-XML-FeedPP \ p5-YAML-LibYAML>=0:textproc/p5-YAML-LibYAML \ p5-JavaScript-Minifier>=0:textproc/p5-JavaScript-Minifier \ p5-CSS-Minifier>=0:textproc/p5-CSS-Minifier \ p5-SOAP-Lite>=0:net/p5-SOAP-Lite \ p5-Class-Inspector>=0:devel/p5-Class-Inspector \ p5-Mozilla-CA>=0:www/p5-Mozilla-CA \ p5-CGI>=0:www/p5-CGI \ p5-Lingua-Translit>=0:devel/p5-Lingua-Translit \ p5-Pod-Strip>=0:textproc/p5-Pod-Strip \ p5-Template-Toolkit>=0:www/p5-Template-Toolkit \ p5-Sisimai>=0:mail/p5-Sisimai \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-LibXML>=0:textproc/p5-XML-LibXML \ p5-XML-LibXML-Simple>=0:textproc/p5-XML-LibXML-Simple \ p5-XML-LibXSLT>=0:textproc/p5-XML-LibXSLT \ p5-Locale-Codes>=0:misc/p5-Locale-Codes \ p5-Math-Random-Secure>=0:math/p5-Math-Random-Secure \ p5-Schedule-Cron-Events>=0:sysutils/p5-Schedule-Cron-Events RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe shebangfix perl5 tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= OTRS SHEBANG_FILES= bin/cgi-bin/*.pl bin/cgi-bin/app.psgi bin/fcgi-bin/*.pl bin/*.pl \ scripts/tools/*.pl scripts/*.pl OPTIONS_DEFINE= MYSQL PGSQL REPORTS SMTP POP3 IMAP LDAP PDF \ GNUPG APACHE SSL OPTIONS_DEFAULT= MYSQL REPORTS SMTP POP3 IMAP PDF ASPELL APACHE \ SSL OPTIONS_RADIO= SPELL OPTIONS_RADIO_SPELL= ASPELL ISPELL IMAP_DESC= Fetch email via IMAP POP3_DESC= Fetch email via POP3 SMTP_DESC= Send email via SMTP REPORTS_DESC= Reports support APACHE_DESC= Apache and www/mod_perl2 support OTRSDIR= ${PREFIX}/otrs USERS= ${PORTNAME} GROUPS= ${USERS} www SUB_FILES= pkg-message SUB_LIST= OTRS_USER=${USERS} OTRS_GROUP=${USERS} WWWOWN=${WWWOWN} NO_ARCH= YES ROOT_DIRS_LIST= Kernel bin scripts doc BIN_DIRS_LIST= "" cgi-bin fcgi-bin PM_DIRS_LIST= Kernel Kernel/Config Kernel/Config/Files Kernel/Language \ Modules Kernel/Output/HTML Kernel/Output/HTML/Lite \ Kernel/Output/HTML/Standard System System/Auth System/AuthSession \ System/Crypt System/CustomerAuth System/CustomerUser \ System/CustomerUser/ System/ SCRIPTS_DIRS_LIST= "" database test tools DBUpdateTo6 CRON_SCRIPTS= ${STAGEDIR}${OTRSDIR}/var/cron/ CLEAN_FILES= scripts/suse* scripts/redhat* \ var/httpd/htdocs/js/thirdparty/ckeditor-4.0/_source \ var/httpd/htdocs/skins/Agent/*/img/source PLIST_SUB= VER_CKEDITOR="4.7.0" OTRS_USER=${USERS} WWWOWN=${WWWOWN} PGSQL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg PGSQL_USES= pgsql -MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql +MYSQL_RUN_DEPENDS= ${DBD_MYSQL} +MYSQL_USES= mysql SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay APACHE_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:www/mod_perl2 \ p5-Apache-DBI>0:www/p5-Apache-DBI APACHE_USES= apache:run REPORTS_RUN_DEPENDS= p5-GD>=0:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil SMTP_RUN_DEPENDS= p5-Authen-SASL>=0:security/p5-Authen-SASL \ p5-Net-SSLGlue>=0:security/p5-Net-SSLGlue POP3_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \ p5-Net-SSLGlue>=0:security/p5-Net-SSLGlue IMAP_RUN_DEPENDS= p5-Mail-IMAPClient>=0:mail/p5-Mail-IMAPClient \ p5-Net-IMAP-Simple>=0:mail/p5-Net-IMAP-Simple LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap PDF_RUN_DEPENDS= p5-PDF-API2>=0.57:textproc/p5-PDF-API2 ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ASPELL_RUN_DEPENDS= aspell:textproc/aspell GNUPG_RUN_DEPENDS= gpg:security/gnupg1 .include post-patch: @${FIND} ${WRKSRC} -name "*.pm" | \ ${XARGS} ${REINPLACE_CMD} -i '' \ -e 's|Digest::SHA::PurePerl|Digest::SHA|g' @${FIND} ${WRKSRC} -name "*.orig" -delete @${RM} -r ${WRKSRC}/Kernel/cpan-lib/ \ ${CLEAN_FILES:S!^!${WRKSRC}/!} do-build: @${FIND} ${WRKSRC}/Kernel -type d | ${XARGS} ${CHMOD} 0755 @${FIND} ${WRKSRC}/Kernel -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/opt/=${PREFIX}/=g;s=wwwrun=${WWWOWN}=g;" do-build-ISPELL-on: @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/ispell=${PREFIX}/bin/ispell=g" do-build-ASPELL-on: @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/ispell=${PREFIX}/bin/aspell=g" do-build-GNUPG-on: @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/gpg=${PREFIX}/bin/gpg=g" do-install: .for D in ${ROOT_DIRS_LIST:S!^!${OTRSDIR}/!} ${BIN_DIRS_LIST:S!^!${OTRSDIR}/bin/!} ${SCRIPTS_DIRS_LIST:S!^!${OTRSDIR}/scripts/!} ${MKDIR} ${STAGEDIR}${D} .endfor ${INSTALL_DATA} ${WRKSRC}/.*.dist ${STAGEDIR}${OTRSDIR}/ ${INSTALL_DATA} ${WRKSRC}/RELEASE ${STAGEDIR}${OTRSDIR}/ ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${OTRSDIR}/ .for D in ${BIN_DIRS_LIST} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${D}/*.* ${STAGEDIR}${OTRSDIR}/bin/${D}/ .endfor (cd ${WRKSRC} && ${PAX} -r -w Kernel var ${STAGEDIR}${OTRSDIR}) ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][lh] ${STAGEDIR}${OTRSDIR}/scripts/ ${INSTALL_DATA} ${WRKSRC}/scripts/apache* \ ${WRKSRC}/scripts/*.[pl][pm] ${STAGEDIR}${OTRSDIR}/scripts/ ${INSTALL_DATA} ${WRKSRC}/scripts/database/*.* ${STAGEDIR}${OTRSDIR}/scripts/database/ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/test/*.t ${STAGEDIR}${OTRSDIR}/scripts/test/ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/tools/*.pl ${STAGEDIR}${OTRSDIR}/scripts/tools/ (cd ${WRKSRC}/scripts && ${PAX} -r -w DBUpdateTo6 ${STAGEDIR}${OTRSDIR}/scripts) ${FIND} ${CRON_SCRIPTS} -type f -name *.dist | ${SED} -e "p;s/\.dist//" | ${XARGS} -n2 ${MV} ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/article ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/httpd/htdocs/js/js-cache/ ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/tmp # Attemt to set permissions for OTRS. It will fail if there is no pre-existing otrs user cd ${STAGEDIR}/${OTRSDIR} && ${PERL} ./bin/otrs.SetPermissions.pl \ --web-group=${WWWOWN} \ --otrs-user=${PORTNAME} \ --admin-group=wheel ${STAGEDIR}${OTRSDIR} || true .include diff --git a/www/rt44/Makefile b/www/rt44/Makefile index 61729b727223..ec221fd93008 100644 --- a/www/rt44/Makefile +++ b/www/rt44/Makefile @@ -1,174 +1,176 @@ PORTNAME= rt DISTVERSION= 4.4.7 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ PKGNAMESUFFIX= 44 MAINTAINER= mikael@FreeBSD.org COMMENT= Industrial-grade ticketing system written in Perl WWW= https://www.bestpractical.com/rt/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= rt42-4.2* brlcad NO_ARCH= yes # See docs/web_deployment.pod for info on the choices of webserver / # webapp combinations. Note: if using apache, apache-2.4+ is # recommended. For deployment with nginx, use the SPAWN_FCGI method # or the builtin webserver with a FCGI handler. # # The builtin standalone PSGI based webserver is always available, no # matter what choice of web deployment platform, or none, that you # make. Best Practical state that this is really only suitable for # development usage, although I have heard reports of people using it # successfully for medium sized deployments. If you only want the # builtin webserver, simply deselect all of the web options. # # See docs/full_text_indexing.pod if you need to set up full text # indexes on your ticket database. PostgreSQL is # recommended in this case: the MYSQL / SphinxSearch combination # mentioned in the docs is currently unsupported in the ports, but see # http://www.infracaninophile.co.uk/articles/sphinxse.html OPTIONS_DEFINE= DEVELOPER GD GPG GRAPHVIZ SMIME DOCS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_RADIO= WEB OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI OPTIONS_DEFAULT= AP_MODFASTCGI GD GPG MYSQL USERS?= www GROUPS?= rt www .include "${.CURDIR}/Makefile.cpan" RUN_DEPENDS+= ${CLI_DEPS} \ ${CORE_DEPS} \ ${DASHBOARDS_DEPS} \ ${ICAL_DEPS} \ ${MAILGATE_DEPS} \ ${USERLOGO_DEPS} \ ${HTML_DOC_DEPS} USES= cpe perl5 CPE_VENDOR= bestpractical RT_LAYOUT= FreeBSD RT_ETC_DIR?= etc/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} RT_ETC_PATH= ${PREFIX}/${RT_ETC_DIR} AP_MODPERL_DESC= Deploy with apache and mod_perl AP_MODPERL_RUN_DEPENDS= ${MODPERL2_DEPS} AP_MODFASTCGI_DESC= Deploy with apache and mod_fastcgi AP_MODFASTCGI_USES= apache:run AP_MODFASTCGI_RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi \ ${FASTCGI_DEPS} LIGHTTPD_DESC= Deploy with lighttpd and mod_fastcgi LIGHTTPD_RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:www/lighttpd \ ${FASTCGI_DEPS} SPAWN_FCGI_DESC= Deploy with spawn_fcgi SPAWN_FCGI_RUN_DEPENDS= ${LOCALBASE}/bin/spawn-fcgi:www/spawn-fcgi \ ${FASTCGI_DEPS} MYSQL_RUN_DEPENDS= ${MYSQL_DEPS} +MYSQL_USES= mysql MYSQL_VARS= DB_TYPE=mysql DB_DBA_USER=root PGSQL_RUN_DEPENDS= ${PGSQL_DEPS} PGSQL_VARS= DB_TYPE=Pg DB_DBA_USER=pgsql SQLITE_RUN_DEPENDS= ${SQLITE_DEPS} SQLITE_VARS= DB_TYPE=SQLite DB_DBA_USER=root DEVELOPER_DESC= Configure for Developers DEVELOPER_RUN_DEPENDS= ${DEVELOPER_DEPS} DEVELOPER_CONFIGURE_ENABLE= developer SMIME_DESC= Enable Secure MIME support SMIME_RUN_DEPENDS= ${SMIME_DEPS} SMIME_CONFIGURE_ENABLE= smime GRAPHVIZ_RUN_DEPENDS= ${GRAPHVIZ_DEPS} GRAPHVIZ_CONFIGURE_ENABLE= graphviz GPG_DESC= Enable GnuPG support GPG_RUN_DEPENDS= ${GPG_DEPS} GPG_CONFIGURE_ENABLE= gpg GD_DESC= Enable GD Graphs and Charts GD_RUN_DEPENDS= ${GD_DEPS} GD_CONFIGURE_ENABLE= gd BUILD_DEPENDS+= ${RUN_DEPENDS} DB_DBA_PASSWORD?= DB_USER?= rt_user DB_PASSWORD?= rt_pass DB_HOST?= localhost DB_DATABASE?= rt4 WEB_USER?= ${WWWOWN} WEB_GROUP?= ${WWWGRP} LIBS_GROUP?= wheel HAS_CONFIGURE= yes NO_BUILD= yes CONFIGURE_ARGS+= --enable-layout=${RT_LAYOUT} \ --with-web-user=${WEB_USER} \ --with-web-group=${WEB_GROUP} \ --with-libs-group=${LIBS_GROUP} \ --with-db-host=${DB_HOST} \ --with-db-port=${DB_PORT} \ --with-db-type=${DB_TYPE} \ --with-db-rt-user=${DB_USER} \ --with-db-rt-pass=${DB_PASSWORD} \ --with-db-database=${DB_DATABASE} \ --with-db-dba=${DB_DBA_USER} CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl SUB_FILES= pkg-message SUB_LIST= RT_ETC_PATH=${RT_ETC_PATH} PLIST_SUB= RT_ETC_DIR=${RT_ETC_DIR} pre-fetch: @${ECHO} "" @${ECHO} "Additional database related settings you can use:" @${ECHO} " DB_HOST=hostname The database host (localhost)" @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DATABASE=dbname The database name (rt4)" @${ECHO} "" @${ECHO} " DB_DBA_USER=username Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" @${ECHO} " DB_USER=username Name of database user for RT (rt_user)" @${ECHO} " DB_PASSWORD=password Name of database password for RT (rt_pass)" pre-fetch-SQLITE-on: @${ECHO} "" @${ECHO} "SQLITE is not recommended for production use" post-patch: @${RM} ${WRKSRC}/lib/RT.pm.in.orig @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout @${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${PREFIX}/${SITE_PERL_REL}!g' ${WRKSRC}/config.layout @${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm pre-install: @${RM} ${WRKSRC}/lib/RT.pm.in post-install: @${RM} -r ${STAGEDIR}/${WWWDIR}${PKGNAMESUFFIX} ${MKDIR} ${STAGEDIR}${DOCSDIR}/upgrade (cd ${WRKSRC}/etc && \ ${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in") .include diff --git a/www/rt44/Makefile.cpan b/www/rt44/Makefile.cpan index 2d810c46833e..9efd275aacd8 100644 --- a/www/rt44/Makefile.cpan +++ b/www/rt44/Makefile.cpan @@ -1,295 +1,295 @@ ############################################################################### ### --- Core_DEPS --- ### Apache::Session 1.53 ### Business::Hours ### CGI 3.38 perl std (perl<5.22) ### CGI::Cookie 1.20 perl std (perl<5.22) ### CGI::Emulate::PSGI ### CGI::PSGI 0.12 ### Class::Accessor::Fast ### Clone ### Convert::Color ### Crypt::Eksblowfish ### CSS::Minifier::XS ### CSS::Squish 0.06 ### Data::GUID ### Data::ICal ### Data::Page::Pageset ### Date::Extract 0.02 ### Date::Manip ### DateTime 0.44 ### DateTime::Format::Natural 0.67 ### DateTime::Locale 0.40 ### DBI 1.37 ### DBIx::SearchBuilder 1.65 ### Devel::GlobalDestruction ### Devel::StackTrace 1.19 ### Digest::base perl std ### Digest::MD5 2.27 perl std ### Digest::SHA perl std ### Email::Address 1.908 ### Email::Address::List 0.02 ### Encode 2.64 perl std (needs newer version) ### Errno perl std ### File::Glob perl std ### File::ShareDir ### File::Spec 0.8 perl std ### File::Temp 0.19 perl std ### HTML::Entities ### HTML::FormatText::WithLinks 0.14 ### HTML::FormatText::WithLinks::AndTables 0.06 ### HTML::Mason 1.43 ### HTML::Mason::PSGIHandler 0.52 ### HTML::Quoted ### HTML::RewriteAttributes 0.05 ### HTML::Scrubber 0.08 ### HTTP::Message 6.0 ### IPC::Run3 ### JavaScript::Minifier::XS ### JSON ### List::MoreUtils ### Locale::Maketext 1.06 perl std ### Locale::Maketext::Fuzzy 0.11 ### Locale::Maketext::Lexicon 0.32 ### Log::Dispatch 2.30 ### LWP::Simple ### Mail::Header 2.12 ### Mail::Mailer 1.57 ### MIME::Entity 5.504 ### MIME::Types ### Module::Refresh 0.03 ### Module::Versions::Report 1.05 ### Net::CIDR ### Net::IP ### Fork::Manager ### Plack 1.0002 ### Plack::Handler::Starlet ### Pod::Select ### Regexp::Common ### Regexp::Common::net::CIDR ### Regexp::IPv6 ### Role::Basic 0.12 ### Scalar::Util perl std ### Scope::Upper ### Storable 2.08 perl std ### Symbol::Global::Name 0.04 ### Sys::Syslog 0.16 perl std ### Text::Password::Pronounceable ### Text::Quoted 2.07 ### Text::Template 1.44 ### Text::WikiFormat 0.76 ### Text::Wrapper ### Time::HiRes perl std ### Time::ParseDate ### Tree::Simple 1.04 ### UNIVERSAL::require ### URI 1.59 ### URI::QueryParam ### XML::RSS 1.05 CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \ p5-CGI>4.0:www/p5-CGI \ p5-Business-Hours>0:misc/p5-Business-Hours \ p5-CGI-Emulate-PSGI>0:www/p5-CGI-Emulate-PSGI \ p5-CGI-PSGI>=0.12:www/p5-CGI-PSGI \ p5-CSS-Squish>=0.06:textproc/p5-CSS-Squish \ p5-CSS-Minifier-XS>=0:textproc/p5-CSS-Minifier-XS \ p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-Clone>=0:devel/p5-Clone \ p5-Convert-Color>0:graphics/p5-Convert-Color \ p5-Crypt-Eksblowfish>0:security/p5-Crypt-Eksblowfish \ p5-DBI>=1.37:databases/p5-DBI \ p5-DBIx-SearchBuilder>=1.66:databases/p5-DBIx-SearchBuilder \ p5-Data-GUID>0:devel/p5-Data-GUID \ p5-Data-ICal>0:deskutils/p5-Data-ICal \ p5-Data-Page-Pageset>0:devel/p5-Data-Page-Pageset \ p5-Date-Extract>=0.02:devel/p5-Date-Extract \ p5-Date-Manip>0:devel/p5-Date-Manip \ p5-DateTime>=0.44:devel/p5-DateTime \ p5-DateTime-Format-Natural>=0.67:devel/p5-DateTime-Format-Natural \ p5-DateTime-Locale>=0.40:devel/p5-DateTime-Locale \ p5-DateTime>=0.44:devel/p5-DateTime \ p5-Devel-GlobalDestruction>0:devel/p5-Devel-GlobalDestruction \ p5-Devel-StackTrace>=1.30:devel/p5-Devel-StackTrace \ p5-Email-Address>=1.897:mail/p5-Email-Address \ p5-Email-Address-List>=0.03:mail/p5-Email-Address-List \ p5-File-ShareDir>0:devel/p5-File-ShareDir \ p5-HTML-FormatText-WithLinks-AndTables>0:textproc/p5-HTML-FormatText-WithLinks-AndTables \ p5-HTML-FormatText-WithLinks>=0.14:textproc/p5-HTML-FormatText-WithLinks \ p5-HTML-Mason-PSGIHandler>=0.52:www/p5-HTML-Mason-PSGIHandler \ p5-HTML-Mason>=1.43:www/p5-HTML-Mason \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-HTML-Quoted>0:textproc/p5-HTML-Quoted \ p5-HTML-RewriteAttributes>=0.05:textproc/p5-HTML-RewriteAttributes \ p5-HTML-Scrubber>=0.08:www/p5-HTML-Scrubber \ p5-HTTP-Message>=6.0:www/p5-HTTP-Message \ p5-IPC-Run3>0:devel/p5-IPC-Run3 \ p5-JavaScript-Minifier-XS>=0:textproc/p5-JavaScript-Minifier-XS \ p5-JSON>0:converters/p5-JSON \ p5-libwww>0:www/p5-libwww \ p5-List-MoreUtils>0:lang/p5-List-MoreUtils \ p5-Locale-Maketext-Fuzzy>=0.11:devel/p5-Locale-Maketext-Fuzzy \ p5-Locale-Maketext-Lexicon>=0.32:devel/p5-Locale-Maketext-Lexicon \ p5-Log-Dispatch>=2.30:devel/p5-Log-Dispatch \ p5-MIME-Tools>=5.504,2:mail/p5-MIME-Tools \ p5-MIME-Types>=0:mail/p5-MIME-Types \ p5-Mail-Tools>=2.12:mail/p5-Mail-Tools \ p5-Module-Refresh>=0.03:devel/p5-Module-Refresh \ p5-Module-Versions-Report>=1.05:devel/p5-Module-Versions-Report \ p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \ p5-Plack>=1.0002:www/p5-Plack \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ p5-Starlet>0:www/p5-Starlet \ p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \ p5-Regexp-Common>0:textproc/p5-Regexp-Common \ p5-Regexp-IPv6>0:textproc/p5-Regexp-IPv6 \ p5-Role-Basic>=0.12:devel/p5-Role-Basic \ p5-Scope-Upper>=0.06:devel/p5-Scope-Upper \ p5-Symbol-Global-Name>=0.05:devel/p5-Symbol-Global-Name \ p5-Text-Password-Pronounceable>0:security/p5-Text-Password-Pronounceable \ p5-Text-Quoted>=2.07:textproc/p5-Text-Quoted \ p5-Text-Template>=1.44:textproc/p5-Text-Template \ p5-Text-WikiFormat>=0.76:textproc/p5-Text-WikiFormat \ p5-Text-Wrapper>0:textproc/p5-Text-Wrapper \ p5-Time-modules>0:devel/p5-Time-modules \ p5-Tree-Simple>=1.04:devel/p5-Tree-Simple \ p5-UNIVERSAL-require>0:devel/p5-UNIVERSAL-require \ p5-URI>=1.59:net/p5-URI \ p5-XML-RSS>=1.05:textproc/p5-XML-RSS ### --- MAILGATE --- ### Getopt::Long perl std ### LWP::Protocol::https ### LWP::UserAgent 6.02 ### Mozilla::CA ### Pod::Usage perl std MAILGATE_DEPS= p5-libwww>6.02:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ p5-Mozilla-CA>0:www/p5-Mozilla-CA ### --- CLI --- ### Getopt::Long 2.24 perl std ### HTTP::Request::Common ### LWP 6.02 ### Term::ReadKey ### Term::ReadLine perl std ### Text::ParseWords perl std CLI_DEPS= p5-HTTP-Message>0:www/p5-HTTP-Message \ p5-libwww>0:www/p5-libwww \ p5-Term-ReadKey>0:devel/p5-Term-ReadKey ### --- DEVELOPER --- ### Email::Abstract ### File::Find perl std ### File::Which ### HTML::Entities ### Locale::PO ### Log::Dispatch::Perl ### Mojo::DOM ### Plack::Middleware::Test::StashWarnings 0.08 ### Pod::Simple 3.24 ### Set::Tiny ### String::ShellQuote 0 # needed for gnupg-incoming.t ### Test::Builder 0.90 # needed for is_passing perl std ### Test::Deep 0 # needed for shredder tests ### Test::Email ### Test::Expect 0.31 ### Test::LongString ### Test::MockTime ### Test::NoWarnings ### Test::Pod ### Test::Warn ### Test::WWW::Mechanize 1.30 ### Test::WWW::Mechanize::PSGI ### WWW::Mechanize 1.52 ### XML::Simple DEVELOPER_DEPS= p5-Email-Abstract>0:mail/p5-Email-Abstract \ p5-File-Which>0:sysutils/p5-File-Which \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-Locale-PO>0:devel/p5-Locale-PO \ p5-Log-Dispatch-Perl>0:devel/p5-Log-Dispatch-Perl \ p5-Mojolicious>0:www/p5-Mojolicious \ p5-Plack-Middleware-Test-StashWarnings>=0.08:www/p5-Plack-Middleware-Test-StashWarnings \ p5-Set-Tiny>0:devel/p5-Set-Tiny \ p5-String-ShellQuote>0:textproc/p5-String-ShellQuote \ p5-Test-Deep>0:devel/p5-Test-Deep \ p5-Test-Email>0:mail/p5-Test-Email \ p5-Test-Expect>=0.31:devel/p5-Test-Expect \ p5-Test-LongString>0:devel/p5-Test-LongString \ p5-Test-MockTime>0:devel/p5-Test-MockTime \ p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings \ p5-Test-Pod>0:devel/p5-Test-Pod \ p5-Test-WWW-Mechanize-PSGI>0:devel/p5-Test-WWW-Mechanize-PSGI \ p5-Test-WWW-Mechanize>=1.30:devel/p5-Test-WWW-Mechanize \ p5-Test-Warn>0:devel/p5-Test-Warn \ p5-WWW-Mechanize>=1.52:www/p5-WWW-Mechanize \ p5-XML-Simple>0:textproc/p5-XML-Simple ### --- FASTCGI --- ### FCGI 0.74 FASTCGI_DEPS= p5-FCGI>=0.74:www/p5-FCGI ### --- MODPERL2 --- ### Apache::DBI MODPERL2_DEPS= p5-libapreq2>0:www/p5-libapreq2 \ p5-Apache-DBI>0:www/p5-Apache-DBI ### --- MYSQL --- ### DBD::mysql 2.1018 -MYSQL_DEPS= p5-DBD-mysql>=2.1018:databases/p5-DBD-mysql +MYSQL_DEPS= ${DBD_MYSQL} ### --- PGSQL --- ### DBD::Pg 3.3.1 PGSQL_DEPS= p5-DBD-Pg>=3.3.1:databases/p5-DBD-Pg ### --- SQLITE --- ### DBD::SQLite 1.00 SQLITE_DEPS= p5-DBD-SQLite>=1.00:databases/p5-DBD-SQLite ### --- GPG --- ### File::Which ### GnuPG::Interface ### PerlIO::eol GPG_DEPS= p5-File-Which>0:sysutils/p5-File-Which \ p5-GnuPG-Interface>0:security/p5-GnuPG-Interface \ p5-PerlIO-eol>0:devel/p5-PerlIO-eol ### --- SMIME--- ### Crypt::X509 ### File::Which ### String::ShellQuote SMIME_DEPS= p5-Crypt-X509>0:security/p5-Crypt-X509 \ p5-File-Which>0:sysutils/p5-File-Which \ p5-String-ShellQuote>0:textproc/p5-String-ShellQuote ### --- GRAPHVIZ --- ### GraphViz ### IPC::Run 0.90 GRAPHVIZ_DEPS= p5-GraphViz>0:graphics/p5-GraphViz \ p5-IPC-Run>=0.90:devel/p5-IPC-Run ### -- GD -- ### GD ### GD::Graph 1.47 ### GD::Text GD_DEPS= p5-GD>0:graphics/p5-GD \ p5-GD-Graph>0:graphics/p5-GD-Graph \ p5-GD-TextUtil>0:graphics/p5-GD-TextUtil ### --- AVOID --- ### 'Devel::StackTrace' => [qw(1.28 1.29)], ### 'DateTime::Locale' => [qw(1.00 1.01)] diff --git a/www/rt50/Makefile b/www/rt50/Makefile index f9744f86b531..1652e8507ae4 100644 --- a/www/rt50/Makefile +++ b/www/rt50/Makefile @@ -1,179 +1,181 @@ PORTNAME= rt DISTVERSION= 5.0.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ PKGNAMESUFFIX= 50 MAINTAINER= mikael@FreeBSD.org COMMENT= Industrial-grade ticketing system written in Perl WWW= https://www.bestpractical.com/rt/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= rt42-4.2* rt44-4.4* brlcad NO_ARCH= yes # See docs/web_deployment.pod for info on the choices of webserver / # webapp combinations. Note: if using apache, apache-2.4+ is # recommended. For deployment with nginx, use the SPAWN_FCGI method # or the builtin webserver with a FCGI handler. # # The builtin standalone PSGI based webserver is always available, no # matter what choice of web deployment platform, or none, that you # make. Best Practical state that this is really only suitable for # development usage, although I have heard reports of people using it # successfully for medium sized deployments. If you only want the # builtin webserver, simply deselect all of the web options. # # See docs/full_text_indexing.pod if you need to set up full text # indexes on your ticket database. PostgreSQL is # recommended in this case: the MYSQL / SphinxSearch combination # mentioned in the docs is currently unsupported in the ports, but see # http://www.infracaninophile.co.uk/articles/sphinxse.html OPTIONS_DEFINE= DEVELOPER EXTERNALAUTH GD GPG GRAPHVIZ SMIME DOCS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_RADIO= WEB OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI OPTIONS_DEFAULT= AP_MODFASTCGI EXTERNALAUTH GD GPG MYSQL USERS?= www GROUPS?= rt www .include "${.CURDIR}/Makefile.cpan" RUN_DEPENDS+= ${CLI_DEPS} \ ${CORE_DEPS} \ ${DASHBOARDS_DEPS} \ ${ICAL_DEPS} \ ${MAILGATE_DEPS} \ ${REST2_DEPS} \ ${USERLOGO_DEPS} \ ${HTML_DOC_DEPS} USES= cpe perl5 CPE_VENDOR= bestpractical RT_LAYOUT= FreeBSD RT_ETC_DIR?= etc/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} RT_ETC_PATH= ${PREFIX}/${RT_ETC_DIR} AP_MODPERL_DESC= Deploy with apache and mod_perl AP_MODPERL_RUN_DEPENDS= ${MODPERL2_DEPS} AP_MODFASTCGI_DESC= Deploy with apache and mod_fastcgi AP_MODFASTCGI_USES= apache:run AP_MODFASTCGI_RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi \ ${FASTCGI_DEPS} EXTERNALAUTH_DESC= Extension to authenticate users against an external source EXTERNALAUTH_RUN_DEPENDS= ${EXTERNALAUTH_DEPS} LIGHTTPD_DESC= Deploy with lighttpd and mod_fastcgi LIGHTTPD_RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:www/lighttpd \ ${FASTCGI_DEPS} SPAWN_FCGI_DESC= Deploy with spawn_fcgi SPAWN_FCGI_RUN_DEPENDS= ${LOCALBASE}/bin/spawn-fcgi:www/spawn-fcgi \ ${FASTCGI_DEPS} MYSQL_RUN_DEPENDS= ${MYSQL_DEPS} +MYSQL_USES= mysql MYSQL_VARS= DB_TYPE=mysql DB_DBA_USER=root PGSQL_RUN_DEPENDS= ${PGSQL_DEPS} PGSQL_VARS= DB_TYPE=Pg DB_DBA_USER=pgsql SQLITE_RUN_DEPENDS= ${SQLITE_DEPS} SQLITE_VARS= DB_TYPE=SQLite DB_DBA_USER=root DEVELOPER_DESC= Configure for Developers DEVELOPER_RUN_DEPENDS= ${DEVELOPER_DEPS} DEVELOPER_CONFIGURE_ENABLE= developer SMIME_DESC= Enable Secure MIME support SMIME_RUN_DEPENDS= ${SMIME_DEPS} SMIME_CONFIGURE_ENABLE= smime GRAPHVIZ_RUN_DEPENDS= ${GRAPHVIZ_DEPS} GRAPHVIZ_CONFIGURE_ENABLE= graphviz GPG_DESC= Enable GnuPG support GPG_RUN_DEPENDS= ${GPG_DEPS} GPG_CONFIGURE_ENABLE= gpg GD_DESC= Enable GD Graphs and Charts GD_RUN_DEPENDS= ${GD_DEPS} GD_CONFIGURE_ENABLE= gd BUILD_DEPENDS+= ${RUN_DEPENDS} DB_DBA_PASSWORD?= DB_USER?= rt_user DB_PASSWORD?= rt_pass DB_HOST?= localhost DB_DATABASE?= rt5 WEB_USER?= ${WWWOWN} WEB_GROUP?= ${WWWGRP} LIBS_GROUP?= wheel HAS_CONFIGURE= yes NO_BUILD= yes CONFIGURE_ARGS+= --enable-layout=${RT_LAYOUT} \ --with-web-user=${WEB_USER} \ --with-web-group=${WEB_GROUP} \ --with-libs-group=${LIBS_GROUP} \ --with-db-host=${DB_HOST} \ --with-db-port=${DB_PORT} \ --with-db-type=${DB_TYPE} \ --with-db-rt-user=${DB_USER} \ --with-db-rt-pass=${DB_PASSWORD} \ --with-db-database=${DB_DATABASE} \ --with-db-dba=${DB_DBA_USER} CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl SUB_FILES= pkg-message SUB_LIST= RT_ETC_PATH=${RT_ETC_PATH} PLIST_SUB= RT_ETC_DIR=${RT_ETC_DIR} pre-fetch: @${ECHO} "" @${ECHO} "Additional database related settings you can use:" @${ECHO} " DB_HOST=hostname The database host (localhost)" @${ECHO} " DB_PORT=port The database port" @${ECHO} " DB_DATABASE=dbname The database name (rt5)" @${ECHO} "" @${ECHO} " DB_DBA_USER=username Name of database administrator (root)" @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" @${ECHO} " DB_USER=username Name of database user for RT (rt_user)" @${ECHO} " DB_PASSWORD=password Name of database password for RT (rt_pass)" pre-fetch-SQLITE-on: @${ECHO} "" @${ECHO} "SQLITE is not recommended for production use" post-patch: @${RM} ${WRKSRC}/lib/RT.pm.in.orig @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout @${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${PREFIX}/${SITE_PERL_REL}!g' ${WRKSRC}/config.layout @${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm @${REINPLACE_CMD} -e 's!RT_ETC_DIR!${RT_ETC_DIR}!' ${WRKSRC}/sbin/rt-test-dependencies.in pre-install: @${RM} ${WRKSRC}/lib/RT.pm.in post-install: @${RM} -r ${STAGEDIR}/${WWWDIR}${PKGNAMESUFFIX} ${MKDIR} ${STAGEDIR}${DOCSDIR}/upgrade (cd ${WRKSRC}/etc && \ ${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in") .include diff --git a/www/rt50/Makefile.cpan b/www/rt50/Makefile.cpan index 74a087466bb9..91f775c6f7b4 100644 --- a/www/rt50/Makefile.cpan +++ b/www/rt50/Makefile.cpan @@ -1,342 +1,342 @@ ### See etc/cpanfile for a list of dependencies ############################################################################### ### --- Core_DEPS --- ### Apache::Session 1.53 ### Business::Hours ### CGI 3.38 perl std (perl<5.22) ### CGI::Cookie 1.20 perl std (perl<5.22) ### CGI::Emulate::PSGI ### CGI::PSGI 0.12 ### Class::Accessor::Fast ### Clone ### Convert::Color ### Crypt::Eksblowfish ### CSS::Minifier::XS ### CSS::Squish 0.06 ### Data::GUID ### Data::ICal ### Date::Extract 0.07 ### Date::Manip ### DateTime 0.44 ### DateTime::Format::Natural 0.67 ### DateTime::Locale 0.40 ### DBI 1.37 ### DBIx::SearchBuilder 1.77 ### Devel::GlobalDestruction ### Devel::StackTrace 1.19 ### Digest::base perl std ### Digest::MD5 2.27 perl std ### Digest::SHA perl std ### Email::Address 1.912 ### Email::Address::List 0.06 ### Encode 2.64 perl std (needs newer version) ### Encode::Detect::Detector ### Encode::HanExtra ### Errno perl std ### File::Glob perl std ### File::ShareDir ### File::Spec 0.8 perl std ### File::Temp 0.19 perl std ### HTML::Entities ### HTML::FormatExternal ### HTML::FormatText::WithLinks 0.14 ### HTML::FormatText::WithLinks::AndTables 0.06 ### HTML::Gumbo ### HTML::Mason 1.43 ### HTML::Mason::PSGIHandler 0.52 ### HTML::Quoted ### HTML::RewriteAttributes 0.05 ### HTML::Scrubber 0.08 ### HTTP::Message 6.07 ### IPC::Run3 ### JavaScript::Minifier::XS ### JSON ### List::MoreUtils ### Locale::Maketext 1.06 perl std ### Locale::Maketext::Fuzzy 0.11 ### Locale::Maketext::Lexicon 0.32 ### Log::Dispatch 2.30 ### LWP::Simple ### Mail::Header 2.12 ### Mail::Mailer 1.57 ### MIME::Entity 5.504 ### MIME::Types ### Module::Refresh 0.03 ### Module::Runtime ### Module::Versions::Report 1.05 ### Net::CIDR ### Net::IP ### Parallel::ForkManager ### Plack 1.0002 ### Plack::Handler::Starlet ### Regexp::Common ### Regexp::Common::net::CIDR ### Regexp::IPv6 ### Role::Basic 0.12 ### Scalar::Util perl std ### Scope::Upper ### Storable 2.08 perl std ### Symbol::Global::Name 0.04 ### Sys::Syslog 0.16 perl std ### Text::Password::Pronounceable ### Text::Quoted 2.07 ### Text::Template 1.44 ### Text::WikiFormat 0.76 ### Text::WordDiff ### Text::Wrapper ### Time::HiRes perl std ### Time::ParseDate ### Tree::Simple 1.04 ### URI 1.59 ### URI::QueryParam ### XML::RSS 1.05 CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \ p5-CGI>4.0:www/p5-CGI \ p5-Business-Hours>0:misc/p5-Business-Hours \ p5-CGI-Emulate-PSGI>0:www/p5-CGI-Emulate-PSGI \ p5-CGI-PSGI>=0.12:www/p5-CGI-PSGI \ p5-CSS-Squish>=0.06:textproc/p5-CSS-Squish \ p5-CSS-Minifier-XS>=0:textproc/p5-CSS-Minifier-XS \ p5-Class-Accessor>=0:devel/p5-Class-Accessor \ p5-Clone>=0:devel/p5-Clone \ p5-Convert-Color>0:graphics/p5-Convert-Color \ p5-Crypt-Eksblowfish>0:security/p5-Crypt-Eksblowfish \ p5-DBI>=1.37:databases/p5-DBI \ p5-DBIx-SearchBuilder>=1.77:databases/p5-DBIx-SearchBuilder \ p5-Data-GUID>0:devel/p5-Data-GUID \ p5-Data-ICal>0:deskutils/p5-Data-ICal \ p5-Data-Page>0:databases/p5-Data-Page \ p5-Date-Extract>=0.02:devel/p5-Date-Extract \ p5-Date-Manip>0:devel/p5-Date-Manip \ p5-DateTime>=0.44:devel/p5-DateTime \ p5-DateTime-Format-Natural>=0.67:devel/p5-DateTime-Format-Natural \ p5-DateTime-Locale>=0.40:devel/p5-DateTime-Locale \ p5-DateTime>=0.44:devel/p5-DateTime \ p5-Devel-GlobalDestruction>0:devel/p5-Devel-GlobalDestruction \ p5-Devel-StackTrace>=1.30:devel/p5-Devel-StackTrace \ p5-Email-Address>=1.912:mail/p5-Email-Address \ p5-Email-Address-List>=0.06:mail/p5-Email-Address-List \ p5-Encode-Detect>0:converters/p5-Encode-Detect \ p5-Encode-HanExtra>0:chinese/p5-Encode-HanExtra \ p5-File-ShareDir>0:devel/p5-File-ShareDir \ p5-HTML-FormatExternal>0:textproc/p5-HTML-FormatExternal \ p5-HTML-FormatText-WithLinks-AndTables>0:textproc/p5-HTML-FormatText-WithLinks-AndTables \ p5-HTML-FormatText-WithLinks>=0.14:textproc/p5-HTML-FormatText-WithLinks \ p5-HTML-Gumbo>0:www/p5-HTML-Gumbo \ p5-HTML-Mason-PSGIHandler>=0.52:www/p5-HTML-Mason-PSGIHandler \ p5-HTML-Mason>=1.43:www/p5-HTML-Mason \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-HTML-Quoted>0:textproc/p5-HTML-Quoted \ p5-HTML-RewriteAttributes>=0.05:textproc/p5-HTML-RewriteAttributes \ p5-HTML-Scrubber>=0.08:www/p5-HTML-Scrubber \ p5-HTTP-Message>=6.07:www/p5-HTTP-Message \ p5-IPC-Run3>0:devel/p5-IPC-Run3 \ p5-JavaScript-Minifier-XS>=0:textproc/p5-JavaScript-Minifier-XS \ p5-JSON>0:converters/p5-JSON \ p5-libwww>0:www/p5-libwww \ p5-List-MoreUtils>0:lang/p5-List-MoreUtils \ p5-Locale-Maketext-Fuzzy>=0.11:devel/p5-Locale-Maketext-Fuzzy \ p5-Locale-Maketext-Lexicon>=0.32:devel/p5-Locale-Maketext-Lexicon \ p5-Log-Dispatch>=2.30:devel/p5-Log-Dispatch \ p5-MIME-Tools>=5.504,2:mail/p5-MIME-Tools \ p5-MIME-Types>=0:mail/p5-MIME-Types \ p5-Mail-Tools>=2.12:mail/p5-Mail-Tools \ p5-Module-Refresh>=0.03:devel/p5-Module-Refresh \ p5-Module-Runtime>0:devel/p5-Module-Runtime \ p5-Module-Versions-Report>=1.05:devel/p5-Module-Versions-Report \ p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \ p5-Plack>=1.0002:www/p5-Plack \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ p5-Starlet>0:www/p5-Starlet \ p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \ p5-Regexp-Common>0:textproc/p5-Regexp-Common \ p5-Regexp-IPv6>0:textproc/p5-Regexp-IPv6 \ p5-Role-Basic>=0.12:devel/p5-Role-Basic \ p5-Scope-Upper>=0.06:devel/p5-Scope-Upper \ p5-Symbol-Global-Name>=0.05:devel/p5-Symbol-Global-Name \ p5-Text-Password-Pronounceable>0:security/p5-Text-Password-Pronounceable \ p5-Text-Quoted>=2.07:textproc/p5-Text-Quoted \ p5-Text-Template>=1.44:textproc/p5-Text-Template \ p5-Text-WikiFormat>=0.76:textproc/p5-Text-WikiFormat \ p5-Text-WordDiff>0:textproc/p5-Text-WordDiff \ p5-Text-Wrapper>0:textproc/p5-Text-Wrapper \ p5-Time-modules>0:devel/p5-Time-modules \ p5-Tree-Simple>=1.04:devel/p5-Tree-Simple \ p5-URI>=1.59:net/p5-URI \ p5-XML-RSS>=1.05:textproc/p5-XML-RSS ### --- MAILGATE --- ### Getopt::Long perl std ### LWP::Protocol::https ### LWP::UserAgent 6.02 ### Mozilla::CA ### Pod::Usage perl std MAILGATE_DEPS= p5-libwww>6.02:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ p5-Mozilla-CA>0:www/p5-Mozilla-CA ### --- CLI --- ### Getopt::Long 2.24 perl std ### HTTP::Request::Common ### LWP 6.02 ### Term::ReadKey ### Term::ReadLine perl std ### Text::ParseWords perl std CLI_DEPS= p5-HTTP-Message>0:www/p5-HTTP-Message \ p5-libwww>0:www/p5-libwww \ p5-Term-ReadKey>0:devel/p5-Term-ReadKey ### --- REST2 --- ### Module::Runtime ### Moose ### MooseX::NonMoose ### MooseX::Role::Parameterized ### namespace::autoclean ### Sub::Exporter ### Web::Machine 0.12 ### Module::Path ### Path::Dispatcher 1.07 REST2_DEPS= p5-Module-Runtime>0:devel/p5-Module-Runtime \ p5-Moose>0:devel/p5-Moose \ p5-MooseX-NonMoose>0:devel/p5-MooseX-NonMoose \ p5-MooseX-Role-Parameterized>0:devel/p5-MooseX-Role-Parameterized \ p5-namespace-autoclean>0:devel/p5-namespace-autoclean \ p5-Sub-Exporter>0:devel/p5-Sub-Exporter \ p5-Web-Machine>=0.12:www/p5-Web-Machine \ p5-Module-Path>0:devel/p5-Module-Path \ p5-Path-Dispatcher>0:devel/p5-Path-Dispatcher ### --- DEVELOPER --- ### Email::Abstract ### File::Find perl std ### File::Which ### HTML::Entities ### Locale::PO ### Log::Dispatch::Perl ### Mojolicious != 8.54 ### Plack::Middleware::Test::StashWarnings 0.08 ### Pod::Simple 3.24 ### Set::Tiny ### String::ShellQuote ### Test::Builder 0.90 perl std ### Test::Deep ### Test::Email ### Test::Expect 0.31 ### Test::LongString ### Test::MockTime ### Test::MockTime::HiRes ### Test::NoWarnings ### Test::Pod ### Test::Warn ### Test::WWW::Mechanize 1.30 ### Test::WWW::Mechanize::PSGI ### Try::Tiny ### WWW::Mechanize 1.80 ### XML::Simple DEVELOPER_DEPS= p5-Email-Abstract>0:mail/p5-Email-Abstract \ p5-File-Which>0:sysutils/p5-File-Which \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-Locale-PO>0:devel/p5-Locale-PO \ p5-Log-Dispatch-Perl>0:devel/p5-Log-Dispatch-Perl \ p5-Mojolicious>0:www/p5-Mojolicious \ p5-Plack-Middleware-Test-StashWarnings>=0.08:www/p5-Plack-Middleware-Test-StashWarnings \ p5-Set-Tiny>0:devel/p5-Set-Tiny \ p5-String-ShellQuote>0:textproc/p5-String-ShellQuote \ p5-Test-Deep>0:devel/p5-Test-Deep \ p5-Test-Email>0:mail/p5-Test-Email \ p5-Test-Expect>=0.31:devel/p5-Test-Expect \ p5-Test-LongString>0:devel/p5-Test-LongString \ p5-Test-MockTime>0:devel/p5-Test-MockTime \ p5-Test-MockTime-HiRes>0:devel/p5-Test-MockTime-HiRes \ p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings \ p5-Test-Pod>0:devel/p5-Test-Pod \ p5-Test-WWW-Mechanize-PSGI>0:devel/p5-Test-WWW-Mechanize-PSGI \ p5-Test-WWW-Mechanize>=1.30:devel/p5-Test-WWW-Mechanize \ p5-Test-Warn>0:devel/p5-Test-Warn \ p5-Try-Tiny>0:lang/p5-Try-Tiny \ p5-WWW-Mechanize>=1.80:www/p5-WWW-Mechanize \ p5-XML-Simple>0:textproc/p5-XML-Simple ### --- FASTCGI --- ### FCGI 0.74 FASTCGI_DEPS= p5-FCGI>=0.74:www/p5-FCGI ### --- MODPERL2 --- ### Apache::DBI MODPERL2_DEPS= p5-libapreq2>0:www/p5-libapreq2 \ p5-Apache-DBI>0:www/p5-Apache-DBI ### --- MYSQL --- ### DBD::mysql 2.1018 -MYSQL_DEPS= p5-DBD-mysql>=2.1018:databases/p5-DBD-mysql +MYSQL_DEPS= ${DBD_MYSQL} ### --- PGSQL --- ### DBD::Pg 1.43 PGSQL_DEPS= p5-DBD-Pg>=1.43:databases/p5-DBD-Pg ### --- SQLITE --- ### DBD::SQLite 1.72 SQLITE_DEPS= p5-DBD-SQLite>=1.72:databases/p5-DBD-SQLite ### --- GPG --- ### File::Which ### GnuPG::Interface 1.00 ### PerlIO::eol GPG_DEPS= p5-File-Which>0:sysutils/p5-File-Which \ p5-GnuPG-Interface>=1.00:security/p5-GnuPG-Interface \ p5-PerlIO-eol>0:devel/p5-PerlIO-eol ### --- SMIME--- ### Crypt::X509 ### File::Which ### String::ShellQuote SMIME_DEPS= p5-Crypt-X509>0:security/p5-Crypt-X509 \ p5-File-Which>0:sysutils/p5-File-Which \ p5-String-ShellQuote>0:textproc/p5-String-ShellQuote ### --- GRAPHVIZ --- ### GraphViz2 ### IPC::Run 0.90 GRAPHVIZ_DEPS= p5-GraphViz2>0:graphics/p5-GraphViz2 \ p5-IPC-Run>=0.90:devel/p5-IPC-Run ### -- GD -- ### GD ### GD::Graph 1.56 ### GD::Text GD_DEPS= p5-GD>0:graphics/p5-GD \ p5-GD-Graph>=1.56:graphics/p5-GD-Graph \ p5-GD-TextUtil>0:graphics/p5-GD-TextUtil ### --- EXTERNALAUTH --- # XXX p5-Net-LDAP-Server-Test>0:net/p5-Net-LDAP-Server-Test DEVELOPER EXTERNALAUTH_DEPS= p5-Net-SSLeay>0:security/p5-Net-SSLeay \ p5-perl-ldap>0:net/p5-perl-ldap ### --- S3 --- # no port available # https://metacpan.org/pod/Amazon::S3 ### --- DROPBOX --- # no port available # https://metacpan.org/pod/File::Dropbox diff --git a/www/squid/Makefile b/www/squid/Makefile index 1075ddc89314..fa060c398b4c 100644 --- a/www/squid/Makefile +++ b/www/squid/Makefile @@ -1,293 +1,294 @@ PORTNAME= squid DISTVERSION= 6.8 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www2.pl.squid-cache.org/Versions/v6/ \ http://www1.il.squid-cache.org/Versions/v6/ \ http://www2.gr.squid-cache.org/Versions/v6/ \ http://ca2.squid-cache.org/Versions/v6/ \ http://www.squid-cache.org/Versions/v6/ PATCH_SITES= http://www2.pl.squid-cache.org/%SUBDIR%/ \ http://www1.il.squid-cache.org/%SUBDIR%/ \ http://www2.gr.squid-cache.org/%SUBDIR%/ \ http://ca2.squid-cache.org/%SUBDIR%/ \ http://www.squid-cache.org/%SUBDIR%/ PATCH_SITE_SUBDIR= Versions/v6/changesets MAINTAINER= timp87@gmail.com COMMENT= HTTP Caching Proxy WWW= http://www.squid-cache.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib cpe gmake localbase:ldflags perl5 shebangfix tar:xz CONFLICTS= squid-devel CPE_VENDOR= squid-cache SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_RC_SUBR= squid USERS= squid GROUPS= squid MYDOCS= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt PORTDOCS= ${MYDOCS:T} PORTEXAMPLES= * SUB_FILES+= pkg-install pkg-message OPTIONS_SUB= yes OPTIONS_GROUP= AUTH OPTIONS_RADIO= FW OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF OPTIONS_DEFINE= ARP_ACL TDB CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \ FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP SSL SSL_CRTD \ STACKTRACES VIA_DB WCCP WCCPV2 OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS \ FS_DISKD FS_ROCK GSSAPI_BASE HTCP ICAP ICMP IDENT KQUEUE \ LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP \ WCCPV2 ARP_ACL_CONFIGURE_ENABLE= eui AUTH_LDAP_CONFIGURE_WITH= ldap AUTH_LDAP_USES= ldap AUTH_LDAP_VARS= BASIC_AUTH+=LDAP DIGEST_AUTH+="eDirectory LDAP" EXTERNAL_ACL+="LDAP_group eDirectory_userip" AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 AUTH_SASL_VARS= BASIC_AUTH+=SASL AUTH_SMB_USES= samba:run AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session TDB_CONFIGURE_WITH= tdb TDB_LIB_DEPENDS= libtdb.so:databases/tdb TDB_VARS= EXTERNAL_ACL+="time_quota session" CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests DELAY_POOLS_CONFIGURE_ENABLE= delay-pools ECAP_CONFIGURE_ENABLE= ecap ECAP_LIB_DEPENDS= libecap.so:www/libecap ECAP_USES= pkgconfig:build ESI_CONFIGURE_ENABLE= esi ESI_CONFIGURE_WITH= expat xml2 ESI_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libxml2.so:textproc/libxml2 FOLLOW_XFF_CONFIGURE_ENABLE= follow-x-forwarded-for HTCP_CONFIGURE_ENABLE= htcp ICAP_CONFIGURE_ENABLE= icap-client ICMP_CONFIGURE_ENABLE= icmp IDENT_CONFIGURE_ENABLE= ident-lookups IPV6_CONFIGURE_ENABLE= ipv6 KQUEUE_CONFIGURE_ENABLE= kqueue LARGEFILE_CONFIGURE_WITH= large-files LAX_HTTP_CONFIGURE_ENABLE= http-violations FS_AUFS_VARS= STORAGE_SCHEMES+=aufs DISKIO_MODULES+=DiskThreads # Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS, # e.g. SQUID_CONFIGURE_ARGS=--with-aufs-threads=N FS_AUFS_LDFLAGS= -pthread FS_AUFS_CONFIGURE_WITH= pthreads FS_DISKD_VARS= STORAGE_SCHEMES+=diskd DISKIO_MODULES+=DiskDaemon FS_ROCK_VARS= STORAGE_SCHEMES+=rock NETTLE_LIB_DEPENDS= libnettle.so:security/nettle NETTLE_CONFIGURE_WITH= nettle SNMP_CONFIGURE_ENABLE= snmp SSL_CONFIGURE_ENABLE= ssl SSL_CONFIGURE_ON= --with-openssl \ --enable-security-cert-generators="file" \ LIBOPENSSL_CFLAGS=-I${OPENSSLINC} \ LIBOPENSSL_LIBS="-lcrypto -lssl" SSL_USES= ssl SSL_CRTD_CONFIGURE_ENABLE= ssl-crtd SSL_CRTD_IMPLIES= SSL STACKTRACES_CONFIGURE_ENABLE= stacktraces STACKTRACES_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gen-stacktrace STACKTRACES_LIB_DEPENDS= libunwind.so:devel/libunwind STACKTRACES_CFLAGS= -g STACKTRACES_LDFLAGS= -lunwind STACKTRACES_VARS= STRIP="" TP_IPFW_CONFIGURE_ENABLE= ipfw-transparent TP_IPF_CONFIGURE_ENABLE= ipf-transparent TP_PF_CONFIGURE_ENABLE= pf-transparent TP_PF_CONFIGURE_WITH= nat-devpf VIA_DB_CONFIGURE_ENABLE= forw-via-db WCCPV2_CONFIGURE_ENABLE= wccpv2 WCCP_CONFIGURE_ENABLE= wccp GSSAPI_NONE_CONFIGURE_ON= --without-heimdal-krb5 \ --without-mit-krb5 \ --without-gnugss GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} \ ${GSSAPI_CONFIGURE_ARGS} \ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config GSSAPI_BASE_PLIST_SUB= AUTH_KERB="" GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= --with-heimdal-krb5=${GSSAPIBASEDIR} \ ${GSSAPI_CONFIGURE_ARGS} \ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config GSSAPI_HEIMDAL_PLIST_SUB= AUTH_KERB="" GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --with-mit-krb5=${GSSAPIBASEDIR} \ ${GSSAPI_CONFIGURE_ARGS} \ krb5_config=${GSSAPIBASEDIR}/bin/krb5-config GSSAPI_MIT_PLIST_SUB= AUTH_KERB="" ARP_ACL_DESC= ARP/MAC/EUI based authentification AUTH_DESC= Authentication helpers AUTH_LDAP_DESC= Install LDAP authentication helpers AUTH_NIS_DESC= Install NIS/YP authentication helpers AUTH_SASL_DESC= Install SASL authentication helpers AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) AUTH_SQL_DESC= Install SQL based auth TDB_DESC= TrivialDB support required for session and time quota external helpers CACHE_DIGESTS_DESC= Use cache digests DEBUG_DESC= Build with extended debugging support DELAY_POOLS_DESC= Delay pools (bandwidth limiting) ECAP_DESC= Loadable content adaptation modules ESI_DESC= ESI support FOLLOW_XFF_DESC= Support for the X-Following-For header FS_AUFS_DESC= AUFS (threaded-io) support FS_DISKD_DESC= DISKD storage engine controlled by separate service FS_ROCK_DESC= ROCK storage engine HTCP_DESC= HTCP support ICAP_DESC= the ICAP client ICMP_DESC= ICMP pinging and network measurement IDENT_DESC= Ident lookups (RFC 931) KQUEUE_DESC= Kqueue(2) support LARGEFILE_DESC= Support large (>2GB) cache and log files NETTLE_DESC= Nettle MD5 algorithm support SNMP_DESC= SNMP support SSL_CRTD_DESC= Use ssl_crtd to handle SSL cert requests SSL_DESC= SSL gatewaying support STACKTRACES_DESC= Enable automatic backtraces on fatal errors LAX_HTTP_DESC= Do not enforce strict HTTP compliance TP_IPFW_DESC= Transparent proxying with IPFW TP_IPF_DESC= Transparent proxying with IPFilter TP_PF_DESC= Transparent proxying with PF VIA_DB_DESC= Forward/Via database WCCPV2_DESC= Web Cache Coordination Protocol v2 WCCP_DESC= Web Cache Coordination Protocol change_files= ChangeLog \ errors/Makefile.am \ errors/Makefile.in \ src/auth/basic/SMB_LM/README.html \ src/Makefile.am \ src/Makefile.in \ src/cf_gen.cc \ src/squid.8.in \ test-suite/Makefile.in \ tools/Makefile.am \ tools/Makefile.in .if !defined(SQUID_CONFIGURE_ARGS) \ || ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == "" PLIST_SUB+= UNLINKD="" .else PLIST_SUB+= UNLINKD="@comment " .endif CONFIGURE_ARGS= --with-default-user=squid \ --bindir=${PREFIX}/sbin \ --sbindir=${PREFIX}/sbin \ --datadir=${ETCDIR} \ --libexecdir=${PREFIX}/libexec/squid \ --localstatedir=/var \ --sysconfdir=${ETCDIR} \ --with-logdir=/var/log/squid \ --with-pidfile=/var/run/squid/squid.pid \ --with-swapdir=/var/squid/cache \ --without-gnutls \ --with-included-ltdl \ --enable-build-info \ --enable-removal-policies="lru heap" \ --disable-epoll \ --disable-arch-native \ --disable-strict-error-checking \ --without-systemd \ --without-netfilter-conntrack \ --without-cap .include # Authentication methods and modules: BASIC_AUTH+= DB NCSA PAM POP3 RADIUS SMB_LM fake getpwnam DIGEST_AUTH+= file EXTERNAL_ACL+= file_userip unix_group delayer # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) BASIC_AUTH+= NIS .endif # POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: .if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || defined(WITHOUT_KERBEROS) NEGOTIATE_AUTH= none PLIST_SUB+= AUTH_KERB="@comment " .else # The kerberos_ldap_group external helper also depends on LDAP and SASL: # The kerberos_sid_group external helper depends on kerberos_ldap_group meanwhile . if ${PORT_OPTIONS:MAUTH_LDAP} && ${PORT_OPTIONS:MAUTH_SASL} EXTERNAL_ACL+= kerberos_ldap_group kerberos_sid_group . endif NEGOTIATE_AUTH= kerberos wrapper .endif # Storage schemes: STORAGE_SCHEMES+= ufs DISKIO_MODULES+= AIO Blocking IpcIo Mmapped CONFIGURE_ARGS+= --enable-auth-basic="${BASIC_AUTH}" \ --enable-auth-digest="${DIGEST_AUTH}" \ --enable-auth-negotiate="${NEGOTIATE_AUTH}" \ --enable-auth-ntlm="fake SMB_LM" \ --enable-log-daemon-helpers="file DB" \ --enable-external-acl-helpers="${EXTERNAL_ACL}" \ --enable-url-rewrite-helpers="fake LFS" \ --enable-security-cert-validators="fake" \ --enable-storeid-rewrite-helpers="file" \ --enable-storeio="${STORAGE_SCHEMES}" \ --enable-disk-io="${DISKIO_MODULES}" \ # Other options set via 'make config': .if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG) CONFIGURE_ARGS+= --disable-optimizations WITH_DEBUG?= yes .endif # Finally, add additional user specified configuration options: CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} post-patch: @(cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|\.conf\.default|.conf.sample|' \ -e 's|)\.default|).sample|' \ ${change_files}) @(cd ${WRKSRC} && ${MV} src/mime.conf.default src/mime.conf.sample) post-patch-IPV6-off: @${REINPLACE_CMD} -E -e's| ::1$$||' -e's| ::1?/128||g' \ -e'/acl localnet src f[ce][08]0::/d' \ -e's| 2001:DB8::[^[:space:]]+$$||' \ -e'/tcp_outgoing_address 2001:db8::/d' \ ${WRKSRC}/src/cf.data.pre post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/src/auth/basic/DB/passwd.sql \ ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${MYDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/squid/files/pkg-message.in b/www/squid/files/pkg-message.in index 4b78eb8e599d..2d7f114cdf51 100644 --- a/www/squid/files/pkg-message.in +++ b/www/squid/files/pkg-message.in @@ -1,56 +1,57 @@ [ { type: install message: <