aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2014-06-21 06:03:01 +0800
committermatthew <matthew@FreeBSD.org>2014-06-21 06:03:01 +0800
commit33ec6cfb7f764fd7bac736bd322ea9fb20d0fb92 (patch)
treefe079f2be4b8abb84d6299b13194da5029bd0411
parente93d2cc4aa7cbc8c814ce47592759a7c85e7d3dc (diff)
downloadfreebsd-ports-gnome-33ec6cfb7f764fd7bac736bd322ea9fb20d0fb92.tar.gz
freebsd-ports-gnome-33ec6cfb7f764fd7bac736bd322ea9fb20d0fb92.tar.zst
freebsd-ports-gnome-33ec6cfb7f764fd7bac736bd322ea9fb20d0fb92.zip
Security update to 4.2.4
- while here switch plist to use @sample The advisories: PMASA-2014-2 and PMASA-2014-3, have not been published yet, so there is very little concrete information about what the security problems are. About all there is comes from the change log, where the security issues are listed as: - bug #4464 [security] XSS injection due to unescaped db/table name in navigation hiding - bug #4465 [security] XSS injection due to unescaped db/table name in recent/favorite tables ChaneLog: http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/4.2.4/phpMyAdmin-4.2.4-notes.html/view MFH: 2014Q2
-rw-r--r--databases/phpmyadmin/Makefile3
-rw-r--r--databases/phpmyadmin/distinfo4
-rw-r--r--databases/phpmyadmin/pkg-plist-chunk4
3 files changed, 4 insertions, 7 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index 5491fe034878..36a4d8d6dc28 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= phpMyAdmin
-DISTVERSION= 4.2.3
-PORTREVISION= 1
+DISTVERSION= 4.2.4
CATEGORIES= databases www
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${DISTVERSION}
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages
diff --git a/databases/phpmyadmin/distinfo b/databases/phpmyadmin/distinfo
index 8abfa7eb867d..7114b90ec894 100644
--- a/databases/phpmyadmin/distinfo
+++ b/databases/phpmyadmin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phpMyAdmin-4.2.3-all-languages.tar.xz) = 0d96a4009494ef3a6f6b6dc2ca049251945b60350df99b72700c90850f05af48
-SIZE (phpMyAdmin-4.2.3-all-languages.tar.xz) = 5092112
+SHA256 (phpMyAdmin-4.2.4-all-languages.tar.xz) = aebcd7cfabd4993405340ecb2b76ce0cb4ab345a817ae7c371a830e22b2c2513
+SIZE (phpMyAdmin-4.2.4-all-languages.tar.xz) = 5176840
diff --git a/databases/phpmyadmin/pkg-plist-chunk b/databases/phpmyadmin/pkg-plist-chunk
index 3c6168e40dd6..a353ff71c0b4 100644
--- a/databases/phpmyadmin/pkg-plist-chunk
+++ b/databases/phpmyadmin/pkg-plist-chunk
@@ -1,7 +1,5 @@
@mode 640
@group %%PMA_GRP%%
-@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php.sample %D/%%WWWDIR%%/config.inc.php ; then rm -f %D/%%WWWDIR%%/config.inc.php ; fi
-%%WWWDIR%%/config.inc.php.sample
-@exec [ ! -f %B/config.inc.php ] && cp -p %B/%f %B/config.inc.php || true
+@sample %%WWWDIR%%/config.inc.php.sample
@mode
@group