php-ftp: update to 7.2.4

This commit is contained in:
Juergen Daubert 2018-03-30 12:49:43 +02:00
parent 2d7e666bfe
commit de15462521
3 changed files with 11 additions and 15 deletions

View File

@ -1 +1 @@
dd28a659b88ad60797a7c102307f2edb php-5.6.34.tar.xz
8266120cf6500a96f1ba335d9ef1e01b php-7.2.4.tar.xz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/eRDwXRZ5MDi/jTWVrMforD2kClk7CprTWmTTraw7qRx0FrvRiUeZPbjx65RUgL3BjA4j1lY/vQSvMcnl60YNww=
SHA256 (Pkgfile) = 76ce3c96242b1a758e8e5ee8c048164d101c54cf9a5f7518a0e7d9f2e85367b1
RWSE3ohX2g5d/R9AWCKanLtFM0gC26BCBFqSmhjmsETzIKhUfLDx2deelTr67dWPdUZSmNRoSeqdkQYeyhCu/bqqfrQ32s/CGQQ=
SHA256 (Pkgfile) = 9e69d6cfaafb3e7ca6f8f7478ae7f39cbd67832bb4b547eb30ea81a10f0c9ba6
SHA256 (.footprint) = 4b6e9e791f10bb007a541c6a4cfe6a189d549592939bdf3e04c5bd0f25a4bfa0
SHA256 (php-5.6.34.tar.xz) = 21453be3a045204cd2717543ef42771324f411f40962ecda4fe841930a933128
SHA256 (php-7.2.4.tar.xz) = 7916b1bd148ddfd46d7f8f9a517d4b09cd8a8ad9248734e7c8dd91ef17057a88

View File

@ -5,22 +5,18 @@
# Depends on:
name=php-ftp
version=5.6.34
version=7.2.4
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
cd php-$version
./configure \
--disable-all \
--enable-${name#php-}=shared
make build-modules
./configure --disable-all --enable-ftp=shared
make build-modules
install -d $PKG/etc/php/conf.d
for i in modules/*.so; do
install -D -m755 $i $PKG/usr/lib/php/extensions/${i##*/}
echo extension=/usr/lib/php/extensions/${i##*/} >> $PKG/etc/php/conf.d/${name#php-}.ini
done
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/ftp.so $PKG/usr/lib/php/extensions/
printf 'extension=%s\n' ftp.so > $PKG/etc/php/conf.d/ftp.ini
}