1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

Mk/Uses/apache.mk: Refactor after removal of older versions

apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
This commit is contained in:
Muhammad Moinur Rahman 2023-01-21 10:38:37 -06:00
parent 455187b132
commit 40843b1ccb
106 changed files with 114 additions and 138 deletions

View File

@ -1,6 +1,3 @@
#-*- tab-width: 4; -*-
# ex:ts=4
#
# apache.mk - Apache related macros.
# Author: Clement Laforet <clement@FreeBSD.org>
# Author: Olli Hauer <ohauer@FreeBSD.org>
@ -15,9 +12,8 @@
# version If your port requires a specific Apache httpd version, you can
# set this to [min]-[max] or min+ or -max or an explicit version
#
# USES=apache:2.2 # Only use Apache 2.2
# USES=apache:2.4 # Only use Apache 2.4
# USES=apache:2.4+ # Use Apache 2.4 or newer
# USES=apache:2.2-2.4 # Use Apache 2.2 or 2.4
# USES=apache:-2.4 # Use Apache 2.4 or earlier
# USES=apache # Use the default apache version
#
@ -51,13 +47,13 @@
# Variables, for internal use by the Apache ports framework only
# The following values for USE_APACHE are reserved and only valid
# in apache-server ports!
# USES= apache:server,2.2
# USES= apache:server,2.4
#
#
# The following variables can be read by ports and must not be modified
#
# APACHE_VERSION The major-minor release version of the chosen
# Apache server, e.g. 2.2 or 2.4
# Apache server, e.g. 2.4
#
# APACHEETCDIR Location of the Apache configuration directory
# Default: ${LOCALBASE}/etc/apache24
@ -77,7 +73,7 @@ _USES_POST+= apache
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
_APACHE_SUPPORTED_VERSIONS= 2.4 2.2 2.5 # preferred version first
_APACHE_SUPPORTED_VERSIONS= 2.4 # preferred version first
# Print warnings
_ERROR_MSG= : Error from apache.mk.
@ -260,7 +256,7 @@ _APACHE_WANTED_VERSIONS= ${_APACHE_SUPPORTED_VERSIONS}
_APACHE_WANTED_VERSIONS:= ${_APACHE_WANTED_VERSIONS:N${_ver}}
. endif
. if !empty(_APACHE_VERSION_MAX) && ${_ver} > ${_APACHE_VERSION_MAX}
_APACHE_WANTED_VERSIONS:= ${_APACHE_WANTED_VERSIONS:N${_ver}}
_APACHE_WANTED_VERSIONS:= ${_APACHE_WANTED_VERSIONS:N${_ver}}
. endif
. endfor
@ -281,11 +277,7 @@ APACHE_VERSION:= ${_APACHE_WANTED_VERSION}
BROKEN= ${_ERROR_MSG} Apache ${_APACHE_VERSION} is installed and port requires ${_APACHE_WANTED_VERSION}
. endif
. if ${APACHE_VERSION} >= 2.5
APXS?= ${LOCALBASE}/bin/apxs
. else
APXS?= ${LOCALBASE}/sbin/apxs
. endif
. if exists(${APXS})
APXS_PREFIX!= ${APXS} -q prefix 2> /dev/null || echo NULL
@ -300,11 +292,7 @@ IGNORE?= PREFIX must be equal to APXS_PREFIX.
APACHEMODDIR= libexec/apache${APACHE_VERSION:S/.//}
APACHEINCLUDEDIR= include/apache${APACHE_VERSION:S/.//}
APACHEETCDIR= etc/apache${APACHE_VERSION:S/.//}
. if ${APACHE_VERSION} == 2.5
_APACHE_PORT?= www/apache${APACHE_VERSION:S/.//}-devel
. else
_APACHE_PORT?= www/apache${APACHE_VERSION:S/.//}
. endif
PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}" \
APACHEINCLUDEDIR="${APACHEINCLUDEDIR}" \

View File

@ -209,11 +209,10 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_FPC_RUN WANT_FPC_BASE WANT_FPC_ALL USE_QT4 USE_QT5 QT_NONSTANDARD \
XORG_CAT CARGO_USE_GITHUB CARGO_USE_GITLAB CARGO_GIT_SUBDIR \
USE_RUBY USE_RUBY_EXTCONF USE_RUBY_SETUP RUBY_NO_BUILD_DEPENDS \
RUBY_NO_RUN_DEPENDS
RUBY_NO_RUN_DEPENDS USE_APACHE USE_APACHE_BUILD USE_APACHE_RUN
SANITY_DEPRECATED= MLINKS \
USE_MYSQL WANT_MYSQL_VER \
PYDISTUTILS_INSTALLNOSINGLE \
USE_APACHE USE_APACHE_BUILD USE_APACHE_RUN
PYDISTUTILS_INSTALLNOSINGLE
SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE USE_KDEBASE_VER \
USE_KDELIBS_VER USE_QT_VER

View File

@ -11,7 +11,7 @@ WWW= https://www.gnu.org/software/gnats/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= apache:run,2.2+ perl5 shebangfix
USES= apache:run perl5 shebangfix
SHEBANG_FILES= gnatsweb.pl
USE_PERL5= run
NO_BUILD= yes

View File

@ -45,7 +45,7 @@ EMPTY_DIRS_LIST=data graphs contrib lib t xt
.include "${.CURDIR}/Makefile.common"
.include "${.CURDIR}/Makefile.options"
MODPERL_USE= APACHE_RUN=22+
MODPERL_USES= apache:run
MYSQL_USES= mysql
MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql
PGSQL_USES= pgsql

View File

@ -46,7 +46,7 @@ EMPTY_DIRS_LIST=data graphs contrib lib t xt
.include "${.CURDIR}/Makefile.common"
.include "${.CURDIR}/Makefile.options"
MODPERL_USE= APACHE_RUN=22+
MODPERL_USES= apache:run
MYSQL_USES= mysql
MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql
PGSQL_USES= pgsql:9.1+

View File

@ -37,7 +37,7 @@ MAILSENDER_DESC= Mail::Sender support
MAILSENDMAIL_DESC= Mail::Sendmail support
APACHELOG_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
APACHELOG_USE= APACHE_RUN=22+
APACHELOG_USES= apache:run
MIMELITE_RUN_DEPENDS= p5-MIME-Lite>=0:mail/p5-MIME-Lite
MAILSEND_RUN_DEPENDS= p5-Mail-Tools>=0:mail/p5-Mail-Tools
MAILSENDER_RUN_DEPENDS= p5-Mail-Sender>=0:mail/p5-Mail-Sender

View File

@ -24,7 +24,7 @@ RUN_DEPENDS= p5-subversion>=0:devel/p5-subversion \
p5-YAML-Syck>=0:textproc/p5-YAML-Syck \
svk>=2.0.0:devel/svk
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -29,7 +29,7 @@ WEBSRV_DESC= Enable web server support
APMOD_DESC= depend on Apache module
MODWSGI_DESC= Add mod_wsgi to the list of package dependencies
APACHE_USE= APACHE_RUN=24+
APACHE_USES= apache:run
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
MODWSGI_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}mod_wsgi>=4.4.13:www/mod_wsgi4@${PY_FLAVOR}

View File

@ -23,7 +23,7 @@ OPTIONS_DEFAULT= APACHE PGSQLSRV
APACHE_DESC= Use apache as webserver
PGSQLSRV_DESC= Use local postgres instance
APACHE_USES= apache:run,2.2+ php:mod
APACHE_USES= apache:run php:mod
APACHE_USES_OFF= php:web
PGSQLSRV_VARS= WANT_PGSQL=server

View File

@ -25,7 +25,7 @@ OPTIONS_DEFAULT= APACHE MYSQL_SERVER
MYSQL_SERVER_DESC= MySQL server support
NGINX_DESC= NGINX web server
APACHE_USES= apache:run,2.2+ php:web
APACHE_USES= apache:run php:web
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
LIGHTTPD_USES= php:web
NGINX_RUN_DEPENDS= nginx:www/nginx

View File

@ -35,7 +35,7 @@ MYSQL_CLIENT_DESC= MySQL client connector support
MYSQL_SERVER_DESC= MySQL server support
NGINX_DESC= NGINX web server
APACHE_USES= apache:run,2.2+ php:web
APACHE_USES= apache:run php:web
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
LIGHTTPD_USES= php:web
NGINX_RUN_DEPENDS= nginx:www/nginx

View File

@ -35,7 +35,7 @@ UI_USES= gnome
UI_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango
UI_CMAKE_BOOL= WITH_UI
APACHE_USE= apache=22+
APACHE_USES= apache
APACHE_CMAKE_BOOL= WITH_APACHE
.include <bsd.port.mk>

View File

@ -95,8 +95,7 @@ CONFIGURE_ARGS+=--without-pcre-jit
.endif
.if defined(PKGNAMEPREFIX)
USES+= apache:2.2+
.include "${PORTSDIR}/Mk/Uses/apache.mk"
USES+= apache
.if ${PORT_OPTIONS:MAP2FILTER}
CONFIGURE_ARGS+=--with-apxs2filter=${APXS}
.else

View File

@ -96,8 +96,7 @@ CONFIGURE_ARGS+= --without-pcre-jit
.endif
.if defined(PKGNAMEPREFIX)
USES+= apache:2.2+
.include "${PORTSDIR}/Mk/Uses/apache.mk"
USES+= apache
.if ${PORT_OPTIONS:MAP2FILTER}
CONFIGURE_ARGS+= --with-apxs2filter=${APXS}
.else

View File

@ -96,8 +96,7 @@ CONFIGURE_ARGS+= --without-pcre-jit
.endif
.if defined(PKGNAMEPREFIX)
USES+= apache:2.2+
.include "${PORTSDIR}/Mk/Uses/apache.mk"
USES+= apache
.if ${PORT_OPTIONS:MAP2FILTER}
CONFIGURE_ARGS+= --with-apxs2filter=${APXS}
.else

View File

@ -397,7 +397,7 @@ CONFIGURE_ARGS+= --with-dspam-mode=${DSPAM_MODE}
. if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= ${LOCALBASE}/sbin/lighttpd:www/lighttpd
. else
USES+= apache:2.2+
USES+= apache
. endif
LIB_DEPENDS+= libgd.so:graphics/gd
RUN_DEPENDS+= p5-GD>=0:graphics/p5-GD

View File

@ -25,7 +25,7 @@ GH_ACCOUNT= smtpd
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMODPERL}
USES+= apache:run,2.2+
USES+= apache:run
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
.endif

View File

@ -26,7 +26,7 @@ OPTIONS_SINGLE_RADIUS= FREERADIUS OPENRADIUS
FREERADIUS_DESC=depend on FreeRADIUS
OPENRADIUS_DESC=depend on OpenRADIUS
APACHE_USE= apache_run=22+
APACHE_USES= apache:run
FREERADIUS_RUN_DEPENDS= radiusd:net/freeradius
OPENRADIUS_RUN_DEPENDS= radiusd:net/openradius

View File

@ -43,7 +43,7 @@ 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.2+ module
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
@ -76,7 +76,7 @@ PORTDOCS= INSTALL README VERSION
PORTEXAMPLES= snmp.conf.example snmpd.conf.example
.if ${PORT_OPTIONS:MAPACHEMOD}
USES+= apache:run,2.2+
USES+= apache:run
.endif
.if !defined(PACKAGE_BUILDING)
USES+= php:mod

View File

@ -23,7 +23,7 @@ RUN_DEPENDS= p5-XML-Simple>=2.12:textproc/p5-XML-Simple \
p5-Switch>=0:lang/p5-Switch \
p5-Plack>=0:www/p5-Plack
USES= apache:run,2.2+ mysql perl5
USES= apache:run mysql perl5
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message

View File

@ -10,7 +10,7 @@ LICENSE_FILE= ${PANDORA_LICENSE_FILE}
RUN_DEPENDS= ${LOCALBASE}/bin/twopi:graphics/graphviz
USES= apache:run,2.2+ php:web shebangfix
USES= apache:run php:web shebangfix
SHEBANG_FILES= include/languages/extract_newlines.sh \
include/languages/util-all \
include/languages/util-bzr-update \

View File

@ -16,7 +16,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \
p5-SOAP-Lite>=0:net/p5-SOAP-Lite
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
NO_ARCH= yes

View File

@ -28,7 +28,6 @@ OPTIONS_DEFAULT= CRAWLER SAMBA APACHE DB MYSQL
CRAWLER_DESC= With crawler (nmap, p5-libwww)
SAMBA_DESC= crawler with SAMBA (file://)
RSYNC_DESC= crawler with RSYNC
APACHE_DESC= With web server apache2.2+
MOD_PERL2_DESC= With MOD_PERL2
MOD_FASTCGI_DESC= With MOD_FASTCGI
DB_DESC= With both database server and client
@ -59,7 +58,7 @@ RUN_DEPENDS+= rsync:net/rsync
.endif
.if ${PORT_OPTIONS:MAPACHE}
USES+= apache:run,2.2+
USES+= apache:run
.endif
.if ${PORT_OPTIONS:MNGINX}

View File

@ -49,7 +49,6 @@ OPTIONS_DEFINE= APACHE LIGHTTPD NGINX WEBHOST MYSQL LOCAL PGSQL \
OPTIONS_DEFAULT= MYSQL CLAMAV DOCS SPAMASSASSIN BDB IPCOUNTRY \
DOMAINKEYS SPF DKIM FILE UNRAR ARJ LHA ARC CAB RPM ZOO
APACHE_DESC= Use Apache web server
LIGHTTPD_DESC= Use LighTTPD web server
NGINX_DESC= Use Nginx web server
WEBHOST_DESC= PHP, PEAR, etc... for Maia web interface
@ -98,7 +97,7 @@ USE_RC_SUBR+= maiad
# setting USE_ variables. C'est la vie.
.if ${PORT_OPTIONS:MAPACHE}
USES+= apache:run,2.4+
USES+= apache:run
.endif
.if ${PORT_OPTIONS:MWEBHOST}

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Do not support recent RFC 8894
EXPIRATION_DATE= 2023-03-31
USES= apache:2.2+ gmake libtool ssl
USES= apache gmake libtool ssl
BROKEN_SSL= base
BROKEN_SSL_REASON= unexpected type name 'issuer_and_subject_t': expected expression
IGNORE_SSL= libressl libressl-devel

View File

@ -47,7 +47,7 @@ ODBC_DESC= ODBC database backend - store sessions in a database
FASTCGI_DESC= FastCGI protocol support, e.g. for NGINX
APACHE_DESC= Build Apache module
APACHE_USES= apache:2.4+
APACHE_USES= apache
ODBC_CONFIGURE_ENABLE= odbc
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC

View File

@ -35,7 +35,7 @@ CONFLICTS_INSTALL= htdump mifluz # bin/htdb_dump bin/htdb_load bin/htdb_stat bin
OPTIONS_DEFINE= APACHE DOCS
OPTIONS_DEFAULT= APACHE
APACHE_USE= APACHE=22+
APACHE_USES= apache
APACHE_CONFIGURE_ON= --with-apache=${LOCALBASE}/sbin
PORTDOCS= *

View File

@ -21,7 +21,7 @@ OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
USES= apache:run,2.2+ cpe
USES= apache:run cpe
CPE_VENDOR= linuxfoundation
CONFDIR= ${PREFIX}/${CONFDIR_REL}
CONFDIR_REL= ${APACHEETCDIR}/Includes

View File

@ -9,7 +9,7 @@ MAINTAINER= michael@ranner.eu
COMMENT= Formular processing tool written in perl
WWW= http://www.villainy.com/developers.html
USES= apache:run,2.2+ perl5
USES= apache:run perl5
USE_PERL5= run
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -13,6 +13,6 @@ EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= APACHE24
APACHE24_DESC= Install apache24 server
APACHE24_USE= APACHE=24
APACHE24_USES= apache:2.4
.include "${MASTERDIR}/Makefile"

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libavahi-client.so:net/avahi-app \
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_dnssd>=0:www/mod_dnssd \
console-kit-daemon:sysutils/consolekit2
USES= apache:2.2+ gettext gmake gnome libtool pkgconfig tar:xz xorg
USES= apache gettext gmake gnome libtool pkgconfig tar:xz xorg
USE_XORG= sm
USE_GNOME= gnomeprefix gtk30 intlhack nautilus3
GNU_CONFIGURE= yes

View File

@ -13,7 +13,7 @@ LICENSE= APACHE20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE}
INSTALL_TARGET= install-strip
USES= apache:2.2+ cpe libtool
USES= apache cpe libtool
CPE_VENDOR= apache
USE_LDCONFIG= yes

View File

@ -10,7 +10,7 @@ WWW= https://github.com/machu/mod_amazon_proxy
LIB_DEPENDS= libapreq2.so:www/libapreq2
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_LIB= ${LOCALBASE}/lib -lcrypto

View File

@ -13,7 +13,7 @@ LICENSE= APACHE20
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
MANUAL_PACKAGE_BUILD= devel/apr1 with pgsql option required

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/README
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre
USES= apache:2.4 ssl
USES= apache ssl
USE_GITHUB= yes
GH_ACCOUNT= Jasig

View File

@ -10,7 +10,7 @@ MAINTAINER= apache@FreeBSD.org
COMMENT= Allows authentication against MySQL database via secure cookie
WWW= http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/
USES= apache:2.2+ mysql
USES= apache mysql
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -11,7 +11,7 @@ WWW= https://github.com/gssapi/mod_auth_gssapi
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf apache:2.4+ bison gssapi:mit,flags libtool ssl
USES= autoreconf apache bison gssapi:mit,flags libtool ssl
USES+= pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= gssapi

View File

@ -17,7 +17,7 @@ LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE
PORTSCOUT= limit:^5.4
USES= apache:2.2+
USES= apache
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -with-krb5=${GSSAPIBASEDIR} --without-krb4

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
liblasso.so:security/lasso
USES= apache:2.2+ autoreconf cpe gettext-runtime gnome libtool \
USES= apache autoreconf cpe gettext-runtime gnome libtool \
pkgconfig ssl
USE_GNOME= glib20
USE_GITHUB= yes

View File

@ -12,7 +12,7 @@ WWW= https://www.heuer.org/mod_auth_mysql/
LICENSE= APACHE20
USES= apache:2.2+ mysql tar:tgz
USES= apache mysql tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -11,7 +11,7 @@ WWW= http://modauthmysql.sourceforge.net/
LICENSE= APACHE10
USES= apache:2.2+ mysql
USES= apache mysql
SHORTMODNAME= mysql_auth
AP_FAST_BUILD= yes

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libopkele.so:devel/libopkele \
libsqlite3.so:databases/sqlite3
USES= apache:2.2+ autoreconf cpe gmake libtool pkgconfig
USES= apache autoreconf cpe gmake libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= bmuller

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libcjose.so:devel/cjose \
libjansson.so:devel/jansson \
libpcre.so:devel/pcre
USES= apache:2.2+ autoreconf cpe gmake libtool pkgconfig ssl
USES= apache autoreconf cpe gmake libtool pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= pingidentity
CPE_VENDOR= ${GH_ACCOUNT}

View File

@ -11,7 +11,7 @@ MAINTAINER= apache@FreeBSD.org
COMMENT= Allows users to use PAM modules for user authentication
WWW= http://pam.sourceforge.net/mod_auth_pam/
USES= apache:2.2+
USES= apache
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *.html

View File

@ -9,7 +9,7 @@ MAINTAINER= apache@FreeBSD.org
COMMENT= Allows users to use PostgreSQL databases for user authentication
WWW= http://www.giuseppetanzilli.it/mod_auth_pgsql2/
USES= apache:2.2+ pgsql
USES= apache pgsql
AP_INC?= ${LOCALBASE}/include
AP_LIB?= ${LOCALBASE}/lib -lpq

View File

@ -9,17 +9,11 @@ MAINTAINER= mk@neon1.net
COMMENT= Apache module to provide public key ticket based authentication
WWW= https://neon1.net/mod_auth_pubtkt/
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
SRC_FILE= src/mod_auth_pubtkt.c
.include <bsd.port.pre.mk>
.if ${APACHE_VERSION} > 2.2
AP_EXTRAS= -DAPACHE24
.else
AP_EXTRAS= -DAPACHE22
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -9,7 +9,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight single-sign-on authentication module for apache
WWW= http://www.openfusion.com.au/labs/mod_auth_tkt/
USES= apache:2.2+ shebangfix
USES= apache shebangfix
SHEBANG_FILES= ../cgi/login.cgi \
../cgi/logout.cgi
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

View File

@ -11,7 +11,7 @@ WWW= http://www.outoforder.cc/projects/apache/mod_auth_xradius/
LICENSE= APACHE20
USES= apache:2.2+ tar:bzip2
USES= apache tar:bzip2
GNU_CONFIGURE= yes
# Seems dead upstream. Don't expect a proper fix.
CFLAGS+= -fcommon

View File

@ -9,7 +9,7 @@ WWW= https://github.com/bmanojlovic/mod_authn_dovecot
LICENSE= APACHE20
USES= apache:2.4
USES= apache
USE_GITHUB= yes
GH_ACCOUNT= bmanojlovic

View File

@ -11,7 +11,7 @@ WWW= https://code.google.com/p/mod-auth-external/
LICENSE= APACHE20
USES= apache:2.4 cpe
USES= apache cpe
CPE_VENDOR= ${PORTNAME}_project
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -11,7 +11,7 @@ WWW= https://sourceforge.net/projects/modcfgldap/
LICENSE= BSD3CLAUSE
USES= apache:2.2+
USES= apache
USE_OPENLDAP= yes
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -14,7 +14,7 @@ USE_GITHUB= yes
GH_ACCOUNT= cloudflare
GH_TAGNAME= 98ab38a
USES= apache:2.4+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
SHORTMODNAME= cloudflare

View File

@ -7,7 +7,7 @@ MAINTAINER= lev@FreeBSD.org
COMMENT= Apache module for subversion serving
WWW= https://subversion.apache.org/
USES= apache:2.2+
USES= apache
.include "${.CURDIR}/../../devel/subversion/Makefile.addons"

View File

@ -9,7 +9,7 @@ WWW= https://github.com/jd/mod_defensible
LICENSE= APACHE20
USES= apache:2.4+
USES= apache
USE_GITHUB= yes
GH_ACCOUNT= jd

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libavahi-client.so:net/avahi-app
USES= apache:2.2+ gmake pkgconfig
USES= apache gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"

View File

@ -11,7 +11,7 @@ WWW= https://github.com/jzdziarski/mod_evasive
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= apache:2.2+
USES= apache
USE_GITHUB= yes
GH_ACCOUNT= jzdziarski

View File

@ -7,7 +7,7 @@ MAINTAINER= apache@FreeBSD.org
COMMENT= Apache 2.4 fast-cgi module
WWW= https://github.com/FastCGI-Archives/mod_fastcgi
USES= apache:2.4+
USES= apache
USE_GITHUB= yes
GH_ACCOUNT= FastCGI-Archives

View File

@ -11,7 +11,7 @@ WWW= https://httpd.apache.org/mod_fcgid/
LICENSE= APACHE20
USES= apache:2.2+ cpe
USES= apache cpe
CPE_VENDOR= apache
HAS_CONFIGURE= yes

View File

@ -12,7 +12,7 @@ WWW= https://www.w3.org/2003/06/mod_fileiri/
#LICENSE= AL11
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR}
LIB_DEPENDS= libgnutls.so:security/gnutls
GNU_CONFIGURE= yes
USES= apache:2.4 compiler:c++11-lang cpe libtool pkgconfig python:3.7+ tar:bzip2
USES= apache compiler:c++11-lang cpe libtool pkgconfig python:3.7+ tar:bzip2
CPE_VENDOR= ${PORTNAME}_project
BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD}

View File

@ -18,7 +18,7 @@ LICENSE_NAME= h264
LICENSE_TEXT= No commercial use
LICENSE_PERMS= auto-accept
USES= apache:2.2+
USES= apache
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs="${APXS}"

View File

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libnghttp2.so:www/libnghttp2
USES= apache:2.4+ libtool ssl pkgconfig
USES= apache libtool ssl pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-curl

View File

@ -12,7 +12,7 @@ WWW= https://tomcat.apache.org/connectors-doc/
LICENSE= APACHE20
USES= apache:2.2+ gmake
USES= apache gmake
APACHE_VER= 2.0
GNU_CONFIGURE= yes

View File

@ -14,7 +14,7 @@ WWW= https://dominia.org/djao/limitipconn2.html
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= apache:2.2+ tar:bzip2
USES= apache tar:bzip2
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
USES= apache:2.4+ autoreconf compiler:c11 gmake localbase
USES= apache autoreconf compiler:c11 gmake localbase
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= maxmind

View File

@ -11,7 +11,7 @@ WWW= https://github.com/joshrotenberg/modmemcache
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= apache:2.2+
USES= apache
USE_GITHUB= yes
GH_ACCOUNT= joshrotenberg
GH_PROJECT= modmemcache

View File

@ -13,7 +13,7 @@ LIB_DEPENDS+= libmemcached.so:databases/libmemcached
USE_GITHUB= yes
GH_ACCOUNT= gaod
USES= apache:2.4+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
AP_INC= ${LOCALBASE}/include/libmemcached

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xsp:www/xsp
RUN_DEPENDS= xsp:www/xsp
USES= apache:2.2+ libtool mono pkgconfig
USES= apache libtool mono pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --man=${PREFIX}/man

View File

@ -13,7 +13,7 @@ WWW= http://mpm-itk.sesse.net/
LICENSE= APACHE20
USES= apache:2.4
USES= apache
GNU_CONFIGURE= yes
AP_FAST_BUILD= yes

View File

@ -20,7 +20,7 @@ TEST_DEPENDS= p5-CGI>=4.15:www/p5-CGI \
SUB_FILES= pkg-message ${APMOD_FILE}
SUB_LIST= APACHEMODDIR=${APACHEMODDIR}
USES= apache:2.2+ cpe gmake perl5
USES= apache cpe gmake perl5
USE_PERL5= configure
USE_CSTD= gnu89
CPE_VENDOR= apache
@ -55,7 +55,7 @@ HAS_ITHREADS= 1
PLIST_SUB+= ITHREADS=""
.else
PLIST_SUB+= ITHREADS="@comment "
. if !${APACHE_VERSION:M22}
. if ${APACHE_VERSION:M24}
IGNORE= requires PERL with "THREADS=on", please rebuild PERL and all depending ports
. endif
.endif

View File

@ -12,7 +12,7 @@ LICENSE= APACHE20
LIB_DEPENDS= libpcre.so:devel/pcre
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -8,7 +8,7 @@ WWW= https://github.com/etsy/mod_realdoc
LICENSE= MIT
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
USE_GITHUB= yes

