diff options
author | jlam <jlam> | 2007-09-07 19:08:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-09-07 19:08:09 +0000 |
commit | 041c7d10fd3c276790dbdab812b2f409aa5e847a (patch) | |
tree | 0d6cedecf0c65d1ad0fa0d3cf07d6c33d7e5b26f /www/pound | |
parent | 8c434403ae28618e26d9dc2b349158d8ad638835 (diff) | |
download | pkgsrc-041c7d10fd3c276790dbdab812b2f409aa5e847a.tar.gz |
Import pound-2.3.2 into www/pound.
The Pound program is a reverse proxy, load balancer and HTTPS front-end
for Web server(s). Pound was developed to enable distributing the
load among several Web-servers and to allow for a convenient SSL wrapper
for those Web servers that do not offer it natively. Pound is a very
small program, easily audited for security problems. It can run as
setuid/setgid and/or in a chroot jail. Pound does not access the
hard-disk at all (except for reading the certificate file on start,
if required) and should thus pose no security threat to any machine.
Diffstat (limited to 'www/pound')
-rw-r--r-- | www/pound/DESCR | 8 | ||||
-rw-r--r-- | www/pound/Makefile | 28 | ||||
-rw-r--r-- | www/pound/PLIST | 6 | ||||
-rw-r--r-- | www/pound/distinfo | 5 | ||||
-rw-r--r-- | www/pound/files/pound.sh | 20 |
5 files changed, 67 insertions, 0 deletions
diff --git a/www/pound/DESCR b/www/pound/DESCR new file mode 100644 index 00000000000..f699ea96d91 --- /dev/null +++ b/www/pound/DESCR @@ -0,0 +1,8 @@ +The Pound program is a reverse proxy, load balancer and HTTPS front-end +for Web server(s). Pound was developed to enable distributing the +load among several Web-servers and to allow for a convenient SSL wrapper +for those Web servers that do not offer it natively. Pound is a very +small program, easily audited for security problems. It can run as +setuid/setgid and/or in a chroot jail. Pound does not access the +hard-disk at all (except for reading the certificate file on start, +if required) and should thus pose no security threat to any machine. diff --git a/www/pound/Makefile b/www/pound/Makefile new file mode 100644 index 00000000000..0ca09d1e664 --- /dev/null +++ b/www/pound/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ + +DISTNAME= Pound-2.3.2 +PKGNAME= ${DISTNAME:S/Pound/pound/} +CATEGORIES= www +MASTER_SITES= http://www.apsis.ch/pound/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.apsis.ch/pound/ +COMMENT= Reverse proxy, load balancer and HTTPS front-end + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +USE_FEATURES.openssl= threads + +RCD_SCRIPTS= pound + +SUBST_CLASSES= config +SUBST_MESSAGE.config= Fixing path to default config file. +SUBST_STAGE.config= post-build +SUBST_FILES.config= pound.8 +SUBST_SED.config= -e "s,/usr/local/etc/,"${PKG_SYSCONFDIR:Q}"/,g" + +.include "../../devel/pcre/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/pound/PLIST b/www/pound/PLIST new file mode 100644 index 00000000000..7b6dbe6ea1d --- /dev/null +++ b/www/pound/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ +man/man8/pound.8 +man/man8/poundctl.8 +sbin/pound +sbin/poundctl +share/examples/rc.d/pound diff --git a/www/pound/distinfo b/www/pound/distinfo new file mode 100644 index 00000000000..eacf7f6af0c --- /dev/null +++ b/www/pound/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ + +SHA1 (Pound-2.3.2.tgz) = 93f248e7c5448c8b26905420e2f5d5fdafd33a51 +RMD160 (Pound-2.3.2.tgz) = b04401f7ec9857defae5f1198ab9247bf26db0b7 +Size (Pound-2.3.2.tgz) = 154678 bytes diff --git a/www/pound/files/pound.sh b/www/pound/files/pound.sh new file mode 100644 index 00000000000..72e16040d61 --- /dev/null +++ b/www/pound/files/pound.sh @@ -0,0 +1,20 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: pound.sh,v 1.1.1.1 2007/09/07 19:08:09 jlam Exp $ +# +# Pound - reverse proxy, load balancer and HTTPS web front-end +# +# PROVIDE: pound +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="pound" +rcvar=${name} +command="@PREFIX@/sbin/${name}" +pidfile="@VARBASE@/run/${name}.pid" +command_args="-p ${pidfile}" +required_files="@PKG_SYSCONFDIR@/pound.cfg" + +load_rc_config $name +run_rc_command "$1" |