there's a bug in the 11.4.0-3 version: https://issues.asterisk.org/jira/browse/ASTERISK-18827
they said its fixed but i got the same issue.
Search Criteria
Package Details: asterisk 21.4.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/asterisk.git (read-only, click to copy) |
---|---|
Package Base: | asterisk |
Description: | A complete PBX solution |
Upstream URL: | https://www.asterisk.org |
Keywords: | sip, telephony, voip |
Licenses: | GPL-2.0-only |
Submitter: | pressh |
Maintainer: | nkukard (alerque) |
Last Packager: | nkukard |
Votes: | 112 |
Popularity: | 0.163808 |
First Submitted: | 2008-01-27 13:42 (UTC) |
Last Updated: | 2024-09-06 05:56 (UTC) |
Dependencies (21)
- alsa-lib
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- jansson (jansson-gitAUR)
- libedit
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libxslt (libxslt-gitAUR)
- opus (opus-gitAUR)
- popt (popt-gitAUR)
- speex (speex-gitAUR)
- gsm (make)
- sqlite3 (sqlite) (make)
- dahdi (dahdi-linux-gitAUR, dahdi-linuxAUR) (optional)
- gsm (optional)
- libpriAUR (optional)
- libsrtp (libsrtp-gitAUR) (optional)
- libss7AUR (optional)
- lua51 (luajit-symlinksAUR) (optional)
- openr2 (openr2-gitAUR) (optional)
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql-gitAUR, postgresql15-docsAUR, postgresql15AUR) (optional)
- unixodbc (unixodbc-gitAUR) (optional)
Required by (6)
Sources (5)
Latest Comments
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 24 Next › Last »
<deleted-account> commented on 2013-06-16 03:42 (UTC)
xdevla commented on 2013-06-04 15:30 (UTC)
Updated to last version
Added a systemd unit file
Support for backup files
Fixed /sbin -> /usr/bin
Fixed /var/run -> /run
xdevla commented on 2013-05-28 12:06 (UTC)
@rpodgorny It'll be fixed at some point, a bit busy these days
rpodgorny commented on 2013-05-28 11:50 (UTC)
please, either fix or orphan this package. thank you...
tritron commented on 2013-05-26 15:53 (UTC)
can you pleas add this patch to asterisk src https://issues.asterisk.org/jira/secure/attachment/46880/gareth-11.3.0.patch
and can you add make menuselect
rpodgorny commented on 2013-05-16 21:48 (UTC)
...experiencing the same thing as call-151:
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running: +
+ +
+ make install +
+-------------------------------------------+
==> Entering fakeroot environment...
==> Starting package()...
Installing modules from pbx...
Installing modules from channels...
Installing modules from codecs...
Installing modules from apps...
Installing modules from cdr...
Installing modules from cel...
Installing modules from formats...
Installing modules from bridges...
Installing modules from tests...
Installing modules from funcs...
Installing modules from addons...
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Installing modules from main...
make[1]: Entering directory `/home/radek/pkgbuilds-old/asterisk/src/asterisk-11.3.0'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
.pjlib-x86_64-unknown-linux-gnu.depend:605: *** missing separator. Stop.
make[4]: *** [depend] Error 2
make[3]: *** [dep] Error 1
make[2]: *** [pjproject] Error 2
make[1]: *** [res] Error 2
make[1]: Leaving directory `/home/radek/pkgbuilds-old/asterisk/src/asterisk-11.3.0'
make: *** [_cleantest_all] Error 2
make: *** Waiting for unfinished jobs....
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Installing modules from res...
==> ERROR: A failure occurred in package().
Aborting...
...x86_64 system here.
pedosb commented on 2013-04-09 18:18 (UTC)
For my system there was a typo in the PKGBUILD.
Here is the diff.
$ diff asterisk/PKGBUILD asterisk-mine/PKGBUILD
36c36
< sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/etc/asterisk/asterisk.conf
---
> sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/asterisk/etc/asterisk/asterisk.conf
cbuehler commented on 2013-04-06 10:06 (UTC)
This should be updated to use systemd instead of rc.d:
$/etc/rc.d/asterisk start
/etc/rc.d/asterisk: line 4: /etc/rc.conf: No such file or directory
/etc/rc.d/asterisk: line 5: /etc/rc.d/functions: No such file or directory
/etc/rc.d/asterisk: line 10: stat_busy: command not found
/etc/rc.d/asterisk: line 13: stat_fail: command not found
net147 commented on 2013-04-06 02:34 (UTC)
I have disowned asterisk16, dahdi, dahdi-tools if you would like to adopt them as I don't use them anymore.
itsjapie commented on 2013-04-05 13:05 (UTC)
The following PKGBUILD works for me (version bump to 11.4.0-rc1)
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
pkgname=asterisk
pkgver=11.4.0_rc1
_realpkgver=${pkgver/_/-}
pkgrel=1
pkgdesc="A complete PBX solution"
arch=('i686' 'x86_64')
url="http://www.asterisk.org"
license=('GPL')
depends=('alsa-lib' 'speex' 'popt' 'libvorbis' 'curl')
makedepends=('postgresql' 'unixodbc' 'sqlite3')
optdepends=('libpri' 'libss7' 'openr2' 'iksemel')
backup=(etc/asterisk/asterisk.conf)
source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$_realpkgver.tar.gz \
asterisk \
asterisk.logrotated)
install=$pkgname.install
md5sums=('51c8a95d1e0c5af162ad146b6eaf274c'
'59146273738605f1e011d8e7bed3561a'
'486e07a0a1405ea25ec5b1736034653e')
build() {
cd ${srcdir}/${pkgname}-${_realpkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make || return 1
}
package(){
cd ${srcdir}/${pkgname}-${_realpkgver}
make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} samples
(cd ${pkgdir}/etc/asterisk
# for i in `ls`; do [ $i = "asterisk.conf" ] || mv $i $i.default; done
ls -I asterisk.conf | xargs -I '{}' mv '{}' '{}.default')
# cp ${srcdir}/modules.conf modules.conf
sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/asterisk/etc/asterisk/asterisk.conf
install -D -m 755 ${srcdir}/asterisk ${pkgdir}/etc/rc.d/asterisk
install -D -m 644 ${srcdir}/asterisk.logrotated ${pkgdir}/etc/logrotate.d/asterisk
}
Pinned Comments
alerque commented on 2020-02-22 06:10 (UTC) (edited on 2020-02-22 06:34 (UTC) by alerque)
PSA: I've started hosting this and all its dependencies as prebuilt packages (x86_86 only) in my repository for those that want to install them using
pacman
without messing around with building from the AUR.