View File

@ -11,7 +11,7 @@ LICENSE= APACHE20
WRKSRC= ${WRKDIR}/lestrrat-mod_reproxy-0f945ff
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes

View File

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libitcl.so:lang/itcl
USES+= apache:2.2-2.4 compiler:c11 gmake \
USES= apache compiler:c11 gmake \
libtool tcl:86+,tea
USE_LDCONFIG= ${PREFIX}/lib/rivet

View File

@ -11,7 +11,7 @@ WWW= https://github.com/gnif/mod_rpaf/
LICENSE= APACHE20
USES= apache:2.4+ cpe
USES= apache cpe
CPE_VENDOR= thomas_eibner

View File

@ -11,7 +11,7 @@ WWW= https://python.ca/scgi/
LICENSE= MIT
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/LICENSE.txt
USES= apache:2.4
USES= apache
SCGI_DIR= apache2
WRKSRC= ${WRKDIR}/${DISTNAME}/${SCGI_DIR}

View File

@ -19,7 +19,7 @@ LIB_DEPENDS+= libpcre.so:devel/pcre \
libgdbm.so:databases/gdbm \
libexpat.so:textproc/expat2
USES= apache:2.4+ bdb gnome perl5 pkgconfig shebangfix
USES= apache bdb gnome perl5 pkgconfig shebangfix
USE_GNOME= libxml2
GNU_CONFIGURE= yes
SHEBANG_FILES= tools/rules-updater.pl.in mlogc/mlogc-batch-load.pl.in

