pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/apache Use ${VARBASE} instead of hardcoded /var.
details: https://anonhg.NetBSD.org/pkgsrc/rev/67529afd0771
branches: trunk
changeset: 483589:67529afd0771
user: sketch <sketch%pkgsrc.org@localhost>
date: Mon Nov 15 15:05:34 2004 +0000
description:
Use ${VARBASE} instead of hardcoded /var.
diffstat:
www/apache/Makefile | 8 ++++----
www/apache/files/config.layout | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (44 lines):
diff -r 48580bb9e86e -r 67529afd0771 www/apache/Makefile
--- a/www/apache/Makefile Mon Nov 15 15:04:08 2004 +0000
+++ b/www/apache/Makefile Mon Nov 15 15:05:34 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.155 2004/10/29 13:48:31 abs Exp $
+# $NetBSD: Makefile,v 1.156 2004/11/15 15:05:34 sketch Exp $
#
# This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of
# code hooks that allow mod_ssl to be compiled separately later, if desired).
@@ -146,9 +146,9 @@
MAKE_DIRS= ${PREFIX}/share/httpd
MAKE_DIRS+= ${PREFIX}/share/httpd/htdocs
OWN_DIRS+= ${PREFIX}/lib/httpd
-OWN_DIRS+= /var/httpd
-OWN_DIRS+= /var/log/httpd
-OWN_DIRS_PERMS+= /var/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755
+OWN_DIRS+= ${VARBASE}/httpd
+OWN_DIRS+= ${VARBASE}/log/httpd
+OWN_DIRS_PERMS+= ${VARBASE}/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}::Apache\\ user
diff -r 48580bb9e86e -r 67529afd0771 www/apache/files/config.layout
--- a/www/apache/files/config.layout Mon Nov 15 15:04:08 2004 +0000
+++ b/www/apache/files/config.layout Mon Nov 15 15:05:34 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: config.layout,v 1.6 2002/08/25 18:40:19 jlam Exp $
+# $NetBSD: config.layout,v 1.7 2004/11/15 15:05:34 sketch Exp $
<Layout pkgsrc>
prefix: @PREFIX@
@@ -14,8 +14,8 @@
manualdir: ${prefix}/share/httpd/htdocs/manual
cgidir: ${exec_prefix}/libexec/cgi-bin
includedir: ${prefix}/include/httpd
-localstatedir: /var/httpd
-runtimedir: /var/run
-logfiledir: /var/log/httpd
-proxycachedir: /var/httpd/proxy
+localstatedir: @VARBASE@/httpd
+runtimedir: @VARBASE@/run
+logfiledir: @VARBASE@/log/httpd
+proxycachedir: @VARBASE@/httpd/proxy
</Layout>
Home |
Main Index |
Thread Index |
Old Index