diff options
author | clsung <clsung@FreeBSD.org> | 2006-05-13 17:00:25 +0000 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-05-13 17:00:25 +0000 |
commit | 6940dc31d7eba67c073a34c43d5e02be21d35eb3 (patch) | |
tree | 91ce64d08d5c89215fc138925dc993af8e8cc544 /databases/phpmyadmin | |
parent | a0da4b3e92710d271e5b46d0f025f893e4386158 (diff) | |
download | FreeBSD-ports-6940dc31d7eba67c073a34c43d5e02be21d35eb3.zip FreeBSD-ports-6940dc31d7eba67c073a34c43d5e02be21d35eb3.tar.gz |
- update to 2.8.0.4
Release notes are at:
https://sourceforge.net/project/shownotes.php?release_id=416383&group_id=23067
i) Update to version 2.8.0.4 to patch some security holes. See CVE-2006-2031
http://secunia.com/advisories/19659
http://pridels.blogspot.com/2006/04/phpmyadmin-xss-vuln.html
ii) Provide a little guidance on how to get phpMyAdmin installed with PHP5
iii) Provide a little more guidance on how to configure Apache to work
with phpMyAdmin.
PR: 97185
Submitted by: matainer (Matthew Seaman)
Diffstat (limited to 'databases/phpmyadmin')
-rw-r--r-- | databases/phpmyadmin/Makefile | 7 | ||||
-rw-r--r-- | databases/phpmyadmin/distinfo | 6 | ||||
-rw-r--r-- | databases/phpmyadmin/files/pkg-message.in | 11 |
3 files changed, 19 insertions, 5 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile index 504009b..d546c4f 100644 --- a/databases/phpmyadmin/Makefile +++ b/databases/phpmyadmin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= phpMyAdmin -DISTVERSION= 2.8.0.3 +DISTVERSION= 2.8.0.4 CATEGORIES= databases www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpmyadmin @@ -100,6 +100,11 @@ pre-everything:: ${ECHO_MSG} "" ${ECHO_MSG} "Note that selecting the MYSQLI option will only work" ${ECHO_MSG} "with PHP5 and MySQL 4.1.x" + ${ECHO_MSG} "" + ${ECHO_MSG} "If you want to use PHP5, for best results, please" + ${ECHO_MSG} "install lang/php5 before attempting to install" + ${ECHO_MSG} "databases/phpmyadmin" + ${ECHO_MSG} "" post-patch: ${CP} ${FILESDIR}/${CFGFILE}.sample ${WRKSRC}/${CFGFILE}.sample diff --git a/databases/phpmyadmin/distinfo b/databases/phpmyadmin/distinfo index e1b3ce3..c554cee 100644 --- a/databases/phpmyadmin/distinfo +++ b/databases/phpmyadmin/distinfo @@ -1,3 +1,3 @@ -MD5 (phpMyAdmin-2.8.0.3.tar.bz2) = 87ee2e17c9381e969c8f740242220e29 -SHA256 (phpMyAdmin-2.8.0.3.tar.bz2) = 89a15217b9b090ec01e1a4b90c90b2df2ac6b6e192c64385c816d33cc7efaff0 -SIZE (phpMyAdmin-2.8.0.3.tar.bz2) = 2011518 +MD5 (phpMyAdmin-2.8.0.4.tar.bz2) = f7bfa65e72a78a96850799fca6bb70ca +SHA256 (phpMyAdmin-2.8.0.4.tar.bz2) = 0002f8b93a9c4d2c18c0cb193065840fecf0470e7123c1a17dd73c1ad4d47273 +SIZE (phpMyAdmin-2.8.0.4.tar.bz2) = 1993879 diff --git a/databases/phpmyadmin/files/pkg-message.in b/databases/phpmyadmin/files/pkg-message.in index a9f3636..5a01bfd 100644 --- a/databases/phpmyadmin/files/pkg-message.in +++ b/databases/phpmyadmin/files/pkg-message.in @@ -6,7 +6,16 @@ Please edit config.inc.php to suit your needs. To make phpMyAdmin available through your web site, I suggest -that you add the following to httpd.conf: +that you add something like the following to httpd.conf: Alias /phpmyadmin/ "%%PREFIX%%/%%MYADMDIR%%/" + <Directory "%%PREFIX%%/%%MYADMDIR%%/"> + Options none + AllowOverride Limit + + Order Deny, Allow + Deny from all + Allow from 127.0.0.1 .example.com + </Directory> + |