View File

@ -12,7 +12,7 @@ WWW= http://modsetenvifplus.sourceforge.net/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/doc/LICENSE.txt
USES= apache:2.4
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
SRC_FILE= ${WRKSRC}/apache2/${MODULENAME}.c

View File

@ -15,7 +15,7 @@ LICENSE_COMB= multi
LIB_DEPENDS= libtidy.so:www/tidy-lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
AP_INC+= ${LOCALBASE}/include/tidy

View File

@ -11,7 +11,7 @@ WWW= http://www.outoforder.cc/projects/httpd/mod_umask/
LICENSE= APACHE20
USES= apache:2.2+ tar:bzip2
USES= apache tar:bzip2
GNU_CONFIGURE= yes
AP_FAST_BUILD= yes

View File

@ -12,7 +12,7 @@ WWW= http://webauth.stanford.edu/
LIB_DEPENDS= libcurl.so:ftp/curl \
libsasl2.so:security/cyrus-sasl2
USES= apache:2.4 libtool pathfix pkgconfig ssl
USES= apache libtool pathfix pkgconfig ssl
USE_OPENLDAP= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes

View File

@ -12,7 +12,7 @@ USE_GITHUB= yes
GH_ACCOUNT= Cito
GH_PROJECT= w4py
USES= apache:2.4+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
AP_EXTRAS= marshal.c

View File

@ -10,7 +10,7 @@ WWW= https://www.modwsgi.org/
LICENSE= APACHE20
USES= apache:2.4+ cpe gettext python:3.6-3.11
USES= apache cpe gettext python:3.6-3.11
USE_PYTHON= flavors
CPE_VENDOR= modwsgi

View File

@ -10,7 +10,7 @@ WWW= https://tn123.org/mod_xsendfile/
LICENSE= APACHE20
USES= apache:2.2+
USES= apache
AP_FAST_BUILD= yes
AP_GENPLIST= yes
USE_GITHUB= yes

View File

@ -30,7 +30,7 @@ REINPLACE_ARGS= -i ""
OPTIONS_DEFINE= APACHE LIGHTTPD NGINX
OPTIONS_DEFAULT= APACHE
APACHE_USES= apache:2.2+
APACHE_USES= apache
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
NGINX_DESC= Nginx server support
NGINX_RUN_DEPENDS= nginx:www/nginx

View File

@ -23,7 +23,7 @@ SUB_FILES= pkg-message
OPTIONS_DEFINE= APACHE LIGHTTPD
OPTIONS_DEFAULT= APACHE
APACHE_USE= APACHE_RUN=22+
APACHE_USES= apache:run
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
do-install:

View File

@ -107,7 +107,7 @@ SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay
APACHE_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:www/mod_perl2 \
p5-Apache-DBI>0:www/p5-Apache-DBI
APACHE_USES= apache:run,2.2+
APACHE_USES= apache:run
REPORTS_RUN_DEPENDS= p5-GD>=0:graphics/p5-GD \
p5-GD-Graph>=0:graphics/p5-GD-Graph \

