Commit Graph

662 Commits

Author SHA1 Message Date
Christoph M. Becker
7f72dfceff Upload to two FTP servers
We are planning to migrate windows.php.net to a new server.  During the
migration period, we want the uploads to go to both the current and the
new machine.  We accomplish that by having an additional credentials
file (credentials_ftps2.php), and running the upload routines twice.
2021-06-07 16:28:44 +02:00
mikemike
3f14b57c08 Fix typo in README (#16) 2021-04-12 15:42:51 +02:00
Christoph M. Becker
c99f13f21a Enable simple_kafka_client builds 2021-04-12 12:06:15 +02:00
Christoph M. Becker
cb821eec81 Canonical php.net repos are on Github now
Cf. <https://news-web.php.net/php.internals/113838>.

Signed-off-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-03-29 18:25:44 +02:00
Christoph M. Becker
a56f95420d Prepare for LuaSandbox builds
Since LuaSandbox is not compatible with latest Lua versions[1], we use
lua 5.1.5.  It should be noted that the lua-5.1.5 packages are not
suitable to build the lua extension.

[1] <https://bugs.php.net/80850>
2021-03-11 13:18:55 +01:00
Christoph M. Becker
a253b3d4d9 Upload real_name packages to proper location
We need to do this (and also have to rename the packages), so that they
are linked as DLLs.  We do not rename the log files, though.
2021-01-25 19:31:19 +01:00
Christoph M. Becker
1336ebfa65 Add support for building maxminddb 2021-01-08 17:01:04 +01:00
Christoph M. Becker
3ba6e904ef PHP 8.0 is GA, 7.2 is EOL 2021-01-03 23:35:52 +01:00
Christoph M. Becker
2511ec3a18 Also build oci8_19 2020-12-23 11:42:01 +01:00
Christoph M. Becker
c2d77d125a PECL/pecl_http no longer supports PECL/propro as of PHP 8.0.0 2020-12-22 18:16:56 +01:00
Christoph M. Becker
db1ec78b56 Enable PECL/ip2proxy builds 2020-10-23 16:19:17 +02:00
Christoph M. Becker
450ab890e4 Be more resilient
PECL builds do not generate stats, so we must not assume they do.
2020-10-15 15:27:09 +02:00
Christoph M. Becker
da9fd19695 PHP 8.0 has been branched; update PECL config 2020-10-15 14:35:15 +02:00
Shivam Mathur
6bdb69bbb5 Add config for PHP 8.0 2020-10-15 13:48:01 +02:00
Christoph M. Becker
7bc1c7900f Add general support for exporting from a Github mirror
This is a follow up on the quick fix for exporting from the php-src
Github mirror[1].  Instead of hard-coding everything in the code, we
introduce a configurable `gh_url`, and use it if given.  We cannot use
the repository URL, though, because the toplevel folder inside the
downloaded archive would have a different name (the shortened revision
number is expanded again); downloading from the codeload subdomain
gives the desired result.

[1] <9e1ca1002a>
2020-09-07 13:42:26 +02:00
Christoph M. Becker
9e1ca1002a Get php-src snapshots from Github
Due to server overload, the snapshot downloads from http://git.php.net/
have been recently disabled.  Therefore, we have to fetch the snapshots
from Github.  Unfortunately, rmtools expect everything available via
GitWeb, so we can't just change the configuration in the respective INI
files, so we hack around by hard-coding the download URL.  Even worse,
`wget()` apparently does not yet support redirects, so we use the
codeload subdomain directly.

For now this seems to resolve the snapshot build issues, but needs to
be properly resolved soonish.
2020-09-06 14:01:23 +02:00
Christoph M. Becker
ef3a08671f Enable PECL/zstd builds 2020-06-01 15:00:45 +02:00
Christoph M. Becker
560a116e68 Support extensions with config.w32 in subfolder
Some extensions have the actual extension code in a subfolder of the
toplevel package folder, and as such can't currently be built.  For
instance, xhprof has `xhprof-x.y.z/extension/config.w32`, but we only
check for `xhprof-x.y.z/config.w32` and `config.w32`.

Changing `PeclExt::tmp_extract_path` to point to the subfolder which
contains ' config.w32` wouldn't work, though, because then the folders
in package.xml won't match anymore.  Therefore, we attempt to copy the
whole subfolder one level up, and resume the build process.
2020-04-12 13:55:11 +02:00
Christoph M. Becker
a630bada1e Increase allowed run time for pecl_next task
2 hours are not sufficient for some of the larger packages (such as
grpc and mongodb), so we increase the timeout to 3 hours.
2020-02-05 12:35:28 +01:00
Christoph M. Becker
296b18bb44 Fix #77728: pgort140.DLL missing
If a PGO build is requested, but a build error occurs after the PGI
build has succeeded and before the PGO build has even been attempted
(for instance, if the PGO training fails), we may get a bogus archive
containing the PGI build, without any hint.

We apply a quick fix which bails out early, because if the PGI build
failed, it makes no sense to do the PGO build, and if the binaries
couldn't be built, it makes no sense to create the archive.  However,
we still allow the PGO training to fail for snapshot builds.
2019-12-19 11:24:30 +01:00
Christoph M. Becker
43e2c84542 Deactivate PECL/pdflib builds for now
Until the license issue[1] is resolved, we shouldn't even attempt to
build the extension.

[1] <https://news-web.php.net/php.pecl.dev/16495>
2019-12-19 10:46:49 +01:00
Christoph M. Becker
8a8dc9ac8a PHP 7.4 is GA, 7.1 is EOL 2019-12-03 10:18:58 +01:00
Christoph M. Becker
f43aa6acf8 Increase allowed run time for pecl_next task
There are two `<ExecutionTimeLimit>`s; one in `<Triggers>` and one in
`<Settings>`.  These better match; otherwise the shorter period is
effective.
2019-11-12 15:10:28 +01:00
Christoph M. Becker
6a54106837 Fix locale-depending timestamp generation
According to commit 6baf0ef[1], but this time for PECL discord builds.

[1] <http://git.php.net/?p=web/rmtools.git;a=commit;h=6baf0ef19d94b0d10bb0bdc52e01958e8adb99ce>
2019-10-30 11:51:33 +01:00
Christoph M. Becker
dfe8a0d96d Add mysqlnd_azure configuration 2019-10-18 11:07:44 +02:00
Christoph M. Becker
a40d905af8 Fix locale-depending timestamp generation
According to commit 6baf0ef[1], but this time for PECL builds.

[1] <http://git.php.net/?p=web/rmtools.git;a=commit;h=6baf0ef19d94b0d10bb0bdc52e01958e8adb99ce>
2019-10-18 11:03:46 +02:00
Anatol Belski
fa00b701fa Enforce shared mcrypt build 2019-09-17 14:39:40 +02:00
Christoph M. Becker
0e66d53902 Add mcrypt config 2019-09-17 14:29:34 +02:00
Anatol Belski
894da41179 Use vc15 for snaps 2019-08-19 13:20:36 +02:00
Christoph M. Becker
1c9eb963e3 Switch PHP 7.4 builds back to VC15 2019-08-12 11:05:29 +02:00
Anatol Belski
fc334e582f Adjust snap script 2019-07-31 13:41:01 +02:00
Anatol Belski
63163b94e9 Add 7.4 configs for PECL 2019-07-31 13:27:30 +02:00
Anatol Belski
f838cf9f2e Fix ini 2019-07-11 12:57:16 +02:00
Anatol Belski
badfc05984 Add config for http_message 2019-07-11 12:51:04 +02:00
Anatol Belski
51891415f5 Revert runkit7 config attempts for now 2019-05-22 15:58:14 +02:00
Christoph M. Becker
496c23ce7f Move php74 and master snaps to vs16 2019-05-21 12:46:47 +02:00
Christoph M. Becker
793e67a7c7 Remove build-breaking --without-interbase
ext/interbase has been removed, so configuring --without-interbase
broke the build.
2019-05-07 23:41:23 +02:00
Anatol Belski
d61247dc16 Fix uv options 2019-05-03 14:04:55 +02:00
Christoph M. Becker
471e412dba Back to dev 2019-04-08 15:08:00 +02:00
Christoph M. Becker
825a1cf54a Prepare 2.0.0beta2 rmtools-2.0.0beta2 2019-04-08 15:05:09 +02:00
Christoph M. Becker
d3dde81238 Support older PHP SDKs
`PHP_SDK_VC` has been renamed to `PHP_SDK_VS` only as of
php-sdk-2.2.0beta4; therefore we add a fallback on `PHP_SDK_VC` to
support older versions.
2019-04-08 13:51:03 +02:00
Christoph M. Becker
9bd1b4027a Avoid --enable-runkit7 2019-04-08 13:15:32 +02:00
Christoph M. Becker
0c6604b85e Add config for runkit7
The extension is named runkit7, but for BC reasons is enabled with
`--enable-runkit`.
2019-04-08 13:13:00 +02:00
Christoph M. Becker
d1f9fe6d80 Rename VC to VS
We're skipping the Pickle stuff for now, since it's not even up-to-date
for VC15.  We also keep the VC prefix for some classes, such as
`BuildVC`.
2019-04-05 13:10:37 +02:00
Christoph M. Becker
7780e97d8a Add config for dbase 2019-04-04 11:17:16 +02:00
Christoph M. Becker
3798a83536 Add PECL/base58 2019-04-03 12:43:18 +02:00
Christoph M. Becker
fe29aaffc7 Disable ext/interbase
Commit bd73607 of php-src[1] broke the ext/ibase build; following Joe's
reasoning[2] we disable the ext/interbase builds (at least for now).

[1] <http://git.php.net/?p=php-src.git;a=commit;h=bd73607b9e4811e7caa9d2ff4d227626ffd35dab>
[2] <https://github.com/php/php-src/pull/3976#issue-263815945>
2019-03-26 10:33:51 +01:00
Christoph M. Becker
6baf0ef19d Fix locale-depending timestamp generation
This resolves <https://github.com/php/web-rmtools/issues/5>.
2019-03-24 11:56:02 +01:00
Mat Berchtold
71c53d0daa Add ini for php 7.4 snaps 2019-03-22 17:29:03 +01:00
Christoph M. Becker
57a6c768d4 RMTOOLS are for Windows only 2019-03-22 09:47:14 +01:00