summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/irqbalance/PKGBUILD15
-rw-r--r--extra/memcached/PKGBUILD24
-rw-r--r--extra/memcached/memcached.conf2
-rw-r--r--extra/memcached/memcached.install21
-rw-r--r--extra/memcached/memcached.service11
-rw-r--r--extra/mercurial/PKGBUILD6
-rw-r--r--extra/msmtp/PKGBUILD7
-rw-r--r--extra/openmpi/PKGBUILD15
-rw-r--r--extra/sqlite/PKGBUILD10
9 files changed, 66 insertions, 45 deletions
diff --git a/extra/irqbalance/PKGBUILD b/extra/irqbalance/PKGBUILD
index 52c5ae477..4a4c077ba 100644
--- a/extra/irqbalance/PKGBUILD
+++ b/extra/irqbalance/PKGBUILD
@@ -2,8 +2,7 @@
# Contributor: Martin Striz <ms@poruba.net>
pkgname=irqbalance
-_realver=1.0.3
-pkgver=1.0.3.20110809
+pkgver=1.0.4
pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
@@ -12,27 +11,23 @@ license=('GPL')
depends=(glib2 numactl libcap-ng)
makedepends=(pkgconfig)
backup=(etc/conf.d/irqbalance)
-source=(http://irqbalance.googlecode.com/files/irqbalance-$_realver.tar.gz
- irqbalance-2011-08-09.patch
+source=(http://irqbalance.googlecode.com/files/irqbalance-$pkgver.tar.bz2
irqbalance.conf.d
irqbalance.rc.d
irqbalance.service)
-md5sums=('6f246481d6295bcb9a79751c03207c96'
- '49a5669fc3eb452a5d24abec887f0a6a'
+md5sums=('f7ca283c46331db73f27e686a643dcfb'
'336c1ee99818f9ecda1687e34c69fd6b'
'fb82fc5d267d39110baf720d81282a7c'
'9e82dc471128117982a8dd0c4bd5f246')
build() {
- cd "$srcdir/$pkgname-$_realver"
- patch -Np1 < ../irqbalance-2011-08-09.patch
- autoreconf -fi
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$_realver"
+ cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
install -D -m644 ../irqbalance.conf.d "$pkgdir"/etc/conf.d/irqbalance
install -D -m755 ../irqbalance.rc.d "$pkgdir"/etc/rc.d/irqbalance
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index a43032011..ddd34a2c9 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 164340 2012-07-31 00:50:49Z dan $
+# $Id: PKGBUILD 166159 2012-09-04 23:45:23Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Michael Irwin <6d6469@gmail.com>
pkgname=memcached
-pkgver=1.4.14
+pkgver=1.4.15
pkgrel=1
pkgdesc="A distributed memory object caching system"
arch=(i686 x86_64)
@@ -12,13 +12,15 @@ license=('GPL')
depends=('libevent')
optdepends=('perl: for memcached-tool usage')
backup=('etc/conf.d/memcached')
+install=memcached.install
source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
memcached.conf
- memcached.sh)
-changelog=ChangeLog
-sha256sums=('f2e2ad8ee8d256f2c3748d7f741dcddfd0ab6bdece6fa1c18484e83f311156ef'
- '0e57a0f528b387f1f04f628ec74856c615d82d44f4d6bc041c33b3814ce13d0a'
- '72efa639c5a39c7c14f07cc51731ebbf82299870d9cf31cf3aaa981bc084b4eb')
+ memcached.sh
+ memcached.service)
+sha256sums=('169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4'
+ '17f66873b77e96c6706dcf13ab0aa8ddff94b2851366c787fc23e614dfc11f47'
+ '72efa639c5a39c7c14f07cc51731ebbf82299870d9cf31cf3aaa981bc084b4eb'
+ '453cad82bddb25fac43fd5cedc5702b9b6c6abaf7498e21445facf20f25f53a6')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -30,9 +32,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -D -m 755 scripts/memcached-tool "$pkgdir"/usr/bin/memcached-tool
- # This POS is entirely RedHat specific, so not including it now
- #install -D -m 755 scripts/memcached.service "$pkgdir"/lib/systemd/system/memcached.service
- #sed -i -e 's#^EnvironmentFile.*#EnvironmentFile=/etc/conf.d/memcached#' "$pkgdir"/lib/systemd/system/memcached.service
- install -D -m 644 "$srcdir/memcached.conf" "$pkgdir"/etc/conf.d/memcached
- install -D -m 755 "$srcdir/memcached.sh" "$pkgdir"/etc/rc.d/memcached
+ install -D -m 644 ../memcached.conf "$pkgdir"/etc/conf.d/memcached
+ install -D -m 755 ../memcached.sh "$pkgdir"/etc/rc.d/memcached
+ install -D -m 644 ../memcached.service "$pkgdir"/usr/lib/systemd/system/memcached.service
}
diff --git a/extra/memcached/memcached.conf b/extra/memcached/memcached.conf
index bf120b059..4415e1a55 100644
--- a/extra/memcached/memcached.conf
+++ b/extra/memcached/memcached.conf
@@ -1,4 +1,4 @@
# user to run memcached as; also used for pid file ownership
-MEMCACHED_USER="nobody"
+MEMCACHED_USER="memcached"
# see 'memcached -h' for available options
MEMCACHED_ARGS="-l 127.0.0.1 -t 1"
diff --git a/extra/memcached/memcached.install b/extra/memcached/memcached.install
new file mode 100644
index 000000000..d6dca8d23
--- /dev/null
+++ b/extra/memcached/memcached.install
@@ -0,0 +1,21 @@
+post_install() {
+ if ! getent group memcached >/dev/null; then
+ groupadd --system memcached
+ fi
+ if ! getent passwd memcached >/dev/null; then
+ useradd --system -c 'memcached user' -g memcached -d / -s /bin/bash memcached
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ if getent passwd memcached >/dev/null; then
+ userdel memcached
+ fi
+ if getent group memcached >/dev/null; then
+ groupdel memcached
+ fi
+}
diff --git a/extra/memcached/memcached.service b/extra/memcached/memcached.service
new file mode 100644
index 000000000..c6e15fb7c
--- /dev/null
+++ b/extra/memcached/memcached.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Memcached Daemon
+After=network.target
+
+[Service]
+User=memcached
+# Remove '-l 127.0.0.1' to listen on all addresses
+ExecStart=/usr/bin/memcached -l 127.0.0.1
+
+[Install]
+WantedBy=multi-user.target
diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD
index c5ab2c39f..527f2d9d9 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 164703 2012-08-03 16:21:32Z giovanni $
+# $Id: PKGBUILD 166022 2012-09-04 11:54:18Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=mercurial
-pkgver=2.3
+pkgver=2.3.1
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ optdepends=('tk: for the hgk GUI')
backup=('etc/mercurial/hgrc')
source=("http://mercurial.selenic.com/release/${pkgname}-${pkgver}.tar.gz"
'mercurial.profile')
-md5sums=('8d9f776e432239571dfab2b5f88b3675'
+md5sums=('22a46a3ae64a5d625f068e588b4d6ec2'
'43e1d36564d4c7fbe9a091d3ea370a44')
package() {
diff --git a/extra/msmtp/PKGBUILD b/extra/msmtp/PKGBUILD
index 4cd7b8120..1131f7885 100644
--- a/extra/msmtp/PKGBUILD
+++ b/extra/msmtp/PKGBUILD
@@ -1,17 +1,16 @@
-# $Id: PKGBUILD 158094 2012-05-02 20:46:41Z eric $
+# $Id: PKGBUILD 166148 2012-09-04 22:30:41Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
-# Contributor: Ben Mazer <blm@groknil.org>
pkgbase=msmtp
pkgname=('msmtp' 'msmtp-mta')
-pkgver=1.4.28
+pkgver=1.4.29
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL3')
url="http://msmtp.sourceforge.net"
makedepends=('texlive-core' 'gsasl' 'libgnome-keyring')
source=(http://download.sourceforge.net/sourceforge/msmtp/${pkgbase}-${pkgver}.tar.bz2)
-sha1sums=('3fd44b30e8f4ae071b2a5a205d6007f3465fa970')
+sha1sums=('6db88d6c5093b3958b0285b5010f2677b05e0348')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index 3e57ddefa..19446ca67 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 159287 2012-05-20 22:11:21Z stephane $
+# $Id: PKGBUILD 166149 2012-09-04 22:56:21Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=openmpi
-pkgver=1.6
-pkgrel=2
+pkgver=1.6.1
+pkgrel=1
pkgdesc="High performance message passing library (MPI)"
arch=('i686' 'x86_64')
url="http://www.open-mpi.org"
@@ -10,10 +10,8 @@ license=('custom')
depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
makedepends=('inetutils')
options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2
- openmpi-hostfile.patch)
-sha1sums=('8b81eea712bb8f8120468003b5f29baecedf2367'
- 'a76da03418a106d57cfd020d0f8d887d7ec9225b')
+source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('1ccff71e3775c80c5a553f30104d663e1226baab')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -21,9 +19,6 @@ build() {
# Make sure we use the system ltdl librariry rather than the ones in the tarball
rm -r opal/libltdl
- # Search for openmpi-default-hostfile in /etc/openmpi
- patch -Np1 -i ../openmpi-hostfile.patch
-
./configure --prefix=/usr \
--sysconfdir=/etc/${pkgname} \
--mandir=/usr/share/man \
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD
index 062789e17..f6f047060 100644
--- a/extra/sqlite/PKGBUILD
+++ b/extra/sqlite/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 161621 2012-06-12 15:12:59Z andyrtr $
+# $Id: PKGBUILD 166020 2012-09-04 10:20:48Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase="sqlite"
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-doc')
-_amalgamationver=3071300
+_amalgamationver=3071400
_amalgamationver2=${_amalgamationver/00/}
_docver=${_amalgamationver} #3070700
#pkgver=${_amalgamationver2//0/.}
-pkgver=3.7.13
+pkgver=3.7.14
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
arch=('i686' 'x86_64')
@@ -21,8 +21,8 @@ source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with
http://www.sqlite.org/sqlite-doc-${_docver}.zip
license.txt)
options=('!libtool' '!emptydirs')
-md5sums=('c97df403e8a3d5b67bb408fcd6aabd8e'
- '16a003d5a619a6c725e3d81cf5aaba2a'
+md5sums=('6464d429b1396a8db35864e791673b65'
+ '5eaeaa2d0aef3b2c980aa784846fd562'
'c1cdbc5544034d9012e421e75a5e4890')
build() {