summaryrefslogtreecommitdiff
path: root/www/ap2-chroot
diff options
context:
space:
mode:
authorben <ben>2004-12-03 16:53:20 +0000
committerben <ben>2004-12-03 16:53:20 +0000
commit36c90138a31bc27f9c51dfe6a569d90b26f5056c (patch)
treee66e7d800f4371a313f12d77eedaa8cc7f718978 /www/ap2-chroot
parent87082f7f76af1f4674f78665349b8daaea07d1d3 (diff)
downloadpkgsrc-36c90138a31bc27f9c51dfe6a569d90b26f5056c.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')
-rw-r--r--www/ap2-chroot/DESCR6
-rw-r--r--www/ap2-chroot/MESSAGE13
-rw-r--r--www/ap2-chroot/Makefile25
-rw-r--r--www/ap2-chroot/PLIST10
-rw-r--r--www/ap2-chroot/distinfo4
5 files changed, 58 insertions, 0 deletions
diff --git a/www/ap2-chroot/DESCR b/www/ap2-chroot/DESCR
new file mode 100644
index 00000000000..7786748fc72
--- /dev/null
+++ b/www/ap2-chroot/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/www/ap2-chroot/MESSAGE b/www/ap2-chroot/MESSAGE
new file mode 100644
index 00000000000..a6a0520bdd9
--- /dev/null
+++ b/www/ap2-chroot/MESSAGE
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/12/03 16:53:20 ben Exp $
+
+In order to enable mod_chroot in your Apache installation, you need to add
+the following to your httpd.conf file:
+
+ LoadModule chroot_module lib/httpd/mod_chroot.so
+
+Please also refer to the documentation in:
+
+ ${PREFIX}/share/doc/mod_chroot/
+
+===========================================================================
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"
diff --git a/www/ap2-chroot/PLIST b/www/ap2-chroot/PLIST
new file mode 100644
index 00000000000..50eb4b34ccc
--- /dev/null
+++ b/www/ap2-chroot/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/03 16:53:20 ben Exp $
+lib/httpd/mod_chroot.so
+share/doc/mod_chroot/CAVEATS
+share/doc/mod_chroot/ChangeLog
+share/doc/mod_chroot/EAPI
+share/doc/mod_chroot/INSTALL
+share/doc/mod_chroot/LICENSE
+share/doc/mod_chroot/README
+share/doc/mod_chroot/README.Apache20
+@dirrm share/doc/mod_chroot
diff --git a/www/ap2-chroot/distinfo b/www/ap2-chroot/distinfo
new file mode 100644
index 00000000000..fb6911a03c3
--- /dev/null
+++ b/www/ap2-chroot/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/12/03 16:53:20 ben Exp $
+
+SHA1 (mod_chroot-0.3.tar.gz) = 96691119fbf8042da4503cbc1c2a0dadd0326568
+Size (mod_chroot-0.3.tar.gz) = 14369 bytes