Skip to content

Commit 1add3f8

Browse files
authored
Merge pull request #120 from codecasts/publish
Publish
2 parents 16551a3 + 02baed4 commit 1add3f8

File tree

30 files changed

+91
-63
lines changed

30 files changed

+91
-63
lines changed

scripts/v3.10/php-7.3/build.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ EXTENSIONS="amqp apcu ast ds hashids imagick libsodium memcached mongodb msgpack
1313
SOURCES_PATH=$(pwd)
1414

1515
# ensure starts on sources path.
16-
cd ${SOURCES_PATH}
16+
# shellcheck disable=SC2164
17+
cd "${SOURCES_PATH}"
1718

1819
# function for building packages.
1920
function build_package()
@@ -23,21 +24,23 @@ function build_package()
2324
# ensure previously built packages are available.
2425
sudo apk update
2526
# enter package source directory.
27+
# shellcheck disable=SC2164
2628
cd "$SOURCES_PATH/$PACKAGE_NAME"
2729
# give a little feedback about the current package being built.
2830
echo "----> Building Package: $PACKAGE_NAME"
2931
# checksum source files before build.
30-
abuild checksum
32+
# abuild checksum
3133
# build the package from source.
3234
abuild -r
3335
# return shell to previous location for safe scripting!
34-
cd ${SOURCES_PATH}
36+
# shellcheck disable=SC2164
37+
cd "${SOURCES_PATH}"
3538
}
3639

3740
# build base packages.
3841
for PACKAGE in ${PACKAGES}; do
3942
# call the build function.
40-
build_package ${PACKAGE}
43+
build_package "${PACKAGE}"
4144
done
4245

4346
# when full flag is provided, build PHP itself first.
@@ -49,8 +52,9 @@ fi
4952
# build extensions.
5053
for EXTENSION in ${EXTENSIONS}; do
5154
# call the build function, prefixing with "php7-".
52-
build_package "php7-"${EXTENSION}
55+
build_package "php7-${EXTENSION}"
5356
done
5457

5558
# ensure the final destination is the sources path.
56-
cd ${SOURCES_PATH}
59+
# shellcheck disable=SC2164
60+
cd "$SOURCES_PATH"

scripts/v3.10/php-7.3/php7-scalar_objects/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ package() {
3737
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
3838
}
3939

40-
sha512sums="6f5dbcaada05743afe5da5df3310c8ebfa7fcfa76748d12f11b21602a57eb698e6af6205616f24b5af3e97a586f609d3a1117700be6bccaae4b2daf2eac83eb3 php7-scalar_objects.zip"
40+
sha512sums="a3951aa6d5ff189d7aea8acb62864ef23a71e061abd44f63f47567e53158ecaed1568c4be33365d65b75bc9bcddc02302a9932480a3c0658b3187b0b8802f825 php7-scalar_objects.zip"

scripts/v3.10/php-7.3/php7-xdebug/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ package() {
3737
echo "zend_extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
3838
}
3939

40-
sha512sums="faa1ed9ad348ec5993ed1883dec2df9b331a158d4b9ae09df0a89be81a5651d51fe67a0a4f7af88d2e20a0e29babf294c98b0dbf289c10f5c0abf0be1c091e8b xdebug-3.0.1.tgz"
40+
sha512sums="5655ba46f8ff312a6ea71737537e3bc230fb4a737162e02e3703d907c90f0508bd31584e640c1e0ae443f7672bce566d6125c01bd5a44585d021a899b3b2b19e xdebug-2.9.8.tgz"

scripts/v3.10/php-7.3/php7/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ _package_ext() {
357357
> "$subpkgdir"/etc/$pkgname/conf.d/${elo}_${extname}.ini
358358
}
359359

360-
sha512sums="4cf80778144134a792940ed2f526505d68e69654c22a988c5b6908d2e49a4d08785ebb508744a1a1e53cf035300148ea66adf04833a51a1492eaafe417c1b080 php-7.3.21.tar.bz2
360+
sha512sums="4264e16b49cb58b0667594ed518bd91fff431e4750cf6b28b4c6438895693078ce3ef6f1a37db544c1f3ef41cd1a9a2e69946ccd1168e4b89b29e052ee47bd7e php-7.3.25.tar.bz2
361361
5b45e3f76579c064e7393a080584515d4c70071cd028cd9292885c741ddc78731633082cf1808b34bbe2e54575caa4c6fcfb3da05f54a26f0848a5e1709492ac php7-fpm.initd
362362
100434b8cecaa01a86cc8be56434db1c2dd3c49b7ae397a58b8ecad06a4eb5453e05412e20df1fa26468d6df6c4260f7c3c2b4b4c6f099ffec006bcc0c29cc3c php7-fpm.logrotate
363363
7893c2c4507191ce39fa0813c0119ccb8394dbc5ec0092faea34d6494459c697f70536f19a4c7b767aa1a8c587fe49768b552e3b55a1fc11a1e66f267e0b605e php7-module.conf

scripts/v3.10/php-7.3/secp256k1/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ package() {
5151
find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
5252
}
5353

54-
sha512sums="80bf42e2ccd9a516488a78b0b460966addb132543637ee8bcb0f6152f865590958319f75d0db5cc575a7e8211d8da0a120f5360650641560b28dc47ac9f40ed2 secp256k1-20201209.zip"
54+
sha512sums="daeb412b920fc793ff8e97a20eec2cf3940b13ca7390a2700a9a9a6523200bdb6d07117d13d6986d1e18529e01eb51fb5ffdf5b4e7b59d5468968fae7a57355a secp256k1-20201212.zip"

