diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-02 10:43:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-02 10:43:18 +0000 |
commit | ac39fa67d9ef560999e4e0c62ab15740d0e6f1b1 (patch) | |
tree | 6d759282eb0b802df95be1442ddf1d47048b4e49 /www/apache | |
parent | 74379c4448babaf8a7a444f54ebc2fe6625357ed (diff) | |
download | pkgsrc-ac39fa67d9ef560999e4e0c62ab15740d0e6f1b1.tar.gz |
Fixed some easy pkglint warnings.
Diffstat (limited to 'www/apache')
-rw-r--r-- | www/apache/Makefile | 33 | ||||
-rw-r--r-- | www/apache/buildlink3.mk | 12 | ||||
-rw-r--r-- | www/apache/module.mk | 8 |
3 files changed, 28 insertions, 25 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile index defb9c1d94a..727198a0cd0 100644 --- a/www/apache/Makefile +++ b/www/apache/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.185 2006/04/23 00:12:42 jlam Exp $ +# $NetBSD: Makefile,v 1.186 2006/07/02 10:43:18 rillig Exp $ # # This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of # code hooks that allow mod_ssl to be compiled separately later, if desired). @@ -16,13 +16,13 @@ HOMEPAGE= http://httpd.apache.org/ COMMENT= Apache HTTP (Web) server NETBSD_LOGO= sitedrivenby.gif -SITES_${NETBSD_LOGO}= http://www.NetBSD.org/images/logos/ +SITES.${NETBSD_LOGO}= http://www.NetBSD.org/images/logos/ MODSSL_VERSION= 2.8.25 MODSSL_DISTNAME= mod_ssl-${MODSSL_VERSION}-1.3.34 MODSSL_DIST= ${MODSSL_DISTNAME}.tar.gz MODSSL_SRC= ${WRKDIR}/${MODSSL_DISTNAME} -SITES_${MODSSL_DIST}= http://www.modssl.org/source/ \ +SITES.${MODSSL_DIST}= http://www.modssl.org/source/ \ ftp://ftp.pca.dfn.de/pub/tools/net/mod_ssl/source/ \ ftp://ftp.funet.fi/pub/crypt/cryptography/libs/modssl/source/ @@ -73,7 +73,7 @@ APACHE_SUEXEC_DOCROOT?= ${PREFIX}/share/httpd/htdocs APACHE_SUEXEC_PATH= /bin:/usr/bin:${PREFIX}/bin:/usr/local/bin APACHE_SUEXEC_CONFIGURE_ARGS+= \ --suexec-caller=${APACHE_USER} \ - --suexec-safepath='${APACHE_SUEXEC_PATH}' \ + --suexec-safepath=${APACHE_SUEXEC_PATH:Q} \ --suexec-docroot=${APACHE_SUEXEC_DOCROOT} CONFIGURE_ARGS+= --enable-suexec \ ${APACHE_SUEXEC_CONFIGURE_ARGS:M--suexec-*} @@ -148,7 +148,7 @@ OWN_DIRS_PERMS+= ${VARBASE}/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755 # # Fix paths in the apache manpages. # -SUBST_CLASSES+= man paths +SUBST_CLASSES+= man SUBST_STAGE.man= post-patch SUBST_FILES.man= src/support/*.1 src/support/*.8 SUBST_SED.man= -e 's,/usr/local/apache/conf,${PKG_SYSCONFDIR},' @@ -158,6 +158,7 @@ SUBST_SED.man+= -e 's,/usr/local/apache/logs,${VARBASE}/log/httpd,' SUBST_SED.man+= -e 's,/usr/local/apache,${PREFIX}/share/httpd/htdocs,' SUBST_SED.man+= -e 's,/usr/web,${PREFIX}/share/httpd/htdocs,' +SUBST_CLASSES+= paths SUBST_FILES.paths= config.layout SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' @@ -176,34 +177,34 @@ MAKE_ENV+= FIND=${FIND:Q} CHGRP=${CHGRP:Q} .include "../../mk/dlopen.buildlink3.mk" post-extract: - @${CP} ${FILESDIR}/ap_include_extern.h ${WRKSRC}/src/include - @${CP} ${MODSSL_SRC}/pkg.addon/*.c ${WRKSRC}/src/modules/extra - @${CP} ${MODSSL_SRC}/pkg.addon/*.html ${WRKSRC}/htdocs/manual/mod - @${CP} ${MODSSL_SRC}/pkg.eapi/*.c ${WRKSRC}/src/ap - @${CP} ${MODSSL_SRC}/pkg.eapi/*.h ${WRKSRC}/src/include - @${CP} ${FILESDIR}/config.layout ${WRKSRC} + ${CP} ${FILESDIR}/ap_include_extern.h ${WRKSRC}/src/include + ${CP} ${MODSSL_SRC}/pkg.addon/*.c ${WRKSRC}/src/modules/extra + ${CP} ${MODSSL_SRC}/pkg.addon/*.html ${WRKSRC}/htdocs/manual/mod + ${CP} ${MODSSL_SRC}/pkg.eapi/*.c ${WRKSRC}/src/ap + ${CP} ${MODSSL_SRC}/pkg.eapi/*.h ${WRKSRC}/src/include + ${CP} ${FILESDIR}/config.layout ${WRKSRC} pre-patch: - @cd ${WRKSRC} && ${CAT} \ + cd ${WRKSRC} && ${CAT} \ ${MODSSL_SRC}/pkg.addon/addon.patch \ ${MODSSL_SRC}/pkg.eapi/eapi.patch \ ${MODSSL_SRC}/pkg.sslcfg/sslcfg.patch \ ${MODSSL_SRC}/pkg.sslmod/sslmod.patch \ ${MODSSL_SRC}/pkg.sslsup/sslsup.patch \ | ${PATCH} ${PATCH_ARGS} - @cd ${WRKSRC} && ${TAIL} +160 \ + cd ${WRKSRC} && ${TAIL} +160 \ ${MODSSL_SRC}/pkg.ssldoc/ssldoc.patch \ | ${PATCH} ${PATCH_ARGS} - @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f post-patch: - @cd ${WRKSRC}/src/support; \ + cd ${WRKSRC}/src/support; \ ${SED} -e "s|@INSTALL@|"`${TYPE} ${INSTALL} | ${AWK} '{ print $$NF }'`" -c -o ${LIBOWN} -g ${LIBGRP}|" \ apxs.pl > apxs.pl.sed; \ ${MV} apxs.pl.sed apxs.pl pre-install: - @${FIND} ${WRKSRC}/htdocs -name '*.orig' -print | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/htdocs -name '*.orig' -print | ${XARGS} ${RM} -f post-install: .if !defined(NOPIC) diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk index 2e16474e6c9..ffa8fc6b2cf 100644 --- a/www/apache/buildlink3.mk +++ b/www/apache/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.15 2006/06/04 12:21:24 joerg Exp $ +# $NetBSD: buildlink3.mk,v 1.16 2006/07/02 10:43:18 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+ @@ -15,18 +15,18 @@ BUILDLINK_API_DEPENDS.apache+= apache-1.3.* BUILDLINK_ABI_DEPENDS.apache?= apache>=1.3.34nb5 BUILDLINK_PKGSRCDIR.apache?= ../../www/apache -.if defined(APACHE_MODULE) +. if defined(APACHE_MODULE) BUILDLINK_DEPMETHOD.apache+= full -.else +. else BUILDLINK_DEPMETHOD.apache?= build -.endif +. endif USE_TOOLS+= perl # for "apxs" APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs -.if defined(GNU_CONFIGURE) +. if defined(GNU_CONFIGURE) CONFIGURE_ARGS+= --with-apxs=${APXS:Q} -.endif +. endif # required because httpd/os.h includes <dlfcn.h> when it is found by # Apache's configure script. diff --git a/www/apache/module.mk b/www/apache/module.mk index d2c26c9d4b9..e820c69e0fe 100644 --- a/www/apache/module.mk +++ b/www/apache/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.10 2005/03/24 22:42:59 jlam Exp $ +# $NetBSD: module.mk,v 1.11 2006/07/02 10:43:18 rillig Exp $ # # This Makefile fragment is intended to be included by packages that build # and install apache modules. @@ -23,23 +23,25 @@ .if !defined(_APACHE_MODULE_MK) _APACHE_MODULE_MK= # defined -APACHE_MODULE= # defined +APACHE_MODULE= yes .include "../../www/apache/buildlink3.mk" APACHE_MODULE_SRCDIR?= ${WRKSRC} APACHE_MODULE_SRC?= *.c +.PHONY: apache-module-build apache-module-build: ${_PKG_SILENT}${_PKG_DEBUG} \ cd ${APACHE_MODULE_SRCDIR} && \ - ${SETENV} PATH=${PATH} \ + ${SETENV} PATH=${PATH:Q} \ ${APXS} ${CPPFLAGS} ${LDFLAGS} \ -c -o ${APACHE_MODULE_NAME} ${APACHE_MODULE_SRC} do-build: apache-module-build ${_PKG_SILENT}${_PKG_DEBUG}${DO_NADA} +.PHONY: apache-module-install apache-module-install: ${_PKG_SILENT}${PKG_DEBUG} \ cd ${APACHE_MODULE_SRCDIR} && ${APXS} -i ${APACHE_MODULE_NAME} |