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

Jiachen Yang farseerfc at archlinux.org
Wed Jan 18 06:36:48 UTC 2017


    Date: Wednesday, January 18, 2017 @ 06:36:47
  Author: farseerfc
Revision: 207844

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 207843, toxcore/trunk/PKGBUILD)
  toxcore/repos/community-testing-i686/toxcore.conf
    (from rev 207843, toxcore/trunk/toxcore.conf)
  toxcore/repos/community-testing-i686/toxcore.install
    (from rev 207843, toxcore/trunk/toxcore.install)
  toxcore/repos/community-testing-x86_64/
  toxcore/repos/community-testing-x86_64/PKGBUILD
    (from rev 207843, toxcore/trunk/PKGBUILD)
  toxcore/repos/community-testing-x86_64/toxcore.conf
    (from rev 207843, toxcore/trunk/toxcore.conf)
  toxcore/repos/community-testing-x86_64/toxcore.install
    (from rev 207843, toxcore/trunk/toxcore.install)

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

Copied: toxcore/repos/community-testing-i686/PKGBUILD (from rev 207843, toxcore/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-01-18 06:36:47 UTC (rev 207844)
@@ -0,0 +1,68 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# $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
+_pkgname=c-toxcore
+epoch=1
+pkgver=0.1.4
+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=('check')
+conflicts=("tox")
+provides=("tox")
+backup=('etc/tox-bootstrapd.conf')
+install=$pkgname.install
+source=(
+	"${_pkgname}-v${pkgver}.tar.lz::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz"
+	"${_pkgname}-v${pkgver}.tar.lz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz.asc"
+        'toxcore.conf')
+sha512sums=('8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a'
+            'SKIP'
+            '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719')
+validpgpkeys=("15D3B9A6B3951DF9854FCA93E786548AE0A0B56B"  # RobinLindén<mail+gitlab at robinlinden.eu>
+# GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
+'DA262CC93C0E1E525AD21C8596775D454B8EBF44'  # sudden6 <sudden6 at gmx.at>
+'BA7883E22F9D35945BA3376053137C3033F09008'  # Zetok Zalbavar <zetok at openmailbox.org>
+'1157616BBD860C539926F8139591A163FF9BE04C'  # - antis81
+'31039166FA902CA50D05D6085AF9F2E29107C727'  # - Diadlo
+'C7A2552D0B250F983827742C133203A3AC399151'  # - initramfs
+'2880C860D95C909D3DA45C687E086DD661263264'  # - tux3
+)
+
+prepare() {
+  #cd $_pkgname-$pkgver
+  sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service
+}
+
+build() {
+  #cd $_pkgname-$pkgver
+  autoreconf -if
+  ./configure \
+    --prefix=/usr \
+    --enable-daemon \
+    --disable-ntox \
+    --enable-tests
+  make
+}
+
+check() {
+  #cd $_pkgname-$pkgver
+  make check
+}
+
+package() {
+  #cd $_pkgname-$pkgver
+  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 207843, toxcore/trunk/toxcore.conf)
===================================================================
--- community-testing-i686/toxcore.conf	                        (rev 0)
+++ community-testing-i686/toxcore.conf	2017-01-18 06:36:47 UTC (rev 207844)
@@ -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 207843, toxcore/trunk/toxcore.install)
===================================================================
--- community-testing-i686/toxcore.install	                        (rev 0)
+++ community-testing-i686/toxcore.install	2017-01-18 06:36:47 UTC (rev 207844)
@@ -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 207843, toxcore/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-01-18 06:36:47 UTC (rev 207844)
@@ -0,0 +1,68 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# $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
+_pkgname=c-toxcore
+epoch=1
+pkgver=0.1.4
+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=('check')
+conflicts=("tox")
+provides=("tox")
+backup=('etc/tox-bootstrapd.conf')
+install=$pkgname.install
+source=(
+	"${_pkgname}-v${pkgver}.tar.lz::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz"
+	"${_pkgname}-v${pkgver}.tar.lz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.lz.asc"
+        'toxcore.conf')
+sha512sums=('8d094275cc56193d33f380eb3c8ba708ce7a94b01ba378d68707240efd1550dd0e4a0ffd0f97bedd96c5ce6145b27e14fdb5b570ed0e5247b01f5d4e15b4fe3a'
+            'SKIP'
+            '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719')
+validpgpkeys=("15D3B9A6B3951DF9854FCA93E786548AE0A0B56B"  # RobinLindén<mail+gitlab at robinlinden.eu>
+# GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
+'DA262CC93C0E1E525AD21C8596775D454B8EBF44'  # sudden6 <sudden6 at gmx.at>
+'BA7883E22F9D35945BA3376053137C3033F09008'  # Zetok Zalbavar <zetok at openmailbox.org>
+'1157616BBD860C539926F8139591A163FF9BE04C'  # - antis81
+'31039166FA902CA50D05D6085AF9F2E29107C727'  # - Diadlo
+'C7A2552D0B250F983827742C133203A3AC399151'  # - initramfs
+'2880C860D95C909D3DA45C687E086DD661263264'  # - tux3
+)
+
+prepare() {
+  #cd $_pkgname-$pkgver
+  sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service
+}
+
+build() {
+  #cd $_pkgname-$pkgver
+  autoreconf -if
+  ./configure \
+    --prefix=/usr \
+    --enable-daemon \
+    --disable-ntox \
+    --enable-tests
+  make
+}
+
+check() {
+  #cd $_pkgname-$pkgver
+  make check
+}
+
+package() {
+  #cd $_pkgname-$pkgver
+  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 207843, toxcore/trunk/toxcore.conf)
===================================================================
--- community-testing-x86_64/toxcore.conf	                        (rev 0)
+++ community-testing-x86_64/toxcore.conf	2017-01-18 06:36:47 UTC (rev 207844)
@@ -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 207843, toxcore/trunk/toxcore.install)
===================================================================
--- community-testing-x86_64/toxcore.install	                        (rev 0)
+++ community-testing-x86_64/toxcore.install	2017-01-18 06:36:47 UTC (rev 207844)
@@ -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