--- rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/16 04:35:00 1.5 +++ rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/19 02:57:09 1.6 @@ -1,10 +1,10 @@ -# $Id: smeserver-ezmlm-www.spec,v 1.4 2022/03/16 04:27:12 jpp Exp $ +# $Id: smeserver-ezmlm-www.spec,v 1.5 2022/03/16 04:35:00 jpp Exp $ # Authority: picsone # Name: Normando Hall %define name smeserver-ezmlm-www %define version 2.0.0 -%define release 3 +%define release 4 Summary: ezmlm-www packaged for sme server Name: %{name} @@ -29,6 +29,11 @@ mailing list archives. It extends ezmlm- by using a modular architecture: it is fully Perl-based. %changelog +* Fri Mar 18 2022 Jean-Philippe Pialasse 2.0.0-4.sme +- fix ez_search perms [SME: 11909] +- use KinoSearch1 +- create directory indexes + * Tue Mar 15 2022 Jean-Philippe Pialasse 1.4.5-3.sme - build for SME10 [SME: 11909] use initial source and compile ourself the index.cgi @@ -47,6 +52,10 @@ by using a modular architecture: it is f %setup -T -D -a 1 cp -r ezmlm-www-1.4.5/* root/opt/mailinglist %patch0 -p1 +# sed KinoSearch KinoSearch1 +sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ + -e 's/KinoSearch/KinoSearch1/g' +mkdir -p root/opt/mailinglist/search/indexes %build perl createlinks @@ -59,6 +68,7 @@ rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \ --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \