forked from heroku/heroku-buildpack-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request heroku#185 from heroku/develop
v113
- Loading branch information
Showing
58 changed files
with
232 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sudo: false | ||
script: exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-min-7.0.11 | ||
# Build Deps: php-min-7.0.12 | ||
|
||
source $(dirname $0)/composer |
File renamed without changes.
File renamed without changes.
41 changes: 41 additions & 0 deletions
41
support/build/extensions/no-debug-non-zts-20121212/rdkafka
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
|
||
# fail hard | ||
set -o pipefail | ||
# fail harder | ||
set -eu | ||
|
||
source $(dirname $BASH_SOURCE)/../../_util/include/manifest.sh | ||
|
||
OUT_PREFIX=$1 | ||
|
||
ZEND_MODULE_API_VERSION=$(basename $(dirname $0)) | ||
ZEND_MODULE_API_VERSION=${ZEND_MODULE_API_VERSION#no-debug-non-zts-} | ||
|
||
dep_formula=${0#$WORKSPACE_DIR/} | ||
dep_name=$(basename $BASH_SOURCE) | ||
dep_version=${dep_formula##*"/${dep_name}-"} | ||
dep_package=ext-${dep_name}-${dep_version} | ||
case ${ZEND_MODULE_API_VERSION} in | ||
20121212) | ||
series=5.5 | ||
;; | ||
20131226) | ||
series=5.6 | ||
;; | ||
*) | ||
series=7.0 | ||
esac | ||
dep_manifest=${dep_package}_php-$series.composer.json | ||
|
||
echo "-----> Merging dependencies..." | ||
|
||
MANIFEST_REQUIRE="${MANIFEST_REQUIRE:-"{\"heroku-sys/php\":\"${series}.*\"}"}" | ||
MANIFEST_CONFLICT="${MANIFEST_CONFLICT:-"{\"heroku-sys/hhvm\":\"*\"}"}" | ||
MANIFEST_EXTRA="${MANIFEST_EXTRA:-"{}"}" | ||
MANIFEST_REPLACE="${MANIFEST_REPLACE:-"{}"}" | ||
|
||
python $(dirname $BASH_SOURCE)/../../_util/include/manifest.py "heroku-sys-php-extension" "heroku-sys/ext-${dep_name}" "$dep_version" "${dep_formula}.tar.gz" "$MANIFEST_REQUIRE" "$MANIFEST_CONFLICT" "$MANIFEST_REPLACE" "$MANIFEST_EXTRA" > $dep_manifest | ||
|
||
print_or_export_manifest_cmd "$(generate_manifest_cmd "$dep_manifest")" |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20121212/rdkafka-1.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: extensions/no-debug-non-zts-20121212/rdkafka-bare-1.0.0, libraries/librdkafka-0.9.2-RC1 | ||
|
||
source $(dirname $0)/rdkafka |
47 changes: 47 additions & 0 deletions
47
support/build/extensions/no-debug-non-zts-20121212/rdkafka-bare
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/usr/bin/env bash | ||
|
||
# fail hard | ||
set -o pipefail | ||
# fail harder | ||
set -eu | ||
|
||
source $(dirname $BASH_SOURCE)/../../_util/include/manifest.sh | ||
|
||
OUT_PREFIX=$1 | ||
|
||
export PATH=${OUT_PREFIX}/bin:${PATH} | ||
|
||
dep_formula=${0#$WORKSPACE_DIR/} | ||
dep_name=$(basename $BASH_SOURCE) | ||
dep_version=${dep_formula##*"/${dep_name}-"} | ||
dep_package=pkg-ext-${dep_name}-${dep_version} | ||
dep_dirname=rdkafka-${dep_version} | ||
dep_archive_name=${dep_dirname}.tgz | ||
dep_url=http://pecl.php.net/get/${dep_archive_name} | ||
series=$(php-config --version | cut -d. -f1,2) # get "5.5", "5.6", "7.0" etc for the php requirement in the manifest | ||
dep_manifest=${dep_package}_php-$series.composer.json | ||
|
||
echo "-----> Building ${dep_package} (from PECL)..." | ||
|
||
curl -L ${dep_url} | tar xz | ||
|
||
pushd ${dep_dirname} | ||
phpize | ||
./configure \ | ||
--prefix=${OUT_PREFIX} \ | ||
--with-rdkafka=${OUT_PREFIX} | ||
make -s -j 9 | ||
# php was a build dep, and it's in $OUT_PREFIX. nuke that, then make install so all we're left with is the extension | ||
rm -rf ${OUT_PREFIX}/* | ||
make install -s | ||
strip --strip-unneeded ${OUT_PREFIX}/lib/php/extensions/*/*.so | ||
popd | ||
|
||
MANIFEST_REQUIRE="${MANIFEST_REQUIRE:-"{\"heroku-sys/php\":\"${series}.*\"}"}" | ||
MANIFEST_CONFLICT="${MANIFEST_CONFLICT:-"{\"heroku-sys/hhvm\":\"*\"}"}" | ||
MANIFEST_EXTRA="${MANIFEST_EXTRA:-"{}"}" | ||
MANIFEST_REPLACE="${MANIFEST_REPLACE:-"{}"}" | ||
|
||
python $(dirname $BASH_SOURCE)/../../_util/include/manifest.py "heroku-sys-php-package" "heroku-sys/ext-${dep_name}" "$dep_version" "${dep_formula}.tar.gz" "$MANIFEST_REQUIRE" "$MANIFEST_CONFLICT" "$MANIFEST_REPLACE" "$MANIFEST_EXTRA" > $dep_manifest | ||
|
||
print_or_export_manifest_cmd "$(generate_manifest_cmd "$dep_manifest")" |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20121212/rdkafka-bare-1.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.5.38, libraries/librdkafka-0.9.2-RC1 | ||
|
||
source $(dirname $0)/rdkafka-bare |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/apcu-4.0.11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/apcu |
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/cassandra-bare-1.2.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26, libraries/libcassandra-2.4.2 | ||
# Build Deps: php-5.6.27 | ||
, libraries/libcassandra-2.4.2 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/cassandra-bare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/ev |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/event-2.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/event |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/imagick-3.4.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/imagick |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/memcached-bare-2.2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26, libraries/libmemcached-1.0.18 | ||
# Build Deps: php-5.6.27 | ||
, libraries/libmemcached-1.0.18 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/memcached-bare |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/mongo-1.6.14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/mongo |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/mongodb-1.1.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/mongodb |
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/oauth-1.2.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/oauth |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/phalcon-2.0.13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/phalcon |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/phalcon-3.0.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/phalcon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26, extensions/no-debug-non-zts-20131226/raphf-1.1.2 | ||
# Build Deps: php-5.6.27 | ||
, extensions/no-debug-non-zts-20131226/raphf-1.1.2 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/pq |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/raphf-1.1.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/raphf |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20131226/rdkafka-1.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: extensions/no-debug-non-zts-20131226/rdkafka-bare-1.0.0, libraries/librdkafka-0.9.2-RC1 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20131226/rdkafka-bare-1.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.27, libraries/librdkafka-0.9.2-RC1 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka-bare |
3 changes: 2 additions & 1 deletion
3
support/build/extensions/no-debug-non-zts-20131226/redis-2.2.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-5.6.26 | ||
# Build Deps: php-5.6.27 | ||
|
||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/redis |
2 changes: 1 addition & 1 deletion
2
...ions/no-debug-non-zts-20151012/apcu-5.1.5 → ...ions/no-debug-non-zts-20151012/apcu-5.1.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-7.0.11 | ||
# Build Deps: php-7.0.12 | ||
|
||
source $(dirname $0)/apcu |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
support/build/extensions/no-debug-non-zts-20151012/cassandra-bare-1.2.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php/ | ||
# Build Deps: php-7.0.11, libraries/libcassandra-2.4.2 | ||
# Build Deps: php-7.0.12, libraries/libcassandra-2.4.2 | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20121212/cassandra-bare |
Oops, something went wrong.