summaryrefslogtreecommitdiff
path: root/databases/phpmyadmin/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2004-12-14 20:38:46 +0000
committeradrianp <adrianp@pkgsrc.org>2004-12-14 20:38:46 +0000
commit35a375c8f677f02de0d29d5865187165c7a6cdbb (patch)
tree089b13a64872b2627120ea72e946dba2c2eef2cd /databases/phpmyadmin/Makefile
parent37867029438ccaebe41fa8b5d0ccabc91468f46e (diff)
downloadpkgsrc-35a375c8f677f02de0d29d5865187165c7a6cdbb.tar.gz
- Update phpmyadmin to 2.6.1-rc1
- Fix permissions on config file as it could contain sensitive data - Fix missing ChangeLog link - Lots of bugfixes and updates, see ChangeLog for all the details - Inclues security update for PMASA-2004-4
Diffstat (limited to 'databases/phpmyadmin/Makefile')
-rw-r--r--databases/phpmyadmin/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index 56267195792..29ec184ed77 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2004/12/14 00:07:17 tron Exp $
+# $NetBSD: Makefile,v 1.22 2004/12/14 20:38:46 adrianp Exp $
DISTNAME= phpMyAdmin-${DIST_VERSION}
PKGNAME= phpmyadmin-${DIST_VERSION:S/-//}
-PKGREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/}
EXTRACT_SUFX= .tar.bz2
@@ -19,16 +18,19 @@ MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} PMCONFFILE=${PMCONFFILE} \
PMDIR=${PMDIR} EXDIR=${EXDIR}
CONF_INC_PHP= ${PREFIX}/share/phpmyadmin/config.inc.php
-DIST_VERSION= 2.6.0-pl2
+DIST_VERSION= 2.6.1-rc1
DOC_FILES= CREDITS ChangeLog \
Documentation.txt INSTALL LICENSE README \
RELEASE-DATE-${DIST_VERSION} TODO
+APACHE_USER?= www
EXDIR= ${PREFIX}/share/examples/phpmyadmin
PMCONFFILE= ${PKG_SYSCONFDIR}/config.inc.php
PMDIR= ${PREFIX}/share/phpmyadmin
NO_BUILDLINK= YES
CONF_FILES= ${EXDIR}/config.inc.php ${PKG_SYSCONFDIR}/config.inc.php
+SPECIAL_PERMS= ${PKG_SYSCONFDIR}/config.inc.php ${APACHE_USER} wheel 0600
+BUILD_DEFS+= APACHE_USER
USE_PKGINSTALL= YES
PKG_SYSCONFSUBDIR?= phpmyadmin
@@ -69,6 +71,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Documentation.html ${PMDIR}
${INSTALL_DATA} ${WRKSRC}/translators.html ${PMDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PMDIR}
for dir in ${INSTALL_DIRS}; do \
for file in "${WRKSRC}/$$dir"/*; do \