49d67f9038
apache22 >= 2.2.10, and we're now on 2.2.21. Ideally this would instead accept apache22 older than 2.2.10, but given how old (and insecure) that is there's not much point. I guess if anyone really really wants to do that they can revert this change locally... but I can't say I recommend it.
30 lines
877 B
Makefile
30 lines
877 B
Makefile
# $NetBSD: Makefile,v 1.11 2011/11/14 22:26:31 dholland Exp $
|
|
|
|
DISTNAME= mod_chroot-0.5
|
|
PKGNAME= ${DISTNAME:S/mod_/${APACHE_PKG_PREFIX}-/}
|
|
CATEGORIES= www security
|
|
MASTER_SITES= http://core.segfault.pl/~hobbit/mod_chroot/dist/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://core.segfault.pl/~hobbit/mod_chroot/
|
|
COMMENT= Module to easily run Apache in a chroot environment
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# functional conflict, apache>=2.2.10 has builtin ChrootDir directive support.
|
|
CONFLICTS+= apache>=2.2.10
|
|
|
|
APACHE_MODULE= yes
|
|
APACHE_MODULE_NAME= mod_chroot.la
|
|
NO_CONFIGURE= yes
|
|
|
|
PKG_APACHE_ACCEPTED= apache2
|
|
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/bsd.pkg.mk"
|