aur updates

This commit is contained in:
Kevin Mihelich 2013-08-29 23:53:38 +00:00
parent b8036d8d30
commit d4d70ce858
6 changed files with 30 additions and 68 deletions

View file

@ -1,9 +1,10 @@
# Maintainer : Xavier Devlamynck <magicrhesus@ouranos.be>
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
# Contributor: Maik Broemme <mbroemme@libmpq.org>
pkgname=asterisk
pkgver=11.5.0
pkgrel=1
pkgrel=2
pkgdesc="A complete PBX solution"
arch=('i686' 'x86_64')
backup=('etc/asterisk/acl.conf' 'etc/asterisk/adsi.conf' 'etc/asterisk/agents.conf' 'etc/asterisk/alarmreceiver.conf' 'etc/asterisk/alsa.conf' 'etc/asterisk/amd.conf' 'etc/asterisk/app_mysql.conf' 'etc/asterisk/app_skel.conf'
@ -25,11 +26,13 @@ makedepends=('postgresql' 'unixodbc' 'sqlite3')
optdepends=('libpri' 'libss7' 'openr2' 'iksemel' 'radiusclient-ng' 'dahdi')
source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-${pkgver}.tar.gz \
${pkgname}.service \
${pkgname}.logrotated)
${pkgname}.logrotated \
${pkgname}.tmpfile)
install=${pkgname}.install
sha256sums=('a82c1ddd9fb1d98f0dab6e0255a127fb7c7eaa687b3d515182458244062b4194'
'74e0b278d553499f0c648a6e3d55c0dbb11b0c6dc93a85b020a21eafadb83783'
'caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e')
'caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e'
'673c0c55bce8068c297f9cdd389402c2d5d5a25e2cf84732cb071198bd6fa78a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@ -51,4 +54,5 @@ package(){
install -D -m 644 ${srcdir}/asterisk.logrotated ${pkgdir}/etc/logrotate.d/asterisk
install -D -m 644 ${srcdir}/asterisk.service ${pkgdir}/usr/lib/systemd/system/asterisk.service
install -D -m 644 ${srcdir}/asterisk.tmpfile ${pkgdir}/usr/lib/tmpfiles.d/asterisk.conf
}

View file

@ -0,0 +1 @@
d /run/asterisk 0755 asterisk asterisk -

View file

@ -1,35 +1,30 @@
# Maintainer : Frederic Bezies <fredbezies at gmail dot com>
# For ArchLinux by Joël Porquet
pkgname=dtc
pkgver=20120614
pkgver=v1.4.0
pkgrel=1
_gitname=dtc
pkgdesc="Device Tree Compiler"
url="http://jdl.com/software/"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('git')
source=('git://jdl.com/software/dtc.git/')
md5sums=('SKIP')
_gitroot='http://jdl.com/software/dtc.git/'
_gitname='dtc'
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
build() {
msg 'Connecting to GIT server...'
cd $_gitname
if [[ -d ${_gitname} ]]
then
cd ${_gitname}
git pull
else
git clone ${_gitroot}
fi
msg 'GIT checkout done or server timeout'
make
}
package() {
cd ${_gitname}
cd $_gitname
make || return 1
make INSTALL=$(which install) DESTDIR=${pkgdir} PREFIX=/usr install || return 1
make INSTALL=$(which install) DESTDIR=${pkgdir} PREFIX=/usr install
}

View file

@ -5,8 +5,8 @@
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
pkgname=netatalk
pkgver=3.0.4
pkgrel=2
pkgver=3.0.5
pkgrel=1
pkgdesc='A kernel-level implementation of AFP services'
arch=('i686' 'x86_64')
url='http://netatalk.sourceforge.net'
@ -19,11 +19,12 @@ options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('f455505884a6aea307640d46a6577fd1')
md5sums=('1ac905f5f5dc44eeec4e4c54db67d481')
build() {
cd $pkgname-$pkgver
msg2 'Fixing...'
: | tee test/afpd/Make*
sed -i -e 's:AX_CHECK_DOCBOOK:[AX_CHECK_DOCBOOK]:' -e 's:"/lib/systemd:"/usr/lib/systemd:' -e 's/x"linux/x"generic/' macros/netatalk.m4
sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' {configure.ac,libevent/configure.in}
cp /usr/share/automake*/missing .

View file

@ -1,3 +1,8 @@
2013-08-15 SJ_UnderWater
* 3.0.5-1:
package update
2013-06-03 SJ_UnderWater
* 3.0.4-2:

View file

@ -1,44 +0,0 @@
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
NAME="Appletalk Services Daemon"
ARGS=
DAEMON=netatalk
[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON
PID=`get_pid $DAEMON`
case "$1" in
start)
stat_busy "Starting $NAME"
[ -z "$PID" ] && $DAEMON $ARGS &>/dev/null
if [ $? = 0 ]; then
add_daemon $DAEMON
stat_done
else
stat_fail
exit 1
fi
;;
stop)
stat_busy "Stopping $NAME"
[ -n "$PID" ] && kill $PID &>/dev/null
if [ $? = 0 ]; then
rm_daemon $DAEMON
stat_done
else
stat_fail
exit 1
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac