php-pgsql: initial commit, version 8.3.3

This commit is contained in:
Tim Biermann 2024-02-24 19:18:37 +01:00
parent b20e963670
commit 7cba0de253
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 42 additions and 0 deletions

11
php-pgsql/.footprint Normal file
View File

@ -0,0 +1,11 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/php/
drwxr-xr-x root/root etc/php/conf.d/
-rw-r--r-- root/root etc/php/conf.d/pdo_pgsql.ini
-rw-r--r-- root/root etc/php/conf.d/pgsql.ini
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/php/
drwxr-xr-x root/root usr/lib/php/extensions/
-rwxr-xr-x root/root usr/lib/php/extensions/pdo_pgsql.so
-rwxr-xr-x root/root usr/lib/php/extensions/pgsql.so

5
php-pgsql/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33kHHqLX0EAzr1oyyUm48GsyHSk+uuRVvLQySCLvTIZB+vMhuwAh2rWoBN519yJOQvR1IzoyyurD7mBAL/e0Tgc=
SHA256 (Pkgfile) = 42ebf761b8b11b9bc1dccc3e1492d0fbf78768588bf8cfd824a3503df8ad8798
SHA256 (.footprint) = b58418059cf87eadc8275478428efc7405bdcdb735aa15b60850903f7136c24a
SHA256 (php-8.3.3.tar.xz) = b0a996276fe21fe9ca8f993314c8bc02750f464c7b0343f056fb0894a8dfa9d1

26
php-pgsql/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: postgresql module for PHP
# URL: https://www.php.net
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: postgresql
name=php-pgsql
version=8.3.3
release=1
source=(https://www.php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
./configure \
--disable-all \
--enable-pdo \
--with-pdo-pgsql=shared \
--with-pgsql=shared
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/pgsql.so $PKG/usr/lib/php/extensions
install -m 755 modules/pdo_pgsql.so $PKG/usr/lib/php/extensions
echo "extension=pgsql.so" > $PKG/etc/php/conf.d/pgsql.ini
echo "extension=pdo_pgsql.so" > $PKG/etc/php/conf.d/pdo_pgsql.ini
}