pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/pound Import pound-2.3.2 into www/pound.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97ecbd0def11
branches:  trunk
changeset: 533059:97ecbd0def11
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Sep 07 19:08:09 2007 +0000

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

 www/pound/DESCR          |   8 ++++++++
 www/pound/Makefile       |  28 ++++++++++++++++++++++++++++
 www/pound/PLIST          |   6 ++++++
 www/pound/distinfo       |   5 +++++
 www/pound/files/pound.sh |  20 ++++++++++++++++++++
 5 files changed, 67 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r 1df3fe5b30a1 -r 97ecbd0def11 www/pound/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pound/DESCR   Fri Sep 07 19:08:09 2007 +0000
@@ -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 -r 1df3fe5b30a1 -r 97ecbd0def11 www/pound/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pound/Makefile        Fri Sep 07 19:08:09 2007 +0000
@@ -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@localhost
+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 -r 1df3fe5b30a1 -r 97ecbd0def11 www/pound/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pound/PLIST   Fri Sep 07 19:08:09 2007 +0000
@@ -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 -r 1df3fe5b30a1 -r 97ecbd0def11 www/pound/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pound/distinfo        Fri Sep 07 19:08:09 2007 +0000
@@ -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 -r 1df3fe5b30a1 -r 97ecbd0def11 www/pound/files/pound.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pound/files/pound.sh  Fri Sep 07 19:08:09 2007 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index