ports/contrib (3.1): asterisk: removed site-specific syslog-ng configuration
commit 5d5323a9444795ab2c5b32396fcb3465262c8808 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Wed Aug 5 16:11:15 2015 +0900 asterisk: removed site-specific syslog-ng configuration diff --git a/asterisk/.footprint b/asterisk/.footprint index 78fcaad..bd60f98 100644 --- a/asterisk/.footprint +++ b/asterisk/.footprint @@ -110,8 +110,6 @@ drwxr-x--- root/asterisk etc/asterisk/default/ -rw-r----- root/asterisk etc/asterisk/default/xmpp.conf drwxr-xr-x root/root etc/rc.d/ -rwxr-xr-x root/root etc/rc.d/asterisk -drwxr-xr-x root/root etc/syslog-ng.d/ --rw-r--r-- root/root etc/syslog-ng.d/asterisk.conf drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/asterisk.h diff --git a/asterisk/Pkgfile b/asterisk/Pkgfile index 897137a..8da41f3 100644 --- a/asterisk/Pkgfile +++ b/asterisk/Pkgfile @@ -6,7 +6,7 @@ name=asterisk version=13.4.0 -release=3 +release=4 source=( http://downloads.digium.com/pub/asterisk/releases/asterisk-$version.tar.gz https://github.com/seanbright/asterisk-opus/archive/bb2925fc4eaad5b30b93eece... @@ -90,17 +90,4 @@ build () { # Fix permissions chown -R asterisk:asterisk $PKG/var/{lib,log,run,spool}/asterisk - # Add syslog-ng configuration file if /etc/syslog-ng.d exists - if [ -d /etc/syslog-ng.d ]; then - mkdir -p -m 755 $PKG/etc/syslog-ng.d - sed 's|\\t|\t|g' <<-EOF >$PKG/etc/syslog-ng.d/$name.conf - destination dst_$name { dst_default(prefix("$name")); }; - log { - \tsource(src_default); - \tfilter { program('$name' type(string)); }; - \tdestination(dst_$name); - }; - EOF - fi - }
participants (1)
-
crux@crux.nu