cherokee: fix the installed but not shipped issue
PATCH 1/1 cherokee: fix the installed but not shipped issue
We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images /srv/www/htdocs/images/cherokee-logo.png /srv/www/htdocs/images/default-bg.png /srv/www/htdocs/images/favicon.ico /srv/www/htdocs/images/powered_by_cherokee.png
I think that we can pack these files into cherokee just like what apache2 does.
Fedora 17 also packs them
--- meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +3 -0
@@ -48,6 +48,9 @@ FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" +# Pack the htdocs +FILES_${PN} += "${servicedir}" + CONFFILES_${PN} = " \ ${sysconfdir}/cherokee/cherokee.conf \ ${sysconfdir}/init.d/cherokee \
Signature · 1 line
1.7.10.4
Updated V2 Re: [meta-webserver] [PATCH] cherokee: fix the installed but not shipped issue
Changes of V2:
* Add the --with-wwwroot=${servicedir} to EXTRA_OECONF
// Robert
Quoted 39 lines · Robert Yang
We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images/srv/www/htdocs/images/cherokee-logo.png/srv/www/htdocs/images/default-bg.png/srv/www/htdocs/images/favicon.ico/srv/www/htdocs/images/powered_by_cherokee.pngI think that we can pack these files into cherokee just like what apache2 does.
Fedora 17 also packs them
Signed-off-by Robert Yang <[email protected]>--- meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 3 +++ 1 file changed, 3 insertions(+)meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +3
-0@@ -48,6 +48,9 @@ FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" +# Pack the htdocs +FILES_${PN} += "${servicedir}" + CONFFILES_${PN} = " \ ${sysconfdir}/cherokee/cherokee.conf \ ${sysconfdir}/init.d/cherokee \
Re: Updated V2 Re: [meta-webserver] [PATCH] cherokee: fix the installed but not shipped issue
Quoted 11 lines · Robert Yang
Quoted 11 lines
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images/srv/www/htdocs/images/cherokee-logo.png/srv/www/htdocs/images/default-bg.png/srv/www/htdocs/images/favicon.ico/srv/www/htdocs/images/powered_by_cherokee.png
while you are at it can you see if /var/www is better known place for this and add
the configure option to do so along with the packaging bits that you already have
Re: Updated V2 Re: [meta-webserver] [PATCH] cherokee: fix the installed but not shipped issue
Quoted 14 lines · Khem Raj
Quoted 11 lines · Robert Yang
Quoted 11 lines
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images/srv/www/htdocs/images/cherokee-logo.png/srv/www/htdocs/images/default-bg.png/srv/www/htdocs/images/favicon.ico/srv/www/htdocs/images/powered_by_cherokee.png
Quoted 2 lines
while you are at it can you see if
/var/wwwis better known place for this and add
Good idea, the V3 is comming.
* Changes of V3:
- Use /var/www/cherokee rather than /srv for --with-wwwroot as Khem suggested, this also used by Fedora 17.
// Robert
Quoted 8 lines
the configure option to do so along with the packaging bits that you already have
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 1/1 cherokee: fix the installed but not shipped issue
In reply to Robert YangWe will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images /srv/www/htdocs/images/cherokee-logo.png /srv/www/htdocs/images/default-bg.png /srv/www/htdocs/images/favicon.ico /srv/www/htdocs/images/powered_by_cherokee.png
I think that we can pack these files into cherokee just like what apache2 does.
Fedora 17 also packs them
--- meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +4 -0
@@ -25,6 +25,7 @@ PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap" EXTRA_OECONF = "--disable-static \ --disable-nls \ ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \ + --with-wwwroot=${servicedir} \ " do_install_append () {
@@ -48,6 +49,9 @@ FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" +# Pack the htdocs +FILES_${PN} += "${servicedir}" + CONFFILES_${PN} = " \ ${sysconfdir}/cherokee/cherokee.conf \ ${sysconfdir}/init.d/cherokee \
Signature · 1 line
1.7.10.4
PATCH v3 1/1 cherokee: fix the installed but not shipped issue
We will get the following ERROR/WARN if we enable the installed-vs-shipped check in QA:
ERROR: QA Issue: cherokee: Files/directories were installed but not shipped
/srv
/srv/www
/srv/www/htdocs
/srv/www/htdocs/index.html
/srv/www/htdocs/images /srv/www/htdocs/images/cherokee-logo.png /srv/www/htdocs/images/default-bg.png /srv/www/htdocs/images/favicon.ico /srv/www/htdocs/images/powered_by_cherokee.png
I think that we can pack these files into cherokee just like what apache2 does.
Fedora 17 also packs them
--- meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb +4 -0
@@ -25,6 +25,7 @@ PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap" EXTRA_OECONF = "--disable-static \ --disable-nls \ ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \ + --with-wwwroot=${localstatedir}/www/cherokee \ " do_install_append () {
@@ -48,6 +49,9 @@ FILES_libcherokee-server = "${libdir}/libcherokee-server${SOLIBS}" FILES_libcherokee-client = "${libdir}/libcherokee-client${SOLIBS}" FILES_libcherokee-base = "${libdir}/libcherokee-base${SOLIBS}" +# Pack the htdocs +FILES_${PN} += "${localstatedir}/www/cherokee" + CONFFILES_${PN} = " \ ${sysconfdir}/cherokee/cherokee.conf \ ${sysconfdir}/init.d/cherokee \
Signature · 1 line
1.7.10.4