--- rpms/smeserver-freepbx/contribs7/smeserver-freepbx.spec 2010/09/30 09:48:50 1.20 +++ rpms/smeserver-freepbx/contribs7/smeserver-freepbx.spec 2011/10/20 13:35:21 1.24 @@ -1,10 +1,10 @@ -# $Id: smeserver-freepbx.spec,v 1.19 2010/07/15 10:12:03 vip-ire Exp $ +# $Id: smeserver-freepbx.spec,v 1.23 2011/10/17 08:11:39 vip-ire Exp $ # Authority: vip-ire # Name: Daniel Berteaud #%define fpbxversion 2.5.0 %define version 0.1 -%define release 28 +%define release 32 %define name smeserver-freepbx Summary: Asterisk web GUI @@ -45,6 +45,11 @@ Patch26: smeserver-freepbx-0.1-remove_lo 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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot URL: http://www.freepbx.org/ @@ -74,6 +79,19 @@ This package provide the integration of %changelog +* Thu Oct 20 2011 Daniel B. 0.1-32.sme +- Protect by locations (so other alias can be defined to protect with LL::NG for example) + +* Mon Oct 17 2011 Daniel B. 0.1-31.sme +- Add misdn.log to logrotate + +* Thu Oct 13 2011 Daniel B. 0.1-30.sme +- Change session path [SME: 6661] + +* Wed Jan 05 2011 Daniel B. 0.1-29.sme +- astdatadir is /var/lib/asterisk +- templates for /etc/logrotate.d/asterisk + * Mon Sep 20 2010 Daniel B. 0.1-28.sme - Create and populate the mysql databases in mysql.init - Templates for /etc/asterisk/asterisk.conf @@ -213,6 +231,11 @@ This package provide the integration of %patch27 -p1 %patch28 -p1 %patch29 -p1 +%patch30 -p1 +%patch31 -p1 +%patch32 -p1 +%patch33 -p1 +%patch34 -p1 %build # Build symlinks @@ -221,6 +244,9 @@ perl createlinks %install rm -rf $RPM_BUILD_ROOT + +%{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/fpbx-session + (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \ @@ -234,6 +260,7 @@ rm -rf $RPM_BUILD_ROOT --file /var/lib/asterisk/bin/genzaptelconf 'attr(0750,root,root)' \ --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \ --file /etc/logrotate.d/asterisk 'config(noreplace)' \ + --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \ > %{name}-%{version}-%{release}-filelist %clean