Merge pull request #10480 from dasjoe/asterisk
asterisk: fix service installation and upgrade to 13.6.0
This commit is contained in:
commit
48d837f310
@ -201,6 +201,7 @@ in
|
||||
for d in '${varlibdir}' '${spooldir}' '${logdir}'; do
|
||||
# TODO: Make exceptions for /var directories that likely should be updated
|
||||
if [ ! -e "$d" ]; then
|
||||
mkdir -p "$d"
|
||||
cp --recursive ${pkgs.asterisk}/"$d" "$d"
|
||||
chown --recursive ${asteriskUser} "$d"
|
||||
find "$d" -type d | xargs chmod 0755
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "asterisk-${version}";
|
||||
version = "13.3.2";
|
||||
version = "13.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-${version}.tar.gz";
|
||||
sha256 = "19dafvy6ch4v8949bjim64fff456k78156m30dy2yvhm94m5k1zz";
|
||||
sha256 = "0nh0fnqx84as92kk9d73s0386cndd17l06y1c72jl2bdjhyba0ca";
|
||||
};
|
||||
|
||||
# Note that these sounds are included with the release tarball. They are
|
||||
|
Loading…
Reference in New Issue
Block a user