--- rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/16 04:27:12 1.4 +++ rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/16 04:35:00 1.5 @@ -1,4 +1,4 @@ -# $Id: smeserver-ezmlm-www.spec,v 1.3 2022/03/16 04:10:13 jpp Exp $ +# $Id: smeserver-ezmlm-www.spec,v 1.4 2022/03/16 04:27:12 jpp Exp $ # Authority: picsone # Name: Normando Hall @@ -21,7 +21,7 @@ Requires: perl-Mail-Box perl-User-Identi BuildRequires: e-smith-devtools BuildRequires: gcc AutoReq: no -BuildArchitectures: noarch +##BuildArchitectures: noarch %description ezmlm-www This project provides a useful web interface for Ezmlm @@ -32,9 +32,8 @@ by using a modular architecture: it is f * 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 - todo chmod - todo template the two config files - todo improve access rights + template the two config files + todo improve access rights in template * Wed Dec 5 2007 Normando Hall - first release @@ -54,37 +53,25 @@ perl createlinks #compile the c file cd root/opt/mailinglist cc index.cgi.c -o index.cgi - #cc index.cgi.c -o index.cgi - #chown popuser index.cgi - #chmod 4711 index.cgi - #chmod 755 ezmlm-www.pl %install 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 \ - --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \ - --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \ + --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)' \ > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %post -/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf -/etc/rc.d/init.d/httpd-e-smith sigusr1 %postun -/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf -/etc/rc.d/init.d/httpd-e-smith sigusr1 %files -f %{name}-%{version}-filelist %defattr(-,root,root) - - -%attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl -%attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl -%attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi