summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Kukard2022-06-12 08:05:05 +0000
committerNigel Kukard2022-06-12 09:41:03 +0000
commitdce3e227fa7c6dc8422b2949e73ac77a3e1f4ba7 (patch)
treee35234864f642bf84fc5ec106c694a335ce29104
parentda86a5ddb7b975cb402d2322cbe8d078c6798258 (diff)
downloadaur-dce3e227fa7c6dc8422b2949e73ac77a3e1f4ba7.tar.gz
Updated to 19.4.1
Incorporated a suggestion regarding the build process from @loqs, ref https://bbs.archlinux.org/viewtopic.php?pid=2037946#p2037946. Specifying a group in sysusers is redundant. Fixed log file name, thanks @Astroturf! Use .tmpfiles to be slightly more consistent.
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD21
-rw-r--r--asterisk.logrotated2
-rw-r--r--asterisk.sysusers1
-rw-r--r--asterisk.tmpfiles (renamed from asterisk.tmpfile)0
6 files changed, 17 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 555eaae01537..af768b83edd5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = asterisk
pkgdesc = A complete PBX solution
- pkgver = 19.3.1
+ pkgver = 19.4.1
pkgrel = 1
url = https://www.asterisk.org
install = asterisk.install
@@ -38,7 +38,6 @@ pkgbase = asterisk
backup = etc/asterisk/alarmreceiver.conf
backup = etc/asterisk/alsa.conf
backup = etc/asterisk/amd.conf
- backup = etc/asterisk/app_mysql.conf
backup = etc/asterisk/app_skel.conf
backup = etc/asterisk/ari.conf
backup = etc/asterisk/ast_debug_tools.conf
@@ -98,7 +97,6 @@ pkgbase = asterisk
backup = etc/asterisk/modules.conf
backup = etc/asterisk/motif.conf
backup = etc/asterisk/musiconhold.conf
- backup = etc/asterisk/muted.conf
backup = etc/asterisk/ooh323.conf
backup = etc/asterisk/osp.conf
backup = etc/asterisk/phoneprov.conf
@@ -141,13 +139,13 @@ pkgbase = asterisk
backup = etc/asterisk/users.conf
backup = etc/asterisk/voicemail.conf
backup = etc/asterisk/xmpp.conf
- source = https://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-19.3.1.tar.gz
+ source = https://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-19.4.1.tar.gz
source = asterisk.sysusers
source = asterisk.logrotated
- source = asterisk.tmpfile
- sha256sums = 3e1fa31ef1de7813365dd8b98ef93744ff87902255472814d0232b955c794706
- sha256sums = fc2e42f79e1672cc25b9b8ad2ba99616fbba0047641c986d30718655d0e7d4d8
- sha256sums = caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e
+ source = asterisk.tmpfiles
+ sha256sums = 6b0b985163f20fcc8f8878069b8a9ee725eef4cfbdb1c1031fe3840fb32d7abe
+ sha256sums = 38a53911647fb2308482179cba605ebf12345df37eed23eb4ea67bf0bf041486
+ sha256sums = b97dc10a262621c95e4b75e024834712efd58561267b59b9171c959ecd9f7164
sha256sums = 673c0c55bce8068c297f9cdd389402c2d5d5a25e2cf84732cb071198bd6fa78a
pkgname = asterisk
diff --git a/.gitignore b/.gitignore
index 98e752d62458..4f36969b662f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,4 @@
!./asterisk.install
!./asterisk.logrotated
!./asterisk.sysusers
-!./asterisk.tmpfile
+!./asterisk.tmpfiles
diff --git a/PKGBUILD b/PKGBUILD
index dd21eecc7b21..f8519507243d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
pkgname=asterisk
-pkgver=19.3.1
+pkgver=19.4.1
pkgrel=1
pkgdesc='A complete PBX solution'
arch=(x86_64 i686 aarch64 armv7h)
@@ -42,7 +42,6 @@ _confs=(acl.conf
alarmreceiver.conf
alsa.conf
amd.conf
- app_mysql.conf
app_skel.conf
ari.conf
ast_debug_tools.conf
@@ -102,7 +101,6 @@ _confs=(acl.conf
modules.conf
motif.conf
musiconhold.conf
- muted.conf
ooh323.conf
osp.conf
phoneprov.conf
@@ -151,10 +149,10 @@ _archive="$pkgname-$pkgver"
source=("https://downloads.asterisk.org/pub/telephony/$pkgname/releases/$_archive.tar.gz"
"$pkgname.sysusers"
"$pkgname.logrotated"
- "$pkgname.tmpfile")
-sha256sums=('3e1fa31ef1de7813365dd8b98ef93744ff87902255472814d0232b955c794706'
- 'fc2e42f79e1672cc25b9b8ad2ba99616fbba0047641c986d30718655d0e7d4d8'
- 'caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e'
+ "$pkgname.tmpfiles")
+sha256sums=('6b0b985163f20fcc8f8878069b8a9ee725eef4cfbdb1c1031fe3840fb32d7abe'
+ '38a53911647fb2308482179cba605ebf12345df37eed23eb4ea67bf0bf041486'
+ 'b97dc10a262621c95e4b75e024834712efd58561267b59b9171c959ecd9f7164'
'673c0c55bce8068c297f9cdd389402c2d5d5a25e2cf84732cb071198bd6fa78a')
build() {
@@ -170,9 +168,8 @@ build() {
--localstatedir=/var \
--sbindir=/usr/bin \
--with-imap=system
- make menuselect.makeopts
- ./menuselect/menuselect --disable BUILD_NATIVE
- make
+
+ make MENUSELECT_CFLAGS= OPTIMIZE= DEBUG= ASTVARRUNDIR=/run/asterisk NOISY_BUILD=1
}
package(){
@@ -184,7 +181,7 @@ package(){
# Backup file list changes frequently and is hard to keep up to date. Check
# that our current meta data matches whatever just got packaged, else flunk
# with a helpful output of where the lists differ. We have to compare twice
- # because cmp has a useful exit code, comm hasa useful output, neither both
+ # because cmp has a useful exit code, comm has a useful output, neither both
local _backs=($(cd "$pkgdir/etc/$pkgname" && echo *))
cmp -s \
<(IFS=$'\n'; echo "${_confs[*]}" | sort) \
@@ -205,5 +202,5 @@ package(){
pushd "$srcdir"
install -Dm644 "$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -Dm644 "$pkgname.logrotated" "$pkgdir/etc/logrotate.d/$pkgname"
- install -Dm644 "$pkgname.tmpfile" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+ install -Dm644 "$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
diff --git a/asterisk.logrotated b/asterisk.logrotated
index f03d0acd370d..4bf367be3b21 100644
--- a/asterisk.logrotated
+++ b/asterisk.logrotated
@@ -1,4 +1,4 @@
-/var/log/asterisk/*_log /var/log/asterisk/messages {
+/var/log/asterisk/*_log /var/log/asterisk/messages.log {
create 640 asterisk asterisk
compress
missingok
diff --git a/asterisk.sysusers b/asterisk.sysusers
index a41884d97cfb..55b15621b6db 100644
--- a/asterisk.sysusers
+++ b/asterisk.sysusers
@@ -1,2 +1 @@
-g asterisk /usr/bin/asterisk
u asterisk /usr/bin/asterisk "Asterisk PBX and telephony" /run/asterisk
diff --git a/asterisk.tmpfile b/asterisk.tmpfiles
index 6f1042e8a4f2..6f1042e8a4f2 100644
--- a/asterisk.tmpfile
+++ b/asterisk.tmpfiles