projects
/
pharext
/
replicator.pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
ws
[pharext/replicator.pharext.org]
/
bin
/
pecl+sig
diff --git
a/bin/pecl+sig
b/bin/pecl+sig
index 7c6b9af7ec5acb99b86aee0e3332d4a28aff458c..02c3d1589168a54230e432390b9d097d12a7f6c9 100755
(executable)
--- a/
bin/pecl+sig
+++ b/
bin/pecl+sig
@@
-24,10
+24,11
@@
function fail($pkg, $ver, $skp, $fmt) {
}
function sign($pkg, $ext) {
}
function sign($pkg, $ext) {
- $fmt = "%s/%s-
sign
%s %s%s";
+ $fmt = "%s/%s-
%s
%s %s%s";
foreach (["rsa", "gpg"] as $sig) {
foreach (["", ".gz", ".bz2"] as $typ) {
foreach (["rsa", "gpg"] as $sig) {
foreach (["", ".gz", ".bz2"] as $typ) {
- passthru(sprintf($fmt, __DIR__, $sig, $pkg, $ext, $typ));
+ passthru(sprintf($fmt, __DIR__, $sig, "sign", $pkg, $ext, $typ));
+ passthru(sprintf($fmt, __DIR__, $sig, "vrfy", $pkg, $ext, $typ));
}
}
}
}
}
}
@@
-72,10
+73,10
@@
function work($url, $dir) {
require_once __DIR__."/../vendor/autoload.php";
$packager = new pharext\Packager;
$packager->run(5, [
require_once __DIR__."/../vendor/autoload.php";
$packager = new pharext\Packager;
$packager->run(5, [
- $_SERVER["argv"][0],
- "-qps",
- $url,
- "-Zzd",
+ $_SERVER["argv"][0],
+ "-qps",
+ $url,
+ "-Zzd",
$dir
]);
};
$dir
]);
};
@@
-101,14
+102,14
@@
if (($sxe = simplexml_load_file("https://pecl.php.net/feeds/$what.rss"))) {
break;
}
}
break;
}
}
-
+
if (count($pids) > 5) {
wait($pids);
}
}
while (wait($pids))
;
if (count($pids) > 5) {
wait($pids);
}
}
while (wait($pids))
;
-
+
}
}