diff options
author | fhajny <fhajny> | 2011-05-09 11:11:11 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2011-05-09 11:11:11 +0000 |
commit | 4c3cd5a0548cba7f3810bb33d68fa72ac44ba803 (patch) | |
tree | c92638be71200b373287848d5ec87b0baa7d3a16 /www/varnish | |
parent | 4fc78807b976dc2df96cd0a9d9b1ffd82db482ed (diff) | |
download | pkgsrc-4c3cd5a0548cba7f3810bb33d68fa72ac44ba803.tar.gz |
Fix least privileges support on recent (snv_140+) OpenSolaris versions.
Bump PKGREVISION
Diffstat (limited to 'www/varnish')
-rw-r--r-- | www/varnish/Makefile | 3 | ||||
-rw-r--r-- | www/varnish/distinfo | 3 | ||||
-rw-r--r-- | www/varnish/patches/patch-bin__varnishd__mgt_child.c | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/www/varnish/Makefile b/www/varnish/Makefile index 7f6ea39b6eb..48995e428ab 100644 --- a/www/varnish/Makefile +++ b/www/varnish/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2011/04/01 18:59:41 zafer Exp $ +# $NetBSD: Makefile,v 1.10 2011/05/09 11:11:11 fhajny Exp $ # DISTNAME= varnish-2.1.5 +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://repo.varnish-cache.org/source/ diff --git a/www/varnish/distinfo b/www/varnish/distinfo index 9fd2ff51463..4867f13abbc 100644 --- a/www/varnish/distinfo +++ b/www/varnish/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2011/04/01 18:59:41 zafer Exp $ +$NetBSD: distinfo,v 1.8 2011/05/09 11:11:11 fhajny Exp $ SHA1 (varnish-2.1.5.tar.gz) = 5c413ee7c4267d9fd4713fbff059d1be5fbba60f RMD160 (varnish-2.1.5.tar.gz) = 4619d4be920504388325f06afdbea9b40f5a806a Size (varnish-2.1.5.tar.gz) = 1530856 bytes SHA1 (patch-aa) = d0bce82fc6bc0bb7e078f61461a21172bb658d4a SHA1 (patch-ab) = 30a64ce77354df3f2e0e830f60f4c6d98ef3099c +SHA1 (patch-bin__varnishd__mgt_child.c) = f715b65a945147794b71c427c6067b6218392eb3 diff --git a/www/varnish/patches/patch-bin__varnishd__mgt_child.c b/www/varnish/patches/patch-bin__varnishd__mgt_child.c new file mode 100644 index 00000000000..6750e4bf6da --- /dev/null +++ b/www/varnish/patches/patch-bin__varnishd__mgt_child.c @@ -0,0 +1,14 @@ +$NetBSD: patch-bin__varnishd__mgt_child.c,v 1.1 2011/05/09 11:11:11 fhajny Exp $ + +Patch varnishd to run on recent (snv_140+) versions of OpenSolaris. +See http://www.varnish-cache.org/trac/ticket/912 +--- bin/varnishd/mgt_child.c.orig 2010-10-21 08:57:22.000000000 +0000 ++++ bin/varnishd/mgt_child.c +@@ -298,6 +298,7 @@ waive_privileges(void) + + /* new privilege, silently ignore any errors if it doesn't exist */ + priv_addset(minimal, "net_access"); ++ priv_addset(minimal, "file_read"); + + #define SETPPRIV(which, set) \ + if (setppriv(PRIV_SET, which, set)) \ |