scripts/v3.10/php-7.4/build.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ EXTENSIONS="amqp apcu ast ds hashids imagick libsodium memcached mongodb msgpack
1212
SOURCES_PATH=$(pwd)
1313

1414
# ensure starts on sources path.
15-
cd ${SOURCES_PATH}
15+
# shellcheck disable=SC2164
16+
cd "${SOURCES_PATH}"
1617

1718
# function for building packages.
1819
function build_package()
@@ -22,21 +23,23 @@ function build_package()
2223
# ensure previously built packages are available.
2324
sudo apk update
2425
# enter package source directory.
26+
# shellcheck disable=SC2164
2527
cd "$SOURCES_PATH/$PACKAGE_NAME"
2628
# give a little feedback about the current package being built.
2729
echo "----> Building Package: $PACKAGE_NAME"
2830
# checksum source files before build.
29-
abuild checksum
31+
# abuild checksum
3032
# build the package from source.
3133
abuild -r
3234
# return shell to previous location for safe scripting!
33-
cd ${SOURCES_PATH}
35+
# shellcheck disable=SC2164
36+
cd "${SOURCES_PATH}"
3437
}
3538

3639
# build base packages.
3740
for PACKAGE in ${PACKAGES}; do
3841
# call the build function.
39-
build_package ${PACKAGE}
42+
build_package "${PACKAGE}"
4043
done
4144

4245
# when full flag is provided, build PHP itself first.
@@ -48,8 +51,9 @@ fi
4851
# build extensions.
4952
for EXTENSION in ${EXTENSIONS}; do
5053
# call the build function, prefixing with "php7-".
51-
build_package "php7-"${EXTENSION}
54+
build_package "php7-${EXTENSION}"
5255
done
5356

5457
# ensure the final destination is the sources path.
55-
cd ${SOURCES_PATH}
58+
# shellcheck disable=SC2164
59+
cd "$SOURCES_PATH"

scripts/v3.10/php-7.4/php7-scalar_objects/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ package() {
3737
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
3838
}
3939

40-
sha512sums="6f5dbcaada05743afe5da5df3310c8ebfa7fcfa76748d12f11b21602a57eb698e6af6205616f24b5af3e97a586f609d3a1117700be6bccaae4b2daf2eac83eb3 php7-scalar_objects.zip"
40+
sha512sums="a3951aa6d5ff189d7aea8acb62864ef23a71e061abd44f63f47567e53158ecaed1568c4be33365d65b75bc9bcddc02302a9932480a3c0658b3187b0b8802f825 php7-scalar_objects.zip"

scripts/v3.10/php-7.4/php7-xdebug/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ package() {
3737
echo "zend_extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
3838
}
3939

40-
sha512sums="faa1ed9ad348ec5993ed1883dec2df9b331a158d4b9ae09df0a89be81a5651d51fe67a0a4f7af88d2e20a0e29babf294c98b0dbf289c10f5c0abf0be1c091e8b xdebug-3.0.1.tgz"
40+
sha512sums="5655ba46f8ff312a6ea71737537e3bc230fb4a737162e02e3703d907c90f0508bd31584e640c1e0ae443f7672bce566d6125c01bd5a44585d021a899b3b2b19e xdebug-2.9.8.tgz"

scripts/v3.10/php-7.4/php7/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ _package_ext() {
356356
> "$subpkgdir"/etc/$pkgname/conf.d/${elo}_${extname}.ini
357357
}
358358

359-
sha512sums="92c4a7dd3aa3f55e7501bfa811cdaec94415dda8dd1a55a4a88bee3de2210b1649ba1d5f7f28ceb63247245557402f306a993f432b535f4c3adb1204c5e51184 php-7.4.9.tar.bz2
359+
sha512sums="ae45767658fbf8f90429441c7e1b10b0d81768814546de5e4c74d8c4ae6135a0d5c06f1d79d392ba785b8b62d17222c8b9f5676ac5fa5f9a8c563c4207d8005d php-7.4.13.tar.bz2
360360
5b45e3f76579c064e7393a080584515d4c70071cd028cd9292885c741ddc78731633082cf1808b34bbe2e54575caa4c6fcfb3da05f54a26f0848a5e1709492ac php7-fpm.initd
361361
100434b8cecaa01a86cc8be56434db1c2dd3c49b7ae397a58b8ecad06a4eb5453e05412e20df1fa26468d6df6c4260f7c3c2b4b4c6f099ffec006bcc0c29cc3c php7-fpm.logrotate
362362
7893c2c4507191ce39fa0813c0119ccb8394dbc5ec0092faea34d6494459c697f70536f19a4c7b767aa1a8c587fe49768b552e3b55a1fc11a1e66f267e0b605e php7-module.conf

scripts/v3.10/php-7.4/secp256k1/APKBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ package() {
5151
find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
5252
}
5353

54-
sha512sums="80bf42e2ccd9a516488a78b0b460966addb132543637ee8bcb0f6152f865590958319f75d0db5cc575a7e8211d8da0a120f5360650641560b28dc47ac9f40ed2 secp256k1-20201209.zip"
54+
sha512sums="daeb412b920fc793ff8e97a20eec2cf3940b13ca7390a2700a9a9a6523200bdb6d07117d13d6986d1e18529e01eb51fb5ffdf5b4e7b59d5468968fae7a57355a secp256k1-20201212.zip"

0 commit comments

Comments
 (0)