pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/apache24 Add an option to build mod_privileges (su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/023e5610a793
branches:  trunk
changeset: 617178:023e5610a793
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Apr 11 11:01:09 2013 +0000

description:
Add an option to build mod_privileges (supported on SunOS 5.10 or greater).

diffstat:

 www/apache24/PLIST      |   3 ++-
 www/apache24/options.mk |  13 ++++++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 3c3bdd00ee50 -r 023e5610a793 www/apache24/PLIST
--- a/www/apache24/PLIST        Thu Apr 11 10:58:04 2013 +0000
+++ b/www/apache24/PLIST        Thu Apr 11 11:01:09 2013 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2013/02/25 21:16:37 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.10 2013/04/11 11:01:09 fhajny Exp $
 bin/ab
 bin/apxs
 bin/dbmmanage
@@ -134,6 +134,7 @@
 lib/httpd/mod_mpm_prefork.so
 lib/httpd/mod_mpm_worker.so
 lib/httpd/mod_negotiation.so
+${PLIST.privileges}lib/httpd/mod_privileges.so
 lib/httpd/mod_proxy.so
 lib/httpd/mod_proxy_ajp.so
 lib/httpd/mod_proxy_balancer.so
diff -r 3c3bdd00ee50 -r 023e5610a793 www/apache24/options.mk
--- a/www/apache24/options.mk   Thu Apr 11 10:58:04 2013 +0000
+++ b/www/apache24/options.mk   Thu Apr 11 11:01:09 2013 +0000
@@ -1,9 +1,13 @@
-# $NetBSD: options.mk,v 1.6 2012/08/26 12:37:34 ryoon Exp $
+# $NetBSD: options.mk,v 1.7 2013/04/11 11:01:09 fhajny Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.apache
 PKG_SUPPORTED_OPTIONS=         lua suexec apache-mpm-event apache-mpm-prefork apache-mpm-worker
 PKG_SUGGESTED_OPTIONS=         apache-mpm-prefork
 
+.if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.1[0-9])
+PKG_SUPPORTED_OPTIONS+=                privileges
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 # Set the "Multi-Processing Model" used by Apache to handle requests.
@@ -70,3 +74,10 @@
 .else
 CONFIGURE_ARGS+=       --disable-lua
 .endif
+
+PLIST_VARS+=           privileges
+.if !empty(PKG_OPTIONS:Mprivileges)
+CONFIGURE_ARGS+=       --enable-privileges
+PLIST.privileges=      yes
+.endif
+



Home | Main Index | Thread Index | Old Index