forked from ports/contrib
asterisk: Exclude astdb from package so its not overwritten when updating
This commit is contained in:
parent
0f81afe2be
commit
5142c90470
@ -464,7 +464,6 @@ drwxr-xr-x root/root var/
|
|||||||
drwxr-xr-x root/root var/lib/
|
drwxr-xr-x root/root var/lib/
|
||||||
drwxr-xr-x asterisk/asterisk var/lib/asterisk/
|
drwxr-xr-x asterisk/asterisk var/lib/asterisk/
|
||||||
drwxr-xr-x asterisk/asterisk var/lib/asterisk/agi-bin/
|
drwxr-xr-x asterisk/asterisk var/lib/asterisk/agi-bin/
|
||||||
-rw-r--r-- asterisk/asterisk var/lib/asterisk/astdb (EMPTY)
|
|
||||||
drwxr-xr-x asterisk/asterisk var/lib/asterisk/documentation/
|
drwxr-xr-x asterisk/asterisk var/lib/asterisk/documentation/
|
||||||
-rw-r--r-- asterisk/asterisk var/lib/asterisk/documentation/appdocsxml.dtd
|
-rw-r--r-- asterisk/asterisk var/lib/asterisk/documentation/appdocsxml.dtd
|
||||||
-rw-r--r-- asterisk/asterisk var/lib/asterisk/documentation/core-en_US.xml
|
-rw-r--r-- asterisk/asterisk var/lib/asterisk/documentation/core-en_US.xml
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
name=asterisk
|
name=asterisk
|
||||||
version=1.8.5.0
|
version=1.8.5.0
|
||||||
release=1
|
release=2
|
||||||
source=(
|
source=(
|
||||||
http://downloads.digium.com/pub/asterisk/releases/asterisk-$version.tar.gz
|
http://downloads.digium.com/pub/asterisk/releases/asterisk-$version.tar.gz
|
||||||
asterisk.rc
|
asterisk.rc
|
||||||
@ -56,9 +56,6 @@ build () {
|
|||||||
sed -i -e 's|^astrundir => .*|astrundir => /var/run/asterisk|' $PKG/etc/asterisk/asterisk.conf
|
sed -i -e 's|^astrundir => .*|astrundir => /var/run/asterisk|' $PKG/etc/asterisk/asterisk.conf
|
||||||
mkdir -p $PKG/var/run/asterisk
|
mkdir -p $PKG/var/run/asterisk
|
||||||
|
|
||||||
# create empty astdb database
|
|
||||||
touch $PKG/var/lib/asterisk/astdb
|
|
||||||
|
|
||||||
# fix permissions
|
# fix permissions
|
||||||
chown -R root:root $PKG
|
chown -R root:root $PKG
|
||||||
chown -R asterisk:asterisk $PKG/var/{lib,log,run,spool}/asterisk
|
chown -R asterisk:asterisk $PKG/var/{lib,log,run,spool}/asterisk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user