diff --git a/archivers/pear-File_Archive/Makefile b/archivers/pear-File_Archive/Makefile index 843cad967a33..3519e4754949 100644 --- a/archivers/pear-File_Archive/Makefile +++ b/archivers/pear-File_Archive/Makefile @@ -1,27 +1,27 @@ PORTNAME= File_Archive PORTVERSION= 1.5.5 CATEGORIES= archivers www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class to manipulate tar, gz, tgz, bz2, tbz, zip, ar (deb) files WWW= https://pear.php.net/package/File_Archive LICENSE= LGPL3 RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}MIME_Type>=0:mail/pear-MIME_Type@${PHP_FLAVOR} USES= pear -USE_PHP= bz2 pcre zlib +USE_PHP= bz2 zlib NO_ARCH= yes OPTIONS_DEFINE= PEAR_CACHE_LITE PEAR_MAIL PEAR_MAIL_MIME PEAR_CACHE_LITE_DESC= PEAR::Cache_Lite support PEAR_MAIL_DESC= PEAR::Mail support PEAR_MAIL_MIME_DESC= PEAR::Mail_Mime support PEAR_CACHE_LITE_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Cache_Lite>=1.5.0:sysutils/pear-Cache_Lite@${PHP_FLAVOR} PEAR_MAIL_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Mail>=0:mail/pear-Mail@${PHP_FLAVOR} PEAR_MAIL_MIME_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Mail_Mime>=0:mail/pear-Mail_Mime@${PHP_FLAVOR} .include diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile index e7c380eb5444..cf47a51b4001 100644 --- a/archivers/pecl-rar/Makefile +++ b/archivers/pecl-rar/Makefile @@ -1,21 +1,20 @@ PORTNAME= rar PORTVERSION= 4.2.0 PORTREVISION= 1 CATEGORIES= archivers pear MAINTAINER= fluffy@FreeBSD.org COMMENT= PECL extension to create and read RAR files WWW= https://pecl.php.net/package/rar LICENSE= PHP301 DEPRECATED= Requires php80 which is set to expire on 2023-11-26 EXPIRATION_DATE= 2023-12-31 -USES= compiler:c11 php:pecl -USE_PHP= spl:build +USES= compiler:c11 php:build,pecl IGNORE_WITH_PHP= 81 82 CONFIGURE_ARGS= --enable-rar .include diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile index afa502269498..61e671212b91 100644 --- a/audio/ampache/Makefile +++ b/audio/ampache/Makefile @@ -1,51 +1,51 @@ PORTNAME= ampache PORTVERSION= 5.5.7 PORTREVISION= 1 DISTVERSIONSUFFIX= _all CATEGORIES= audio www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= crees@FreeBSD.org COMMENT= Web-based Audio file manager WWW= https://ampache.org/ LICENSE= AGPLv3+ USES= cpe zip gettext php:flavors mysql -USE_PHP= pdo pdo_mysql hash session json intl simplexml curl dom xml +USE_PHP= pdo pdo_mysql session intl simplexml curl dom xml CONFLICTS_INSTALL= ampache-php* # etc/periodic/daily/500.ampache-cron man/man1/ampache.1.gz NO_WRKSUBDIR= yes NO_BUILD= yes SUB_FILES= 500.ampache-cron SUB_LIST= WWWOWN="${WWWOWN}" PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" OPTIONS_DEFINE= DOCS post-patch: .for h in channel play rest ${REINPLACE_CMD} 's,[[:space:]]*RewriteRule [^[:space:]]*[[:space:]],&/ampache,' \ ${WRKSRC}/public/$h/.htaccess.dist .endfor ${REINPLACE_CMD} 's,^;web_path = "",web_path = "/${PORTNAME}",' \ ${WRKSRC}/config/ampache.cfg.php.dist do-build: ${MKDIR} ${WRKSRC}/src do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} for f in $$(${FIND} ${WRKSRC} -name .htaccess); do \ ${MV} $$f $$f.dist; \ done (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not -regex ^./man.*') (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} '-not -regex ^./docs.* -a -not -name *.bak') ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/500.ampache-cron ${STAGEDIR}${PREFIX}/etc/periodic/daily/ .include diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile index 4a13952412b4..63d07224ef1f 100644 --- a/benchmarks/phoronix-test-suite/Makefile +++ b/benchmarks/phoronix-test-suite/Makefile @@ -1,75 +1,69 @@ PORTNAME= phoronix-test-suite DISTVERSIONPREFIX= v DISTVERSION= 10.8.4 CATEGORIES= benchmarks PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= pizzamig@FreeBSD.org COMMENT= Phoronix Benchmarking Suite WWW= https://www.phoronix-test-suite.com LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= sudo:security/sudo \ bash:shells/bash USES= php:cli,build,flavors python shebangfix USE_GITHUB= yes -USE_PHP= curl dom gd openssl pcntl posix simplexml zip zlib +USE_PHP= curl dom gd pcntl posix simplexml zip zlib NO_BUILD= yes PORTDATA= * PORTDOCS= * NO_ARCH= yes SHEBANG_FILES= ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/install.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/interim.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/pre.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/post.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/install.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/interim.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/pre.sh \ ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/post.sh \ ob-cache/test-profiles/pts/csgo-1.5.1/pre_linux.sh \ ob-cache/test-profiles/pts/dota2-1.2.2/pre_linux.sh \ ob-cache/test-profiles/pts/portal-1.1.1/pre_linux.sh \ deploy/docker/ubuntu-pts-docker-build.sh CONFLICTS_INSTALL= phoronix-test-suite-php[0-9][0-9] # bin/phoronix-test-suite OPTIONS_DEFINE= BASH_COMPLETIONS DOCS X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes BASH_COMPLETIONS_DESC= Install bash completions BASH_COMPLETIONS_CONFIGURE_ON= WITH_BASH_COMPLETIONS=yes X11_DESC= Install X11 icons and mimetypes X11_USES= desktop-file-utils shared-mime-info X11_CONFIGURE_OFF= WITHOUT_X11=yes -.include - -.if ${FLAVOR} != php80 -USE_PHP+= json -.endif - post-patch: @${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \ ${WRKSRC}/phoronix-test-suite \ ${WRKSRC}/pts-core/commands/ob_test_profile_analyze.php \ ${WRKSRC}/pts-core/pts-core.php \ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php \ ${WRKSRC}/pts-core/objects/client/pts_external_dependencies.php \ ${WRKSRC}/pts-core/objects/client/pts_client.php \ ${WRKSRC}/pts-core/objects/phodevi/components/phodevi_system.php @${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \ s|/usr/X11/lib|${LOCALBASE}/lib|" \ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php @${SED} -i '' -e "/fpdf.php/s|/usr/share/php|${PREFIX}/share|" \ ${WRKSRC}/pts-core/objects/pts_pdf_template.php do-install: (cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX}) -.include +.include diff --git a/comms/atslog/Makefile b/comms/atslog/Makefile index 132fc19a56c0..1e2a558b58f4 100644 --- a/comms/atslog/Makefile +++ b/comms/atslog/Makefile @@ -1,113 +1,112 @@ PORTNAME= atslog PORTVERSION= 2.1.1 PORTREVISION= 8 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 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} -USE_PHP= pcre 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}${MANPREFIX}/man/man8 @${MKDIR} ${STAGEDIR}${MANPREFIX}/man/ru.KOI8-R/man8 .for i in ${USE_RC_SUBR} ${PORTNAME}master ${INSTALL_MAN} ${WRKSRC}/man/en/${i}.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/man/ru.KOI8-R/${i}.8 ${STAGEDIR}${MANPREFIX}/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/adodb5/Makefile b/databases/adodb5/Makefile index 2423e7cd68a3..af05d3ccb44e 100644 --- a/databases/adodb5/Makefile +++ b/databases/adodb5/Makefile @@ -1,56 +1,55 @@ PORTNAME= adodb PORTVERSION= 5.22.4 DISTVERSIONPREFIX= v CATEGORIES= databases www PKGNAMESUFFIX= 5${PHP_PKGNAMESUFFIX} MAINTAINER= fluffy@FreeBSD.org COMMENT= Database library for PHP WWW= http://adodb.org/ LICENSE= BSD3CLAUSE LGPL21+ LICENSE_COMB= dual USES= cpe php:flavors CPE_VENDOR= ${PORTNAME}_project -USE_PHP= pcre USE_GITHUB= yes GH_PROJECT= ADOdb CONFLICTS_INSTALL= adodb5-php[0-9][0-9] # share/adodb/adodb-active-record.inc.php NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message ADODB_SUBDIRS= datadict drivers lang pear perf session xsl OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes # 5.21.0 have not contains test suite #TESTS_DESC= Install tests do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${FIND} ${ADODB_SUBDIRS} -type d \ -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \; cd ${WRKSRC} && ${FIND} . ! -path './*/*' -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \; cd ${WRKSRC} && ${FIND} ${ADODB_SUBDIRS} -type f \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \; #do-install-TESTS-on: # @${MKDIR} ${STAGEDIR}${DATADIR}/tests # cd ${WRKSRC} && ${FIND} tests -type f \ # -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \; do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${FIND} . ! -path './*/*' -type f -name '*.txt' \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR} \; cd ${WRKSRC} && ${FIND} docs -type f \ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR} \; .include diff --git a/databases/dalmp/Makefile b/databases/dalmp/Makefile index e00afee564e0..b73a5e3237d1 100644 --- a/databases/dalmp/Makefile +++ b/databases/dalmp/Makefile @@ -1,26 +1,26 @@ PORTNAME= dalmp PORTVERSION= 3.1.0 CATEGORIES= databases MAINTAINER= nbari@tequila.io COMMENT= Database Abstraction Layer for MySQL using PHP WWW= https://docs.dalmp.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_GITHUB= yes GH_ACCOUNT= nbari GH_PROJECT= ${PORTNAME:tu} USES= php NO_BUILD= yes NO_ARCH= yes -USE_PHP= pcre mysqli session memcache sqlite3 curl redis +USE_PHP= mysqli session memcache sqlite3 curl redis do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/databases/mantis/Makefile b/databases/mantis/Makefile index 7fa8ce06e469..466c346a3a5f 100644 --- a/databases/mantis/Makefile +++ b/databases/mantis/Makefile @@ -1,104 +1,104 @@ PORTNAME= mantis PORTVERSION= 2.25.6 PORTEPOCH= 1 CATEGORIES= databases www MASTER_SITES= SF/mantisbt/mantis-stable/${PORTVERSION} PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= mantisbt-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= zab@zltech.eu COMMENT= Bug tracking system written in PHP WWW= https://www.mantisbt.org/ LICENSE= GPLv2 USES= php:flavors USE_GITHUB= nodefault -USE_PHP= fileinfo filter hash json mbstring pcre session xml +USE_PHP= fileinfo filter mbstring session xml DATADIR= ${WWWDIR} NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message PLIST_FILES= ${WWWDIR}/.imgbotconfig PORTDATA= * OPTIONS_DEFAULT= ${OPTIONS_GROUP_PLUGINS} MYSQL OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= ACTIVITY ANNOUNCE COLORIZED CUSTOMREPORTER EMAILREP \ EVENTLOG FLTBUGLST GAUGE JQUERYCHOSEN JQUERYUI LIGHTBOX \ PIWIK SAMPLEAUTH SI SLACK SNIPPETS TASKODROME \ TIMETRACKING OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL OPTIONS_SUB= yes ACTIVITY_DESC= Shows bug notes by creation date ANNOUNCE_DESC= Announcements COLORIZED_DESC= Colorized Theme CUSTOMREPORTER_DESC= Allow the selection of a Reporter from a list EMAILREP_DESC= Allow to report an issue by sending an email EVENTLOG_DESC= Allow MantisBT components to log data FLTBUGLST_DESC= Allow to filter by a set of bug IDs GAUGE_DESC= Voting for tickets JQUERYCHOSEN_DESC= Support the Library Chosen to MantisBT JQUERYUI_DESC= jQuery UI library + Combobox LIGHTBOX_DESC= Plugin to open attachments using Lightbox PIWIK_DESC= Paste print screens directly SAMPLEAUTH_DESC= A sample authentication plugin SI_DESC= Source control integration SLACK_DESC= Slack integration SNIPPETS_DESC= Text snippets that can be pasted into text fields TASKODROME_DESC= Interactive scrum board TIMETRACKING_DESC= Time Tracking ACTIVITY_GH_TUPLE= mantisbt-plugins:Activity:2b1e3da2243613ebd13878501cfdcd9422cf4d4b:activity/plugins/Activity ANNOUNCE_GH_TUPLE= mantisbt-plugins:Announce:v2.4.3:announce/plugins/Announce COLORIZED_GH_TUPLE= mantisbt-plugins:MantisBT-Colorized:f43dc4cc36e8851f8df1797116f904ccf5f1689d:colorized/css/themes/colorized CUSTOMREPORTER_GH_TUPLE= mantisbt-plugins:CustomReporter:v2.0.0:customreporter/plugins/CustomReporter EMAILREP_GH_TUPLE= mantisbt-plugins:EmailReporting:EmailReporting_0.10.1:emailrep/plugins/EmailReporting EVENTLOG_GH_TUPLE= mantisbt-plugins:EventLog:74fd03cf85a32088a0206bc73bb14ddbd148aed2:eventlog/plugins/EventLog FLTBUGLST_GH_TUPLE= mantisbt-plugins:FilterBugList:v2.1.0:fltbuglist/plugins/FilterBugList GAUGE_GH_TUPLE= mantisbt-plugins:GaugeSupport:9bd7e7dd1f496d28ee7ad2d831db3a276f996054:gauge/plugins/GaugeSupport JQUERYCHOSEN_GH_TUPLE= mantisbt-plugins:JqueryChosen:dc305e987ea3693bb92d22545ba23f3fc44d04c3:jquerychosen JQUERYUI_GH_TUPLE= mantisbt-plugins:jQuery-UI:ca77afa51166658b469dd11bfff7713485935bda:jqueryui LIGHTBOX_GH_TUPLE= mantisbt-plugins:Lightbox:f8220ba689378054ca433f718d909dc41a803def:lightbox/plugins/Lightbox MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql PIWIK_GH_TUPLE= mantisbt-plugins:piwik:a2dba46836bdc07a80b8040e889ba0606f97415e:piwik SAMPLEAUTH_GH_TUPLE= mantisbt-plugins:SampleAuth:34856715f49a5c273f33e094c759c0e0b52b3912:sampleauth/plugins/SampleAuth SI_USE= PHP=curl SI_GH_TUPLE= mantisbt-plugins:source-integration:v2.6.0:si SLACK_GH_TUPLE= mantisbt-plugins:Slack:v1.0.3:slack SNIPPETS_GH_TUPLE= mantisbt-plugins:Snippets:v2.4.1:snippets/plugins/Snippets TASKODROME_GH_TUPLE= mantisbt-plugins:Taskodrome:69577a62e7db1c50945b513616ca15db97eeb67f:taskodrome TIMETRACKING_GH_TUPLE= mantisbt-plugins:timetracking:3a560673d85e17651fc1994f5e09e2ae9df62336:timetracking post-extract-COLORIZED-on: @${MV} ${WRKSRC_colorized}/colorized.css ${WRKSRC_colorized}/default.css @${CP} ${WRKSRC_colorized}/assets/screenshot-1.png ${WRKSRC_colorized}/colorized.png post-extract-JQUERYCHOSEN-on: @${MV} ${WRKSRC_jquerychosen}/JqueryChosen ${WRKSRC}/plugins/ post-extract-JQUERYUI-on: @${MV} ${WRKSRC_jqueryui}/jQueryUI ${WRKSRC}/plugins/ post-extract-PIWIK-on: @${MV} ${WRKSRC_piwik}/Piwik ${WRKSRC}/plugins/ post-extract-SI-on: @${MV} ${WRKSRC_si}/Source* ${WRKSRC}/plugins post-extract-TASKODROME-on: @${MV} ${WRKSRC_taskodrome}/Taskodrome ${WRKSRC}/plugins/ post-extract-TIMETRACKING-on: @${MV} ${WRKSRC_timetracking}/TimeTracking ${WRKSRC}/plugins/ do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/databases/pear-Horde_Memcache/Makefile b/databases/pear-Horde_Memcache/Makefile index c8c1038ee1b1..44b886b9a6ad 100644 --- a/databases/pear-Horde_Memcache/Makefile +++ b/databases/pear-Horde_Memcache/Makefile @@ -1,13 +1,13 @@ PORTNAME= Horde_Memcache DISTVERSION= 2.1.2 CATEGORIES= databases www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Memcache API WWW= https://pear.horde.org USES= horde php -USE_PHP= memcache hash +USE_PHP= memcache USE_HORDE_RUN= Horde_Exception .include diff --git a/databases/pecl-couchbase/Makefile b/databases/pecl-couchbase/Makefile index 0f0adb1f2ea9..ec2524b9c987 100644 --- a/databases/pecl-couchbase/Makefile +++ b/databases/pecl-couchbase/Makefile @@ -1,18 +1,17 @@ PORTNAME= couchbase PORTVERSION= 4.1.2 CATEGORIES= databases MASTER_SITES= https://github.com/couchbase/couchbase-php-client/releases/download/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Couchbase Server PHP extension WWW= https://pecl.php.net/package/couchbase \ https://github.com/couchbase/couchbase-php-client LICENSE= APACHE20 BUILD_DEPENDS= cmake:devel/cmake-core USES= compiler:c++17-lang php:build,pecl -USE_PHP= json:build .include diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile index 221ae373880c..a3552dadcd2e 100644 --- a/databases/pecl-memcached/Makefile +++ b/databases/pecl-memcached/Makefile @@ -1,36 +1,36 @@ PORTNAME= memcached PORTVERSION= 3.2.0 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP extension for interfacing with memcached via libmemcached library WWW= https://pecl.php.net/package/memcached LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= libmemcached>=1.0.18:databases/libmemcached LIB_DEPENDS= libmemcached.so:databases/libmemcached -USES= php:pecl pkgconfig -USE_PHP= json:build session:build +USES= php:build,pecl pkgconfig +USE_PHP= session:build CONFIGURE_ARGS= --enable-memcached-json \ --enable-memcached-protocol \ --enable-memcached-session \ --with-libmemcached-dir=${LOCALBASE} OPTIONS_DEFINE= IGBINARY MSGPACK SASL OPTIONS_DEFAULT=SASL IGBINARY_DESC= Binary serializer support MSGPACK_DESC= MessagePack serializer support IGBINARY_CONFIGURE_ENABLE= memcached-igbinary IGBINARY_USE= PHP=igbinary:build MSGPACK_BUILD_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR} MSGPACK_CONFIGURE_ENABLE= memcached-msgpack MSGPACK_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR} SASL_CONFIGURE_ENABLE= memcached-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 .include diff --git a/databases/pecl-mongodb/Makefile b/databases/pecl-mongodb/Makefile index d506d7711289..d2049015a33b 100644 --- a/databases/pecl-mongodb/Makefile +++ b/databases/pecl-mongodb/Makefile @@ -1,15 +1,13 @@ PORTNAME= mongodb PORTVERSION= 1.15.1 CATEGORIES= databases pear MAINTAINER= pi@FreeBSD.org COMMENT= PECL classes for MongoDB WWW= https://docs.mongodb.org/ecosystem/drivers/php/ LICENSE= APACHE20 -USES= gmake php:pecl ssl -USE_PHP= spl:build -CFLAGS+= -I${LOCALBASE}/include +USES= gmake localbase php:build,pecl ssl .include diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile index 3b9b50c93bac..59c9120a5630 100644 --- a/databases/pecl-redis/Makefile +++ b/databases/pecl-redis/Makefile @@ -1,21 +1,21 @@ PORTNAME= redis PORTVERSION= 5.3.7 CATEGORIES= databases MAINTAINER= daniel@blodan.se COMMENT= Extension to access Redis WWW= https://pecl.php.net/package/redis LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/COPYING -USES= php:pecl -USE_PHP= hash:build json:build session:build +USES= php:build,pecl +USE_PHP= session:build OPTIONS_DEFINE= IGBINARY IGBINARY_DESC= Build with Igbinary serializer IGBINARY_CONFIGURE_ENABLE= redis-igbinary IGBINARY_USE= PHP=igbinary:build .include diff --git a/databases/pgfouine/Makefile b/databases/pgfouine/Makefile index 309c63790452..76980a3d820d 100644 --- a/databases/pgfouine/Makefile +++ b/databases/pgfouine/Makefile @@ -1,36 +1,36 @@ PORTNAME= pgfouine PORTVERSION= 1.2 CATEGORIES= databases MASTER_SITES= http://pgfoundry.org/frs/download.php/2575/ \ http://pgfouine.projects.postgresql.org/releases/ MAINTAINER= pea@raveland.org COMMENT= PostgreSQL log analyzer WWW= http://pgfouine.projects.postgresql.org/ USES+= php -NO_BUILD= Yes -USE_PHP= gd pcre +NO_BUILD= yes +USE_PHP= gd OPTIONS_DEFINE= DOCS pre-configure: ${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \ -e 's,!!PREFIX!!,${PREFIX},g' \ ${WRKSRC}/pgfouine.php ${WRKSRC}/pgfouine_vacuum.php ${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -r {} \; do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${STAGEDIR}${PREFIX}/bin/pgfouine ${INSTALL_SCRIPT} ${WRKSRC}/pgfouine_vacuum.php ${STAGEDIR}${PREFIX}/bin/pgfouine_vacuum ${MKDIR} ${STAGEDIR}${DATADIR}/include ${INSTALL_DATA} ${WRKSRC}/version.php ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/include/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/databases/phpminiadmin/Makefile b/databases/phpminiadmin/Makefile index 7a40be339371..d287f7cb6426 100644 --- a/databases/phpminiadmin/Makefile +++ b/databases/phpminiadmin/Makefile @@ -1,31 +1,31 @@ PORTNAME= phpminiadmin PORTVERSION= 1.9.170730 CATEGORIES= databases www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTNAME= ${PORTNAME} EXTRACT_SUFX= .php DIST_SUBDIR= ${PKGNAME} EXTRACT_ONLY= MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Lightweight alternative to phpMyAdmin WWW= http://phpminiadmin.sourceforge.net LICENSE= GPLv2 MIT LICENSE_COMB= dual NO_WRKSUBDIR= yes NO_BUILD= yes USES= cpe php CPE_VENDOR= ${PORTNAME}_project -USE_PHP= mysqli pcre session +USE_PHP= mysqli session NO_ARCH= yes PLIST_FILES= ${WWWDIR_REL}/phpminiadmin.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${DISTDIR}/${DIST_SUBDIR}/phpminiadmin.php \ ${STAGEDIR}${WWWDIR} .include diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile index 4fa070cd4c9f..c522bda70303 100644 --- a/databases/phpmyadmin/Makefile +++ b/databases/phpmyadmin/Makefile @@ -1,104 +1,99 @@ PORTNAME= phpMyAdmin DISTVERSION= 4.9.11 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= https://files.phpmyadmin.net/${PORTNAME}/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Set of PHP-scripts to manage MySQL over the web WWW= https://www.phpmyadmin.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= phpMyAdmin-php[0-9][0-9] phpMyAdmin[0-9]-php[0-9][0-9] # www/phpMyAdmin/CONTRIBUTING.md USES= cpe php:web,flavors tar:xz CPE_PRODUCT= ${PORTNAME:tl} NO_ARCH= yes NO_BUILD= yes .if !defined(WITHOUT_PHP_DEPENDS) # Note: composer.json files in the source list pcre as a required # extension, but pcre is compiled into PHP as standard on FreeBSD. # spl, libsodium are only required in the bundled vendor code. PMA # could, in principle, also use the PHP dbase extension, but it's not # available for PHP >= 7.0 and of only minority interest. -USE_PHP= ctype filter hash iconv json mysqli session spl xml +USE_PHP= ctype filter iconv mysqli session xml .endif # Note: default settings will pull in X11 client support. If you don't # want this, either turn off GD in the config dialog, or else turn off # FONTCONFIG in the graphics/gd port options. -OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL \ +OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE \ SODIUM ZIP ZLIB -OPTIONS_DEFAULT= BZ2 GD MBSTRING OPENSSL ZIP ZLIB +OPTIONS_DEFAULT= BZ2 GD MBSTRING ZIP ZLIB BZ2_DESC= PHP bzip2 library support CURL_DESC= PHP curl support GD_DESC= PHP GD library support (requires X11) GMP_DESC= PHP GMP library support MBSTRING_DESC= PHP Multi-byte String support OPCACHE_DESC= PHP Opcache support -OPENSSL_DESC= PHP OpenSSL support -PDF_DESC= PHP PDFlib support -SODIUM_DESC= PHP libsodium support (only available for PHP >= 7.2) +SODIUM_DESC= PHP libsodium support ZIP_DESC= PHP Zip compression support ZLIB_DESC= PHP ZLIB support .include GROUPS?= ${WWWGRP} CFG_FILE= config.inc.php PLIST= ${WRKDIR}/plist PLIST_SUB+= PMA_GRP=${GROUPS} SUB_LIST+= PKGNAME=${PKGNAME} \ CFG_FILE=${WWWDIR}/${CFG_FILE} SUB_FILES+= pkg-message -.if ${FLAVOR} != php80 -OPTIONS_DEFINE+= PDF -.endif - .if !defined(WITHOUT_PHP_DEPENDS) .for opt in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${opt}} USE_PHP+= ${opt:tl} . endif .endfor .endif .SILENT: post-patch: cd ${WRKSRC} ; \ ${CP} ${FILESDIR}/${CFG_FILE}.sample ${WRKSRC}/${CFG_FILE}.sample ; \ ${FIND} . ! -type d ! -name ${CFG_FILE}.sample ! -name '*.bak' | \ ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," >${PLIST} ; \ ${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \ for emptydir in $$( ${FIND} . -type d -empty -print | \ ${SED} -e "s,^\.,%%WWWDIR%%," ) ; do \ ${ECHO} "@dir $${emptydir}" >>${PLIST} ; \ done ; \ do-install: cd ${WRKSRC} ; \ for src in $$( ${FIND} . ! -name .cvsignore ! -name '*.bak' ) ; do \ dst=${STAGEDIR}${WWWDIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done @${MKDIR} ${STAGEDIR}${WWWDIR}/tmp .include diff --git a/databases/phpmyadmin5/Makefile b/databases/phpmyadmin5/Makefile index 0bb6d53ea821..fbf4f1dc15cc 100644 --- a/databases/phpmyadmin5/Makefile +++ b/databases/phpmyadmin5/Makefile @@ -1,104 +1,105 @@ PORTNAME= phpMyAdmin DISTVERSION= 5.2.1 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= https://files.phpmyadmin.net/${PORTNAME}/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages PKGNAMESUFFIX= 5${PHP_PKGNAMESUFFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Set of PHP-scripts to manage MySQL over the web WWW= https://www.phpmyadmin.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= phpMyAdmin-php[0-9][0-9] phpMyAdmin[0-9]-php[0-9][0-9] # www/phpMyAdmin/CONTRIBUTING.md USES= cpe php:web,flavors tar:xz CPE_PRODUCT= ${PORTNAME:tl} NO_ARCH= yes NO_BUILD= yes .if !defined(WITHOUT_PHP_DEPENDS) # Note: composer.json files in the source list pcre as a required # extension, but pcre is compiled into PHP as standard on FreeBSD. -# spl, libsodium are only required in the bundled vendor code. PMA +# The same goes for the spl library. +# libsodium are only required in the bundled vendor code. PMA # could, in principle, also use the PHP dbase extension, but it's not # available for PHP >= 7.0 and of only minority interest. -USE_PHP= ctype filter hash iconv json mysqli session spl xml xmlwriter +USE_PHP= ctype filter iconv mysqli session xml xmlwriter .endif # Note: default settings will pull in X11 client support. If you don't # want this, either turn off GD in the config dialog, or else turn off # FONTCONFIG in the graphics/gd port options. -OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL \ +OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE \ SODIUM ZIP ZLIB -OPTIONS_DEFAULT= BZ2 GD MBSTRING OPENSSL ZIP ZLIB +OPTIONS_DEFAULT= BZ2 GD MBSTRING ZIP ZLIB BZ2_DESC= PHP bzip2 library support CURL_DESC= PHP curl support GD_DESC= PHP GD library support (requires X11) GMP_DESC= PHP GMP library support MBSTRING_DESC= PHP Multi-byte String support OPCACHE_DESC= PHP Opcache support -OPENSSL_DESC= PHP OpenSSL support PDF_DESC= PHP PDFlib support -SODIUM_DESC= PHP libsodium support (only available for PHP >= 7.2) +SODIUM_DESC= PHP libsodium support ZIP_DESC= PHP Zip compression support ZLIB_DESC= PHP ZLIB support .include GROUPS?= ${WWWGRP} CFG_FILE= config.inc.php PLIST= ${WRKDIR}/plist PLIST_SUB+= PMA_GRP=${GROUPS} SUB_LIST+= PKGNAME=${PKGNAME} \ CFG_FILE=${WWWDIR}/${CFG_FILE} SUB_FILES+= pkg-message .if ${FLAVOR} != php80 OPTIONS_DEFINE+= PDF .endif .if !defined(WITHOUT_PHP_DEPENDS) .for opt in ${OPTIONS_DEFINE} . if ${PORT_OPTIONS:M${opt}} USE_PHP+= ${opt:tl} . endif .endfor .endif .SILENT: post-patch: cd ${WRKSRC} ; \ ${CP} ${FILESDIR}/${CFG_FILE}.sample ${WRKSRC}/${CFG_FILE}.sample ; \ ${FIND} . ! -type d ! -name ${CFG_FILE}.sample ! -name '*.bak' | \ ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," >${PLIST} ; \ ${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \ for emptydir in $$( ${FIND} . -type d -empty -print | \ ${SED} -e "s,^\.,%%WWWDIR%%," ) ; do \ ${ECHO} "@dir $${emptydir}" >>${PLIST} ; \ done ; \ do-install: cd ${WRKSRC} ; \ for src in $$( ${FIND} . ! -name .cvsignore ! -name '*.bak' ) ; do \ dst=${STAGEDIR}${WWWDIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done @${MKDIR} ${STAGEDIR}${WWWDIR}/tmp .include diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile index ea44d6341c22..c8106e8d8748 100644 --- a/databases/phppgadmin/Makefile +++ b/databases/phppgadmin/Makefile @@ -1,44 +1,44 @@ PORTNAME= phppgadmin PORTVERSION= 7.14.4 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -mod CATEGORIES= databases www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= dinoex@FreeBSD.org COMMENT= Web Based Postgres Administration WWW= https://github.com/ReimuHakurei/phpPgAdmin LICENSE= GPLv2 NO_ARCH= yes NO_BUILD= yes USES= cpe tar:bzip2 php:web,flavors shebangfix USE_GITHUB= yes GH_ACCOUNT= ReimuHakurei WRKSRC= ${WRKDIR}/phpPgAdmin-${DISTVERSION}${DISTVERSIONSUFFIX} .if !defined(WITHOUT_PHP_DEPENDS) -USE_PHP= pgsql pcre session mbstring +USE_PHP= pgsql session mbstring .endif CPE_VENDOR= phppgadmin_project SHEBANG_FILES= lang/synch PGADMDIR?= www/phpPgAdmin PLIST_SUB+= PGADMDIR=${PGADMDIR} pre-everything:: @${ECHO_CMD} "# you can customize the installation directory" @${ECHO_CMD} "# by setting PGADMDIR in /etc/make.conf" do-configure: ${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \ ${WRKSRC}/conf/config.inc.php-dist ${RM} ${WRKSRC}/conf/config.inc.php \ ${WRKSRC}/conf/config.inc.php-dist.bak do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PGADMDIR} ${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PGADMDIR}/ .include diff --git a/deskutils/moregroupware/Makefile b/deskutils/moregroupware/Makefile index f9f29375f8f5..a0ce79988bdb 100644 --- a/deskutils/moregroupware/Makefile +++ b/deskutils/moregroupware/Makefile @@ -1,40 +1,40 @@ PORTNAME= moregroupware PORTVERSION= 0.7.4 PORTREVISION= 3 CATEGORIES= deskutils www MASTER_SITES= SF DISTNAME= ${PORTNAME}-core-${PORTVERSION} MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= Web based GroupWare system WWW= http://moregroupware.sourceforge.net/ USES= gettext php:mod WANT_PGSQL= server # php extensions -USE_PHP= curl gd pcre session xml +USE_PHP= curl gd session xml SHAREOWN= ${WWWOWN} SHAREGRP= ${WWWGRP} NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= ADDONS NLS OPTIONS_DEFAULT= MYSQL OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL OPTIONS_SUB= yes ADDONS_DESC= install additional workgroup features (addons) ADDONS_DISTFILES= ${PORTNAME}-addons-${PORTVERSION}${EXTRACT_SUFX} MYSQL_USES= mysql:server NLS_USES= gettext PGSQL_USES= pgsql do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/deskutils/phpicalendar/Makefile b/deskutils/phpicalendar/Makefile index 1b435f3e6c3c..f1add7c4f054 100644 --- a/deskutils/phpicalendar/Makefile +++ b/deskutils/phpicalendar/Makefile @@ -1,47 +1,47 @@ PORTNAME= phpicalendar PORTVERSION= 2.4 PORTEPOCH= 1 CATEGORIES= deskutils www #MASTER_SITES= SF/${PORTNAME}/files/${PORTNAME}/${PORTNAME}%202.4%20RC7 # phpicalendar-2.4_20100615.tar.bz2 # http://sourceforge.net/projects/phpicalendar/files/phpicalendar/phpicalendar%202.4%20RC7/phpicalendar-2.4_20100615.tar.bz2/download # /projects/ not /project/ MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/${PORTNAME}/${PORTNAME}%202.4%20RC7/ PKGNAMESUFFIX= -RC7 DISTNAME= ${PORTNAME}-${PORTVERSION}_20100615 MAINTAINER= ports@FreeBSD.org COMMENT= Webbased calendar with iCal support WWW= https://sourceforge.net/projects/phpicalendar/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe php tar:bz2 NO_BUILD= yes NO_ARCH= yes -USE_PHP= session pcre +USE_PHP= session PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= AUTHORS README TIMEZONES OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \; @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.sample .for dir in admin calendars functions images includes languages lib nicetitle rss templates @${CP} -Rv ${WRKSRC}/${dir} ${STAGEDIR}${WWWDIR} .endfor .for f in caldav.php config.inc.php.sample day.php default_config.php error.php index.php month.php preferences.php print.php search.php week.php year.php @${CP} -v ${WRKSRC}/${f} ${STAGEDIR}${WWWDIR} .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/aphpbreakdown/Makefile b/devel/aphpbreakdown/Makefile index 4ad20cbd904d..e770343b5672 100644 --- a/devel/aphpbreakdown/Makefile +++ b/devel/aphpbreakdown/Makefile @@ -1,32 +1,32 @@ PORTNAME= aphpbreakdown DISTVERSION= 2.2.2 CATEGORIES= devel www MASTER_SITES= http://phar.code-mesa.com/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} EXTRACT_SUFX= .phar MAINTAINER= freebsd@code-mesa.com COMMENT= Code-Analyzer for PHP for Compatibility Check-UP WWW= https://gitlab.code-mesa.com/code-mesa/aphpbreakdown/ LICENSE= BSD2CLAUSE USES= php:flavors -USE_PHP= tokenizer phar hash +USE_PHP= tokenizer phar NO_ARCH= yes NO_BUILD= yes CONFLICTS_INSTALL= php*-aphpbreakdown PLIST_FILES= bin/aphpbreakdown # Download isn't compressed or aggregated, it's just the single file do-extract: ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile index 35298455a620..ca0fcf463952 100644 --- a/devel/arcanist-lib/Makefile +++ b/devel/arcanist-lib/Makefile @@ -1,92 +1,92 @@ PORTNAME?= arcanist PORTVERSION?= 20220518 PORTREVISION?= 4 CATEGORIES?= devel PKGNAMESUFFIX= ${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX} MAINTAINER= grembo@FreeBSD.org COMMENT?= Libraries for the command line interface for Phabricator WWW?= https://secure.phabricator.com/book/arcanist/ SLAVEPORT?= lib LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PHP_DESTDIR= lib/php/arcanist USES= php:cli,flavors python:env shebangfix SHEBANG_FILES= bin/arc \ bin/phage \ scripts/*.php \ scripts/hgdaemon/*.php \ src/parser/*.php \ support/arcanoid/arcanoid.py \ support/lib/*.php \ support/unit/*.php \ support/xhpast/*.php \ support/xhpast/bin/*.php -USE_PHP= curl dom hash json simplexml zlib +USE_PHP= curl dom simplexml zlib USE_GITHUB= yes NO_BUILD= yes NO_ARCH= yes PORTSCOUT= ignore:1 GH_ACCOUNT= phacility GH_TAGNAME= 85c953e PLIST= ${.CURDIR}/pkg-plist .if ${SLAVEPORT} == lib SLAVE_PKGNAMESUFFIX= -${SLAVEPORT} RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss OPTIONS_DEFINE= ENCODINGS OPTIONS_DEFAULT=ENCODINGS ENCODINGS_DESC= Support for encodings other than utf-8 ENCODINGS_USE= PHP=mbstring .else # link only RUN_DEPENDS= arcanist-lib${PHP_PKGNAMESUFFIX}>0:devel/arcanist-lib@${PHP_FLAVOR} CONFLICTS= arc arcanist-php?? PLIST_FILES= bin/arc .endif do-install: .if ${SLAVEPORT} == bin ${RLN} ../${PHP_DESTDIR}/bin/arc ${STAGEDIR}${PREFIX}/bin/arc .else @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ @${REINPLACE_CMD} \ 's|%%PREFIX%%|${PREFIX}|g; \ s|%%PHP_DESTDIR%%|${PHP_DESTDIR}|g' \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/support/shell/hooks/bash-completion.sh @${REINPLACE_CMD} \ 's|%%PKGNAME%%|${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}|g; \ s|%%PKGVERSION%%|${PKGVERSION}|g; \ s|%%PKGORIGIN%%|${PKGORIGIN}|g' \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/toolset/workflow/ArcanistVersionWorkflow.php @${REINPLACE_CMD} \ 's|%%PHP_CMD%%|${PREFIX}/bin/php|g' \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/lint/linter/ArcanistPhpLinter.php \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/moduleutils/PhutilLibraryMapBuilder.php \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/phage/bootloader/PhagePHPAgentBootloader.php \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/runtime/ArcanistRuntime.php \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/utils/PhutilExecutionEnvironment.php \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/workflow/ArcanistLiberateWorkflow.php @${REINPLACE_CMD} \ 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/src/workflow/ArcanistAnoidWorkflow.php ${LN} -sf ${LOCALBASE}/share/certs/ca-root-nss.crt \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/ssl/default.pem ${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/support/shell/hooks/bash-completion.sh \ ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/bin/arc shell-complete --generate .endif .include diff --git a/devel/deployer/Makefile b/devel/deployer/Makefile index cf9b1a3720d0..0b9e24daa307 100644 --- a/devel/deployer/Makefile +++ b/devel/deployer/Makefile @@ -1,36 +1,36 @@ PORTNAME= deployer DISTVERSION= 6.4.3 CATEGORIES= devel MASTER_SITES= https://deployer.org/releases/v${DISTVERSION}/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} DISTNAME= deployer EXTRACT_SUFX= .phar DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= tz@FreeBSD.org COMMENT= Deployment tool for PHP WWW= https://deployer.org/ LICENSE= MIT USES= php:flavors -USE_PHP= curl iconv json openssl pcntl phar posix zlib +USE_PHP= curl iconv pcntl phar posix zlib CONFLICTS_INSTALL= php*-deployer NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/deployer \ bin/deployer.phar do-extract: ${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/deployer.phar ${WRKSRC}/ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/deployer.phar ${STAGEDIR}${PREFIX}/bin/ ${LN} -s deployer.phar ${STAGEDIR}${PREFIX}/bin/deployer .include diff --git a/devel/flyspray/Makefile b/devel/flyspray/Makefile index cf158bea3217..ac914b5a6817 100644 --- a/devel/flyspray/Makefile +++ b/devel/flyspray/Makefile @@ -1,80 +1,80 @@ PORTNAME= flyspray PORTVERSION= 0.9.9.7 PORTREVISION= 5 CATEGORIES= devel www MASTER_SITES= http://flyspray.org/packed/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple, easy-to-use web based bug tracking system WWW= https://www.flyspray.org/ RUN_DEPENDS= ${LOCALBASE}/share/adodb/adodb.inc.php:databases/adodb5 -USE_PHP= pcre session zlib xml gd +USE_PHP= session zlib xml gd USES= cpe dos2unix php:web zip NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes DOS2UNIX_REGEX= .php OPTIONS_DEFINE= GRAPHVIZ MYSQLI PGSQL DOCS OPTIONS_DEFAULT= MYSQLI DOCS_SUB_FILES= pkg-message MYSQLI_DESC= Use MySQLi Database Interface FLYSPRAYDIR= ${PREFIX}/share/${PORTNAME} FSINSTALLDIR= ${STAGEDIR}${FLYSPRAYDIR} ATTACHMENTDIR= ${DBDIR}/${PORTNAME}/attachments DBDIR= /var/db DOC_FILES= AUTHORS.txt BUGS.txt CHANGELOG.txt INSTALL.txt \ QA_CHECKLIST.txt README.txt TODO.txt UPGRADING.txt \ README.FreeBSD \ licences/ADOdb.licence.txt \ licences/Flyspray.licence.txt \ licences/NuvolaIcons.licence.txt \ licences/jsCalendar.licence.txt FLYSPRAY_FILES= cache docs/licences/gnu_lgpl.html favicon.ico \ flyspray.conf.php-dist feed.php header.php htaccess.dist \ includes index.php javascript lang plugins robots.txt \ schedule.php scripts setup templates themes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} MYSQLI_USE= PHP=mysqli PGSQL_USE= PHP=pgsql GRAPHVIZ_RUN_DEPENDS= ${LOCALBASE}/bin/dot:graphics/graphviz post-patch: @${CP} ${PKGDIR}/files/README.FreeBSD ${WRKSRC}/docs/ @${REINPLACE_CMD} -e "s|%%FLYSPRAYDIR%%|"${FLYSPRAYDIR}"|g" \ -e "s|%%DOCSDIR%%|"${DOCSDIR}"|g" \ ${WRKSRC}/docs/README.FreeBSD @${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} ';' @${REINPLACE_CMD} "s|E_ALL|E_ALL \& ~E_STRICT|g" \ ${WRKSRC}/includes/fix.inc.php @${RM} ${WRKSRC}/includes/fix.inc.php.bak do-install: ${MKDIR} ${FSINSTALLDIR} ${CP} ${WRKSRC}/setup/upgrade/${PORTVERSION}/flyspray.conf.php ${WRKSRC}/flyspray.conf.php-dist ${TOUCH} ${FSINSTALLDIR}/flyspray.conf.php cd ${WRKSRC} && \ ${TAR} cf - ${FLYSPRAY_FILES} | \ (cd ${FSINSTALLDIR} && ${TAR} -xf -) ${LN} -sf ${ATTACHMENTDIR} ${FSINSTALLDIR}/attachments ${LN} -sf ${PREFIX}/share/adodb ${FSINSTALLDIR} ${MKDIR} ${STAGEDIR}${ATTACHMENTDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/gitlist/Makefile b/devel/gitlist/Makefile index 77e5995eea7c..9cfb6a3ce5ec 100644 --- a/devel/gitlist/Makefile +++ b/devel/gitlist/Makefile @@ -1,48 +1,48 @@ PORTNAME= gitlist DISTVERSION= 1.1.1 CATEGORIES= devel www MASTER_SITES= https://github.com/klaussilveira/gitlist/releases/download/${DISTVERSION}/ \ https://freebsd.ark-ict.nl/ports/ MAINTAINER= freebsd-ports@misc.ark-ict.nl COMMENT= Web based Git repository browser written in PHP WWW= https://gitlist.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= git:devel/git NO_BUILD= yes USES= cpe php:web zip -USE_PHP= ctype hash json simplexml +USE_PHP= ctype simplexml PLIST= ${WRKDIR}/plist NO_WRKSUBDIR= yes USERS?= ${WWWOWN} GROUPS?= ${WWWGRP} SUB_FILES= pkg-message post-patch: ${MKDIR} ${WRKSRC}/cache cd ${WRKSRC}; \ ${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ ${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; ${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/vendor/twig/twig/doc" >> ${PLIST} ${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} do-install: cd ${WRKSRC}; \ IFS="$$(printf '\n\t')"; \ for src in $$( ${FIND} . ); do \ dst="${STAGEDIR}${WWWDIR}$${src#.}"; \ if ${TEST} -d "$$src"; then \ ${MKDIR} "$$dst"; \ else \ ${INSTALL_DATA} "$$src" "$$dst"; \ fi \ done ${RM} -r "${WWWDIR}/cache/views" .include diff --git a/devel/pear-Horde_Autoloader_Cache/Makefile b/devel/pear-Horde_Autoloader_Cache/Makefile index 755bec30622c..84379c691e9f 100644 --- a/devel/pear-Horde_Autoloader_Cache/Makefile +++ b/devel/pear-Horde_Autoloader_Cache/Makefile @@ -1,15 +1,14 @@ PORTNAME= Horde_Autoloader_Cache DISTVERSION= 2.1.4 CATEGORIES= devel www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Autoloader Cache WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Autoloader -USE_PHP= json CONFLICTS_INSTALL= php*-pear-horde-Horde_Autoloader_Cache .include diff --git a/devel/pear-Horde_Cache/Makefile b/devel/pear-Horde_Cache/Makefile index 1a22090fa8fd..830d4eac2045 100644 --- a/devel/pear-Horde_Cache/Makefile +++ b/devel/pear-Horde_Cache/Makefile @@ -1,16 +1,15 @@ PORTNAME= Horde_Cache PORTVERSION= 2.5.5 CATEGORIES= devel www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Caching API WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Compress_Fast \ Horde_Exception \ Horde_HashTable \ Horde_Util -USE_PHP= hash .include diff --git a/devel/pear-Horde_Prefs/Makefile b/devel/pear-Horde_Prefs/Makefile index 6ff0886866cb..a4ed3be9a4cd 100644 --- a/devel/pear-Horde_Prefs/Makefile +++ b/devel/pear-Horde_Prefs/Makefile @@ -1,19 +1,18 @@ PORTNAME= Horde_Prefs DISTVERSION= 2.9.0 CATEGORIES= devel www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Preferences API WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Mail \ Horde_Mime \ Horde_Translation \ Horde_Util -USE_PHP= json CONFLICTS_INSTALL= php*-pear-horde-Horde_Prefs .include diff --git a/devel/pear-Horde_Token/Makefile b/devel/pear-Horde_Token/Makefile index 361c106b86f2..0192d3cee6e0 100644 --- a/devel/pear-Horde_Token/Makefile +++ b/devel/pear-Horde_Token/Makefile @@ -1,16 +1,15 @@ PORTNAME= Horde_Token PORTVERSION= 2.0.9 CATEGORIES= devel www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Token API WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Translation \ Horde_Url \ Horde_Util -USE_PHP= hash .include diff --git a/devel/pear-Net_Gearman/Makefile b/devel/pear-Net_Gearman/Makefile index a5236ab1e5d5..22ce9cecf350 100644 --- a/devel/pear-Net_Gearman/Makefile +++ b/devel/pear-Net_Gearman/Makefile @@ -1,17 +1,17 @@ PORTNAME= Net_Gearman PORTVERSION= 0.2.3 PORTREVISION= 3 CATEGORIES= devel pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP interface to Gearman WWW= https://pear.php.net/package/Net_Gearman LICENSE= BSD2CLAUSE USES= pear -USE_PHP= json mbstring sockets +USE_PHP= mbstring sockets NO_ARCH= yes .include diff --git a/devel/pear-PEAR_Info/Makefile b/devel/pear-PEAR_Info/Makefile index dacb9ed8be98..728aae393447 100644 --- a/devel/pear-PEAR_Info/Makefile +++ b/devel/pear-PEAR_Info/Makefile @@ -1,25 +1,24 @@ PORTNAME= PEAR_Info PORTVERSION= 1.9.2 PORTREVISION= 4 CATEGORIES= devel www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Show Information about your PEAR install and its packages WWW= https://pear.php.net/package/PEAR_Info LICENSE= PHP301 RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Getargs@${PHP_FLAVOR} USES= pear -USE_PHP= pcre NO_ARCH= yes OPTIONS_DEFINE= PHPUNIT OPTIONS_DEFAULT=PHPUNIT PHPUNIT_DESC= PEAR::PHPUnit support PHPUNIT_RUN_DEPENDS= phpunit9${PHP_PKGNAMESUFFIX}>=3.1.4:devel/phpunit9@${PHP_FLAVOR} .include diff --git a/devel/pear-PHPTAL/Makefile b/devel/pear-PHPTAL/Makefile index 55d454af0d04..ea588b26344f 100644 --- a/devel/pear-PHPTAL/Makefile +++ b/devel/pear-PHPTAL/Makefile @@ -1,28 +1,26 @@ PORTNAME= PHPTAL PORTVERSION= 1.3.0 CATEGORIES= devel www pear MASTER_SITES= https://phptal.org/files/ EXTRACT_SUFX= .tar.gz MAINTAINER= sunpoet@FreeBSD.org COMMENT= XML/XHTML template library for PHP WWW= https://phptal.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= pear php -USE_PHP= ctype hash +USE_PHP= ctype NO_ARCH= yes -OPTIONS_DEFINE= GETTEXT JSON SIMPLEXML +OPTIONS_DEFINE= GETTEXT SIMPLEXML GETTEXT_DESC= Enable GetText support -JSON_DESC= Enable JSON support SIMPLEXML_DESC= Enable SimpleXML support GETTEXT_USE= PHP=gettext -JSON_USE= PHP=json SIMPLEXML_USE= PHP=simplexml .include diff --git a/devel/pear-PHP_CompatInfo/Makefile b/devel/pear-PHP_CompatInfo/Makefile index 593c60ccd3b1..a660eb195e76 100644 --- a/devel/pear-PHP_CompatInfo/Makefile +++ b/devel/pear-PHP_CompatInfo/Makefile @@ -1,35 +1,35 @@ PORTNAME= PHP_CompatInfo PORTVERSION= 1.9.0 PORTREVISION= 5 CATEGORIES= devel pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class to find out the minimum version and extensions required WWW= https://pear.php.net/package/PHP_CompatInfo RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Getargs@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}Console_Table>=1.1.1:devel/pear-Console_Table@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}Event_Dispatcher>=1.0.0:devel/pear-Event_Dispatcher@${PHP_FLAVOR} \ ${PEAR_PKGNAMEPREFIX}File_Find>=1.3.0:sysutils/pear-File_Find@${PHP_FLAVOR} USES= dos2unix pear -USE_PHP= pcre tokenizer +USE_PHP= tokenizer NO_ARCH= yes PORTSCOUT= skipv:1.9.0a1,1.9.0b1,1.9.0b2 OPTIONS_DEFINE= PEAR_HTML_TABLE PEAR_VAR_DUMP PEAR_XML_BEAUTIFIER PEAR_XML_UTIL PHPUNIT OPTIONS_DEFAULT=PEAR_XML_UTIL PHPUNIT PEAR_HTML_TABLE_DESC= PEAR::HTML_Table PEAR_VAR_DUMP_DESC= PEAR::Var_Dump support PEAR_XML_BEAUTIFIER_DESC= PEAR::XML_Beautifier support PEAR_XML_UTIL_DESC= PEAR::XML_Util support PHPUNIT_DESC= PHPUnit support PEAR_VAR_DUMP_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Var_Dump>=1.0.3:devel/pear-Var_Dump@${PHP_FLAVOR} PEAR_XML_BEAUTIFIER_RUN_DEPENDS=${PEAR_PKGNAMEPREFIX}XML_Beautifier>=1.1:textproc/pear-XML_Beautifier@${PHP_FLAVOR} PEAR_XML_UTIL_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}XML_Util>=1.1.4:devel/pear-XML_Util@${PHP_FLAVOR} PHPUNIT_RUN_DEPENDS= phpunit9${PHP_PKGNAMESUFFIX}>=3.2.0:devel/phpunit9@${PHP_FLAVOR} .include diff --git a/devel/pear-PHP_UML/Makefile b/devel/pear-PHP_UML/Makefile index 68d7db998e1a..659d5eadd66e 100644 --- a/devel/pear-PHP_UML/Makefile +++ b/devel/pear-PHP_UML/Makefile @@ -1,18 +1,18 @@ PORTNAME= PHP_UML PORTVERSION= 1.6.2 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR Class to Create UML Representation of PHP Code WWW= https://pear.php.net/package/PHP_UML LICENSE= LGPL3 RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Console_CommandLine>=0:devel/pear-Console_CommandLine@${PHP_FLAVOR} USES= pear -USE_PHP= spl xsl +USE_PHP= xsl NO_ARCH= yes .include diff --git a/devel/pear-Validate_Finance_CreditCard/Makefile b/devel/pear-Validate_Finance_CreditCard/Makefile index 56ef764c13b9..95d986e31f92 100644 --- a/devel/pear-Validate_Finance_CreditCard/Makefile +++ b/devel/pear-Validate_Finance_CreditCard/Makefile @@ -1,17 +1,16 @@ PORTNAME= Validate_Finance_CreditCard PORTVERSION= 0.7.0 CATEGORIES= devel www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR CreditCard Validation class WWW= https://pear.php.net/package/Validate_Finance_CreditCard LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= pear -USE_PHP= pcre NO_ARCH= yes .include diff --git a/devel/pear-XML_Util/Makefile b/devel/pear-XML_Util/Makefile index ebc2ed304470..b1b7359cc49a 100644 --- a/devel/pear-XML_Util/Makefile +++ b/devel/pear-XML_Util/Makefile @@ -1,16 +1,15 @@ PORTNAME= XML_Util PORTVERSION= 1.4.5 CATEGORIES= devel www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR XML utility class WWW= https://pear.php.net/package/XML_Util LICENSE= BSD2CLAUSE USES= pear -USE_PHP= pcre NO_ARCH= yes .include diff --git a/devel/pear/Makefile b/devel/pear/Makefile index 77eb05998219..4ec6f3d7dcfd 100644 --- a/devel/pear/Makefile +++ b/devel/pear/Makefile @@ -1,46 +1,46 @@ PORTNAME= pear PORTVERSION= 1.10.13 CATEGORIES= devel MASTER_SITES= http://build.dimapanov.com/~fluffy/distfiles/ \ LOCAL/fluffy \ LOCAL/joneum PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= fluffy@FreeBSD.org COMMENT= PEAR framework for PHP WWW= https://pear.php.net/ LICENSE= PHP301 -USES= cpe php:cli,flavors tar:xz +USES= cpe php:build,cli,flavors tar:xz CPE_VENDOR= php NO_BUILD= yes NO_ARCH= yes -USE_PHP= pcre:build xml:build zlib:build +USE_PHP= xml:build zlib:build PEARDIR= ${PREFIX}/share/pear OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \ -e "s|%%TMPDIR%%|/tmp/pear|" \ ${WRKSRC}/go-pear @cd ${WRKSRC}/go-pear-bundle && ${MKDIR} tmp && ${TAR} -C tmp -xzf PEAR-${PORTVERSION}.tgz @cd ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION} && ${PATCH} -s -p0 < ${FILESDIR}/extra-patch-PEAR-Config.php @${RM} ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php.orig @${MD5} -q ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php > ${WRKSRC}/Config.php.md5 @cd ${WRKSRC}/go-pear-bundle/tmp && ${TAR} -czf ../PEAR-${PORTVERSION}.tgz PEAR-${PORTVERSION} package.xml do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${LOCALBASE}/bin/php -q ./go-pear # pear violates stage when staging as root, hide this .if defined(PACKAGE_BUILDING) @${RM} -r ${PEARDIR} .endif # Clean up orphans re-generated by pkg-install @${RM} -r ${STAGEDIR}${PEARDIR}/.depdb ${STAGEDIR}${PEARDIR}/.depdblock ${STAGEDIR}${PEARDIR}/.filemap ${STAGEDIR}${PEARDIR}/.lock .include diff --git a/devel/pecl-ds/Makefile b/devel/pecl-ds/Makefile index 10bf061750e9..986ef4844e92 100644 --- a/devel/pecl-ds/Makefile +++ b/devel/pecl-ds/Makefile @@ -1,15 +1,14 @@ PORTNAME= ds PORTVERSION= 1.4.0 CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Data Structures for PHP WWW= https://pecl.php.net/package/ds LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= localbase php:pecl -USE_PHP= json:build +USES= localbase php:build,pecl .include diff --git a/devel/pecl-json_post/Makefile b/devel/pecl-json_post/Makefile index 4bf282347470..b38d7a27c1f0 100644 --- a/devel/pecl-json_post/Makefile +++ b/devel/pecl-json_post/Makefile @@ -1,15 +1,14 @@ PORTNAME= json_post PORTVERSION= 1.1.0 CATEGORIES= devel MAINTAINER= gasol.wu@gmail.com COMMENT= JSON POST handler in PHP WWW= https://pecl.php.net/package/json_post LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= php:pecl -USE_PHP= json:build +USES= php:build,pecl .include diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile index 1779e751ede3..e452fa6ad865 100644 --- a/devel/pecl-swoole/Makefile +++ b/devel/pecl-swoole/Makefile @@ -1,35 +1,34 @@ PORTNAME= swoole PORTVERSION= 5.0.2 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org COMMENT= Asynchronous, concurrent, and distributed networking framework WWW= https://pecl.php.net/package/swoole LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c11 localbase:ldflags php:pecl ssl -USE_PHP= hash:build pcre +USES= compiler:c11 localbase:ldflags php:build,pecl ssl CONFIGURE_ARGS+= --enable-mysqlnd OPTIONS_DEFINE= BROTLI CARES CURL HTTP2 JSON PGSQL SOCKETS CARES_LIB_DEPENDS= libcares.so:dns/c-ares CARES_CONFIGURE_ON= --enable-cares HTTP2_CONFIGURE_ON= --enable-http2 \ --enable-openssl SOCKETS_USE= PHP=sockets:build SOCKETS_DESC= Use native php sockets extension SOCKETS_CONFIGURE_ON= --enable-sockets CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ON= --enable-swoole-curl CURL_USE= PHP=curl JSON_CONFIGURE_ON= --enable-swoole-json -JSON_USE= PHP=json:build +JSON_USES= php:build PGSQL_CONFIGURE_ON= --enable-swoole-pgsql PGSQL_USES= pgsql BROTLI_CONFIGURE_ON= --enable-brotli BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli .include diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile index 4a8b304777f5..7b5487bf4521 100644 --- a/devel/phabricator/Makefile +++ b/devel/phabricator/Makefile @@ -1,90 +1,90 @@ PORTNAME= phabricator PORTVERSION= 20211218 PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= grembo@FreeBSD.org COMMENT= Open source, software engineering platform WWW= https://www.phacility.com/phabricator/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= arcanist-lib${PHP_PKGNAMESUFFIX}>=20210113_4:devel/arcanist-lib@${PHP_FLAVOR} \ git:devel/git USES= cpe php:cli,flavors shebangfix CPE_VENDOR= phacility SHEBANG_FILES= resources/timezones/*.php \ scripts/*.php \ scripts/almanac/*.php \ scripts/cache/*.php \ scripts/celerity/*.php \ scripts/daemon/*.php \ scripts/daemon/exec/exec_daemon.php \ scripts/diviner/*.php \ scripts/drydock/*.php \ scripts/fact/*.php \ scripts/files/*.php \ scripts/lipsum/*.php \ scripts/mail/*.php \ scripts/repository/*.php \ scripts/search/*.php \ scripts/setup/*.php \ scripts/ssh/*.php \ scripts/sql/*.php \ scripts/ssh/*.php \ scripts/symbols/*.php \ scripts/util/*.php \ support/aphlict/server/*.php -USE_PHP= ctype curl fileinfo filter hash iconv mbstring mysqli openssl \ +USE_PHP= ctype curl fileinfo filter iconv mbstring mysqli \ pcntl posix zip OPTIONS_DEFINE= GD OPCACHE OPTIONS_DEFAULT=GD OPCACHE OPCACHE_DESC?= Use OPcache to improve performance GD_USE= PHP=gd OPCACHE_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR} OPCACHE_USE= PHP=opcache USE_GITHUB= yes NO_BUILD= yes NO_ARCH= yes USE_RC_SUBR= phd SUB_FILES= pkg-message PORTSCOUT= ignore:1 GH_ACCOUNT= phacility GH_TAGNAME= dec9522 PHP_DESTDIR= lib/php/phabricator post-patch: @${SED} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${FILESDIR}/phabricator-sudoers.sample > ${WRKSRC}/resources/sshd/phabricator-sudoers.sample @${REINPLACE_CMD} \ 's|/path/to/phabricator|${LOCALBASE}/lib/php/phabricator|g; \ s|vcs-user|git|g' \ ${WRKSRC}/resources/sshd/phabricator-ssh-hook.sh @${REINPLACE_CMD} \ 's|/usr/libexec/phabricator-ssh-hook.sh|${LOCALBASE}/lib/php/phabricator/resources/sshd/phabricator-ssh-hook.sh|; \ s|vcs-user|git|g; \ s|PrintLastLog no||g; \ s|PidFile /var/run/sshd-phabricator.pid||g' \ ${WRKSRC}/resources/sshd/sshd_config.phabricator.example @${REINPLACE_CMD} \ 's|%%PHP_CMD%%|${PREFIX}/bin/php|g' \ ${WRKSRC}/scripts/celerity/install_merge.sh \ ${WRKSRC}/src/infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/conf/local ${INSTALL_DATA} ${FILESDIR}/local.json.sample \ ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/conf/local cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} .include diff --git a/devel/php-composer/Makefile b/devel/php-composer/Makefile index e7f47cb427b3..c5046147682f 100644 --- a/devel/php-composer/Makefile +++ b/devel/php-composer/Makefile @@ -1,41 +1,41 @@ PORTNAME= composer DISTVERSION= 1.10.26 CATEGORIES= devel MASTER_SITES= https://getcomposer.org/download/${DISTVERSION}/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} DISTNAME= composer EXTRACT_SUFX= .phar DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Dependency Manager for PHP WWW= https://getcomposer.org/ LICENSE= MIT DEPRECATED= packagist.org is dropping API v1 support, please use newer 2.x version RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss USES= cpe php:flavors CPE_VENDOR= getcomposer -USE_PHP= ctype filter intl json mbstring openssl phar +USE_PHP= ctype filter intl mbstring phar CONFLICTS_INSTALL= php*-composer php*-composer2 NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/composer \ bin/composer.phar do-extract: ${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/composer.phar ${WRKSRC}/ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/composer.phar ${STAGEDIR}${PREFIX}/bin/ ${LN} -s composer.phar ${STAGEDIR}${PREFIX}/bin/composer .include diff --git a/devel/php-composer2/Makefile b/devel/php-composer2/Makefile index c40fe280fb97..2e748fe4962b 100644 --- a/devel/php-composer2/Makefile +++ b/devel/php-composer2/Makefile @@ -1,46 +1,46 @@ PORTNAME= composer DISTVERSION= 2.5.5 CATEGORIES= devel MASTER_SITES= https://getcomposer.org/download/${DISTVERSION}/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 DISTNAME= composer EXTRACT_SUFX= .phar DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Dependency Manager for PHP, version 2.x WWW= https://getcomposer.org/ LICENSE= MIT RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss USES= cpe php:flavors CPE_VENDOR= getcomposer -USE_PHP= ctype filter intl json mbstring openssl phar +USE_PHP= ctype filter intl mbstring phar CONFLICTS_INSTALL= php*-composer php*-composer2 NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/composer \ bin/composer.phar OPTIONS_DEFINE= CURL OPTIONS_DEFAULT= CURL CURL_DESC= Install the cURL extension for faster downloads CURL_USE= PHP=curl do-extract: ${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/composer.phar ${WRKSRC}/ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/composer.phar ${STAGEDIR}${PREFIX}/bin/ ${LN} -s composer.phar ${STAGEDIR}${PREFIX}/bin/composer .include diff --git a/devel/phpunit10/Makefile b/devel/phpunit10/Makefile index 256430dca733..1e35c7c287eb 100644 --- a/devel/phpunit10/Makefile +++ b/devel/phpunit10/Makefile @@ -1,34 +1,34 @@ PORTNAME= phpunit PORTVERSION= 10.0.19 CATEGORIES= devel www MASTER_SITES= https://phar.phpunit.de/ PKGNAMESUFFIX= 10${PHP_PKGNAMESUFFIX} EXTRACT_SUFX= .phar MAINTAINER= sunpoet@FreeBSD.org COMMENT= Testing framework for unit tests WWW= https://phpunit.de/ \ https://github.com/sebastianbergmann/phpunit LICENSE= BSD3CLAUSE USES= cpe php:flavors -USE_PHP= dom json pcre phar spl +USE_PHP= dom phar IGNORE_WITH_PHP=80 NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/phpunit CONFLICTS_INSTALL= phpunit[0-9] CPE_VENDOR= phpunit_project do-extract: @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/phpunit do-install: ${INSTALL_SCRIPT} ${WRKDIR}/phpunit ${STAGEDIR}${PREFIX}/bin/phpunit .include diff --git a/devel/phpunit8/Makefile b/devel/phpunit8/Makefile index e3a5fc17e146..9a93b99bd0d6 100644 --- a/devel/phpunit8/Makefile +++ b/devel/phpunit8/Makefile @@ -1,33 +1,33 @@ PORTNAME= phpunit DISTVERSION= 8.5.33 CATEGORIES= devel www MASTER_SITES= https://phar.phpunit.de/ PKGNAMESUFFIX= 8${PHP_PKGNAMESUFFIX} EXTRACT_SUFX= .phar MAINTAINER= joneum@FreeBSD.org COMMENT= Testing framework for unit tests WWW= https://www.phpunit.de LICENSE= BSD3CLAUSE CONFLICTS_INSTALL= phpunit7 USES= cpe php:flavors CPE_VENDOR= phpunit_project -USE_PHP= dom json spl pcre phar +USE_PHP= dom phar NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/phpunit # Download isn't compressed or aggregated, it's just the single file do-extract: ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/devel/phpunit9/Makefile b/devel/phpunit9/Makefile index ec5a8802a1f4..cd0a1597a620 100644 --- a/devel/phpunit9/Makefile +++ b/devel/phpunit9/Makefile @@ -1,33 +1,33 @@ PORTNAME= phpunit PORTVERSION= 9.6.6 CATEGORIES= devel www MASTER_SITES= https://phar.phpunit.de/ PKGNAMESUFFIX= 9${PHP_PKGNAMESUFFIX} EXTRACT_SUFX= .phar MAINTAINER= sunpoet@FreeBSD.org COMMENT= Testing framework for unit tests WWW= https://phpunit.de/ \ https://github.com/sebastianbergmann/phpunit LICENSE= BSD3CLAUSE USES= cpe php:flavors -USE_PHP= dom json pcre phar spl +USE_PHP= dom phar NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/phpunit CONFLICTS_INSTALL= phpunit[0-9] phpunit[0-9][0-9] CPE_VENDOR= phpunit_project do-extract: @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/phpunit do-install: ${INSTALL_SCRIPT} ${WRKDIR}/phpunit ${STAGEDIR}${PREFIX}/bin/phpunit .include diff --git a/devel/websvn/Makefile b/devel/websvn/Makefile index 68c4092d6b37..d36310ea46d0 100644 --- a/devel/websvn/Makefile +++ b/devel/websvn/Makefile @@ -1,49 +1,49 @@ PORTNAME= websvn PORTVERSION= 2.8.1 CATEGORIES= devel www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= michael.osipov@siemens.com COMMENT= Online Subversion repository browser WWW= https://websvnphp.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion \ ${LOCALBASE}/bin/composer:devel/php-composer2@${PHP_FLAVOR} USES= php:web,flavors cpe USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}php -USE_PHP= iconv pcre xml mbstring zlib dom +USE_PHP= iconv xml mbstring zlib dom NO_ARCH= yes NO_BUILD= yes PEARDIR?= ${LOCALBASE}/share/pear SUB_FILES= pkg-message PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} post-patch: @${REINPLACE_CMD} -E \ -e 's|^// \$$config->setSvnConfigDir.+|$$config->setSvnConfigDir('"'"'${ETCDIR}/subversion'"'"')\;|' \ -e 's|^// \$$config->setSvnCommandPath.+|$$config->setSvnCommandPath('"'"'${LOCALBASE}/bin'"'"')\;|' \ -e 's|^// \$$config->setSvnAuthzCommandPath.+|$$config->setSvnAuthzCommandPath('"'"'${LOCALBASE}/bin'"'"')\;|' \ -e 's|^// \$$config->useGeshi.+|$$config->useGeshi()\;|' \ -e 's|^// \$$config->setLocale.+|$$config->setLocale('"'"'C.UTF-8'"'"')\;|' \ ${WRKSRC}/include/distconfig.php do-install: @(cd ${WRKSRC} \ && ${RM} README.md changes.txt include/.gitignore) @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} \ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/subversion .include diff --git a/dns/dns-ui/Makefile b/dns/dns-ui/Makefile index 43cd5fbc18f0..ab4c160fd330 100644 --- a/dns/dns-ui/Makefile +++ b/dns/dns-ui/Makefile @@ -1,40 +1,40 @@ PORTNAME= dns-ui PORTREVISION= 1 DISTVERSION= v0.2.7 CATEGORIES= dns MAINTAINER= zi@FreeBSD.org COMMENT= LDAP-authenticated PowerDNS user interface by Opera WWW= https://github.com/operasoftware/dns-ui/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= pgsql php:cli USE_GITHUB= yes GH_ACCOUNT= operasoftware -USE_PHP= curl intl json ldap mbstring pdo_pgsql +USE_PHP= curl intl ldap mbstring pdo_pgsql NO_BUILD= yes SUB_FILES= pkg-message OPTIONS_DEFINE= APACHE PGSQLSRV OPTIONS_DEFAULT= APACHE PGSQLSRV APACHE_DESC= Use apache as webserver PGSQLSRV_DESC= Use local postgres instance APACHE_USES= apache:run php:mod APACHE_USES_OFF= php:web PGSQLSRV_VARS= WANT_PGSQL=server .include post-extract: ${MV} ${WRKSRC}/config/config-sample.ini \ ${WRKSRC}/config/config.ini.sample do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/finance/frontaccounting/Makefile b/finance/frontaccounting/Makefile index ce2215df8699..1e9c4765ccc2 100644 --- a/finance/frontaccounting/Makefile +++ b/finance/frontaccounting/Makefile @@ -1,51 +1,51 @@ PORTNAME= frontaccounting DISTVERSION= 2.3.25 CATEGORIES= finance www MASTER_SITES= SF/${PORTNAME}/FrontAccounting-2.3/${PORTVERSION} MAINTAINER= ek@purplehat.org COMMENT= Simple, powerful system for the entire ERP chain WWW= https://www.frontaccounting.com/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license.txt USES= cpe -USE_PHP+= mysqli openssl session hash ctype zlib +USE_PHP+= mysqli session ctype zlib WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= pkg-deinstall pkg-message PORTDOCSARGS= OPTIONS_DEFINE= APACHE LIGHTTPD NGINX MYSQL_SERVER NLS DOCS OPTIONS_DEFAULT= APACHE MYSQL_SERVER MYSQL_SERVER_DESC= MySQL server support NGINX_DESC= NGINX web server APACHE_USES= apache:run php:web LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd LIGHTTPD_USES= php:web NGINX_RUN_DEPENDS= nginx:www/nginx NGINX_USES= php:web MYSQL_SERVER_USES= mysql:server NLS_USES= gettext .include .if !${PORT_OPTIONS:MAPACHE} && !${PORT_OPTIONS:MLIGHTTPD} && !{PORT_OPTIONS:MNGINX} USES+= php .endif .if !${PORT_OPTIONS:MDOCS} PORTDOCSARGS= '-not -path "./doc*"' .endif do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS}) .include diff --git a/finance/frontaccounting24/Makefile b/finance/frontaccounting24/Makefile index 9e2caa235a58..7ae482596d59 100644 --- a/finance/frontaccounting24/Makefile +++ b/finance/frontaccounting24/Makefile @@ -1,68 +1,68 @@ PORTNAME= frontaccounting24 PORTVERSION= 2.4.11 DISTVERSIONSUFFIX= ${PORTVERSION} CATEGORIES= finance www MASTER_SITES= SF/${DIST_SUBDIR}/FrontAccounting%202.4/${PORTVERSION} DISTNAME= frontaccounting-${PORTVERSION} DIST_SUBDIR= frontaccounting MAINTAINER= james@elstone.net COMMENT= Simple, powerful system for the entire ERP chain WWW= https://www.frontaccounting.com/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license.txt USES= cpe -USE_PHP+= mysqli openssl session hash ctype zlib +USE_PHP+= mysqli session ctype zlib WRKSRC= ${WRKDIR}/${DIST_SUBDIR} NO_BUILD= yes SUB_FILES= pkg-deinstall pkg-message PORTDOCSARGS= DEFAULT_VERSIONS+= php=8.0 OPTIONS_DEFINE= APACHE LIGHTTPD NGINX NLS DOCS OPTIONS_DEFAULT= APACHE MYSQL_SERVER OPTIONS_RADIO= RG1 OPTIONS_RADIO_RG1= MARIADB_CLIENT MYSQL_CLIENT MYSQL_SERVER PERCONA_CLIENT RG1_DESC= Database Connectivity MARIADB_CLIENT_DESC= MariaDB client connector support PERCONA_CLIENT_DESC= Percona client connector support MYSQL_CLIENT_DESC= MySQL client connector support MYSQL_SERVER_DESC= MySQL server support NGINX_DESC= NGINX web server APACHE_USES= apache:run php:web LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd LIGHTTPD_USES= php:web NGINX_RUN_DEPENDS= nginx:www/nginx NGINX_USES= php:web MYSQL_SERVER_USES= mysql:server MYSQL_CLIENT_USES= mysql:client MARIADB_CLIENT_USES= mysql:106m PERCONA_CLIENT_USES= mysql:57p NLS_USES= gettext .include .if !${PORT_OPTIONS:MAPACHE} && !${PORT_OPTIONS:MLIGHTTPD} && !{PORT_OPTIONS:MNGINX} USES+= php:cgi php:cli .endif .if ${PORT_OPTIONS:MMYSQL_SERVER} || ${PORT_OPTIONS:MMARIADB_CLIENT} || ${PORT_OPTIONS:MPERCONA_CLIENT} USE_PHP+= mysqli .endif .if !${PORT_OPTIONS:MDOCS} PORTDOCSARGS= '-not -path "./doc*"' .endif do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS}) .include diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile index ce3e111b5506..7907a678243f 100644 --- a/finance/prestashop/Makefile +++ b/finance/prestashop/Makefile @@ -1,41 +1,41 @@ PORTNAME= prestashop PORTVERSION= 1.7.8.8 CATEGORIES= finance www MASTER_SITES= https://download.prestashop.com/download/releases/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Open-Source e-Commerce Software for Web 2.0 WWW= https://www.prestashop.com/ USES= cpe php shebangfix zip:infozip NO_BUILD= yes PRESTADIR= www/${PORTNAME} PLIST= ${WRKDIR}/plist -USE_PHP= ctype curl dom filter gd hash intl json mcrypt \ +USE_PHP= ctype curl dom filter gd intl mcrypt \ mysqli pdo_mysql posix session simplexml soap WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message SHEBANG_FILES= vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \ vendor/doctrine/orm/docs/bin/generate-docs.sh \ vendor/doctrine/orm/docs/bin/install-dependencies.sh \ vendor/symfony/symfony/src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/Fixtures/build.sh \ vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php post-extract: @(cd ${WRKDIR} && ${UNZIP_CMD} -d prestashop ${WRKDIR}/prestashop.zip) ${REINPLACE_CMD} -e 's#@prefix@#${PREFIX}#g' \ ${WRKSRC}/vendor/pear/archive_tar/scripts/phptar.in ${RM} ${WRKSRC}/vendor/pear/archive_tar/scripts/*.bak pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${PRESTADIR}?g" >> ${PLIST} @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/ftp/net2ftp/Makefile b/ftp/net2ftp/Makefile index bbef48d0df53..089f23ea2655 100644 --- a/ftp/net2ftp/Makefile +++ b/ftp/net2ftp/Makefile @@ -1,30 +1,30 @@ PORTNAME= net2ftp PORTVERSION= 1.4 CATEGORIES= ftp MASTER_SITES= https://www.net2ftp.com/download/ DISTNAME= ${PORTNAME}_v${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Web-based FTP client written in PHP WWW= https://www.net2ftp.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cpe php zip .if !defined(WITHOUT_PHP_DEPENDS) -USE_PHP= ftp mysqli pcre session zlib +USE_PHP= ftp mysqli session zlib .endif NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message post-patch: @${FIND} ${WRKSRC}/files_to_upload -name 'settings*.inc.php' | ${XARGS} -I % ${MV} % %.sample do-install: cd ${WRKSRC}/files_to_upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile index ecc7b14a7593..99347edef6a6 100644 --- a/mail/nocc/Makefile +++ b/mail/nocc/Makefile @@ -1,49 +1,49 @@ PORTNAME= nocc PORTVERSION= 1.9.13 CATEGORIES= mail www MASTER_SITES= SF/${PORTNAME}/NOCC/${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Webmail system which access POP3 and IMAP mail servers WWW= http://nocc.sourceforge.net/ LICENSE= GPLv2 USES= cpe php:web OPTIONS_DEFINE= DOCS -USE_PHP= ctype iconv imap mbstring openssl pcre session +USE_PHP= ctype iconv imap mbstring session SUB_FILES= pkg-message NO_ARCH= yes NO_BUILD= yes NOCCCOMP= .htaccess favicon.ico robots.txt \ action.php ckeditor.php ckeditor5.php common.php \ contacts.php contacts_manager.php \ delete.php down_mail.php download.php get_img.php \ help.php index.php logout.php rss.php send.php \ ckeditor5 classes config html htmlpurifier js lang \ themes utils PORTDOCS= * post-extract: @${FIND} ${WRKSRC} -type d -empty -delete do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} .for i in ${NOCCCOMP} cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} @(cd ${WRKSRC}; ${FIND} ${NOCCCOMP} -not -type d) | ${SORT} | \ ${SED} -ne 's,^,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} "@owner" >> ${TMPPLIST} @${ECHO_CMD} "@group" >> ${TMPPLIST} .include diff --git a/mail/pear-Horde_Imap_Client/Makefile b/mail/pear-Horde_Imap_Client/Makefile index b4b15f6101da..3d006541d802 100644 --- a/mail/pear-Horde_Imap_Client/Makefile +++ b/mail/pear-Horde_Imap_Client/Makefile @@ -1,28 +1,27 @@ PORTNAME= Horde_Imap_Client PORTVERSION= 2.29.18 CATEGORIES= mail www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde IMAP abstraction interface WWW= https://pear.horde.org USES= horde php cpe -USE_PHP= hash USE_HORDE_RUN= Horde_Exception \ Horde_Mail \ Horde_Mime \ Horde_Stream \ Horde_Util OPTIONS_DEFAULT= IMAP MBSTRING SASL OPTIONS_DEFINE= IMAP MBSTRING SASL IMAP_DESC= Require PHP imap extension MBSTRING_DESC= Require PHP mbstring extension SASL_DESC= Support SASL Authentication IMAP_USE= PHP=imap MBSTRING_USE= PHP=mbstring SASL_RUN_DEPENDS= ${PEARDIR}/Auth/SASL.php:security/pear-Auth_SASL@${PHP_FLAVOR} .include diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile index c9f2a00bb79a..4d4906da7b94 100644 --- a/mail/phplist/Makefile +++ b/mail/phplist/Makefile @@ -1,51 +1,51 @@ PORTNAME= phplist DISTVERSION= 3.6.12 CATEGORIES= mail www MASTER_SITES= SF PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@bsdserwis.com COMMENT= Full-featured open-source newsletter manager WWW= https://www.phplist.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} USES= cpe tar:tgz php:web,flavors -USE_PHP= curl gd gettext hash iconv imap json mbstring mysqli pcre session xml zlib +USE_PHP= curl gd gettext iconv imap mbstring mysqli session xml zlib IGNORE_WITH_PHP= 82 NO_ARCH= yes NO_BUILD= yes SUB_FILES= phplist PLIST_SUB= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} PORTDOCS= CONTRIBUTING.md COPYING INSTALL PEOPLE README.md TODO UPGRADE VERSION OPTIONS_DEFINE= DOCS PEARDIR?= ${LOCALBASE}/share/pear post-extract: @${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample # Note: there is file(s) with non-ascii filenames. So it's difficult to add # such files to pkg-plist. That's why there is find with delete # do-install: @${FIND} ${WRKSRC}/public_html/ -type f -regex '.*[^!-~].*' -delete @${FIND} ${WRKSRC}/public_html/ -type l -delete @${FIND} ${WRKSRC}/public_html/ -type d -empty -delete ${MKDIR} ${STAGEDIR}${WWWDIR}/ (cd ${WRKSRC}/public_html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile index 5b3cf647797f..b4ab81cb7f4f 100644 --- a/mail/postfixadmin/Makefile +++ b/mail/postfixadmin/Makefile @@ -1,82 +1,82 @@ PORTNAME= postfixadmin DISTVERSIONPREFIX= postfixadmin- DISTVERSION= 3.4.dev.20211018 CATEGORIES= mail www .if defined(_PFA_LITE) PKGNAMESUFFIX= -lite${PHP_PKGNAMESUFFIX} .else PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} .endif MAINTAINER= ports.maintainer@evilphi.com COMMENT= PHP web-based management tool for Postfix virtual domains and users WWW= http://www.postfixadmin.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL-LICENSE.TXT USES= cpe php:flavors shebangfix CPE_VENDOR= postfix_admin_project CPE_PRODUCT= postfix_admin USE_GITHUB= yes GH_TAGNAME= d3bc1551 -USE_PHP= mbstring openssl pcre session spl +USE_PHP= mbstring session NO_ARCH= yes NO_BUILD= yes SUB_FILES+= pkg-message PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} OPTIONS_DEFINE= ADDONS DOCS IMAP .if defined(_PFA_LITE) OPTIONS_DEFAULT= SQLITE .else OPTIONS_DEFAULT= ADDONS IMAP SQLITE .endif OPTIONS_MULTI= DATABASE OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE OPTIONS_SUB= yes ADDONS_DESC= Include add-ons and related Perl dependencies IMAP_DESC= Support automated sub-folder creation for new mailboxes ADDONS_RUN_DEPENDS= p5-DBI>=1.634:databases/p5-DBI \ p5-Email-Sender>=1.300031:mail/p5-Email-Sender \ p5-Email-Simple>=1.998:mail/p5-Email-Simple \ p5-Email-Valid>=0.12:mail/p5-Email-Valid \ p5-LockFile-Simple>=0.208:devel/p5-LockFile-Simple \ p5-Log-Log4perl>=0.26:devel/p5-Log-Log4perl \ p5-MIME-EncWords>=0.040:mail/p5-MIME-EncWords \ p5-Net-DNS>=1.32:dns/p5-Net-DNS \ p5-Try-Tiny>=0.30:lang/p5-Try-Tiny ADDONS_USES= gettext perl5 IMAP_USE= PHP=imap MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c ${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR} .for i in configs languages lib model public scripts templates tests (cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${i}) .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for i in GPL-LICENSE.TXT LICENSE.TXT password_expiration.sql postfixadmin.my.cnf ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR} .endfor do-install-ADDONS-on: (cd ${WRKSRC}/ADDITIONS && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ADDITIONS) (cd ${WRKSRC}/VIRTUAL_VACATION && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/VIRTUAL_VACATION) do-install-DOCS-on: (cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .for i in CHANGELOG.TXT INSTALL.TXT README.md ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/mail/postfixadmin33/Makefile b/mail/postfixadmin33/Makefile index 54d8865dfd5f..2cbc80738598 100644 --- a/mail/postfixadmin33/Makefile +++ b/mail/postfixadmin33/Makefile @@ -1,85 +1,85 @@ PORTNAME= postfixadmin33 DISTVERSIONPREFIX= postfixadmin- DISTVERSION= 3.3.13 CATEGORIES= mail www .if defined(_PFA_LITE) PKGNAMESUFFIX= -lite${PHP_PKGNAMESUFFIX} .else PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} .endif DISTNAME= postfixadmin MAINTAINER= ports.maintainer@evilphi.com COMMENT= PHP web-based management tool for Postfix virtual domains and users WWW= http://www.postfixadmin.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL-LICENSE.TXT USES= cpe php:flavors shebangfix CPE_VENDOR= postfix_admin_project CPE_PRODUCT= postfix_admin USE_GITHUB= yes GH_ACCOUNT= ${DISTNAME} GH_PROJECT= ${DISTNAME} -USE_PHP= mbstring openssl pcre session spl +USE_PHP= mbstring session NO_ARCH= yes NO_BUILD= yes SUB_FILES+= pkg-message PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} OPTIONS_DEFINE= ADDONS DOCS IMAP .if defined(_PFA_LITE) OPTIONS_DEFAULT= SQLITE .else OPTIONS_DEFAULT= ADDONS IMAP SQLITE .endif OPTIONS_MULTI= DATABASE OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE OPTIONS_SUB= yes ADDONS_DESC= Include add-ons and related Perl dependencies IMAP_DESC= Support automated sub-folder creation for new mailboxes ADDONS_RUN_DEPENDS= p5-DBI>=1.634:databases/p5-DBI \ p5-Email-Sender>=1.300031:mail/p5-Email-Sender \ p5-Email-Simple>=1.998:mail/p5-Email-Simple \ p5-Email-Valid>=0.12:mail/p5-Email-Valid \ p5-LockFile-Simple>=0.208:devel/p5-LockFile-Simple \ p5-Log-Log4perl>=0.26:devel/p5-Log-Log4perl \ p5-MIME-EncWords>=0.040:mail/p5-MIME-EncWords \ p5-Net-DNS>=1.32:dns/p5-Net-DNS \ p5-Try-Tiny>=0.30:lang/p5-Try-Tiny ADDONS_USES= gettext perl5 IMAP_USE= PHP=imap MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c ${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR} .for i in configs languages lib model public scripts templates tests (cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${i}) .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for i in GPL-LICENSE.TXT LICENSE.TXT password_expiration.sql \ postfixadmin.my.cnf ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR} .endfor do-install-ADDONS-on: (cd ${WRKSRC}/ADDITIONS && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ADDITIONS) (cd ${WRKSRC}/VIRTUAL_VACATION && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/VIRTUAL_VACATION) do-install-DOCS-on: (cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .for i in CHANGELOG.TXT INSTALL.TXT README.md ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/mail/rainloop/Makefile b/mail/rainloop/Makefile index 3d8260e13059..605eeff14f26 100644 --- a/mail/rainloop/Makefile +++ b/mail/rainloop/Makefile @@ -1,47 +1,47 @@ PORTNAME= rainloop DISTVERSIONPREFIX= legacy- DISTVERSION= 1.17.0 CATEGORIES= mail www MASTER_SITES= https://github.com/RainLoop/rainloop-webmail/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Modern and interactive webmail WWW= https://rainloop.net/ LICENSE= MIT USES= php:web,flavors zip -USE_PHP= curl dom iconv json openssl pcre simplexml spl xml zlib +USE_PHP= curl dom iconv simplexml xml zlib NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= VER="${PORTVERSION}" \ WWWGRP="${WWWGRP}" \ WWWOWN="${WWWOWN}" OPTIONS_DEFAULT= SQLITE OPTIONS_RADIO= DB OPTIONS_RADIO_DB= MYSQL PGSQL SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite post-patch: ${REINPLACE_CMD} 's/__USE_SINGLE_LINE_AUTH_PLAIN_COMMAND = false/__USE_SINGLE_LINE_AUTH_PLAIN_COMMAND = true/' \ ${WRKSRC}/rainloop/v/${PORTVERSION}/app/libraries/MailSo/Smtp/SmtpClient.php ${RM} ${WRKSRC}/rainloop/v/${PORTVERSION}/app/libraries/MailSo/Smtp/SmtpClient.php.bak do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/data ${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${WWWDIR}/data ${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} rainloop ${STAGEDIR}${WWWDIR}) # Prune empty dirs @${FIND} ${STAGEDIR}${WWWDIR}/${PORTNAME}/v/${PORTVERSION} -type d -empty -delete .include diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index ca6537e4adfe..1017de67e7a1 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -1,90 +1,90 @@ PORTNAME= roundcube DISTVERSION= 1.6.1 PORTEPOCH= 1 CATEGORIES?= mail www MASTER_SITES= https://github.com/roundcube/roundcubemail/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}mail-${DISTVERSION}-complete MAINTAINER= ale@FreeBSD.org COMMENT= Fully skinnable XHTML/CSS webmail written in PHP WWW= https://roundcube.net/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:web,flavors NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}mail-${DISTVERSION} RCUBECOMP= SQL config .htaccess index.php installer logs \ plugins program skins temp vendor PORTDOCS= CHANGELOG.md INSTALL README.md UPGRADING CPE_PRODUCT= webmail CPE_VENDOR= roundcube -USE_PHP= pcre mbstring session iconv dom xml json intl zip filter openssl fileinfo exif ctype +USE_PHP= mbstring session iconv dom xml intl zip filter fileinfo exif ctype IGNORE_WITH_PHP=82 OPTIONS_DEFINE= LDAP GD PSPELL NSC DOCS EXAMPLES OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT=MYSQL DB_DESC= Database backend MYSQL_DESC= Use MySQL backend PGSQL_DESC= Use PostgreSQL backend SQLITE_DESC= Use SQLite backend LDAP_DESC= Enable LDAP support (address book) GD_DESC= Enable GD support (image conversion) PSPELL_DESC= Enable PSpell support (internal spellcheck) NSC_DESC= Install network spellchecker GD_VARS= use_php+=gd LDAP_VARS= use_php+=ldap MYSQL_VARS= use_php+=pdo_mysql NSC_IMPLIES= PSPELL NSC_VARS= use_php+=simplexml PGSQL_VARS= use_php+=pdo_pgsql PSPELL_VARS= use_php+=pspell SQLITE_VARS= use_php+=pdo_sqlite SUB_FILES= newsyslog.conf post-patch: @${FIND} ${WRKSRC} -name \*.orig -type f -delete do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${WWWDIR} .for i in ${RCUBECOMP} @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor @(cd ${WRKSRC}; ${FIND} bin ${RCUBECOMP} -not -type d) | ${SORT} | \ ${SED} -ne 's,^,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} '@postexec chown ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/logs' \ >> ${TMPPLIST} @${ECHO_CMD} '@postexec chown ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/temp' \ >> ${TMPPLIST} do-install-NSC-on: @${INSTALL_DATA} ${FILESDIR}/spellchecker.php ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '${WWWDIR_REL}/spellchecker.php' >> ${TMPPLIST} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/newsyslog.conf ${STAGEDIR}${EXAMPLESDIR} @${ECHO_CMD} '@dir etc/newsyslog.conf.d' \ >> ${TMPPLIST} @${ECHO_CMD} '@sample ${EXAMPLESDIR}/newsyslog.conf etc/newsyslog.conf.d/roundcube.conf' \ >> ${TMPPLIST} .include diff --git a/mail/snappymail/Makefile b/mail/snappymail/Makefile index 2ec62bea6927..6e9a1fc8792c 100644 --- a/mail/snappymail/Makefile +++ b/mail/snappymail/Makefile @@ -1,44 +1,44 @@ PORTNAME= snappymail DISTVERSION= 2.27.2 CATEGORIES= mail www MASTER_SITES= https://github.com/the-djmaze/snappymail/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= yasu@FreeBSD.org COMMENT= Simple, modern, lightweight & fast web-based email client WWW= https://snappymail.eu/ LICENSE= AGPLv3 RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} \ ${PECL_PKGNAMEPREFIX}uuid>0:devel/pecl-uuid@${PHP_FLAVOR} USES= php:web,flavors -USE_PHP= curl dom gd iconv intl json mbstring openssl phar sodium tidy \ +USE_PHP= curl dom gd iconv intl mbstring phar sodium tidy \ xml zip zlib NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= VER="${PORTVERSION}" \ WWWGRP="${WWWGRP}" \ WWWOWN="${WWWOWN}" OPTIONS_DEFINE= GNUPG LDAP MYSQL PGSQL REDIS SQLITE3 OPTIONS_DEFAULT= GNUPG LDAP MYSQL PGSQL REDIS SQLITE3 GNUPG_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}gnupg>0:security/pecl-gnupg@${PHP_FLAVOR} LDAP_USE= PHP=ldap MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql REDIS_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}redis>0:databases/pecl-redis@${PHP_FLAVOR} SQLITE3_USE= PHP=pdo_sqlite do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${RM} -r ${STAGEDIR}${WWWDIR}/data ${MKDIR} ${STAGEDIR}${WWWDIR}/data .include diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile index 4574e884934c..f7a0c4d3ecf2 100644 --- a/mail/squirrelmail/Makefile +++ b/mail/squirrelmail/Makefile @@ -1,96 +1,96 @@ PORTNAME= squirrelmail DISTVERSION= 20230207 CATEGORIES= mail www MASTER_SITES= http://snapshots.squirrelmail.org/ \ http://freebsd.uzsolt.hu/src/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}-${PORTVERSION}_0200-SVN.stable DIST_SUBDIR= ${PORTNAME} MAINTAINER= uzsolt@uzsolt.hu COMMENT= Webmail system which accesses mail over IMAP WWW= https://www.squirrelmail.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= cpe gettext perl5 php:web,flavors tar:bzip2 USE_PERL5= run -USE_PHP= gettext hash mbstring openssl pcre session xml +USE_PHP= gettext mbstring session xml CONFLICTS= squirreloutlook NO_ARCH= yes PORTSCOUT= ignore:1 SUB_FILES= pkg-message SUB_LIST= SMGROUP=${SMGROUP} \ SMUSER=${SMUSER} \ SQUIRRELDIR=${SQUIRRELDIR} USERS= ${SMUSER} GROUPS= ${SMGROUP} PLIST_SUB= PORTVERSION=${PORTVERSION} \ SMGROUP=${SMGROUP} \ SMUSER=${SMUSER} \ SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}" WRKSRC= ${WRKDIR}/${PORTNAME}.stable/${PORTNAME} OPTIONS_DEFINE= DATABASE DOCS LDAP DATABASE_DESC= PDO database support (must also install a driver) DATABASE_USE= PHP=pdo LDAP_USE= PHP=ldap # if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail SQUIRRELDIR?= ${WWWDIR} SMUSER?= ${WWWOWN} SMGROUP?= ${WWWGRP} post-patch: @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/aspell|g' \ ${WRKSRC}/plugins/squirrelspell/sqspell_config.php @${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \ ${WRKSRC}/plugins/fortune/fortune_functions.php @${REINPLACE_CMD} -e 's|/var/local/squirrelmail|${SQUIRRELDIR}|g' \ ${WRKSRC}/config/conf.pl ${WRKSRC}/config/config_default.php ${WRKSRC}/doc/INSTALL do-build: # Rearrange the documentation @${MV} ${WRKSRC}/themes/README.themes ${WRKSRC}/doc @(cd ${WRKSRC} && \ for f in `${FIND} -E plugins -regex \ '.*(README.*|INSTALL|HISTORY)'`; \ do \ ${MKDIR} doc/`dirname $$f`; \ ${MV} $$f doc/`dirname $$f`; \ done) @${MV} ${WRKSRC}/doc/plugins/squirrelspell/doc/README ${WRKSRC}/doc/plugins/squirrelspell @${RM} -r ${WRKSRC}/doc/plugins/squirrelspell/doc @${MV} ${WRKSRC}/plugins/squirrelspell/doc/* ${WRKSRC}/doc/plugins/squirrelspell @${RM} ${WRKSRC}/doc/plugins/squirrelspell/index.php @${RM} -r ${WRKSRC}/plugins/squirrelspell/doc @${ECHO} "left_refresh=300" >> ${WRKSRC}/data/default_pref @${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample @${MV} ${WRKSRC}/data/default_pref ${WRKSRC}/data/default_pref.sample @${MKDIR} ${WRKSRC}/attach @${CP} -p ${WRKSRC}/data/.htaccess ${WRKSRC}/attach/.htaccess do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${FILESDIR}/111.clean-squirrelmail ${STAGEDIR}${PREFIX}/etc/periodic/daily @${MKDIR} ${STAGEDIR}${SQUIRRELDIR} ${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${SQUIRRELDIR} ${INSTALL_SCRIPT} ${WRKSRC}/configure ${STAGEDIR}${SQUIRRELDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} "attach class config data functions help images include locale plugins po scripts src themes" \ ${STAGEDIR}${SQUIRRELDIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/math/pear-Math_BigInteger/Makefile b/math/pear-Math_BigInteger/Makefile index dc9cb97e06bb..056f95cc1b99 100644 --- a/math/pear-Math_BigInteger/Makefile +++ b/math/pear-Math_BigInteger/Makefile @@ -1,12 +1,11 @@ PORTNAME= Math_BigInteger PORTVERSION= 1.0.3 CATEGORIES= math pear MAINTAINER= meritus@innervision.pl COMMENT= Pure-PHP arbitrary precision integer arithmetic library WWW= https://pear.php.net/package/Math_BigInteger USES= pear php -USE_PHP= pcre .include diff --git a/misc/pear-Services_Weather/Makefile b/misc/pear-Services_Weather/Makefile index ef79b26f9ce5..b45dd1a6e074 100644 --- a/misc/pear-Services_Weather/Makefile +++ b/misc/pear-Services_Weather/Makefile @@ -1,35 +1,35 @@ PORTNAME= Services_Weather PORTVERSION= 1.4.7 PORTEPOCH= 1 CATEGORIES= misc www pear geography MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR interface to various online weather-services WWW= https://pear.php.net/package/Services_Weather LICENSE= BSD2CLAUSE RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}HTTP_Request>=1.2.0:www/pear-HTTP_Request@${PHP_FLAVOR} USES= pear -USE_PHP= ctype pcre +USE_PHP= ctype NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= pear OPTIONS_DEFINE= CACHE DB NET_FTP SOAP XML_SERIALIZER NET_FTP_DESC= PEAR::Net::FTP support CACHE_DESC= PEAR::Cache support DB_DESC= PEAR::DB support SOAP_DESC= PEAR::SOAP support XML_SERIALIZER_DESC= PEAR::XML::Serializer support CACHE_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Cache>=1.5.3:sysutils/pear-Cache@${PHP_FLAVOR} DB_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}DB>=1.4.0:databases/pear-DB@${PHP_FLAVOR} NET_FTP_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Net_FTP>=1.3.1:ftp/pear-Net_FTP@${PHP_FLAVOR} SOAP_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}SOAP>=0.7.5:net/pear-SOAP@${PHP_FLAVOR} XML_SERIALIZER_RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}XML_Serializer>=0.8:devel/pear-XML_Serializer@${PHP_FLAVOR} .include diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile index 92fa530ce642..17b79c0ea0b0 100644 --- a/multimedia/zoneminder/Makefile +++ b/multimedia/zoneminder/Makefile @@ -1,119 +1,119 @@ PORTNAME= zoneminder DISTVERSION= 1.36.33 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 \ 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 hash intl json opcache openssl pdo_mysql session sockets sysvsem +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/cacti/Makefile b/net-mgmt/cacti/Makefile index bb39814cafb8..974ad2b192f6 100644 --- a/net-mgmt/cacti/Makefile +++ b/net-mgmt/cacti/Makefile @@ -1,59 +1,59 @@ PORTNAME= cacti PORTVERSION= 1.2.23 CATEGORIES= net-mgmt www MASTER_SITES= http://www.cacti.net/downloads/ \ ftp://ftpmirror.uk/freebsd-ports/cacti/ MAINTAINER= m.muenz@gmail.com COMMENT= Web-driven graphing interface for RRDTool WWW= https://www.cacti.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rrdtool:databases/rrdtool USES= cpe mysql php:web shebangfix -USE_PHP= ctype filter gd gettext gmp hash json ldap mbstring openssl pcre pdo pdo_mysql posix session simplexml sockets snmp xml zlib +USE_PHP= ctype filter gd gettext gmp ldap mbstring pdo pdo_mysql posix session simplexml sockets snmp xml zlib NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SHEBANG_FILES= scripts/3com_cable_modem.pl \ scripts/diskfree.pl \ scripts/linux_memory.pl \ scripts/loadavg.pl \ scripts/loadavg_multi.pl \ scripts/ping.pl \ scripts/query_unix_partitions.pl \ scripts/unix_processes.pl \ scripts/unix_tcp_connections.pl \ scripts/unix_users.pl \ scripts/weatherbug.pl \ scripts/webhits.pl CACTIDIR?= share/cacti CACTIUSER?= cacti CACTIGROUP?= cacti USERS?= ${CACTIUSER} GROUPS?= ${CACTIGROUP} PLIST_SUB= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} SUB_LIST= CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} \ CACTIGROUP=${CACTIGROUP} post-patch: @${FIND} ${WRKSRC} -name \*.orig -delete; \ ${MV} ${WRKSRC}/include/config.php ${WRKSRC}/include/config.php.sample ${RM} -r ${WRKSRC}/log ${WRKSRC}/rra do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${CACTIDIR} ${MKDIR} ${STAGEDIR}/var/log/cacti ${MKDIR} ${STAGEDIR}/var/db/cacti/rra ${MKDIR} ${STAGEDIR}/var/db/cacti/scripts cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${CACTIDIR} "! -name \.mdl*" .include diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile index 26e5bdd7ebb0..6b44d47388c0 100644 --- a/net-mgmt/icingaweb2/Makefile +++ b/net-mgmt/icingaweb2/Makefile @@ -1,80 +1,80 @@ PORTNAME= icingaweb2 DISTVERSIONPREFIX= v DISTVERSION= 2.11.4 PORTREVISION= 1 CATEGORIES= net-mgmt www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Next generation web interface for Icinga 1 and 2 WWW= https://www.icinga.com/products/icinga-web-2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icinga-php-library${PHP_PKGNAMESUFFIX}>=0.10.0:net-mgmt/icinga-php-library@${PHP_FLAVOR} \ icinga-php-thirdparty${PHP_PKGNAMESUFFIX}>=0.11.0:net-mgmt/icinga-php-thirdparty@${PHP_FLAVOR} \ icingaweb2-module-incubator${PHP_PKGNAMESUFFIX}>=0.18.0:net-mgmt/icingaweb2-module-incubator@${PHP_FLAVOR} USES= php:build,web,flavors shebangfix -USE_PHP= bcmath bitset ctype curl dom gd gettext hash iconv json ldap \ - mbstring mcrypt memcache memcached opcache openssl pcre pdo \ +USE_PHP= bcmath bitset ctype curl dom gd gettext iconv ldap \ + mbstring mcrypt memcache memcached opcache pdo \ pdo_sqlite posix session simplexml soap sockets sqlite3 xml \ zlib USE_GITHUB= yes GH_ACCOUNT= icinga NO_BUILD= yes NO_ARCH= yes CONFLICTS_INSTALL= icingaweb2-php* # bin/icingacli SHEBANG_FILES= bin/icingacli SUB_FILES= pkg-message SUB_LIST= ETCDIR=${ETCDIR} \ EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} OPTIONS_DEFINE= EXAMPLES LDAP MYSQL NLS PDF PGSQL SQLITE OPTIONS_DEFAULT= LDAP MYSQL PGSQL SQLITE PDF_DESC= Export graphs as PDF PDF_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} NLS_USES= gettext NLS_USE= PHP=intl PGSQL_USE= PHP=pdo_pgsql,pgsql MYSQL_USE= PHP=mysqli,pdo_mysql SQLITE_USE= PHP=pdo_sqlite,sqlite3 LDAP_USE= PHP=ldap post-patch: ${REINPLACE_CMD} 's%\(/etc/icingaweb2\)%${PREFIX}\1%g' \ ${WRKSRC}/library/Icinga/Application/ApplicationBootstrap.php ${REINPLACE_CMD} 's%/var/lib/icingaweb2%/var/db/icingaweb2%g' \ ${WRKSRC}/library/Icinga/Application/ApplicationBootstrap.php ${REINPLACE_CMD} 's%/usr/share/icinga-php%${WWWDIR}/icinga-php%g' \ ${WRKSRC}/library/Icinga/Application/ApplicationBootstrap.php ${REINPLACE_CMD} 's%readlink[^)]*)%"${PREFIX}/bin/php"%g' \ ${WRKSRC}/application/clicommands/WebCommand.php do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}/ ${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d (cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \ bin/license_writer.py packages test) (${FIND} ${WRKSRC} -name "*.bak" -delete) ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${CHMOD} 755 ${STAGEDIR}${WWWDIR}/bin/icingacli ${RLN} ${STAGEDIR}${WWWDIR}/bin/icingacli ${STAGEDIR}${PREFIX}/bin/icingacli ${MKDIR} ${STAGEDIR}${ETCDIR} .include diff --git a/net-mgmt/klg/Makefile b/net-mgmt/klg/Makefile index 2e3bb47babad..7bdca24a2631 100644 --- a/net-mgmt/klg/Makefile +++ b/net-mgmt/klg/Makefile @@ -1,50 +1,50 @@ PORTNAME= klg PORTVERSION= 1.5 PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= SF \ ftp://ftpmirror.uk/freebsd-ports/klg/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@dan.me.uk COMMENT= PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers WWW= https://sourceforge.net/projects/klg/ LICENSE= BSD3CLAUSE USES= tar:txz php:web,flavors mysql:client -USE_PHP= mysqli pcre sockets xml +USE_PHP= mysqli sockets xml NO_ARCH= yes NO_BUILD= yes PLIST_FILES= ${DATADIR}/CREDITS \ ${DATADIR}/ChangeLog \ ${DATADIR}/klg_README.txt \ ${DATADIR}/klg_schema.sql \ ${WWWDIR}/klg.php \ "@sample ${WWWDIR}/klg_config.php.sample" \ "@sample ${WWWDIR}/klg_template.html.sample" \ ${WWWDIR}/klg_router_functions.php SUB_FILES+= pkg-message OPTIONS_DEFINE= SSH2 OPTIONS_DEFAULT= SSH2 SSH2_DESC= SSH2 support for router access .include .if ${PORT_OPTIONS:MSSH2} RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/ssh2.so:security/pecl-ssh2@${PHP_FLAVOR} .endif do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} ${STAGEDIR}${DATADIR} ${CP} ${WRKSRC}/CREDITS ${WRKSRC}/ChangeLog ${WRKSRC}/klg_README.txt \ ${WRKSRC}/klg_schema.sql ${STAGEDIR}${DATADIR} ${CP} ${WRKSRC}/klg.php ${WRKSRC}/klg_router_functions.php ${STAGEDIR}/${WWWDIR} ${CP} ${WRKSRC}/klg_config.php ${STAGEDIR}/${WWWDIR}/klg_config.php.sample ${CP} ${WRKSRC}/klg_template.html ${STAGEDIR}/${WWWDIR}/klg_template.html.sample .include diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index cf44d7687edb..8dd0471dd157 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,213 +1,213 @@ PORTNAME= librenms PORTVERSION= 23.4.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor DISTFILES= ${PORTNAME}-vendor-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}:vendor MAINTAINER= dvl@FreeBSD.org COMMENT= Autodiscovering PHP/MySQL/SNMP based network monitoring WWW= https://www.librenms.org LICENSE= GPLv3 IGNORE_WITH_PHP= 82 # perhaps we also need python-memcache python-mysqldb RUN_DEPENDS+= ${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>0:www/py-python-dotenv@${PY_FLAVOR} \ bash:shells/bash \ dot:graphics/graphviz \ rrdtool:databases/rrdtool \ snmpget:net-mgmt/net-snmp \ sudo:security/sudo USES= cpe php python shebangfix USE_GITHUB= yes -USE_PHP= ctype curl dom fileinfo filter gd hash json ldap mbstring \ - mysqli openssl pdo pdo_mysql phar posix session simplexml snmp \ +USE_PHP= ctype curl dom fileinfo filter gd ldap mbstring \ + mysqli pdo pdo_mysql phar posix session simplexml snmp \ sockets tokenizer xml xmlwriter zip USE_RC_SUBR= librenms SHEBANG_FILES= ../${PORTNAME}-vendor-${PORTVERSION}/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \ ../${PORTNAME}-vendor-${PORTVERSION}/tecnickcom/tcpdf/tools/tcpdf_addfont.php \ poller-wrapper.py poller.php scripts/auth_test.php \ scripts/check_requirements.py \ scripts/dynamic_check_requirements.py scripts/github-remove \ scripts/ifAlias \ scripts/Migration/Standard_Conversion/convert_no_xml.sh \ scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ scripts/Migration/Standard_Conversion/mkdir.sh \ scripts/Migration/XML_Conversion/convert.sh \ scripts/Migration/XML_Conversion/destwork.sh \ scripts/Migration/XML_Conversion/mkdir.sh \ scripts/removespikes.php scripts/removespikes.pl \ scripts/watchmaillog/watchmaillog.pl NO_ARCH= yes NO_BUILD= yes SUB_FILES+= pkg-message SUB_LIST+= GROUP="${WWWGRP}" \ PHP="${PHPBASE}/bin/php" \ PYTHON=${PYTHON_CMD} \ USER="${WWWOWN}" \ WWWDIR="${WWWDIR}" USERS= www PORTDOCS= * PORTEXAMPLES= snmpd.conf.example DBDIR= /var/db/${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS \ NMAP WMIC X11 OPTIONS_DEFAULT= FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC FPING_DESC= Enable fping support ping monitoring IPMITOOL_DESC= Enable support for monitoring hardware IPMI MYSQLD_DESC= Use local MySQL server WMIC_DESC= Enable support for WMI polling FPING_RUN_DEPENDS= fping:net/fping IPMITOOL_RUN_DEPENDS= ipmitool:sysutils/ipmitool LIBVIRT_RUN_DEPENDS= virsh:devel/libvirt MYSQLD_USES= mysql:server MYSQLD_USES_OFF= mysql:client NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins NMAP_RUN_DEPENDS= nmap:security/nmap WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client X11_RUN_DEPENDS= mtr:net/mtr X11_RUN_DEPENDS_OFF= mtr:net/mtr-nox11 X11_USES= magick:6 X11_USES_OFF= magick:6,nox11 _ROOT_FILES= addhost.php adduser.php alerts.php artisan \ billing-calculate.php check-services.php composer.json \ composer.lock config.php.default config_to_json.php \ cronic daily.php delhost.php discovery-wrapper.py \ discovery.php dist-pollers.php irc.php \ librenms-service.py mkdocs.yml pbin.sh phpunit.xml \ ping.php poll-billing.php poller.php poller-wrapper.py \ renamehost.php snmp-scan.py snmptrap.php syslog.php \ validate.php _SCRIPT_FILES= daily.sh lnms # _RELEASE_TIMESTAMP is used for a patch inside the vendor code # it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 # It sits here so you remember to update it with each release _RELEASE_TIMESTAMP= 1680825172 _ROOT_DIRS= LibreNMS app bootstrap config database doc html \ includes licenses mibs misc resources routes scripts \ sql-schema tests _DOCS= AUTHORS.md CHANGELOG.md CONTRIBUTING.md LICENSE.txt \ README.md # these are directories which require a generic @DIR entry in pkg-plist _STORAGE_DIRS= app app/public debugbar framework framework/cache \ framework/cache/data framework/sessions framework/testing \ framework/views logs # these are directories which require a generic @DIR entry in pkg-plist _OTHER_DIRS= database/seeders/config html/plugins html/js/lang \ resources/views/overview/custom tests/Browser/console \ tests/Browser/screenshots \ vendor/librenms/laravel-vue-i18n-generator/tests/output \ vendor/symfony/string/Resources/bin post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/LibreNMS/Validations/Php.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/LibreNMS/Util/Version.php ${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/LibreNMS/Util/Version.php ${REINPLACE_CMD} 's|%%RELEASE_TIMESTAMP%%|${_RELEASE_TIMESTAMP}|g' ${WRKSRC}/LibreNMS/Util/Version.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/includes/html/output/capture.inc.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config.php.default ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/poller-wrapper.py ${RM} ${WRKSRC}/LibreNMS/Validations/Updates.php ${RM} -rf ${WRKSRC}/logs do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} .for dir in ${_ROOT_DIRS} ${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} (cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir}) .endfor .for f in ${_ROOT_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor .for f in ${_SCRIPT_FILES} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor ${MKDIR} ${STAGEDIR}/${WWWDIR}/vendor (cd ${WRKDIR}/${PORTNAME}-vendor-${PORTVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/vendor) # As of 1.66_1, the package installs bootstrap/cache # This was previously left to the code to populate. # That causese problems when the code doesn't do that update. ${MV} ${STAGEDIR}/${WWWDIR}/vendor/bootstrap-cache/* ${STAGEDIR}/${WWWDIR}/bootstrap/cache/ ${RM} -rf ${STAGEDIR}/${WWWDIR}/vendor/bootstrap-cache # similarly with html/js/lang ${MV} ${STAGEDIR}/${WWWDIR}/vendor/html-js-lang/* ${STAGEDIR}/${WWWDIR}/html/js/lang/ ${RM} -rf ${STAGEDIR}/${WWWDIR}/vendor/html-js-lang # Make daily.sh executable # ${CHMOD} 0755 ${STAGEDIR}/${WWWDIR}/daily.sh # lnms does not fall into any other +x category # ${CHMOD} 0755 ${STAGEDIR}/${WWWDIR}/lnms # Files in scripts dir should be executable ${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; # Ensure PHP and Python scripts are executable ${FIND} ${STAGEDIR}/${WWWDIR} -type f -name '*.py' -or -type f -name \ '*.php' -exec ${CHMOD} +x {} \; # these values should be outside the www tree now ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} ${MKDIR} ${STAGEDIR}${DBDIR} ${MKDIR} ${STAGEDIR}${DBDIR}/storage ${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} (cd ${STAGEDIR}/${WWWDIR} && ${LN} -s ../../../..${DBDIR}/storage) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} .for f in ${_DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor post-install: ${FIND} -s ${STAGEDIR}${WWWDIR} -type f '(' -name '*.orig' -or -name '*.bak' -or -name '.gitignore' ')' -delete ${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} # we do this file separately because it needs a different chmod/chown # it will eventually contains secrets ${INSTALL_DATA} ${WRKSRC}/.env.example ${STAGEDIR}/${WWWDIR} ${ECHO_CMD} "@dir(www,www,0775) ${DBDIR}/storage" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${DBDIR}" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/log/${PORTNAME}" >> ${TMPPLIST} ${ECHO_CMD} "@(root,www,0750) ${WWWDIR}/.env.example" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/bootstrap/cache" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/run/${PORTNAME}" >> ${TMPPLIST} .for f in ${_STORAGE_DIRS} ${MKDIR} ${STAGEDIR}/${DBDIR}/storage/${f} ${ECHO_CMD} "@dir(root,www,0775) ${DBDIR}/storage/${f}" >> ${TMPPLIST} .endfor .for f in ${_OTHER_DIRS} ${ECHO_CMD} "@dir(root,www,0775) ${WWWDIR}/${f}" >> ${TMPPLIST} .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/newsyslog.conf.sample ${STAGEDIR}/${PREFIX}/etc/newsyslog.conf.d/librenms.conf.sample ${ECHO_CMD} "@dir etc/newsyslog.conf.d" >> ${TMPPLIST} ${ECHO_CMD} "@sample etc/newsyslog.conf.d/librenms.conf.sample" >> ${TMPPLIST} .include diff --git a/net-mgmt/nagvis/Makefile b/net-mgmt/nagvis/Makefile index eae313eedf4e..6350583a4c29 100644 --- a/net-mgmt/nagvis/Makefile +++ b/net-mgmt/nagvis/Makefile @@ -1,59 +1,59 @@ PORTNAME= nagvis PORTVERSION= 1.9.34 CATEGORIES= net-mgmt MASTER_SITES= http://www.nagvis.org/share/ MAINTAINER= egypcio@FreeBSD.org COMMENT= Visualization addon for Nagios WWW= https://www.nagvis.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gettext php:web -USE_PHP= gd gettext mbstring session json pdo pdo_sqlite +USE_PHP= gd gettext mbstring session pdo pdo_sqlite NO_BUILD= yes NO_ARCH= yes SUB_LIST+= WWW_OWNER=${WWW_OWNER} WWW_GROUP=${WWW_GROUP} \ DIRMODE=${DIRMODE} FILEMODE=${FILEMODE} SUB_FILES+= pkg-install pkg-deinstall PLIST_SUB+= WWWDIR="${WWWDIR}" WWW_OWNER?= ${WWWOWN} WWW_GROUP?= ${WWWGRP} DIRMODE?= 750 FILEMODE?= 640 OPTIONS_DEFINE= GRAPHVIZ OPTIONS_SINGLE= BROKER OPTIONS_SINGLE_BROKER= MKLIVESTATUS NDO2DB OPTIONS_DEFAULT= MKLIVESTATUS GRAPHVIZ_DESC= Graphviz is needed for automaps MKLIVESTATUS_DESC= Depend on mk-livestatus broker (preferred) NDO2DB_DESC= Depend on ndo2db broker GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz MKLIVESTATUS_RUN_DEPENDS= mk-livestatus>=0:net-mgmt/mk-livestatus NDO2DB_USE= PHP=mysqli NDO2DB_RUN_DEPENDS= ndo2db:net-mgmt/ndoutils post-extract: @${RM} ${WRKSRC}/.gitignore ${WRKSRC}/install.sh ${WRKSRC}/INSTALL post-patch: @${REINPLACE_CMD} -i '' -e 's|@NAGVIS_WEB@|/nagvis|g' \ -e 's|@NAGVIS_PATH@|${WWWDIR}|g' \ ${WRKSRC}/etc/apache2-nagvis.conf-sample @${REINPLACE_CMD} -i '' -e 's|/usr/local/nagvis/|${WWWDIR}/|' \ ${WRKSRC}/etc/nagvis.ini.php-sample do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/etc/automaps \ ${STAGEDIR}${WWWDIR}/share/var \ ${STAGEDIR}${WWWDIR}/var/tmpl/cache \ ${STAGEDIR}${WWWDIR}/var/tmpl/compile (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}) .include diff --git a/net-mgmt/nfsen/Makefile b/net-mgmt/nfsen/Makefile index f0fa7962f75a..1905c6b6b8c0 100644 --- a/net-mgmt/nfsen/Makefile +++ b/net-mgmt/nfsen/Makefile @@ -1,78 +1,78 @@ PORTNAME= nfsen PORTVERSION= 1.3.8 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} \ http://nfsen.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Web based frontend to nfdump netflow collector WWW= http://nfsen.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/BSD-license.txt RUN_DEPENDS= rrdtool>=0:databases/rrdtool \ p5-Mail-Tools>=0:mail/p5-Mail-Tools \ p5-Socket6>=0:net/p5-Socket6 \ nfdump>=0:net-mgmt/nfdump USES= cpe iconv shebangfix perl5 php CPE_VENDOR= nfsen CPE_PRODUCT= nfsen -USE_PHP= session pcre sockets +USE_PHP= session sockets NO_BUILD= yes NO_ARCH= yes NFSENOWN?= www PLIST_SUB+= PORTNAME=${PORTNAME} PLIST_SUB+= NFSENOWN=${NFSENOWN} USE_RC_SUBR= nfsen perl_OLD_CMD= %%PERL%% SHEBANG_FILES= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend libexec/NfSenRRD.pm \ libexec/NfAlert.pm libexec/NfProfile.pm libexec/Notification.pm libexec/NfSen.pm \ libexec/NfConf.pm libexec/Lookup.pm libexec/AbuseWhois.pm libexec/NfSenRC.pm \ libexec/Nfsources.pm REINPLACE_ARGS= -i '' REINPLACE_LIST= bin/testPlugin bin/RebuildHierarchy.pl bin/nfsen bin/nfsend etc/nfsen-dist.conf libexec/NfConf.pm SUB_LIST+= "CONFDIR=${PREFIX}/etc" SUB_LIST+= "LIBEXECDIR=${PREFIX}/libexec/${PORTNAME}" SUB_LIST+= "PORTVERSION=${PORTVERSION}" SUB_LIST+= "PREFIX=${PREFIX}" SUB_LIST+= "WWWDIR=${WWWDIR}" SUB_LIST+= "PORTNAME=${PORTNAME}" SUB_LIST+= "NFSENOWN=${NFSENOWN}" post-patch: .for nfsenfile in ${REINPLACE_LIST} @${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/${nfsenfile} .endfor .for perlfile in ${SHEBANG_FILES} @${REINPLACE_CMD} "s|perl -w$$|perl|" ${WRKSRC}/${perlfile} .endfor ${CP} ${FILESDIR}/conf.php ${WRKSRC} @${REINPLACE_CMD} ${_SUB_LIST_TEMP} ${WRKSRC}/conf.php @${REINPLACE_CMD} "s|/usr/bin/perl|${perl_CMD}|" ${WRKSRC}/libexec/Nfcomm.pm FIND_EXPR= ! -name \._* -prune do-install: ${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-data/live ${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles-stat/live ${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/profiles/live ${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/filters ${INSTALL} -d ${STAGEDIR}/${PREFIX}/var/${PORTNAME}/run ${INSTALL} -d ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/plugins ${INSTALL} -d ${STAGEDIR}/${WWWDIR}/plugins (cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/bin/) ${INSTALL_DATA} ${WRKSRC}/etc/nfsen-dist.conf ${STAGEDIR}/${PREFIX}/etc/ (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/ "${FIND_EXPR}") (cd ${WRKSRC}/plugins/frontend/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/plugins/ "${FIND_EXPR}") (cd ${WRKSRC}/libexec && ${INSTALL_SCRIPT} * ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/) (cd ${WRKSRC}/plugins/backend && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/plugins/ "${FIND_EXPR}") ${INSTALL_DATA} ${WRKSRC}/installer-items/CopyRecursive.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ ${INSTALL_DATA} ${WRKSRC}/installer-items/RRDconvertv1.pm ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/ ${INSTALL_DATA} ${WRKSRC}/conf.php ${STAGEDIR}/${WWWDIR} @${ECHO_MSG} "Configure your ${LOCALBASE}/etc/nfsen.conf to have necessary sources "; @${ECHO_MSG} "Then run 'nfsen reconfig' to correctly setup source, RRD, and profile files"; .include diff --git a/net-mgmt/observium/Makefile b/net-mgmt/observium/Makefile index e2bea9c27867..6c0bce1875ea 100644 --- a/net-mgmt/observium/Makefile +++ b/net-mgmt/observium/Makefile @@ -1,135 +1,135 @@ # Observium version can be found by looking at ${WRKSRC}/includes/definitions/version.inc.php PORTNAME= observium PORTVERSION= 0.19.8 PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= http://www.observium.org/ DISTNAME= ${PORTNAME}-community-latest DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= feld@FreeBSD.org COMMENT= Autodiscovering PHP/MySQL/SNMP based network monitoring WWW= https://observium.org LICENSE= EULA LICENSE_NAME= "Observium License Version 1.0" LICENSE_FILE= ${WRKSRC}/LICENSE.COMMUNITY LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept WRKSRC= ${WRKDIR}/${PORTNAME} USES= cpe php:cli,flavors python:3.5+ shebangfix IGNORE_WITH_PHP= 82 SHEBANG_FILES= \ poller-wrapper.py \ poller.php \ scripts/ -USE_PHP= ctype filter gd iconv json mcrypt mysqli openssl posix session snmp tokenizer xml zlib +USE_PHP= ctype filter gd iconv mcrypt mysqli posix session snmp tokenizer xml zlib NO_ARCH= yes NO_BUILD= yes RUN_DEPENDS+= rrdtool:databases/rrdtool \ dot:graphics/graphviz \ mtr:net/mtr-nox11 \ ${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \ snmpget:net-mgmt/net-snmp \ sudo:security/sudo LIB_DEPENDS+= libpng.so:graphics/png OPTIONS_DEFINE= APACHEMOD DOCS EXAMPLES FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS NMAP PYPOLLER SUBVERSION WMIC OPTIONS_DEFAULT= APACHEMOD FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER SUBVERSION WMIC APACHEMOD_DESC= Use PHP with Apache 2.4+ module FPING_DESC= Enable fping support ping monitoring IPMITOOL_DESC= Enable support for monitoring hardware IPMI MYSQLD_DESC= Use local MySQL server WMIC_DESC= Enable support for WMI polling PYPOLLER_DESC= Enable Python Poller Wrapper FPING_RUN_DEPENDS= fping:net/fping IPMITOOL_RUN_DEPENDS= ipmitool:sysutils/ipmitool LIBVIRT_RUN_DEPENDS= virsh:devel/libvirt NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins NMAP_RUN_DEPENDS= nmap:security/nmap PYPOLLER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR} SUBVERSION_RUN_DEPENDS= svn:devel/subversion WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client .include SUB_FILES+= pkg-message observium.conf.sample SUB_LIST+= PHP="${PREFIX}/bin/php" PYTHON="${PYTHON_CMD}" ROOT_FILES= add_device.php adduser.php alerter.php \ check-errors.php check-services.php config_to_json.php \ config.php.default delete_device.php discovery.php housekeeping.php \ irc.php poller-wrapper.py poller.php rename_device.php \ snmp.conf.example snmpd.conf.example \ snmptrap.php snmptrap.php syslog.php test_alert.php test_code.php VERSION ROOT_DIRS= html includes libs logs mibs rrd scripts templates tests update PORTDOCS= INSTALL README VERSION PORTEXAMPLES= snmp.conf.example snmpd.conf.example .if ${PORT_OPTIONS:MAPACHEMOD} USES+= apache:run .endif .if !defined(PACKAGE_BUILDING) USES+= php:mod .else # Package builder doesn't create php5 with module USES+= php:web .endif .if ${PORT_OPTIONS:MMYSQLD} USES+= mysql:server .else USES+= mysql:client .endif post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/poller-wrapper.py ${WRKSRC}/poller.php ${FIND} ${WRKSRC} -type d -empty -delete ${MKDIR} ${WRKSRC}/logs ${WRKSRC}/rrd do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes ${INSTALL_DATA} ${WRKDIR}/observium.conf.sample ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes .for dir in ${ROOT_DIRS} ${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} (cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir}) .endfor .for f in ${ROOT_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor # Files in scripts dir should be executable ${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; # Ensure PHP and Python scripts are executable ${FIND} ${STAGEDIR}/${WWWDIR} -type f -name '*.py' -or -type f -name \ '*.php' -exec ${CHMOD} +x {} \; do-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor post-install: @${ECHO_CMD} "@sample ${APACHEETCDIR}/Includes/observium.conf.sample" >> ${TMPPLIST} @${FIND} -s ${STAGEDIR}${WWWDIR} -type f '(' -name '*.orig' -or -name '*.bak' ')' -delete @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} @${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/logs" >> ${TMPPLIST} @${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/rrd" >> ${TMPPLIST} .include diff --git a/net-mgmt/ocsinventory-ocsreports/Makefile b/net-mgmt/ocsinventory-ocsreports/Makefile index be69f2ca9ba5..16b9510566d7 100644 --- a/net-mgmt/ocsinventory-ocsreports/Makefile +++ b/net-mgmt/ocsinventory-ocsreports/Makefile @@ -1,39 +1,39 @@ PORTNAME= ocsinventory-ocsreports PORTVERSION= 2.11.1 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTVERSION}/ DISTNAME= OCSNG_UNIX_SERVER-${PORTVERSION} MAINTAINER= dgeo@centrale-marseille.fr COMMENT= Webconsole for OCS Inventory NG WWW= http://www.ocsinventory-ng.org/en/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:web -USE_PHP= curl gd mbstring mysqli openssl pcre session simplexml soap xml zip zlib +USE_PHP= curl gd mbstring mysqli session simplexml soap xml zip zlib NO_ARCH= yes NO_BUILD= yes GH_ACCOUNT= OCSInventory-NG GH_PROJECT= OCSInventory-ocsreports SUB_FILES= apache.conf pkg-message ETCDIR= ${PREFIX}/etc/ocsinventory-server WRKSRC= ${WRKDIR}/${PORTNAME} do-extract: ${TAR} xf ${DISTDIR}/${DISTFILES} -C ${WRKDIR}/ --strip-components=1 \ --exclude ".git*" ${DISTNAME}/ocsreports ${MV} ${WRKDIR}/ocsreports ${WRKDIR}/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! -name dbconfig.inc.php") ${INSTALL_DATA} ${FILESDIR}/dbconfig.inc.php.sample ${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample ${INSTALL_DATA} ${WRKDIR}/apache.conf ${STAGEDIR}${ETCDIR}/ocsreports.inc.sample ${MKDIR} ${STAGEDIR}${DATADIR}/packages ${MKDIR} ${STAGEDIR}${DATADIR}/snmp .include diff --git a/net-mgmt/pandorafms_console/Makefile b/net-mgmt/pandorafms_console/Makefile index fb1430a3dc03..c2ccd5a3b3a4 100644 --- a/net-mgmt/pandorafms_console/Makefile +++ b/net-mgmt/pandorafms_console/Makefile @@ -1,73 +1,73 @@ PORTNAME= pandora_console CATEGORIES= net-mgmt MAINTAINER= koichiro@rworks.jp COMMENT= Pandora FMS console WWW= https://pandorafms.com/ LICENSE= ${PANDORA_LICENSE} LICENSE_FILE= ${PANDORA_LICENSE_FILE} RUN_DEPENDS= ${LOCALBASE}/bin/twopi:graphics/graphviz USES= apache:run php:web shebangfix SHEBANG_FILES= include/languages/extract_newlines.sh \ include/languages/util-all \ include/languages/util-bzr-update \ include/languages/util-compile-mo \ include/languages/util-create-po \ include/languages/util-create-template \ include/languages/util-generate-tarball \ include/languages/util-update-po \ pandora_console_upgrade OPTIONS_DEFINE= DOCS PGSQL DOCS_DESC= Install AUTHORS and ChangeLog PGSQL_DESC= Use PostgreSQL backend (experimental) -USE_PHP= curl filter gd gettext hash json ldap mbstring mysqli \ +USE_PHP= curl filter gd gettext ldap mbstring mysqli \ snmp session xml zip zlib SUB_FILES+= pandora_console.conf pkg-message newsyslog.conf SUB_LIST+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PGSQL_USE= PHP=pgsql .include "${.CURDIR}/../pandorafms_server/bsd.pandora.mk" PORTREVISION= 3 PANDORA_INSTALLER_ARGS+= --destdir ${STAGEDIR} post-patch: @${REINPLACE_CMD} \ -e "\|PANDORA_HOME=|s|=[^;]*|=${WWWDIR}|g" \ ${WRKSRC}/pandora_console_install @${REINPLACE_CMD} \ -e "s|/usr/bin|${LOCALBASE}/bin|g" \ ${WRKSRC}/pandoradb.data*.sql @${REINPLACE_CMD} \ -e 's|/bin/bash|/bin/sh|g' \ ${WRKSRC}/extras/check_other_languages.sh post-install: @cd ${STAGEDIR}${WWWDIR} \ && ${RM} -r pandora_console_[il]* DEBIAN/ *.spec \ attachment/downloads/.gitignore ${PORTDOCS} \ Dockerfile docker_entrypoint.sh \ *.sql.bak extras/check_other_languages.sh.bak @cd ${STAGEDIR}${WWWDIR} && ${MV} install.php install_old.php @(d=${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes; ${MKDIR} $$d; \ ${INSTALL_DATA} ${WRKDIR}/pandora_console.conf \ $$d/pandora_console.conf.sample) @(d=${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d; ${MKDIR} $$d; \ ${INSTALL_DATA} ${WRKDIR}/newsyslog.conf \ $$d/pandora_console.conf) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-mgmt/phpipam/Makefile b/net-mgmt/phpipam/Makefile index 9f19a2250448..487be208bdf2 100644 --- a/net-mgmt/phpipam/Makefile +++ b/net-mgmt/phpipam/Makefile @@ -1,43 +1,43 @@ PORTNAME= phpipam DISTVERSION= 1.5.2 CATEGORIES= net-mgmt MAINTAINER= jake@xz.cx COMMENT= PHP IP Address Management IPv4/IPv6 WWW= https://phpipam.net/ LICENSE= GPLv3 RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR} USES= cpe gettext php:web tar: IGNORE_WITH_PHP= 82 USE_GITHUB= yes GH_TAGNAME= be8a2c4 -USE_PHP= ctype curl dom filter gd gettext gmp iconv json mbstring mcrypt \ - openssl pcntl pdo pdo_mysql posix session simplexml sockets +USE_PHP= ctype curl dom filter gd gettext gmp iconv mbstring mcrypt \ + pcntl pdo pdo_mysql posix session simplexml sockets NO_ARCH= yes NO_BUILD= yes CFGFILE= config.php SUB_FILES= pkg-message SUB_LIST= DISTNAME=${DISTNAME} OPTIONS_DEFINE= LDAP LDAP_USE= PHP=ldap pre-install: @if [ -f ${WRKSRC}/${CFGFILE} ]; then \ ${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample ; \ fi do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \ "! -name *.orig") .include diff --git a/net-mgmt/pnp/Makefile b/net-mgmt/pnp/Makefile index b580da0ed814..74de1e58f89f 100644 --- a/net-mgmt/pnp/Makefile +++ b/net-mgmt/pnp/Makefile @@ -1,103 +1,103 @@ PORTNAME= pnp PORTVERSION= 0.6.26 PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/pnp4nagios/PNP-0.6 DISTNAME= pnp4nagios-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER?= joneum@FreeBSD.org COMMENT?= Nagios / Icinga performance data collector and grapher WWW= https://www.pnp4nagios.org/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/rrdtool:databases/rrdtool RUN_DEPENDS?= ${LOCALBASE}/bin/rrdtool:databases/rrdtool \ nagios:net-mgmt/nagios MAKE_JOBS_UNSAFE= yes USES= dos2unix perl5 php php:web OPTIONS_DEFINE= PDF EXAMPLES OPTIONS_DEFAULT= PDF PDF_DESC= Use built-in fpdf library to produce PDF views PDF_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-disable-pdf .include -USE_PHP= gd iconv json pcre session simplexml sockets xml zlib +USE_PHP= gd iconv session simplexml sockets xml zlib USE_RC_SUBR= npcd DOS2UNIX_REGEX= '.*\.\(php\|js\|txt\)$$' NAGIOSDIR?= /var/spool/nagios NAGIOSHTMURL?= /nagios NAGIOSUSER?= nagios NAGIOSGROUP?= nagios PNP_STATE= ${NAGIOSDIR}/pnp PNP_RRDS= ${PNP_STATE}/rrd PNP_SPOOL= ${PNP_STATE}/perfspool PNP_URL?= ${NAGIOSHTMURL}/pnp FPDF_DIR?= share/fpdf GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --sysconfdir=${ETCDIR} \ --datarootdir=${WWWDIR} \ --datadir=${WWWDIR} \ --localstatedir=/var/log \ --with-rrdtool=${LOCALBASE}/bin/rrdtool \ --with-perfdata-dir=${PNP_RRDS} \ --with-perfdata-spool-dir=${PNP_SPOOL} \ --with-nagios-user=${NAGIOSUSER} \ --with-nagios-group=${NAGIOSGROUP} # Get rid of INSTALL_OPTS that are set by configure -- # we want the things to be installed with root:wheel and # NAGIOSUSER:NAGIOSGROUP are going to the configuration files. MAKE_ARGS= INSTALL_OPTS= INSTALL_TARGET= install install-config PLIST_SUB+= NAGIOSDIR=${NAGIOSDIR} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} \ WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message SUB_LIST= PNP_RRDS=${PNP_RRDS} \ PNP_URL=${PNP_URL} \ NAGIOSUSER=${NAGIOSUSER} \ NAGIOSGROUP=${NAGIOSGROUP} SAMPLE_CONFIGS= lighttpd.pnp4nagios.conf nginx.pnp4nagios.conf httpd.conf .if ${PORT_OPTIONS:MPDF} PNP_USE_FPDF= 1 .else PNP_USE_FPDF= 0 .endif post-patch: @${REINPLACE_CMD} \ -e's|^\$$conf\['\''use_fpdf'\''\] = [[:digit:]];|$$conf['\''use_fpdf'\''] = ${PNP_USE_FPDF};|' \ -e's|^\$$conf\['\''nagios_base'\''\] = "/nagios/cgi-bin";|$$conf\['\''nagios_base'\''\] = "${NAGIOSHTMURL}/cgi-bin";|' \ -e's|/usr/local/check_mk/|/usr/local/share/check_mk/|g' \ -e's|/usr/local/nagios/var/rw/live|/${NAGIOSDIR}/rw/live|' \ "${WRKSRC}/sample-config/pnp/config.php.in" .for f in ${SAMPLE_CONFIGS} @${REINPLACE_CMD} -e 's|@BASE_URL@|${PNP_URL}|g' -e 's|@datarootdir@|${WWWDIR}|g' \ -e 's|/usr/local/nagios/etc|${PREFIX}/etc/${NAGIOSUSER}|' -e 's|Nagios|${NAGIOSUSER}|' \ "${WRKSRC}/sample-config/${f}.in" .endfor @${LN} -fs ../en_US/dwnld.html ${WRKSRC}/share/pnp/documents/de_DE/dwnld.html post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${SAMPLE_CONFIGS} ${INSTALL_DATA} ${WRKSRC}/sample-config/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_MAN} ${WRKSRC}/man/npcd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include diff --git a/net/pear-Horde_Kolab_Server/Makefile b/net/pear-Horde_Kolab_Server/Makefile index 126ec04319c7..582ca5ead865 100644 --- a/net/pear-Horde_Kolab_Server/Makefile +++ b/net/pear-Horde_Kolab_Server/Makefile @@ -1,24 +1,23 @@ PORTNAME= Horde_Kolab_Server DISTVERSION= 2.0.5 CATEGORIES= net www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde library for manipulating the Kolab user database WWW= https://pear.horde.org USES= horde php cpe -USE_PHP= hash USE_HORDE_RUN= Horde_Auth \ Horde_Exception OPTIONS_DEFAULT= LDAP OPTIONS_DEFINE= LDAP LDAP_DESC= Enable LDAP support # Not required but we want it USE_HORDE_RUN+= Horde_Date LDAP_USE= HORDE_RUN=Horde_Ldap .include diff --git a/net/pear-Net_UserAgent_Mobile/Makefile b/net/pear-Net_UserAgent_Mobile/Makefile index 1cc5a45f7e26..0a82e02b0303 100644 --- a/net/pear-Net_UserAgent_Mobile/Makefile +++ b/net/pear-Net_UserAgent_Mobile/Makefile @@ -1,14 +1,13 @@ PORTNAME= Net_UserAgent_Mobile PORTVERSION= 1.0.0 CATEGORIES= net www pear DISTNAME= ${PORTNAME}-${PORTVERSION}RC1 MAINTAINER= ports@FreeBSD.org COMMENT= PEAR class that parses HTTP mobile user agent string WWW= https://pear.php.net/package/Net_UserAgent_Mobile NO_ARCH= yes -USE_PHP= pcre USES= pear php .include diff --git a/net/pear-Services_Twitter/Makefile b/net/pear-Services_Twitter/Makefile index ee17716a14cd..1afa9fa72d86 100644 --- a/net/pear-Services_Twitter/Makefile +++ b/net/pear-Services_Twitter/Makefile @@ -1,17 +1,17 @@ PORTNAME= Services_Twitter PORTVERSION= 0.7.0 CATEGORIES= net www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP interface to Twitter's API WWW= https://pear.php.net/package/Services_Twitter BUILD_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} USES= cpe pear php -USE_PHP= json simplexml mbstring +USE_PHP= simplexml mbstring CPE_VENDOR= services_twitter_group .include diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile index 9cf571196d61..20ddb167b609 100644 --- a/net/phpldapadmin/Makefile +++ b/net/phpldapadmin/Makefile @@ -1,62 +1,62 @@ PORTNAME= phpldapadmin PORTVERSION= 1.2.6.5 CATEGORIES= net www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@bsdserwis.com COMMENT= PHP application to administer LDAP over the web WWW= http://phpldapadmin.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:web,flavors tar:tgz CPE_VENDOR= phpldapadmin_project USE_GITHUB= yes GH_ACCOUNT= leenooks GH_PROJECT= phpLDAPadmin -USE_PHP= gettext hash iconv ldap openssl pcre session xml +USE_PHP= gettext iconv ldap session xml NO_ARCH= yes NO_BUILD= yes OPTIONS_DEFINE= MCRYPT MCRYPT_DESC= Use pecl-mcrypt for password hashing MCRYPT_USE= PHP=mcrypt .include GROUPS?= ${WWWGRP} CFGDIR= config CFGFILE= config.php PLIST= ${WRKDIR}/plist PLIST_FILES= '@sample(,${GROUPS},640) ${WWWDIR_REL}/config/config.php.example ${WWWDIR_REL}/config/config.php' SUB_LIST+= PKGNAME=${PKGNAME} SUB_FILES+= pkg-message .SILENT: .include post-patch: cd ${WRKSRC} ; \ ${FIND} . ! -type d ! -name ${CFGFILE}.example ! -name .cvsignore \ ! -name .gitignore ! -name *.orig | ${SORT} \ | ${SED} -e "s!^\.!${WWWDIR_REL}!" >${PLIST} ; do-install: cd ${WRKSRC} ; \ for src in $$( ${FIND} . ! -name .cvsignore \ ! -name .gitignore ! -name *.orig) ; do \ dst=${STAGEDIR}${WWWDIR}$${src#.} ; \ if ${TEST} -d $$src ; then \ ${MKDIR} $$dst ; \ else \ ${INSTALL_DATA} $$src $$dst ; \ fi \ done .include diff --git a/net/rtg/Makefile b/net/rtg/Makefile index e06a1905ff0b..7ed0845faa15 100644 --- a/net/rtg/Makefile +++ b/net/rtg/Makefile @@ -1,49 +1,49 @@ PORTNAME= rtg PORTVERSION= 0.7.5 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= http://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 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 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,spl +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/net/self-service-password/Makefile b/net/self-service-password/Makefile index 476234d8bb31..9eccdc59d635 100644 --- a/net/self-service-password/Makefile +++ b/net/self-service-password/Makefile @@ -1,49 +1,49 @@ PORTNAME= self-service-password DISTVERSION= 1.5.0 CATEGORIES= net www MASTER_SITES= http://ltb-project.org/archives/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ltb-project-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@bsdserwis.com COMMENT= Set of PHP-scripts to change LDAP password over the web WWW= https://ltb-project.org/documentation/self-service-password.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENCE RUN_DEPENDS= ${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR} USES= php:flavors,web -USE_PHP= filter hash ldap mbstring openssl phar session +USE_PHP= filter ldap mbstring phar session NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST+= PKGNAME=${PKGNAME} PLIST_SUB+= SSP_GRP=${WWWGRP} \ SSP_OWN=${WWWOWN} CFGDIR= conf CFGFILE= config.inc.php .include .if ${PHP_VER} <= 70 # For older php mcrypt is needed USE_PHP+= mcrypt .endif post-extract: @${FIND} ${WRKSRC}/ -name '*.sig' -delete @${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample @${REINPLACE_CMD} \ -e 's;/usr/share/php/smarty3;${PREFIX}/share/smarty3-${PHP_FLAVOR};' \ ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample do-install: @cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include diff --git a/security/maia/Makefile b/security/maia/Makefile index 77fecd2366b5..30237f78c2e0 100644 --- a/security/maia/Makefile +++ b/security/maia/Makefile @@ -1,338 +1,338 @@ PORTNAME= maia DISTVERSION= 1.0.4 PORTREVISION= 11 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 hash iconv imap json mbstring \ +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 .endif .if ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MLOCAL} USES+= mysql:client RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql .endif .if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST} USE_PHP+= mysqli .endif .if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MLOCAL} USES+= pgsql WANT_PGSQL= server RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MLOCAL} USES+= pgsql RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg .endif .if ${PORT_OPTIONS:MPGSQL} && ${PORT_OPTIONS:MWEBHOST} USE_PHP+= pgsql .endif .if ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= lighttpd:www/lighttpd .endif .if ${PORT_OPTIONS:MNGINX} RUN_DEPENDS+= nginx:www/nginx .endif .if ${PORT_OPTIONS:MDOVECOT2} RUN_DEPENDS+= dovecot:mail/dovecot .endif .if ${PORT_OPTIONS:MPOSTFIX} RUN_DEPENDS+= postfix:mail/postfix .endif .if ${PORT_OPTIONS:MPFA} USES+= php RUN_DEPENDS+= postfixadmin-${PHP_FLAVOR}>=0:mail/postfixadmin .endif .if ${PORT_OPTIONS:MCLAMAV} RUN_DEPENDS+= clamd:security/clamav .endif .if ${PORT_OPTIONS:MSPAMASSASSIN} RUN_DEPENDS+= spamassassin>=0:mail/spamassassin .endif .if ${PORT_OPTIONS:MBDB} RUN_DEPENDS+= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB .endif .if ${PORT_OPTIONS:MCRYPT} RUN_DEPENDS+= p5-Crypt-Blowfish>=0:security/p5-Crypt-Blowfish \ p5-Crypt-OpenSSL-RSA>=0:security/p5-Crypt-OpenSSL-RSA \ p5-Crypt-CBC>=0:security/p5-Crypt-CBC .endif .if ${PORT_OPTIONS:MIPCOUNTRY} RUN_DEPENDS+= p5-IP-Country>=0:net/p5-IP-Country .endif .if ${PORT_OPTIONS:MDOMAINKEYS} RUN_DEPENDS+= p5-Mail-DomainKeys>=0:mail/p5-Mail-DomainKeys .endif .if ${PORT_OPTIONS:MSPF} RUN_DEPENDS+= p5-Mail-SPF>=0:mail/p5-Mail-SPF .endif .if ${PORT_OPTIONS:MDKIM} RUN_DEPENDS+= p5-Mail-DKIM>=0:mail/p5-Mail-DKIM .endif .if ${PORT_OPTIONS:MFILE} # security fix, file > 4.21 needed RUN_DEPENDS+= file>=4.21:sysutils/file .endif # archivers/rar is a 32-bit binary port, we don't want the install to fail # at that port, therefore we will block instantly here if the platform does # not suit rar. .if ${PORT_OPTIONS:MRAR} IA32_BINARY_PORT= yes RUN_DEPENDS+= rar:archivers/rar .endif .if ${PORT_OPTIONS:MUNRAR} RUN_DEPENDS+= unrar:archivers/unrar .endif .if ${PORT_OPTIONS:MARJ} RUN_DEPENDS+= arj:archivers/arj .endif .if ${PORT_OPTIONS:MUNARJ} RUN_DEPENDS+= unarj:archivers/unarj .endif .if ${PORT_OPTIONS:MLHA} RUN_DEPENDS+= lha:archivers/lha .endif .if ${PORT_OPTIONS:MARC} RUN_DEPENDS+= arc:archivers/arc .endif .if ${PORT_OPTIONS:MNOMARCH} RUN_DEPENDS+= nomarch:archivers/nomarch .endif .if ${PORT_OPTIONS:MCAB} RUN_DEPENDS+= cabextract:archivers/cabextract .endif .if ${PORT_OPTIONS:MRPM} RUN_DEPENDS+= rpm2cpio.pl:archivers/rpm2cpio .endif .if ${PORT_OPTIONS:MZOO} # DOS condition in 2.10.1_2 RUN_DEPENDS+= zoo>=2.10.1_2:archivers/zoo .endif .if ${PORT_OPTIONS:MUNZOO} RUN_DEPENDS+= unzoo>=4.4_1:archivers/unzoo .endif .if ${PORT_OPTIONS:MLZOP} RUN_DEPENDS+= lzop:archivers/lzop .endif .if ${PORT_OPTIONS:MTNEF} RUN_DEPENDS+= tnef:converters/tnef .endif .include post-patch: .for m in scripts/configtest.pl scripts/expire-quarantine-cache.pl \ scripts/load-sa-rules.pl scripts/maiadbtool.pl \ scripts/process-quarantine.pl scripts/resend.pl scripts/send-quarantine-digests.pl \ scripts/send-quarantine-reminders.pl scripts/stats-snapshot.pl @${REINPLACE_CMD} -e "s|/etc/maia/maia.conf|${ETCDIR}/maia.conf|" \ ${WRKSRC}/${m} .endfor .for i in digest.tpl newuser.tpl reminder.tpl ${MV} ${WRKSRC}/templates/${i} ${WRKSRC}/templates/${i}.dist .endfor @${REINPLACE_CMD} -e "s|daemon_user = 'maia'|daemon_user = '${USERS}'|" \ -e "s|daemon_group = 'maia'|daemon_group = '${GROUPS}'|" \ -e "s|/var/lib/maia|${MAIAHOME}|" \ ${WRKSRC}/maiad.conf.dist @${REINPLACE_CMD} -e "s|/etc/maia.conf|${ETCDIR}/maia.conf|" \ -e "s|username = 'maia'|username = '${USERS}'|" \ -e "s|/var/lib/maia|${DATADIR}|" \ -e "s|/usr/bin/sa-learn|${PREFIX}/bin/sa-learn|" \ -e "s|local_cf_dir = undef|local_cf_dir = '${PREFIX}/etc/mail/spamassassin'|" \ -e "s|user_rules_dir = undef|user_rules_dir = '${MAIAHOME}/.spamassassin'|" \ -e "s|template_dir = '/etc/maia/templates/'|template_dir = '${ETCDIR}/templates/'|" \ ${WRKSRC}/maia.conf.dist @${REINPLACE_CMD} -e "s|/etc/maia/maiad.conf|${ETCDIR}/maiad.conf|" \ -e "s|/var/lib/maia|${DATADIR}|" \ ${WRKSRC}/maiad @${FIND} -E ${WRKSRC} -iregex '.*(bak|~)$$' -delete @${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web @cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .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/pear-Crypt_CHAP/Makefile b/security/pear-Crypt_CHAP/Makefile index c62e11eb1b42..03b3352eff41 100644 --- a/security/pear-Crypt_CHAP/Makefile +++ b/security/pear-Crypt_CHAP/Makefile @@ -1,12 +1,12 @@ PORTNAME= Crypt_CHAP PORTVERSION= 1.5.0 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for generating CHAP packets WWW= https://pear.php.net/package/Crypt_CHAP USES= pear php -USE_PHP= mcrypt hash +USE_PHP= mcrypt .include diff --git a/security/pear-File_SMBPasswd/Makefile b/security/pear-File_SMBPasswd/Makefile index 683ece16f071..17e04540d05a 100644 --- a/security/pear-File_SMBPasswd/Makefile +++ b/security/pear-File_SMBPasswd/Makefile @@ -1,15 +1,14 @@ PORTNAME= File_SMBPasswd PORTVERSION= 1.0.3 CATEGORIES= security www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR class for managing SAMBA style password files WWW= https://pear.php.net/package/File_SMBPasswd BUILD_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/Crypt/CHAP.php:security/pear-Crypt_CHAP@${PHP_FLAVOR} USES= pear php -USE_PHP= hash .include diff --git a/security/pear-Horde_Auth/Makefile b/security/pear-Horde_Auth/Makefile index edb2fcc53f06..5cea267d5726 100644 --- a/security/pear-Horde_Auth/Makefile +++ b/security/pear-Horde_Auth/Makefile @@ -1,13 +1,12 @@ PORTNAME= Horde_Auth PORTVERSION= 2.2.2 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Authentication API WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Exception Horde_Util -USE_PHP= hash .include diff --git a/security/pear-Horde_Crypt/Makefile b/security/pear-Horde_Crypt/Makefile index dac4e4b569ed..3578a943ce60 100644 --- a/security/pear-Horde_Crypt/Makefile +++ b/security/pear-Horde_Crypt/Makefile @@ -1,23 +1,22 @@ PORTNAME= Horde_Crypt DISTVERSION= 2.7.12 CATEGORIES= security www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde Cryptography API WWW= https://pear.horde.org OPTIONS_DEFINE= BCMATH BCMATH_DESC= Depend on bcmath PHP extension USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Mime \ Horde_Stream_Filter \ Horde_Translation \ Horde_Util -USE_PHP= hash openssl BCMATH_USE= PHP=bcmath .include diff --git a/security/pear-Horde_Crypt_Blowfish/Makefile b/security/pear-Horde_Crypt_Blowfish/Makefile index bdb911fd3695..5393419af6e1 100644 --- a/security/pear-Horde_Crypt_Blowfish/Makefile +++ b/security/pear-Horde_Crypt_Blowfish/Makefile @@ -1,25 +1,16 @@ PORTNAME= Horde_Crypt_Blowfish PORTVERSION= 1.1.4 CATEGORIES= security www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= horde@FreeBSD.org COMMENT= Horde blowfish encryption for PHP string data WWW= https://pear.horde.org USES= horde cpe USE_HORDE_RUN= Horde_Exception \ Horde_Support -OPTIONS_DEFINE= MHASH OPENSSL -MHASH_DESC= Depend on mhash PHP extension -OPENSSL_DESC= Depend on OpenSSL PHP extension - -MHASH_USES= php -MHASH_USE= PHP=hash -OPENSSL_USES= php -OPENSSL_USE= PHP=openssl - NO_ARCH= yes .include diff --git a/security/pear-Horde_Oauth/Makefile b/security/pear-Horde_Oauth/Makefile index 1949581ccafa..7a6c5c1b9a09 100644 --- a/security/pear-Horde_Oauth/Makefile +++ b/security/pear-Horde_Oauth/Makefile @@ -1,15 +1,14 @@ PORTNAME= Horde_Oauth DISTVERSION= 2.0.4 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde OAuth client/server WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Exception \ Horde_Http \ Horde_Util -USE_PHP= hash openssl .include diff --git a/security/pear-Horde_Secret/Makefile b/security/pear-Horde_Secret/Makefile index a33fa90d1bc2..dff227a06b4c 100644 --- a/security/pear-Horde_Secret/Makefile +++ b/security/pear-Horde_Secret/Makefile @@ -1,16 +1,14 @@ PORTNAME= Horde_Secret PORTVERSION= 2.0.6 CATEGORIES= security www pear MAINTAINER= horde@FreeBSD.org COMMENT= Secret Encryption API WWW= https://pear.horde.org USES= horde php cpe USE_HORDE_RUN= Horde_Crypt_Blowfish \ Horde_Exception \ Horde_Support -USE_PHP= hash - .include diff --git a/security/pecl-scrypt/Makefile b/security/pecl-scrypt/Makefile index d468d094286c..c5752cd8687e 100644 --- a/security/pecl-scrypt/Makefile +++ b/security/pecl-scrypt/Makefile @@ -1,28 +1,27 @@ PORTNAME= scrypt PORTVERSION= 2.0.0 CATEGORIES= security pear MAINTAINER= dbaio@FreeBSD.org COMMENT= PHP wrapper to Colin Percival's scrypt implementation WWW= https://pecl.php.net/package/scrypt LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= php:pecl -USE_PHP= hash:build +USES= php:build,pecl OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= README.md PORTEXAMPLES= scrypt.php post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/snuffleupagus/Makefile b/security/snuffleupagus/Makefile index c6b389f53d27..0db1814d6885 100644 --- a/security/snuffleupagus/Makefile +++ b/security/snuffleupagus/Makefile @@ -1,31 +1,31 @@ PORTNAME= snuffleupagus DISTVERSIONPREFIX= v DISTVERSION= 0.8.3 CATEGORIES= security PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= franco@opnsense.org COMMENT= Security module for PHP WWW= https://snuffleupagus.readthedocs.io/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libpcre2-8.so:devel/pcre2 -USES= localbase:ldflags php:ext +USES= localbase:ldflags php:build,ext USE_GITHUB= yes GH_ACCOUNT= jvoisin -USE_PHP= hash:build session:build +USE_PHP= session:build IGNORE_WITH_PHP= 82 CONFIGURE_ARGS= --enable-snuffleupagus TEST_TARGET= test # Fix build with clang11 CFLAGS+= -fcommon WRKSRC_SUBDIR= src .include diff --git a/shells/pear-PHP_Shell/Makefile b/shells/pear-PHP_Shell/Makefile index 03d69688d10e..393891d5e7a8 100644 --- a/shells/pear-PHP_Shell/Makefile +++ b/shells/pear-PHP_Shell/Makefile @@ -1,14 +1,14 @@ PORTNAME= PHP_Shell PORTVERSION= 0.3.2 PORTREVISION= 1 CATEGORIES= shells www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= Interactive PHP Shell WWW= https://pear.php.net/package/PHP_Shell -USE_PHP= pcre tokenizer readline +USE_PHP= tokenizer readline USES= pear php .include diff --git a/sysutils/froxlor/Makefile b/sysutils/froxlor/Makefile index 228903a6de38..fc0c32b77989 100644 --- a/sysutils/froxlor/Makefile +++ b/sysutils/froxlor/Makefile @@ -1,108 +1,108 @@ PORTNAME= froxlor DISTVERSION= 2.0.10 CATEGORIES= sysutils www MASTER_SITES= https://files.froxlor.org/releases/ MAINTAINER= nc@FreeBSD.org COMMENT= PHP-based ISP Server Management Panel WWW= https://www.froxlor.org/ LICENSE= GPLv2 USES= cpe php:cli shebangfix -USE_PHP= bcmath curl filter ftp json pdo_mysql posix session xml zip +USE_PHP= bcmath curl filter ftp pdo_mysql posix session xml zip SUB_FILES= pkg-deinstall pkg-message SUB_LIST= PORTNAME=${PORTNAME} \ WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} PLIST_SUB= ${SUB_LIST} NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes OPTIONS_DEFINE= DKIM LIBNSS LOGROTATE MYSQLS NLS PCNTL OPTIONS_RADIO= DNS FTP IMAPPOP3 SMTP WEB OPTIONS_RADIO_WEB= APACHE LIGHTTPD NGINX OPTIONS_RADIO_SMTP= EXIM POSTFIX OPTIONS_RADIO_IMAPPOP3= COURIER DOVECOT2 OPTIONS_RADIO_FTP= PROFTPD PUREFTPD OPTIONS_RADIO_DNS= ISCDNS POWERDNS OPTIONS_MULTI= WWWST OPTIONS_MULTI_WWWST= AWSTATS WEBALIZER WWWST_DESC= Web access and traffic statistics dependency WEB_DESC= Web server dependency SMTP_DESC= SMTP server dependency IMAPPOP3_DESC= IMAP/POP3 server dependency DNS_DESC= DNS server dependency FTP_DESC= FTP server dependency APACHE_DESC= Apache as HTTP/HTTPS server LIGHTTPD_DESC= Lighttpd as HTTP/HTTPS server NGINX_DESC= Nginx as HTTP/HTTPS server POSTFIX_DESC= Postfix as SMTP server EXIM_DESC= Exim as SMTP server DKIM_DESC= OpenDKIM for DomainKeys Identified Mail DOVECOT2_DESC= Dovecot 2.x as IMAP/POP3 server COURIER_DESC= Courier as IMAP/POP3 server PROFTPD_DESC= ProFTPd as FTP server PUREFTPD_DESC= Pure-FTPd as FTP server POWERDNS_DESC= Powerdns as DNS server ISCDNS_DESC= ISC BIND 9.11 from ports as DNS server PCNTL_DESC= Use php-pcntl (speeds up statistics creation) LIBNSS_DESC= Libnss-mysql for authentication WEBALIZER_DESC= Webalizer (small, fast, static result pages) AWSTATS_DESC= Awstats (more fancy, dynamic and static result pages) LOGROTATE_DESC= Logrotate for log rotation MYSQLS_DESC= Depend on MySQL server NLS_DESC= Enable NLS support (required for webFTP frontend) OPTIONS_DEFAULT= APACHE DOVECOT2 MYSQLS PCNTL POSTFIX PROFTPD WEBALIZER POSTFIX_RUN_DEPENDS= postfix:mail/postfix EXIM_RUN_DEPENDS= exim:mail/exim DKIM_RUN_DEPENDS= opendkim:mail/opendkim DOVECOT2_RUN_DEPENDS= dovecot>=2:mail/dovecot COURIER_RUN_DEPENDS= courier:mail/courier PROFTPD_RUN_DEPENDS= ${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:databases/proftpd-mod_sql_mysql PUREFTPD_RUN_DEPENDS= pure-ftpd:ftp/pure-ftpd POWERDNS_RUN_DEPENDS= pdns_control:dns/powerdns ISCDNS_RUN_DEPENDS= bind>=9.11.0.0:dns/bind911 LIBNSS_RUN_DEPENDS= ${LOCALBASE}/lib/nss_mysql.so:net/libnss-mysql WEBALIZER_RUN_DEPENDS= webalizer:www/webalizer AWSTATS_RUN_DEPENDS= awstats>=6.8:www/awstats LOGROTATE_RUN_DEPENDS= logrotate:sysutils/logrotate LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd NGINX_RUN_DEPENDS= nginx:www/nginx APACHE_USES= apache php:mod MYSQLS_USES= mysql:server PCNTL_USE= PHP=pcntl NLS_USES= gettext-runtime:run NLS_USE= PHP=gettext do-install: cd ${WRKSRC}/${PORTNAME} && \ ${FIND} . ! -name .gitignore | \ ${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR} .include diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile index ec4ca94dec19..a1de8d4d0f8e 100644 --- a/sysutils/ldap-account-manager/Makefile +++ b/sysutils/ldap-account-manager/Makefile @@ -1,62 +1,62 @@ PORTNAME= ldap-account-manager DISTVERSION= 8.3 CATEGORIES= sysutils www MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Webfrontend for managing accounts stored in an OpenLDAP server WWW= https://www.ldap-account-manager.org/lamcms/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap \ p5-Quota>=0:sysutils/p5-Quota USES= perl5 php:web tar:bzip2 -USE_PHP= curl filter gd gettext gmp hash iconv json ldap mbstring \ - openssl pcre session simplexml xml xmlreader xmlwriter zip +USE_PHP= curl filter gd gettext gmp iconv ldap mbstring \ + session simplexml xml xmlreader xmlwriter zip WWWDIR= ${PREFIX}/www/${SHORTNAME} NO_ARCH= yes NO_BUILD= yes SHORTNAME= lam PORTDOCS= COPYING HISTORY README copyright docs LAMDATA= config graphics help lib locale sess style templates tmp \ VERSION index.html pwa_worker.js .htaccess WRITEABLES= config sess tmp OPTIONS_DEFINE+= DOCS OPTIONS_DEFAULT= DOCS DOCS_DESC= Install documentation and dhcp.schema .include do-install: @${ECHO_CMD} '@preexec if [ -f %D/${WWWDIR_REL}/config/shells ]; then ${RM} %D/${WWWDIR_REL}/config/shells; fi' >> ${TMPPLIST} @${ECHO_CMD} '@sample ${WWWDIR_REL}/config/addressbook.sample.conf ${WWWDIR_REL}/config/addressbook.conf' >> ${TMPPLIST} @${ECHO_CMD} '@sample ${WWWDIR_REL}/config/config.cfg.sample ${WWWDIR_REL}/config/config.cfg' >> ${TMPPLIST} @${ECHO_CMD} '@sample ${WWWDIR_REL}/config/samba3.sample.conf ${WWWDIR_REL}/config/samba3.conf' >> ${TMPPLIST} @${ECHO_CMD} '@sample ${WWWDIR_REL}/config/unix.sample.conf ${WWWDIR_REL}/config/lam.conf' >> ${TMPPLIST} @${ECHO_CMD} '@sample ${WWWDIR_REL}/config/windows_samba4.sample.conf ${WWWDIR_REL}/config/windows_samba4.conf' >> ${TMPPLIST} .for I in ${LAMDATA} @${FIND} -s ${WRKSRC}/${I} -type f -not -name 'config.cfg.sample' -not -name '*.sample.conf' | ${SED} -e 's,^${WRKSRC},${WWWDIR_REL},' >> ${TMPPLIST} @${FIND} -ds ${WRKSRC}/${I} -type d | ${SED} -e 's,^${WRKSRC},@dir ${WWWDIR_REL},' >> ${TMPPLIST} .endfor @${ECHO_CMD} '@dir ${WWWDIR_REL}' >> ${TMPPLIST} @cd ${WRKSRC} && ${COPYTREE_SHARE} "${LAMDATA}" ${STAGEDIR}${WWWDIR} .for DIR in ${WRITEABLES} @${ECHO_CMD} '@postexec ${CHOWN} -R ${WWWOWN} %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST} @${ECHO_CMD} '@postexec ${CHMOD} -R u+w %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST} .endfor @${SED} -i '' 's|usr/bin/perl|usr/local/bin/perl|g' ${WRKSRC}/lib/lamdaemon.pl @${ECHO_CMD} '@postexec ${CHOWN} ${WWWOWN} %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST} @${ECHO_CMD} '@postexec ${CHMOD} u+x %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/n98-magerun/Makefile b/sysutils/n98-magerun/Makefile index fa3a7bf0c252..990eb41ec979 100644 --- a/sysutils/n98-magerun/Makefile +++ b/sysutils/n98-magerun/Makefile @@ -1,30 +1,30 @@ PORTNAME= n98-magerun PORTVERSION= 1.98.0 CATEGORIES= sysutils www MASTER_SITES= https://files.magerun.net/ \ https://www.freebsd.systems/files/ EXTRACT_SUFX= .phar MAINTAINER= lukasz@wasikowski.net COMMENT= CLI tool for inspection and control of Magento installations WWW= https://magerun.net/ LICENSE= MIT USES= mysql:client php:cli -USE_PHP= phar bz2 simplexml pdo_mysql json zlib ctype dom posix +USE_PHP= phar bz2 simplexml pdo_mysql zlib ctype dom posix NO_ARCH= yes NO_BUILD= yes PLIST_FILES= sbin/n98-magerun do-extract: @${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/${PORTNAME}-${PORTVERSION}.phar ${WRKSRC}/ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.phar \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} .include diff --git a/sysutils/pear-File/Makefile b/sysutils/pear-File/Makefile index 7f9defa7170a..0adf45745f70 100644 --- a/sysutils/pear-File/Makefile +++ b/sysutils/pear-File/Makefile @@ -1,13 +1,12 @@ PORTNAME= File PORTVERSION= 1.4.1 PORTEPOCH= 2 CATEGORIES= sysutils www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR common file and directory routines WWW= https://pear.php.net/package/File USES= pear php -USE_PHP= pcre .include diff --git a/sysutils/pear-I18Nv2/Makefile b/sysutils/pear-I18Nv2/Makefile index 730721828116..457b9bef487b 100644 --- a/sysutils/pear-I18Nv2/Makefile +++ b/sysutils/pear-I18Nv2/Makefile @@ -1,16 +1,16 @@ PORTNAME= I18Nv2 PORTVERSION= 0.11.4 CATEGORIES= sysutils devel pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR Internationalization WWW= https://pear.php.net/package/I18Nv2 LICENSE= PHP30 USES= pear -USE_PHP= iconv pcre +USE_PHP= iconv NO_ARCH= yes .include diff --git a/sysutils/racktables/Makefile b/sysutils/racktables/Makefile index c5cc27cc6bce..5429bbd9a98d 100644 --- a/sysutils/racktables/Makefile +++ b/sysutils/racktables/Makefile @@ -1,51 +1,49 @@ PORTNAME= racktables DISTVERSION= 0.22.0 PORTREVISION= 1 CATEGORIES?= sysutils www MASTER_SITES= SF/${PORTNAME}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= RackTables-${DISTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Server room asset management suite WWW= https://www.racktables.org/ LICENSE= GPLv2 NO_BUILD= yes RACKHOME?= www/racktables PORTEXAMPLES= cleanup_ldap_cache.php init-sample-racks.sql syncdomain.php USES= cpe shebangfix php:web,flavors perl5 python:run NO_ARCH= yes USE_PERL5= run SHEBANG_FILES= gateways/* CPE_VENDOR= racktables_project -USE_PHP= bcmath gd json mbstring mysqli pdo_mysql session +USE_PHP= bcmath gd mbstring mysqli pdo_mysql session SUB_FILES= pkg-message PLIST_SUB= WWWDIR_REL=${WWWDIR_REL} WWWDIR=${WWWDIR} WWWUSER?= www WWWGRP?= www -OPTIONS_DEFINE= LDAP SNMP CURL PCNTL PCRE EXAMPLES -PCRE_DESC= Regular Expression Support +OPTIONS_DEFINE= LDAP SNMP CURL PCNTL EXAMPLES PCNTL_DESC= pcntl Support LDAP_USE= PHP=ldap SNMP_USE= PHP=snmp CURL_USE= PHP=curl PCNTL_USE= PHP=pcntl -PCRE_USE= PHP=pcre post-patch: @${FIND} ${WRKSRC} -name \*.orig -type f -delete do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/wwwroot ${STAGEDIR}${WWWDIR}/gateways (cd ${WRKSRC} && ${COPYTREE_SHARE} wwwroot ${STAGEDIR}${WWWDIR}) (cd ${WRKSRC} && ${COPYTREE_BIN} gateways ${STAGEDIR}${WWWDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/baculum-common/Makefile b/www/baculum-common/Makefile index 66b9dcf682f3..5d933602cb26 100644 --- a/www/baculum-common/Makefile +++ b/www/baculum-common/Makefile @@ -1,96 +1,96 @@ PORTNAME= baculum PORTVERSION= 11.0.6 CATEGORIES?= www MASTER_SITES= SF/bacula/bacula/${PORTVERSION} PKGNAMESUFFIX?= -common DISTNAME= bacula-gui-${PORTVERSION} MAINTAINER= sipopo@yandex.ru COMMENT?= common libraries for baculum WWW= https://www.bacula.org/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE USES+= php BCL_VARDIR?= /var BCL_CACHEDIR?= ${BCL_VARDIR}/cache/${PORTNAME} BCL_LOGDIR?= ${BCL_VARDIR}/log/${PORTNAME} NO_ARCH= yes NO_BUILD= yes -USE_PHP+= ctype dom json session xml +USE_PHP+= ctype dom session xml OPTIONS_DEFINE?=EXAMPLES .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql .endif do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/htdocs/protected/Common ${MKDIR} ${STAGEDIR}${WWWDIR}/htdocs/protected/vendor ${MKDIR} ${STAGEDIR}${WWWDIR}/htdocs/themes ${MKDIR} ${STAGEDIR}${BCL_CACHEDIR} ${MKDIR} ${STAGEDIR}${BCL_LOGDIR} ${MKDIR} ${STAGEDIR}${ETCDIR}/Config .if ${PKGNAMESUFFIX} == "-common" ${CP} -R ${WRKSRC}/${PORTNAME}/protected/Common ${STAGEDIR}${WWWDIR}/htdocs/protected ${CP} -R ${WRKSRC}/${PORTNAME}/protected/vendor ${STAGEDIR}${WWWDIR}/htdocs/protected ${CP} ${WRKSRC}/${PORTNAME}/protected/application.xml ${STAGEDIR}${WWWDIR}/htdocs/protected ${CP} ${WRKSRC}/${PORTNAME}/protected/autoload.php ${STAGEDIR}${WWWDIR}/htdocs/protected ${CP} -R ${WRKSRC}/${PORTNAME}/themes ${STAGEDIR}${WWWDIR}/htdocs ${RLN} ${STAGEDIR}${BCL_CACHEDIR} ${STAGEDIR}${WWWDIR}/htdocs/protected/runtime ${RLN} ${STAGEDIR}${BCL_CACHEDIR} ${STAGEDIR}${WWWDIR}/htdocs/assets .for i in AUTHORS INSTALL LICENSE LICENSE-FOSS README ReleaseNotes UPGRADE index.php ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${i} ${STAGEDIR}${WWWDIR}/htdocs/${i} .endfor .endif .if ${PKGNAMESUFFIX} == "-api" ${MKDIR} ${STAGEDIR}${ETCDIR}/Config/API ${CP} -R ${WRKSRC}/${PORTNAME}/protected/API ${STAGEDIR}${WWWDIR}/htdocs/protected ${RM} -Rf ${STAGEDIR}${WWWDIR}/htdocs/protected/API/Config ${RM} -Rf ${STAGEDIR}${WWWDIR}/htdocs/protected/API/Logs ${RLN} ${STAGEDIR}${BCL_LOGDIR} ${STAGEDIR}${WWWDIR}/htdocs/protected/API/Logs ${RLN} ${STAGEDIR}${ETCDIR}/Config/API ${STAGEDIR}${WWWDIR}/htdocs/protected/API/Config .endif .if ${PKGNAMESUFFIX} == "-web" ${MKDIR} ${STAGEDIR}${ETCDIR}/Config/WEB ${CP} -R ${WRKSRC}/${PORTNAME}/protected/Web ${STAGEDIR}${WWWDIR}/htdocs/protected ${RM} -Rf ${STAGEDIR}${WWWDIR}/htdocs/protected/Web/Config ${RM} -Rf ${STAGEDIR}${WWWDIR}/htdocs/protected/Web/Logs ${RLN} ${STAGEDIR}${BCL_LOGDIR} ${STAGEDIR}${WWWDIR}/htdocs/protected/Web/Logs ${RLN} ${STAGEDIR}${ETCDIR}/Config/WEB ${STAGEDIR}${WWWDIR}/htdocs/protected/Web/Config .endif @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/htdocs' \ >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${BCL_LOGDIR}' \ >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${BCL_CACHEDIR}' \ >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${ETCDIR}' \ >> ${TMPPLIST} post-install: .if ${PKGNAMESUFFIX} == "-common" ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/${PORTNAME}/examples/sudo ${STAGEDIR}${EXAMPLESDIR} ${CP} ${WRKSRC}/${PORTNAME}/examples/deb/*conf ${STAGEDIR}${EXAMPLESDIR} .endif .include diff --git a/www/baikal/Makefile b/www/baikal/Makefile index bf1cf7ceabce..8baa67858c78 100644 --- a/www/baikal/Makefile +++ b/www/baikal/Makefile @@ -1,30 +1,30 @@ PORTNAME= baikal PORTVERSION= 0.9.3 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://github.com/fruux/Baikal/releases/download/${PORTVERSION}/ MAINTAINER= gahr@FreeBSD.org COMMENT= Lightweight CalDAV/CardDAV server WWW= https://sabre.io/baikal/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php zip -USE_PHP= ctype dom filter hash imap json mbstring openssl pdo_sqlite \ +USE_PHP= ctype dom filter imap mbstring pdo_sqlite \ session xml xmlreader xmlwriter WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/www/bareos-webui/Makefile b/www/bareos-webui/Makefile index acc1142b37ff..272b633a662b 100644 --- a/www/bareos-webui/Makefile +++ b/www/bareos-webui/Makefile @@ -1,67 +1,67 @@ PORTNAME= bareos DISTVERSIONPREFIX= Release/ DISTVERSION= 22.0.3 CATEGORIES?= www sysutils PKGNAMESUFFIX= -webui MAINTAINER= acm@FreeBSD.org COMMENT= PHP-Frontend to manage Bareos over the web WWW= https://www.bareos.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/webui/LICENSE USE_GITHUB= yes USES= cpe php:build cmake gettext -USE_PHP= openssl gettext ctype hash json session iconv +USE_PHP= gettext ctype session iconv NO_BUILD= yes NO_ARCH= yes CMAKE_SOURCE_PATH= ${WRKSRC}/webui CMAKE_INSTALL_PREFIX= ${STAGEDIR} CMAKE_ARGS+= -DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \ -DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \ -Dsysconfdir=${PREFIX}/etc \ -Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} \ -DVERSION_STRING=${DISTVERSION} \ -DBAREOS_FULL_VERSION:STRING=${DISTVERSION} SUB_FILES= pkg-message SUB_LIST+= ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI} OPTIONS_DEFINE= PGSQL OPTIONS_DEFAULT= PGSQL PGSQL_USE= PHP=pdo_pgsql ETCDIRWEBUI= etc/${PORTNAME}${PKGNAMESUFFIX} post-extract: ${FIND} ${WRKSRC}/webui -name .gitignore -delete pre-install: ${FIND} ${WRKSRC}/webui -name *.in -delete do-install: @${ECHO} "Installing in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI} @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config module public vendor" \ ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/directors.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/configuration.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf .include diff --git a/www/bareos18-webui/Makefile b/www/bareos18-webui/Makefile index 32fc78c51ee4..b26b03b35b17 100644 --- a/www/bareos18-webui/Makefile +++ b/www/bareos18-webui/Makefile @@ -1,67 +1,67 @@ PORTNAME= bareos DISTVERSIONPREFIX= Release/ DISTVERSION= 18.2.12 CATEGORIES?= www sysutils PKGNAMESUFFIX= 18-webui MAINTAINER= acm@FreeBSD.org COMMENT= PHP-Frontend to manage Bareos over the web WWW= https://www.bareos.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/webui/LICENSE USE_GITHUB= yes GH_ACCOUNT= bareos GH_PROJECT= bareos USES= cpe php -USE_PHP= openssl gettext ctype hash json session iconv +USE_PHP= gettext ctype session iconv NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_LIST= BAREOSWEBUIDIR=${WWWDIR} WWWDIR= ${PREFIX}/www/${PORTNAME}18 OPTIONS_DEFINE= MYSQL PGSQL ZENDFRAMEWORK OPTIONS_DEFAULT= PGSQL ZENDFRAMEWORK_DESC= Install zend framework MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql ZENDFRAMEWORK_RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework post-extract: ${RM} ${WRKSRC}/webui/config/autoload/.gitignore ${RM} ${WRKSRC}/webui/data/cache/.gitignore ${RM} ${WRKSRC}/webui/vendor/.gitignore ${MV} ${WRKSRC}/webui/version.php.in ${WRKSRC}/webui/version.php ${MV} ${WRKSRC}/webui/config/autoload/global.php.in ${WRKSRC}/webui/config/autoload/global.php ${MV} ${WRKSRC}/webui/module/Application/view/layout/layout.phtml.in ${WRKSRC}/webui/module/Application/view/layout/layout.phtml ${MV} ${WRKSRC}/webui/module/Application/view/layout/login.phtml.in ${WRKSRC}/webui/module/Application/view/layout/login.phtml post-patch: @${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' -e 's|@WEBUICONFDIR@|${ETCDIR}|g' -e \ 's|@dirport@|9101|g' ${WRKSRC}/webui/config/autoload/global.php @${REINPLACE_CMD} -e 's|@BAREOS_FULL_VERSION@|${PORTVERSION}|g' ${WRKSRC}/webui/version.php do-install: @${ECHO} "Installing in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini.in ${STAGEDIR}${ETCDIR}/directors.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini.in ${STAGEDIR}${ETCDIR}/configuration.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${ETCDIR}/apache-bareos-webui.conf ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${ETCDIR}/nginx-bareos-webui.conf .include diff --git a/www/bareos19-webui/Makefile b/www/bareos19-webui/Makefile index 927e8fa5c6f7..f19709641a62 100644 --- a/www/bareos19-webui/Makefile +++ b/www/bareos19-webui/Makefile @@ -1,65 +1,65 @@ PORTNAME= bareos DISTVERSIONPREFIX= Release/ DISTVERSION= 19.2.13 CATEGORIES?= www sysutils PKGNAMESUFFIX= 19-webui MAINTAINER= acm@FreeBSD.org COMMENT= PHP-Frontend to manage Bareos over the web WWW= https://www.bareos.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/webui/LICENSE USE_GITHUB= yes USES= cmake cpe gettext php:build -USE_PHP= ctype gettext hash iconv json openssl session +USE_PHP= ctype gettext iconv session NO_BUILD= yes NO_ARCH= yes CMAKE_SOURCE_PATH= ${WRKSRC}/webui CMAKE_INSTALL_PREFIX= ${STAGEDIR} CMAKE_ARGS+= -DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \ -DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \ -Dsysconfdir=${PREFIX}/etc \ -Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} SUB_FILES= pkg-message SUB_LIST+= ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI} ETCDIRWEBUI= etc/${PORTNAME}${PKGNAMESUFFIX:S/19//} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql post-extract: ${FIND} ${WRKSRC}/webui -name .gitignore -delete pre-install: ${FIND} ${WRKSRC}/webui -name *.in -delete do-install: @${ECHO} "Installing in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI} @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}/${PREFIX}/${ETCDIRWEBUI}/directors.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}/${PREFIX}/${ETCDIRWEBUI}/configuration.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}/${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}/${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf .include diff --git a/www/bareos20-webui/Makefile b/www/bareos20-webui/Makefile index ee88ab75406f..e68552130616 100644 --- a/www/bareos20-webui/Makefile +++ b/www/bareos20-webui/Makefile @@ -1,66 +1,66 @@ PORTNAME= bareos DISTVERSIONPREFIX= Release/ DISTVERSION= 20.0.8 CATEGORIES?= www sysutils PKGNAMESUFFIX= 20-webui MAINTAINER= acm@FreeBSD.org COMMENT= PHP-Frontend to manage Bareos over the web WWW= https://www.bareos.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/webui/LICENSE USE_GITHUB= yes USES= cpe php:build cmake gettext -USE_PHP= openssl gettext ctype hash json session iconv +USE_PHP= gettext ctype session iconv NO_BUILD= yes NO_ARCH= yes CMAKE_SOURCE_PATH= ${WRKSRC}/webui CMAKE_INSTALL_PREFIX= ${STAGEDIR} CMAKE_ARGS+= -DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \ -DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \ -Dsysconfdir=${PREFIX}/etc \ -Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} SUB_FILES= pkg-message SUB_LIST+= ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql ETCDIRWEBUI= etc/${PORTNAME}${PKGNAMESUFFIX} post-extract: ${FIND} ${WRKSRC}/webui -name .gitignore -delete pre-install: ${FIND} ${WRKSRC}/webui -name *.in -delete do-install: @${ECHO} "Installing in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI} @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/directors.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/configuration.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf .include diff --git a/www/bareos21-webui/Makefile b/www/bareos21-webui/Makefile index f1a6ecbc4ed5..a918289be1b4 100644 --- a/www/bareos21-webui/Makefile +++ b/www/bareos21-webui/Makefile @@ -1,67 +1,67 @@ PORTNAME= bareos DISTVERSIONPREFIX= Release/ DISTVERSION= 21.1.7 CATEGORIES?= www sysutils PKGNAMESUFFIX= 21-webui MAINTAINER= acm@FreeBSD.org COMMENT= PHP-Frontend to manage Bareos over the web WWW= https://www.bareos.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/webui/LICENSE USE_GITHUB= yes USES= cpe php:build cmake gettext -USE_PHP= openssl gettext ctype hash json session iconv +USE_PHP= gettext ctype session iconv NO_BUILD= yes NO_ARCH= yes CMAKE_SOURCE_PATH= ${WRKSRC}/webui CMAKE_INSTALL_PREFIX= ${STAGEDIR} CMAKE_ARGS+= -DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \ -DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \ -Dsysconfdir=${PREFIX}/etc \ -Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} \ -DVERSION_STRING=${DISTVERSION} \ -DBAREOS_FULL_VERSION:STRING=${DISTVERSION} SUB_FILES= pkg-message SUB_LIST+= ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI} PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI} OPTIONS_DEFINE= PGSQL OPTIONS_DEFAULT= PGSQL PGSQL_USE= PHP=pdo_pgsql ETCDIRWEBUI= etc/${PORTNAME}${PKGNAMESUFFIX} post-extract: ${FIND} ${WRKSRC}/webui -name .gitignore -delete pre-install: ${FIND} ${WRKSRC}/webui -name *.in -delete do-install: @${ECHO} "Installing in ${WWWDIR}" @${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI} @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/directors.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/configuration.ini ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample ${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf ${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf .include diff --git a/www/bolt/Makefile b/www/bolt/Makefile index 69c723e6ea83..05b824f238ce 100644 --- a/www/bolt/Makefile +++ b/www/bolt/Makefile @@ -1,34 +1,34 @@ PORTNAME= bolt PORTVERSION= 2.2.24 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://bolt.cm/distribution/ MAINTAINER= ports@FreeBSD.org COMMENT= Sophisticated, lightweight & simple CMS WWW= https://bolt.cm/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cpe php:web CPE_VENDOR= ${PORTNAME}cms NO_ARCH= yes NO_BUILD= yes -USE_PHP= ctype curl dom gd json mbstring openssl simplexml tokenizer +USE_PHP= ctype curl dom gd mbstring simplexml tokenizer PLIST_SUB+= WWWGRP=${WWWGRP} OPTIONS_DEFINE= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}) .include diff --git a/www/codeigniter/Makefile b/www/codeigniter/Makefile index 299f68b8e2cb..9dbfc81ac286 100644 --- a/www/codeigniter/Makefile +++ b/www/codeigniter/Makefile @@ -1,70 +1,68 @@ PORTNAME= codeigniter PORTVERSION= 3.1.13 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org COMMENT= Framework for developing PHP web applications WWW= https://codeigniter.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/license.txt USES= cpe php:web -USE_PHP= mcrypt pcre session +USE_PHP= mcrypt session USE_GITHUB= yes GH_ACCOUNT= bcit-ci GH_PROJECT= CodeIgniter NO_ARCH= yes NO_BUILD= yes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_FILES= pkg-message # These are all user-configurable files that we'll install CI_CONF_FILES= application/config/autoload.php \ application/config/config.php \ application/config/constants.php \ application/config/database.php \ application/config/doctypes.php \ application/config/foreign_chars.php \ application/config/hooks.php \ application/config/memcached.php \ application/config/migration.php \ application/config/mimes.php \ application/config/profiler.php \ application/config/routes.php \ application/config/smileys.php \ application/config/user_agents.php \ index.php -OPTIONS_DEFINE= APACHE MSSQL MYSQLI ODBC PGSQL SQLITE +OPTIONS_DEFINE= APACHE MYSQLI ODBC PGSQL SQLITE OPTIONS_SUB= yes APACHE_DESC= Configure for Apache-2.x -MSSQL_DESC= Install MSSQL support for PHP MYSQLI_DESC= Install MySQLi support for PHP ODBC_DESC= Install ODBC support for PHP PGSQL_DESC= Install PostgreSQL support for PHP SQLITE_DESC= Install SQLite support for PHP APACHE_SUB_FILES= codeigniter.conf APACHE_USES= apache:run -MSSQL_USE= PHP=mssql MYSQLI_USE= PHP=mysqli ODBC_USE= PHP=odbc PGSQL_USE= PHP=pgsql SQLITE_USE= PHP=sqlite3 do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} "application index.php system" ${STAGEDIR}${WWWDIR} .for ci_conf_file in ${CI_CONF_FILES} ${INSTALL_DATA} ${WRKSRC}/${ci_conf_file} ${STAGEDIR}${WWWDIR}/${ci_conf_file}.sample .endfor do-install-APACHE-on: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes ${INSTALL_DATA} ${WRKDIR}/codeigniter.conf ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes/codeigniter.conf .include diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile index c91d92268434..947ff0cdf531 100644 --- a/www/coppermine/Makefile +++ b/www/coppermine/Makefile @@ -1,46 +1,46 @@ PORTNAME= coppermine PORTVERSION= 1.6.24 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= wen@FreeBSD.org COMMENT= Web picture gallery script WWW= https://coppermine-gallery.net/ LICENSE= GPLv3 USES= php OPTIONS_DEFINE= DOCS IMAGEMAGICK IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension IMAGEMAGICK_USES= magick:6,run IMAGEMAGICK_USE_OFF= PHP=gd -USE_PHP= ctype hash json mysqli pcre xml +USE_PHP= ctype mysqli xml USE_GITHUB= yes GH_ACCOUNT= coppermine-gallery GH_PROJECT= cpg1.6.x NO_BUILD= yes NO_ARCH= yes PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt SUB_FILES= pkg-message pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "By default, coppermine depends on PHP with GD support." @${ECHO_MSG} "You may select IMAGEMAGICK to depend on ImageMagick instead of GD." @${ECHO_MSG} "" pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install: cd ${WRKSRC}/ && ${RM} ${PORTDOCS} cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include diff --git a/www/davical/Makefile b/www/davical/Makefile index a89acdd80159..4109a35b7bc1 100644 --- a/www/davical/Makefile +++ b/www/davical/Makefile @@ -1,77 +1,77 @@ PORTNAME= davical DISTVERSIONPREFIX= r DISTVERSION= 1.1.12 CATEGORIES?= www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= rigoletto@FreeBSD.org COMMENT= Simple CalDAV server using a postgres backend WWW= https://www.davical.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libawl>=0.60:devel/php-libawl@${PHP_FLAVOR} \ p5-DBD-Pg>=0:databases/p5-DBD-Pg \ p5-DBI>=0:databases/p5-DBI \ p5-YAML>=0:textproc/p5-YAML \ pwgen:sysutils/pwgen USES= cpe pgsql php:flavors shebangfix USE_GITLAB= yes GL_ACCOUNT= davical-project GL_COMMIT= 4301a795ac7a7636846bcc15348d96c68a1830fd -USE_PHP= calendar curl gettext iconv pcre pdo \ +USE_PHP= calendar curl gettext iconv pdo \ pdo_pgsql pgsql session xml NO_ARCH= yes NO_BUILD= yes PORTDOCS= README INSTALL davical_en_user_guide.odt \ phpdoc.ini translation.rst PORTEXAMPLES= config SHEBANG_FILES= scripts/sync-remote-caldav.php SUB_FILES= pkg-message httpd-davical.conf OPTIONS_DEFINE= DOCS EXAMPLES post-extract: ${FIND} ${WRKSRC} -name .gitignore -delete do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/htdocs \ ${STAGEDIR}${WWWDIR}/inc \ ${STAGEDIR}${WWWDIR}/config \ ${STAGEDIR}${DATADIR} # WWWDIR (cd ${WRKSRC}/htdocs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/htdocs) (cd ${WRKSRC}/inc && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR}/inc "! -name always.php.in") ${INSTALL_DATA} ${WRKSRC}/config/example-config.php \ ${STAGEDIR}${WWWDIR}/config/config.php.sample # DATADIR (cd ${WRKSRC} && ${COPYTREE_SHARE} scripts ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} dba ${STAGEDIR}${DATADIR} \ "! -name update-davical-database") ${INSTALL_DATA} ${WRKDIR}/httpd-davical.conf ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/dba/update-davical-database \ ${STAGEDIR}${DATADIR}/dba do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} config ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/www/dokuwiki/Makefile b/www/dokuwiki/Makefile index a94dd2887302..25ab01b1fb67 100644 --- a/www/dokuwiki/Makefile +++ b/www/dokuwiki/Makefile @@ -1,40 +1,40 @@ PORTNAME= dokuwiki PORTVERSION= ${DIST_VER:S/${PORTNAME}//:S/-//g} CATEGORIES= www MASTER_SITES= http://download.dokuwiki.org/src/dokuwiki/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${DIST_VER} MAINTAINER= delphij@FreeBSD.org COMMENT= Simple and easy to use wiki, no database required WWW= https://www.dokuwiki.org/ LICENSE= BSD3CLAUSE GPLv2 GPLv2+ GPLv3 MIT LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/vendor/simplepie/simplepie/LICENSE.txt LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2+ = ${WRKSRC}/vendor/geshi/geshi/LICENSE LICENSE_FILE_GPLv3= ${WRKSRC}/vendor/marcusschwarz/lesserphp/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/vendor/composer/LICENSE DIST_VER= ${PORTNAME}-2023-04-04 USES= cpe php:web,flavors shebangfix tar:tgz -USE_PHP= ctype filter gd hash iconv json mbstring ldap openssl pcre pdo_mysql session simplexml xml zlib +USE_PHP= ctype filter gd iconv mbstring ldap pdo_mysql session simplexml xml zlib NO_ARCH= YES NO_BUILD= YES SHEBANG_FILES= bin/*.php SUB_FILES= pkg-message SUB_LIST+= PORTNAME=${PORTNAME} SHAREOWN= ${WWWOWN} SHAREGRP= ${WWWGRP} REINPLACE_ARGS= -i '' post-patch: @${RM} ${WRKSRC}/data/deleted.files do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/www/dolibarr/Makefile b/www/dolibarr/Makefile index 76fa08a283ba..37d2a176a194 100644 --- a/www/dolibarr/Makefile +++ b/www/dolibarr/Makefile @@ -1,35 +1,35 @@ PORTNAME= dolibarr DISTVERSION= 17.0.0 CATEGORIES= www finance MAINTAINER= acm@FreeBSD.org COMMENT= Modern software package to manage your company or foundation WWW= https://www.dolibarr.org/ LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:S/d/D/} USES= cpe php:web -USE_PHP= calendar curl gd intl pcre session openssl +USE_PHP= calendar curl gd intl session NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql post-extract: ${RM} -R ${WRKSRC}/.github ${RM} ${WRKSRC}/.gitmessage ${RM} ${WRKSRC}/.stickler.yml do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/www/dolibarr13/Makefile b/www/dolibarr13/Makefile index 45a8fda9f282..47c0bc3359dc 100644 --- a/www/dolibarr13/Makefile +++ b/www/dolibarr13/Makefile @@ -1,41 +1,41 @@ PORTNAME= dolibarr DISTVERSION= 13.0.5 CATEGORIES= www finance PKGNAMESUFFIX= 13 MAINTAINER= acm@FreeBSD.org COMMENT= Modern software package to manage your company or foundation WWW= https://www.dolibarr.org/ DEPRECATED= No support PHP >= 8.x EXPIRATION_DATE=2023-04-30 LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:S/d/D/} USES= cpe php:web -USE_PHP= calendar curl gd intl pcre session openssl +USE_PHP= calendar curl gd intl session NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} post-extract: ${RM} -R ${WRKSRC}/.github ${RM} ${WRKSRC}/.gitmessage ${RM} ${WRKSRC}/.stickler.yml do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/www/dolibarr14/Makefile b/www/dolibarr14/Makefile index 0b518052e623..6d4ac41a731d 100644 --- a/www/dolibarr14/Makefile +++ b/www/dolibarr14/Makefile @@ -1,42 +1,42 @@ PORTNAME= dolibarr14 DISTVERSION= 14.0.5 CATEGORIES= www finance MAINTAINER= acm@FreeBSD.org COMMENT= Modern software package to manage your company or foundation WWW= https://www.dolibarr.org/ DEPRECATED= No support PHP >= 8.x EXPIRATION_DATE=2023-04-30 LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:S/d/D/:S/14//} GH_PROJECT= dolibarr USES= cpe php:web -USE_PHP= calendar curl gd intl pcre session openssl +USE_PHP= calendar curl gd intl session NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} CPE_VENDOR= dolibarr CPE_PRODUCT= dolibarr OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql post-extract: ${RM} -R ${WRKSRC}/.github ${RM} ${WRKSRC}/.gitmessage ${RM} ${WRKSRC}/.stickler.yml do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/www/dolibarr15/Makefile b/www/dolibarr15/Makefile index 120671dca3ba..3ad0c4f89308 100644 --- a/www/dolibarr15/Makefile +++ b/www/dolibarr15/Makefile @@ -1,39 +1,39 @@ PORTNAME= dolibarr15 DISTVERSION= 15.0.3 CATEGORIES= www finance MAINTAINER= acm@FreeBSD.org COMMENT= Modern software package to manage your company or foundation WWW= https://www.dolibarr.org/ DEPRECATED= No support PHP >= 8.x EXPIRATION_DATE=2023-04-30 LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:S/d/D/:S/15//} GH_PROJECT= dolibarr USES= cpe php:web -USE_PHP= calendar curl gd intl pcre session openssl +USE_PHP= calendar curl gd intl session NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql post-extract: ${RM} -R ${WRKSRC}/.github ${RM} ${WRKSRC}/.gitmessage ${RM} ${WRKSRC}/.stickler.yml do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/www/dolibarr16/Makefile b/www/dolibarr16/Makefile index 38dd42f7798f..49d2a49c79a2 100644 --- a/www/dolibarr16/Makefile +++ b/www/dolibarr16/Makefile @@ -1,36 +1,36 @@ PORTNAME= dolibarr16 DISTVERSION= 16.0.5 CATEGORIES= www finance MAINTAINER= acm@FreeBSD.org COMMENT= Modern software package to manage your company or foundation WWW= https://www.dolibarr.org/ LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:S/d/D/:S/16//} GH_PROJECT= dolibarr USES= cpe php:web -USE_PHP= calendar curl gd intl pcre session openssl +USE_PHP= calendar curl gd intl session NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= PGSQL MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql post-extract: ${RM} -R ${WRKSRC}/.github ${RM} ${WRKSRC}/.gitmessage ${RM} ${WRKSRC}/.stickler.yml do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} .include diff --git a/www/drupal10/Makefile b/www/drupal10/Makefile index b87ebfc1081e..34128abd0dc7 100644 --- a/www/drupal10/Makefile +++ b/www/drupal10/Makefile @@ -1,50 +1,50 @@ PORTNAME= drupal10 PORTVERSION= 10.0.7 CATEGORIES= www MASTER_SITES= http://ftp.drupal.org/files/projects/ DISTNAME= drupal-${PORTVERSION} DIST_SUBDIR= drupal MAINTAINER= acm@FreeBSD.org COMMENT= Database driven web content management system (CMS) WWW= https://www.drupal.org/ LICENSE= GPLv2+ USES= php:web shebangfix -USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \ +USE_PHP= dom filter gd mbstring opcache pdo session \ simplexml tokenizer xml IGNORE_WITH_PHP=80 SHEBANG_FILES= core/scripts/password-hash.sh NO_ARCH= yes NO_BUILD= yes DOCS= core/CHANGELOG.txt core/INSTALL.mysql.txt core/INSTALL.sqlite.txt \ LICENSE.txt core/COPYRIGHT.txt core/INSTALL.pgsql.txt \ core/INSTALL.txt core/MAINTAINERS.txt core/UPDATE.txt OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL DOCS OPTIONS_DEFAULT= MYSQL SUB_FILES+= pkg-message PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql SQLITE3_USE= PHP=pdo_sqlite MYSQL_USES= mysql MYSQL_USE= PHP=pdo_mysql post-extract: @${MKDIR} ${WRKDIR}/DOCS @${MV} ${DOCS:S|^|${WRKSRC}/|} ${WRKDIR}/DOCS/ do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/DOCS && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile index bbe68db21746..b7d6f06d3d08 100644 --- a/www/drupal7/Makefile +++ b/www/drupal7/Makefile @@ -1,52 +1,52 @@ PORTNAME= drupal7 DISTVERSION= 7.95 CATEGORIES= www MASTER_SITES= http://ftp.drupal.org/files/projects/ DISTNAME= drupal-${PORTVERSION} DIST_SUBDIR= drupal MAINTAINER= joneum@FreeBSD.org COMMENT= Database driven web content management system (CMS) WWW= https://www.drupal.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= drupal:7 php:web shebangfix -USE_PHP= dom filter gd hash json mbstring pcre pdo session simplexml xml +USE_PHP= dom filter gd mbstring pdo session simplexml xml SHEBANG_FILES= scripts/password-hash.sh NO_ARCH= yes NO_BUILD= yes DOCS= CHANGELOG.txt INSTALL.mysql.txt INSTALL.sqlite.txt \ LICENSE.txt README.txt COPYRIGHT.txt INSTALL.pgsql.txt \ INSTALL.txt MAINTAINERS.txt UPGRADE.txt OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL DOCS OPTIONS_DEFAULT= MYSQL SUB_FILES+= pkg-message PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql SQLITE3_USE= PHP=pdo_sqlite MYSQL_USES= mysql MYSQL_USE= PHP=pdo_mysql do-install: @${MKDIR} ${STAGEDIR}${DRUPAL_DIR}/sites/default/files (cd ${WRKSRC} && ${COPYTREE_SHARE} ".htaccess cron.php authorize.php \ includes index.php install.php misc modules profiles \ robots.txt scripts themes update.php web.config xmlrpc.php" \ ${STAGEDIR}${DRUPAL_DIR}) (cd ${WRKSRC}/sites && ${COPYTREE_SHARE} "example.sites.php all" \ ${STAGEDIR}${DRUPAL_DIR}/sites) ${INSTALL_DATA} ${WRKSRC}/sites/default/default.settings.php \ ${STAGEDIR}${DRUPAL_DIR}/sites/default/default.settings.php.sample do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/www/drupal8/Makefile b/www/drupal8/Makefile index cd2c5a231d99..07137f70e8dd 100644 --- a/www/drupal8/Makefile +++ b/www/drupal8/Makefile @@ -1,49 +1,49 @@ PORTNAME= drupal8 PORTVERSION= 8.9.20 CATEGORIES= www MASTER_SITES= http://ftp.drupal.org/files/projects/ DISTNAME= drupal-${PORTVERSION} DIST_SUBDIR= drupal MAINTAINER= acm@FreeBSD.org COMMENT= Database driven web content management system (CMS) WWW= https://www.drupal.org/ LICENSE= GPLv2+ USES= php:web shebangfix -USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \ +USE_PHP= dom filter gd mbstring opcache pdo session \ simplexml tokenizer xml SHEBANG_FILES= core/scripts/password-hash.sh NO_ARCH= yes NO_BUILD= yes DOCS= core/CHANGELOG.txt core/INSTALL.mysql.txt core/INSTALL.sqlite.txt \ LICENSE.txt README.txt core/COPYRIGHT.txt core/INSTALL.pgsql.txt \ core/INSTALL.txt core/MAINTAINERS.txt core/UPDATE.txt OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL DOCS OPTIONS_DEFAULT= MYSQL SUB_FILES+= pkg-message PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql SQLITE3_USE= PHP=pdo_sqlite MYSQL_USES= mysql MYSQL_USE= PHP=pdo_mysql post-extract: @${MKDIR} ${WRKDIR}/DOCS @${MV} ${DOCS:S|^|${WRKSRC}/|} ${WRKDIR}/DOCS/ do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/DOCS && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/drupal9/Makefile b/www/drupal9/Makefile index b6d6b6e55a98..23d24e474c59 100644 --- a/www/drupal9/Makefile +++ b/www/drupal9/Makefile @@ -1,49 +1,49 @@ PORTNAME= drupal9 PORTVERSION= 9.5.7 CATEGORIES= www MASTER_SITES= http://ftp.drupal.org/files/projects/ DISTNAME= drupal-${PORTVERSION} DIST_SUBDIR= drupal MAINTAINER= acm@FreeBSD.org COMMENT= Database driven web content management system (CMS) WWW= https://www.drupal.org/ LICENSE= GPLv2+ USES= php:web shebangfix -USE_PHP= dom filter gd hash json mbstring opcache pcre pdo session \ +USE_PHP= dom filter gd mbstring opcache pdo session \ simplexml tokenizer xml SHEBANG_FILES= core/scripts/password-hash.sh NO_ARCH= yes NO_BUILD= yes DOCS= core/CHANGELOG.txt core/INSTALL.mysql.txt core/INSTALL.sqlite.txt \ LICENSE.txt core/COPYRIGHT.txt core/INSTALL.pgsql.txt \ core/INSTALL.txt core/MAINTAINERS.txt core/UPDATE.txt OPTIONS_DEFINE= MYSQL SQLITE3 PGSQL DOCS OPTIONS_DEFAULT= MYSQL SUB_FILES+= pkg-message PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql SQLITE3_USE= PHP=pdo_sqlite MYSQL_USES= mysql MYSQL_USE= PHP=pdo_mysql post-extract: @${MKDIR} ${WRKDIR}/DOCS @${MV} ${DOCS:S|^|${WRKSRC}/|} ${WRKDIR}/DOCS/ do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${WWWDIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/DOCS && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/drush/Makefile b/www/drush/Makefile index 4d24b8281e60..2eee5c9a411d 100644 --- a/www/drush/Makefile +++ b/www/drush/Makefile @@ -1,36 +1,36 @@ PORTNAME= drush DISTVERSION= 8.4.11 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://github.com/drush-ops/drush/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= drush EXTRACT_SUFX= .phar MAINTAINER= me@skylord.ru COMMENT= Drupal command line and scripting interface WWW= https://github.com/drush-ops/drush LICENSE= GPLv2+ NO_BUILD= yes NO_WRKSUBDIR= yes NO_ARCH= yes USES= php:cli,flavors # set php requirements same as drupal itself -USE_PHP= gd pcre session mbstring ctype json hash simplexml dom pdo filter phar +USE_PHP= gd session mbstring ctype simplexml dom pdo filter phar CONFLICTS_INSTALL= drush-php* # bin/drush bin/drush.phar PLIST_FILES= bin/drush bin/drush.phar do-extract: @${MKDIR} ${WRKSRC}/ ${CP} ${_DISTDIR}/drush.phar ${WRKSRC}/ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/drush.phar ${STAGEDIR}${PREFIX}/bin/ ${LN} -s drush.phar ${STAGEDIR}${PREFIX}/bin/drush .include diff --git a/www/e107/Makefile b/www/e107/Makefile index 94e3cd348d6b..7474fe9b2d9f 100644 --- a/www/e107/Makefile +++ b/www/e107/Makefile @@ -1,41 +1,41 @@ PORTNAME= e107 PORTVERSION= 2.3.0 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_full MAINTAINER= ports@FreeBSD.org COMMENT= Content management system written in PHP WWW= https://www.e107.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe dos2unix php shebangfix -USE_PHP= dom exif hash pdo_mysql session xml +USE_PHP= dom exif pdo_mysql session xml WRKSRC= ${WRKDIR}/e107 NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= E107DIR=${E107DIR} E107DIR= www/e107 SHEBANG_FILES= cron.php e107_handlers/bounce_handler.php do-extract: @${MKDIR} ${WRKSRC} @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC} pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${E107DIR}#g" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dir ${E107DIR}#g" >> ${PLIST} @${ECHO_CMD} -e '@owner\n@group' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} .include diff --git a/www/elgg/Makefile b/www/elgg/Makefile index 20615b9287a7..0c800b9a33fd 100644 --- a/www/elgg/Makefile +++ b/www/elgg/Makefile @@ -1,30 +1,30 @@ PORTNAME= elgg PORTVERSION= 4.3.8 CATEGORIES= www MASTER_SITES= http://elgg.org/download/ MAINTAINER= wen@FreeBSD.org COMMENT= Blogging and social networking platform WWW= https://www.elgg.org/ LICENSE= GPLv2 USES= cpe gettext shebangfix zip php -USE_PHP= curl dom fileinfo filter gd hash intl \ - json mbstring pdo_mysql \ +USE_PHP= curl dom fileinfo filter gd intl \ + mbstring pdo_mysql \ session simplexml soap sqlite3 xml xmlrpc NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message ELGGDATADIR= ${WWWDIR}/data do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${INSTALL} -d ${STAGEDIR}${ELGGDATADIR} @${CHMOD} 755 ${STAGEDIR}${ELGGDATADIR} @${CHMOD} 755 ${STAGEDIR}${WWWDIR}/elgg-config .include diff --git a/www/fusionpbx/Makefile b/www/fusionpbx/Makefile index 7053967848ac..2f30f275a294 100644 --- a/www/fusionpbx/Makefile +++ b/www/fusionpbx/Makefile @@ -1,45 +1,45 @@ PORTNAME= fusionpbx PORTVERSION= 4.4.1 CATEGORIES= www MAINTAINER= richard2891@gmail.com COMMENT= Web/PHP Interface for FreeSwitch WWW= https://www.fusionpbx.com LICENSE= MPL11 LIB_DEPENDS= libodbc.so:databases/unixODBC RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/pdo_odbc.so:databases/php${PHP_VER}-pdo_odbc \ ${LOCALBASE}/bin/freeswitch:net/freeswitch \ ${LOCALBASE}/bin/memcached:databases/memcached USES= cpe sqlite php fakeroot -USE_PHP= phar pdo pdo_odbc pdo_sqlite json gd imap \ - ldap openssl sockets simplexml xml session odbc +USE_PHP= phar pdo pdo_odbc pdo_sqlite gd imap \ + ldap sockets simplexml xml session odbc USE_GITHUB= yes VARBASE= var NO_BUILD= yes OPTIONS_DEFINE= PDOPGSQL OPTIONS_DEFAULT= PDOPGSQL PDOPGSQL_DESC= Install POSTGRESQL PDO Connector PDOPGSQL_USES= pgsql PDOPGSQL_USE= PHP=pgsql,pdo_pgsql .include do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) @${MKDIR} ${STAGEDIR}/${VARBASE}/db/fusionpbx @${MKDIR} ${STAGEDIR}/${VARBASE}/cache/fusionpbx @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}/secure .include diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile index 4f962a9b24b8..e5e80ef35957 100644 --- a/www/gallery2/Makefile +++ b/www/gallery2/Makefile @@ -1,46 +1,46 @@ PORTNAME= gallery2 PORTVERSION= 2.3.2 PORTREVISION= 11 CATEGORIES= www MASTER_SITES= SF/gallery/gallery2/${PORTVERSION} DISTNAME= gallery-${PORTVERSION}-full DIST_SUBDIR= gallery2 MAINTAINER= ports@FreeBSD.org COMMENT= Web based photo album organizer written in PHP WWW= http://gallery.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:web -USE_PHP= pcre session +USE_PHP= session NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/gallery2 OPTIONS_DEFINE= DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD NETPBM NLS OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFAULT=IMAGEMAGICK JHEAD MYSQL DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg GD_RUN_DEPENDS= pngtogd:graphics/gd GD_USE= PHP=gd GRAPHMAGICK_RUN_DEPENDS=gm:graphics/GraphicsMagick IMAGEMAGICK_USES= magick:run JHEAD_RUN_DEPENDS= jhead:graphics/jhead MYSQL_USE= PHP=mysqli NETPBM_RUN_DEPENDS= giftopnm:graphics/netpbm NLS_USE= PHP=gettext NLS_USES= gettext PGSQL_USE= PHP=pgsql do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include diff --git a/www/glpi/Makefile b/www/glpi/Makefile index ae1c80e201ba..38847f0092ea 100644 --- a/www/glpi/Makefile +++ b/www/glpi/Makefile @@ -1,41 +1,41 @@ PORTNAME= glpi PORTVERSION= 10.0.6 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= https://github.com/glpi-project/glpi/releases/download/${PORTVERSION}/ MAINTAINER= mathias@monnerville.com COMMENT= Free IT and asset management software WWW= https://glpi-project.org/ LICENSE= GPLv2 USES= cpe gettext php tar:tgz CPE_VENDOR= glpi-project -USE_PHP= bz2 ctype curl exif fileinfo gd iconv intl json mbstring \ - mysqli opcache openssl session simplexml sodium xml xmlrpc zip zlib +USE_PHP= bz2 ctype curl exif fileinfo gd iconv intl mbstring \ + mysqli opcache session simplexml sodium xml xmlrpc zip zlib IGNORE_WITH_PHP= 82 NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= GLPIDIR=${GLPIDIR} PREFIX=${PREFIX} GLPIDIR?= www/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= LDAP IMAP OPTIONS_DEFAULT= LDAP IMAP IMAP_DESC= IMAP support IMAP_USE= PHP=imap LDAP_USE= PHP=ldap post-extract: ${FIND} ${WRKSRC} \( -name '*~' -o -name '*.orig' -o -name '*.rej' \) -delete do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile index 5baa617f08ab..f085c623b152 100644 --- a/www/groupoffice/Makefile +++ b/www/groupoffice/Makefile @@ -1,63 +1,63 @@ PORTNAME= groupoffice DISTVERSIONPREFIX= com- DISTVERSION= 6.6.58 CATEGORIES= www MASTER_SITES= SF/group-office/${DISTVERSION:R} DISTNAME= ${PORTNAME}-${DISTVERSION} MAINTAINER= joneum@FreeBSD.org COMMENT= Modular web application framework for office WWW= https://www.group-office.com/ LICENSE= AGPLv3 PERSONAL LICENSE_COMB= multi LICENSE_NAME_PERSONAL= Personal use LICENSE_TEXT_PERSONAL= Free for personal use only LICENSE_PERMS_PERSONAL= auto-accept USES= mysql shebangfix php:web python NO_ARCH= yes NO_BUILD= yes -USE_PHP= ctype curl dom fileinfo filter hash intl json mbstring \ - mysqli openssl pcre pdo pdo_mysql phar posix session \ +USE_PHP= ctype curl dom fileinfo filter intl mbstring \ + mysqli pdo pdo_mysql phar posix session \ simplexml soap sysvshm sysvsem tokenizer xml xmlreader \ xmlwriter zip zlib SHEBANG_FILES= groupoffice \ groupofficecli.php \ modules/postfixadmin/scripts/vacation.pl \ vendor/sabre/dav/bin/naturalselection \ vendor/sabre/dav/bin/googlecode_upload.py \ vendor/bin/../sabre/dav/bin/naturalselection \ vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php WWWDIR?= ${PREFIX}/www/${PORTNAME}${DISTVERSION:R:R} SUB_FILES= pkg-message OPTIONS_DEFINE= IMAP GD CALENDAR WBXML OPTIONS_DEFAULT=IMAP GD CALENDAR CALENDAR_DESC= Calendar holiday support IMAP_DESC= IMAP support GD_DESC= Gallery support (GD) WBXML_DESC= Synchronization Support CALENDAR_USE= PHP=calendar GD_USE= PHP=gd IMAP_USE= PHP=iconv imap WBXML_LIB_DEPENDS= libwbxml2.so:textproc/wbxml2 post-patch: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/go/base/Config.php @${REINPLACE_CMD} 's|/etc/groupoffice|${PREFIX}&|g' \ ${WRKSRC}/go/modules/community/serverclient/model/HttpClient.php \ ${WRKSRC}/install/configfile.php \ ${WRKSRC}/modules/site/index.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${TOUCH} ${STAGEDIR}${WWWDIR}/config.php.sample .include diff --git a/www/habari/Makefile b/www/habari/Makefile index 020fa02b2c99..ac79f6d61b8a 100644 --- a/www/habari/Makefile +++ b/www/habari/Makefile @@ -1,51 +1,51 @@ PORTNAME= habari PORTVERSION= 0.8 CATEGORIES= www MASTER_SITES= http://habariproject.org/dist/ \ http://launchpadlibrarian.net/60087200/ MAINTAINER= ayu@commun.jp COMMENT= Next-generation free software blogging platform WWW= http://habariproject.org/ USES= zip php:web -USE_PHP= ctype filter hash json mbstring pcre pdo session simplexml tokenizer zlib +USE_PHP= ctype filter mbstring pdo session simplexml tokenizer zlib NO_BUILD= yes OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql .endif .if ${PORT_OPTIONS:MSQLITE} USE_PHP+= pdo_sqlite .endif post-patch: .for f in doc/index.html system/classes/theme.php.orig user/cache/.gitignore ${RM} ${WRKSRC}/${f} .endfor do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR} .for f in system user @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${WWWDIR}) .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in LICENSE NOTICE README.md doc/MIT.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/hiawatha-monitor/Makefile b/www/hiawatha-monitor/Makefile index fb0aed2cd8f9..030e9b136053 100644 --- a/www/hiawatha-monitor/Makefile +++ b/www/hiawatha-monitor/Makefile @@ -1,46 +1,46 @@ PORTNAME= hiawatha-monitor PORTVERSION= 1.6 CATEGORIES= www MASTER_SITES= https://www.hiawatha-webserver.org/files/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= monitor-${PORTVERSION} MAINTAINER= christopher.petrik@usm.edu COMMENT= Monitoring tool for the Hiawatha webserver WWW= https://www.hiawatha-webserver.org/monitor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:flavors shebangfix -USE_PHP= ctype mysqli openssl xml xsl zlib +USE_PHP= ctype mysqli xml xsl zlib SHEBANG_FILES= database/delete_old_logs \ database/fetch_webserver_logs \ database/flush_cache \ database/private_pages \ database/send_reports \ database/set_password NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/monitor OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,/var/www/monitor,${WWWDIR},g' ${WRKSRC}/INSTALL do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} cd ${STAGEDIR}${WWWDIR} && ${CHMOD} ${BINMODE} ${SHEBANG_FILES} .for f in private_pages.conf public_pages.conf website.conf ${MV} ${STAGEDIR}${WWWDIR}/settings/${f} \ ${STAGEDIR}${WWWDIR}/settings/${f}.sample .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} .include diff --git a/www/ilias/Makefile b/www/ilias/Makefile index f55c20c8476e..ade810ecdc48 100644 --- a/www/ilias/Makefile +++ b/www/ilias/Makefile @@ -1,127 +1,126 @@ PORTNAME= ilias DISTVERSIONPREFIX= v DISTVERSION= 8.0 CATEGORIES= www education PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Powerful, dynamic, PHP and MySQL based e-learning platform WWW= https://www.ilias.de LICENSE= GPLv2 # Will switch to version 9 snapshots before the removal DEPRECATED= Requires php80 which is set to expire on 2023-11-26 EXPIRATION_DATE= 2023-12-31 IGNORE_WITH_PHP= 81 82 LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \ ${UNZIP_CMD}:archivers/unzip \ composer:devel/php-composer2@${PHP_FLAVOR} \ sudo:security/sudo \ zip:archivers/zip USES= cpe jpeg magick:6,run php:flavors USE_GITHUB= yes GH_ACCOUNT= ILIAS-eLearning GH_PROJECT= ILIAS -USE_PHP= curl dom gd ldap fileinfo pcre \ +USE_PHP= curl dom gd ldap fileinfo \ pdo_mysql session simplexml soap \ tokenizer xmlrpc xmlwriter xsl zlib CONFLICTS= ilias6 NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= ILIASFILESDIR=${ILIASFILESDIR} PLIST= ${WRKDIR}/plist PLIST_SUB= ILIASFILESDIR=${ILIASFILESDIR} -OPTIONS_DEFINE= CHECKER MAIL SCORM2004 +OPTIONS_DEFINE= CHECKER MAIL CHECKER_RUN_DEPENDS= ${LOCALBASE}/share/pear/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} MAIL_RUN_DEPENDS= ${LOCALBASE}/share/pear/Mail.php:mail/pear-Mail@${PHP_FLAVOR} -SCORM2004_USE= PHP=json ILIASDIR= www/ilias ILIASFILESDIR= www/iliasfiles EXTRA_FILES= %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid \ %%WWWDIR%%/node_modules/.bin/_mocha \ %%WWWDIR%%/node_modules/.bin/acorn \ %%WWWDIR%%/node_modules/.bin/atob \ %%WWWDIR%%/node_modules/.bin/browserslist \ %%WWWDIR%%/node_modules/.bin/browserslist-lint \ %%WWWDIR%%/node_modules/.bin/errno \ %%WWWDIR%%/node_modules/.bin/escodegen \ %%WWWDIR%%/node_modules/.bin/esgenerate \ %%WWWDIR%%/node_modules/.bin/esparse \ %%WWWDIR%%/node_modules/.bin/esvalidate \ %%WWWDIR%%/node_modules/.bin/flat \ %%WWWDIR%%/node_modules/.bin/gl-style-composite \ %%WWWDIR%%/node_modules/.bin/gl-style-format \ %%WWWDIR%%/node_modules/.bin/gl-style-migrate \ %%WWWDIR%%/node_modules/.bin/gl-style-validate \ %%WWWDIR%%/node_modules/.bin/he \ %%WWWDIR%%/node_modules/.bin/image-size \ %%WWWDIR%%/node_modules/.bin/js-yaml \ %%WWWDIR%%/node_modules/.bin/jsesc \ %%WWWDIR%%/node_modules/.bin/json5 \ %%WWWDIR%%/node_modules/.bin/lessc \ %%WWWDIR%%/node_modules/.bin/loose-envify \ %%WWWDIR%%/node_modules/.bin/mime \ %%WWWDIR%%/node_modules/.bin/mkdirp \ %%WWWDIR%%/node_modules/.bin/mocha \ %%WWWDIR%%/node_modules/.bin/nanoid \ %%WWWDIR%%/node_modules/.bin/needle \ %%WWWDIR%%/node_modules/.bin/node-gyp \ %%WWWDIR%%/node_modules/.bin/node-ninja \ %%WWWDIR%%/node_modules/.bin/nopt \ %%WWWDIR%%/node_modules/.bin/pbf \ %%WWWDIR%%/node_modules/.bin/parser \ %%WWWDIR%%/node_modules/.bin/prebuild \ %%WWWDIR%%/node_modules/.bin/regjsparser \ %%WWWDIR%%/node_modules/.bin/rimraf \ %%WWWDIR%%/node_modules/.bin/rc \ %%WWWDIR%%/node_modules/.bin/rollup \ %%WWWDIR%%/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/.bin/terser \ %%WWWDIR%%/node_modules/.bin/which \ %%WWWDIR%%/node_modules/@babel/core/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/@babel/helper-define-polyfill-provider/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/@babel/preset-env/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/babel-plugin-polyfill-corejs2/node_modules/.bin/semver \ %%WWWDIR%%/node_modules/acorn-globals/node_modules/.bin/acorn \ %%WWWDIR%%/node_modules/regjsparser/node_modules/.bin/jsesc pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${ILIASDIR}?g" >> ${PLIST} .for i in ${EXTRA_FILES} @${ECHO_CMD} ${i} >> ${PLIST} .endfor @${ECHO_CMD} "${ILIASFILESDIR}/config.json" >> ${PLIST} @${ECHO_CMD} @dir ${ILIASFILESDIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASFILESDIR} @${CP} ${FILESDIR}/config.json ${STAGEDIR}${PREFIX}/${ILIASFILESDIR} .include diff --git a/www/itop/Makefile b/www/itop/Makefile index 395190088adc..eab0891af7b7 100644 --- a/www/itop/Makefile +++ b/www/itop/Makefile @@ -1,50 +1,50 @@ PORTNAME= itop PORTVERSION= 2.6.1 CATEGORIES= www MASTER_SITES= SF DISTNAME= iTop-${PORTVERSION}-4463 MAINTAINER= ports@FreeBSD.org COMMENT= Simple, web based IT Service Management tool WWW= https://www.combodo.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKDIR}/LICENSE RUN_DEPENDS= ${LOCALBASE}/bin/dot:graphics/graphviz USES= cpe shebangfix php zip SHEBANG_FILES= lib/tcpdf/tools/tcpdf_addfont.php setup/install/install.sh CPE_VENDOR= combodo -USE_PHP= ctype gd iconv mbstring pcre session xml zlib readline \ - dom simplexml hash json soap mcrypt filter zip +USE_PHP= ctype gd iconv mbstring session xml zlib readline \ + dom simplexml soap mcrypt filter zip WRKSRC= ${WRKDIR}/web NO_BUILD= yes ITOPDIR= ${WWWDIR}/${PORTNAME} SUB_FILES= pkg-message OPTIONS_DEFINE= MYSQL PGSQL LDAP OPTIONS_DEFAULT=MYSQL MYSQL_USES= mysql MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql LDAP_USE= PHP=ldap do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -a ${WRKDIR}/web/ ${STAGEDIR}${WWWDIR} post-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} @${ECHO} @dir ${WWWDIR} >> ${TMPPLIST} @${ECHO_CMD} "@group" >> ${TMPPLIST} @${ECHO_CMD} "@owner" >> ${TMPPLIST} .include diff --git a/www/joomla3/Makefile b/www/joomla3/Makefile index 57ba972846f4..10a2413ebc37 100644 --- a/www/joomla3/Makefile +++ b/www/joomla3/Makefile @@ -1,57 +1,57 @@ PORTNAME= joomla DISTVERSION= 3-10-8 CATEGORIES= www MASTER_SITES= https://downloads.joomla.org/cms/joomla3/${DISTVERSION}/ PKGNAMESUFFIX= 3 DISTNAME= Joomla_${DISTVERSION}-Stable-Full_Package.tar.bz2?format=bz2 MAINTAINER= wen@FreeBSD.org COMMENT= Dynamic web content management system (CMS) WWW= https://www.joomla.org/ LICENSE= GPLv2 USES= cpe php:web tar:bz2 shebangfix CPE_VENDOR= ${PORTNAME} CPE_PRODUCT= ${PORTNAME}\! CONFLICTS_INSTALL= joomla NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT=MYSQL OPTIONS_SUB= yes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SHEBANG_FILES= libraries/vendor/leafo/lessphp/lessify SUB_FILES= pkg-message -USE_PHP= gd json mbstring pcre session simplexml xml zip zlib +USE_PHP= gd mbstring session simplexml xml zip zlib MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql WWWDIR= ${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R} .include .if ${FLAVOR} != php80 && !defined(PACKAGE_BUILDING) USE_PHP+= pdf .endif do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && \ ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \;) @(cd ${WRKSRC} && \ ${FIND} . \! -type d -and \! \( -name .gitignore -or -name .travis.yml \ -or -name travisci-phpunit.xml -or -name LICENSE.txt \ -or -name README.md \) \ -exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \;) .include diff --git a/www/joomla4/Makefile b/www/joomla4/Makefile index 5437ccc24526..6b9e4bc11cff 100644 --- a/www/joomla4/Makefile +++ b/www/joomla4/Makefile @@ -1,61 +1,61 @@ PORTNAME= joomla DISTVERSION= 4-1-3 CATEGORIES= www MASTER_SITES= https://downloads.joomla.org/cms/joomla4/${DISTVERSION}/ PKGNAMESUFFIX= 4 DISTNAME= Joomla_${DISTVERSION}-Stable-Full_Package MAINTAINER= wen@FreeBSD.org COMMENT= Dynamic web content management system (CMS) WWW= https://www.joomla.org/ LICENSE= GPLv2 USES= cpe php:web shebangfix zip CPE_VENDOR= ${PORTNAME} CPE_PRODUCT= ${PORTNAME}\! CONFLICTS_INSTALL= joomla3 NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT=MYSQL OPTIONS_SUB= yes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_FILES= pkg-message -USE_PHP= gd json mbstring pcre session simplexml xml zip zlib +USE_PHP= gd mbstring session simplexml xml zip zlib MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql PLIST= ${WRKDIR}/plist JOOMLADIR= www/joomla4 .include .if ${FLAVOR} != php80 && !defined(PACKAGE_BUILDING) USE_PHP+= pdf .endif pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${JOOMLADIR}?g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${JOOMLADIR}?g" >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${JOOMLADIR} .include diff --git a/www/kanboard/Makefile b/www/kanboard/Makefile index 58efefb620c0..80ef37c17158 100644 --- a/www/kanboard/Makefile +++ b/www/kanboard/Makefile @@ -1,46 +1,46 @@ PORTNAME= kanboard DISTVERSIONPREFIX= v DISTVERSION= 1.2.22 CATEGORIES= www PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= daniel.tihanyi@tetragir.com COMMENT= Simple visual task board software WWW= https://kanboard.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:flavors USE_GITHUB= yes -USE_PHP= ctype curl dom filter gd hash iconv json mbstring mcrypt \ - openssl pdo session simplexml xml zlib +USE_PHP= ctype curl dom filter gd iconv mbstring mcrypt \ + pdo session simplexml xml zlib NO_ARCH= yes NO_BUILD= yes PLIST_SUB= KANBOARD_GROUPNAME=${KANBOARD_GROUPNAME} \ KANBOARD_USERNAME=${KANBOARD_USERNAME} OPTIONS_DEFINE= OPCACHE OPTIONS_DEFAULT= OPCACHE SQLITE OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPCACHE_DESC= OPcache support (recommended) MYSQL_USES= mysql MYSQL_USE= PHP=mysqli,pdo_mysql OPCACHE_USE= PHP=opcache PGSQL_USES= pgsql PGSQL_USE= PHP=pdo_pgsql,pgsql SQLITE_USE= PHP=pdo_sqlite,sqlite3 KANBOARD_GROUPNAME?= ${KANBOARD_USERNAME} KANBOARD_USERNAME?= www do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/www/librespeed/Makefile b/www/librespeed/Makefile index 4a55170ee4cc..4a9753282841 100644 --- a/www/librespeed/Makefile +++ b/www/librespeed/Makefile @@ -1,55 +1,55 @@ PORTNAME= librespeed DISTVERSION= 5.2.5 CATEGORIES= www net PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= driesm@FreeBSD.org COMMENT= Lightweight selfhosted speedtest WWW= https://github.com/librespeed/speedtest LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:flavors,web -USE_PHP= ctype json openssl pdo session +USE_PHP= ctype pdo session USE_GITHUB= YES GH_PROJECT= speedtest NO_ARCH= YES NO_BUILD= YES SUB_FILES= pkg-message PLIST_SUB= LIBRESPEED_USERNAME=${WWWOWN} OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_RADIO= BACKEND OPTIONS_RADIO_BACKEND= MYSQL PGSQL SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -a ${WRKSRC}/*.js ${WRKSRC}/favicon.ico ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}/backend cd ${WRKSRC}/backend && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/backend @${MKDIR} ${STAGEDIR}${WWWDIR}/results cd ${WRKSRC}/results && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/results ${INSTALL_DATA} ${WRKSRC}/results/telemetry_settings.php \ ${STAGEDIR}${WWWDIR}/results/telemetry_settings.php.sample ${INSTALL_DATA} ${WRKSRC}/backend/getIP_ipInfo_apikey.php \ ${STAGEDIR}${WWWDIR}/backend/getIP_ipInfo_apikey.php.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -a ${WRKSRC}/*.html ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/limesurvey/Makefile b/www/limesurvey/Makefile index 9d80a298ddbe..c4ccdfb46f3c 100644 --- a/www/limesurvey/Makefile +++ b/www/limesurvey/Makefile @@ -1,76 +1,76 @@ PORTNAME= limesurvey PORTVERSION= 5.6.11 CATEGORIES= www MASTER_SITES= http://download.limesurvey.org/latest-stable-release/ DISTNAME= ${PORTNAME}${PORTVERSION}+230320 MAINTAINER= flo@FreeBSD.org COMMENT= PHP-based survey building and runing system WWW= https://www.limesurvey.org/ LICENSE= GPLv2 USES= cpe php:web zip OPTIONS_DEFINE= GD IMAP LDAP PGSQL OPTIONS_DEFAULT= GD PGSQL_DESC= Use PostgreSQL (instead of MySQL) GD_DESC= Install PHP gd extension LDAP_DESC= Install PHP LDAP extension IMAP_DESC= Install PHP IMAP extension .include .if ${PORT_OPTIONS:MPGSQL} USE_PHP= pdo_pgsql .else # server is not necessary on this host. USE_PHP= pdo_mysql .endif .if ${PORT_OPTIONS:MGD} USE_PHP+= gd .endif .if ${PORT_OPTIONS:MLDAP} USE_PHP+= ldap .endif .if ${PORT_OPTIONS:MIMAP} USE_PHP+= imap .endif -USE_PHP+= ctype dom hash iconv json mbstring openssl pcre session \ +USE_PHP+= ctype dom iconv mbstring session \ simplexml xmlwriter zip zlib WWWDOCROOT?= www PHPSURVEYORURL?= ${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= PHPSURVEYORDIR="${PHPSURVEYORDIR}" \ PHPSURVEYORURL="${PHPSURVEYORURL}" PHPSURVEYORDIR= ${WWWDOCROOT}/${PHPSURVEYORURL} do-install: ${MKDIR} "${STAGEDIR}${WWWDIR}" @cd "${WRKSRC}" && ${COPYTREE_SHARE} . "${STAGEDIR}${WWWDIR}" ${MKDIR} "${STAGEDIR}${WWWDIR}"/tmp ${CHMOD} 755 "${STAGEDIR}${WWWDIR}"/tmp ${CHMOD} 755 "${STAGEDIR}${WWWDIR}"/upload ${CHMOD} -R go-w "${STAGEDIR}${WWWDIR}"/admin post-install: @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} @${FIND} -s -d ${STAGEDIR}${WWWDIR}/admin -type f -print | \ ${SED} -e "s#${STAGEDIR}${PREFIX}/##g" >> ${TMPPLIST} @${FIND} -s -d ${STAGEDIR}${WWWDIR}/admin -type d -print | \ ${SED} -E -e "s#${STAGEDIR}${PREFIX}/#@dir #g" >> ${TMPPLIST} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} @${FIND} -s -d ${STAGEDIR}${WWWDIR} ! -path "${STAGEDIR}${WWWDIR}/admin/*" -type f -print | \ ${SED} -e "s#${STAGEDIR}${PREFIX}/##g" >> ${TMPPLIST} @${FIND} -s -d ${STAGEDIR}${WWWDIR} -type d ! -path "${STAGEDIR}${WWWDIR}/admin*" -print | \ ${SED} -E -e "s#${STAGEDIR}${PREFIX}/#@dir #g" >> ${TMPPLIST} @${ECHO_CMD} "@owner" >> ${TMPPLIST} @${ECHO_CMD} "@group" >> ${TMPPLIST} .include diff --git a/www/matomo/Makefile b/www/matomo/Makefile index 2515070b1dec..0dbb57b1e3cc 100644 --- a/www/matomo/Makefile +++ b/www/matomo/Makefile @@ -1,48 +1,48 @@ PORTNAME= matomo PORTVERSION= 4.13.3 CATEGORIES= www MASTER_SITES= http://builds.matomo.org/ PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Open Source Web Analytics Software Program WWW= https://www.matomo.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe shebangfix php:flavors -USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json \ - mbstring mcrypt memcache mysqli opcache openssl pcre pdo \ +USE_PHP= ctype curl dom fileinfo filter gd iconv intl \ + mbstring mcrypt memcache mysqli opcache pdo \ pdo_mysql posix readline session simplexml soap sockets \ sqlite3 tidy tokenizer xml zlib NO_ARCH= yes NO_BUILD= yes SHEBANG_FILES= misc/log-analytics/import_logs.py SUB_FILES= pkg-message PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= PHPPDOMYSQL PHPMYSQLI OPTIONS_DEFAULT= PHPPDOMYSQL PHPPDOMYSQL_DESC= Use pdo_mysql php module PHPPDOMYSQL_USE= PHP=pdo_mysql PHPMYSQLI_DESC= Use mysqli php module PHPMYSQLI_USE= PHP=mysqli pre-install: @if [ ! -f ${LOCALBASE}/bin/php ]; then \ echo " It seems you installed PHP without CLI enabled. "; \ echo " This will cause problems when using Matomo. "; \ echo " If you want to reconsider, press Ctrl-C now to cancel. "; \ echo " Then reinstall PHP with CLI enabled. "; \ sleep 3; \ fi do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/tmp/cache/tracker @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) .include diff --git a/www/mediawiki135/Makefile b/www/mediawiki135/Makefile index 10c6ee27f475..366702822b47 100644 --- a/www/mediawiki135/Makefile +++ b/www/mediawiki135/Makefile @@ -1,68 +1,68 @@ PORTNAME= mediawiki PORTVERSION= 1.35.10 CATEGORIES= www MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ PKGNAMESUFFIX= 135${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Wiki engine used by Wikipedia WWW= https://www.mediawiki.org/ LICENSE= GPLv2 CONFLICTS= mediawiki13[7-9] USES= cpe php:flavors shebangfix SHEBANG_FILES= maintenance/dev/*.sh \ maintenance/postgres/*.pl \ maintenance/storage/make-blobs \ includes/shell/limit.sh SHEBANG_LANG= hhvm hhvm_OLD_CMD= /usr/bin/hhvm hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet -USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \ - pcre readline session xml xmlreader zlib +USE_PHP= ctype dom fileinfo filter iconv intl mbstring \ + readline session xml xmlreader zlib MEDIAWIKIDIR?= www/mediawiki NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR} OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL SOCKETS MEMCACHED_DESC= Use memcached IMAGICK_DESC= Use ImageMagick SOCKETS_DESC= Use sockets MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql SQLITE_USE= php=sqlite3 LDAP_USE= php=ldap SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} @${ECHO} "@dir %%WWWDIR%%/cache" >> ${PLIST} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO} "@mode 0755" >> ${PLIST} @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST} @${ECHO} "@mode" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} .include diff --git a/www/mediawiki138/Makefile b/www/mediawiki138/Makefile index d3cc9f38dbd7..611fe7820e4a 100644 --- a/www/mediawiki138/Makefile +++ b/www/mediawiki138/Makefile @@ -1,66 +1,66 @@ PORTNAME= mediawiki PORTVERSION= 1.38.6 CATEGORIES= www MASTER_SITES= https://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ PKGNAMESUFFIX= 138${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Wiki engine used by Wikipedia WWW= https://www.mediawiki.org/ LICENSE= GPLv2 CONFLICTS= mediawiki13[5-7] mediawiki139 USES= cpe php:flavors shebangfix SHEBANG_FILES= maintenance/dev/*.sh \ maintenance/storage/make-blobs SHEBANG_LANG= hhvm hhvm_OLD_CMD= /usr/bin/hhvm hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet -USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \ - pcre readline session xml xmlreader zlib +USE_PHP= ctype dom fileinfo filter iconv intl mbstring \ + readline session xml xmlreader zlib MEDIAWIKIDIR?= www/mediawiki NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR} OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL SOCKETS MEMCACHED_DESC= Use memcached IMAGICK_DESC= Use ImageMagick SOCKETS_DESC= Use sockets MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql SQLITE_USE= php=sqlite3 LDAP_USE= php=ldap SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} @${ECHO} "@dir %%WWWDIR%%/cache" >> ${PLIST} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO} "@mode 0755" >> ${PLIST} @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST} @${ECHO} "@mode" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} .include diff --git a/www/mediawiki139/Makefile b/www/mediawiki139/Makefile index e7a66f1ba550..e57c75d0f3fa 100644 --- a/www/mediawiki139/Makefile +++ b/www/mediawiki139/Makefile @@ -1,66 +1,66 @@ PORTNAME= mediawiki PORTVERSION= 1.39.3 CATEGORIES= www MASTER_SITES= https://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ PKGNAMESUFFIX= 139${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Wiki engine used by Wikipedia WWW= https://www.mediawiki.org/ LICENSE= GPLv2 CONFLICTS= mediawiki13[5-8] USES= cpe php:flavors shebangfix SHEBANG_FILES= maintenance/dev/*.sh \ maintenance/storage/make-blobs SHEBANG_LANG= hhvm hhvm_OLD_CMD= /usr/bin/hhvm hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet -USE_PHP= ctype dom fileinfo filter hash iconv intl json mbstring openssl \ - pcre readline session xml xmlreader zlib +USE_PHP= ctype dom fileinfo filter iconv intl mbstring \ + readline session xml xmlreader zlib MEDIAWIKIDIR?= www/mediawiki NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR} OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL SOCKETS MEMCACHED_DESC= Use memcached IMAGICK_DESC= Use ImageMagick SOCKETS_DESC= Use sockets MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql SQLITE_USE= php=sqlite3 LDAP_USE= php=ldap SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} @${ECHO} "@dir %%WWWDIR%%/cache" >> ${PLIST} @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO} "@mode 0755" >> ${PLIST} @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST} @${ECHO} "@mode" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} .include diff --git a/www/moodle311/Makefile b/www/moodle311/Makefile index 462b4203c3e2..885e4036007c 100644 --- a/www/moodle311/Makefile +++ b/www/moodle311/Makefile @@ -1,65 +1,64 @@ PORTNAME= moodle PORTVERSION= 3.11.13 PORTREVISION= 1 CATEGORIES= www education MASTER_SITES= SF/moodle/Moodle/stable311/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism WWW= https://www.moodle.org/ LICENSE= GPLv3 DEPRECATED= Requires php80 which is set to expire on 2023-11-26 EXPIRATION_DATE= 2023-12-31 CONFLICTS= moodle39-3.9.[0-9]* moodle40-4.0.[0-9]* moodle41-4.1.[0-9]* USES= cpe php:flavors tar:tgz -USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \ - opcache openssl pcre session simplexml soap sodium spl tokenizer \ +USE_PHP= ctype curl dom fileinfo filter gd iconv intl mbstring \ + opcache session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib IGNORE_WITH_PHP= 81 82 WRKSRC= ${WRKDIR}/moodle OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT= MYSQL MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql -MSSQL_USE= php=mssql LDAP_USE= php=ldap NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDATADIR=${MOODLEDATADIR} MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} # Here for safety I do not set moodle diretory 0755 permission # It require user write config.php manually then. @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} .include diff --git a/www/moodle39/Makefile b/www/moodle39/Makefile index 45ddc6138122..036d432b8fce 100644 --- a/www/moodle39/Makefile +++ b/www/moodle39/Makefile @@ -1,64 +1,63 @@ PORTNAME= moodle PORTVERSION= 3.9.20 CATEGORIES= www education MASTER_SITES= SF/moodle/Moodle/stable39/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism WWW= https://www.moodle.org/ LICENSE= GPLv3 DEPRECATED= Requires php74 which has been removed from the tree EXPIRATION_DATE= 2023-04-30 CONFLICTS= moodle311-3.11.[0-9]* moodle40-4.0.[0-9]* moodle41-4.1.[0-9]* USES= cpe php:flavors tar:tgz -USE_PHP= ctype curl dom fileinfo filter gd hash iconv intl json mbstring \ - opcache openssl pcre session simplexml soap spl tokenizer \ +USE_PHP= ctype curl dom fileinfo filter gd iconv intl mbstring \ + opcache session simplexml soap tokenizer \ xml xmlreader xmlrpc zip zlib IGNORE_WITH_PHP= 81 82 WRKSRC= ${WRKDIR}/moodle OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT= MYSQL MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql -MSSQL_USE= php=mssql LDAP_USE= php=ldap NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDATADIR=${MOODLEDATADIR} MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} # Here for safety I do not set moodle diretory 0755 permission # It require user write config.php manually then. @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} .include diff --git a/www/moodle40/Makefile b/www/moodle40/Makefile index b560d125352d..f2ac0a2e5938 100644 --- a/www/moodle40/Makefile +++ b/www/moodle40/Makefile @@ -1,66 +1,65 @@ PORTNAME= moodle PORTVERSION= 4.0.7 PORTREVISION= 1 CATEGORIES= www education MASTER_SITES= SF/moodle/Moodle/stable400/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism WWW= https://www.moodle.org/ LICENSE= GPLv3 DEPRECATED= Requires php80 which is set to expire on 2023-11-26 EXPIRATION_DATE= 2023-12-31 CONFLICTS= moodle39-3.9.[0-9]* moodle311-3.11.[0-9]* moodle41-4.1.[0-9]* USES= cpe php:flavors tar:tgz -USE_PHP= ctype curl dom exif fileinfo filter gd hash \ - iconv intl json mbstring opcache openssl \ - pcre session simplexml soap sodium spl tokenizer \ +USE_PHP= ctype curl dom exif fileinfo filter gd \ + iconv intl mbstring opcache \ + session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib IGNORE_WITH_PHP= 81 82 WRKSRC= ${WRKDIR}/moodle OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT= MYSQL MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql -MSSQL_USE= php=mssql LDAP_USE= php=ldap NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDATADIR=${MOODLEDATADIR} MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} # Here for safety I do not set moodle diretory 0755 permission # It require user write config.php manually then. @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} .include diff --git a/www/moodle41/Makefile b/www/moodle41/Makefile index 62c4eebb45f4..3df9e51d8107 100644 --- a/www/moodle41/Makefile +++ b/www/moodle41/Makefile @@ -1,62 +1,61 @@ PORTNAME= moodle PORTVERSION= 4.1.2 CATEGORIES= www education MASTER_SITES= SF/moodle/Moodle/stable401/ PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism WWW= https://www.moodle.org/ LICENSE= GPLv3 CONFLICTS= moodle39-3.9.[0-9]* moodle311-3.11.[0-9]* moodle40-4.0.[0-9]* USES= cpe php:flavors tar:tgz -USE_PHP= ctype curl dom exif fileinfo filter gd hash \ - iconv intl json mbstring opcache openssl \ - pcre session simplexml soap sodium spl tokenizer \ +USE_PHP= ctype curl dom exif fileinfo filter gd \ + iconv intl mbstring opcache \ + session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib IGNORE_WITH_PHP= 82 WRKSRC= ${WRKDIR}/moodle OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= MYSQL PGSQL MSSQL +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT= MYSQL MYSQL_USES= mysql MYSQL_USE= php=mysqli PGSQL_USE= php=pgsql -MSSQL_USE= php=mssql LDAP_USE= php=ldap NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= MOODLEDIR=${MOODLEDIR} \ MOODLEDATADIR=${MOODLEDATADIR} MOODLEDIR?= www/moodle MOODLEDATADIR?= moodledata pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${ECHO} @dir ${MOODLEDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} # Here for safety I do not set moodle diretory 0755 permission # It require user write config.php manually then. @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MOODLEDIR}?g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MOODLEDIR}?g" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MOODLEDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${MOODLEDATADIR} .include diff --git a/www/mythplugin-mythweb/Makefile b/www/mythplugin-mythweb/Makefile index ec02eef1516a..73e7feb1d19f 100644 --- a/www/mythplugin-mythweb/Makefile +++ b/www/mythplugin-mythweb/Makefile @@ -1,47 +1,47 @@ PORTNAME= mythweb DISTVERSIONPREFIX= v DISTVERSION= 33.1-0 DISTVERSIONSUFFIX= -g92f0f9b CATEGORIES= www PKGNAMEPREFIX= mythplugin- MAINTAINER= ahicks@p-o.co.uk COMMENT= Frontend for scheduling and managing recordings on your MythTV Box WWW= https://www.mythtv.org/wiki/MythWeb LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php shebangfix perl5 USE_PERL5= run -USE_PHP= json pcre posix mysqli session spl sockets +USE_PHP= posix mysqli session sockets USE_GITHUB= yes GH_ACCOUNT= MythTV SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \ modules/coverart/handler.pl modules/stream/*.pl NO_BUILD= yes NO_ARCH= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message REINPLACE_ARGS= -i "" OPTIONS_DEFINE= APACHE LIGHTTPD NGINX OPTIONS_DEFAULT= APACHE APACHE_USES= apache LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd NGINX_DESC= Nginx server support NGINX_RUN_DEPENDS= nginx:www/nginx post-patch: @${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \ ${WRKSRC}/mythweb.conf.apache @${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \ ${WRKSRC}/mythweb.conf.lighttpd do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ "! -name *.orig -and ! -name LICENSE") .include diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile index 5ffb88730afa..13efaecd17e9 100644 --- a/www/nextcloud/Makefile +++ b/www/nextcloud/Makefile @@ -1,101 +1,100 @@ PORTNAME= nextcloud PORTVERSION= 26.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://download.nextcloud.com/server/releases/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= brnrd@FreeBSD.org COMMENT= Collaboration platform which runs on your own server WWW= https://nextcloud.com LICENSE= AGPLv3 USES= cpe gettext-runtime php:flavors,web tar:bzip2 -USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp hash iconv \ - json mbstring pcntl pdo posix session simplexml xml xmlreader \ +USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp iconv \ + mbstring pcntl pdo posix session simplexml xml xmlreader \ xmlwriter xsl zip zlib NEXTCLOUD_USERNAME?= ${WWWOWN} NEXTCLOUD_GROUPNAME?= ${WWWGRP} WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes SUB_FILES= config.sample.php occ pkg-message plist.post SUB_LIST= NEXTCLOUD_USERNAME=${NEXTCLOUD_USERNAME} \ NEXTCLOUD_GROUPNAME=${NEXTCLOUD_GROUPNAME} PLIST_SUB= ${SUB_LIST} -OPTIONS_DEFINE= EXIF IMAGICK INTL LDAP PCNTL SMB SSL SYSVSEM +OPTIONS_DEFINE= EXIF IMAGICK INTL LDAP PCNTL SMB SYSVSEM OPTIONS_GROUP= CACHING OPTIONS_GROUP_CACHING= APCU OPCACHE REDIS OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE -OPTIONS_DEFAULT= APCU EXIF INTL LDAP MYSQL OPCACHE SSL SYSVSEM +OPTIONS_DEFAULT= APCU EXIF INTL LDAP MYSQL OPCACHE SYSVSEM OPTIONS_SUB= yes APCU_DESC= Local data caching using APCu (recommended) CACHING_DESC= Caching DB_DESC= Database backend(s) EXIF_DESC= Image rotation support IMAGICK_DESC= Thumbnail support (recommended) INTL_DESC= International character support (recommended) OPCACHE_DESC= Enable OPcode caching (recommended) PCNTL_DESC= Long-running process control (recommended) REDIS_DESC= Distributed data caching using Redis SYSVSEM_DESC= Enable System V semaphore support (recommended) APCU_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} EXIF_USE= PHP=exif IMAGICK_RUN_DEPENDS= ${IMAGEMAGICK_DEPENDS} INTL_USE= PHP=intl LDAP_USE= PHP=ldap MYSQL_USE= PHP=pdo_mysql OPCACHE_USE= PHP=opcache PCNTL_USE= PHP=pcntl PGSQL_USE= PHP=pdo_pgsql,pgsql REDIS_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}redis>=2.2.6:databases/pecl-redis@${PHP_FLAVOR} SMB_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}smbclient>=0.9.0:net/pecl-smbclient@${PHP_FLAVOR} SQLITE_USE= PHP=pdo_sqlite,sqlite3 -SSL_USE= PHP=openssl SYSVSEM_USE= PHP=sysvsem .include .if !empty(IMAGEMAGICK_DEFAULT:M6) || !empty(IMAGEMAGICK_DEFAULT:M6-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} .elif !empty(IMAGEMAGICK_DEFAULT:M7) || !empty(IMAGEMAGICK_DEFAULT:M7-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick-im7>=2.2.2:graphics/pecl-imagick-im7@${PHP_FLAVOR} .else # notreached .endif post-extract: @${MV} ${WRKSRC}/config/config.sample.php ${WRKSRC}/config/config.documented.php @${MV} ${WRKSRC}/.htaccess ${WRKSRC}/.htaccess.dist post-patch: @${REINPLACE_CMD} -e 's|/var/www/${PORTNAME}|${WWWDIR}|;s|/var/log/|/var/log/${PORTNAME}/|' \ ${WRKSRC}/config/config.documented.php @${RM} ${WRKSRC}/config/config.documented.php.* \ ${WRKSRC}/updater/updater.phar @${RMDIR} ${WRKSRC}/apps/suspicious_login/vendor/amphp/*/docs/.shared @${MV} ${WRKSRC}/apps ${WRKSRC}/apps-pkg do-install: @${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${INSTALL_SCRIPT} ${WRKDIR}/config.sample.php \ ${STAGEDIR}${WWWDIR}/config/config.sample.php @${MKDIR} ${STAGEDIR}${WWWDIR}/data ${STAGEDIR}${WWWDIR}/apps \ ${STAGEDIR}/var/log/${PORTNAME} (cd ${WRKSRC}; ${FIND} . -type f) | ${SORT} | \ ${SED} -Ee '/^\.\/\.(htaccess\.dist|user\.ini)/d' \ -e '/^\.\/config\/config\.sample\.php/d' \ -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST} ${CAT} ${WRKDIR}/plist.post >> ${TMPPLIST} ${INSTALL_SCRIPT} ${WRKDIR}/occ ${STAGEDIR}${LOCALBASE}/bin/occ .include diff --git a/www/opencart/Makefile b/www/opencart/Makefile index b28b4f46ed58..2cc43714022e 100644 --- a/www/opencart/Makefile +++ b/www/opencart/Makefile @@ -1,28 +1,28 @@ PORTNAME= opencart PORTVERSION= 4.0.1.1 CATEGORIES= www misc MAINTAINER= wen@FreeBSD.org COMMENT= Open source PHP-based online shopping cart system WWW= https://www.opencart.com/ LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= opencart USES= cpe php -USE_PHP= filter mysqli curl mbstring gd zlib mcrypt session zip hash openssl +USE_PHP= filter mysqli curl mbstring gd zlib mcrypt session zip WRKSRC_SUBDIR= upload NO_BUILD= yes SUB_FILES= pkg-message post-patch: ${MV} ${WRKSRC}/config-dist.php ${WRKSRC}/config.php ${MV} ${WRKSRC}/admin/config-dist.php ${WRKSRC}/admin/config.php do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile index 0b49df9667a9..2d73045f5351 100644 --- a/www/orangehrm/Makefile +++ b/www/orangehrm/Makefile @@ -1,34 +1,34 @@ PORTNAME= orangehrm PORTVERSION= 5.3 CATEGORIES= www misc MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Open Source Human Resource Management WWW= https://www.orangehrm.com LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php zip -USE_PHP= ctype curl filter iconv json \ +USE_PHP= ctype curl filter iconv \ mbstring pdo_mysql xml session \ simplexml tokenizer zip NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message HRMDIR= www/orangehrm pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type l | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dir ${HRMDIR}#g" >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${HRMDIR} .include diff --git a/www/osticket/Makefile b/www/osticket/Makefile index a68fcbea6443..6674dbfd9c65 100644 --- a/www/osticket/Makefile +++ b/www/osticket/Makefile @@ -1,38 +1,38 @@ PORTNAME= osticket DISTVERSIONPREFIX= v DISTVERSION= 1.17.3 CATEGORIES= www MASTER_SITES= https://github.com/osTicket/osTicket/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= osTicket-v${DISTVERSION} MAINTAINER= otis@FreeBSD.org COMMENT= Widely-used open source support ticket system WWW= https://osticket.com/ LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR} USES= cpe php:web zip CPE_VENDOR= enhancesoft -USE_PHP= ctype curl dom fileinfo filter gd gettext iconv imap intl json \ +USE_PHP= ctype curl dom fileinfo filter gd gettext iconv imap intl \ mbstring mysqli opcache phar session xml zip IGNORE_WITH_PHP= 82 NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= WWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} WRKSRC= ${WRKDIR}/upload PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ ${MV} ${STAGEDIR}${WWWDIR}/include/ost-sampleconfig.php \ ${STAGEDIR}${WWWDIR}/include/ost-config.php.sample .include diff --git a/www/owncloud/Makefile b/www/owncloud/Makefile index 34d1145ad45f..a5cbff5356a0 100644 --- a/www/owncloud/Makefile +++ b/www/owncloud/Makefile @@ -1,59 +1,59 @@ PORTNAME= owncloud PORTVERSION= 10.12.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://download.owncloud.com/server/stable/ \ LOCAL/sunpoet PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Personal cloud which runs on your own server WWW= https://owncloud.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe php:flavors,web tar:bzip2 -USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv intl json \ +USE_PHP= bz2 ctype curl dom fileinfo filter gd iconv intl \ mbstring pdo posix session simplexml xml xmlreader xmlwriter \ xsl zip zlib NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} OWNCLOUD_USER?= ${WWWOWN} OWNCLOUD_GROUP?=${WWWGRP} PLIST_SUB= OWNCLOUD_USER=${OWNCLOUD_USER} \ OWNCLOUD_GROUP=${OWNCLOUD_GROUP} SUB_FILES= pkg-message newsyslog -OPTIONS_DEFINE= EXAMPLES EXIF LDAP SMB SSL +OPTIONS_DEFINE= EXAMPLES EXIF LDAP SMB OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE -OPTIONS_DEFAULT=EXIF LDAP MYSQL SMB SSL +OPTIONS_DEFAULT=EXIF LDAP MYSQL SMB EXIF_DESC= Image rotation support EXIF_USE= PHP=exif LDAP_USE= PHP=ldap MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SMB_RUN_DEPENDS=${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} SQLITE_USE= PHP=pdo_sqlite -SSL_USE= PHP=openssl post-patch: @${FIND} ${WRKSRC} -type d -empty -delete @${FIND} ${WRKSRC} -type d -name .github | ${XARGS} ${RM} -r do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/ ${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${WWWDIR}/data do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKDIR}/newsyslog ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/pear-Horde_Service_Facebook/Makefile b/www/pear-Horde_Service_Facebook/Makefile index 4fd750e3a45a..1cd463b1cf1b 100644 --- a/www/pear-Horde_Service_Facebook/Makefile +++ b/www/pear-Horde_Service_Facebook/Makefile @@ -1,17 +1,17 @@ PORTNAME= Horde_Service_Facebook DISTVERSION= 2.0.10 CATEGORIES= www pear MAINTAINER= horde@FreeBSD.org COMMENT= Horde Facebook client WWW= https://pear.horde.org USES= horde php cpe -USE_PHP= json simplexml +USE_PHP= simplexml USE_HORDE_RUN= Horde_Exception \ Horde_Http \ Horde_Translation \ Horde_Support \ Horde_Util .include diff --git a/www/pear-Services_Amazon_S3/Makefile b/www/pear-Services_Amazon_S3/Makefile index cfcaa16749b2..2473b02159f1 100644 --- a/www/pear-Services_Amazon_S3/Makefile +++ b/www/pear-Services_Amazon_S3/Makefile @@ -1,17 +1,16 @@ PORTNAME= Services_Amazon_S3 PORTVERSION= 0.4.0 CATEGORIES= www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP API for Amazon S3 (Simple Storage Service) WWW= https://pear.php.net/package/Services_Amazon_S3 BUILD_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} \ ${PEARDIR}/Crypt/HMAC2.php:security/pear-Crypt_HMAC2@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} \ ${PEARDIR}/Crypt/HMAC2.php:security/pear-Crypt_HMAC2@${PHP_FLAVOR} -USE_PHP= spl -USES= pear php +USES= pear .include diff --git a/www/pear-Services_Delicious/Makefile b/www/pear-Services_Delicious/Makefile index d567429766d9..cfa61b98ce81 100644 --- a/www/pear-Services_Delicious/Makefile +++ b/www/pear-Services_Delicious/Makefile @@ -1,17 +1,16 @@ PORTNAME= Services_Delicious PORTVERSION= 0.6.0 CATEGORIES= www pear MAINTAINER= sunpoet@FreeBSD.org COMMENT= PEAR Client for the del.icio.us web service WWW= https://pear.php.net/package/Services_Delicious BUILD_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR} \ ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} RUN_DEPENDS= ${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR} \ ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} USES= dos2unix pear php -USE_PHP= openssl .include diff --git a/www/pear-Services_ShortURL/Makefile b/www/pear-Services_ShortURL/Makefile index 61cc83abdfb9..24229b7d39fe 100644 --- a/www/pear-Services_ShortURL/Makefile +++ b/www/pear-Services_ShortURL/Makefile @@ -1,14 +1,14 @@ PORTNAME= Services_ShortURL PORTVERSION= 0.3.1 CATEGORIES= www pear MAINTAINER= wen@FreeBSD.org COMMENT= Abstract PHP5 interface for shortening and expanding short URLs WWW= https://pear.php.net/package/Services_ShortURL RUN_DEPENDS= ${PEARDIR}/HTTP/Request2.php:www/pear-HTTP_Request2@${PHP_FLAVOR} USES= pear php -USE_PHP= simplexml pcre spl +USE_PHP= simplexml .include diff --git a/www/pear-twig/Makefile b/www/pear-twig/Makefile index a868db4d1f58..b3e3d5a536df 100644 --- a/www/pear-twig/Makefile +++ b/www/pear-twig/Makefile @@ -1,21 +1,21 @@ PORTNAME= twig PORTVERSION= 1.29.0 CATEGORIES= www pear MASTER_SITES= http://pear.twig-project.org/get/ DISTNAME= Twig-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Flexible, fast, and secure template engine for PHP WWW= https://twig.symfony.com LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe pear php:cli PEAR_CHANNEL= twig NO_ARCH= yes CPE_VENDOR= symfony -USE_PHP= ctype hash +USE_PHP= ctype .include diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile index b48a123f4745..746df8252aaa 100644 --- a/www/pecl-http/Makefile +++ b/www/pecl-http/Makefile @@ -1,28 +1,28 @@ PORTNAME= http PORTVERSION= 4.2.0 PORTREVISION= 3 CATEGORIES= www DISTNAME= pecl_${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Extended HTTP Support WWW= https://pecl.php.net/package/pecl_http LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE # For now UNBREAK for mips while being updated. #BROKEN_mips= fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression #BROKEN_mips64= fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR} \ re2c:devel/re2c LIB_DEPENDS= libcurl.so:ftp/curl \ libevent.so:devel/libevent \ libicudata.so:devel/icu RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR} -USES= php:pecl -USE_PHP= hash:build iconv:build zlib:build +USES= php:build,pecl +USE_PHP= iconv:build zlib:build .include diff --git a/www/pecl-solr/Makefile b/www/pecl-solr/Makefile index a78d1c8a3fc6..06386d087a8a 100644 --- a/www/pecl-solr/Makefile +++ b/www/pecl-solr/Makefile @@ -1,21 +1,20 @@ PORTNAME= solr PORTVERSION= 2.6.0 CATEGORIES= www MAINTAINER= gaod@hychen.org COMMENT= PHP extension for Apache Solr WWW= https://pecl.php.net/package/solr LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libxml2.so:textproc/libxml2 -USES= php:pecl -USE_PHP= json:build +USES= php:build,pecl CONFIGURE_ARGS= LIBXML_CFLAGS=-I${LOCALBASE}/include/libxml2 \ LIBXML_LIBS=-L${LOCALBASE}/include/libxml2 .include diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile index 8646ea788eb9..c66ea384a2c8 100644 --- a/www/pecl-yar/Makefile +++ b/www/pecl-yar/Makefile @@ -1,26 +1,26 @@ PORTNAME= yar PORTVERSION= 2.3.2 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org COMMENT= Yar (Yet another RPC framework) is a light, concurrent RPC framework WWW= https://pecl.php.net/package/yar LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl -USES= localbase:ldflags php:pecl -USE_PHP= curl json:build +USES= localbase:ldflags php:build,pecl +USE_PHP= curl IGNORE_WITH_PHP=82 OPTIONS_DEFINE= MSGPACK OPTIONS_DEFAULT=MSGPACK MSGPACK_DESC= Enable MSGPACK module MSGPACK_BUILD_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR} MSGPACK_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}msgpack>=0:devel/pecl-msgpack@${PHP_FLAVOR} .include diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile index 5a420d3367a4..5b4ffd0d3a15 100644 --- a/www/phalcon/Makefile +++ b/www/phalcon/Makefile @@ -1,22 +1,22 @@ PORTNAME= phalcon DISTVERSIONPREFIX= v DISTVERSION= 5.2.1 CATEGORIES= www PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= franco@opnsense.org COMMENT= Phalcon PHP Framework written in C-language WWW= https://phalcon.io/ LICENSE= BSD3CLAUSE -USES= localbase php:ext +USES= localbase php:build,ext USE_GITHUB= yes GH_PROJECT= c${PORTNAME} -USE_PHP= json:build mbstring pdo:build session:build +USE_PHP= mbstring pdo:build session:build CONFIGURE_ARGS= --enable-phalcon WRKSRC_SUBDIR= build/phalcon .include diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile index e9ca118f766e..149cb05d3202 100644 --- a/www/phpbb3/Makefile +++ b/www/phpbb3/Makefile @@ -1,58 +1,58 @@ PORTNAME= phpbb DISTVERSION= 3.3.9 CATEGORIES= www MASTER_SITES= https://download.phpbb.com/pub/release/${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/}/${PORTVERSION}/ PKGNAMESUFFIX= 3 DISTNAME= phpBB-${PORTVERSION} MAINTAINER= joneum@FreeBSD.org COMMENT= PHP-based bulletin board / discussion forum system WWW= https://www.phpbb.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/LICENSE.txt USES= cpe php tar:bzip2 -USE_PHP= ctype dom filter hash json tokenizer +USE_PHP= ctype dom filter tokenizer CONFLICTS= phpbb-[0-2]* OPTIONS_DEFINE= DOCS WWWDOCROOT?= www PHPBBURL?= phpBB3 WRKSRC= ${WRKDIR}/phpBB3 NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= PHPBBURL="${PHPBBURL}" \ PHPBBDIR="${PHPBBDIR}" PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} PKGOPTS= ${FILESDIR}/pkg-opts PORTDOCS= * options: @${ECHO_MSG} "===> Build options for ${PKGNAME}:" @${CAT} ${PKGOPTS} pre-everything:: .if !defined(BATCH) @${TEST} -r ${PKGOPTS} && \ (${ECHO_MSG} '-------------------------------------------------------------------------'; \ ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \ ${ECHO_MSG} '-------------------------------------------------------------------------') .endif do-install: ${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile index f6e81aa9176a..3d56056a4507 100644 --- a/www/phpmyfaq/Makefile +++ b/www/phpmyfaq/Makefile @@ -1,27 +1,27 @@ PORTNAME= phpmyfaq PORTVERSION= 3.1.12 CATEGORIES= www MASTER_SITES= https://download.phpmyfaq.de/files/ MAINTAINER= flo@FreeBSD.org COMMENT= Multilingual, completely database-driven FAQ-system WWW= https://www.phpmyfaq.de/ LICENSE= MPL20 WRKSRC= ${WRKDIR}/${PORTNAME} USES= cpe php:web -USE_PHP= filter json mysqli pcre session xml xmlrpc xmlwriter zlib +USE_PHP= filter mysqli session xml xmlrpc xmlwriter zlib FAQ_DIR= attachments data images inc pdf xml NO_BUILD= YES NO_ARCH= YES do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} .for i in ${FAQ_DIR} @${MKDIR} ${STAGEDIR}${WWWDIR}/${i} .endfor .include diff --git a/www/phpsysinfo/Makefile b/www/phpsysinfo/Makefile index a3547c0c2ee8..7dbf0f543379 100644 --- a/www/phpsysinfo/Makefile +++ b/www/phpsysinfo/Makefile @@ -1,30 +1,30 @@ PORTNAME= phpsysinfo DISTVERSIONPREFIX= v DISTVERSION= 3.4.2 CATEGORIES= www MAINTAINER= tremere@cainites.net COMMENT= PHP script for displaying system information WWW= https://phpsysinfo.github.io/phpsysinfo/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe php:web USE_GITHUB= yes -USE_PHP= dom mbstring pcre simplexml xml +USE_PHP= dom mbstring simplexml xml NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message PLIST_FILES= "@sample ${WWWDIR}/phpsysinfo.ini.new ${WWWDIR}/phpsysinfo.ini" do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! -name .travis.yml ! -name .gitignore") @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' > ${TMPPLIST} .include diff --git a/www/phpvirtualbox-legacy/Makefile b/www/phpvirtualbox-legacy/Makefile index 5cb67911b912..117f2698e55b 100644 --- a/www/phpvirtualbox-legacy/Makefile +++ b/www/phpvirtualbox-legacy/Makefile @@ -1,38 +1,38 @@ PORTNAME= phpvirtualbox DISTVERSION= 5.2-1 PORTREVISION= 1 CATEGORIES= www PKGNAMESUFFIX= -legacy MAINTAINER= vbox@FreeBSD.org COMMENT= AJAX Web Interface for VirtualBox WWW= https://sourceforge.net/projects/phpvirtualbox/ LICENSE= GPLv3 USES= dos2unix php -USE_PHP= json session simplexml soap xml +USE_PHP= session simplexml soap xml NO_ARCH= yes NO_BUILD= yes USE_GITHUB= yes DOS2UNIX_REGEX= .*\.(php|txt|js|css|html) WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} ETCDIR= ${WWWDIR} post-patch: @${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox-legacy.conf @${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox-legacy#' \ -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ ${WRKSRC}/phpvirtualbox-legacy.conf do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ "-not -name *.orig -not -name config.php-example") ${INSTALL_DATA} ${WRKSRC}/config.php-example \ ${STAGEDIR}${WWWDIR}/config.php.sample .include diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile index 6340cce6dc9e..ee127b0ab5b1 100644 --- a/www/phpvirtualbox/Makefile +++ b/www/phpvirtualbox/Makefile @@ -1,34 +1,34 @@ PORTNAME= phpvirtualbox DISTVERSION= 6.1 CATEGORIES= www MAINTAINER= vbox@FreeBSD.org COMMENT= AJAX Web Interface for VirtualBox WWW= https://sourceforge.net/projects/phpvirtualbox/ LICENSE= GPLv3 USES= dos2unix php -USE_PHP= json session simplexml soap xml +USE_PHP= session simplexml soap xml NO_ARCH= yes NO_BUILD= yes USE_GITHUB= yes GH_TAGNAME= cf82d58f2 DOS2UNIX_REGEX= .*\.(php|txt|js|css|html) ETCDIR= ${WWWDIR} post-patch: @${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ ${WRKSRC}/phpvirtualbox.conf do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ "-not -name *.orig -not -name config.php-example") ${INSTALL_DATA} ${WRKSRC}/config.php-example \ ${STAGEDIR}${WWWDIR}/config.php.sample .include diff --git a/www/piwigo/Makefile b/www/piwigo/Makefile index 1fe8a1577e07..435023fb3442 100644 --- a/www/piwigo/Makefile +++ b/www/piwigo/Makefile @@ -1,92 +1,92 @@ PORTNAME= piwigo DISTVERSION= 13.6.0 PORTREVISION= 1 PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} CATEGORIES= www MASTER_SITES= https://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/ MAINTAINER= netchild@FreeBSD.org COMMENT= PHP based Web Gallery WWW= https://piwigo.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= cpe php:web,flavors zip -USE_PHP= ctype dom exif filter gd hash iconv json mbstring mysqli \ - openssl pcre pdo session simplexml sodium spl tokenizer \ +USE_PHP= ctype dom exif filter gd iconv mbstring mysqli \ + pdo session simplexml sodium tokenizer \ xml zip zlib # sodium is needed for randomisation stuff (prefferred option), # could be replaced by mcrypt # zip is used by an optional plugin NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST+= CHOWN="${CHOWN}" \ CP="${CP}" \ MKDIR="${MKDIR}" \ TOUCH="${TOUCH}" \ WWWGRP="${WWWGRP}" \ WWWOWN="${WWWOWN}" WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB+= CHOWN="${CHOWN}" \ WWWGRP="${WWWGRP}" \ WWWOWN="${WWWOWN}" PORTDOCS= README_ca.txt README_en.txt README_fr.txt OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_GROUP= OPT OPTIONS_GROUP_OPT= EXIFTOOL FFMPEG IMAGICK MEDIAINFO EXIFTOOL_DESC= exiftool support (for plugins) IMAGICK_DESC= ${IMAGEMAGICK_DESC} MEDIAINFO_DESC= mediainfo support (for plugins) OPT_DESC= Optional dependencies EXIFTOOL_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg IMAGICK_RUN_DEPENDS= ${IMAGEMAGICK_DEPENDS} MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo .include .if !empty(IMAGEMAGICK_DEFAULT:M6) || !empty(IMAGEMAGICK_DEFAULT:M6-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} .elif !empty(IMAGEMAGICK_DEFAULT:M7) || !empty(IMAGEMAGICK_DEFAULT:M7-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick-im7>=2.2.2:graphics/pecl-imagick-im7@${PHP_FLAVOR} .endif pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ pre-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ @cd ${WRKSRC}/tools/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ do-install: @cd ${WRKSRC}/doc/ && ${RM} ${PORTDOCS} @${RM} -r ${WRKSRC}/tools ${WRKSRC}/_data/dummy.txt @${INSTALL} -d ${STAGEDIR}${WWWDIR} @${TAR} -C ${WRKSRC} -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - gen-plist: ${ECHO} '@dir(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/language' > ${PLIST}.new ${ECHO} '@dir(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/plugins' >> ${PLIST}.new ${ECHO} '@dir(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/themes' >> ${PLIST}.new ${FIND} ${STAGEDIR}${PREFIX} -type f -o -type l | \ ${SED} -e "s:${STAGEDIR}${PREFIX}/::g ; \ s:www/piwigo/language:@(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/language:g ; \ s:www/piwigo/plugins:@(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/plugins:g ; \ s:www/piwigo/themes:@(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/themes:g ; \ s:www/piwigo:%%WWWDIR%%:g ; \ s:share/examples/piwigo:%%PORTEXAMPLES%%%%EXAMPLESDIR%%:g ;" | \ ${GREP} -v -E '^share/(doc|licenses)/' | ${SORT} >> ${PLIST}.new ${ECHO} '@dir(%%WWWOWN%%,%%WWWGRP%%,777) %%WWWDIR%%/_data' >> ${PLIST}.new ${ECHO} '@dir(%%WWWOWN%%,%%WWWGRP%%,750) %%WWWDIR%%/upload' >> ${PLIST}.new .include diff --git a/www/privatebin/Makefile b/www/privatebin/Makefile index 92f01c588f34..c1aa6398c154 100644 --- a/www/privatebin/Makefile +++ b/www/privatebin/Makefile @@ -1,37 +1,37 @@ PORTNAME= privatebin PORTVERSION= 1.5.1 CATEGORIES= www security MAINTAINER= dvl@FreeBSD.org COMMENT= Simple end-to-end encrypting zero-knowledge paste-bin server WWW= https://privatebin.info/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cpe php SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} NO_BUILD= yes NO_ARCH= yes -USE_PHP= gd hash json zlib +USE_PHP= gd zlib USE_GITHUB= yes GH_PROJECT= PrivateBin OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's:%%DATADBDIR%%:/var/db/${PORTNAME}:' \ ${WRKSRC}/index.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MV} ${STAGEDIR}/${WWWDIR}/*.md ${STAGEDIR}/${DOCSDIR} @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include diff --git a/www/rss-bridge/Makefile b/www/rss-bridge/Makefile index 87140c2b0b09..8365859c39db 100644 --- a/www/rss-bridge/Makefile +++ b/www/rss-bridge/Makefile @@ -1,44 +1,44 @@ PORTNAME= rss-bridge DISTVERSION= 2023-03-22 PORTEPOCH= 1 CATEGORIES= www MAINTAINER= osidorkin@gmail.com COMMENT= RSS feed generator for websites missing it WWW= https://github.com/RSS-Bridge/rss-bridge LICENSE= UNLICENSE USES= php:web USE_GITHUB= yes GH_ACCOUNT= RSS-Bridge -USE_PHP= curl json mbstring openssl simplexml zip +USE_PHP= curl mbstring simplexml zip NO_ARCH= yes NO_BUILD= yes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} OPTIONS_DEFINE= SQLITE OPTIONS_DEFAULT=SQLITE OPTIONS_SUB= yes SQLITE_DESC= Enable sqlite-based cache support (requires sqlite) SQLITE_USE= PHP=sqlite3 do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} "." ${STAGEDIR}${WWWDIR} "-not ( \ -name .git-blame-ignore-revs -or -name CONTRIBUTORS.md \ -or -name README.md -or -name LICENSE -or -name LICENSE.txt \ -or -name UNLICENSE -or -name app.json -or -name composer.json \ -or -name composer.lock -or -name docker-bake.hcl \ -or -name docker-entrypoint.sh \ -or -path ./config -or -path ./config/nginx.conf \ -or -regex ./.devcontainer.* -or -regex ./contrib.* \ -or -regex ./doc.* -or -regex ./static/screenshot_.* \ -or -regex ./static/screenshot-.* ) \ -or -name config.default.ini.php" ) .include diff --git a/www/sabredav/Makefile b/www/sabredav/Makefile index aaa1cc55211c..8f6979198f62 100644 --- a/www/sabredav/Makefile +++ b/www/sabredav/Makefile @@ -1,37 +1,37 @@ PORTNAME= sabredav DISTVERSION= 4.4.0 CATEGORIES= www MAINTAINER= meyser@xenet.de COMMENT= WebDav, CalDav and Carddav Server/Framework written in PHP WWW= https://sabre.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php CPE_VENDOR= sabre-io USE_GITHUB= yes GH_ACCOUNT= sabre-io GH_PROJECT= dav -USE_PHP= ctype dom iconv mbstring pcre simplexml spl xmlwriter +USE_PHP= ctype dom iconv mbstring simplexml xmlwriter NO_ARCH= yes NO_BUILD= yes OPTIONS_DEFAULT= MYSQL OPTIONS_MULTI= DATABASE OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite post-extract: @${FIND} ${WRKSRC}/ -type f -name '.*' -delete do-install: @${MKDIR} ${STAGEDIR}/${WWWDIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}) .include diff --git a/www/samdruckerserver/Makefile b/www/samdruckerserver/Makefile index 8a97f52c4f43..0d9742fe1b04 100644 --- a/www/samdruckerserver/Makefile +++ b/www/samdruckerserver/Makefile @@ -1,39 +1,39 @@ PORTNAME= samdrucker PORTVERSION= 0.2.6 CATEGORIES= www PKGNAMESUFFIX= server MAINTAINER= dvl@FreeBSD.org COMMENT= Installs the server side of SamDrucker WWW= https://github.com/dlangille/SamDrucker LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= apache php -USE_PHP= json pdo_pgsql +USE_PHP= pdo_pgsql NO_ARCH= yes NO_BUILD= yes USE_GITHUB= yes GH_ACCOUNT= dlangille GH_PROJECT= SamDrucker SUB_FILES= samdrucker.conf.sample PLIST_SUB= ETCDIR="${ETCDIR}" \ DATADIR="${DATADIR}" do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes ${INSTALL_SCRIPT} ${WRKSRC}/servers/php/samdrucker.php ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/servers/php/samdrucker.conf.sample ${STAGEDIR}${ETCDIR}/samdruckerserver.conf.sample ${INSTALL_DATA} ${WRKDIR}/samdrucker.conf.sample ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes/samdruckerserver.conf.sample (cd ${WRKSRC} && ${COPYTREE_SHARE} PostgreSQL ${STAGEDIR}${DATADIR}) .include diff --git a/www/serendipity/Makefile b/www/serendipity/Makefile index ed421ad85be4..6faa32738d8f 100644 --- a/www/serendipity/Makefile +++ b/www/serendipity/Makefile @@ -1,41 +1,41 @@ PORTNAME= serendipity PORTVERSION= 2.3.5 CATEGORIES= www MAINTAINER= joneum@FreeBSD.org COMMENT= PHP based weblog software WWW= https://www.s9y.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= s9y GH_PROJECT= Serendipity NO_BUILD= YES SERENDIPITY?= www/${PORTNAME} PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" -USE_PHP= session pcre gd openssl mbstring iconv zlib xml +USE_PHP= session gd mbstring iconv zlib xml SUB_FILES= pkg-message CPE_VENDOR= s9y SHEBANG_FILES= lang/*.sh \ lang/UTF-8/*.sh OPTIONS_DEFINE= MYSQL PGSQL SQLITE MAGICK OPTIONS_DEFAULT= MYSQL MAGICK MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql SQLITE_USE= PHP=sqlite3 MAGICK_USES= magick:7,run do-install: @-${MKDIR} ${STAGEDIR}${PREFIX}/${SERENDIPITY} @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${SERENDIPITY} @(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${SERENDIPITY}/ ) .include diff --git a/www/smarty/Makefile b/www/smarty/Makefile index b6359ab878cf..e1e4b7597f23 100644 --- a/www/smarty/Makefile +++ b/www/smarty/Makefile @@ -1,30 +1,29 @@ PORTNAME= smarty DISTVERSIONPREFIX= v PORTVERSION= 4.3.1 CATEGORIES= www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP compiling template engine WWW= https://www.smarty.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:flavors,web -USE_PHP= pcre NO_ARCH= yes NO_BUILD= yes DATADIR= ${PREFIX}/share/smarty${PHP_PKGNAMESUFFIX} SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= smarty-php do-install: ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/www/smarty2/Makefile b/www/smarty2/Makefile index e54cf89847d9..54ea26b44e5e 100644 --- a/www/smarty2/Makefile +++ b/www/smarty2/Makefile @@ -1,40 +1,39 @@ PORTNAME= smarty PORTVERSION= 2.6.32 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://www.smarty.net/files/docs/:manual DISTFILES= manual-en-${PORTVERSION:R}.zip:manual PKGNAMESUFFIX= 2${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= PHP compiling template engine WWW= https://www.smarty.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.lib OPTIONS_DEFINE= DOCS NO_ARCH= yes NO_BUILD= yes USES= cpe php:web,flavors -USE_PHP= pcre SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= smarty-php do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in BUGS FAQ INSTALL NEWS README ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/manual cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dump ${STAGEDIR}${DOCSDIR}/manual .include diff --git a/www/smarty3/Makefile b/www/smarty3/Makefile index 9d04cdba11a9..bb90274ac3c6 100644 --- a/www/smarty3/Makefile +++ b/www/smarty3/Makefile @@ -1,30 +1,29 @@ PORTNAME= smarty DISTVERSIONPREFIX= v PORTVERSION= 3.1.48 CATEGORIES= www PKGNAMESUFFIX= 3${PHP_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP compiling template engine WWW= https://www.smarty.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:flavors,web -USE_PHP= pcre NO_ARCH= yes NO_BUILD= yes DATADIR= ${PREFIX}/share/smarty3${PHP_PKGNAMESUFFIX} SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= smarty-php do-install: ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/www/sqstat/Makefile b/www/sqstat/Makefile index c65a526b02e1..a5919872bdbf 100644 --- a/www/sqstat/Makefile +++ b/www/sqstat/Makefile @@ -1,45 +1,45 @@ PORTNAME= sqstat PORTVERSION= 1.20 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://samm.kiev.ua/sqstat/ \ SF/sqstat/sqstat/sqstat-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Script which allows to look through active squid users connections WWW= https://samm.kiev.ua/sqstat/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/docs/LICENSE USES= php -USE_PHP= pcre session +USE_PHP= session NO_BUILD= yes NO_ARCH= yes SQSTATDIR?= share/${PORTNAME} SUB_FILES= pkg-message SUB_LIST= SQSTATDIR=${SQSTATDIR} PLIST_FILES= ${SQSTATDIR}/arrow.gif ${SQSTATDIR}/sqstat.class.php \ ${SQSTATDIR}/sqstat.css ${SQSTATDIR}/sqstat.php \ ${SQSTATDIR}/zhabascript.js \ ${SQSTATDIR}/config.inc.php.defaults PORTDOCS= CHANGES FAQ README TODO OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SQSTATDIR} .for f in ${PLIST_FILES} ${INSTALL_DATA} ${WRKSRC}/${f:T} ${STAGEDIR}${PREFIX}/${SQSTATDIR} .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/www/templatelite/Makefile b/www/templatelite/Makefile index c481edd52b97..079a07bac9e5 100644 --- a/www/templatelite/Makefile +++ b/www/templatelite/Makefile @@ -1,31 +1,30 @@ PORTNAME= templatelite PORTVERSION= 2.10 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/Template%20Lite/Template%20Lite%20version%20${PORTVERSION} DISTNAME= template_lite_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Smaller, faster alternative to the Smarty template engine WWW= http://templatelite.sourceforge.net LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING NO_BUILD= yes NO_ARCH= yes USES= php:web -USE_PHP= pcre WRKSRC= ${WRKDIR}/template_lite SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/www/thirtybees/Makefile b/www/thirtybees/Makefile index 901ecfedf682..00c04e890726 100644 --- a/www/thirtybees/Makefile +++ b/www/thirtybees/Makefile @@ -1,32 +1,32 @@ PORTNAME= thirtybees PORTVERSION= 1.3.0 CATEGORIES= www finance MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Mature e-commerce solution WWW= https://thirtybees.com LICENSE_FILE= ${WRKSRC}/LICENSES USES= php:web zip -USE_PHP= bcmath curl gd imap json mbstring opcache openssl pdo_mysql \ +USE_PHP= bcmath curl gd imap mbstring opcache pdo_mysql \ soap xml zip IGNORE_WITH_PHP=80 NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes SUB_FILES= pkg-message PLIST_SUB= THIRTYBEES_USER=${THIRTYBEES_USER} \ THIRTYBEES_GROUP=${THIRTYBEES_GROUP} THIRTYBEES_USER?= ${WWWOWN} THIRTYBEES_GROUP?= ${WWWGRP} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile index 97d751b54c8f..b2b9555ecd97 100644 --- a/www/thundercache/Makefile +++ b/www/thundercache/Makefile @@ -1,106 +1,106 @@ PORTNAME= thundercache PORTVERSION= 6.1 PORTREVISION= 15 CATEGORIES= www MASTER_SITES= http://www.thundercache.com.br/dist/ \ http://www.bmsoftware.org/packs/ \ http://www8.freebsdbrasil.com.br/~eksffa/thunder/ \ http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \ LOCAL/jmelo DISTNAME= thundercache-6.1.201104260900-${BITS}-fbsd MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= High-performance and high-efficiency caching proxy system WWW= https://www.bmsoftware.org LICENSE= commercial LICENSE_NAME= commercial LICENSE_TEXT= Commercial software with shareware license to 50 threads LICENSE_PERMS= dist-mirror pkg-mirror auto-accept OPTIONS_DEFINE= DEPENDACK APACHE PHP PGSQL OPTIONS_DEFAULT=DEPENDACK APACHE PHP PGSQL DEPENDACK_DESC= I have read and understood the depends needs APACHE_DESC= Install apache for reporting viewing PHP_DESC= Install PHP for reporting generating PGSQL_DESC= Install PostgreSQL (report data storing) USES= php shebangfix tar:bzip2 ssl SHEBANG_FILES= sbin/thunderlog.php USE_GCC= yes ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= thundercache NO_BUILD= yes .include BITS= ${ARCH:S/amd64/64/:S/x86_64/64/:S/i386/32/}bits WRKSRC= ${WRKDIR}/thunder .if ${PORT_OPTIONS:MAPACHE} USES+= apache:run .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql WANT_PGSQL= server .endif .if ${PORT_OPTIONS:MPHP} -USE_PHP+= curl pcre bcmath pdo mcrypt hash session +USE_PHP+= curl bcmath pdo mcrypt session . if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql pgsql . endif .endif LIB_DEPENDS+= libcurl.so:ftp/curl \ libutil.so:misc/compat8x SUB_FILES= pkg-message log.sh test-deps.sh SUB_LIST= "GREP=${GREP}" show-info: @${ECHO_MSG} "" @${ECHO_MSG} "ATTENTION:" @${ECHO_MSG} "" @${ECHO_MSG} " It is very important that you carefully read and respect" @${ECHO_MSG} " the special build options for the following depends:" @${ECHO_MSG} "" @${ECHO_MSG} " ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" @${ECHO_MSG} " security/openssl ZLIB=yes" @${ECHO_MSG} " devel/php5-pcre BUNDLED_PCRE=yes (for apache20)" @${ECHO_MSG} " postgresql${PGSQL_VER}-server \ NLS=yes PAM=yes OPTIMIZED_CFLAGS=yes TZDATA=yes" @${ECHO_MSG} "" @${ECHO_MSG} " After you understood it correctly, select DEPENDACK on" @${ECHO_MSG} " the OPTIONS screen. Run ''make config'' to acknowledge" @${ECHO_MSG} "" .if ! ${PORT_OPTIONS:MDEPENDACK} @${FALSE} .endif pre-everything::show-info do-install: @${CP} -r ${WRKSRC} ${STAGEDIR}${PREFIX}/ @${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${STAGEDIR}${PREFIX}/thunder/sbin/ @${MKDIR} -m 755 ${STAGEDIR}/var/run/thunder @(${CHMOD} +x ${WRKDIR}/test-deps.sh ; \ if ! ${WRKDIR}/test-deps.sh > /dev/null 2>&1 ; then \ ${ECHO_MSG} "**** FATAL **** " ; \ ${ECHO_MSG} "**** THIS PORT MAY NOT WORK PROPERLY **** " ; \ ${ECHO_MSG} "Some depends are not built with required features." ; \ ${ECHO_MSG} "You must always honor at least the following options" ; \ ${ECHO_MSG} "depends as listed:" ; \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" ; \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Type ''make show-info'' to read further information." ; \ ${ECHO_MSG} "" ; \ fi) .include diff --git a/www/thundersnarf/Makefile b/www/thundersnarf/Makefile index 917db96179e7..03c24ec96749 100644 --- a/www/thundersnarf/Makefile +++ b/www/thundersnarf/Makefile @@ -1,65 +1,65 @@ PORTNAME= thundersnarf PORTVERSION= 1.3 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.tracanelli.com.br/l/dev/thunder/ \ LOCAL/jmelo MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= Web reporting and trending analysis for Thunder Cache Pro WWW= http://www.thundercache.com.br OPTIONS_DEFINE= APACHE PHP PGSQL DOCS OPTIONS_DEFAULT=APACHE PHP PGSQL APACHE_DESC= Install apache for reporting viewing PHP_DESC= Install PHP for reporting generating PGSQL_DESC= Install PostgreSQL (report data storing) USES= tar:bzip2 PHP_USES= php PHP_VARS= IGNORE_WITH_PHP=81 82 NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= OWNER=${WWWOWN} GROUP=${WWWGRP} .include .if ${PORT_OPTIONS:MAPACHE} USES+= apache:run .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql WANT_PGSQL= server .endif .if ${PORT_OPTIONS:MPHP} -USE_PHP+= curl pcre bcmath pdo mcrypt hash session pgsql spl dom xmlrpc ctype openssl simplexml soap json +USE_PHP+= curl bcmath pdo mcrypt session pgsql spl dom xmlrpc ctype simplexml soap . if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql pgsql . endif .endif LIB_DEPENDS+= libcurl.so:ftp/curl SUB_FILES= pkg-message post-extract: # Present on FreeBSD 8 and 9 after extraction @${RM} ${WRKSRC}/protected/data/bin/._thundersnarf do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/protected/data/bin/thundersnarf* \ ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README.pt_BR .include diff --git a/www/tikiwiki/Makefile b/www/tikiwiki/Makefile index cb21c2c3b6f5..ec99000af821 100644 --- a/www/tikiwiki/Makefile +++ b/www/tikiwiki/Makefile @@ -1,49 +1,49 @@ PORTNAME= tikiwiki DISTVERSION= 24.2 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/Tiki_24.x_Wolf_359/${DISTVERSION}/ DISTNAME= tiki-${DISTVERSION} MAINTAINER= joneum@FreeBSD.org COMMENT= Powerful PHP based Wiki/CMS/Groupware WWW= https://tiki.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/license.txt USES= php:web -USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt pcre \ +USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt \ posix session xml zip zlib NO_BUILD= yes NO_MTREE= yes NO_ARCH= yes TIKIWIKI_DIR?= www/${PORTNAME}-${DISTVERSION} SUB_FILES= pkg-message SUB_LIST+= TIKIWIKI_DIR=${TIKIWIKI_DIR} WRI_DIR= db dump img/trackers img/wiki img/wiki_up modules/cache \ temp temp/cache templates_c templates whelp do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${TIKIWIKI_DIR} (cd ${WRKSRC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TIKIWIKI_DIR}) # pkg-plist would be over 15,000 lines, consuming 1.1Mb # The benefits of a fixed pkg-plist aren't worth it, autogen! post-install: @(cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \ ${SORT} | ${SED} -e 's/^/@(${WWWOWN},${WWWGRP},) /' >> ${TMPPLIST}) @(cd ${STAGEDIR}${PREFIX}; ${FIND} * -type d -empty | \ ${SORT} -r | ${SED} -e 's/^/@dir /' >> ${TMPPLIST}) @${ECHO_CMD} "@mode 777" >> ${TMPPLIST} .for i in ${WRI_DIR} do @${MKDIR} ${STAGEDIR}${PREFIX}/${TIKIWIKI_DIR}/${i} @${ECHO_CMD} "@dir ${TIKIWIKI_DIR}/${i}" >> ${TMPPLIST} .endfor @${ECHO_CMD} "@mode" >> ${TMPPLIST} .include diff --git a/www/tivoka/Makefile b/www/tivoka/Makefile index 566f5261433b..0fe144c3e612 100644 --- a/www/tivoka/Makefile +++ b/www/tivoka/Makefile @@ -1,35 +1,35 @@ PORTNAME= tivoka PORTVERSION= 3.5.2 CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= JSON-RPC client/server library for PHP WWW= http://marcelklehr.github.com/tivoka/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= EXAMPLES USES= php -USE_PHP= json filter +USE_PHP= filter NO_BUILD= yes USE_GITHUB= yes GH_ACCOUNT= marcelklehr LIBDIR= ${PREFIX}/lib/php/${PHP_EXT_DIR}/${PORTNAME} PLIST_SUB+= LIBDIR=${LIBDIR:S/${PREFIX}\///} PORTEXAMPLES= * do-install: @${MKDIR} ${STAGEDIR}${LIBDIR} ${INSTALL_DATA} ${WRKSRC}/include.php ${STAGEDIR}${LIBDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${LIBDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile index ce8ff370cd94..c8e169cc8231 100644 --- a/www/tt-rss/Makefile +++ b/www/tt-rss/Makefile @@ -1,76 +1,76 @@ PORTNAME= tt-rss PORTVERSION= g20230307 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= https://git-gitea.tt-rss.org/fox/tt-rss/archive/ DISTNAME= ${_GIT_TAGNAME} DIST_SUBDIR= ${PORTNAME} MAINTAINER= dereks@lifeofadishwasher.com COMMENT= Tiny Tiny RSS: web-based news feed (RSS/Atom) aggregator WWW= https://tt-rss.org/ LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/bin/git:devel/git USES= gettext-tools php:cli,web shebangfix -USE_PHP= ctype dom exif fileinfo filter hash iconv intl json mbstring \ +USE_PHP= ctype dom exif fileinfo filter iconv intl mbstring \ openssl pcntl pdo phar posix session simplexml tokenizer xml \ xmlwriter zip USE_RC_SUBR= ttrssd SHEBANG_FILES= update.php update_daemon2.php _GIT_TAGNAME= cddbf5bf5 REINPLACE_ARGS= -i "" NO_ARCH= yes NO_BUILD= yes SUB_FILES= config.php httpd-tt-rss.conf pkg-message SUB_LIST= MYSQL=${MYSQL} \ PGSQL=${PGSQL} \ WWWOWN=${WWWOWN} WRKSRC= ${WRKDIR}/tt-rss PLIST_SUB= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} OPTIONS_DEFINE= CURL GD OPTIONS_DEFAULT= CURL GD MYSQL OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL CURL_DESC= Use SimplePie instead of Magpie GD_DESC= Use OTP QR code generation CURL_USE= PHP=curl GD_USE= PHP=gd MYSQL_USE= PHP=mysqli,pdo_mysql MYSQL_VARS_OFF= MYSQL="\#" PGSQL_USE= PHP=pdo_pgsql,pgsql PGSQL_VARS_OFF= PGSQL="\#" do-install: ${MKDIR} \ ${STAGEDIR}${WWWDIR} \ ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ "! -name LICENSE ! -name .empty ! -name Jenkinsfile") ${RM} -r ${STAGEDIR}${WWWDIR}/debian ${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR} ${ECHO} "${OPSYS}:${PORTVERSION}:${_GIT_TAGNAME}" > \ "${STAGEDIR}${WWWDIR}/version_static.txt" ${RM} ${STAGEDIR}${WWWDIR}/config.php-dist ${INSTALL_DATA} ${WRKDIR}/config.php \ ${STAGEDIR}${WWWDIR}/config.php.sample ${INSTALL_DATA} ${FILESDIR}/newsyslog.sample \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/typo3-11/Makefile b/www/typo3-11/Makefile index b9cf1e825d51..75f59c9462f7 100644 --- a/www/typo3-11/Makefile +++ b/www/typo3-11/Makefile @@ -1,95 +1,93 @@ PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} DISTNAME= ${TYPO3SRC} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system WWW= https://typo3.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt IGNORE_WITH_MYSQL= 56 101m USES= cpe php:web,flavors shebangfix -USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ - spl tokenizer xml zip +USE_PHP= ctype dom fileinfo filter intl session simplexml \ + tokenizer xml zip WRKSRC= ${WRKDIR}/${TYPO3SRC} SHEBANG_GLOB= *.sh *.php NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. SUB_FILES= pkg-message SUB_LIST+= PREFIX=${PREFIX} \ TYPO3WWW=${TYPO3WWW} \ TYPO3DIR=${TYPO3DIR} PORT_V_MAJOR= 11 PORT_V_MINOR= 5 PORT_V_PATCH= 25 TYPO3WWW= www TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR} USERS= ${WWWOWN} GROUPS= ${WWWGRP} -OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB +OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLITE ZLIB OPTIONS_DEFAULT=MYSQL GD_DESC= GDlib/freetype support IMAGICK_DESC= ${IMAGEMAGICK_DESC} MBSTRING_DESC= ${MULTIBYTE_DESC} MYSQL_DESC= Use MySQL as DBMS POSTGRES_DESC= Use PostgreSQL as DBMS SQLITE_DESC= Use SQLite as DBMS -SQLSRV_DESC= Use MSSQL as DBMS CURL_USE= PHP=curl GD_USE= PHP=gd GMP_USE= PHP=gmp MBSTRING_USE= PHP=mbstring MYSQL_USE= PHP=mysqli -POSTGRES_USE= PHP=postgresql -SQLSRV_USE= PHP=sqlsrv +POSTGRES_USE= PHP=pgsql SQLITE_USE= PHP=sqlite3 ZLIB_USE= PHP=zlib .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} USES+= magick:7,run .else USES+= magick:7,run,nox11 .endif .endif do-install: # workaround fix for: # "Checking for items in STAGEDIR missing from pkg-plist" # "Error: Orphaned: @dir %%WWWDIR%%_src-10.4.16/vendor/symfony/string/Resources/bin" ${RMDIR} ${WRKSRC}/vendor/symfony/string/Resources/bin # remove source empty directory ${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR} ${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/ ${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src ${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php ${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 post-install: @cd ${STAGEDIR}${PREFIX}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ ${SORT} >> ${TMPPLIST}; \ ${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ ${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${ECHO} "@owner" >> ${TMPPLIST}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ ${SORT} >> ${TMPPLIST} .include diff --git a/www/typo3-12/Makefile b/www/typo3-12/Makefile index 6e0317be246b..4848e10d93a6 100644 --- a/www/typo3-12/Makefile +++ b/www/typo3-12/Makefile @@ -1,79 +1,77 @@ PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}_src-${PORTVERSION} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system WWW= https://typo3.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt IGNORE_WITH_MYSQL= 56 57 101m 102m IGNORE_WITH_PHP= 80 82 USES= cpe php:web,flavors shebangfix -USE_PHP= ctype dom fileinfo filter gd hash intl json \ - mbstring openssl pcre pdo session simplexml \ - spl tokenizer xml zip zlib +USE_PHP= ctype dom fileinfo filter gd intl \ + mbstring openssl pdo session simplexml \ + tokenizer xml zip zlib WRKSRC= ${WRKDIR}/${PORTNAME}_src-${PORTVERSION} SHEBANG_GLOB= *.sh *.php NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. SUB_FILES= pkg-message SUB_LIST+= PREFIX=${PREFIX} \ TYPO3WWW=${TYPO3WWW} \ TYPO3DIR=${TYPO3DIR} PORT_V_MAJOR= 12 PORT_V_MINOR= 3 PORT_V_PATCH= 0 TYPO3DIR= www/${PORTNAME}-${PORT_V_MAJOR} -OPTIONS_DEFINE= CURL GMP IMAGICK MYSQL POSTGRES SQLSRV SQLITE +OPTIONS_DEFINE= CURL GMP IMAGICK MYSQL POSTGRES SQLITE OPTIONS_DEFAULT=MYSQL IMAGICK_DESC= ${IMAGEMAGICK_DESC} MBSTRING_DESC= ${MULTIBYTE_DESC} MYSQL_DESC= Use MySQL as DBMS POSTGRES_DESC= Use PostgreSQL as DBMS SQLITE_DESC= Use SQLite as DBMS -SQLSRV_DESC= Use MSSQL as DBMS CURL_USE= PHP=curl GMP_USE= PHP=gmp MYSQL_USE= PHP=mysqli -POSTGRES_USE= PHP=postgresql -SQLSRV_USE= PHP=sqlsrv +POSTGRES_USE= PHP=pgsql SQLITE_USE= PHP=sqlite3 .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} USES+= magick:7,run .else USES+= magick:7,run,nox11 .endif .endif do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TYPO3DIR} post-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} @${ECHO_CMD} "@mode 755" >> ${TMPPLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${TYPO3DIR}?g" >>${TMPPLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${TYPO3DIR}?g" >> ${TMPPLIST} @${ECHO_CMD} "@mode" >> ${TMPPLIST} @${ECHO_CMD} "@group" >> ${TMPPLIST} @${ECHO_CMD} "@owner" >> ${TMPPLIST} .include diff --git a/www/webtrees20/Makefile b/www/webtrees20/Makefile index 134cd7dbfe48..e5da72752669 100644 --- a/www/webtrees20/Makefile +++ b/www/webtrees20/Makefile @@ -1,37 +1,37 @@ PORTNAME= webtrees PORTVERSION= 2.0.25 CATEGORIES= www MASTER_SITES= https://github.com/fisharebest/${PORTNAME}/releases/download/${PORTVERSION}/ PKGNAMESUFFIX= 20 MAINTAINER= ports@bsdserwis.com COMMENT= Online genealogy viewer (for PHP 7.1-7.4) WWW= https://webtrees.net/ LICENSE= GPLv3+ USES= cpe php shebangfix zip -USE_PHP= calendar dom filter gd json pcre pdo_mysql session simplexml xml +USE_PHP= calendar dom filter gd pdo_mysql session simplexml xml SHEBANG_FILES= webtrees/vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \ webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php WWWDIR= ${PREFIX}/www/webtrees${PKGNAMESUFFIX} EXTRACT_AFTER_ARGS= -d ${WRKSRC} NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message pkg-deinstall SUB_LIST= VERSION_SUFFIX=${PKGNAMESUFFIX} do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ >> ${TMPPLIST} .include diff --git a/www/webtrees21/Makefile b/www/webtrees21/Makefile index b775f5c5f540..fc8ccf06f344 100644 --- a/www/webtrees21/Makefile +++ b/www/webtrees21/Makefile @@ -1,36 +1,36 @@ PORTNAME= webtrees PORTVERSION= 2.1.16 CATEGORIES= www MASTER_SITES= https://github.com/fisharebest/${PORTNAME}/releases/download/${PORTVERSION}/ PKGNAMESUFFIX= 21 MAINTAINER= ports@bsdserwis.com COMMENT= Online genealogy viewer (for PHP 7.4-8.2) WWW= https://webtrees.net/ LICENSE= GPLv3+ USES= cpe php shebangfix zip -USE_PHP= calendar dom filter gd json pcre pdo_mysql session simplexml xml +USE_PHP= calendar dom filter gd pdo_mysql session simplexml xml SHEBANG_FILES= webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php WWWDIR= ${PREFIX}/www/webtrees${PKGNAMESUFFIX} EXTRACT_AFTER_ARGS= -d ${WRKSRC} NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message pkg-deinstall SUB_LIST= VERSION_SUFFIX=${PKGNAMESUFFIX} do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR} "! -name *\.md" @(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ >> ${TMPPLIST} .include diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile index b6eea1d69580..60cf6a5616d7 100644 --- a/www/wordpress/Makefile +++ b/www/wordpress/Makefile @@ -1,77 +1,77 @@ PORTNAME= wordpress DISTVERSION= 6.1.1 .ifndef WORDPRESS_LANG PORTEPOCH= 1 MASTER_SITES= https://wordpress.org/ .else DISTVERSIONSUFFIX= -${WORDPRESS_LANG} MASTER_SITES?= https://${WORDPRESS_LANG}.wordpress.org/ .endif CATEGORIES+= www MAINTAINER= joneum@FreeBSD.org COMMENT= State-of-the-art semantic personal publishing platform -WWW= ${MASTER_SITES} +WWW= ${MASTER_SITES} LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${IMAGEMAGICK_DEPENDS} USES= cpe php:web .if ${DISTVERSION:N*.*.*} CPE_VERSION= ${DISTVERSION}.0 .endif .ifdef WORDPRESS_LANG PKGNAMESUFFIX= -${WORDPRESS_LANG} CPE_LANG= ${WORDPRESS_LANG} .endif -USE_PHP= curl exif fileinfo ftp gd hash json mysqli pcre tokenizer xml zip zlib +USE_PHP= curl exif fileinfo ftp gd mysqli tokenizer xml zip zlib CONFLICTS_INSTALL= ??-wordpress NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} PLIST= ${WRKDIR}/pkg-plist PORTDOCS= readme.html OPTIONS_DEFINE= DOCS .include .if !empty(IMAGEMAGICK_DEFAULT:M6) || !empty(IMAGEMAGICK_DEFAULT:M6-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} .elif !empty(IMAGEMAGICK_DEFAULT:M7) || !empty(IMAGEMAGICK_DEFAULT:M7-*) IMAGEMAGICK_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick-im7>=2.2.2:graphics/pecl-imagick-im7@${PHP_FLAVOR} .else # notreached .endif pre-everything:: @${ECHO_CMD} "If you want to upgrade, you must read upgrade document." @${ECHO_CMD} "" . if !(defined(PACKAGE_BUILDING) || defined(BATCH)) @sleep 1 . endif pre-install: ${ECHO_CMD} '@owner www' > ${PLIST} ${ECHO_CMD} '@group www' >> ${PLIST} cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|' >> ${PLIST} ${ECHO_CMD} '@owner' >> ${PLIST} ${ECHO_CMD} '@group' >> ${PLIST} if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi do-install: ${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/ ${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w {} \; do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/www/yourls/Makefile b/www/yourls/Makefile index d815af9a1878..3ff44b3012fe 100644 --- a/www/yourls/Makefile +++ b/www/yourls/Makefile @@ -1,39 +1,39 @@ PORTNAME= yourls PORTVERSION= 1.9.2 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org COMMENT= Your Own URL Shortener WWW= https://yourls.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php -USE_PHP= bcmath curl iconv json pcre pdo_mysql xml +USE_PHP= bcmath curl iconv pdo_mysql xml NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message GH_ACCOUNT= YOURLS GH_PROJECT= YOURLS USE_GITHUB= yes do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ # maintainer section: MS_PLIST= ${WRKDIR}/.ms-pkg-plist genplist: do-clean extract @${ECHO_CMD} "@owner www" > ${MS_PLIST} @${ECHO_CMD} "@group www" >> ${MS_PLIST} @cd ${WRKSRC}/ && ${FIND} -s . -type f | ${SED} 's|^\.|%%WWWDIR%%|' >> ${MS_PLIST} @${ECHO_CMD} "@owner" >> ${MS_PLIST} @${ECHO_CMD} "@group" >> ${MS_PLIST} @${INSTALL} -m 600 ${MS_PLIST} ${PLIST} .include diff --git a/www/zend-framework/Makefile b/www/zend-framework/Makefile index 273943e02e91..0fdd3456c4a5 100644 --- a/www/zend-framework/Makefile +++ b/www/zend-framework/Makefile @@ -1,53 +1,52 @@ PORTNAME= ZendFramework PORTVERSION= 2.4.13 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://packages.zendframework.com/releases/${DISTNAME}/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Framework for developing PHP web applications WWW= https://framework.zend.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gettext php:web,flavors tar:tgz -USE_PHP= spl NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message PORTDOCS= CHANGELOG.md CONTRIBUTING.md INSTALL.md README-GIT.md README.md OPTIONS_DEFINE= DBLIB DOCS MEMCACHE MYSQL MYSQLI ODBC OPTPHP PGSQL \ REQPHP SQLITE OPTIONS_DEFAULT= REQPHP DBLIB_DESC= Enable DBLIB PDO support MEMCACHE_DESC= Enable memcache support MYSQLI_DESC= Enable MySQLi support OPTPHP_DESC= Install optional PHP dependencies REQPHP_DESC= Install required PHP dependencies DBLIB_USE= PHP=pdo_dblib MEMCACHE_USE= PHP=memcache,memcached MYSQLI_USE= PHP=mysqli MYSQL_USE= PHP=pdo_mysql ODBC_USE= PHP=pdo_odbc -OPTPHP_USE= PHP=bcmath,bitset,json,posix +OPTPHP_USE= PHP=bcmath,bitset,posix PGSQL_USE= PHP=pdo_pgsql # Add all of the required and/or optional PHP extension dependencies, # if chosen by the user. -REQPHP_USE= PHP=ctype,curl,dom,gd,hash,iconv,ldap,mbstring,mcrypt,opcache,pcre,pdo,session,simplexml,soap,sqlite3,xml,zlib +REQPHP_USE= PHP=ctype,curl,dom,gd,iconv,ldap,mbstring,mcrypt,opcache,pdo,session,simplexml,soap,sqlite3,xml,zlib SQLITE_USE= PHP=pdo_sqlite do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} "library bin resources" ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/www/zenphoto/Makefile b/www/zenphoto/Makefile index 59b478172f77..b866bf5e6d30 100644 --- a/www/zenphoto/Makefile +++ b/www/zenphoto/Makefile @@ -1,47 +1,47 @@ PORTNAME= zenphoto PORTVERSION= 1.6 DISTVERSIONPREFIX= v CATEGORIES= www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simpler web photo gallery WWW= https://www.zenphoto.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php:flavors,web -USE_PHP= gd gettext hash json mbstring mysqli pcre session +USE_PHP= gd gettext mbstring mysqli session NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-deinstall pkg-message USE_GITHUB= yes post-patch: @${RM} -r ${WRKSRC}/.github/ @${MKDIR} ${WRKSRC}/cache/ @${FIND} ${WRKSRC} -name '.git*' -delete @${RM} ${WRKSRC}/zp-core/Zenphoto.package do-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/ cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ # maintainer section: MS_PLIST= ${WRKDIR}/.ms-pkg-plist genplist: do-clean extract patch @${ECHO_CMD} '@owner www' > ${MS_PLIST} @${ECHO_CMD} '@group www' >> ${MS_PLIST} @cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SORT} | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST} @cd ${WRKSRC}/ && (${FIND} -s * -type d -empty | ${XARGS} -I _ ${ECHO_CMD} '@dir %%WWWDIR%%/_') >> ${MS_PLIST} @${ECHO_CMD} '@owner' >> ${MS_PLIST} @${ECHO_CMD} '@group' >> ${MS_PLIST} @${INSTALL} -m 600 ${MS_PLIST} ${PLIST} .include