[arch-commits] Commit in toxcore/repos/community-x86_64 (6 files)
Jiachen Yang
farseerfc at archlinux.org
Thu Aug 9 17:52:08 UTC 2018
Date: Thursday, August 9, 2018 @ 17:52:07
Author: farseerfc
Revision: 370665
archrelease: copy trunk to community-x86_64
Added:
toxcore/repos/community-x86_64/PKGBUILD
(from rev 370664, toxcore/trunk/PKGBUILD)
toxcore/repos/community-x86_64/toxcore.conf
(from rev 370664, toxcore/trunk/toxcore.conf)
toxcore/repos/community-x86_64/toxcore.install
(from rev 370664, toxcore/trunk/toxcore.install)
Deleted:
toxcore/repos/community-x86_64/PKGBUILD
toxcore/repos/community-x86_64/toxcore.conf
toxcore/repos/community-x86_64/toxcore.install
-----------------+
PKGBUILD | 164 +++++++++++++++++++++++++++---------------------------
toxcore.conf | 4 -
toxcore.install | 30 ++++-----
3 files changed, 99 insertions(+), 99 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 17:51:13 UTC (rev 370664)
+++ PKGBUILD 2018-08-09 17:52:07 UTC (rev 370665)
@@ -1,82 +0,0 @@
-# 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.2.4
-pkgrel=1
-pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
-arch=('x86_64')
-url='https://tox.chat'
-license=('GPL3')
-depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus')
-makedepends=('check' 'cmake')
-conflicts=("tox")
-provides=("tox")
-backup=('etc/tox-bootstrapd.conf')
-install=$pkgname.install
-source=(
- "${_pkgname}-v${pkgver}.tar.gz::https://github.com/TokTok/${_pkgname}/archive/v${pkgver}.tar.gz"
- #"${_pkgname}-v${pkgver}.tar.gz::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz"
- "${_pkgname}-v${pkgver}.tar.gz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz.asc"
- #"${_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=('322a5970087cd149f5c037ad4463eb34edfcc074dd76f7d63b117af93ee813922855380afbe0cda4cf39fd16f177eedee18a8e453ed14915321f9cec8ae7679d'
- 'SKIP'
- 'aa1dcfbdf9b613f5d89e238ff5d01e0ea150ad3162792acb806f51ce07fd9ade1270b310b1285a828dcdf578549b95a89fd9bd198fb205c83f5a5be2c969ea63')
-validpgpkeys=(
-'15D3B9A6B3951DF9854FCA93E786548AE0A0B56B' # RobinLindén<mail+gitlab at robinlinden.eu>
-'B7008FF12C079BF6E6EA19D1601A604B7E605776' # Robin Lindén <mail 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
- sed -i "/Rpath/d;/RPATH/d" CMakeLists.txt
-}
-
-build() {
- cd $_pkgname-$pkgver
- #autoreconf -if
- #./configure \
- # --prefix=/usr \
- # --enable-daemon \
- # --disable-ntox \
- # --enable-tests
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DDHT_BOOTSTRAP=on \
- -DBOOTSTRAP_DAEMON=on \
- -DBUILD_NTOX=off \
- -DBUILD_TOXAV=on \
- -DBUILD_AV_TEST=on
- make
-}
-
-check() {
- cd $_pkgname-$pkgver
- #make check
- make test ## test fail on i686
-}
-
-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-x86_64/PKGBUILD (from rev 370664, toxcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-09 17:52:07 UTC (rev 370665)
@@ -0,0 +1,82 @@
+# 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.2.5
+pkgrel=1
+pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
+arch=('x86_64')
+url='https://tox.chat'
+license=('GPL3')
+depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus')
+makedepends=('check' 'cmake')
+conflicts=("tox")
+provides=("tox")
+backup=('etc/tox-bootstrapd.conf')
+install=$pkgname.install
+source=(
+ "${_pkgname}-v${pkgver}.tar.gz::https://github.com/TokTok/${_pkgname}/archive/v${pkgver}.tar.gz"
+ #"${_pkgname}-v${pkgver}.tar.gz::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+ "${_pkgname}-v${pkgver}.tar.gz.asc::https://github.com/TokTok/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz.asc"
+ #"${_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=('a425a106054f29533b43b14cb8916706d04158d91b66cdada0e9e007aebd3f68a253b8519a75ca94bffba3adc57362b4e7c44e9356fce416f081a7eda6a61e18'
+ 'SKIP'
+ 'aa1dcfbdf9b613f5d89e238ff5d01e0ea150ad3162792acb806f51ce07fd9ade1270b310b1285a828dcdf578549b95a89fd9bd198fb205c83f5a5be2c969ea63')
+validpgpkeys=(
+'15D3B9A6B3951DF9854FCA93E786548AE0A0B56B' # RobinLindén<mail+gitlab at robinlinden.eu>
+'B7008FF12C079BF6E6EA19D1601A604B7E605776' # Robin Lindén <mail 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
+ sed -i "/Rpath/d;/RPATH/d" CMakeLists.txt
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ #autoreconf -if
+ #./configure \
+ # --prefix=/usr \
+ # --enable-daemon \
+ # --disable-ntox \
+ # --enable-tests
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DDHT_BOOTSTRAP=on \
+ -DBOOTSTRAP_DAEMON=on \
+ -DBUILD_NTOX=off \
+ -DBUILD_TOXAV=on \
+ -DBUILD_AV_TEST=on
+ make
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ #make check
+ make test ## test fail on i686
+}
+
+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"
+}
Deleted: toxcore.conf
===================================================================
--- toxcore.conf 2018-08-09 17:51:13 UTC (rev 370664)
+++ toxcore.conf 2018-08-09 17:52:07 UTC (rev 370665)
@@ -1,2 +0,0 @@
-u tox-bootstrapd 199 "Tox bootstrapd"
-g tox-bootstrapd 199
Copied: toxcore/repos/community-x86_64/toxcore.conf (from rev 370664, toxcore/trunk/toxcore.conf)
===================================================================
--- toxcore.conf (rev 0)
+++ toxcore.conf 2018-08-09 17:52:07 UTC (rev 370665)
@@ -0,0 +1,2 @@
+u tox-bootstrapd 199 "Tox bootstrapd"
+g tox-bootstrapd 199
Deleted: toxcore.install
===================================================================
--- toxcore.install 2018-08-09 17:51:13 UTC (rev 370664)
+++ toxcore.install 2018-08-09 17:52:07 UTC (rev 370665)
@@ -1,15 +0,0 @@
-post_install() {
- [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o 199 -g 199 var/lib/tox-bootstrapd
-}
-
-post_upgrade() {
- (( $(vercmp $2 '3523-3') < 0 )) && (
- [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o 199 -g 199 var/lib/tox-bootstrapd
- ) || true
- (( $(vercmp $2 '1:0.1.4-2') < 0 )) && (
- # remove previously created tox-bootstrapd user
- userdel tox-bootstrapd || true
- # chown to new tox-bootstrapd that will be created by sysusers.d
- chown -R 199:199 var/lib/tox-bootstrapd
- ) || true
-}
Copied: toxcore/repos/community-x86_64/toxcore.install (from rev 370664, toxcore/trunk/toxcore.install)
===================================================================
--- toxcore.install (rev 0)
+++ toxcore.install 2018-08-09 17:52:07 UTC (rev 370665)
@@ -0,0 +1,15 @@
+post_install() {
+ [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o 199 -g 199 var/lib/tox-bootstrapd
+}
+
+post_upgrade() {
+ (( $(vercmp $2 '3523-3') < 0 )) && (
+ [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o 199 -g 199 var/lib/tox-bootstrapd
+ ) || true
+ (( $(vercmp $2 '1:0.1.4-2') < 0 )) && (
+ # remove previously created tox-bootstrapd user
+ userdel tox-bootstrapd || true
+ # chown to new tox-bootstrapd that will be created by sysusers.d
+ chown -R 199:199 var/lib/tox-bootstrapd
+ ) || true
+}
More information about the arch-commits
mailing list