1 |
# $Id: smeserver-freepbx.spec,v 1.6 2016/05/15 14:58:42 unnilennium Exp $ |
# $Id: smeserver-freepbx.spec,v 1.22 2016/10/24 04:12:08 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 0.1 |
%define version 13 |
7 |
%define release 39 |
%define release 6 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
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 |
|
Patch4: smeserver-freepbx-0.1-userpanels.patch |
|
|
Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch |
|
|
Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch |
|
|
Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch |
|
|
Patch8: smeserver-freepbx-0.1-zap2dahdi.patch |
|
|
Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
|
|
Patch10: smeserver-freepbx-0.1-fix_logrotate_event.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 |
|
|
Patch36: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch |
|
|
Patch37: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch |
|
|
Patch38: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch |
|
|
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
24 |
|
|
39 |
Requires: asterisk-sounds-core-en-ulaw |
Requires: asterisk-sounds-core-en-ulaw |
40 |
Requires: asterisk-sounds-extra-en-ulaw |
Requires: asterisk-sounds-extra-en-ulaw |
41 |
Requires: asterisk-voicemail |
Requires: asterisk-voicemail |
42 |
|
Requires: asterisk-configs |
43 |
#Buildarch: noarch |
#Buildarch: noarch |
44 |
AutoReqProv: no |
AutoReqProv: no |
45 |
|
|
50 |
|
|
51 |
|
|
52 |
%changelog |
%changelog |
53 |
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-39.sme |
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme |
54 |
|
- fix error while backup with workstation [SME: 9760] |
55 |
|
|
56 |
|
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme |
57 |
|
-fix typo in smeserver-freepbx-13.bz9744.patch |
58 |
|
|
59 |
|
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme |
60 |
|
- fix [SME: 9702] |
61 |
|
- corrected syntax for port range |
62 |
|
|
63 |
|
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme |
64 |
|
- fix [SME: 9744] |
65 |
|
- fix wrong /tmp folder permission after update |
66 |
|
- Thank you Hsing-Foo Wang. |
67 |
|
|
68 |
|
* Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme |
69 |
|
- fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702] |
70 |
|
|
71 |
|
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme |
72 |
|
- bump version to current Freepbx version 13 |
73 |
|
|
74 |
|
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> -47.sme |
75 |
|
- add all needed port for Freepbx sip pjsip and RTP [SME: 9495] |
76 |
|
|
77 |
|
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme |
78 |
|
- fix missing config files (requires asterisk-configs) [SME: 9577] |
79 |
|
- fix recuring reconfiguration error while installing digium phone module [SME: 9575] |
80 |
|
- added port 5061 for tls to TCP ports [SME: 9576] |
81 |
|
|
82 |
|
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme |
83 |
|
- fix wrong logrotate pattern [SME: 9516] |
84 |
|
- as the contrib is only in smedev, i do not fix existing log files badly rotated |
85 |
|
|
86 |
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme |
87 |
|
- remove fop db [SME: 9495] |
88 |
|
- add some mysql setting for freepbxdb (user, email) |
89 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch |
90 |
|
|
91 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme |
92 |
|
- add path to ucp module [SME: 9495] |
93 |
|
- add 256Mo as default for freepbx php Memory |
94 |
|
- add AllowOveride All for .htaccess |
95 |
|
- remove httpd config to old FOP panel |
96 |
|
- add port 5061 for freepbx |
97 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch |
98 |
|
- configuration of amportal.conf and its mysql equivalent |
99 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch |
100 |
|
|
101 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme |
102 |
|
- remove FOP patches [SME: 9495] |
103 |
|
- deleted link to expand amportal.conf |
104 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch |
105 |
|
|
106 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme |
107 |
- remove heading of /etc/asterisk/asterisk.conf [SME: 9495] |
- remove heading of /etc/asterisk/asterisk.conf [SME: 9495] |
108 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch |
109 |
|
- bump |
110 |
|
|
111 |
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme |
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme |
112 |
- remove expand template amportal.conf [SME: 9495] |
- remove expand template amportal.conf [SME: 9495] |
260 |
%patch1 -p1 |
%patch1 -p1 |
261 |
%patch2 -p1 |
%patch2 -p1 |
262 |
%patch3 -p1 |
%patch3 -p1 |
263 |
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -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 |
|
|
%patch36 -p1 |
|
|
%patch37 -p1 |
|
|
%patch38 -p1 |
|
264 |
|
|
265 |
%build |
%build |
266 |
# Build symlinks |
# Build symlinks |
297 |
|
|
298 |
%post |
%post |
299 |
|
|
300 |
|
#bug 9744, restore tmp permissions |
301 |
|
if [ `stat -c %U /tmp` == "asterisk" ]; then |
302 |
|
chmod o+rwxt /tmp/ |
303 |
|
chown root:root /tmp/ |
304 |
|
fi |
305 |
|
|
306 |
%preun |
%preun |
307 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
308 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |