File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ CHANGELOG
1313 metadata object rather than the actual object used by the reader.
1414* Work around PHP ` is_readable() ` bug. Reported by Ben Roberts. GitHub
1515 #92 .
16+ * This is the first release of the extension as a PECL package.
17+ GitHub #34 .
1618
17191.6.0 (2019-12-19)
1820------------------
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ rm -fr vendor
3232
3333perl -pi -e " s/(?<=#define PHP_MAXMINDDB_VERSION \" )\d+\.\d+\.\d+(?=\" )/$version /" ext/php_maxminddb.h
3434perl -pi -e " s/(?<=\" ext-maxminddb\" : \" <)\d+.\d+.\d+(?=,)/$version /" composer.json
35+ perl -pi -e " s/(?<=<release>)\d+\.\d+\.\d+(?=<)/$version /" package.xml
36+ perl -0777 -pi -e " s{(?<=<notes>).*(?=</notes>)}{$notes }sm" package.xml
3537
3638pushd ext
3739phpize
5557echo $' \n Release notes:'
5658echo " $notes "
5759
60+ pecl package
5861
5962read -p " Push to origin? (y/n) " should_push
6063
@@ -72,3 +75,5 @@ $notes"
7275git push
7376
7477hub release create -m " $message " " $tag "
78+
79+ echo " Upload PECL package to pecl.php.net!"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <package version =" 2.0" xmlns =" http://pear.php.net/dtd/package-2.0"
3+ xmlns : tasks =" http://pear.php.net/dtd/tasks-1.0"
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : schemaLocation =" http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd" >
6+
7+ <name >maxminddb</name >
8+ <channel >pecl.php.net</channel >
9+ <summary >Reader for the MaxMind DB file format</summary >
10+ <description >This is the PHP extension for reading MaxMind DB files. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).</description >
11+ <lead >
12+ <name >Greg Oschwald</name >
13+ <user >oschwald</user >
14+ 15+ <active >yes</active >
16+ </lead >
17+ <date >2020-08-06</date >
18+ <version >
19+ <release >1.7.0</release >
20+ <api >1.7.0</api >
21+ </version >
22+ <stability >
23+ <release >stable</release >
24+ <api >stable</api >
25+ </stability >
26+ <license uri =" https://github.com/maxmind/MaxMind-DB-Reader-php/blob/master/LICENSE" >Apache License 2.0</license >
27+ <notes >
28+ First release of the maxminddb extension to PECL.
29+ </notes >
30+ <contents >
31+ <dir name =" /" >
32+ <file role =" doc" name =" LICENSE" />
33+ <file role =" doc" name =" CHANGELOG.md" />
34+ <file role =" doc" name =" README.md" />
35+
36+ <dir name =" ext" >
37+ <file role =" src" name =" config.m4" />
38+
39+ <file role =" src" name =" maxminddb.c" />
40+ <file role =" src" name =" php_maxminddb.h" />
41+
42+ <dir name =" tests" >
43+ <file role =" test" name =" 001-load.phpt" />
44+ <file role =" test" name =" 002-final.phpt" />
45+ <file role =" test" name =" 003-open-basedir.phpt" />
46+ </dir >
47+ </dir >
48+ </dir >
49+ </contents >
50+ <dependencies >
51+ <required >
52+ <php >
53+ <min >7.2.0</min >
54+ </php >
55+ <pearinstaller >
56+ <min >1.10.0</min >
57+ </pearinstaller >
58+ </required >
59+ </dependencies >
60+ <providesextension >maxminddb</providesextension >
61+ <extsrcrelease />
62+ </package >
You can’t perform that action at this time.
0 commit comments