summaryrefslogtreecommitdiff
path: root/www/ap2-chroot/Makefile
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-12-03 16:53:20 +0000
committerben <ben@pkgsrc.org>2004-12-03 16:53:20 +0000
commit6474dc8f8a33b1967404d9937e1d76d9c930f9db (patch)
treee66e7d800f4371a313f12d77eedaa8cc7f718978 /www/ap2-chroot/Makefile
parent910f908e5af18e35e5f3d24b9364791acb510911 (diff)
downloadpkgsrc-6474dc8f8a33b1967404d9937e1d76d9c930f9db.tar.gz
Initial import for ap2-chroot-0.3, a module to easily run Apache in a
chroot environment. mod_chroot makes running Apache in a secure chroot environment easy. You don't need to create a special directory hierarchy containing /dev, /lib, /etc... mod_chroot allows you to run Apache in a chroot jail with no additional files. The chroot() system call is performed at the end of startup procedure - when all libraries are loaded and log files open.
Diffstat (limited to 'www/ap2-chroot/Makefile')
-rw-r--r--www/ap2-chroot/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/www/ap2-chroot/Makefile b/www/ap2-chroot/Makefile
new file mode 100644
index 00000000000..d4419f8e2bd
--- /dev/null
+++ b/www/ap2-chroot/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/03 16:53:20 ben Exp $
+
+DISTNAME= mod_chroot-0.3
+PKGNAME= ap2-chroot-0.3
+CATEGORIES= www security
+MASTER_SITES= http://core.segfault.pl/~hobbit/mod_chroot/dist/
+
+MAINTAINER= ben@NetBSD.org
+HOMEPAGE= http://core.segfault.pl/~hobbit/mod_chroot/
+COMMENT= Module to easily run Apache in a chroot environment
+
+USE_BUILDLINK3= yes
+APACHE_MODULE= # defined
+NO_CONFIGURE= yes
+
+do-build:
+ cd ${WRKSRC} && ${APXS} -c mod_chroot.c
+
+do-install:
+ cd ${WRKSRC} && ${APXS} -i mod_chroot.la
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_chroot
+ cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${PREFIX}/share/doc/mod_chroot/
+
+.include "../../www/apache2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"