[arch-commits] Commit in toxcore/repos (8 files)

Felix Yan fyan at archlinux.org
Tue Dec 22 15:27:43 UTC 2015


    Date: Tuesday, December 22, 2015 @ 16:27:43
  Author: fyan
Revision: 154292

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  toxcore/repos/community-testing-i686/
  toxcore/repos/community-testing-i686/PKGBUILD
    (from rev 154291, toxcore/trunk/PKGBUILD)
  toxcore/repos/community-testing-i686/toxcore.conf
    (from rev 154291, toxcore/trunk/toxcore.conf)
  toxcore/repos/community-testing-i686/toxcore.install
    (from rev 154291, toxcore/trunk/toxcore.install)
  toxcore/repos/community-testing-x86_64/
  toxcore/repos/community-testing-x86_64/PKGBUILD
    (from rev 154291, toxcore/trunk/PKGBUILD)
  toxcore/repos/community-testing-x86_64/toxcore.conf
    (from rev 154291, toxcore/trunk/toxcore.conf)
  toxcore/repos/community-testing-x86_64/toxcore.install
    (from rev 154291, toxcore/trunk/toxcore.install)

------------------------------------------+
 community-testing-i686/PKGBUILD          |   60 +++++++++++++++++++++++++++++
 community-testing-i686/toxcore.conf      |    2 
 community-testing-i686/toxcore.install   |   11 +++++
 community-testing-x86_64/PKGBUILD        |   60 +++++++++++++++++++++++++++++
 community-testing-x86_64/toxcore.conf    |    2 
 community-testing-x86_64/toxcore.install |   11 +++++
 6 files changed, 146 insertions(+)

Copied: toxcore/repos/community-testing-i686/PKGBUILD (from rev 154291, toxcore/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: naxuroqa <naxuroqa at gmail.com>
+# Contributor: Boohbah <boohbah at gmail.com>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=toxcore
+pkgver=3697
+_commit=0938ba08d9a839df4111168f3414099268d69737
+pkgrel=1
+pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
+arch=('i686' 'x86_64')
+url='https://tox.chat'
+license=('GPL3')
+depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus')
+makedepends=('git' 'check')
+conflicts=("tox")
+provides=("tox")
+backup=('etc/tox-bootstrapd.conf')
+install=$pkgname.install
+source=("git+https://github.com/irungentoo/toxcore.git#commit=$_commit"
+        'toxcore.conf')
+sha512sums=('SKIP'
+            '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719')
+
+pkgver() {
+  cd $pkgname
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd $pkgname
+  sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service
+}
+
+build() {
+  cd $pkgname
+  autoreconf -if
+  ./configure \
+    --prefix=/usr \
+    --enable-daemon \
+    --disable-ntox \
+    --enable-tests
+  make
+}
+
+check() {
+  cd $pkgname
+  # Tests hang as of 3638
+  # make check || warning "Tests failed"
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/toxcore.conf" "$pkgdir/usr/lib/sysusers.d/toxcore.conf"
+  install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service"
+  install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf"
+}

Copied: toxcore/repos/community-testing-i686/toxcore.conf (from rev 154291, toxcore/trunk/toxcore.conf)
===================================================================
--- community-testing-i686/toxcore.conf	                        (rev 0)
+++ community-testing-i686/toxcore.conf	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,2 @@
+u tox-bootstrapd - "Tox bootstrapd"
+g tox-bootstrapd -
\ No newline at end of file

Copied: toxcore/repos/community-testing-i686/toxcore.install (from rev 154291, toxcore/trunk/toxcore.install)
===================================================================
--- community-testing-i686/toxcore.install	                        (rev 0)
+++ community-testing-i686/toxcore.install	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,11 @@
+post_install() {
+  systemd-sysusers toxcore.conf
+  [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd
+}
+
+post_upgrade() {
+  (( $(vercmp $2 '3523-3') < 0 )) && (
+    systemd-sysusers toxcore.conf
+    [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd
+  ) || true
+}

Copied: toxcore/repos/community-testing-x86_64/PKGBUILD (from rev 154291, toxcore/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: naxuroqa <naxuroqa at gmail.com>
+# Contributor: Boohbah <boohbah at gmail.com>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=toxcore
+pkgver=3697
+_commit=0938ba08d9a839df4111168f3414099268d69737
+pkgrel=1
+pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
+arch=('i686' 'x86_64')
+url='https://tox.chat'
+license=('GPL3')
+depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus')
+makedepends=('git' 'check')
+conflicts=("tox")
+provides=("tox")
+backup=('etc/tox-bootstrapd.conf')
+install=$pkgname.install
+source=("git+https://github.com/irungentoo/toxcore.git#commit=$_commit"
+        'toxcore.conf')
+sha512sums=('SKIP'
+            '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719')
+
+pkgver() {
+  cd $pkgname
+  git rev-list --count HEAD
+}
+
+prepare() {
+  cd $pkgname
+  sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service
+}
+
+build() {
+  cd $pkgname
+  autoreconf -if
+  ./configure \
+    --prefix=/usr \
+    --enable-daemon \
+    --disable-ntox \
+    --enable-tests
+  make
+}
+
+check() {
+  cd $pkgname
+  # Tests hang as of 3638
+  # make check || warning "Tests failed"
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/toxcore.conf" "$pkgdir/usr/lib/sysusers.d/toxcore.conf"
+  install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service"
+  install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf"
+}

Copied: toxcore/repos/community-testing-x86_64/toxcore.conf (from rev 154291, toxcore/trunk/toxcore.conf)
===================================================================
--- community-testing-x86_64/toxcore.conf	                        (rev 0)
+++ community-testing-x86_64/toxcore.conf	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,2 @@
+u tox-bootstrapd - "Tox bootstrapd"
+g tox-bootstrapd -
\ No newline at end of file

Copied: toxcore/repos/community-testing-x86_64/toxcore.install (from rev 154291, toxcore/trunk/toxcore.install)
===================================================================
--- community-testing-x86_64/toxcore.install	                        (rev 0)
+++ community-testing-x86_64/toxcore.install	2015-12-22 15:27:43 UTC (rev 154292)
@@ -0,0 +1,11 @@
+post_install() {
+  systemd-sysusers toxcore.conf
+  [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd
+}
+
+post_upgrade() {
+  (( $(vercmp $2 '3523-3') < 0 )) && (
+    systemd-sysusers toxcore.conf
+    [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd
+  ) || true
+}



More information about the arch-commits mailing list