--- rpms/e-smith-apache/sme10/e-smith-apache.spec 2020/06/27 17:26:20 1.12 +++ rpms/e-smith-apache/sme10/e-smith-apache.spec 2020/12/11 02:44:25 1.15 @@ -1,10 +1,10 @@ -# $Id: e-smith-apache.spec,v 1.11 2020/06/23 18:42:24 jpp Exp $ +# $Id: e-smith-apache.spec,v 1.14 2020/06/27 20:46:34 jpp Exp $ Summary: e-smith server and gateway - apache module %define name e-smith-apache Name: %{name} %define version 2.6.0 -%define release 9 +%define release 12 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -16,6 +16,8 @@ Patch2: e-smith-apache-2.6.0-bz10916-SSL Patch3: e-smith-apache-2.6.0-bz10459-Ciphers-and-TLS.patch Patch4: e-smith-apache-2.6.0-bz10867-remove-php3-refs.patch Patch5: e-smith-apache-2.6.0-bz10966-remove-hardcoded-ports.patch +Patch6: e-smith-apache-2.6.0-bz8693-SNI.patch +Patch7: e-smith-apache-2.6.0-bz11123-bz11111-systemd-update.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -43,6 +45,9 @@ e-smith server and gateway software - ap %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 +rm -rf root/var/service/ root/service/ root/etc/rc.d/init.d/httpd-e-smith %build perl createlinks @@ -52,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /sbin/e-smith/systemd/httpd-e-smith-prepare 'attr(0554,root,root)' \ --dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ --file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ --file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ @@ -65,8 +71,27 @@ rm -rf $RPM_BUILD_ROOT %files -f e-smith-%{version}-filelist %defattr(-,root,root) +%pre +# ease the transition between runit and systemd +if [ $1 -gt 1 ] ; then + if [ -e /var/service/httpd-e-smith/run ] ; then + /usr/bin/sv d httpd-e-smith + fi +fi %changelog +* Wed Dec 09 2020 Jean-Philipe Pialasse 2.6.0-12.sme +- create-update event [SME: 11123] +- move httpd-e-smith to systemd [SME: 11111] + changed sigusr1 used in events to reload as defined in the unit file +- give a logger to httpd-e-smith : journald [SME: 1416] + +* Sat Jun 27 2020 Jean-Philipe Pialasse 2.6.0-11.sme +- set default SSLStrictSNIVHostCheck to off [SME: 8693] + +* Sat Jun 27 2020 Jean-Philipe Pialasse 2.6.0-10.sme +- add SNI support for individual certificates per VirtualHosts [SME: 8693] + * Sat Jun 27 2020 Jean-Philipe Pialasse 2.6.0-9.sme - port 80 and 443 should not be hardcoded [SME: 9192] - e-smith-apache removing hardcoded ports [SME: 10966]