mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur fixes
This commit is contained in:
parent
58d7cbc30a
commit
d89ca0a6cb
7 changed files with 54 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
|
||||
# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
|
||||
|
||||
pkgrel=1
|
||||
|
||||
pkgname=dropbear
|
||||
pkgver=2011.55
|
||||
pkgrel=1
|
||||
|
|
6
aur/python2-cheetah/Changelog
Normal file
6
aur/python2-cheetah/Changelog
Normal file
|
@ -0,0 +1,6 @@
|
|||
2012-01-31 Julien Nicoulaud <julien.nicoulaud@gmail.com>
|
||||
|
||||
* 2.4.4-4 :
|
||||
Add changelog.
|
||||
Remove unneeded shebang modification.
|
||||
|
|
@ -14,7 +14,7 @@ source=(http://umurmur.googlecode.com/files/${pkgname}-${pkgver}.tar.gz \
|
|||
umurmur.rc.d \
|
||||
umurmur.conf.d \
|
||||
umurmur.1)
|
||||
sha1sums=('f602f5257a52ca9a6812abc5ee0baa47d5ca4c37'
|
||||
sha1sums=('4e497663d0612efb1b61f61663a8d4c27e90777f'
|
||||
'c4f91846a6ee16437452c024652d2f5eca0c0c2a'
|
||||
'21749181b742154a3be984caa5e29ab62410e9cf'
|
||||
'07e1f5082faced4610ef97af2aacd52f583b9a5f')
|
||||
|
|
|
@ -25,7 +25,7 @@ md5sums=('559c8d1fa8274fb45437c277c0c7f121'
|
|||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make -f Makefile.Py27
|
||||
CFLAGS='' make -f Makefile.Py27
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
3
aur/uwsgi/uwsgi.ini
Normal file
3
aur/uwsgi/uwsgi.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[uwsgi]
|
||||
emperor = /etc/uwsgi/apps
|
||||
master = 1
|
3
aur/uwsgi/uwsgid.conf
Normal file
3
aur/uwsgi/uwsgid.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
UWSGI_INI=/etc/uwsgi/uwsgi.ini
|
||||
UWSGI_PIDFILE=/var/run/uwsgid.pid
|
||||
UWSGI_DAEMONIZE=/var/log/uwsgid.log
|
38
aur/uwsgi/uwsgid.sh
Normal file
38
aur/uwsgi/uwsgid.sh
Normal file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
. /etc/conf.d/uwsgid
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting uwsgid"
|
||||
/usr/bin/uwsgi --daemonize "$UWSGI_DAEMONIZE" --ini "$UWSGI_INI" --pidfile "$UWSGI_PIDFILE" &>/dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon uwsgid
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping uwsgid"
|
||||
kill -QUIT `cat "$UWSGI_PIDFILE"` &>/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon uwsgid
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue