pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/opengoo Fix critical problem of INSTALL script by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d408b1f0ffc1
branches:  trunk
changeset: 394636:d408b1f0ffc1
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 14 13:39:22 2009 +0000

description:
Fix critical problem of INSTALL script by previous commit.

Bump PKGREVISION.

diffstat:

 www/opengoo/INSTALL  |  7 ++++---
 www/opengoo/Makefile |  8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r 2abd99ac5dd1 -r d408b1f0ffc1 www/opengoo/INSTALL
--- a/www/opengoo/INSTALL       Sun Jun 14 12:46:44 2009 +0000
+++ b/www/opengoo/INSTALL       Sun Jun 14 13:39:22 2009 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: INSTALL,v 1.1 2009/06/14 11:38:34 taca Exp $
+# $NetBSD: INSTALL,v 1.2 2009/06/14 13:39:22 taca Exp $
 
 OG_DIR="@PREFIX@/@OG_DIR@"
+WWW_USER="@APACHE_USER@"
 
 case ${STAGE} in
-DEINSTALL)
+POST-INSTALL)
        # enable to edit language translation.
-       (cd "${OG_DIR}"; ${CHOWN} -R language)
+       (cd "${OG_DIR}"; ${CHOWN} -R ${WWW_USER} language)
        ;;
 esac
diff -r 2abd99ac5dd1 -r d408b1f0ffc1 www/opengoo/Makefile
--- a/www/opengoo/Makefile      Sun Jun 14 12:46:44 2009 +0000
+++ b/www/opengoo/Makefile      Sun Jun 14 13:39:22 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2009/06/14 11:38:34 taca Exp $
+# $NetBSD: Makefile,v 1.3 2009/06/14 13:39:22 taca Exp $
 #
 
 DISTNAME=      opengoo_${VER}
 PKGNAME=       opengoo-${VER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=opengoo/}
 EXTRACT_SUFX=  .zip
@@ -32,8 +32,8 @@
 OWN_DIRS_PERMS+= ${OG_DIR}/config ${BINOWN} ${APACHE_GROUP} 0770
 MAKE_DIRS_PERMS+= ${OG_DIR}/tmp/saveatt ${BINOWN} ${APACHE_GROUP} 0770
 
-BUILD_DEFS+=   APACHE_GROUP
-FILES_SUBST+=  OG_DIR=${OG_DIR}
+BUILD_DEFS+=   APACHE_GROUP APACHE_USER
+FILES_SUBST+=  OG_DIR=${OG_DIR} APACHE_USER=${APACHE_USER}
 PLIST_SUBST+=  OG_DIR=${OG_DIR}
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index