/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx.spec
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.25 by jpp, Sun Feb 5 16:54:49 2023 UTC Revision 1.26 by jpp, Tue Apr 23 03:09:23 2024 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.24 2023/02/05 16:43:05 jpp Exp $  # $Id: smeserver-freepbx.spec,v 1.25 2023/02/05 16:54:49 jpp Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
5  #%define fpbxversion 2.5.0  #%define fpbxversion 2.5.0
6  %define version 14  %define version 14
7  %define release 13  %define release 14
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 23  Patch5: smeserver-freepbx-14-bz12226.pat Line 23  Patch5: smeserver-freepbx-14-bz12226.pat
23  Patch6: smeserver-freepbx-14-bz10703-backup.patch  Patch6: smeserver-freepbx-14-bz10703-backup.patch
24  Patch7: smeserver-freepbx-14-bz11923-bz12256.patch  Patch7: smeserver-freepbx-14-bz11923-bz12256.patch
25  Patch8: smeserver-freepbx-14-go15.patch  Patch8: smeserver-freepbx-14-go15.patch
26    Patch9: smeserver-freepbx-14-bz12481-bz12506.patch
27    
28  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
# Line 82  This package provide the integration of Line 83  This package provide the integration of
83    
84    
85  %changelog  %changelog
86    * Mon Apr 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 14-14.sme
87    - some logs not rotated [SME: 12506]
88    - moving freepbx php error log from /var/log/php [SME: 12481]
89    
90  * Wed Jan 04 2023 Jean-Philippe Pialasse <tests@pialasse.com> 14-13.sme  * Wed Jan 04 2023 Jean-Philippe Pialasse <tests@pialasse.com> 14-13.sme
91  - fix permission denied on /usr/local/sbin/fwconsole from cron  - fix permission denied on /usr/local/sbin/fwconsole from cron
92    
# Line 392  This package provide the integration of Line 397  This package provide the integration of
397  %patch6 -p1  %patch6 -p1
398  %patch7 -p1  %patch7 -p1
399  %patch8 -p1  %patch8 -p1
400    %patch9 -p1
401    
402  %build  %build
403  # Build symlinks  # Build symlinks
# Line 417  rm -rf $RPM_BUILD_ROOT Line 423  rm -rf $RPM_BUILD_ROOT
423          --file /etc/logrotate.d/asterisk 'config(noreplace)' \          --file /etc/logrotate.d/asterisk 'config(noreplace)' \
424          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \
425          --file /usr/sbin/safe_asterisk  'attr(0755,root,root)' \          --file /usr/sbin/safe_asterisk  'attr(0755,root,root)' \
426          --dir /var/log/php/freepbx 'attr(0770,root,asterisk)' \          --dir /var/log/freepbx 'attr(0770,root,asterisk)' \
427          --dir /var/lib/php/freepbx/sessions 'attr(0770,root,asterisk)' \          --dir /var/lib/php/freepbx/sessions 'attr(0770,root,asterisk)' \
428          --dir /var/lib/php/freepbx/temp 'attr(0770,root,asterisk)' \          --dir /var/lib/php/freepbx/temp 'attr(0770,root,asterisk)' \
429  |grep -v '/var/lib/asterisk$'| grep -v '/etc/asterisk$' \  |grep -v '/var/lib/asterisk$'| grep -v '/etc/asterisk$' \
# Line 437  if [ `stat -c %U /tmp` == "asterisk"  ]; Line 443  if [ `stat -c %U /tmp` == "asterisk"  ];
443          chmod o+rwxt /tmp/          chmod o+rwxt /tmp/
444          chown root:root /tmp/          chown root:root /tmp/
445  fi  fi
446    if [ -f /var/log/php/freepbx/error.log ]; then
447            mv /var/log/php/freepbx/* /var/log/freepbx/  >& /dev/null || :
448    fi
449    
450  %preun  %preun
451  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed