]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - asterisk.spec
package the acl.conf file
[packages/asterisk.git] / asterisk.spec
index 6ca432927db7a494a8703fc27bc4c7c0c23833f1..75e7513c51344e9b5684ee8e61ea3a43bdf1c300 100644 (file)
@@ -35,11 +35,11 @@ Source0:    http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}.ta
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}.tmpfiles
-Source5:       %{name}.logrotate
-Source6:       %{name}.service
+Source4:       %{name}.logrotate
+Source5:       %{name}.service
 # menuselect.* -> make menuconfig; choose options; copy resulting files here
-Source12:      menuselect.makedeps
-Source13:      menuselect.makeopts
+Source6:       menuselect.makedeps
+Source7:       menuselect.makeopts
 Patch0:                mxml-system.patch
 Patch1:                lua51-path.patch
 Patch2:                %{name}-lib.patch
@@ -608,8 +608,8 @@ cp -f .cleancount .lastclean
 %{__make} menuselect/menuselect
 %{__make} menuselect-tree
 
-cp %{SOURCE12} .
-cp %{SOURCE13} .
+cp %{SOURCE6} .
+cp %{SOURCE7} .
 
 %if %{without h323}
 menuselect/menuselect --disable chan_ooh323 --disable chan_h323 menuselect.makeopts
@@ -741,8 +741,8 @@ install -D -p apps/app_voicemail_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/mod
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
-install -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
+cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
+install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
@@ -784,7 +784,7 @@ find doc/api -name '*.map' -size 0 -delete
 %endif
 
 # remove configuration files for components never built
-rm $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{acl,app_mysql,app_skel,cdr_mysql,config_test,misdn,test_sorcery}.conf
+rm $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{app_mysql,app_skel,cdr_mysql,config_test,misdn,test_sorcery}.conf
 
 # remove configuration files for disabled optional components
 %if %{without corosync}
@@ -888,6 +888,7 @@ chown -R asterisk:asterisk /var/lib/asterisk
 %{systemdunitdir}/%{name}.service
 
 %attr(750,root,asterisk) %dir %{_sysconfdir}/asterisk
+%attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/acl.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adsi.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/agents.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alarmreceiver.conf
This page took 0.096117 seconds and 4 git commands to generate.