pkgsrc/databases/phpmyadmin/INSTALL
tron f4be874449 Fix last commit:
- The setup scripts *must* not get write access to the real "config.inc.php".
  Allow then instead to generate a file in "/var/phpmyadmin" which the
  administrator copies it place manually. This is the intended procedure
  as documented by the developers.
- Restore the normal "config.inc.php" to its original location. Not sure
  why I didn't encounter any problems during testing the last change
  because phpMyAdmin isn't working very well without this.

While here change dependences to require both the "php-mysql" and the
"php-mysqli" packages. Old installations will use the former, new
installation will use the later.

Bump the package revision again because of these changes.
2012-08-28 15:54:54 +00:00

19 lines
463 B
Text

# $NetBSD: INSTALL,v 1.3 2012/08/28 15:54:54 tron Exp $
APACHE_USER=@APACHE_USER@
APACHE_GROUP=@APACHE_GROUP@
PMSETUPDIR=@PMSETUPDIR@
PMSETUPFILE=@PMSETUPFILE@
case ${STAGE} in
POST-INSTALL)
if [ ! -f ${PMSETUPFILE} ]; then
${MKDIR} ${PMSETUPDIR}
${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${PMSETUPDIR}
${CHMOD} 755 ${PMSETUPDIR}
${TOUCH} ${PMSETUPFILE}
${CHOWN} ${APACHE_USER}:${APACHE_GROUP} ${PMSETUPFILE}
${CHMOD} 644 ${PMSETUPFILE}
fi
;;
esac