diff options
Diffstat (limited to 'network/phpmyadmin')
-rw-r--r-- | network/phpmyadmin/README | 9 | ||||
-rw-r--r-- | network/phpmyadmin/phpmyadmin.SlackBuild | 18 | ||||
-rw-r--r-- | network/phpmyadmin/phpmyadmin.info | 6 |
3 files changed, 22 insertions, 11 deletions
diff --git a/network/phpmyadmin/README b/network/phpmyadmin/README index 94a2e36d07..0aa2fa996f 100644 --- a/network/phpmyadmin/README +++ b/network/phpmyadmin/README @@ -5,11 +5,12 @@ are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement. -By default, there is only a sample config file included with the package. -You can either copy that file and edit it according to your taste or you -can do a graphical setup. Both processes are detailed in the docs. +By default, there is only a sample config file included with the +package. You can either copy that file and edit it according to your +taste or you can do a graphical setup. Both processes are detailed in +the docs. You can override DOCROOT, PHPUSER, and PHPGROUP at build time. They default to DOCROOT=/var/www/htdocs, PHPUSER=root, PHPGROUP=apache. -For configuration help, you can visit: http://wiki.phpmyadmin.net/pma/Config +For configuration help, see: http://wiki.phpmyadmin.net/pma/Config diff --git a/network/phpmyadmin/phpmyadmin.SlackBuild b/network/phpmyadmin/phpmyadmin.SlackBuild index d8494a6aee..4a036d787f 100644 --- a/network/phpmyadmin/phpmyadmin.SlackBuild +++ b/network/phpmyadmin/phpmyadmin.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for phpmyadmin # Home Page http://www.phpmyadmin.net/ @@ -27,11 +27,14 @@ # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="phpmyadmin" -VERSION=${VERSION:-4.9.1} +VERSION=${VERSION:-5.2.1} ARCH="noarch" # hardcode ARCH BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} DOCROOT=${DOCROOT:-/var/www/htdocs} @@ -40,7 +43,14 @@ PHPGROUP=${PHPGROUP:-apache} SRCNAM="phpMyAdmin-${VERSION}-all-languages" -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -75,4 +85,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/phpmyadmin/phpmyadmin.info b/network/phpmyadmin/phpmyadmin.info index 59bfcd8d2d..ca5cc736f1 100644 --- a/network/phpmyadmin/phpmyadmin.info +++ b/network/phpmyadmin/phpmyadmin.info @@ -1,8 +1,8 @@ PRGNAM="phpmyadmin" -VERSION="4.9.1" +VERSION="5.2.1" HOMEPAGE="http://www.phpmyadmin.net/home_page/index.php" -DOWNLOAD="https://files.phpmyadmin.net/phpMyAdmin/4.9.1/phpMyAdmin-4.9.1-all-languages.tar.xz" -MD5SUM="a165109629731f5311ec3171cce50972" +DOWNLOAD="https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.xz" +MD5SUM="167836c4fbd76e968fae78913c4bdb7c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |