aboutsummaryrefslogtreecommitdiff
path: root/network/phppgadmin
diff options
context:
space:
mode:
authorMichel Begue <mab974@misouk.com>2024-04-29 14:48:11 +0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:45:01 +0700
commit27095c617771897594ed9b7c37c3711f3247a09e (patch)
tree20a20a509fd8dd0ef611e92429a918d219b2e695 /network/phppgadmin
parenta1d313db5786200766904f2cc6e409a6d872a566 (diff)
network/phppgadmin: Updated for version 7.14.7
Signed-off-by: Michel Begue <mab974@misouk.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/phppgadmin')
-rw-r--r--network/phppgadmin/phppgadmin.SlackBuild17
-rw-r--r--network/phppgadmin/phppgadmin.info8
2 files changed, 13 insertions, 12 deletions
diff --git a/network/phppgadmin/phppgadmin.SlackBuild b/network/phppgadmin/phppgadmin.SlackBuild
index 86bd57a71b792..ef63e95e2c8fb 100644
--- a/network/phppgadmin/phppgadmin.SlackBuild
+++ b/network/phppgadmin/phppgadmin.SlackBuild
@@ -24,12 +24,13 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM='phppgadmin'
-VERSION=${VERSION:-7.13.0}
+PRGNAM="phppgadmin"
+VERSION=${VERSION:-7.14.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=phpPgAdmin
+SUFF=${SUFF:--mod}
DOCROOT=${DOCROOT:-/usr/share}
PHPUSER=${PHPUSER:-root}
@@ -58,8 +59,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION$SUFF.tar.gz
+cd $SRCNAM-$VERSION$SUFF
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,8 +69,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG$DOCROOT
-cp -a $TMP/$SRCNAM-$VERSION $PKG$DOCROOT
-( cd $PKG$DOCROOT; ln -s ./$SRCNAM-$VERSION ./$PRGNAM )
+cp -a $TMP/$SRCNAM-$VERSION$SUFF $PKG$DOCROOT
+( cd $PKG$DOCROOT; ln -s ./$SRCNAM-$VERSION$SUFF ./$PRGNAM )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -80,8 +81,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/httpd/conf.d
cp -a $CWD/http-pgadmin.conf $PKG/etc/httpd/conf.d/phppgadmin.conf.new
-chown -R $PHPUSER:$PHPGROUP $PKG$DOCROOT/$SRCNAM-$VERSION
-chmod -R o-rwx $PKG$DOCROOT/$SRCNAM-$VERSION
+chown -R $PHPUSER:$PHPGROUP $PKG$DOCROOT/$SRCNAM-$VERSION$SUFF
+chmod -R o-rwx $PKG$DOCROOT/$SRCNAM-$VERSION$SUFF
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/phppgadmin/phppgadmin.info b/network/phppgadmin/phppgadmin.info
index 73bfd5f2759a0..25d5f5a8dad6e 100644
--- a/network/phppgadmin/phppgadmin.info
+++ b/network/phppgadmin/phppgadmin.info
@@ -1,8 +1,8 @@
PRGNAM="phppgadmin"
-VERSION="7.13.0"
-HOMEPAGE="https://github.com/phppgadmin/phppgadmin"
-DOWNLOAD="https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.tar.gz"
-MD5SUM="8a38dca6bd0bcdc9481c88f1ac0c0f80"
+VERSION="7.14.7"
+HOMEPAGE="https://github.com/ReimuHakurei/phpPgAdmin"
+DOWNLOAD="https://github.com/ReimuHakurei/phpPgAdmin/archive/v7.14.7-mod/phpPgAdmin-7.14.7-mod.tar.gz"
+MD5SUM="ede785d9f3d7c85342f2bb858fd96b34"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="php-pgsql"