From d89ca0a6cbdf9ac0d21ace0d111d6e4301062d6b Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 12 Mar 2012 19:43:33 -0400 Subject: [PATCH] aur fixes --- aur/dropbear/PKGBUILD | 2 ++ aur/python2-cheetah/Changelog | 6 ++++++ aur/umurmur/PKGBUILD | 2 +- aur/uwsgi/PKGBUILD | 2 +- aur/uwsgi/uwsgi.ini | 3 +++ aur/uwsgi/uwsgid.conf | 3 +++ aur/uwsgi/uwsgid.sh | 38 +++++++++++++++++++++++++++++++++++ 7 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 aur/python2-cheetah/Changelog create mode 100644 aur/uwsgi/uwsgi.ini create mode 100644 aur/uwsgi/uwsgid.conf create mode 100644 aur/uwsgi/uwsgid.sh diff --git a/aur/dropbear/PKGBUILD b/aur/dropbear/PKGBUILD index 2cc76c7ca..8bc8d206a 100644 --- a/aur/dropbear/PKGBUILD +++ b/aur/dropbear/PKGBUILD @@ -2,6 +2,8 @@ # Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`> # Contributor: Jeremy Cowgar +pkgrel=1 + pkgname=dropbear pkgver=2011.55 pkgrel=1 diff --git a/aur/python2-cheetah/Changelog b/aur/python2-cheetah/Changelog new file mode 100644 index 000000000..9acc7834a --- /dev/null +++ b/aur/python2-cheetah/Changelog @@ -0,0 +1,6 @@ +2012-01-31 Julien Nicoulaud + + * 2.4.4-4 : + Add changelog. + Remove unneeded shebang modification. + diff --git a/aur/umurmur/PKGBUILD b/aur/umurmur/PKGBUILD index 9c6aa969c..8fbeed1ee 100644 --- a/aur/umurmur/PKGBUILD +++ b/aur/umurmur/PKGBUILD @@ -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') diff --git a/aur/uwsgi/PKGBUILD b/aur/uwsgi/PKGBUILD index 9fc0ea933..5b16b5209 100644 --- a/aur/uwsgi/PKGBUILD +++ b/aur/uwsgi/PKGBUILD @@ -25,7 +25,7 @@ md5sums=('559c8d1fa8274fb45437c277c0c7f121' build() { cd $srcdir/$pkgname-$pkgver - make -f Makefile.Py27 + CFLAGS='' make -f Makefile.Py27 } package() { diff --git a/aur/uwsgi/uwsgi.ini b/aur/uwsgi/uwsgi.ini new file mode 100644 index 000000000..db4cfe62a --- /dev/null +++ b/aur/uwsgi/uwsgi.ini @@ -0,0 +1,3 @@ +[uwsgi] +emperor = /etc/uwsgi/apps +master = 1 diff --git a/aur/uwsgi/uwsgid.conf b/aur/uwsgi/uwsgid.conf new file mode 100644 index 000000000..514030843 --- /dev/null +++ b/aur/uwsgi/uwsgid.conf @@ -0,0 +1,3 @@ +UWSGI_INI=/etc/uwsgi/uwsgi.ini +UWSGI_PIDFILE=/var/run/uwsgid.pid +UWSGI_DAEMONIZE=/var/log/uwsgid.log diff --git a/aur/uwsgi/uwsgid.sh b/aur/uwsgi/uwsgid.sh new file mode 100644 index 000000000..0dc59ff5c --- /dev/null +++ b/aur/uwsgi/uwsgid.sh @@ -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