summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-12 00:07:12 -0800
committerroot <root@rshg054.dnsready.net>2013-01-12 00:07:12 -0800
commit8c2563c3c13cb7a279544f6926cbdd2eb902cc9a (patch)
treed3e4a89016fd033ce3af60858843dd11c72b2281 /community
parent4791b75bfebdea97defe1aa27d56b9223e58f6e8 (diff)
Sat Jan 12 00:07:12 PST 2013
Diffstat (limited to 'community')
-rw-r--r--community/arm-elf-gcc-base/PKGBUILD8
-rw-r--r--community/couchdb/PKGBUILD21
-rw-r--r--community/couchdb/couchdb.rc157
-rw-r--r--community/fb-client/PKGBUILD6
-rw-r--r--community/nodejs/PKGBUILD6
-rw-r--r--community/percona-server/PKGBUILD6
-rw-r--r--community/redis/PKGBUILD6
-rw-r--r--community/supercollider/PKGBUILD6
8 files changed, 186 insertions, 30 deletions
diff --git a/community/arm-elf-gcc-base/PKGBUILD b/community/arm-elf-gcc-base/PKGBUILD
index 589519c3f..5627f8c6e 100644
--- a/community/arm-elf-gcc-base/PKGBUILD
+++ b/community/arm-elf-gcc-base/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 75206 2012-08-16 01:56:31Z allan $
+# $Id: PKGBUILD 82198 2013-01-11 12:12:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=arm-elf-gcc-base
-pkgver=4.7.0
-pkgrel=2
+pkgver=4.7.2
+pkgrel=1
pkgdesc="The GNU Compiler Collection"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
@@ -11,7 +11,7 @@ url="http://gcc.gnu.org"
depends=('arm-elf-binutils' 'libmpc' 'libelf')
options=(!libtool !emptydirs zipman docs !strip)
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
-md5sums=('2a0f1d99fda235c29d40b561f81d9a77')
+md5sums=('cc308a0891e778cfda7a151ab8a6e762')
build() {
cd $srcdir/gcc-$pkgver
diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD
index 959f4b6d8..fec729680 100644
--- a/community/couchdb/PKGBUILD
+++ b/community/couchdb/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 80235 2012-11-18 10:29:50Z andrea $
+# $Id: PKGBUILD 82191 2013-01-11 10:20:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=couchdb
-pkgver=1.2.0
-pkgrel=6
+pkgver=1.2.1
+pkgrel=1
pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON"
arch=('i686' 'x86_64')
url="http://couchdb.apache.org"
@@ -16,15 +16,15 @@ options=('!libtool')
backup=('etc/couchdb/local.ini'
'etc/conf.d/couchdb'
'etc/logrotate.d/couchdb')
-source=("http://www.apache.org/dist/couchdb/releases/${pkgver}/apache-${pkgname}-${pkgver}.tar.gz"{,.asc}
+source=("http://apache-mirror.rbc.ru/pub/apache/couchdb/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc}
"couchdb.service"
"couchdb.tmpfiles"
- "rc-script.patch")
-md5sums=('a5cbbcaac288831b3d8a08b725657f10'
- '890a85b22219ea113a4901a289c442f8'
+ "couchdb.rc")
+md5sums=('df75b03e56c2431ede7625200f0d44a7'
+ 'e6e943c1da93cfcb41a4286daa80195d'
'8914a7ffc6745f94106d96206709acb4'
'1e254ebe32eeb061be64193bafa35dbf'
- '8a3b1a1ff98a6411827ad991db7a355b')
+ 'a75ee9b310a950eea13b07274b7a0669')
build() {
cd "$srcdir/apache-$pkgname-$pkgver"
@@ -33,8 +33,6 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var
make
-
- patch -R etc/init/couchdb <$srcdir/rc-script.patch
}
package() {
@@ -42,9 +40,10 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb
- sed -i 's|\(CONFIGURATION_FILE=/etc/\)default\(/couchdb\)|\1conf.d\2|' $pkgdir/etc/rc.d/couchdb
sed -i 's|\(COUCHDB_OPTIONS=\)|\1"-p /var/run/couchdb/couchdb.pid"|' $pkgdir/etc/conf.d/couchdb
+ install -Dm755 $srcdir/couchdb.rc $pkgdir/etc/rc.d/couchdb
+
rm -rf $pkgdir/etc/default/ $pkgdir/var/run
install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
diff --git a/community/couchdb/couchdb.rc b/community/couchdb/couchdb.rc
new file mode 100644
index 000000000..af41c6460
--- /dev/null
+++ b/community/couchdb/couchdb.rc
@@ -0,0 +1,157 @@
+#!/bin/bash
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+### BEGIN INIT INFO
+# Provides: couchdb
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Apache CouchDB init script
+# Description: Apache CouchDB init script for the database server.
+### END INIT INFO
+
+SCRIPT_OK=0
+SCRIPT_ERROR=1
+
+DESCRIPTION="database server"
+NAME=couchdb
+SCRIPT_NAME=`basename $0`
+COUCHDB=/usr/bin/couchdb
+CONFIGURATION_FILE=/etc/conf.d/couchdb
+RUN_DIR=/var/run/couchdb
+LSB_LIBRARY=/lib/lsb/init-functions
+
+if test ! -x $COUCHDB; then
+ exit $SCRIPT_ERROR
+fi
+
+if test -r $CONFIGURATION_FILE; then
+ . $CONFIGURATION_FILE
+fi
+
+log_daemon_msg () {
+ stat_busy $@
+}
+
+log_end_msg () {
+ if test "$1" != "0"; then
+ stat_fail
+ else
+ stat_done
+ fi
+ return $1
+}
+
+if test -r $LSB_LIBRARY; then
+ . $LSB_LIBRARY
+fi
+
+run_command () {
+ command="$1"
+ if test -n "$COUCHDB_OPTIONS"; then
+ command="$command $COUCHDB_OPTIONS"
+ fi
+ if test -n "$COUCHDB_USER"; then
+ if su $COUCHDB_USER -s /bin/bash -c "$command"; then
+ return $SCRIPT_OK
+ else
+ return $SCRIPT_ERROR
+ fi
+ else
+ if $command; then
+ return $SCRIPT_OK
+ else
+ return $SCRIPT_ERROR
+ fi
+ fi
+}
+
+start_couchdb () {
+ # Start Apache CouchDB as a background process.
+
+ mkdir -p "$RUN_DIR"
+ chown -R $COUCHDB_USER "$RUN_DIR"
+ command="$COUCHDB -b"
+ if test -n "$COUCHDB_STDOUT_FILE"; then
+ command="$command -o $COUCHDB_STDOUT_FILE"
+ fi
+ if test -n "$COUCHDB_STDERR_FILE"; then
+ command="$command -e $COUCHDB_STDERR_FILE"
+ fi
+ if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then
+ command="$command -r $COUCHDB_RESPAWN_TIMEOUT"
+ fi
+ run_command "$command" > /dev/null
+}
+
+stop_couchdb () {
+ # Stop the running Apache CouchDB process.
+
+ run_command "$COUCHDB -d" > /dev/null
+}
+
+display_status () {
+ # Display the status of the running Apache CouchDB process.
+
+ run_command "$COUCHDB -s"
+}
+
+parse_script_option_list () {
+ # Parse arguments passed to the script and take appropriate action.
+
+ case "$1" in
+ start)
+ log_daemon_msg "Starting $DESCRIPTION" $NAME
+ if start_couchdb; then
+ log_end_msg $SCRIPT_OK
+ else
+ log_end_msg $SCRIPT_ERROR
+ fi
+ ;;
+ stop)
+ log_daemon_msg "Stopping $DESCRIPTION" $NAME
+ if stop_couchdb; then
+ log_end_msg $SCRIPT_OK
+ else
+ log_end_msg $SCRIPT_ERROR
+ fi
+ ;;
+ restart)
+ log_daemon_msg "Restarting $DESCRIPTION" $NAME
+ if stop_couchdb; then
+ if start_couchdb; then
+ log_end_msg $SCRIPT_OK
+ else
+ log_end_msg $SCRIPT_ERROR
+ fi
+ else
+ log_end_msg $SCRIPT_ERROR
+ fi
+ ;;
+ status)
+ display_status
+ ;;
+ *)
+ cat << EOF >&2
+Usage: $SCRIPT_NAME {start|stop|restart|status}
+EOF
+ exit $SCRIPT_ERROR
+ ;;
+ esac
+}
+
+parse_script_option_list $@
diff --git a/community/fb-client/PKGBUILD b/community/fb-client/PKGBUILD
index 5d7c504a3..4dec5ae16 100644
--- a/community/fb-client/PKGBUILD
+++ b/community/fb-client/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
pkgname=fb-client
-pkgver=1.1.1
+pkgver=1.1.2
pkgrel=1
pkgdesc="Client for paste.xinu.at"
arch=('i686' 'x86_64')
@@ -9,8 +9,8 @@ license=('GPL3')
depends=('curl')
optdepends=('xclip: for automatically copying the URL into the clipboard')
source=(http://paste.xinu.at/data/client/fb-$pkgver.tar.gz{,.sig})
-md5sums=('d070595283130441bd06e2d9da1e0650'
- '9342a474b215c917a1ee3c58794406b2')
+md5sums=('0dc4cc4637b4503cb0c0cf1f1b09975a'
+ 'ff74200e97a0184109cd1eee9c0dc099')
build() {
cd "$srcdir/fb-$pkgver"
diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD
index 1baa00225..b523a20c8 100644
--- a/community/nodejs/PKGBUILD
+++ b/community/nodejs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81270 2012-12-15 14:07:11Z bpiotrowski $
+# $Id: PKGBUILD 82204 2013-01-11 18:56:25Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: James Campos <james.r.campos@gmail.com>
@@ -8,7 +8,7 @@
# Contributor: TIanyi Cui <tianyicui@gmail.com>
pkgname=nodejs
-pkgver=0.8.16
+pkgver=0.8.17
pkgrel=1
pkgdesc='Evented I/O for V8 javascript'
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ depends=('openssl' 'python2' 'v8')
checkdepends=('curl') # curl used for check()
options=('!emptydirs')
source=(http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz)
-md5sums=('62ff446972ab02980465f60f9920705d')
+sha256sums=('8f070b42ffb84fde9d3ed2f802b08664b94dda327a36bf08a80c8b7efcf8b29e')
build() {
cd node-v${pkgver}
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD
index 24e13634e..bad20b676 100644
--- a/community/percona-server/PKGBUILD
+++ b/community/percona-server/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 81055 2012-12-11 09:51:48Z mtorromeo $
+# $Id: PKGBUILD 82183 2013-01-11 08:38:38Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=percona-server
-pkgver=5.5.28_rel29.2
+pkgver=5.5.28_rel29.3
pkgrel=1
pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation"
arch=('i686' 'x86_64')
@@ -102,7 +102,7 @@ package() {
install -dm700 "${pkgdir}"/var/lib/mysql
}
-sha256sums=('4f2ca2b4bf8ebdde0d5c643cc382fd7242492c084715b5c7d83619a9ff7a40a4'
+sha256sums=('f131fb20de0a349cc354da7eb0156fe0d5c3c66506a99ea7d8edb8319e9e4922'
'e875fac56f69634b4f1720aec3b952fc63903414e9345af630e5fd74b5373eb4'
'dd5dc155de468d4ab26971109861ae19b53574f28785bac5ff7b717fb65c0760'
'4894d39605950d86841ad982e619daa6c8d5d60ca30928d7dbb582e8cb3ade32'
diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD
index 21e31244a..5ba646e89 100644
--- a/community/redis/PKGBUILD
+++ b/community/redis/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80794 2012-12-03 19:51:33Z spupykin $
+# $Id: PKGBUILD 82193 2013-01-11 10:21:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
# Contributor: nofxx <x@<nick>.com>
pkgname=redis
-pkgver=2.6.7
+pkgver=2.6.8
pkgrel=1
pkgdesc="Advanced key-value store"
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
"redis.d"
"redis.service"
"redis.logrotate")
-md5sums=('9c3db210faff9fea3c17f2b71c2760f4'
+md5sums=('a41dcfb0ed537f4a6dd7afd8c60df623'
'8d843919d9f165e9a47e56cadb4ac2ed'
'5ab9fdb200e15c13b450fda77fa030b6'
'9e2d75b7a9dc421122d673fe520ef17f')
diff --git a/community/supercollider/PKGBUILD b/community/supercollider/PKGBUILD
index 64062b8a4..c62eeca72 100644
--- a/community/supercollider/PKGBUILD
+++ b/community/supercollider/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80709 2012-11-30 03:35:13Z speps $
+# $Id: PKGBUILD 82202 2013-01-11 18:53:55Z speps $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor: <farid at archlinux-br.org>
_name=SuperCollider
pkgname=supercollider
-pkgver=3.6.1
+pkgver=3.6.2
pkgrel=1
pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ optdepends=('emacs: emacs interface'
'ruby: vim support')
install="$pkgname.install"
source=("http://download.sourceforge.net/project/$pkgname/Source/${pkgver%.*}/$_name-$pkgver-Source-linux.tar.bz2")
-md5sums=('9ac8f563d885cef66b2365949eb666d1')
+md5sums=('b160930f01c2b00df303f8112bbe2f3f')
build() {
cd "$srcdir/$_name-Source"