Skip to contentSkip to conversation

apache2: remove bbappend

PATCH In review Yi Zhao 2 participants 2 messages Apr 19, 2019 – Apr 23, 2019

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 apache2: remove bbappend

The apache2 in meta-webserver has been upgraded to 2.4.39. This bbappend has been integrated into apache2 recipe. So remove it.

---
 .../recipes-httpd/apache2/apache2_2.4.%.bbappend           | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend
meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend deleted +0 -14
deleted file mode 100644
index 5fc832d..0000000
@@ -1,14 +0,0 @@
-do_install_append() {
-    sed -i -e 's/#ServerName.*$/ServerName 127.0.0.1:80/' ${D}${sysconfdir}/apache2/httpd.conf
-    # Keep our logs together, also matches ubuntu and debian
-    sed -i -e 's@^\(.*\)/var/apache2/logs\(.*\)$@\1/var/log/apache2\2@g' ${D}${sysconfdir}/apache2/httpd.conf
-
-    # default layout for htdocsdir in 2.4.7 is different, create the following for
-    # backward compatibility reasons
-
-    mkdir -p ${D}${datadir}/${BPN}/default-site
-    ln -sf ../htdocs ${D}${datadir}/${BPN}/default-site/htdocs
-}
-
-FILES_${PN} += "${datadir}/${BPN}/default-site"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 44 lines · Yi Zhao

The apache2 in meta-webserver has been upgraded to 2.4.39. This bbappend has been integrated into apache2 recipe. So remove it.

---
 .../recipes-httpd/apache2/apache2_2.4.%.bbappend           | 14
--------------
 1 file changed, 14 deletions(-)
 delete mode 100644

meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend

meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend deleted +0 -2
deleted file mode 100644
index 5fc832d..0000000
@@ -1,14 +0,0 @@
-do_install_append() {
-    sed -i -e 's/#ServerName.*$/ServerName 127.0.0.1:80/'

${D}${sysconfdir}/apache2/httpd.conf

meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend deleted +0 -2
-    # Keep our logs together, also matches ubuntu and debian
-    sed -i -e 's@^\(.*\)/var/apache2/logs\(.*\)$@\1/var/log/apache2\2@g'

${D}${sysconfdir}/apache2/httpd.conf

meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend deleted +0 -2
-
-    # default layout for htdocsdir in 2.4.7 is different, create the

following for

meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend deleted +0 -9
-    # backward compatibility reasons
-
-    mkdir -p ${D}${datadir}/${BPN}/default-site
-    ln -sf ../htdocs ${D}${datadir}/${BPN}/default-site/htdocs
-}
-
-FILES_${PN} += "${datadir}/${BPN}/default-site"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II