forked from ports/contrib
asterisk: removed site-specific syslog-ng configuration
This commit is contained in:
parent
d7fab1f506
commit
5d5323a944
@ -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
|
||||
|
@ -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/bb2925fc4eaad5b30b93eece851297de5c12e06c.tar.gz
|
||||
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user