pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap2-chroot Initial import for ap2-chroot-0.3, a mo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3282195e20c4
branches:  trunk
changeset: 485076:3282195e20c4
user:      ben <ben%pkgsrc.org@localhost>
date:      Fri Dec 03 16:53:20 2004 +0000

description:
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:

 www/ap2-chroot/DESCR    |   6 ++++++
 www/ap2-chroot/MESSAGE  |  13 +++++++++++++
 www/ap2-chroot/Makefile |  25 +++++++++++++++++++++++++
 www/ap2-chroot/PLIST    |  10 ++++++++++
 www/ap2-chroot/distinfo |   4 ++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 7d9fcee5ced8 -r 3282195e20c4 www/ap2-chroot/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-chroot/DESCR      Fri Dec 03 16:53:20 2004 +0000
@@ -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 -r 7d9fcee5ced8 -r 3282195e20c4 www/ap2-chroot/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-chroot/MESSAGE    Fri Dec 03 16:53:20 2004 +0000
@@ -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 -r 7d9fcee5ced8 -r 3282195e20c4 www/ap2-chroot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-chroot/Makefile   Fri Dec 03 16:53:20 2004 +0000
@@ -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@localhost
+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 -r 7d9fcee5ced8 -r 3282195e20c4 www/ap2-chroot/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-chroot/PLIST      Fri Dec 03 16:53:20 2004 +0000
@@ -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 -r 7d9fcee5ced8 -r 3282195e20c4 www/ap2-chroot/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-chroot/distinfo   Fri Dec 03 16:53:20 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index