forked from Lainports/freebsd-ports
- 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)
This commit is contained in:
parent
29ad3c789c
commit
6965e56ee6
6 changed files with 38 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue