--- rpms/smeserver-hylafax/contribs9/smeserver-hylafax.spec 2016/05/03 05:29:10 1.2 +++ rpms/smeserver-hylafax/contribs9/smeserver-hylafax.spec 2016/05/05 03:25:19 1.3 @@ -1,10 +1,10 @@ -# $Id: smeserver-hylafax.spec,v 1.1 2016/05/03 05:09:48 unnilennium Exp $ +# $Id: smeserver-hylafax.spec,v 1.2 2016/05/03 05:29:10 unnilennium Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-hylafax %define version 0.9 -%define release 7 +%define release 8 Summary: Set up hylafax for sending and receiving facsimiles. Name: %{name} Version: %{version} @@ -26,6 +26,9 @@ AutoReqProv: no HylaFAX is an enterprise-class system for sending and receiving facsimiles %changelog +* Wed May 04 2016 Jean-Philipe Pialasse 0.9-8.sme +- fix permission problem on xferfaxlog [SME: 7828] + * Tue May 03 2016 Jean-Philipe Pialasse 0.9-7.sme - fix hylafax does not start on SME9 [SME: 9485] - thank to bunkobugsy for reporting and providing the solution @@ -72,6 +75,7 @@ mkdir -p root/etc/e-smith/db/co echo "service" > root/etc/e-smith/db/configuration/defaults/hylafax/type echo "enabled" > root/etc/e-smith/db/configuration/defaults/hylafax/status echo "ttyS0" > root/etc/e-smith/db/configuration/defaults/hylafax/port +/bin/touch root/var/spool/hylafax/etc/xferfaxlog %install rm -rf $RPM_BUILD_ROOT @@ -82,6 +86,7 @@ rm -f %{name}-%{version}-filelist --file '/var/spool/hylafax/mimetype/application/ps' 'attr(0755,root,root)' \ --file '/var/spool/hylafax/mimetype/image/tiff' 'attr(0755,root,root)' \ --file '/var/spool/hylafax/etc/mailfax' 'attr(0755,root,root)' \ + --file '/var/spool/hylafax/etc/xferfaxlog' 'attr(0755,uucp,uucp)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist @@ -92,11 +97,12 @@ rm -rf %{name}-%{version} %pre %preun %post -/sbin/e-smith/expand-template /etc/hylafax/hyla.conf -/sbin/e-smith/expand-template /etc/inittab -/bin/rm -f /etc/cron.daily/hylafax -/bin/touch /var/spool/hylafax/etc/xferfaxlog -echo "see http://wiki.contribs.org/HylaFax" +# remarq as this should not be here +#/sbin/e-smith/expand-template /etc/hylafax/hyla.conf +#/sbin/e-smith/expand-template /etc/init/ttyS0.conf +#/bin/rm -f /etc/cron.daily/hylafax +#/bin/touch /var/spool/hylafax/etc/xferfaxlog +#echo "see http://wiki.contribs.org/HylaFax" %postun /sbin/e-smith/expand-template /etc/inittab