[arch-commits] Commit in tuntox/repos (4 files)

Jiachen Yang farseerfc at archlinux.org
Sun Jan 8 07:51:57 UTC 2017


    Date: Sunday, January 8, 2017 @ 07:51:57
  Author: farseerfc
Revision: 206080

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

Added:
  tuntox/repos/community-i686/PKGBUILD
    (from rev 206079, tuntox/trunk/PKGBUILD)
  tuntox/repos/community-x86_64/PKGBUILD
    (from rev 206079, tuntox/trunk/PKGBUILD)
Deleted:
  tuntox/repos/community-i686/PKGBUILD
  tuntox/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   90 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   35 -----------------
 community-x86_64/PKGBUILD |   35 -----------------
 3 files changed, 90 insertions(+), 70 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-01-08 07:50:40 UTC (rev 206079)
+++ community-i686/PKGBUILD	2017-01-08 07:51:57 UTC (rev 206080)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Jiachen Yang <farseerfc at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=tuntox
-pkgver=0.0.5.6d74a7a
-_commit=6d74a7a2da9690ca56b3543a240d53b6b3915bf3
-pkgrel=3
-pkgdesc='Tunnel TCP connections over the Tox protocol'
-arch=('i686' 'x86_64')
-url='https://github.com/gjedeer/tuntox'
-license=('GPL3')
-depends=('toxcore')
-makedepends=('git' 'cscope')
-source=("git+https://github.com/gjedeer/tuntox.git#commit=$_commit"  #tag=$pkgver
-       )
-sha512sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
-}
-
-build() {
-  cd $pkgname
-
-  make gitversion.h tuntox_nostatic  # use dynamic linking
-  mv tuntox_nostatic tuntox
-}
-
-package() {
-  cd $pkgname
-  install -Dm755 tuntox "$pkgdir/usr/bin/tuntox"
-  install -Dm644 scripts/tuntox.service "$pkgdir/usr/lib/systemd/system/tuntox.service"
-}

Copied: tuntox/repos/community-i686/PKGBUILD (from rev 206079, tuntox/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-01-08 07:51:57 UTC (rev 206080)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=tuntox
+pkgver=0.0.6
+_commit=fad23001af27f1cd380f7d05270ddcc04244f507
+pkgrel=1
+pkgdesc='Tunnel TCP connections over the Tox protocol'
+arch=('i686' 'x86_64')
+url='https://github.com/gjedeer/tuntox'
+license=('GPL3')
+depends=('toxcore')
+makedepends=('cscope')
+source=( # "git+https://github.com/gjedeer/tuntox.git#commit=$_commit"  #tag=$pkgver
+        "https://github.com/gjedeer/${pkgname}/archive/${pkgver}.tar.gz"
+        "https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
+       )
+
+sha512sums=('57893516d2186f9830784f23f6312746ea6c64e0c75c84fbb3f1453da6d7c25f29cb9a848c0160b0d93dc0098d46cd923cf13b5bf2c3142c4cc05b0b14a73872'
+            'SKIP')
+validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7')  # GDR!_ <gdr at gdr.name>
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # Makefile requires these, make it happy
+  # pending issue: https://github.com/gjedeer/tuntox/issues/35
+  mkdir -p .git
+  touch .git/HEAD .git/index
+  echo "#define GITVERSION \"${_commit}\"" > gitversion.h
+  make tuntox_nostatic  # use dynamic linking
+  mv tuntox_nostatic tuntox
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 tuntox "$pkgdir/usr/bin/tuntox"
+  install -Dm644 scripts/tuntox.service "$pkgdir/usr/lib/systemd/system/tuntox.service"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-01-08 07:50:40 UTC (rev 206079)
+++ community-x86_64/PKGBUILD	2017-01-08 07:51:57 UTC (rev 206080)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Jiachen Yang <farseerfc at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=tuntox
-pkgver=0.0.5.6d74a7a
-_commit=6d74a7a2da9690ca56b3543a240d53b6b3915bf3
-pkgrel=3
-pkgdesc='Tunnel TCP connections over the Tox protocol'
-arch=('i686' 'x86_64')
-url='https://github.com/gjedeer/tuntox'
-license=('GPL3')
-depends=('toxcore')
-makedepends=('git' 'cscope')
-source=("git+https://github.com/gjedeer/tuntox.git#commit=$_commit"  #tag=$pkgver
-       )
-sha512sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
-}
-
-build() {
-  cd $pkgname
-
-  make gitversion.h tuntox_nostatic  # use dynamic linking
-  mv tuntox_nostatic tuntox
-}
-
-package() {
-  cd $pkgname
-  install -Dm755 tuntox "$pkgdir/usr/bin/tuntox"
-  install -Dm644 scripts/tuntox.service "$pkgdir/usr/lib/systemd/system/tuntox.service"
-}

Copied: tuntox/repos/community-x86_64/PKGBUILD (from rev 206079, tuntox/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-01-08 07:51:57 UTC (rev 206080)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=tuntox
+pkgver=0.0.6
+_commit=fad23001af27f1cd380f7d05270ddcc04244f507
+pkgrel=1
+pkgdesc='Tunnel TCP connections over the Tox protocol'
+arch=('i686' 'x86_64')
+url='https://github.com/gjedeer/tuntox'
+license=('GPL3')
+depends=('toxcore')
+makedepends=('cscope')
+source=( # "git+https://github.com/gjedeer/tuntox.git#commit=$_commit"  #tag=$pkgver
+        "https://github.com/gjedeer/${pkgname}/archive/${pkgver}.tar.gz"
+        "https://github.com/gjedeer/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc"
+       )
+
+sha512sums=('57893516d2186f9830784f23f6312746ea6c64e0c75c84fbb3f1453da6d7c25f29cb9a848c0160b0d93dc0098d46cd923cf13b5bf2c3142c4cc05b0b14a73872'
+            'SKIP')
+validpgpkeys=('11C1B15A5D5DD662E469928AEBDA6B974ED3D2B7')  # GDR!_ <gdr at gdr.name>
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i "s|DEPS=libsodium toxcore|DEPS=libsodium libtoxcore|" Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # Makefile requires these, make it happy
+  # pending issue: https://github.com/gjedeer/tuntox/issues/35
+  mkdir -p .git
+  touch .git/HEAD .git/index
+  echo "#define GITVERSION \"${_commit}\"" > gitversion.h
+  make tuntox_nostatic  # use dynamic linking
+  mv tuntox_nostatic tuntox
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 tuntox "$pkgdir/usr/bin/tuntox"
+  install -Dm644 scripts/tuntox.service "$pkgdir/usr/lib/systemd/system/tuntox.service"
+}



More information about the arch-commits mailing list