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>
This commit is contained in:
Michel Begue 2024-04-29 14:48:11 +04:00 committed by Willy Sudiarto Raharjo
parent a1d313db57
commit 27095c6177
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 12 deletions

View file

@ -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

View file

@ -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"