diff options
author | ben <ben@pkgsrc.org> | 2004-12-03 16:53:20 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-12-03 16:53:20 +0000 |
commit | 6474dc8f8a33b1967404d9937e1d76d9c930f9db (patch) | |
tree | e66e7d800f4371a313f12d77eedaa8cc7f718978 | |
parent | 910f908e5af18e35e5f3d24b9364791acb510911 (diff) | |
download | pkgsrc-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.
-rw-r--r-- | www/ap2-chroot/DESCR | 6 | ||||
-rw-r--r-- | www/ap2-chroot/MESSAGE | 13 | ||||
-rw-r--r-- | www/ap2-chroot/Makefile | 25 | ||||
-rw-r--r-- | www/ap2-chroot/PLIST | 10 | ||||
-rw-r--r-- | www/ap2-chroot/distinfo | 4 |
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 |