#553 closed defect (fixed)
phpmyadmin port submission
Reported by: | ari@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | bchesneau@… | |
Port: |
Description
I haven't figured out how to give the user a message at the end of the process (like FreeBSD ports) to tell them to edit the file config.inc.php or to merge changes from config.inc.php.old into the new file if they are upgrading.
# $Id: $
PortSystem 1.0
name phpMyAdmin version 2.5.0 homepage http://www.phpmyadmin.net/ description administration of MySQL over the web categories databases www platforms darwin maintainers ari@… master_sites http://flow.dl.sourceforge.net/sourceforge/phpmyadmin/ \
http://us.dl.sourceforge.net/phpmyadmin/ \ http://eu.dl.sourceforge.net/phpmyadmin/
use_bzip2 yes extract.sufx .tar.bz2 distfiles ${name}-${version}-php${extract.sufx} checksums md5 d64b1e6a630ad8f218196d16c948854e depends_lib bin:httpd:apache configure {} build {}
prefix /Library/WebServer/Documents/phpmyadmin install {
file mkdir -p ${destroot}/${prefix} # save the old preference file if {[ file exists ${prefix}/config.inc.php]} {
system "cp -f ${prefix}/config.inc.php
${destroot}/${prefix}/config.inc.php.old"
} system "cp -fr ${worksrcpath}/*
${destroot}/${prefix}/"
system "chown -R www.www ${destroot}/${prefix}"
}
long_description Almost any MySQL administration function can be performed \ in this web interface, including queries, defining structures, exporting,\ importing and managing privileges.
Attachments (3)
Change History (8)
Changed 21 years ago by bchesneau@…
comment:1 Changed 21 years ago by bchesneau@…
Cc: | bchesneau@… added |
---|
comment:2 Changed 21 years ago by bchesneau@…
attachments.isobsolete: | 0 → 1 |
---|
comment:3 Changed 21 years ago by bchesneau@…
attachments.isobsolete: | 0 → 1 |
---|
comment:4 Changed 21 years ago by bchesneau@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 21 years ago by bchesneau@…
Thx for the first submission. I released today the 2.5.6 version with apache/apache2 and mysql/mysql4 variants.
- Benoît
Clean/upgrade first submission