/[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.4 by unnilennium, Fri May 6 11:40:19 2016 UTC Revision 1.34 by jpp, Tue Jan 21 08:52:40 2020 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.3 2016/05/06 11:09:30 unnilennium Exp $  # $Id: smeserver-freepbx.spec,v 1.33 2020/01/21 04:28:36 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 0.1  %define version 13
7  %define release 36  %define release 16
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 15  License: GPL Line 15  License: GPL
15  Group: System/Servers  Group: System/Servers
16  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
17    
18  Patch0: smeserver-freepbx-0.1-fop_link.patch  Patch0: smeserver-freepbx-13.bz9702.udpports.patch
19  Patch1: smeserver-freepbx-0.1-genzaptelconf.patch  Patch1: smeserver-freepbx-13.bz9744.patch
20  Patch2: smeserver-freepbx-0.1-logrotate.patch  Patch2: smeserver-freepbx-13.bz9702-2.patch
21  Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch  Patch3: smeserver-freepbx-13.bz9760.patch
22  Patch4: smeserver-freepbx-0.1-userpanels.patch  Patch4: smeserver-freepbx-13.bz9918.defaultUDPports.patch
23  Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch  Patch5: smeserver-freepbx-13.bz9860.AutoUpgradeModules.patch
24  Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch  Patch6: smeserver-freepbx-13.bz9637.backupFBX.patch
25  Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch  Patch7: smeserver-freepbx-13.bz10120.noiseAmportal.patch
26  Patch8: smeserver-freepbx-0.1-zap2dahdi.patch  Patch8: smeserver-freepbx-13.bz10268.updatetktauth.patch
27  Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch  Patch9: smeserver-freepbx-13.bz10496.missing-tampered-files.patch
28  Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch  Patch10: smeserver-freepbx-13.bz10503.DeviceAndUser.patch
 Patch11: smeserver-freepbx-0.1-retry_install.patch  
 Patch12: smeserver-freepbx-0.1-recordings_security.patch  
 Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch  
 Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch  
 Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch  
 Patch16: smeserver-freepbx-0.1-templatize_manager.patch  
 Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch  
 Patch18: smeserver-freepbx-0.1-clean_crontab.patch  
 Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch  
 Patch20: smeserver-freepbx-0.1-http_cleanup.patch  
 Patch21: smeserver-freepbx-0.1-cdr_passwd.patch  
 Patch22: smeserver-freepbx-0.1-fop_separate_service.patch  
 Patch23: smeserver-freepbx-0.1-check_referer.patch  
 Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch  
 Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch  
 Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch  
 Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch  
 Patch28: smeserver-freepbx-0.1-create_mysql.patch  
 Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch  
 Patch30: smeserver-freepbx-0.1-datadir_in_var_lib.patch  
 Patch31: smeserver-freepbx-0.1-templates_logrotate.patch  
 Patch32: smeserver-freepbx-0.1-session_path.patch  
 Patch33: smeserver-freepbx-0.1-logrotate_misdn.patch  
 Patch34: smeserver-freepbx-0.1-protect_by_location.patch  
 Patch35: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch  
29    
30  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
31  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
# Line 69  Requires: sox Line 44  Requires: sox
44  Requires: mod_auth_tkt  Requires: mod_auth_tkt
45  Requires: e-smith-base  Requires: e-smith-base
46  Requires: freepbx-src  Requires: freepbx-src
47    Requires: asterisk-sounds-core-en-ulaw  
48    Requires: asterisk-sounds-extra-en-ulaw
49    Requires: asterisk-resample
50    Requires: asterisk-voicemail
51    Requires: asterisk-configs
52    Requires: ffmpeg
53    Requires: mpg123
54    Requires: mysql-connector-odbc
55    Requires: unixODBC
56    Requires: asterisk-odbc
57    Requires: lame
58    Requires: e-smith-manager >= 2.6.0-22
59    
60  #Buildarch: noarch  #Buildarch: noarch
61  AutoReqProv: no  AutoReqProv: no
# Line 80  This package provide the integration of Line 67  This package provide the integration of
67    
68    
69  %changelog  %changelog
70    * Mon Jan 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 13-16.sme
71    - add required modules to enable cel and cdr logging and search [SME: 10620]
72    - add requires lame [SME: 9859]
73    
74    * Mon Jan 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13-15.sme
75    - fix warning tampered files in GUI [SME: 10496]
76    - remove DeviceAndUser property [SME: 10503]
77    
78    * Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-14.sme
79    - update TKT auth parameter for SME 9.2 [SME: 10268]
80    
81    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme
82    - fix noise rebooting and restarting freepbx [SME: 10120]
83    
84    * Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme
85    - NFR: auto backup of whole FBX config during pre-backup event [SME: 9637]
86    - both asdb and fpbx, asterisk config files, freepbx folders, voicemails are part of backup
87    - 2 versions are kepts
88    - weekly backup is also done.
89    
90    * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme
91    - fix Missing HTML5 format converters  [SME: 9859]
92    - added requirement for mpg123 and ffmpeg available in smecontribs
93    
94    * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme
95    - update framework before other modules [SME: 9860]
96    
97    * Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-8.sme
98    - autoupgrade modules [SME: 9860]
99    
100    * Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme
101    - fix wrong default UDPPorts on new install [SME: 9918]
102    
103    * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme
104    - fix error while backup with workstation [SME: 9760]
105    
106    * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme
107    -fix typo in smeserver-freepbx-13.bz9744.patch
108    
109    * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme
110    - fix [SME: 9702]
111    - corrected syntax for port range
112    
113    * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme
114    - fix [SME: 9744]
115    - fix wrong /tmp folder permission after update
116    - Thank you Hsing-Foo Wang.
117    
118    * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
119    - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]
120    
121    * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme
122    - bump version to current Freepbx version 13
123    
124    * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> -47.sme
125    - add all needed port for Freepbx sip pjsip and RTP [SME: 9495]
126    
127    * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme
128    - fix missing config files (requires asterisk-configs) [SME: 9577]
129    - fix recuring reconfiguration error while installing digium phone module [SME: 9575]
130    - added port 5061 for tls to TCP ports [SME: 9576]
131    
132    * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme
133    - fix wrong logrotate pattern [SME: 9516]
134    - as the contrib is only in smedev, i do not fix existing log files badly rotated
135    
136    * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme
137    - remove fop db [SME: 9495]
138    - add some mysql setting for freepbxdb (user, email)
139    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch
140    
141    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme
142    - add path to ucp module [SME: 9495]
143    - add 256Mo as default for freepbx php Memory
144    - add AllowOveride All for .htaccess
145    - remove httpd config to old FOP panel
146    - add port 5061 for freepbx
147    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch
148    - configuration of amportal.conf and its mysql equivalent
149    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch
150    
151    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme
152    - remove FOP patches [SME: 9495]
153    - deleted link to expand amportal.conf
154    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch
155    
156    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme
157    - remove heading of /etc/asterisk/asterisk.conf [SME: 9495]
158    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch
159    - bump
160    
161    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme
162    - remove expand template amportal.conf [SME: 9495]
163    - chown /var/lib/asterisk
164    - installation configuration options
165    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch
166    - Requires: asterisk-sounds-core-en-ulaw  asterisk-sounds-extra-en-ulaw asterisk-voicemail
167    
168    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-37.sme
169    - new path to sql files [SME: 9495]
170    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch
171    
172  * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme  * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme
173  - adapt script to  fpbx13 and asterisk 13 [SME: 9495]  - adapt script to  fpbx13 and asterisk 13 [SME: 9495]
174  - change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to  - change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to
# Line 228  This package provide the integration of Line 317  This package provide the integration of
317  %patch8 -p1  %patch8 -p1
318  %patch9 -p1  %patch9 -p1
319  %patch10 -p1  %patch10 -p1
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
 %patch14 -p1  
 %patch15 -p1  
 %patch16 -p1  
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 %patch22 -p1  
 %patch23 -p1  
 %patch24 -p1  
 %patch25 -p1  
 %patch26 -p1  
 %patch27 -p1  
 %patch28 -p1  
 %patch29 -p1  
 %patch30 -p1  
 %patch31 -p1  
 %patch32 -p1  
 %patch33 -p1  
 %patch34 -p1  
 %patch35 -p1  
320    
321    # until rebuilt of a smeserver-freepbx tar file:
322    rm -rf root/etc/e-smith/db/configuration/defaults/freepbx/DeviceAndUser
323    
324  %build  %build
325  # Build symlinks  # Build symlinks
326  perl createlinks  perl createlinks
327    
   
328  %install  %install
329  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
330    
# Line 290  rm -rf $RPM_BUILD_ROOT Line 355  rm -rf $RPM_BUILD_ROOT
355    
356  %post  %post
357    
358    #bug 9744, restore tmp permissions
359    if [ `stat -c %U /tmp` == "asterisk"  ]; then
360            chmod o+rwxt /tmp/
361            chown root:root /tmp/
362    fi
363    
364  %preun  %preun
365  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
366    /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