diff options
author | joerg <joerg@pkgsrc.org> | 2014-06-11 12:57:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-06-11 12:57:22 +0000 |
commit | 07e928a6e09e1e014ccb4429ea2947ff2e76bf56 (patch) | |
tree | 4ed7f4ab08f72c38eb95ccaa99f266a9ce6c04dc /www | |
parent | 2c56d50b2b5f12d299c130fbbbddf320b1e0381c (diff) | |
download | pkgsrc-07e928a6e09e1e014ccb4429ea2947ff2e76bf56.tar.gz |
Move www/apache/module.mk to mk/apache.module.mk and adjust it to use
mk/apache.mk.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-geoip2/Makefile | 6 | ||||
-rw-r--r-- | www/ap-rpaf/Makefile | 6 | ||||
-rw-r--r-- | www/ap-scgi/Makefile | 6 | ||||
-rw-r--r-- | www/ap2-auth-external/Makefile | 6 | ||||
-rw-r--r-- | www/ap2-auth-ntlm/Makefile | 6 | ||||
-rw-r--r-- | www/ap2-auth-pgsql/Makefile | 7 | ||||
-rw-r--r-- | www/ap2-auth-radius/Makefile | 8 | ||||
-rw-r--r-- | www/ap2-authn-otp/Makefile | 6 | ||||
-rw-r--r-- | www/ap2-bw/Makefile | 5 | ||||
-rw-r--r-- | www/ap2-chroot/Makefile | 5 | ||||
-rw-r--r-- | www/ap22-authn-sasl/Makefile | 4 | ||||
-rw-r--r-- | www/ap22-authnz-external/Makefile | 6 | ||||
-rw-r--r-- | www/apache/module.mk | 54 |
13 files changed, 25 insertions, 100 deletions
diff --git a/www/ap-geoip2/Makefile b/www/ap-geoip2/Makefile index bb72dd04865..19e45dbaefd 100644 --- a/www/ap-geoip2/Makefile +++ b/www/ap-geoip2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2014/06/10 15:22:15 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2014/06/11 12:57:22 joerg Exp $ # DISTNAME= mod_geoip2_1.2.5 @@ -11,8 +11,6 @@ HOMEPAGE= http://www.maxmind.com/app/mod_geoip COMMENT= Apache module to interact with the MaxMind geoip database LICENSE= apache-1.1 -.include "../../mk/apache.mk" -APACHE_MODULE= yes APACHE_MODULE_NAME= mod_geoip.so PKG_APACHE_ACCEPTED= apache22 NO_CONFIGURE= yes @@ -22,6 +20,6 @@ LDFLAGS+= -L${DESTDIR}/lib -lGeoIP pre-install: cp ${WRKDIR}/${DISTNAME}/.libs/mod_geoip.so ${WRKDIR}/${DISTNAME}/ -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../net/GeoIP/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-rpaf/Makefile b/www/ap-rpaf/Makefile index fd7095d6c27..25c3fba6065 100644 --- a/www/ap-rpaf/Makefile +++ b/www/ap-rpaf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2014/06/10 15:22:16 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2014/06/11 12:57:22 joerg Exp $ # DISTNAME= mod_rpaf-0.5 @@ -18,8 +18,6 @@ INSTALLATION_DIRS= share/doc # does not compile with apache24 PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" - APACHE_MODULE_NAME= mod_rpaf.${MODULE_EXT} APACHE_MODULE_SRC= mod_rpaf.c @@ -33,5 +31,5 @@ do-configure: ${RM} -f ${WRKSRC}/mod_rpaf.c ${CP} -f ${WRKSRC}/mod_rpaf-2.0.c ${WRKSRC}/mod_rpaf.c -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-scgi/Makefile b/www/ap-scgi/Makefile index f3567d6e90d..9858583a062 100644 --- a/www/ap-scgi/Makefile +++ b/www/ap-scgi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2014/06/10 15:22:16 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2014/06/11 12:57:23 joerg Exp $ # PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME} @@ -15,9 +15,6 @@ PKG_APACHE_ACCEPTED= apache22 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-quixote via py-scgi -.include "../../mk/apache.mk" -.include "../../www/apache/module.mk" - MODULE_EXT= la APACHE_MODULE_SRCDIR= ${WRKDIR}/${DISTNAME}/apache2 @@ -25,4 +22,5 @@ APACHE_MODULE_NAME= mod_scgi.${MODULE_EXT} APACHE_MODULE_SRC= mod_scgi.c .include "../../lang/python/pyversion.mk" +.include "../../mk/apache.module.mk" .include "../../www/py-scgi/Makefile.common" diff --git a/www/ap2-auth-external/Makefile b/www/ap2-auth-external/Makefile index 875f06137fa..f388a0889ca 100644 --- a/www/ap2-auth-external/Makefile +++ b/www/ap2-auth-external/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/06/10 15:22:16 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2014/06/11 12:57:23 joerg Exp $ # DISTNAME= mod_auth_external-${DISTVERS} @@ -13,13 +13,11 @@ COMMENT= Apache module for external program authentication PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" - APACHE_MODULE_NAME= mod_auth_external.${MODULE_EXT} DISTVERS= 2.2.11 MODULE_EXT= la MESSAGE_SUBST+= MODULE_NAME=auth_external_module -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-auth-ntlm/Makefile b/www/ap2-auth-ntlm/Makefile index a2eedde58ae..4affec56241 100644 --- a/www/ap2-auth-ntlm/Makefile +++ b/www/ap2-auth-ntlm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/06/10 15:22:17 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2014/06/11 12:57:23 joerg Exp $ # DISTNAME= ntlm2 @@ -12,8 +12,6 @@ COMMENT= Apache module for NTLM authentication PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" - APACHE_MODULE_NAME= mod_ntlm.${MODULE_EXT} WRKSRC= ${WRKDIR} @@ -31,5 +29,5 @@ INSTALLATION_DIRS+= ${EGDIR} post-install: ${INSTALL_DATA} ${WRKSRC}/ntlm.conf ${DESTDIR}${EGDIR} -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-auth-pgsql/Makefile b/www/ap2-auth-pgsql/Makefile index 840ad037722..1fb54d6276b 100644 --- a/www/ap2-auth-pgsql/Makefile +++ b/www/ap2-auth-pgsql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2014/06/10 15:22:17 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2014/06/11 12:57:23 joerg Exp $ DISTNAME= mod_auth_pgsql-2.0.3 PKGNAME= ${APACHE_PKG_PREFIX}-auth-pgsql-2.0.3 @@ -17,13 +17,10 @@ APACHE_MODULE_NAME= mod_auth_pgsql.la PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" -.include "../../www/apache/module.mk" - CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql LDFLAGS+= -L${LOCALBASE}/lib \ ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -lpq -.include "../../mk/apache.mk" +.include "../../mk/apache.module.mk" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-auth-radius/Makefile b/www/ap2-auth-radius/Makefile index a2091799cf5..3c18de31376 100644 --- a/www/ap2-auth-radius/Makefile +++ b/www/ap2-auth-radius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2014/06/10 15:22:17 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2014/06/11 12:57:23 joerg Exp $ DISTNAME= mod_auth_radius PKGNAME= ${APACHE_PKG_PREFIX}-auth-radius-1.5.7 @@ -19,10 +19,6 @@ APACHE_MODULE_SRC= mod_auth_radius.c USE_LIBTOOL= YES PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" -.include "../../www/apache/module.mk" - -.include "../../security/openssl/buildlink3.mk" post-extract: ${MV} ${WRKSRC}/mod_auth_radius.c ${WRKSRC}/mod_auth_radius-1.0.c @@ -39,4 +35,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/httpd.conf \ ${DESTDIR}${PREFIX}/share/examples/mod_auth_radius +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-authn-otp/Makefile b/www/ap2-authn-otp/Makefile index 2f9b225ad60..a7df661d060 100644 --- a/www/ap2-authn-otp/Makefile +++ b/www/ap2-authn-otp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/02/12 23:18:43 tron Exp $ +# $NetBSD: Makefile,v 1.7 2014/06/11 12:57:23 joerg Exp $ DISTNAME= mod_authn_otp-${DISTVERS} PKGNAME= ${APACHE_PKG_PREFIX}-authn-otp-${DISTVERS} @@ -13,14 +13,12 @@ COMMENT= Apache module for one-time password authentication PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" - APACHE_MODULE_NAME= mod_authn_otp.${MODULE_EXT} DISTVERS= 1.1.4 MODULE_EXT= la MESSAGE_SUBST+= MODULE_NAME=authn_otp_module -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-bw/Makefile b/www/ap2-bw/Makefile index 44086620023..c846a2652cd 100644 --- a/www/ap2-bw/Makefile +++ b/www/ap2-bw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2014/06/10 15:22:17 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2014/06/11 12:57:23 joerg Exp $ # DISTNAME= bw_mod-0.6 @@ -24,6 +24,5 @@ INSTALLATION_DIRS+= share/doc post-install: ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.txt ${DESTDIR}${PREFIX}/share/doc/apache_mod_bw.txt -.include "../../mk/apache.mk" -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap2-chroot/Makefile b/www/ap2-chroot/Makefile index 87e29c3a55e..b03bc8ab215 100644 --- a/www/ap2-chroot/Makefile +++ b/www/ap2-chroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2012/10/28 06:30:07 asau Exp $ +# $NetBSD: Makefile,v 1.13 2014/06/11 12:57:23 joerg Exp $ DISTNAME= mod_chroot-0.5 PKGNAME= ${DISTNAME:S/mod_/${APACHE_PKG_PREFIX}-/} @@ -23,6 +23,5 @@ INSTALLATION_DIRS+= share/doc/mod_chroot post-install: ${INSTALL_DATA} ${WRKSRC}/[A-Z]* ${DESTDIR}${PREFIX}/share/doc/mod_chroot/ -.include "../../mk/apache.mk" -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap22-authn-sasl/Makefile b/www/ap22-authn-sasl/Makefile index eb317d25595..6cb6c78e7ab 100644 --- a/www/ap22-authn-sasl/Makefile +++ b/www/ap22-authn-sasl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/12/16 01:52:37 obache Exp $ +# $NetBSD: Makefile,v 1.5 2014/06/11 12:57:23 joerg Exp $ DISTNAME= mod_authn_sasl-${DISTVERS} #PKGREVISION= 1 @@ -23,5 +23,5 @@ MODULE_EXT= la MESSAGE_SUBST+= MODULE_NAME=authn_sasl_module .include "../../security/cyrus-sasl/buildlink3.mk" -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ap22-authnz-external/Makefile b/www/ap22-authnz-external/Makefile index a3aa5495956..7c88009f40c 100644 --- a/www/ap22-authnz-external/Makefile +++ b/www/ap22-authnz-external/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/10/28 06:30:08 asau Exp $ +# $NetBSD: Makefile,v 1.7 2014/06/11 12:57:23 joerg Exp $ # DISTNAME= mod_authnz_external-${DISTVERS} @@ -13,8 +13,6 @@ COMMENT= Apache module for external program authentication PKG_APACHE_ACCEPTED= apache22 -.include "../../mk/apache.mk" - APACHE_MODULE_NAME= mod_authnz_external.${MODULE_EXT} DISTVERS= 3.2.3 @@ -35,5 +33,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/UPGRADE \ ${DESTDIR}${PREFIX}/share/doc/authnz-external -.include "../../www/apache/module.mk" +.include "../../mk/apache.module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/apache/module.mk b/www/apache/module.mk deleted file mode 100644 index 9d23f077faf..00000000000 --- a/www/apache/module.mk +++ /dev/null @@ -1,54 +0,0 @@ -# $NetBSD: module.mk,v 1.14 2014/06/10 15:22:18 joerg Exp $ -# -# This Makefile fragment is intended to be included by packages that build -# and install apache modules. -# -# The following targets are provided by this file: -# -# do-build builds the module using APXS. -# -# do-install installs the module using APXS. -# -# The following variables may be set prior to including this file: -# -# APACHE_MODULE_NAME the name of this module, including the .so suffix. -# -# APACHE_MODULE_SRCDIR the location of the source files for this module, -# defaults to WRKSRC. -# -# APACHE_MODULE_SRC the source files to be compiled for this -# module, defaults to *.c. -# - -.if !defined(_APACHE_MODULE_MK) -_APACHE_MODULE_MK= # defined - -APACHE_MODULE= yes - -.include "../../www/apache/buildlink3.mk" - -APACHE_MODULE_SRCDIR?= ${WRKSRC} -APACHE_MODULE_SRC?= *.c -APACHE_MODULE_DESTDIR= ${DESTDIR}${PREFIX}/lib/httpd - -.PHONY: apache-module-build -apache-module-build: - ${RUN} \ - cd ${APACHE_MODULE_SRCDIR} && \ - ${SETENV} PATH=${PATH:Q} \ - ${APXS} ${CPPFLAGS} ${LDFLAGS} \ - -c -o ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC} - -do-build: apache-module-build - -.PHONY: apache-module-install -apache-module-install: - ${INSTALL_LIB_DIR} ${APACHE_MODULE_DESTDIR} - ${PREFIX}/share/httpd/build/instdso.sh \ - SH_LIBTOOL=${PREFIX}/share/httpd/build/libtool \ - ${APACHE_MODULE_SRCDIR}/${APACHE_MODULE_NAME} \ - ${APACHE_MODULE_DESTDIR} - -do-install: apache-module-install - -.endif # _APACHE_MODULE_MK |