View File

@ -20,7 +20,7 @@ RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=1.39:www/mod_perl2 \
p5-URI>=1.36:net/p5-URI \
p5-WWW-Form-UrlEncoded>=0:www/p5-WWW-Form-UrlEncoded
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
NO_ARCH= yes

View File

@ -23,7 +23,7 @@ RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=1.9922:www/mod_perl2 \
p5-SQL-Abstract>=0:databases/p5-SQL-Abstract
NO_ARCH= yes
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
# Remove README.apache-2.4.pod to avoid conflicts with p5-Apache-AuthCookie

View File

@ -13,7 +13,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \
p5-HTML-Clean>=0.8:www/p5-HTML-Clean
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}

View File

@ -14,7 +14,7 @@ LICENSE_COMB= dual
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
USES= apache:run,2.2+ perl5
USES= apache:run perl5
USE_PERL5= configure
post-install:

View File

@ -18,7 +18,7 @@ RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI \
CONFLICTS= p5-Apache-DBI-mp[12]*
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -16,7 +16,7 @@ RUN_DEPENDS= p5-Audio-Wav>=0:audio/p5-Audio-Wav \
p5-Ogg-Vorbis-Header>=0:audio/p5-Ogg-Vorbis-Header \
${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
NO_ARCH= yes

View File

@ -12,7 +12,7 @@ WWW= https://metacpan.org/release/Apache-ParseFormData
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
USES= apache:2.2+ perl5
USES= apache perl5
USE_PERL5= configure
post-patch:

View File

@ -20,7 +20,7 @@ OPTIONS_DEFAULT=APACHE
APACHE_DESC= Build mod_speedycgi
OPTIONS_SUB= yes
APACHE_USE= APACHE=22+
APACHE_USES= apache
APACHE_CONFIGURE_ENV_OFF= WITHOUT_APACHE=yes
post-patch:

View File

@ -32,7 +32,7 @@ OPTIONS_DEFINE= MODPERL
MODPERL_BUILD_DEPENDS= p5-libapreq2>=0:www/p5-libapreq2
MODPERL_RUN_DEPENDS= p5-libapreq2>=0:www/p5-libapreq2
MODPERL_USE= APACHE_RUN=22+
MODPERL_USES= apache:run
post-patch:
@${REINPLACE_CMD} -e '/bin\/convert/d' ${WRKSRC}/Makefile.PL

View File

@ -20,7 +20,7 @@ RUN_DEPENDS= mp2bug:www/mod_perl2 \
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \
p5-Test-Output>=0:devel/p5-Test-Output
USES= apache:run,2.2+ perl5
USES= apache:run perl5
USE_PERL5= modbuild
.include <bsd.port.mk>

View File

@ -60,7 +60,7 @@ DOC_FILES= ../Manual.pod \
PORTDOCS= *
PORTEXAMPLES= *
MODPERL2_USE= APACHE_RUN=22+
MODPERL2_USES= apache:run
MODPERL2_BUILD_DEPENDS= p5-libapreq2>=0:www/p5-libapreq2
post-install:

View File

@ -14,7 +14,7 @@ RUN_DEPENDS= p5-Text-MultiMarkdown>=0:textproc/p5-Text-MultiMarkdown \
p5-Text-Typography>=0:textproc/p5-Text-Typography \
${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:www/mod_perl2
USES= apache:run,2.2+ perl5
USES= apache:run perl5
USE_PERL5= configure
SUB_FILES= pkg-message

View File

@ -15,7 +15,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-apache2-apxs=${APXS} \
--with-expat=${LOCALBASE} \
--enable-perl-glue --with-perl=${PERL}
USES= apache:2.2+ cpe libtool perl5
USES= apache cpe libtool perl5
CPE_VENDOR= apache
USE_PERL5= run
USE_LDCONFIG= yes

Some files were not shown because too many files have changed in this diff Show More