Add meta-webserver
cover Add meta-webserver
So finally I have got this into a working state; apologies for the delay. There were a number of issues affecting cross-compilation as well as some problems with the initial configuration; these should now be addressed. We may wish to look at a more standard directory layout for Apache as the default one doesn't seem to be used by most distributions; we can look at this later - for now let's get the recipes out there so people can try them out.
I know there are a few people waiting to submit additional recipes for this layer and I expect we will also want to look at moving some web-server related recipes from meta-oe into here at some point in the near future.
The following changes since commit 7bfff4b1d6b0067ddabf2474320e3e78795b2b4f:
uhd,fuse: Fix misplaced quotations (2012-09-28 22:50:42 +0200)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib paule/meta-webserver-add
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/meta-webserver-add
Paul Eggleton (6):
Add meta-webserver layer
apache2: add from OE-Classic
modphp: add from OE-Classic
apache2: update to version 2.4.2 and fix
modphp: update to 5.3.14 and fix
xdebug: add new recipe
meta-webserver/COPYING.MIT | 17 + meta-webserver/README | 37 +++ meta-webserver/conf/layer.conf | 13 + .../apache2-2.4.2/apache-configure_perlbin.patch | 37 +++ .../apache2-2.4.2/apache-ssl-ltmain-rpath.patch | 76 +++++ .../apache2/apache2-2.4.2/fix-libtool-name.patch | 55 +++ .../apache2-2.4.2/httpd-2.4.1-corelimit.patch | 37 +++ .../apache2/apache2-2.4.2/httpd-2.4.1-export.patch | 22 ++ .../apache2-2.4.2/httpd-2.4.1-selinux.patch | 63 ++++ .../apache2-2.4.2/httpd-2.4.2-r1326980+.patch | 74 +++++ .../apache2-2.4.2/httpd-2.4.2-r1327036+.patch | 87 +++++ .../apache2-2.4.2/httpd-2.4.2-r1332643.patch | 260 +++++++++++++++ .../apache2-2.4.2/httpd-2.4.2-r1337344+.patch | 350 ++++++++++++++++++++ .../apache2-2.4.2/httpd-2.4.2-restart.patch | 35 ++ .../replace-lynx-to-curl-in-apachectl-script.patch | 52 +++ .../apache2/apache2-2.4.2/server-makefile.patch | 11 + .../recipes-httpd/apache2/apache2-native_2.4.2.bb | 43 +++ .../recipes-httpd/apache2/apache2_2.4.2.bb | 130 ++++++++ meta-webserver/recipes-httpd/apache2/files/init | 63 ++++ .../recipes-php/modphp/files/70_mod_php5.conf | 12 + .../recipes-php/modphp/files/configure.patch | 11 + .../recipes-php/modphp/files/pthread-check.patch | 64 ++++ meta-webserver/recipes-php/modphp/modphp5.inc | 91 +++++ meta-webserver/recipes-php/modphp/modphp_5.3.14.bb | 5 + meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29 ++ 25 files changed, 1674 insertions(+) create mode 100644 meta-webserver/COPYING.MIT create mode 100644 meta-webserver/README create mode 100644 meta-webserver/conf/layer.conf create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-configure_perlbin.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-ssl-ltmain-rpath.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/fix-libtool-name.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-corelimit.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-export.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-selinux.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1327036+.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1332643.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1337344+.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/replace-lynx-to-curl-in-apachectl-script.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/server-makefile.patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb create mode 100644 meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb create mode 100755 meta-webserver/recipes-httpd/apache2/files/init create mode 100644 meta-webserver/recipes-php/modphp/files/70_mod_php5.conf create mode 100644 meta-webserver/recipes-php/modphp/files/configure.patch create mode 100644 meta-webserver/recipes-php/modphp/files/pthread-check.patch create mode 100644 meta-webserver/recipes-php/modphp/modphp5.inc create mode 100644 meta-webserver/recipes-php/modphp/modphp_5.3.14.bb create mode 100644 meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
Signature · 1 line
1.7.9.5
PATCH 1/6 Add meta-webserver layer
Add a layer for web servers, web-based applications and other related software.
--- meta-webserver/COPYING.MIT | 17 +++++++++++++++++ meta-webserver/README | 37 +++++++++++++++++++++++++++++++++++++ meta-webserver/conf/layer.conf | 13 +++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 meta-webserver/COPYING.MIT create mode 100644 meta-webserver/README create mode 100644 meta-webserver/conf/layer.conf
meta-webserver/COPYING.MIT new file +17 -0
@@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE.
meta-webserver/README new file +37 -0
@@ -0,0 +1,37 @@ +meta-webserver +============== + +This layer provides support for building web servers, web-based +applications and related software. + + + +Dependencies +------------ + +This layer depends on: + +URI: git://git.openembedded.org/openembedded-core +branch: master +revision: HEAD + + + +Maintenance +----------- + +Send patches / pull requests to [email protected] +with '[meta-webserver]' in the subject. + +Layer maintainer: Paul Eggleton <[email protected]> + + +License +------- + +All metadata is MIT licensed unless otherwise stated. Source code included +in tree for individual recipes is under the LICENSE stated in each recipe +(.bb file) unless otherwise stated. + +This README document is Copyright (C) 2012 Intel Corporation. +
meta-webserver/conf/layer.conf new file +13 -0
@@ -0,0 +1,13 @@ +# Layer configuration for meta-webserver layer +# Copyright 2012 Intel Corporation + +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have various recipe-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "webserver" +BBFILE_PATTERN_webserver := "^${LAYERDIR}/" +BBFILE_PRIORITY_webserver = "6" +
Signature · 1 line
1.7.9.5
PATCH 2/6 apache2: add from OE-Classic
In reply to Paul EggletonNo modifications in this commit (apart from not copying some unneeded files).
--- .../apache2/apache2-2.2.17/server-makefile-patch | 11 ++ .../recipes-httpd/apache2/apache2-native_2.2.17.bb | 44 ++++++++ .../recipes-httpd/apache2/apache2_2.2.17.bb | 119 ++++++++++++++++++++ meta-webserver/recipes-httpd/apache2/files/init | 70 ++++++++++++ 4 files changed, 244 insertions(+) create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb create mode 100644 meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb create mode 100755 meta-webserver/recipes-httpd/apache2/files/init
meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch new file +11 -0
@@ -0,0 +1,11 @@ +--- http-2.0.54/server/Makefile.in-old 2005-12-20 13:26:56.000000000 -0500 ++++ http-2.0.54/server/Makefile.in 2005-12-20 13:27:22.000000000 -0500 +@@ -27,7 +27,7 @@ + $(LINK) $(EXTRA_LDFLAGS) $(gen_test_char_OBJECTS) $(EXTRA_LIBS) + + test_char.h: gen_test_char +- ./gen_test_char > test_char.h ++ gen_test_char > test_char.h + + util.lo: test_char.h +
meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb new file +44 -0
44 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb new file +119 -0
119 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/files/init new file +70 -0
70 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Re: [meta-webserver][PATCH 2/6] apache2: add from OE-Classic
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 12 lines
No modifications in this commit (apart from not copying some unneeded files).
Signed-off-by Paul Eggleton <[email protected]> ---.../apache2/apache2-2.2.17/server-makefile-patch | 11 ++ .../recipes-httpd/apache2/apache2-native_2.2.17.bb | 44 ++++++++ .../recipes-httpd/apache2/apache2_2.2.17.bb | 119++++++++++++++++++++ meta-webserver/recipes-httpd/apache2/files/init |
70 ++++++++++++ 4 files changed, 244 insertions(+) create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb
Quoted 9 lines
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb create mode 100755 meta-webserver/recipes-httpd/apache2/files/init
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch b/meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch
new file mode 100644
Quoted 4 lines
index 0000000..f1349cb ---
/dev/null+++ b/meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch
@@ -0,0 +1,11 @@
Quoted 19 lines
+--- http-2.0.54/server/Makefile.in-old 2005-12-20 13:26:56.000000000
-0500 ++++ http-2.0.54/server/Makefile.in 2005-12-20 13:27:22.000000000
-0500 +@@ -27,7 +27,7 @@ + $(LINK) $(EXTRA_LDFLAGS)
$(gen_test_char_OBJECTS) $(EXTRA_LIBS) + +test_char.h:gen_test_char+-
./gen_test_char >test_char.h++gen_test_char>test_char.h+ + util.lo:test_char.h+ diff --git a/meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb b/meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb new file mode 100644 index 0000000..66b326d ---/dev/null+++ b/meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb @@ -0,0 +1,44 @@ +SECTION = "net" +DEPENDS = "expat pcre" + +inherit native + +PR = "r0" +SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2"
+ +S = "${WORKDIR}/httpd-${PV}" + +do_configure () { + ./configure
--with-included-apr --prefix=${prefix} +} + +do_install () { + install -d
${D}${bindir} ${D}${libdir} + cp server/gen_test_char ${D}${bindir} + cp
srclib/apr/apr-1-config ${D}${bindir} + cp srclib/apr-util/apu-1-config
${D}${bindir} + cp support/apxs ${D}${bindir} + chmod 755
${D}${bindir}/apxs + install -d ${D}/usr/build + cp build/*.mk
${D}/usr/build + cpbuild/instdso.sh${D}/usr/build + cp .libs/httpd
Quoted 8 lines
${D}${bindir} + + (cd srclib/apr/.libs; tar -cf - libapr-*.so* ) | +
(cd ${D}${libdir}; tar -xf - ) + (cd srclib/apr-util/.libs; tar -cf -
libaprutil-*.so* ) | + (cd ${D}${libdir}; tar -xf - ) + + install -d
${D}${includedir}/apache2 + cpinclude/*${D}${includedir}/apache2 + cpos/unix/os.h${D}${includedir}/apache2 + cpos/unix/unixd.h
${D}${includedir}/apache2 + + cp support/envvars-std
${D}${bindir}/envvars + chmod 755 ${D}${bindir}/envvars +} +
+NATIVE_INSTALL_WORKS = "1"
Drop that
Quoted 11 lines
+ +SRC_URI[md5sum] = "
16eadc59ea6b38af33874d300973202e" +SRC_URI[sha256sum] = "868af11e3ed8fa9aade15241ea4f51971b3ef71104292ca2625ef2065e61fb04" diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb new file mode 100644 index 0000000..13012a7 ---/dev/null+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb @@ -0,0 +1,119 @@ +SECTION = "net" +DESCRIPTION = "The apache v2 web server" +DEPENDS = "libtool-native apache2-native openssl expat pcre apr apr-util"+RDEPENDS_${PN} += "openssl"
That should go below do_install
Quoted 1 line
+ +PR = "r0"
that's the default, drop that
Quoted 5 lines
+SRC_URI = "http://apache.mirrors.tds.net/httpd/httpd-${PV}.tar.bz2 \ + file://apr-sockets-patch;apply=yes \ + file://configure-patch;apply=yes \ +
file://server-makefile-patch;apply=yes \ + file://configure.in.patch
\ + file://apr.h.in.patch \ + file://init"
whitespace errors
Quoted 16 lines
+ +# +# over-ride needed since apache unpacks into httpd +# +S = "${WORKDIR}/httpd-${PV}" + +# +# implications - autotools defines suitable
do_configure,do_install, etc. +# update-rc.d adds hooks for rc-update. +# +# +inherit autotools update-rc.d + +# +# implications - used by update-rc.d scripts +# +INITSCRIPT_NAME = "apache2"(quoted diff) +2
-0+INITSCRIPT_PARAMS = "defaults 91 20" +LEAD_SONAME = "libapr-1.so.0" + +CONFFILES_${PN} = "${sysconfdir}/${PN}/httpd.conf \ +${sysconfdir}/${PN}/magic \ + ${sysconfdir}/${PN}/mime.types \ +
${sysconfdir}/init.d/${PN} " + +PACKAGES = "${PN}-doc ${PN}-dev ${PN}-dbg ${PN}" + +# we override here rather than append so that .so links are +# included in the runtime package rather than here (-dev) +# and to get build, icons, error into the -dev package +FILES_${PN}-dev =
"${datadir}/${PN}/build \ + ${datadir}/${PN}/icons \ +
${datadir}/${PN}/error \ + ${bindir}/apr-config ${bindir}/apu-config \ +
${libdir}/apr*.exp \ + ${includedir}/${PN} \ + ${libdir}/*.la \ +
${libdir}/*.a" + +# manual to manual +FILES_${PN}-doc += "
Quoted 8 lines
${datadir}/${PN}/manual" + +# +# override this too - here is the default, less datadir +# +FILES_${PN} = "${bindir} ${sbindir} ${libexecdir}
${libdir}/lib*.so.* ${sysconfdir} \ + ${sharedstatedir} ${localstatedir}
/bin /sbin/lib/*.so*\ + ${libdir}/${PN}" + +# we want htdocs and
cgi-bin to go with the binary +FILES_${PN} += "${datadir}/${PN}/htdocs ${datadir}/${PN}/cgi-bin" + +#make sure the lone .so links also get wrapped in the base package +FILES_${PN} += " ${libdir}/lib*.so ${libdir}/pkgconfig/*"
All that package related stuff goes below do_install
Quoted 12 lines
+CFLAGS_append = " -DPATH_MAX=4096" +CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl " +EXTRA_OECONF = "--enable-ssl \ +
--with-ssl=${STAGING_LIBDIR}/.. \ + --with-expat=${STAGING_LIBDIR}/.. \(quoted diff) +1
-2+ --with-pcre=${STAGING_LIBDIR}/.. \ + --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ + --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ + --enable-info\ + --enable-rewrite \ + --with-dbm=sdbm \ + --with-berkeley-db=no \ +
--localstatedir=/var/${PN} \ + --with-gdbm=no \ + --with-ndbm=no \ +
--includedir=${includedir}/${PN} \ + --datadir=${datadir}/${PN} \ +
--sysconfdir=${sysconfdir}/${PN} \ + ap_cv_void_ptr_lt_long=no \ + " +(quoted diff) +2
-0+# +# here we over-ride the autotools provided do_configure. +# + +do_configure_prepend() { + sed -e 's,libtool
Quoted 2 lines
libtool15,${HOST_SYS}-libtool libtool115,' -i
${S}/srclib/apr/build/buildcheck.sh+}
is that 15 -> 115 intended?
This one is missing the needed LSB headers:
Quoted 1 line
+++ b/meta-webserver/recipes-httpd/apache2/files/init
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQbBDGMkyGM64RGpERAtMQAJ9Y3aXxVBQGFRhwiMj80yzB6o9BKgCgudTi V+Fbc8CKmudBL7hssYBOkV8=
=HkLy
-----END PGP SIGNATURE-----
Re: [meta-webserver][PATCH 2/6] apache2: add from OE-Classic
Quoted 3 lines · On Wednesday 03 October 2012 12:17:42 Koen Kooi wrote:
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 2 lines
No modifications in this commit (apart from not copying some unneeded files).
As above this patch is intended to add the files as they existed in OE-Classic so that the differences can be seen. Updates and tidying are in the commit following.
Quoted 3 lines
Quoted 1 line
+NATIVE_INSTALL_WORKS = "1"
Drop that
Already dropped in the patch following.
Quoted 10 lines
Quoted 10 lines
+ +SRC_URI[md5sum] = "
16eadc59ea6b38af33874d300973202e" +SRC_URI[sha256sum] = "868af11e3ed8fa9aade15241ea4f51971b3ef71104292ca2625ef2065e61fb04" diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb new file mode 100644 index 0000000..13012a7 ---/dev/null+++ b/meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb @@ -0,0 +1,119 @@ +SECTION = "net" +DESCRIPTION = "The apache v2 web server" +DEPENDS = "libtool-native apache2-native openssl expat pcre apr apr-util"
Quoted 7 lines
Quoted 1 line
+RDEPENDS_${PN} += "openssl"
That should go below
do_installQuoted 1 line
+ +PR = "r0"
that's the default, drop that
I'm sorry, but for reasons I've already stated on several occasions, I won't leave this out in any recipe in meta-webserver, nor anywhere else where I'm the maintainer.
Given that you often complain about people forgetting to bump PR, why do you insist that people should remove PR = "r0" when having it there would be at least slightly helpful in that regard?
Quoted 7 lines
Quoted 5 lines
+SRC_URI = "http://apache.mirrors.tds.net/httpd/httpd-${PV}.tar.bz2 \ + file://apr-sockets-patch;apply=yes \ + file://configure-patch;apply=yes \ +
file://server-makefile-patch;apply=yes \ + file://configure.in.patch
\ + file://apr.h.in.patch \ + file://init"whitespace errors
Already fixed in the patch following.
Quoted 11 lines
Quoted 11 lines
+ +# +# over-ride needed since apache unpacks into httpd +# +S = "${WORKDIR}/httpd-${PV}" + +# +# implications - autotools defines suitable
do_configure,do_install, etc. +# update-rc.d adds hooks for rc-update. +# +# +inherit autotools update-rc.d + +# +# implications - used by update-rc.d scripts +# +INITSCRIPT_NAME = "apache2"(quoted diff) +2
-0+INITSCRIPT_PARAMS = "defaults 91 20" +LEAD_SONAME = "libapr-1.so.0" + +CONFFILES_${PN} = "${sysconfdir}/${PN}/httpd.conf \ +${sysconfdir}/${PN}/magic \ + ${sysconfdir}/${PN}/mime.types \ +
${sysconfdir}/init.d/${PN} " + +PACKAGES = "${PN}-doc ${PN}-dev ${PN}-dbg ${PN}" + +# we override here rather than append so that .so links are +# included in the runtime package rather than here (-dev) +# and to get
Quoted 8 lines
Quoted 8 lines
build, icons, error into the -dev package +FILES_${PN}-dev =
"${datadir}/${PN}/build \ + ${datadir}/${PN}/icons \ +
${datadir}/${PN}/error \ + ${bindir}/apr-config ${bindir}/apu-config \ +
${libdir}/apr*.exp \ + ${includedir}/${PN} \ + ${libdir}/*.la \ +
${libdir}/*.a" + +# manual to manual +FILES_${PN}-doc += " ${datadir}/${PN}/manual" + +# +# override this too - here is the default, less datadir +# +FILES_${PN} = "${bindir} ${sbindir} ${libexecdir}
${libdir}/lib*.so.* ${sysconfdir} \ + ${sharedstatedir}
${localstatedir}
Quoted 7 lines
Quoted 5 lines
/bin /sbin
/lib/*.so*\ + ${libdir}/${PN}" + +# we want htdocs and
cgi-bin to go with the binary +FILES_${PN} += "${datadir}/${PN}/htdocs ${datadir}/${PN}/cgi-bin" + +#make sure the lone .so links also get wrapped in the base package +FILES_${PN} += " ${libdir}/lib*.so ${libdir}/pkgconfig/*"All that package related stuff goes below
do_install
OK, now fixed in the branch.
Quoted 3 lines
Quoted 3 lines
+CFLAGS_append = " -DPATH_MAX=4096" +CFLAGS_prepend = "-I${STAGING_INCDIR}/openssl " +EXTRA_OECONF = "--enable-ssl \ +
--with-ssl=${STAGING_LIBDIR}/.. \ + --with-expat=${STAGING_LIBDIR}/..
\
Quoted 4 lines
Quoted 4 lines
(quoted diff) +1
-2+ --with-pcre=${STAGING_LIBDIR}/.. \ + --with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ + --with-apr-util=${STAGING_BINDIR_CROSS}/apu-1-config \ + --enable-info\ + --enable-rewrite \ + --with-dbm=sdbm \ + --with-berkeley-
db=no \ +
Quoted 3 lines
Quoted 3 lines
--localstatedir=/var/${PN} \ + --with-gdbm=no \ + --with-ndbm=no \ +
--includedir=${includedir}/${PN} \ + --datadir=${datadir}/${PN} \ +
--sysconfdir=${sysconfdir}/${PN} \ + ap_cv_void_ptr_lt_long=no \ +
" +
Quoted 6 lines
Quoted 4 lines
(quoted diff) +2
-0+# +# here we over-ride the autotools provided do_configure. +# + +do_configure_prepend() { + sed -e 's,libtoollibtool15,${HOST_SYS}-libtool libtool115,' -i
${S}/srclib/apr/build/buildcheck.sh+}is that 15 -> 115 intended?
This was dropped in the following patch; the file being modified is no longer there in 2.4.
Quoted 2 lines
This one is missing the needed LSB headers:
Quoted 1 line
+++ b/meta-webserver/recipes-httpd/apache2/files/init
Fixed in the branch.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-webserver][PATCH 2/6] apache2: add from OE-Classic
Op 3 okt. 2012, om 13:28 heeft Paul Eggleton <[email protected]> het volgende geschreven:
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines
+ +PR = "r0"
that's the default, drop that
Quoted 7 lines
I'm sorry, but for reasons I've already stated on several occasions, I won't leave this out in any recipe in meta-webserver, nor anywhere else where I'm the maintainer.
Given that you often complain about people forgetting to bump PR, why do you insist that people should remove PR = "r0" when having it there would be at least slightly helpful in that regard?
I haven't seen any evidence that having PR = r0 helps people with that. Have a look at all the patches that were posted with missing PR bumps, they almost all have PR present.
Re: [meta-webserver][PATCH 2/6] apache2: add from OE-Classic
Quoted 1 line · On Wednesday 03 October 2012 13:41:38 Koen Kooi wrote:
Op 3 okt. 2012, om 13:28 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
+ +PR = "r0"
that's the default, drop that
I'm sorry, but for reasons I've already stated on several occasions, I won't leave this out in any recipe in meta-webserver, nor anywhere else where I'm the maintainer.
Quoted 7 lines
Quoted 3 lines
Given that you often complain about people forgetting to bump PR, why do you insist that people should remove PR = "r0" when having it there would be at least slightly helpful in that regard?
I haven't seen any evidence that having PR = r0 helps people with that. Have a look at all the patches that were posted with missing PR bumps, they almost all have PR present.
It can't hurt, though. It certainly helps me to remember.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
PATCH 3/6 modphp: add from OE-Classic
In reply to Paul EggletonNo modifications in this commit (apart from not copying some unneeded files).
--- .../recipes-php/modphp/files/70_mod_php5.conf | 12 ++++ .../recipes-php/modphp/files/configure.patch | 11 ++++ meta-webserver/recipes-php/modphp/modphp5.inc | 66 ++++++++++++++++++++ meta-webserver/recipes-php/modphp/modphp_5.1.6.bb | 5 ++ 4 files changed, 94 insertions(+) create mode 100644 meta-webserver/recipes-php/modphp/files/70_mod_php5.conf create mode 100644 meta-webserver/recipes-php/modphp/files/configure.patch create mode 100644 meta-webserver/recipes-php/modphp/modphp5.inc create mode 100644 meta-webserver/recipes-php/modphp/modphp_5.1.6.bb
meta-webserver/recipes-php/modphp/files/70_mod_php5.conf new file +12 -0
@@ -0,0 +1,12 @@ +# vim: ft=apache sw=4 ts=4 +<IfDefine PHP5> + # Load the module first + <IfModule !sapi_apache2.c> + LoadModule php5_module lib/apache2/modules/libphp5.so + </IfModule> + + # Set it to handle the files + AddHandler php5-script .php .phtml .php3 .php4 .php5 + AddType application/x-httpd-php-source .phps + DirectoryIndex index.html index.html.var index.php index.phtml +</IfDefine>
meta-webserver/recipes-php/modphp/files/configure.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- php-5.1.6/configure.old 2006-09-12 07:54:14.000000000 -0700 ++++ php-5.1.6/configure 2006-09-12 07:54:37.000000000 -0700 +@@ -14715,8 +14715,6 @@ + + + +- unset ac_cv_func_dlopen +- unset ac_cv_func___dlopen + unset found + + echo $ac_n "checking for dlopen""... $ac_c" 1>&6
meta-webserver/recipes-php/modphp/modphp5.inc new file +66 -0
66 lines not on this page · raw message
meta-webserver/recipes-php/modphp/modphp_5.1.6.bb new file +5 -0
@@ -0,0 +1,5 @@ +include modphp5.inc +PR ='r3' + +SRC_URI[md5sum] = "08e423aa314369d4392a36b3f7246afc" +SRC_URI[sha256sum] = "3e9510ce715f28b7e6b803fcdadb73b37c83792c0b5e1e9bcb066ab972649996"
Signature · 1 line
1.7.9.5
Re: [meta-webserver][PATCH 3/6] modphp: add from OE-Classic
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 14 lines
No modifications in this commit (apart from not copying some unneeded files).
Signed-off-by Paul Eggleton <[email protected]> ---.../recipes-php/modphp/files/70_mod_php5.conf | 12 ++++ .../recipes-php/modphp/files/configure.patch | 11 ++++ meta-webserver/recipes-php/modphp/modphp5.inc | 66++++++++++++++++++++ meta-webserver/recipes-php/modphp/modphp_5.1.6.bb | 5 ++ 4 files changed, 94 insertions(+) create mode 100644
meta-webserver/recipes-php/modphp/files/70_mod_php5.confcreate mode 100644meta-webserver/recipes-php/modphp/files/configure.patchcreate mode 100644 meta-webserver/recipes-php/modphp/modphp5.inc create mode 100644 meta-webserver/recipes-php/modphp/modphp_5.1.6.bb
Quoted 4 lines
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc @@ -0,0 +1,66 @@ +SECTION = "console/network" +DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the apache php module." +LICENSE = "PHP" +RDEPENDS_${PN} = "apache2"
That one goes below do_installed
Quoted 2 lines
+DEPENDS = "apache2-native apache2 zlib" + +#SRC_URI = "http://de3.php.net/distributions/php-${PV}.tar.bz2 \
remove that one
Quoted 3 lines
+SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2 \ +
file://configure.patch \ + " + +S = "${WORKDIR}/php-${PV}" + +inherit
autotools + +FILES_${PN} = "${libdir}/apache2 /etc"
$sysconfdir
Quoted 1 line
+FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug"
and move below do_install
Quoted 10 lines
+ +CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR_NATIVE}/apache2" + +EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \ +
--without-mysql \ + --enable-force-cgi-redirect \ + --disable-cgi \ +
--disable-cli \ + --disable-pdo \ + --without-pear \ + --without-iconv
\ + --disable-ipv6 \ + --disable-xml \ + --disable-xmlreader \ +
--disable-xmlwriter \ + --disable-simplexml \ + --disable-libxml \ +
--disable-dom \ + --with-zlib
--with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \ + --with-config-file-path=/etc/php/apache2-php5"
whitespace errors
Quoted 1 line
+# --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
remove
Quoted 3 lines
+ +# to get postgres support, add it to the DEPENDS above +# and uncomment this line. similar for mysql +#EXTRA_OECONF += " --with-pgsql=${STAGING_DIR_HOST}${layout_exec_prefix}"
That is a PACKAGECONFIG change
Quoted 10 lines
+ +acpaths = "" + +# +# override the autotools
do_configure, which runs
autoconf, +# which breaks everything... +# +do_configure() { + export
PHP_LIBXML_DIR=${STAGING_DIR_NATIVE}${layout_exec_prefix} +oe_runconf
+} + +# +do_install () { + install -d ${D}/usr/lib/apache2/modules +
install -d ${D}/etc/apache2/modules.d + install -d
${D}/etc/php/apache2-php5 + install -m 755 libs/libphp5.so
${D}/usr/lib/apache2/modules + install -m 644${FILESDIR}/70_mod_php5.conf${D}/etc/apache2/modules.d + cat
${S}/php.ini-dist | \ + sed -e 's,extension_dir = \"\./\",extension_dir
= \"/usr/lib/extensions\",' \ + > ${D}/etc/php/apache2-php5/php.ini +}
Quoted 5 lines
(quoted diff) +0
-0b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb new file mode 100644 index 0000000..a75a742 ---
/dev/null+++ b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb @@ -0,0 +1,5 @@ +include modphp5.inc +PR ='r3'
Double quotes are preferred, but I'm tempted to just say "drop the PR entirely"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQbBFgMkyGM64RGpERAjzhAKCFrTB4bqQDEswgWaZVJbvNNnmL5ACcDNWE idJglUy51wBG+1VggE9KRnM=
=rykS
-----END PGP SIGNATURE-----
Re: [meta-webserver][PATCH 3/6] modphp: add from OE-Classic
Quoted 3 lines · On Wednesday 03 October 2012 12:20:16 Koen Kooi wrote:
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 2 lines
No modifications in this commit (apart from not copying some unneeded files).
Again, this is the OE-Classic version prior to updating/fixing.
Quoted 3 lines
Quoted 1 line
+RDEPENDS_${PN} = "apache2"
That one goes below
do_installed
Fixed in the branch.
Quoted 4 lines
Quoted 2 lines
+DEPENDS = "apache2-native apache2 zlib" + +#SRC_URI = "http://de3.php.net/distributions/php-${PV}.tar.bz2 \
remove that one
Already removed in the patch following.
Quoted 5 lines
Quoted 3 lines
+SRC_URI = "http://museum.php.net/php5/php-${PV}.tar.bz2 \ +
file://configure.patch \ + " + +S = "${WORKDIR}/php-${PV}" + +inherit
autotools + +FILES_${PN} = "${libdir}/apache2 /etc"$sysconfdir
Already fixed in the patch following.
Quoted 3 lines
Quoted 1 line
+FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug"
and move below
do_install
Already fixed in the patch following.
Quoted 4 lines
Quoted 4 lines
+ +CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR_NATIVE}/apache2" + +EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \ +
--without-mysql \ + --enable-force-cgi-redirect \ + --disable-cgi
\ +
Quoted 1 line
Quoted 1 line
--disable-cli \ + --disable-pdo \ + --without-pear \ + --
without-iconv
Quoted 2 lines
Quoted 2 lines
\ + --disable-ipv6 \ + --disable-xml \ + --disable-xmlreader \ +
--disable-xmlwriter \ + --disable-simplexml \ + --disable-libxml
\ +
Quoted 5 lines
Quoted 3 lines
--disable-dom \ + --with-zlib
--with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \ + --with-config-file-path=/etc/php/apache2-php5"whitespace errors
Already fixed in the patch following. (Did you look at those patches?)
Quoted 3 lines
Quoted 1 line
+# --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
remove
OK, I'll give you that one. Fixed in the branch.
Quoted 5 lines
Quoted 3 lines
+ +# to get postgres support, add it to the DEPENDS above +# and uncomment this line. similar for mysql +#EXTRA_OECONF += " --with-pgsql=${STAGING_DIR_HOST}${layout_exec_prefix}"
That is a PACKAGECONFIG change
We can make that enhancement at a later date, until then the comment is helpful.
Quoted 9 lines
meta-webserver/recipes-php/modphp/modphp_5.1.6.bb line 2
Quoted 6 lines
(quoted diff) +0
-0b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb new file mode 100644 index 0000000..a75a742 ---
/dev/null+++ b/meta-webserver/recipes-php/modphp/modphp_5.1.6.bb @@ -0,0 +1,5 @@meta-webserver/recipes-php/modphp/modphp_5.1.6.bb new file +2
-0+include modphp5.inc +PR ='r3'Double quotes are preferred, but I'm tempted to just say "drop the PR entirely"
I've already set it to "r0" using double quotes in the patch following.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-webserver][PATCH 3/6] modphp: add from OE-Classic
Op 3 okt. 2012, om 13:28 heeft Paul Eggleton <[email protected]> het volgende geschreven:
Quoted 4 lines · On Wednesday 03 October 2012 12:20:16 Koen Kooi wrote:
Quoted 1 line
Already fixed in the patch following. (Did you look at those patches?)
Not at the time of the email, I went patch-by-patch.
PATCH 4/6 apache2: update to version 2.4.2 and fix
In reply to Paul Eggleton* Enable threading for PHP
* Backport a number of patches
* Use apachectl in init script
* Install modules into a sane location
* Ensure apxs script is installed into sysroot in crossscripts directory and modified so that it works for building PHP
* Install httpd executable for native version so that PHP configure script can call it
* Rename server-makefile-patch to server-makefile.patch and drop apply=yes
* Add LIC_FILES_CHKSUM
* Fix packaging QA warnings
* Clean out some cruft
---
.../apache2-2.4.2/apache-configure_perlbin.patch | 37 +++
.../apache2-2.4.2/apache-ssl-ltmain-rpath.patch | 76 +++++
.../apache2/apache2-2.4.2/fix-libtool-name.patch | 55 +++
.../apache2-2.4.2/httpd-2.4.1-corelimit.patch | 37 +++
.../apache2/apache2-2.4.2/httpd-2.4.1-export.patch | 22 ++
.../apache2-2.4.2/httpd-2.4.1-selinux.patch | 63 ++++
.../apache2-2.4.2/httpd-2.4.2-r1326980+.patch | 74 +++++
.../apache2-2.4.2/httpd-2.4.2-r1327036+.patch | 87 +++++
.../apache2-2.4.2/httpd-2.4.2-r1332643.patch | 260 +++++++++++++++
.../apache2-2.4.2/httpd-2.4.2-r1337344+.patch | 350 ++++++++++++++++++++
.../apache2-2.4.2/httpd-2.4.2-restart.patch | 35 ++
.../replace-lynx-to-curl-in-apachectl-script.patch | 52 +++
.../server-makefile.patch} | 0
.../recipes-httpd/apache2/apache2-native_2.2.17.bb | 44 ---
.../recipes-httpd/apache2/apache2-native_2.4.2.bb | 43 +++
.../{apache2_2.2.17.bb => apache2_2.4.2.bb} | 85 ++---
meta-webserver/recipes-httpd/apache2/files/init | 17 +-
17 files changed, 1244 insertions(+), 93 deletions(-)
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-configure_perlbin.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-ssl-ltmain-rpath.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/fix-libtool-name.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-corelimit.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-export.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-selinux.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1327036+.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1332643.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1337344+.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-2.4.2/replace-lynx-to-curl-in-apachectl-script.patch
rename meta-webserver/recipes-httpd/apache2/{apache2-2.2.17/server-makefile-patch => apache2-2.4.2/server-makefile.patch} (100%)
delete mode 100644 meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb
create mode 100644 meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb
rename meta-webserver/recipes-httpd/apache2/{apache2_2.2.17.bb => apache2_2.4.2.bb} (50%)meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-configure_perlbin.patch new file +37 -0
@@ -0,0 +1,37 @@ +# Author: echo <[email protected]> +# Date: April 28 2009 +# Summary:Fix perl install directory to /usr/bin +# +# Upstream-Status: Inappropriate [configuration] + +--- a/configure ++++ b/configure +@@ -22365,13 +22365,7 @@ + #define APACHE_MPM_DIR "$MPM_DIR" + _ACEOF + +- +-perlbin=`$ac_aux_dir/PrintPath perl` +-if test "x$perlbin" = "x"; then +- perlbin="/replace/with/path/to/perl/interpreter" +-fi +- +- ++perlbin='/usr/bin/perl' + + BSD_MAKEFILE=no + ap_make_include=include +--- a/configure.in ++++ b/configure.in +@@ -638,10 +638,7 @@ + AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR", + [Location of the source for the current MPM]) + +-perlbin=`$ac_aux_dir/PrintPath perl` +-if test "x$perlbin" = "x"; then +- perlbin="/replace/with/path/to/perl/interpreter" +-fi ++perlbin='/usr/bin/perl' + AC_SUBST(perlbin) + + dnl If we are running on BSD/OS, we need to use the BSD .include syntax.
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/apache-ssl-ltmain-rpath.patch new file +76 -0
76 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/fix-libtool-name.patch new file +55 -0
55 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-corelimit.patch new file +37 -0
@@ -0,0 +1,37 @@ + +Bump up the core size limit if CoreDumpDirectory is +configured. + +Upstream-Status: Pending + +Note: upstreaming was discussed but there are competing desires; + there are portability oddities here too. + +--- httpd-2.4.1/server/core.c.corelimit ++++ httpd-2.4.1/server/core.c +@@ -4433,6 +4433,25 @@ static int core_post_config(apr_pool_t * + } + apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper, + apr_pool_cleanup_null); ++ ++#ifdef RLIMIT_CORE ++ if (ap_coredumpdir_configured) { ++ struct rlimit lim; ++ ++ if (getrlimit(RLIMIT_CORE, &lim) == 0 && lim.rlim_cur == 0) { ++ lim.rlim_cur = lim.rlim_max; ++ if (setrlimit(RLIMIT_CORE, &lim) == 0) { ++ ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL, ++ "core dump file size limit raised to %lu bytes", ++ lim.rlim_cur); ++ } else { ++ ap_log_error(APLOG_MARK, APLOG_NOTICE, errno, NULL, ++ "core dump file size is zero, setrlimit failed"); ++ } ++ } ++ } ++#endif ++ + return OK; + } +
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-export.patch new file +22 -0
@@ -0,0 +1,22 @@ + +There is no need to "suck in" the apr/apr-util symbols when using +a shared libapr{,util}, it just bloats the symbol table; so don't. + +Upstream-HEAD: needed +Upstream-2.0: omit +Upstream-Status: Pending + +Note: EXPORT_DIRS change is conditional on using shared apr + +--- httpd-2.4.1/server/Makefile.in.export ++++ httpd-2.4.1/server/Makefile.in +@@ -57,9 +57,6 @@ export_files: + ( for dir in $(EXPORT_DIRS); do \ + ls $$dir/*.h ; \ + done; \ +- for dir in $(EXPORT_DIRS_APR); do \ +- ls $$dir/ap[ru].h $$dir/ap[ru]_*.h 2>/dev/null; \ +- done; \ + ) | sort -u > $@ + + exports.c: export_files
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.1-selinux.patch new file +63 -0
63 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1326980+.patch new file +74 -0
74 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1327036+.patch new file +87 -0
87 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1332643.patch new file +260 -0
260 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-r1337344+.patch new file +350 -0
350 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/httpd-2.4.2-restart.patch new file +35 -0
@@ -0,0 +1,35 @@ + +* server/main.c (main): Bail out *before* signalling the server + if the config is bad. (as per the claim in the docs!) + +https://bugzilla.redhat.com/show_bug.cgi?id=814645 +http://svn.apache.org/viewvc?view=revision&revision=1328345 + +Upstream-Status: Backport + +--- httpd-2.4.2/server/main.c.restart ++++ httpd-2.4.2/server/main.c +@@ -671,6 +671,11 @@ int main(int argc, const char * const ar + } + } + ++ /* If our config failed, deal with that here. */ ++ if (rv != OK) { ++ destroy_and_exit_process(process, 1); ++ } ++ + signal_server = APR_RETRIEVE_OPTIONAL_FN(ap_signal_server); + if (signal_server) { + int exit_status; +@@ -680,11 +685,6 @@ int main(int argc, const char * const ar + } + } + +- /* If our config failed, deal with that here. */ +- if (rv != OK) { +- destroy_and_exit_process(process, 1); +- } +- + apr_pool_clear(plog); + + if ( ap_run_open_logs(pconf, plog, ptemp, ap_server_conf) != OK) {
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/replace-lynx-to-curl-in-apachectl-script.patch new file +52 -0
52 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-2.4.2/server-makefile.patch renamed from meta-webserver/recipes-httpd/apache2/apache2-2.2.17/server-makefile-patch +0 -0
meta-webserver/recipes-httpd/apache2/apache2-native_2.2.17.bb deleted +0 -44
44 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2-native_2.4.2.bb new file +43 -0
43 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/apache2_2.4.2.bb renamed from meta-webserver/recipes-httpd/apache2/apache2_2.2.17.bb +48 -37
121 lines not on this page · raw message
meta-webserver/recipes-httpd/apache2/files/init +5 -12
@@ -18,35 +18,28 @@ test -f $APACHECTL || exit 0 # ensure we don't leak environment vars into apachectl APACHECTL="env -i LANG=${LANG} PATH=${PATH} $APACHECTL" -if egrep -q -i "^[[:space:]]*ServerType[[:space:]]+inet" $CONF -then - exit 0 -fi - case "$1" in start) echo -n "Starting web server: $NAME" - start-stop-daemon --start --quiet --background --exec $DAEMON -- $ARGS + $APACHECTL $ARGS ;; stop) - echo -n "Stopping web server: $NAME" - start-stop-daemon --stop --signal 3 --quiet --exec $DAEMON + $APACHECTL stop ;; reload) echo -n "Reloading $NAME configuration" - start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON + $APACHECTL reload ;; reload-modules) echo -n "Reloading $NAME modules" - $0 stop - $0 start + $APACHECTL restart ;; restart) - $0 reload-modules + $APACHECTL restart exit $? ;;
Signature · 1 line
1.7.9.5
PATCH 5/6 modphp: update to 5.3.14 and fix
In reply to Paul Eggleton* Use working SRC_URI
* Fix to use correct headers and apxs script for cross-compiling
* Enable threading
* Install headers and scripts for building extension modules
* Use proper variables instead of /etc, /usr/lib etc.
* Fix rpath QA issues
* Add LIC_FILES_CHKSUM
* Put apache config file into SRC_URI instead of referring to it using FILESDIR
--- .../recipes-php/modphp/files/pthread-check.patch | 64 ++++++++++++++++++++ meta-webserver/recipes-php/modphp/modphp5.inc | 61 +++++++++++++------ meta-webserver/recipes-php/modphp/modphp_5.1.6.bb | 5 -- meta-webserver/recipes-php/modphp/modphp_5.3.14.bb | 5 ++ 4 files changed, 112 insertions(+), 23 deletions(-) create mode 100644 meta-webserver/recipes-php/modphp/files/pthread-check.patch delete mode 100644 meta-webserver/recipes-php/modphp/modphp_5.1.6.bb create mode 100644 meta-webserver/recipes-php/modphp/modphp_5.3.14.bb
meta-webserver/recipes-php/modphp/files/pthread-check.patch new file +64 -0
@@ -0,0 +1,64 @@ +Hack configure script so it does not disable pthread support when cross-compiling + +Upstream-Status: Inapproprate [config] + +Signed-off-by: Paul Eggleton <[email protected]> + +diff --git a/configure b/configure +index 03d8f95..6794d45 100755 +--- a/configure ++++ b/configure +@@ -3506,7 +3506,7 @@ fi + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes +@@ -3566,7 +3566,7 @@ else + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes +@@ -3636,7 +3636,7 @@ if test "$pthreads_working" != "yes"; then + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes +@@ -106833,7 +106833,7 @@ fi + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes +@@ -106893,7 +106893,7 @@ else + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes +@@ -106963,7 +106963,7 @@ if test "$pthreads_working" != "yes"; then + + if test "$cross_compiling" = yes; then + +- pthreads_working=no ++ pthreads_working=yes + case $host_alias in + *netware*) + pthreads_working=yes
meta-webserver/recipes-php/modphp/modphp5.inc +43 -18
90 lines not on this page · raw message
meta-webserver/recipes-php/modphp/modphp_5.1.6.bb deleted +0 -5
@@ -1,5 +0,0 @@ -include modphp5.inc -PR ='r3' - -SRC_URI[md5sum] = "08e423aa314369d4392a36b3f7246afc" -SRC_URI[sha256sum] = "3e9510ce715f28b7e6b803fcdadb73b37c83792c0b5e1e9bcb066ab972649996"
meta-webserver/recipes-php/modphp/modphp_5.3.14.bb new file +5 -0
@@ -0,0 +1,5 @@ +include modphp5.inc +PR = "r0" + +SRC_URI[md5sum] = "7caac4f71e2f21426c11ac153e538392" +SRC_URI[sha256sum] = "c8075b6e83c5db0d26cc8426a7456856421089a76c963813b1fcac3ced041cb3"
Signature · 1 line
1.7.9.5
PATCH 6/6 xdebug: add new recipe
In reply to Paul EggletonAdd new recipe for the Xdebug PHP debugger/profiler.
--- meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb new file +29 -0
@@ -0,0 +1,29 @@ +SUMMARY = "Debugging and profiling extension for PHP" +LICENSE = "Xdebug" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34df3a274aa12b795417c65634c07f16" + +DEPENDS = "modphp" + +PR = "r0" + +SRC_URI = "http://xdebug.org/files/xdebug-${PV}.tgz" + +SRC_URI[md5sum] = "5e5c467e920240c20f165687d7ac3709" +SRC_URI[sha256sum] = "11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad" + +inherit autotools + +EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config" + +do_configure() { + ${STAGING_BINDIR_CROSS}/phpize + oe_runconf +} + +do_install() { + oe_runmake install INSTALL_ROOT=${D} +} + +FILES_${PN} += "${libdir}/php5/extensions/*/*.so" +FILES_${PN}-dbg += "${libdir}/php5/extensions/*/.debug" +
Signature · 1 line
1.7.9.5
Re: [meta-webserver][PATCH 6/6] xdebug: add new recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 7 lines
Add new recipe for the Xdebug PHP debugger/profiler.
Signed-off-by Paul Eggleton <[email protected]> ---meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29
+++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
Quoted 5 lines
(quoted diff) +0
-0b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb new file mode 100644 index 0000000..5bd374c ---
/dev/null+++ b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Debugging and profiling extension for PHP"
Missing DESCRIPTION
Quoted 3 lines
+LICENSE = "Xdebug" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34df3a274aa12b795417c65634c07f16" + +DEPENDS = "modphp" + +PR = "r0"
default....
Review
Quoted 6 lines
+ +SRC_URI = "http://xdebug.org/files/xdebug-${PV}.tgz" + +SRC_URI[md5sum] = "
5e5c467e920240c20f165687d7ac3709" +SRC_URI[sha256sum] = "11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad" +(quoted diff) +2
-1+inherit autotools + +EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config" + +do_configure() { + ${STAGING_BINDIR_CROSS}/phpize + oe_runconf +}
Why not do autotools_do_configure?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQbBG/MkyGM64RGpERAoDSAJ4x/Ulx1MXZlAdrtkFUs11WXd75qQCgns2l 6+VrxCzuKm6zn9sbgFa65+U=
=ph3p
-----END PGP SIGNATURE-----
Re: [meta-webserver][PATCH 6/6] xdebug: add new recipe
Quoted 8 lines · On Wednesday 03 October 2012 12:21:51 Koen Kooi wrote:
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 7 lines
Add new recipe for the Xdebug PHP debugger/profiler.
Signed-off-by Paul Eggleton <[email protected]> ---meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29
+++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb
Quoted 7 lines
Quoted 5 lines
(quoted diff) +0
-0b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb new file mode 100644 index 0000000..5bd374c ---
/dev/null+++ b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Debugging and profiling extension for PHP"Missing DESCRIPTION
No, this is deliberate - presumably you're aware that the default value of DESCRIPTION is "${SUMMARY}" ? The opposite is not true, which leads to packages with useless summaries if you set DESCRIPTION and not SUMMARY; so if it's just one line the single variable to set is SUMMARY. I know we have a lot of recipes that have this issue; we should probably address that on a wider basis.
Quoted 5 lines
Quoted 3 lines
+LICENSE = "Xdebug" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34df3a274aa12b795417c65634c07f16" + +DEPENDS = "modphp" + +PR = "r0"
default....
See reply to patch 2/6.
Quoted 8 lines
Review
Quoted 6 lines
+ +SRC_URI = "http://xdebug.org/files/xdebug-${PV}.tgz" + +SRC_URI[md5sum] = "
5e5c467e920240c20f165687d7ac3709" +SRC_URI[sha256sum] = "11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad" +(quoted diff) +2
-1+inherit autotools + +EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config" + +do_configure() { + ${STAGING_BINDIR_CROSS}/phpize + oe_runconf +}Why not do
autotools_do_configure?
Because AFAICT PHP modules are somewhat unusual when it comes to configure, and totally break if you try to autoreconf. IIRC this was the only way I could get the thing to build.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-webserver][PATCH 6/6] xdebug: add new recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 03-10-12 13:28, Paul Eggleton schreef:
Quoted 24 lines · On Wednesday 03 October 2012 12:21:51 Koen Kooi wrote:
Quoted 8 lines
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 7 lines
Add new recipe for the Xdebug PHP debugger/profiler.
Signed-off-by Paul Eggleton <[email protected]> ---meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb | 29
+++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bbQuoted 7 lines
Quoted 5 lines
(quoted diff) +0
-0b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb new file mode 100644 index 0000000..5bd374c ---
/dev/null+++ b/meta-webserver/recipes-php/xdebug/xdebug_2.2.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Debugging and profiling extension for PHP"Missing DESCRIPTION
No, this is deliberate - presumably you're aware that the default value of DESCRIPTION is "${SUMMARY}" ? The opposite is not true, which leads to
packages with useless summaries if you set DESCRIPTION and not SUMMARY;
so if it's just one line the single variable to set is SUMMARY. I know we have a lot of recipes that have this issue; we should probably address that on a wider basis.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
+LICENSE = "Xdebug" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34df3a274aa12b795417c65634c07f16" + +DEPENDS = "modphp" + +PR = "r0"
default....
See reply to patch 2/6.
Extra work for M1.4, but it's your sandbox to play in...
Quoted 10 lines
Quoted 9 lines
Review
Quoted 7 lines
+ +SRC_URI = "http://xdebug.org/files/xdebug-${PV}.tgz" +
(quoted diff) +2
-0+SRC_URI[md5sum] = "5e5c467e920240c20f165687d7ac3709" +SRC_URI[sha256sum] ="
11d340eb7f87909a596bac054cc927df757dc2fc7c90b50a832c30e9bf84c9ad" +(quoted diff) +2
-1+inherit autotools + +EXTRA_OECONF += "--enable-xdebug -with-php-config=${STAGING_BINDIR_CROSS}/php-config" + +do_configure() { + ${STAGING_BINDIR_CROSS}/phpize + oe_runconf +}Why not do
autotools_do_configure?
Quoted 3 lines
Because AFAICT PHP modules are somewhat unusual when it comes to configure, and totally break if you try to autoreconf. IIRC this was the only way I could get the thing to build.
Can you add a comment saying that? A lot of recipes in OE classic replace the configure step, but our autotools support has improved a lot, so a comment saying what is going wrong will help people updating the recipe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQbCXoMkyGM64RGpERAhBMAJ47+3mA0f3FwWl2NvK3h/joP/6FEQCcCH+y mt9mrA8R/2QKMkfHH51QG2I=
=VWa7
-----END PGP SIGNATURE-----
Re: [meta-webserver][PATCH 6/6] xdebug: add new recipe
Quoted 9 lines · On Wednesday 03 October 2012 13:47:52 Koen Kooi wrote:
Quoted 5 lines
Quoted 1 line
Why not do
autotools_do_configure?Because AFAICT PHP modules are somewhat unusual when it comes to configure, and totally break if you try to autoreconf. IIRC this was the only way I could get the thing to build.
Can you add a comment saying that? A lot of recipes in OE classic replace the configure step, but our autotools support has improved a lot, so a comment saying what is going wrong will help people updating the recipe.
That's a good point, I've added a comment within do_configure on the branch noting why it's been done that way.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 8 lines
So finally I have got this into a working state; apologies for the delay. There were a number of issues affecting cross-compilation as well as some problems with the initial configuration; these should now be addressed. We may wish to look at a more standard directory layout for Apache as the default one doesn't seem to be used by most distributions; we can look at this later - for now let's get the recipes out there so people can try them out.
Quoted 4 lines
I know there are a few people waiting to submit additional recipes for this layer and I expect we will also want to look at moving some web-server related recipes from meta-oe into here at some point in the near future.
How does this compare to meta-networking?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQavz3MkyGM64RGpERAnFmAJwJBHthgpRyWHCa3ECpmk6OUuMs5gCeOtDa 9BWYkISAbsBLbxmhcf89yGU=
=shQt
-----END PGP SIGNATURE-----
Quoted 12 lines · On Tuesday 02 October 2012 16:40:55 Koen Kooi wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 8 lines
So finally I have got this into a working state; apologies for the delay. There were a number of issues affecting cross-compilation as well as some problems with the initial configuration; these should now be addressed. We may wish to look at a more standard directory layout for Apache as the default one doesn't seem to be used by most distributions; we can look at this later - for now let's get the recipes out there so people can try them out.
Quoted 6 lines
Quoted 4 lines
I know there are a few people waiting to submit additional recipes for this layer and I expect we will also want to look at moving some web-server related recipes from meta-oe into here at some point in the near future.
How does this compare to meta-networking?
It's separate; this focuses just on web-based items (on the server side). I'm not sure how much it will actually grow but you can imagine in the extreme case we could end up with a number of web servers, several standalone web admin interfaces, a bunch of web frameworks and related recipes for each of the latter. All of that would bloat out meta-networking a bit too much, hence this separate layer.
I did send an RFC for this a couple of months ago, although the scope has been refined a little since then:
http://www.mail-archive.com/[email protected]/msg26071.html
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-10-12 18:14, Paul Eggleton schreef:
Quoted 21 lines
So finally I have got this into a working state; apologies for the delay. There were a number of issues affecting cross-compilation as well as some problems with the initial configuration; these should now be addressed. We may wish to look at a more standard directory layout for Apache as the default one doesn't seem to be used by most distributions; we can look at this later - for now let's get the recipes out there so people can try them out.
I know there are a few people waiting to submit additional recipes for this layer and I expect we will also want to look at moving some web-server related recipes from meta-oe into here at some point in the near future.
The following changes since commit
7bfff4b1d6b0067ddabf2474320e3e78795b2b4f:uhd,fuse: Fix misplaced quotations (2012-09-28 22:50:42 +0200)
are available in the git repository at:
Quoted 7 lines
git://git.openembedded.org/meta-openembedded-contrib
paule/meta-webserver-add
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/meta-webserver-addPaul Eggleton (6): Add meta-webserver layer apache2: add from
OE-Classic modphp: add from OE-Classic apache2: update to version 2.4.2 and fix modphp: update to 5.3.14 and fix xdebug: add new recipe
Squash those "import" with the "fix" commits, no sense in having a broken recipe in there.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFQbBJTMkyGM64RGpERAnW0AKCEqJZSIe3A+BJ7h8VchN/jKfV0BgCeOcM8 sKPvfhNA7x2tyEhwEj6dw/M=
=5Lcn
-----END PGP SIGNATURE-----
Quoted 2 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Squash those "import" with the "fix" commits, no sense in having a broken recipe in there.
I'd rather not - there is sense in being clear about the changes, because there are a large number of them in this case.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton <[email protected]> het volgende geschreven:
Quoted 6 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 2 lines
Squash those "import" with the "fix" commits, no sense in having a broken recipe in there.
I'd rather not - there is sense in being clear about the changes, because there are a large number of them in this case.
The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the tree at multiple points in your series.
Quoted 8 lines
Cheers,
PaulSignature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 1 line · On Wednesday 03 October 2012 13:27:41 Koen Kooi wrote:
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 10 lines
Quoted 6 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 2 lines
Squash those "import" with the "fix" commits, no sense in having a broken recipe in there.
I'd rather not - there is sense in being clear about the changes, because there are a large number of them in this case.
The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the tree at multiple points in your series.
Because I want to easily see in "git blame" where particular lines came from - did I add them, or have they been around for ages?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Op 3 okt. 2012, om 13:29 heeft Paul Eggleton <[email protected]> het volgende geschreven:
Quoted 10 lines · On Wednesday 03 October 2012 13:27:41 Koen Kooi wrote:
Quoted 1 line
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 7 lines
Quoted 6 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 2 lines
Squash those "import" with the "fix" commits, no sense in having a broken recipe in there.
I'd rather not - there is sense in being clear about the changes, because there are a large number of them in this case.
Quoted 6 lines
Quoted 3 lines
The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the tree at multiple points in your series.
Because I want to easily see in "git blame" where particular lines came from - did I add them, or have they been around for ages?
Does oe-core have the same flow for new recipes?
Quoted 1 line · On Wednesday 03 October 2012 13:43:30 Koen Kooi wrote:
Op 3 okt. 2012, om 13:29 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 19 lines
Quoted 19 lines · On Wednesday 03 October 2012 13:27:41 Koen Kooi wrote:
Quoted 2 lines
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton
<[email protected]>het volgende geschreven:
Quoted 13 lines
Quoted 8 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 3 lines
Squash those "import" with the "fix" commits, no sense in having a broken
recipe in there.I'd rather not - there is sense in being clear about the changes, because
there are a large number of them in this case.The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the
tree at multiple points in your series.
Quoted 4 lines
Quoted 2 lines
Because I want to easily see in "git blame" where particular lines came from - did I add them, or have they been around for ages?
Does oe-core have the same flow for new recipes?
You already know the answer to this.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Op 3 okt. 2012, om 14:23 heeft Paul Eggleton <[email protected]> het volgende geschreven:
Quoted 22 lines · On Wednesday 03 October 2012 13:43:30 Koen Kooi wrote:
Quoted 1 line
Op 3 okt. 2012, om 13:29 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 19 lines
Quoted 19 lines · On Wednesday 03 October 2012 13:27:41 Koen Kooi wrote:
Quoted 2 lines
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton
<[email protected]>het volgende geschreven:
Quoted 13 lines
Quoted 8 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 3 lines
Squash those "import" with the "fix" commits, no sense in having a broken
recipe in there.I'd rather not - there is sense in being clear about the changes, because
there are a large number of them in this case.The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the
tree at multiple points in your series.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Because I want to easily see in "git blame" where particular lines came from - did I add them, or have they been around for ages?
Does oe-core have the same flow for new recipes?
You already know the answer to this.
No I don't, actually.
Quoted 1 line · On Wednesday 03 October 2012 15:12:55 Koen Kooi wrote:
Op 3 okt. 2012, om 14:23 heeft Paul Eggleton <[email protected]>
het volgende geschreven:
Quoted 23 lines
Quoted 23 lines · On Wednesday 03 October 2012 13:43:30 Koen Kooi wrote:
Quoted 2 lines
Op 3 okt. 2012, om 13:29 heeft Paul Eggleton
<[email protected]>>het volgende geschreven:
Quoted 19 lines
Quoted 19 lines · On Wednesday 03 October 2012 13:27:41 Koen Kooi wrote:
Quoted 2 lines
Op 3 okt. 2012 om 12:43 heeft Paul Eggleton
<[email protected]>het volgende geschreven:
Quoted 13 lines
Quoted 8 lines · On Wednesday 03 October 2012 12:24:19 Koen Kooi wrote:
Quoted 3 lines
Squash those "import" with the "fix" commits, no sense in having a broken
recipe in there.I'd rather not - there is sense in being clear about the changes, because
there are a large number of them in this case.The broken recipes are still available in OE classic if people want to compare them. I still don't get why you want to have broken recipes in the
tree at multiple points in your series.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Because I want to easily see in "git blame" where particular lines came from - did I add them, or have they been around for ages?
Does oe-core have the same flow for new recipes?
You already know the answer to this.
No I don't, actually.
The answer is no, it doesn't.
I guess on reflection we probably ought to be consistent here though - for better or worse, this is not what has been done when pulling in recipes from OE-Classic for the rest of meta-openembedded. The commit message does already list the changes from the original, and I'll concede that having just one revision doesn't give a huge amount in the way of insight on previous origin; ultimately as you say, OE-Classic is still there as a reference for that.
OK, I've squashed those commits out on the branch. Would it be worth me posting a v2 after all these changes?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 11 lines · Paul Eggleton
The answer is no, it doesn't.
I guess on reflection we probably ought to be consistent here though - for better or worse, this is not what has been done when pulling in recipes from OE-Classic for the rest of meta-openembedded. The commit message does already list the changes from the original, and I'll concede that having just one revision doesn't give a huge amount in the way of insight on previous origin; ultimately as you say, OE-Classic is still there as a reference for that.
OK, I've squashed those commits out on the branch. Would it be worth me posting a v2 after all these changes?
Actually, this is one really annoying thing about OE. When people rename the file 'git blame' comes worthless. Is there a way around this?
-M
Quoted 13 lines · On Wednesday 03 October 2012 14:08:16 McClintock Matthew-B29882 wrote:
On Wed, Oct 3, 2012 at 8:43 AM, Paul Eggleton
Quoted 10 lines · <[email protected]> wrote:
The answer is no, it doesn't.
I guess on reflection we probably ought to be consistent here though - for better or worse, this is not what has been done when pulling in recipes from OE-Classic for the rest of meta-openembedded. The commit message does already list the changes from the original, and I'll concede that having just one revision doesn't give a huge amount in the way of insight on previous origin; ultimately as you say, OE-Classic is still there as a reference for that.
Quoted 6 lines
Quoted 2 lines
OK, I've squashed those commits out on the branch. Would it be worth me posting a v2 after all these changes?
Actually, this is one really annoying thing about OE. When people rename the file 'git blame' comes worthless. Is there a way around this?
Usually it picks up on renames just fine, but as with git diff -M there is some fuzziness in how it determines the difference between a file rename and an unrelated delete followed by an add; sometimes the difference is too great for git to consider as a rename with its default settings. I just tested, you can improve rename detection with git blame by using the -C option though; adjusting the -M value might also help.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 11 lines · On Wed, Oct 3, 2012 at 7:08 AM, McClintock Matthew-B29882…
Quoted 9 lines · Paul Eggleton
The answer is no, it doesn't.
I guess on reflection we probably ought to be consistent here though - for better or worse, this is not what has been done when pulling in recipes from OE-Classic for the rest of meta-openembedded. The commit message does already list the changes from the original, and I'll concede that having just one revision doesn't give a huge amount in the way of insight on previous origin; ultimately as you say, OE-Classic is still there as a reference for that.
Quoted 7 lines
Quoted 2 lines
OK, I've squashed those commits out on the branch. Would it be worth me posting a v2 after all these changes?
Actually, this is one really annoying thing about OE. When people rename the file 'git blame' comes worthless. Is there a way around this?
does git blame -M -C help ?
Quoted 6 lines
-M
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel