1 |
# $Id: smeserver-freepbx.spec,v 1.5 2009/03/18 19:39:37 vip-ire Exp $ |
# $Id: smeserver-freepbx.spec,v 1.19 2010/07/15 10:12:03 vip-ire 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 0.1 |
7 |
%define release 15 |
%define release 28 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
27 |
Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
28 |
Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch |
Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch |
29 |
Patch11: smeserver-freepbx-0.1-retry_install.patch |
Patch11: smeserver-freepbx-0.1-retry_install.patch |
30 |
|
Patch12: smeserver-freepbx-0.1-recordings_security.patch |
31 |
|
Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch |
32 |
|
Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch |
33 |
|
Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch |
34 |
|
Patch16: smeserver-freepbx-0.1-templatize_manager.patch |
35 |
|
Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch |
36 |
|
Patch18: smeserver-freepbx-0.1-clean_crontab.patch |
37 |
|
Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch |
38 |
|
Patch20: smeserver-freepbx-0.1-http_cleanup.patch |
39 |
|
Patch21: smeserver-freepbx-0.1-cdr_passwd.patch |
40 |
|
Patch22: smeserver-freepbx-0.1-fop_separate_service.patch |
41 |
|
Patch23: smeserver-freepbx-0.1-check_referer.patch |
42 |
|
Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch |
43 |
|
Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch |
44 |
|
Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch |
45 |
|
Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch |
46 |
|
Patch28: smeserver-freepbx-0.1-create_mysql.patch |
47 |
|
Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch |
48 |
|
|
49 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
50 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
55 |
Requires: mysql |
Requires: mysql |
56 |
Requires: httpd |
Requires: httpd |
57 |
Requires: php-pear |
Requires: php-pear |
58 |
Requires: asterisk |
Requires: /usr/sbin/asterisk |
59 |
Requires: asterisk-addons |
Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so |
60 |
Requires: dahdi-tools |
Requires: dahdi-tools |
61 |
Requires: dahdi-linux |
Requires: dahdi-linux |
62 |
Requires: sox |
Requires: sox |
74 |
|
|
75 |
|
|
76 |
%changelog |
%changelog |
77 |
|
* Mon Sep 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-28.sme |
78 |
|
- Create and populate the mysql databases in mysql.init |
79 |
|
- Templates for /etc/asterisk/asterisk.conf |
80 |
|
|
81 |
|
* Thu Jul 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-27] |
82 |
|
- Read ARI password from the DB (and initialize a random one) |
83 |
|
|
84 |
|
* Mon Feb 22 2010 Daniel B. <daniel@firewall-services.com> [0.1-26] |
85 |
|
- Remove hard-coded dependencies on asterisk and asterisk-addons14 |
86 |
|
Depends now on asterisk binary and app_addon_sql_mysql.so files |
87 |
|
(so it can work with asterisk or asterisk14) |
88 |
|
|
89 |
|
* Mon Feb 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-25] |
90 |
|
- Remove /etc/logrotate.d/asterisk which is now included in asterisk14 |
91 |
|
|
92 |
|
* Tue Feb 09 2010 Daniel B. <daniel@firewall-services.com> [0.1-24] |
93 |
|
- Depends now on asterisk14 and asterisk-addons14 |
94 |
|
|
95 |
|
* Wed Jan 06 2010 Daniel B. <daniel@firewall-services.com> [0.1-23] |
96 |
|
- disable dynamic hints |
97 |
|
|
98 |
|
* Tue Oct 06 2009 Daniel B. <daniel@firewall-services.com> [0.1-22] |
99 |
|
- include /opt/freepbx/admin/functions.inc.php in freepbx-dump-astdb |
100 |
|
action script for FreePBX 2.6 compatibility |
101 |
|
|
102 |
|
* Tue May 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-21] |
103 |
|
- Add CHECKREFERER=FALSE in amportal.conf to repvent error message in some |
104 |
|
modules (due to the ProxyPass configuration) |
105 |
|
|
106 |
|
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-20] |
107 |
|
- Fix CDR db password in cdr_mysql.conf template |
108 |
|
- Use a separate service in SME db for FOP |
109 |
|
|
110 |
|
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-19] |
111 |
|
- remove scoreboard directive from httpd-fpbx config |
112 |
|
- remove some modules (mod_ssl, mod_proxy) |
113 |
|
|
114 |
|
* Sat Apr 11 2009 Daniel B. <daniel@firewall-services.com> [0.1-18] |
115 |
|
- templatize cdr_mysql.conf [SME: 5153] |
116 |
|
- templatize manager.conf |
117 |
|
- remove freepbx-cron-scheduler.php from root crontab so only |
118 |
|
asterisk user runs it (prevent email error sent from cron) |
119 |
|
|
120 |
|
* Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-17] |
121 |
|
- Remove obsolete /admin Alias from apache |
122 |
|
- Run the security script on bootsrape-console-save event |
123 |
|
|
124 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-16] |
125 |
|
- Security Fixe: put a random password for ARI admin (this should be documented) |
126 |
|
|
127 |
* Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15] |
* Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15] |
128 |
- Check if /opt/freepbx/admin exists (retry the install if a first one failed) |
- Check if /opt/freepbx/admin exists (retry the install if a first one failed) |
129 |
- Remove tabs from spec |
- Remove tabs from spec |
195 |
%patch9 -p1 |
%patch9 -p1 |
196 |
%patch10 -p1 |
%patch10 -p1 |
197 |
%patch11 -p1 |
%patch11 -p1 |
198 |
|
%patch12 -p1 |
199 |
|
%patch13 -p1 |
200 |
|
%patch14 -p1 |
201 |
|
%patch15 -p1 |
202 |
|
%patch16 -p1 |
203 |
|
%patch17 -p1 |
204 |
|
%patch18 -p1 |
205 |
|
%patch19 -p1 |
206 |
|
%patch20 -p1 |
207 |
|
%patch21 -p1 |
208 |
|
%patch22 -p1 |
209 |
|
%patch23 -p1 |
210 |
|
%patch24 -p1 |
211 |
|
%patch25 -p1 |
212 |
|
%patch26 -p1 |
213 |
|
%patch27 -p1 |
214 |
|
%patch28 -p1 |
215 |
|
%patch29 -p1 |
216 |
|
|
217 |
%build |
%build |
218 |
# Build symlinks |
# Build symlinks |