From 9d4e65a4634bc44c77f1a388d382a23651021fac Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 7 Dec 2010 01:42:31 +0000 Subject: phpmyadmin: upgrade --- abs/extra/phpmyadmin/PKGBUILD | 48 ++++++++++++++++++++++++++++++++-------- abs/extra/phpmyadmin/__changelog | 2 ++ 2 files changed, 41 insertions(+), 9 deletions(-) mode change 100755 => 100644 abs/extra/phpmyadmin/PKGBUILD create mode 100644 abs/extra/phpmyadmin/__changelog diff --git a/abs/extra/phpmyadmin/PKGBUILD b/abs/extra/phpmyadmin/PKGBUILD old mode 100755 new mode 100644 index 41999db..f3b9be3 --- a/abs/extra/phpmyadmin/PKGBUILD +++ b/abs/extra/phpmyadmin/PKGBUILD @@ -1,18 +1,48 @@ +# $Id: PKGBUILD 34046 2010-12-01 14:03:04Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: tobias +# Committer: Manolis Tzanidakis +# Contributor: Simon Lackerbauer + pkgname=phpmyadmin -_dlversion=2.9.1.1 -pkgver=$(echo ${_dlversion} | sed 's/-//') -pkgrel=35 +pkgver=3.3.8.1 +pkgrel=1 pkgdesc="A PHP and hence web-based tool to administrate MySQL over the WWW" -arch=(i686 x86_64) +arch=('any') url="http://www.phpmyadmin.net" -depends=('php' 'mysql') -backup=(data/srv/httpd/htdocs/phpMyAdmin/config.inc.php) -source=(http://easynews.dl.sourceforge.net/sourceforge/${pkgname}/phpMyAdmin-${_dlversion}-all-languages.tar.bz2) +license=('GPL') +depends=('mysql-clients' 'php') +optdepends=('libmcrypt: to use phpMyAdmin internal authentication' + 'python2') +backup=("etc/webapps/phpmyadmin/.htaccess" + "etc/webapps/phpmyadmin/config.inc.php") +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/phpMyAdmin-$pkgver-all-languages.tar.bz2) +md5sums=('784b2534c443b1cb2328e3b97f0d2a36') build() { _instdir=${startdir}/pkg/data/srv/httpd/htdocs/phpMyAdmin - mkdir -p ${_instdir} + mkdir -p ${_instdir} $pkgdir/etc/webapps/phpmyadmin cd ${_instdir} - cp -ra ${startdir}/src/phpMyAdmin-${_dlversion}-all-languages/* . + + cp -ra $srcdir/phpMyAdmin-${pkgver}-all-languages/* . +# echo "deny from all" >$pkgdir/etc/webapps/phpmyadmin/.htaccess + + ln -s /etc/webapps/phpmyadmin/.htaccess ${_instdir}/.htaccess + ln -s /etc/webapps/phpmyadmin/config.inc.php ${_instdir}/config.inc.php + cp ${_instdir}/config.sample.inc.php $pkgdir/etc/webapps/phpmyadmin/config.inc.php + cp ${_instdir}/config.sample.inc.php $pkgdir/etc/webapps/phpmyadmin/ + + # apache +# cat >$pkgdir/etc/webapps/phpmyadmin/apache.example.conf < +# AllowOverride All +# Options FollowSymlinks +# Order allow,deny +# Allow from all +# +#EOF } + + diff --git a/abs/extra/phpmyadmin/__changelog b/abs/extra/phpmyadmin/__changelog new file mode 100644 index 0000000..4ee3bf9 --- /dev/null +++ b/abs/extra/phpmyadmin/__changelog @@ -0,0 +1,2 @@ +Comment out all apache related stuff. +optdepends: change 'python' to 'python2' -- cgit v0.12