summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-28 00:02:21 +0000
committerroot <root@rshg054.dnsready.net>2012-07-28 00:02:21 +0000
commita5c2e73ba30c769148056635676165a4265eac83 (patch)
treee9a7043a5fc46bc7021cfb8503fc9245bbee4057 /community
parent2c30604c9ff749660a4b8507eec99e679cf19508 (diff)
Sat Jul 28 00:02:21 UTC 2012
Diffstat (limited to 'community')
-rw-r--r--community/atop/PKGBUILD14
-rw-r--r--community/dos2unix/PKGBUILD6
-rw-r--r--community/hdapsd/PKGBUILD42
-rw-r--r--community/hdapsd/hdapsd.conf.d22
-rw-r--r--community/hdapsd/hdapsd.rc.d60
-rw-r--r--community/hdapsd/hdapsd.systemd12
-rw-r--r--community/hdapsd/hdapsd.wrapper20
-rw-r--r--community/ocaml-findlib/PKGBUILD4
-rw-r--r--community/pd/PKGBUILD36
-rw-r--r--community/percona-server/PKGBUILD8
-rw-r--r--community/tinyproxy/PKGBUILD13
-rw-r--r--community/tinyproxy/tinyproxy.service10
-rw-r--r--community/wt/PKGBUILD8
13 files changed, 231 insertions, 24 deletions
diff --git a/community/atop/PKGBUILD b/community/atop/PKGBUILD
index b265f2361..10b6c63fc 100644
--- a/community/atop/PKGBUILD
+++ b/community/atop/PKGBUILD
@@ -1,25 +1,25 @@
-# $Id: PKGBUILD 57413 2011-10-27 08:43:14Z spupykin $
+# $Id: PKGBUILD 74387 2012-07-26 08:51:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: John Gerritse <john.gerritse@gmail.com>
pkgname=atop
-pkgver=1.26
-pkgrel=2
+pkgver=1.27_3
+pkgrel=1
pkgdesc="A system and process level monitor."
arch=(i686 x86_64)
url="http://www.atoptool.nl/"
license=('GPL')
depends=('ncurses' 'sh' 'zlib')
-source=(http://www.atoptool.nl/download/atop-$pkgver.tar.gz)
-md5sums=('9a72baf4c8f330973f1e2703f5a6c041')
+source=(http://www.atoptool.nl/download/atop-${pkgver/_/-}.tar.gz)
+md5sums=('4a4e896ed6ec6979f80898d37938b8d9')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname-${pkgver/_/-}
sed -i 's#root ##' atop.cron
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname-${pkgver/_/-}
make DESTDIR=$pkgdir INIPATH=/etc/rc.d install
}
diff --git a/community/dos2unix/PKGBUILD b/community/dos2unix/PKGBUILD
index 0a8bbf17f..cab8f4779 100644
--- a/community/dos2unix/PKGBUILD
+++ b/community/dos2unix/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 70487 2012-05-09 15:02:28Z bpiotrowski $
+# $Id: PKGBUILD 74381 2012-07-26 05:04:12Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski
# Contributor: Renato Garcia <fgar.renatoATgmailDOTcom>
# Contributor: Gerson E. Ruotolo <gersonruotolo@globo.com>
pkgname=dos2unix
-pkgver=6.0
+pkgver=6.0.1
pkgrel=1
pkgdesc='Text file format converter'
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ depends=('glibc')
makedepends=('perl')
conflicts=('hd2u')
source=("http://waterlan.home.xs4all.nl/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('2fc8d6ebe9f1a519b15ebe0850e9aabd')
+md5sums=('1070432514a0f2ee8abe6ebe502a4bf7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/hdapsd/PKGBUILD b/community/hdapsd/PKGBUILD
new file mode 100644
index 000000000..74aa528f0
--- /dev/null
+++ b/community/hdapsd/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Emil Renner Berthing <esmil@mailme.dk>
+# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+
+pkgname=hdapsd
+pkgver=20090401
+pkgrel=5
+pkgdesc='HDAPS userspace hard drive protection daemon'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/hdaps/'
+license=('GPL')
+depends=('glibc')
+backup=('etc/conf.d/hdapsd')
+source=("http://downloads.sourceforge.net/hdaps/hdapsd-${pkgver}.tar.gz"
+ 'hdapsd.conf.d'
+ 'hdapsd.rc.d'
+ 'hdapsd.systemd'
+ 'hdapsd.wrapper')
+md5sums=('897cee8b0192febd127470f3e9506aeb'
+ '07fc036c8717bf5a38bbc269ed38ad19'
+ '9ab70348da9751810a2bbac51e18ac75'
+ '4b1378d43dc9431982f6605265c24f3b'
+ '11270661f3a543268786a68bbe74a6bb')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make ${MAKEFLAGS}
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}/" install
+
+ # install rc script and its configuration file
+ install -Dm0644 "${srcdir}/hdapsd.conf.d" "${pkgdir}/etc/conf.d/hdapsd"
+ install -Dm0755 "${srcdir}/hdapsd.rc.d" "${pkgdir}/etc/rc.d/hdapsd"
+ install -Dm0644 "${srcdir}/hdapsd.systemd" "${pkgdir}/usr/lib/systemd/system/hdapsd.service"
+ install -Dm0755 "${srcdir}/hdapsd.wrapper" "${pkgdir}/usr/sbin/hdapsd-wrapper"
+}
diff --git a/community/hdapsd/hdapsd.conf.d b/community/hdapsd/hdapsd.conf.d
new file mode 100644
index 000000000..eb99fdc2c
--- /dev/null
+++ b/community/hdapsd/hdapsd.conf.d
@@ -0,0 +1,22 @@
+# DEVICE specifies the device to monitor, defaults to "sda".
+#DEVICE='sda'
+
+# If an ultrabay hard drive is inserted, the following can be used:
+#DEVICE=('sda' 'sdb')
+
+# SENSITIVITY is self explanatory, defaults to "15".
+#SENSITIVITY='15'
+
+# Set ADAPTIVE to "yes" to enable adaptive threshold (automatically increase
+# when the built-in keyboard/mouse is used).
+#ADAPTIVE='yes'
+
+# Set SYSLOG to "yes" to have the daemon report errors to syslog (instead of
+# stderr/stdout).
+SYSLOG='yes'
+
+# Set FORCE to "yes" to force the kernel to use the unload heads feature on
+# some old hard drives for which support cannot be autodetected (don't use this
+# unless you're absolutely sure your hard drive really supports unloading
+# heads).
+#FORCE='yes'
diff --git a/community/hdapsd/hdapsd.rc.d b/community/hdapsd/hdapsd.rc.d
new file mode 100644
index 000000000..f4e8a6b99
--- /dev/null
+++ b/community/hdapsd/hdapsd.rc.d
@@ -0,0 +1,60 @@
+#!/bin/bash
+
+[ -f /etc/conf.d/hdapsd ] && . /etc/conf.d/hdapsd
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PIDFILE=/var/run/hdapsd.pid
+PID=`cat ${PIDFILE} 2> /dev/null`
+
+case "$1" in
+ start)
+ stat_busy "Starting hdapsd"
+
+ ## The daemon will try to autoload the kernel module
+ #if [ ! -d /sys/devices/platform/hdaps ]; then
+ # stat_fail
+ # echo "You need to load the hdaps kernel module."
+ # exit 1
+ #fi
+
+ ## Set up options to the hdapsd daemon
+ HDAPSD_OPTS="-bp"
+ if [ -z "${DEVICE}" ]; then
+ HDAPSD_OPTS="${HDAPSD_OPTS} -d sda"
+ else
+ for i in ${DEVICE[@]}; do
+ HDAPSD_OPTS="${HDAPSD_OPTS} -d ${i}"
+ done
+ fi
+ [ ! -z "${SENSITIVITY}" ] && HDAPSD_OPTS="${HDAPSD_OPTS} -s ${SENSITIVITY}"
+ [ "${ADAPTIVE}" = "yes" ] && HDAPSD_OPTS="${HDAPSD_OPTS} -a"
+ [ "${SYSLOG}" = "yes" ] && HDAPSD_OPTS="${HDAPSD_OPTS} -l"
+ [ "${FORCE}" = "yes" ] && HDAPSD_OPTS="${HDAPSD_OPTS} -f"
+ [ -z "${PID}" ] && /usr/sbin/hdapsd ${HDAPSD_OPTS}
+ if [ ${?} -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon hdapsd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping hdapsd"
+ [ ! -z "${PID}" ] && kill $PID &> /dev/null
+ if [ ${?} -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon hdapsd
+ stat_done
+ fi
+ ;;
+ restart)
+ ${0} stop
+ sleep 1
+ ${0} start
+ ;;
+ *)
+ echo "usage: ${0} {start|stop|restart}"
+esac
diff --git a/community/hdapsd/hdapsd.systemd b/community/hdapsd/hdapsd.systemd
new file mode 100644
index 000000000..328699bc7
--- /dev/null
+++ b/community/hdapsd/hdapsd.systemd
@@ -0,0 +1,12 @@
+[Unit]
+Description=HDAPS userspace hard drive protection daemon
+After=syslog.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/hdapsd.pid
+ExecStart=/usr/sbin/hdapsd-wrapper
+ExecReload=/bin/kill -HUP ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/hdapsd/hdapsd.wrapper b/community/hdapsd/hdapsd.wrapper
new file mode 100644
index 000000000..d74fd272d
--- /dev/null
+++ b/community/hdapsd/hdapsd.wrapper
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+[ -f /etc/conf.d/hdapsd ] && source /etc/conf.d/hdapsd
+
+OPTS="-bp"
+
+if [ -z "${DEVICE}" ]; then
+ OPTS="${OPTS} -d sda"
+else
+ for i in ${DEVICE[@]}; do
+ OPTS="${OPTS} -d ${i}"
+ done
+fi
+
+[ ! -z "${SENSITIVITY}" ] && OPTS="${OPTS} -s ${SENSITIVITY}"
+[ "${ADAPTIVE}" == "yes" ] && OPTS="${OPTS} -a"
+[ "${SYSLOG}" == "yes" ] && OPTS="${OPTS} -l"
+[ "${FORCE}" == "yes" ] && OPTS="${OPTS} -f"
+
+/usr/sbin/hdapsd ${OPTS}
diff --git a/community/ocaml-findlib/PKGBUILD b/community/ocaml-findlib/PKGBUILD
index 707023724..e60cbfdfb 100644
--- a/community/ocaml-findlib/PKGBUILD
+++ b/community/ocaml-findlib/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: scj <scj archlinux us>
pkgname=ocaml-findlib
-pkgver=1.2.8
+pkgver=1.3.3
pkgrel=1
license=('MIT')
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ pkgdesc='Objective Caml (OCaml) package manager'
url='http://projects.camlcity.org/projects/findlib.html'
depends=('ocaml')
source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
-md5sums=('a1da0fddf589ae62fa9b50799cd04c17')
options=('!strip' 'zipman') # otherwise the bytecode gets broken
+md5sums=('a4c22ad5e0d38367a73cf58a25fcbebd')
build() {
cd "$srcdir/findlib-$pkgver"
diff --git a/community/pd/PKGBUILD b/community/pd/PKGBUILD
new file mode 100644
index 000000000..18449382a
--- /dev/null
+++ b/community/pd/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 74397 2012-07-26 14:58:32Z speps $
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: TDY <tdy@gmx.com>
+# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
+# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
+
+pkgname=pd
+pkgver=0.43.3
+_ver=${pkgver%.*}-${pkgver##*.}
+pkgrel=1
+pkgdesc="The Pure Data real-time music and multimedia environment"
+arch=('i686' 'x86_64')
+url="http://crca.ucsd.edu/~msp/software.html"
+license=('custom:BSD')
+depends=('jack' 'fftw' 'tk')
+provides=('puredata')
+source=("http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz")
+md5sums=('c0a565d3be92844780a86524598a5137')
+
+build() {
+ cd "$srcdir/pd-$_ver/src"
+ ./configure --prefix=/usr \
+ --enable-alsa \
+ --enable-jack \
+ --enable-fftw
+ make
+}
+
+package() {
+ cd "$srcdir/pd-$_ver/src"
+ make DESTDIR="$pkgdir" install
+
+ # license
+ install -Dm644 ../LICENSE.txt \
+ "$pkgdir/usr/share/licenses/pd/LICENSE"
+}
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD
index 5941996e8..6b24a683a 100644
--- a/community/percona-server/PKGBUILD
+++ b/community/percona-server/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 73668 2012-07-13 06:40:20Z spupykin $
+# $Id: PKGBUILD 74393 2012-07-26 13:12:10Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=percona-server
-pkgver=5.5.24_rel26.0
-pkgrel=3
+pkgver=5.5.25a_rel27.1
+pkgrel=1
pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server"
arch=('i686' 'x86_64')
@@ -106,7 +106,7 @@ package() {
install -Dm755 "$srcdir/mysqld-post" "$pkgdir/usr/bin/mysqld-post"
}
-md5sums=('76f835e98ad3c71fcaa33794ee187630'
+md5sums=('c6d08224a37f545d55af7657f24bd2c8'
'243864805611764a7e5883c1dba7afd8'
'1c949c0dbea5206af0db14942d9927b6'
'5143dadeaac15f1ff88ea16716588554'
diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD
index f52714348..cffd856ec 100644
--- a/community/tinyproxy/PKGBUILD
+++ b/community/tinyproxy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 64182 2012-02-09 20:42:45Z lfleischer $
+# $Id: PKGBUILD 74395 2012-07-26 13:54:21Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=tinyproxy
pkgver=1.8.3
-pkgrel=4
+pkgrel=5
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('i686' 'x86_64')
url='https://banu.com/tinyproxy/'
@@ -14,10 +14,12 @@ install="${pkgname}.install"
backup=('etc/tinyproxy/tinyproxy.conf')
source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2"
'tinyproxy'
- 'tinyproxy.tmpfiles.conf')
+ 'tinyproxy.tmpfiles.conf'
+ 'tinyproxy.service')
md5sums=('292ac51da8ad6ae883d4ebf56908400d'
'90eb2b3371e56d5a784fd826d4a6e5f8'
- '3c2764578f26581346fe312da0519a3e')
+ '3c2764578f26581346fe312da0519a3e'
+ '8e97b05cc8c87f7efefbf957e77c7f18')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -37,4 +39,7 @@ package() {
# Provide sane defaults
sed -i '/^#Listen/a\Listen 127.0.0.1' "${pkgdir}/etc/tinyproxy/tinyproxy.conf"
+
+ install -Dm0644 "${srcdir}/tinyproxy.service" \
+ "${pkgdir}/usr/lib/systemd/system/tinyproxy.service"
}
diff --git a/community/tinyproxy/tinyproxy.service b/community/tinyproxy/tinyproxy.service
new file mode 100644
index 000000000..aea1d32fe
--- /dev/null
+++ b/community/tinyproxy/tinyproxy.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinyproxy Web Proxy Server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/wt/PKGBUILD b/community/wt/PKGBUILD
index 819a161ba..f1df3ac0a 100644
--- a/community/wt/PKGBUILD
+++ b/community/wt/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74015 2012-07-18 01:09:31Z ibiru $
+# $Id: PKGBUILD 74389 2012-07-26 08:51:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Denis Martinez <deuns.martinez@gmail.com>
pkgname=wt
-pkgver=3.2.2rc2
-_pkgver=3.2.2-rc2
+pkgver=3.2.2
+_pkgver=3.2.2
pkgrel=1
pkgdesc="a C++ library and application server for developing and deploying web applications"
arch=('i686' 'x86_64')
@@ -26,7 +26,7 @@ optdepends=('openssl: for SSL support in built-in webserver'
'qt: for the Wt/Qt interopability example (wtwithqt)')
backup=('etc/wt/wt_config.xml')
source=(http://downloads.sourceforge.net/witty/$pkgname-${_pkgver}.tar.gz)
-md5sums=('015ab2b8c6bada0f801057e3f126e365')
+md5sums=('86e1eac9baa7a061fd3dd9b53dd77baa')
build() {
cd ${srcdir}/${pkgname}-${_pkgver}