diff --git a/srcpkgs/phpMyAdmin/INSTALL.msg b/srcpkgs/phpMyAdmin/INSTALL.msg deleted file mode 100644 index 26f39da6a9c..00000000000 --- a/srcpkgs/phpMyAdmin/INSTALL.msg +++ /dev/null @@ -1,2 +0,0 @@ -phpMyAdmin has been installed to: - /usr/share/webapps/phpmyadmin diff --git a/srcpkgs/phpMyAdmin/files/apache.conf b/srcpkgs/phpMyAdmin/files/apache.conf deleted file mode 100644 index 8972b18f39a..00000000000 --- a/srcpkgs/phpMyAdmin/files/apache.conf +++ /dev/null @@ -1,11 +0,0 @@ -# phpMyAdmin default Apache configuration - -Alias /phpmyadmin "/usr/share/webapps/phpmyadmin" - - - AllowOverride All - Options FollowSymlinks - Order allow,deny - Allow from all - - diff --git a/srcpkgs/phpMyAdmin/files/lighttpd.conf b/srcpkgs/phpMyAdmin/files/lighttpd.conf deleted file mode 100644 index 8c3b049f447..00000000000 --- a/srcpkgs/phpMyAdmin/files/lighttpd.conf +++ /dev/null @@ -1,27 +0,0 @@ -# Alias for phpMyAdmin directory -alias.url += ( - "/phpmyadmin" => "/usr/share/webapps/phpmyadmin", -) - -# Disallow access to libraries -$HTTP["url"] =~ "^/phpmyadmin/libraries" { - url.access-deny = ( "" ) -} -$HTTP["url"] =~ "^/phpmyadmin/setup/lib" { - url.access-deny = ( "" ) -} - -# Limit access to setup script -$HTTP["url"] =~ "^/phpmyadmin/setup" { - auth.backend = "htpasswd" - auth.backend.htpasswd.userfile = "/etc/phpmyadmin/htpasswd.setup" - auth.require = ( - "/" => ( - "method" => "basic", - "realm" => "phpMyAdmin Setup", - "require" => "valid-user" - ) - ) -} - - diff --git a/srcpkgs/phpMyAdmin/template b/srcpkgs/phpMyAdmin/template deleted file mode 100644 index ebb15f6c96e..00000000000 --- a/srcpkgs/phpMyAdmin/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template file for 'phpMyAdmin' -pkgname=phpMyAdmin -version=4.6.5.2 -revision=1 -noarch=yes -build_style=fetch -depends="php php-mysql" -short_desc="Web-based MySQL database administration tool" -maintainer="Steve Prybylski " -license="GPL-2" -homepage="http://www.phpmyadmin.net" -distfiles="https://files.phpmyadmin.net/phpMyAdmin/${version}/phpMyAdmin-${version}-all-languages.tar.gz>${pkgname}-${version}.tar.gz" -checksum=81c3f6c3648ceec68d901e674e3bf182e061ddb48f4e5664992d3e09187557c3 - -do_install() { - tar -zxvf ${pkgname}-${version}.tar.gz - vmkdir usr/share/webapps - vcopy ${pkgname}-${version}-all-languages usr/share/webapps/phpmyadmin - - vinstall ${FILESDIR}/apache.conf 644 /etc/phpmyadmin/ - vinstall ${FILESDIR}/lighttpd.conf 644 /etc/phpmyadmin/ -} - diff --git a/srcpkgs/phpMyAdmin/update b/srcpkgs/phpMyAdmin/update deleted file mode 100644 index 2c0f2c8b3fb..00000000000 --- a/srcpkgs/phpMyAdmin/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://www.phpmyadmin.net/downloads/" -pattern="${pkgname}-\K[\d.]+(?=-all-languages.tar.gz)"