diff options
author | tron <tron@pkgsrc.org> | 2011-01-27 13:45:55 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-01-27 13:45:55 +0000 |
commit | caa88a85d30d3437b338943dbb406b79d20008de (patch) | |
tree | 57f49b70af3cc7193b937304fa7fe411ce83e6f2 /databases/phpmyadmin/Makefile | |
parent | 28b335c5cb335692106b86bfbdc672dd47a508bd (diff) | |
download | pkgsrc-caa88a85d30d3437b338943dbb406b79d20008de.tar.gz |
Add fixes for the security vulnerabilities reported in CVE-2010-4480 and
CVE-2010-4481 taken from the phpMyAdmin GIT repository.
Thanks a lot to Tim Zingelman for pointing out that the fixes had
finally been made available.
Diffstat (limited to 'databases/phpmyadmin/Makefile')
-rw-r--r-- | databases/phpmyadmin/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile index 64ab834244e..6e666ea97c0 100644 --- a/databases/phpmyadmin/Makefile +++ b/databases/phpmyadmin/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.85 2010/11/29 19:13:30 tron Exp $ +# $NetBSD: Makefile,v 1.86 2011/01/27 13:45:55 tron Exp $ DISTNAME= phpMyAdmin-${DIST_VERSION}-all-languages PKGNAME= phpmyadmin-${DIST_VERSION:S/-//} +PKGREVISION= 1 CATEGORIES= databases www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/} EXTRACT_SUFX= .tar.bz2 @@ -55,6 +56,10 @@ INSTALL_DIRS= js lang libraries libraries/auth libraries/dbg \ themes/darkblue_orange/css themes/darkblue_orange/img \ themes/original themes/original/css themes/original/img +# Part of the fix for CVE-2010-4480. +post-extract: + ${RM} -f ${WRKSRC}/error.php + do-configure: ${SED} -e "s|@PMDIR@|${PMDIR}|g" ${FILESDIR}/phpmyadmin.conf \ >${WRKDIR}/phpmyadmin.conf |