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

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

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

Revision 1.19 by unnilennium, Tue Jul 26 16:24:23 2016 UTC Revision 1.20 by unnilennium, Mon Oct 24 02:58:18 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.18 2016/06/13 12:16:46 unnilennium Exp $  # $Id: smeserver-freepbx.spec,v 1.19 2016/07/26 16:24:23 unnilennium 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 13  %define version 13
7  %define release 2  %define release 3
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 16  Group: System/Servers Line 16  Group: System/Servers
16  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
17    
18  Patch0: smeserver-freepbx-13.bz9702.udpports.patch  Patch0: smeserver-freepbx-13.bz9702.udpports.patch
19    Patch1: smeserver-freepbx-13.bz9744.patch
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
22    
# Line 48  This package provide the integration of Line 48  This package provide the integration of
48    
49    
50  %changelog  %changelog
51    * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> -3.sme
52    - fix [SME: 9744]
53    - fix wrong /tmp folder permission after update
54    - Thank you Hsing-Foo Wang.
55    
56  * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme  * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
57  - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]  - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]
58    
# Line 240  This package provide the integration of Line 245  This package provide the integration of
245    
246  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
247  %patch0 -p1  %patch0 -p1
248    %patch1 -p1
249    
250  %build  %build
251  # Build symlinks  # Build symlinks
# Line 276  rm -rf $RPM_BUILD_ROOT Line 282  rm -rf $RPM_BUILD_ROOT
282    
283  %post  %post
284    
285    #bug 9744, restore tmp permissions
286    if [ `stat -c %U /tmp` == "asterisk"  ]; then
287            chmod o+rwxt /tmp/
288            chown root:root /tmp/
289    fi
290    
291  %preun  %preun
292  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
293    /etc/rc.d/init.d/freepbx stop >& /dev/null || :    /etc/rc.d/init.d/freepbx stop >& /dev/null || :


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