php: fixed path
PATCH 1/1 php: fixed path
with the arrival of a new release the old php tarball moved to the museum site, Fixed SRC_URI and moved it from the inc file to the bb file so when adding the latest version there is no SRC_URI clash in the .inc file.
Also introduced INC_PR
--- recipes/php/php-native_5.3.2.bb | 7 +++++-- recipes/php/php.inc | 4 +--- recipes/php/php_5.2.13.bb | 12 ++++++++---- 3 files changed, 14 insertions(+), 9 deletions(-)
recipes/php/php-native_5.3.2.bb +5 -2
@@ -1,8 +1,11 @@ require php-native.inc -PR = "r1" +PR = "${INC_PR}.1" -SRC_URI += "file://CVE-2010-0397.patch" +SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \ + file://acinclude-xml2-config.patch \ + file://php-m4-divert.patch \ + file://CVE-2010-0397.patch" SRC_URI[src.md5sum] = "46f500816125202c48a458d0133254a4" SRC_URI[src.sha256sum] = "9a380a574adcb3a9abe3226e7c3a9bae619e8a1b90842ec2a7edf0ad92afdeda"
recipes/php/php.inc +1 -3
@@ -3,9 +3,7 @@ HOMEPAGE = "http://www.php.net" SECTION = "console/network" LICENSE = "PHP" -SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2;name=src \ - file://acinclude-xml2-config.patch \ - file://php-m4-divert.patch" +INC_PR = "r7" S = "${WORKDIR}/php-${PV}"
recipes/php/php_5.2.13.bb +9 -5
@@ -3,12 +3,16 @@ require php.inc DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \ libc-client openssl" -PR = "r7" - -SRC_URI += "file://pear-makefile.patch \ - file://imap-fix-autofoo.patch \ - file://CVE-2010-0397.patch \ +PR = "${INC_PR}.1" + +SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \ + file://acinclude-xml2-config.patch \ + file://php-m4-divert.patch \ + file://pear-makefile.patch \ + file://imap-fix-autofoo.patch \ + file://CVE-2010-0397.patch \ " + SRC_URI[src.md5sum] = "eb4d0766dc4fb9667f05a68b6041e7d1" SRC_URI[src.sha256sum] = "2b50a2535e3bb9a98cd4d1633f9452d877276c40b385915261f040d535c7eadb"
Signature · 1 line
1.6.4.2
Quoted 8 lines · Frans Meulenbroeks
with the arrival of a new release the old php tarball moved to the museum site, Fixed
SRC_URIand moved it from the inc file to the bb file so when adding the latest version there is noSRC_URIclash in the .inc file.Also introduced
INC_PRSigned-off-by Frans Meulenbroeks <[email protected]>
Quoted 74 lines
---
recipes/php/php-native_5.3.2.bb | 7 +++++-- recipes/php/php.inc | 4 +--- recipes/php/php_5.2.13.bb | 12 ++++++++----3 files changed, 14 insertions(+), 9 deletions(-)recipes/php/php-native_5.3.2.bb +0
-0@@ -1,8 +1,11 @@require php-native.inc
recipes/php/php-native_5.3.2.bb +5
-2-PR = "r1" +PR = "${INC_PR}.1" -SRC_URI += "file://CVE-2010-0397.patch" +SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \ + file://acinclude-xml2-config.patch \ + file://php-m4-divert.patch \ + file://CVE-2010-0397.patch"SRC_URI[src.md5sum] = "
46f500816125202c48a458d0133254a4" SRC_URI[src.sha256sum] = "9a380a574adcb3a9abe3226e7c3a9bae619e8a1b90842ec2a7edf0ad92afdeda"recipes/php/php.inc +0
-0@@ -3,9 +3,7 @@ HOMEPAGE = "http://www.php.net"SECTION = "console/network"
LICENSE = "PHP"recipes/php/php.inc +1
-3-SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2;name=src \ - file://acinclude-xml2-config.patch \ - file://php-m4-divert.patch" +INC_PR = "r7"S = "${WORKDIR}/php-${PV}"
recipes/php/php_5.2.13.bb +0
-0@@ -3,12 +3,16 @@ require php.inc DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \libc-client openssl"
recipes/php/php_5.2.13.bb +8
-5-PR = "r7" - -SRC_URI += "file://pear-makefile.patch \ - file://imap-fix-autofoo.patch \ - file://CVE-2010-0397.patch \ +PR = "${INC_PR}.1" + +SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \ + file://acinclude-xml2-config.patch \ + file://php-m4-divert.patch \ + file://pear-makefile.patch \ + file://imap-fix-autofoo.patch \ + file://CVE-2010-0397.patch \"
+
SRC_URI[src.md5sum] = "eb4d0766dc4fb9667f05a68b6041e7d1" SRC_URI[src.sha256sum] = "2b50a2535e3bb9a98cd4d1633f9452d877276c40b385915261f040d535c7eadb"--
1.6.4.2_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel