summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-22 03:50:02 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-22 03:50:02 +0000
commitd681aef185938981d5b5eb582d09fbc49927cf24 (patch)
treeadbebafcefcedb7b35b765eb8bc451eac8482d32 /community
parent96cf9235f114b8d960c16a8625937b16979ae1aa (diff)
Sat Feb 22 03:44:10 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/crash/PKGBUILD35
-rw-r--r--community/dfu-util/PKGBUILD31
-rw-r--r--community/dfu-util/dfu-util.install11
-rw-r--r--community/dfu-util/stm32dfu.udev.rules10
-rw-r--r--community/fatsort/PKGBUILD28
-rw-r--r--community/libxnvctrl/PKGBUILD9
-rw-r--r--community/lxc/PKGBUILD14
-rw-r--r--community/mldonkey/PKGBUILD51
-rw-r--r--community/mldonkey/gd_version.patch40
-rw-r--r--community/mldonkey/mldonkey.conf2
-rw-r--r--community/mldonkey/mldonkey.install27
-rw-r--r--community/mldonkey/mldonkey.service10
-rw-r--r--community/mldonkey/mldonkey.tmpfiles1
-rw-r--r--community/nomacs/PKGBUILD8
-rw-r--r--community/rethinkdb/PKGBUILD64
-rw-r--r--community/rethinkdb/build.diff20
-rw-r--r--community/rethinkdb/rethinkdb-tmpfile.conf1
-rw-r--r--community/rethinkdb/rethinkdb.install47
-rw-r--r--community/rethinkdb/rethinkdb.service12
-rw-r--r--community/stlink/PKGBUILD34
-rw-r--r--community/stlink/stlink.install23
-rw-r--r--community/tmux/PKGBUILD6
-rw-r--r--community/v8/PKGBUILD74
-rw-r--r--community/v8/v8.pc10
-rw-r--r--community/virtualbox-modules-lts/PKGBUILD4
-rw-r--r--community/virtualbox-modules/PKGBUILD14
-rw-r--r--community/virtualbox-modules/virtualbox-guest-modules.install2
-rw-r--r--community/virtualbox-modules/virtualbox-host-modules.install2
-rw-r--r--community/virtviewer/PKGBUILD6
29 files changed, 562 insertions, 34 deletions
diff --git a/community/crash/PKGBUILD b/community/crash/PKGBUILD
new file mode 100644
index 000000000..850df9fe9
--- /dev/null
+++ b/community/crash/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 106055 2014-02-21 18:36:18Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
+# Contributor: Michael Eckert <michael.eckert@linuxmail.org>
+# Contributor: Mathieu Pasquet <mathieui@mathieui.net>
+
+pkgname=crash
+pkgver=7.0.5
+pkgrel=2
+pkgdesc='Linux kernel crashdump analysis tool'
+url='http://people.redhat.com/~anderson'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(xz ncurses zlib)
+source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz)
+sha256sums=('d5c5b2c8a5dc1e85d38d847cdfea1aa37a58ad38711bc3727c28f22618bfe64c')
+
+prepare() {
+ cd crash-$pkgver
+ make gdb_unzip
+ sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure
+}
+
+build() {
+ cd crash-$pkgver
+ make
+}
+
+package() {
+ cd crash-$pkgver
+
+ mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
+ install crash "$pkgdir"/usr/bin/
+ install crash.8 "$pkgdir"/usr/share/man/man8/
+}
diff --git a/community/dfu-util/PKGBUILD b/community/dfu-util/PKGBUILD
new file mode 100644
index 000000000..6124f0ce2
--- /dev/null
+++ b/community/dfu-util/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 106057 2014-02-21 18:49:28Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Øyvind 'Mr.Elendig' Heggstad <mrelendig@har-ikkje.net>
+# Contributor: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
+
+pkgname=dfu-util
+pkgver=0.7
+pkgrel=3
+pkgdesc='Tool intended to download and upload firmware using DFU protocol to devices connected over USB'
+url='http://dfu-util.gnumonks.org'
+license=(GPL2)
+arch=(i686 x86_64)
+depends=(libusb)
+install=dfu-util.install
+source=(stm32dfu.udev.rules
+ http://dfu-util.gnumonks.org/releases/$pkgname-$pkgver.tar.gz)
+sha256sums=('64d4314f354d965e3dc0fd439dc497d5d0a41bf649da1869df40f93718e5a6fe'
+ 'f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab')
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir"/stm32dfu.udev.rules "$pkgdir"/etc/udev/rules.d/48-stm32dfu.rules
+}
diff --git a/community/dfu-util/dfu-util.install b/community/dfu-util/dfu-util.install
new file mode 100644
index 000000000..38cc149a9
--- /dev/null
+++ b/community/dfu-util/dfu-util.install
@@ -0,0 +1,11 @@
+post_install() {
+ udevadm control --reload-rules
+}
+
+post_upgrade() {
+ udevadm control --reload-rules
+}
+
+post_remove() {
+ udevadm control --reload-rules
+}
diff --git a/community/dfu-util/stm32dfu.udev.rules b/community/dfu-util/stm32dfu.udev.rules
new file mode 100644
index 000000000..138ddc425
--- /dev/null
+++ b/community/dfu-util/stm32dfu.udev.rules
@@ -0,0 +1,10 @@
+# stm32 boards, with onboard DFU support
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+ MODE:="0666", \
+ SYMLINK+="stm32_dfu"
+
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.
diff --git a/community/fatsort/PKGBUILD b/community/fatsort/PKGBUILD
new file mode 100644
index 000000000..b0119a1c9
--- /dev/null
+++ b/community/fatsort/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 106059 2014-02-21 19:05:15Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: birdflesh <antkoul at gmail dot com>
+# Contributor: Natan Vivo <nvivo64_gmail_com>
+# Contributor: rabyte <rabyte*gmail>
+# Contributor: Simon Morgan <simon@16hz.net>
+
+pkgname=fatsort
+pkgver=1.2.355
+pkgrel=1
+pkgdesc='Sorts directory structures of FAT16 and FAT32 file systems'
+arch=(i686 x86_64)
+url='http://fatsort.sourceforge.net'
+license=(GPL)
+depends=(glibc)
+makedepends=(help2man)
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('86bc350bd72c96aa83a456f9874c529d2db1b2bf65f00a19356eb3fb73c1ac23')
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" SBINDIR=/usr/bin MANDIR=/usr/share/man/man1 install
+}
diff --git a/community/libxnvctrl/PKGBUILD b/community/libxnvctrl/PKGBUILD
index e5f3cf25b..a7b6f3942 100644
--- a/community/libxnvctrl/PKGBUILD
+++ b/community/libxnvctrl/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 104297 2014-01-17 10:20:00Z flexiondotorg $
+# $Id: PKGBUILD 106022 2014-02-21 10:31:21Z flexiondotorg $
# Maintainer: Martin Wimpress <code@flexion.org>
-# Contributor: Alessio Sergi <asergi at archlinux dot us>
pkgname=libxnvctrl
-pkgver=331.38
-pkgrel=2
+pkgver=331.49
+pkgrel=1
pkgdesc="NVIDIA X Ctrl library"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@@ -12,7 +11,7 @@ license=('GPL2')
depends=('libxext')
source=("http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2"
"10_libxnvctrl_so_0.diff")
-sha1sums=('ad3fd407dcf8678c770d6202651eb08162fd5e5d'
+sha1sums=('9c6b3445fdc800ebf01703527a0610365dd6c0f3'
'84146494a08d4b691e2cff84d1551210eee584dd')
prepare() {
diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD
index 692a7fcd5..e53241c57 100644
--- a/community/lxc/PKGBUILD
+++ b/community/lxc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105711 2014-02-14 09:37:34Z spupykin $
+# $Id: PKGBUILD 106015 2014-02-21 08:11:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
@@ -6,13 +6,13 @@
# Contributor: Jon Nordby <jononor@gmail.com>
pkgname=lxc
-pkgver=0.9.0
+pkgver=1.0.0
epoch=1
-pkgrel=6
+pkgrel=1
pkgdesc="Linux Containers"
arch=('i686' 'x86_64')
url="http://linuxcontainers.org"
-depends=('bash' 'perl' 'libseccomp')
+depends=('bash' 'perl' 'libseccomp' 'libcap')
makedepends=('docbook2x')
optdepends=('arch-install-scripts: for archlinux template')
license=('LGPL')
@@ -20,16 +20,14 @@ install=lxc.install
source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"
"lxc.tmpfiles.d"
"lxc@.service")
-md5sums=('8552a4479090616f4bc04d8473765fc9'
+md5sums=('87a9d168a6e55326303cce3b2cb7f82e'
'df94c9fb8a753011c86ee664e9f521ff'
'32db4ef06b27f36e15ff4b67c049dfeb')
prepare() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
- sed -i 's|sbin/init none bind|sbin/init none ro,bind|' templates/lxc-sshd.in
sed -i \
- -e "s/for name in docbook2x-man db2x_docbook2man; do/for name in docbook2x-man db2x_docbook2man docbook2man; do/" \
- -e "s|AM_INIT_AUTOMAKE.*|AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects])|" \
+ -e 's|"\\"-//Davenport//DTD DocBook V3.0//EN\\""|"\\"-//OASIS//DTD DocBook XML\\" \\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\\""|' \
configure.ac
}
diff --git a/community/mldonkey/PKGBUILD b/community/mldonkey/PKGBUILD
new file mode 100644
index 000000000..2b64d7515
--- /dev/null
+++ b/community/mldonkey/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 106068 2014-02-21 22:30:45Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+
+pkgname=mldonkey
+pkgver=3.1.3
+pkgrel=3
+pkgdesc='A multi-network P2P client'
+arch=(i686 x86_64)
+url='http://mldonkey.sourceforge.net/'
+license=(GPL)
+depends=(desktop-file-utils file gd)
+makedepends=(lablgtk2 librsvg ocaml)
+optdepends=('librsvg: GUI support'
+ 'gtk2: GUI support')
+backup=(etc/conf.d/mldonkey)
+install=mldonkey.install
+source=(http://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2
+ mldonkey.conf
+ mldonkey.service
+ mldonkey.tmpfiles
+ gd_version.patch)
+sha1sums=('424386f277e84df55a2cbab213fae60787e42c8b'
+ '7e70e5f3c7bf5036debde4dacbed463c0464a1e7'
+ 'd6886479cf36fbee0a62def0291706973c91dfa5'
+ 'a454b919fac518ecb32f6262afbef0dfc423401c'
+ '18c4a0753d338bf24cac28dcbd43abcf59ce4534')
+
+prepare() {
+ cd mldonkey-$pkgver
+ patch -p0 < "$srcdir/gd_version.patch" # a fix from upstream http://cvs.savannah.gnu.org/viewvc/mldonkey/config/configure.in?root=mldonkey&r1=1.357&r2=1.358&view=patch
+
+ rm config/configure # remove this file to force its regeneration, we've just changed ./config/configure.in
+}
+
+build() {
+ cd mldonkey-$pkgver
+ ./configure --prefix=/usr --enable-gui=newgui2
+ make
+}
+
+package() {
+ cd mldonkey-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 icons/rsvg/type_source_normal.svg "$pkgdir"/usr/share/icons/mldonkey.svg
+ install -Dm644 distrib/mldonkey.desktop "$pkgdir"/usr/share/applications/mldonkey.desktop
+
+ install -Dm644 "$srcdir"/mldonkey.conf "$pkgdir"/etc/conf.d/mldonkey
+ install -Dm644 "$srcdir"/mldonkey.service "$pkgdir"/usr/lib/systemd/system/mldonkey.service
+ install -Dm644 "$srcdir"/mldonkey.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/mldonkey.conf
+}
diff --git a/community/mldonkey/gd_version.patch b/community/mldonkey/gd_version.patch
new file mode 100644
index 000000000..666bd2c71
--- /dev/null
+++ b/community/mldonkey/gd_version.patch
@@ -0,0 +1,40 @@
+--- config/configure.in 2013/07/07 11:46:34 1.357
++++ config/configure.in 2013/07/20 10:14:57 1.358
+@@ -932,13 +932,30 @@
+ GDMAJORVERSION=`$GDLIBCONFIG --majorversion`
+ GDMINORVERSION=`$GDLIBCONFIG --minorversion`
+ GDREVISION=`$GDLIBCONFIG --revision`
+- if [ [ $GDMAJORVERSION = 2 ] && [ $GDMINORVERSION = 0 ] && [ $GDREVISION -gt 14 ]]; then
+- AC_MSG_RESULT($GDVERSION)
+- LIBGD=yes
+- else
+- AC_MSG_RESULT(no (found $GDVERSION))
+- LIBGD=no
+- fi
++ case $GDMAJORVERSION in
++ 1)
++ AC_MSG_RESULT(no (found $GDVERSION))
++ LIBGD=no
++ ;;
++ 2)
++ if test $GDMINORVERSION -ge 1; then
++ AC_MSG_RESULT($GDVERSION)
++ LIBGD=yes
++ else
++ if test $GDREVISION -gt 14; then
++ AC_MSG_RESULT($GDVERSION)
++ LIBGD=yes
++ else
++ AC_MSG_RESULT(no (found $GDVERSION))
++ LIBGD=no
++ fi
++ fi
++ ;;
++ *)
++ AC_MSG_RESULT($GDVERSION)
++ LIBGD=yes
++ ;;
++ esac
+ else
+ LIBGD=yes
+ fi
diff --git a/community/mldonkey/mldonkey.conf b/community/mldonkey/mldonkey.conf
new file mode 100644
index 000000000..04d91573a
--- /dev/null
+++ b/community/mldonkey/mldonkey.conf
@@ -0,0 +1,2 @@
+# Parameters to be passed to the daemon (default is empty)
+PARAMS=""
diff --git a/community/mldonkey/mldonkey.install b/community/mldonkey/mldonkey.install
new file mode 100644
index 000000000..68186f0be
--- /dev/null
+++ b/community/mldonkey/mldonkey.install
@@ -0,0 +1,27 @@
+post_install() {
+ if ! getent group mldonkey >/dev/null; then
+ groupadd --system mldonkey
+ fi
+ if ! getent passwd mldonkey >/dev/null; then
+ useradd --system -c 'Mldonkey daemon user' -g mldonkey -d /var/lib/mldonkey -s /bin/false mldonkey
+ fi
+
+ mkdir -p /var/lib/mldonkey
+ chown mldonkey:mldonkey /var/lib/mldonkey
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ if getent passwd mldonkey >/dev/null; then
+ userdel mldonkey
+ fi
+ if getent group mldonkey >/dev/null; then
+ groupdel mldonkey
+ fi
+
+ update-desktop-database -q
+}
diff --git a/community/mldonkey/mldonkey.service b/community/mldonkey/mldonkey.service
new file mode 100644
index 000000000..db644c2f1
--- /dev/null
+++ b/community/mldonkey/mldonkey.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Mldonkey - Multiple Peer-To-Peer Network Client
+After=network.target
+
+[Service]
+User=mldonkey
+ExecStart=/usr/bin/mlnet -log_to_syslog true -log_file /dev/null -pid /run/mldonkey
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/mldonkey/mldonkey.tmpfiles b/community/mldonkey/mldonkey.tmpfiles
new file mode 100644
index 000000000..5dde66a82
--- /dev/null
+++ b/community/mldonkey/mldonkey.tmpfiles
@@ -0,0 +1 @@
+d /run/mldonkey 755 mldonkey mldonkey -
diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD
index a409ba992..10102ee81 100644
--- a/community/nomacs/PKGBUILD
+++ b/community/nomacs/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 104801 2014-01-26 12:17:39Z andyrtr $
+# $Id: PKGBUILD 106005 2014-02-21 02:39:30Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>
pkgname=nomacs
-pkgver=1.6.2
-pkgrel=3
+pkgver=1.6.4
+pkgrel=1
pkgdesc="A Qt image viewer"
arch=(i686 x86_64)
url="http://www.nomacs.org/"
@@ -12,7 +12,7 @@ depends=('qt4' 'exiv2' 'libraw' 'opencv')
makedepends=('cmake')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2")
-md5sums=('3e8782b7bf792933ba673a2e9340841b')
+md5sums=('c3d77583ff1926077eaa66c0dadec296')
prepare() {
cd $pkgname-$pkgver
diff --git a/community/rethinkdb/PKGBUILD b/community/rethinkdb/PKGBUILD
new file mode 100644
index 000000000..9c69e0a37
--- /dev/null
+++ b/community/rethinkdb/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id: PKGBUILD 106066 2014-02-21 22:10:06Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Sigmund Lahn <sigmund@lahn.no>
+
+pkgname=rethinkdb
+pkgver=1.11.3
+pkgrel=1
+pkgdesc='An open-source distributed database built with love.'
+arch=(i686 x86_64)
+url='http://www.rethinkdb.com/'
+license=(AGPL)
+depends=(protobuf ncurses gperftools)
+makedepends=(boost python python2 subversion) # subversion is for checking out V8 sources
+backup=(etc/rethinkdb/instances.d/default.conf)
+install=rethinkdb.install
+options=(!emptydirs)
+source=(
+ http://download.rethinkdb.com/dist/rethinkdb-$pkgver.tgz
+ rethinkdb-tmpfile.conf
+ rethinkdb.service
+ build.diff
+)
+sha256sums=('ab59ebe40f4a6a499b27e4ce85818f8ebe88d919d832f22384ba2cdacf0ba267'
+ '656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4'
+ 'e56bffa2b9ebc3a00ef566ab2be0719a633c89d961a2461dfa2d9ffdb258c1a2'
+ 'd2330ac0d2fd0a8f14daa4993eb49b55b0de544496e15345502fcdea2a6aaf88')
+
+prepare() {
+ cd rethinkdb-$pkgver
+ patch -p1 < "$srcdir/build.diff"
+}
+
+build() {
+ cd rethinkdb-$pkgver
+ ./configure --fetch v8 --disable-drivers --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd rethinkdb-$pkgver
+ make build/release/rethinkdb-unittest
+ # skip some failing tests (should be fixed in 1.12)
+ # https://github.com/rethinkdb/rethinkdb/issues/1059
+ # https://github.com/rethinkdb/rethinkdb/issues/549
+ ./build/release/rethinkdb-unittest --gtest_filter=-TimerTest.TestApproximateWaitTimes:RDBProtocol.OvershardedSindexCreateDrop:RDBProtocol.OvershardedMissingAttr:RDBProtocol.OvershardedOverSizedKeys:RDBBtree.SindexInterruptionViaDrop:RDBBtree.SindexPostConstruct
+}
+
+package() {
+ cd rethinkdb-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/rethinkdb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/rethinkdb.conf
+ install -Dm644 "$srcdir"/rethinkdb.service "$pkgdir"/usr/lib/systemd/system/rethinkdb@.service
+
+ # create 'default' database instance
+ cp "$pkgdir"/etc/rethinkdb/default.conf.sample "$pkgdir"/etc/rethinkdb/instances.d/default.conf
+ sed -e 's|# directory=/var/lib/rethinkdb|directory=/var/lib/rethinkdb|' \
+ -e 's|# pid-file=/var/run/rethinkdb/rethinkdb.pid|pid-file=/var/run/rethinkdb/default.pid|' \
+ -i "$pkgdir"/etc/rethinkdb/instances.d/default.conf
+
+ # Arch uses systemd, no need for init.d scripts
+ rm -r "$pkgdir"/etc/init.d
+}
diff --git a/community/rethinkdb/build.diff b/community/rethinkdb/build.diff
new file mode 100644
index 000000000..cb271712e
--- /dev/null
+++ b/community/rethinkdb/build.diff
@@ -0,0 +1,20 @@
+diff --git a/mk/support.mk b/mk/support.mk
+index 821695c..7f8f857 100644
+--- a/mk/support.mk
++++ b/mk/support.mk
+@@ -185,9 +185,13 @@ $(V8_SRC_DIR):
+ $P MAKE v8 dependencies
+ $(EXTERN_MAKE) -C $(V8_SRC_DIR) dependencies $(SUPPORT_LOG_REDIRECT)
+
+-$(V8_INT_LIB): $(V8_INT_DIR)
++ ( cd $(TC_SRC_DIR) && \
++ find v8 -type f -exec sed -e 's_^#!/usr/bin/env python$$_&2_; s_^#!/usr/bin/python$$_&2_' -i {} \; && \
++ sed 's/\bpython\b/python2/' -i v8/Makefile v8/build/gyp/gyp ) $(SUPPORT_LOG_REDIRECT)
++
++$(V8_INT_LIB): | $(V8_INT_DIR)
+ $P MAKE v8
+- $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS=-Wno-array-bounds $(SUPPORT_LOG_REDIRECT)
++ $(EXTERN_MAKE) -C $(V8_INT_DIR) native CXXFLAGS='-Wno-error' $(SUPPORT_LOG_REDIRECT)
+ $P AR $@
+ find $(V8_INT_DIR) -iname "*.o" | grep -v '\/preparser_lib\/' | xargs ar cqs $(V8_INT_LIB);
+
diff --git a/community/rethinkdb/rethinkdb-tmpfile.conf b/community/rethinkdb/rethinkdb-tmpfile.conf
new file mode 100644
index 000000000..694501e8a
--- /dev/null
+++ b/community/rethinkdb/rethinkdb-tmpfile.conf
@@ -0,0 +1 @@
+d /run/rethinkdb 0755 rethinkdb rethinkdb - \ No newline at end of file
diff --git a/community/rethinkdb/rethinkdb.install b/community/rethinkdb/rethinkdb.install
new file mode 100644
index 000000000..8c74c4f0b
--- /dev/null
+++ b/community/rethinkdb/rethinkdb.install
@@ -0,0 +1,47 @@
+post_install() {
+ groupadd rethinkdb &>/dev/null
+ useradd -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null
+
+ /usr/bin/systemd-tmpfiles --create rethinkdb.conf
+
+ if [ -d /var/lib/rethinkdb ]; then
+ echo "Database directory '/var/lib/rethinkdb' already exists. If you want to recreate default database then delete the directory and run 'rethinkdb create -d /var/lib/rethinkdb/default'."
+ fi
+
+ if [ ! -d /var/lib/rethinkdb/default ]; then
+ mkdir -p /var/lib/rethinkdb
+ /usr/bin/rethinkdb create -d /var/lib/rethinkdb/default
+ fi
+ chown -R rethinkdb:rethinkdb /var/lib/rethinkdb
+}
+
+post_upgrade() {
+ IFS='.' read -a new_version <<< "$1"
+ IFS='.' read -a old_version <<< "$2"
+
+ # previously data diecotry was /var/lib/rethinkdb/
+ # now we moved to multi-instance location: /var/lib/rethinkdb/default
+ # convert from previous location, remove this check Q3'13
+ if [ -e /var/lib/rethinkdb/metadata -a ! -d /var/lib/rethinkdb/default ]; then
+ echo "You store rethinkdb data in /var/lib/rethinkdb. Moving this data to per-instance location /var/lib/rethinkdb/default."
+ mkdir /var/lib/rethinkdb/default
+ mv /var/lib/rethinkdb/* /var/lib/rethinkdb/default
+ chown -R rethinkdb:rethinkdb /var/lib/rethinkdb
+ fi
+
+ if [ "${old_version[0]}" != "${new_version[0]}" -o "${old_version[1]}" != "${new_version[1]}" ]; then
+ echo "This release changed data storage format. Please upgrade your data using following information https://github.com/rethinkdb/rethinkdb/tree/next/scripts/migration"
+ fi
+
+ getent group rethinkdb >/dev/null 2>&1 || groupadd rethinkdb &>/dev/null
+ getent passwd rethinkdb >/dev/null 2>&1 || useradd -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null
+}
+
+post_remove() {
+ #/usr/bin/systemctl stop rethinkdb@default.service
+
+ getent passwd rethinkdb >/dev/null && userdel rethinkdb
+ getent group rethinkdb >/dev/null && groupdel rethinkdb
+
+ echo "RethinkDB data directory '/var/lib/rethinkdb' is left untouched. Remove it if you really sure you won't need your data in the future."
+}
diff --git a/community/rethinkdb/rethinkdb.service b/community/rethinkdb/rethinkdb.service
new file mode 100644
index 000000000..9c9bbedd4
--- /dev/null
+++ b/community/rethinkdb/rethinkdb.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=RethinkDB database server for instance '%i'
+
+[Service]
+User=rethinkdb
+Group=rethinkdb
+ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf
+KillMode=process
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/stlink/PKGBUILD b/community/stlink/PKGBUILD
new file mode 100644
index 000000000..8104d73c0
--- /dev/null
+++ b/community/stlink/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+
+pkgname=stlink
+pkgrel=1
+pkgver=1.0.0
+pkgdesc='Firtmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=(https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a')
+
+build() {
+ cd stlink-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd stlink-$pkgver
+
+ # install binaries
+ make DESTDIR="$pkgdir" install
+
+ # install additional files
+ install -Dm644 stlink_v1.modprobe.conf "$pkgdir"/etc/modprobe.d/stlink_v1.modprobe.conf
+ install -Dm644 49-stlinkv1.rules "$pkgdir"/etc/udev/rules.d/49-stlinkv1.rules
+ install -Dm644 49-stlinkv2.rules "$pkgdir"/etc/udev/rules.d/49-stlinkv2.rules
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+}
diff --git a/community/stlink/stlink.install b/community/stlink/stlink.install
new file mode 100644
index 000000000..c1dec8388
--- /dev/null
+++ b/community/stlink/stlink.install
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+ udevadm control --reload-rules
+ echo "You may have to reload the usb-storage module."
+ echo "To do this use"
+ echo " modprobe -r usb-storage && modprobe usb-storage"
+}
+
+# arg 1: the new package version
+post_install() {
+ msg
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ msg
+}
+
+# arg 1: the old package version
+post_remove() {
+ msg
+}
diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD
index 7a7744ce8..d0bca3de1 100644
--- a/community/tmux/PKGBUILD
+++ b/community/tmux/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 87109 2013-03-27 11:16:29Z spupykin $
+# $Id: PKGBUILD 106013 2014-02-21 07:54:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: TDY <tdy@gmx.com>
# Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com>
pkgname=tmux
-pkgver=1.8
+pkgver=1.9
pkgrel=1
pkgdesc='A terminal multiplexer'
url='http://tmux.sourceforge.net/'
@@ -13,7 +13,7 @@ license=('BSD')
depends=('ncurses' 'libevent')
source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz
LICENSE)
-md5sums=('b9477de2fe660244cbc6e6d7e668ea0e'
+md5sums=('5f5ed0f03a666279264da45b60075600'
'71601bc37fa44e4395580b321963018e')
build() {
diff --git a/community/v8/PKGBUILD b/community/v8/PKGBUILD
new file mode 100644
index 000000000..0bd5f7e58
--- /dev/null
+++ b/community/v8/PKGBUILD
@@ -0,0 +1,74 @@
+# $Id: PKGBUILD 106071 2014-02-21 22:59:53Z anatolik $
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: tocer <tocer.deng@gmail.com>
+
+pkgname=v8
+# use http://omahaproxy.appspot.com/ to find stable v8 version
+pkgver=3.23.17.13
+pkgrel=1
+pkgdesc='Fast and modern Javascript engine'
+arch=(i686 x86_64)
+url='http://code.google.com/p/v8'
+license=(BSD)
+depends=(readline icu)
+makedepends=(subversion python2)
+# unfortunately https://github.com/$pkgname/$pkgname does not contain all tags
+source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2
+ v8.pc)
+sha256sums=('4b826735d182e9615fd9259e3f5d008c4f53d98c9f3531a6af75f00bd07be0b1'
+ '2b054309df9af9fb2e3e14527e88360b44745649b4866e592fb357ac90935f5d')
+
+[[ "$CARCH" = 'i686' ]] && ARCH=ia32
+[[ "$CARCH" = 'x86_64' ]] && ARCH=x64
+
+prepare() {
+ cd v8-$pkgver
+
+ # we do not need icu sources, just one icu.gyp
+ sed -e 's|\bthird_party/icu --revision |--depth=files third_party/icu --revision |' -i Makefile
+ make dependencies
+
+ find build/ test/ tools/ src/ -type f -exec \
+ sed -e 's_^#!/usr/bin/env python$_&2_' \
+ -e 's_^#!/usr/bin/python$_&2_' \
+ -e "s_'python'_'python2'_" -i {} \;
+
+ sed 's/\bpython\b/python2/' -i Makefile build/gyp/gyp
+
+ sed "s/@VERSION@/$pkgver/g" -i "$srcdir/v8.pc"
+}
+
+build() {
+ cd v8-$pkgver
+
+ build/gyp_v8 -Dv8_enable_i18n_support=1 -Duse_system_icu=1 -Dconsole=readline -Dcomponent=shared_library -Dv8_target_arch=$ARCH -Dwerror= --generator-output=out -f make
+
+ make -C out builddir=`pwd`/out/Release BUILDTYPE=Release mksnapshot.$ARCH
+ make -C out builddir=`pwd`/out/Release BUILDTYPE=Release
+}
+
+check() {
+ cd v8-$pkgver
+ # A number of tests are failing. Figure out what happens and then enable tests.
+ # LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py --no-presubmit --outdir=out --buildbot --arch=$ARCH --mode=Release # --progress=dots
+}
+
+package() {
+ cd v8-$pkgver
+
+ install -Dm755 out/Release/d8 "$pkgdir"/usr/bin/d8
+ install -Dm755 out/Release/lib.target/libv8.so "$pkgdir"/usr/lib/libv8.so
+
+ # V8 has several header files and ideally if it had its own folder in /usr/include
+ # But doing it here will break all users. Ideally if they use provided pkgconfig file.
+ install -d "$pkgdir"/usr/include
+ install -Dm644 include/*.h "$pkgdir"/usr/include
+
+ install -d "$pkgdir"/usr/lib/pkgconfig
+ install -m644 "$srcdir/v8.pc" "$pkgdir"/usr/lib/pkgconfig
+
+ install -d "$pkgdir"/usr/share/licenses/v8
+ install -m644 LICENSE* "$pkgdir"/usr/share/licenses/v8
+}
diff --git a/community/v8/v8.pc b/community/v8/v8.pc
new file mode 100644
index 000000000..f3e604bec
--- /dev/null
+++ b/community/v8/v8.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/lib
+includedir=${prefix}/include
+
+Name: v8
+Description: V8 JavaScript Engine
+Version: @VERSION@
+Libs: -L${libdir} -lv8 -pthread
+Cflags: -I${includedir}
diff --git a/community/virtualbox-modules-lts/PKGBUILD b/community/virtualbox-modules-lts/PKGBUILD
index f8d432691..5f207b037 100644
--- a/community/virtualbox-modules-lts/PKGBUILD
+++ b/community/virtualbox-modules-lts/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105457 2014-02-08 12:33:27Z bpiotrowski $
+# $Id: PKGBUILD 106042 2014-02-21 16:17:57Z andyrtr $
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Sébastien Luttringer
@@ -6,7 +6,7 @@
pkgbase=virtualbox-modules-lts
pkgname=('virtualbox-host-modules-lts' 'virtualbox-guest-modules-lts')
pkgver=4.3.6
-pkgrel=5
+pkgrel=6
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD
index e5a316067..e191a90f0 100644
--- a/community/virtualbox-modules/PKGBUILD
+++ b/community/virtualbox-modules/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 104437 2014-01-20 20:07:03Z tpowa $
+# $Id: PKGBUILD 106041 2014-02-21 14:56:19Z thomas $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: Sébastien Luttringer
pkgbase=virtualbox-modules
pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules')
pkgver=4.3.6
-pkgrel=4
+pkgrel=5
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL')
-makedepends=('linux>=3.12' 'linux<3.13'
- 'linux-headers>=3.12' 'linux-headers<3.13'
+makedepends=('linux>=3.13' 'linux<3.14'
+ 'linux-headers>=3.13' 'linux-headers<3.14'
"virtualbox-host-dkms>=$pkgver"
"virtualbox-guest-dkms>=$pkgver")
# remember to also adjust the .install files and the package deps below
-_extramodules=extramodules-3.12-ARCH
+_extramodules=extramodules-3.13-ARCH
build() {
_kernver="$(cat /usr/lib/modules/$_extramodules/version)"
@@ -33,7 +33,7 @@ build() {
package_virtualbox-host-modules(){
_kernver="$(cat /usr/lib/modules/$_extramodules/version)"
pkgdesc='Host kernel modules for VirtualBox'
- depends=('linux>=3.12' 'linux<3.13')
+ depends=('linux>=3.13' 'linux<3.14')
replaces=('virtualbox-modules')
conflicts=('virtualbox-modules')
install=virtualbox-host-modules.install
@@ -48,7 +48,7 @@ package_virtualbox-guest-modules(){
_kernver="$(cat /usr/lib/modules/$_extramodules/version)"
pkgdesc='Guest kernel modules for VirtualBox'
license=('GPL')
- depends=('linux>=3.12' 'linux<3.13')
+ depends=('linux>=3.13' 'linux<3.14')
replaces=('virtualbox-archlinux-modules')
conflicts=('virtualbox-archlinux-modules')
install=virtualbox-guest-modules.install
diff --git a/community/virtualbox-modules/virtualbox-guest-modules.install b/community/virtualbox-modules/virtualbox-guest-modules.install
index 424121a1a..cfc68a808 100644
--- a/community/virtualbox-modules/virtualbox-guest-modules.install
+++ b/community/virtualbox-modules/virtualbox-guest-modules.install
@@ -1,5 +1,5 @@
_depmod() {
- EXTRAMODULES=extramodules-3.12-ARCH
+ EXTRAMODULES=extramodules-3.13-ARCH
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
diff --git a/community/virtualbox-modules/virtualbox-host-modules.install b/community/virtualbox-modules/virtualbox-host-modules.install
index 864e3389c..82fea85e3 100644
--- a/community/virtualbox-modules/virtualbox-host-modules.install
+++ b/community/virtualbox-modules/virtualbox-host-modules.install
@@ -1,5 +1,5 @@
_depmod() {
- EXTRAMODULES=extramodules-3.12-ARCH
+ EXTRAMODULES=extramodules-3.13-ARCH
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
diff --git a/community/virtviewer/PKGBUILD b/community/virtviewer/PKGBUILD
index bd4d137bc..1f98bf015 100644
--- a/community/virtviewer/PKGBUILD
+++ b/community/virtviewer/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 105236 2014-02-03 09:59:08Z heftig $
+# $Id: PKGBUILD 106034 2014-02-21 12:52:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jonathan Wiersma <archaur at jonw dot org>
pkgname=virtviewer
pkgver=0.6.0
-pkgrel=2
+pkgrel=3
pkgdesc="A lightweight interface for interacting with the graphical display of virtualized guest OS."
depends=('gtk-vnc' 'libglade>=2.6.0' 'libvirt' 'spice-gtk3' 'desktop-file-utils')
-makedepends=('intltool')
+makedepends=('intltool' 'spice-protocol')
url="http://virt-manager.et.redhat.com"
arch=('i686' 'x86_64')
license=('GPL')