Date: Thursday, August 10, 2017 @ 22:03:55
  Author: jlichtblau
Revision: 249793

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

Added:
  syncthing/repos/community-i686/PKGBUILD
    (from rev 249792, syncthing/trunk/PKGBUILD)
  syncthing/repos/community-i686/syncthing-relaysrv.service
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.service)
  syncthing/repos/community-i686/syncthing-relaysrv.sysusers
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.sysusers)
  syncthing/repos/community-i686/syncthing-relaysrv.tmpfiles
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.tmpfiles)
  syncthing/repos/community-i686/syncthing.install
    (from rev 249792, syncthing/trunk/syncthing.install)
  syncthing/repos/community-x86_64/PKGBUILD
    (from rev 249792, syncthing/trunk/PKGBUILD)
  syncthing/repos/community-x86_64/syncthing-relaysrv.service
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.service)
  syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.sysusers)
  syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles
    (from rev 249792, syncthing/trunk/syncthing-relaysrv.tmpfiles)
  syncthing/repos/community-x86_64/syncthing.install
    (from rev 249792, syncthing/trunk/syncthing.install)
Deleted:
  syncthing/repos/community-i686/PKGBUILD
  syncthing/repos/community-i686/syncthing-relaysrv.service
  syncthing/repos/community-i686/syncthing-relaysrv.sysusers
  syncthing/repos/community-i686/syncthing-relaysrv.tmpfiles
  syncthing/repos/community-i686/syncthing.install
  syncthing/repos/community-x86_64/PKGBUILD
  syncthing/repos/community-x86_64/syncthing-relaysrv.service
  syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers
  syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles
  syncthing/repos/community-x86_64/syncthing.install

----------------------------------------------+
 /PKGBUILD                                    |  188 +++++++++++++++++++++++++
 /syncthing-relaysrv.service                  |   34 ++++
 /syncthing-relaysrv.sysusers                 |    4 
 /syncthing-relaysrv.tmpfiles                 |    2 
 /syncthing.install                           |   18 ++
 community-i686/PKGBUILD                      |   94 ------------
 community-i686/syncthing-relaysrv.service    |   17 --
 community-i686/syncthing-relaysrv.sysusers   |    2 
 community-i686/syncthing-relaysrv.tmpfiles   |    1 
 community-i686/syncthing.install             |    9 -
 community-x86_64/PKGBUILD                    |   94 ------------
 community-x86_64/syncthing-relaysrv.service  |   17 --
 community-x86_64/syncthing-relaysrv.sysusers |    2 
 community-x86_64/syncthing-relaysrv.tmpfiles |    1 
 community-x86_64/syncthing.install           |    9 -
 15 files changed, 246 insertions(+), 246 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2017-08-10 22:03:31 UTC (rev 249792)
+++ community-i686/PKGBUILD     2017-08-10 22:03:55 UTC (rev 249793)
@@ -1,94 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
-# Contributor: Martin Wimpress <c...@flexion.org>
-# Contributor: Sauyon Lee <sauy...@sauyon.com>
-# Contributor: Kevin MacMartin <pruri...@gmail.com>
-# Contributor: korjjj <korjjj+...@gmail.com>
-
-pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.14.35
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://syncthing.net/";
-license=('MPL')
-depends=('glibc')
-makedepends=('git' 'go' 'inetutils')
-options=('!strip')
-source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
-        syncthing-relaysrv.sysusers
-        syncthing-relaysrv.tmpfiles
-        syncthing-relaysrv.service)
-validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
-sha256sums=('31f1382476fd3a62689d5373a37d99ea5ffd3fbbc25b4acf9c23e0b1a61eb7d9'
-            'SKIP'
-            '6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
-            'f899998985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
-            '7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
-
-prepare() {
-  install -d "src/github.com/syncthing"
-  mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
-}
-
-build() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  go run build.go -no-upgrade -version v${pkgver} build
-  go run build.go -no-upgrade -version v${pkgver} build strelaysrv
-}
-
-check() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  if [ "${CARCH}" == "x86_64" ] ; then
-    go run build.go -no-upgrade test
-  fi
-}
-
-package_syncthing() {
-  pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
-  install=$pkgname.install
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
-    "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
-    "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
-  install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
-    "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
-
-  # license
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-  # ufw preset
-  install -Dm644 etc/firewall-ufw/syncthing \
-    "$pkgdir/etc/ufw/applications.d/ufw-syncthing"
-
-  # man pages
-  cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
-  for file in $(find . -name '*.1' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
-  done
-  for file in $(find . -name '*.5' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
-  done
-  for file in $(find . -name '*.7' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
-  done
-}
-
-package_syncthing-relaysrv() {
-  pkgdesc='Relay server for Syncthing'
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
-
-  install -Dm644 "${srcdir}"/${pkgname}.service \
-    "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
-  install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
-    "$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
-  install -Dm644 "${srcdir}/${pkgname}.sysusers" \
-    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-}

Copied: syncthing/repos/community-i686/PKGBUILD (from rev 249792, 
syncthing/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2017-08-10 22:03:55 UTC (rev 249793)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
+# Contributor: Martin Wimpress <c...@flexion.org>
+# Contributor: Sauyon Lee <sauy...@sauyon.com>
+# Contributor: Kevin MacMartin <pruri...@gmail.com>
+# Contributor: korjjj <korjjj+...@gmail.com>
+
+pkgname=('syncthing' 'syncthing-relaysrv')
+pkgver=0.14.36
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://syncthing.net/";
+license=('MPL')
+depends=('glibc')
+makedepends=('git' 'go' 'inetutils')
+options=('!strip')
+source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
+        syncthing-relaysrv.sysusers
+        syncthing-relaysrv.tmpfiles
+        syncthing-relaysrv.service)
+validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
+sha256sums=('9b1c445b51f9c169da866aa6c0c68d8fa3f64f1ab5c54263e8dcd89eb8ff761e'
+            'SKIP'
+            '6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
+            'f899998985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
+            '7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
+
+prepare() {
+  install -d "src/github.com/syncthing"
+  mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
+}
+
+build() {
+  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  go run build.go -no-upgrade -version v${pkgver} build
+  go run build.go -no-upgrade -version v${pkgver} build strelaysrv
+}
+
+check() {
+  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  if [ "${CARCH}" == "x86_64" ] ; then
+    go run build.go -no-upgrade test
+  fi
+}
+
+package_syncthing() {
+  pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
+  install=$pkgname.install
+
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
+  install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
+  install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
+    "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
+
+  # license
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  # ufw preset
+  install -Dm644 etc/firewall-ufw/syncthing \
+    "$pkgdir/etc/ufw/applications.d/ufw-syncthing"
+
+  # man pages
+  cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
+  for file in $(find . -name '*.1' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
+  done
+  for file in $(find . -name '*.5' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
+  done
+  for file in $(find . -name '*.7' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
+  done
+}
+
+package_syncthing-relaysrv() {
+  pkgdesc='Relay server for Syncthing'
+
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
+
+  install -Dm644 "${srcdir}"/${pkgname}.service \
+    "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
+  install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
+    "$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
+  install -Dm644 "${srcdir}/${pkgname}.sysusers" \
+    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+}

Deleted: community-i686/syncthing-relaysrv.service
===================================================================
--- community-i686/syncthing-relaysrv.service   2017-08-10 22:03:31 UTC (rev 
249792)
+++ community-i686/syncthing-relaysrv.service   2017-08-10 22:03:55 UTC (rev 
249793)
@@ -1,17 +0,0 @@
-[Unit]
-Description=Syncthing relay server
-After=network.target
-
-[Service]
-User=syncthing-relaysrv
-Group=syncthing-relaysrv
-ExecStart=/usr/bin/syncthing-relaysrv
-WorkingDirectory=/var/lib/syncthing-relaysrv
-
-PrivateTmp=true
-ProtectSystem=full
-ProtectHome=true
-NoNewPrivileges=true
-
-[Install]
-WantedBy=multi-user.target

Copied: syncthing/repos/community-i686/syncthing-relaysrv.service (from rev 
249792, syncthing/trunk/syncthing-relaysrv.service)
===================================================================
--- community-i686/syncthing-relaysrv.service                           (rev 0)
+++ community-i686/syncthing-relaysrv.service   2017-08-10 22:03:55 UTC (rev 
249793)
@@ -0,0 +1,17 @@
+[Unit]
+Description=Syncthing relay server
+After=network.target
+
+[Service]
+User=syncthing-relaysrv
+Group=syncthing-relaysrv
+ExecStart=/usr/bin/syncthing-relaysrv
+WorkingDirectory=/var/lib/syncthing-relaysrv
+
+PrivateTmp=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/syncthing-relaysrv.sysusers
===================================================================
--- community-i686/syncthing-relaysrv.sysusers  2017-08-10 22:03:31 UTC (rev 
249792)
+++ community-i686/syncthing-relaysrv.sysusers  2017-08-10 22:03:55 UTC (rev 
249793)
@@ -1,2 +0,0 @@
-u syncthing-relaysrv - "Syncthing relay server"
-g syncthing-relaysrv -

Copied: syncthing/repos/community-i686/syncthing-relaysrv.sysusers (from rev 
249792, syncthing/trunk/syncthing-relaysrv.sysusers)
===================================================================
--- community-i686/syncthing-relaysrv.sysusers                          (rev 0)
+++ community-i686/syncthing-relaysrv.sysusers  2017-08-10 22:03:55 UTC (rev 
249793)
@@ -0,0 +1,2 @@
+u syncthing-relaysrv - "Syncthing relay server"
+g syncthing-relaysrv -

Deleted: community-i686/syncthing-relaysrv.tmpfiles
===================================================================
--- community-i686/syncthing-relaysrv.tmpfiles  2017-08-10 22:03:31 UTC (rev 
249792)
+++ community-i686/syncthing-relaysrv.tmpfiles  2017-08-10 22:03:55 UTC (rev 
249793)
@@ -1 +0,0 @@
-d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -

Copied: syncthing/repos/community-i686/syncthing-relaysrv.tmpfiles (from rev 
249792, syncthing/trunk/syncthing-relaysrv.tmpfiles)
===================================================================
--- community-i686/syncthing-relaysrv.tmpfiles                          (rev 0)
+++ community-i686/syncthing-relaysrv.tmpfiles  2017-08-10 22:03:55 UTC (rev 
249793)
@@ -0,0 +1 @@
+d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -

Deleted: community-i686/syncthing.install
===================================================================
--- community-i686/syncthing.install    2017-08-10 22:03:31 UTC (rev 249792)
+++ community-i686/syncthing.install    2017-08-10 22:03:55 UTC (rev 249793)
@@ -1,9 +0,0 @@
-post_upgrade() {
-  if (( "$(vercmp $2 0.14.14-1)" < 0 )); then
-    cat << EOF
-  Syncing symlinks between v0.14.14 and previous versions will not work.
-  See https://github.com/syncthing/syncthing/releases/tag/v0.14.14 for details.
-
-EOF
-  fi
-}

Copied: syncthing/repos/community-i686/syncthing.install (from rev 249792, 
syncthing/trunk/syncthing.install)
===================================================================
--- community-i686/syncthing.install                            (rev 0)
+++ community-i686/syncthing.install    2017-08-10 22:03:55 UTC (rev 249793)
@@ -0,0 +1,9 @@
+post_upgrade() {
+  if (( "$(vercmp $2 0.14.14-1)" < 0 )); then
+    cat << EOF
+  Syncing symlinks between v0.14.14 and previous versions will not work.
+  See https://github.com/syncthing/syncthing/releases/tag/v0.14.14 for details.
+
+EOF
+  fi
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2017-08-10 22:03:31 UTC (rev 249792)
+++ community-x86_64/PKGBUILD   2017-08-10 22:03:55 UTC (rev 249793)
@@ -1,94 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
-# Contributor: Martin Wimpress <c...@flexion.org>
-# Contributor: Sauyon Lee <sauy...@sauyon.com>
-# Contributor: Kevin MacMartin <pruri...@gmail.com>
-# Contributor: korjjj <korjjj+...@gmail.com>
-
-pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.14.35
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://syncthing.net/";
-license=('MPL')
-depends=('glibc')
-makedepends=('git' 'go' 'inetutils')
-options=('!strip')
-source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
-        syncthing-relaysrv.sysusers
-        syncthing-relaysrv.tmpfiles
-        syncthing-relaysrv.service)
-validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
-sha256sums=('31f1382476fd3a62689d5373a37d99ea5ffd3fbbc25b4acf9c23e0b1a61eb7d9'
-            'SKIP'
-            '6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
-            'f899998985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
-            '7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
-
-prepare() {
-  install -d "src/github.com/syncthing"
-  mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
-}
-
-build() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  go run build.go -no-upgrade -version v${pkgver} build
-  go run build.go -no-upgrade -version v${pkgver} build strelaysrv
-}
-
-check() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  if [ "${CARCH}" == "x86_64" ] ; then
-    go run build.go -no-upgrade test
-  fi
-}
-
-package_syncthing() {
-  pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
-  install=$pkgname.install
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
-    "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
-    "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
-  install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
-    "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
-
-  # license
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-  # ufw preset
-  install -Dm644 etc/firewall-ufw/syncthing \
-    "$pkgdir/etc/ufw/applications.d/ufw-syncthing"
-
-  # man pages
-  cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
-  for file in $(find . -name '*.1' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
-  done
-  for file in $(find . -name '*.5' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
-  done
-  for file in $(find . -name '*.7' -print); do
-    install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
-  done
-}
-
-package_syncthing-relaysrv() {
-  pkgdesc='Relay server for Syncthing'
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
-
-  install -Dm644 "${srcdir}"/${pkgname}.service \
-    "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
-  install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
-    "$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
-  install -Dm644 "${srcdir}/${pkgname}.sysusers" \
-    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-}

Copied: syncthing/repos/community-x86_64/PKGBUILD (from rev 249792, 
syncthing/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2017-08-10 22:03:55 UTC (rev 249793)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
+# Contributor: Martin Wimpress <c...@flexion.org>
+# Contributor: Sauyon Lee <sauy...@sauyon.com>
+# Contributor: Kevin MacMartin <pruri...@gmail.com>
+# Contributor: korjjj <korjjj+...@gmail.com>
+
+pkgname=('syncthing' 'syncthing-relaysrv')
+pkgver=0.14.36
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://syncthing.net/";
+license=('MPL')
+depends=('glibc')
+makedepends=('git' 'go' 'inetutils')
+options=('!strip')
+source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
+        syncthing-relaysrv.sysusers
+        syncthing-relaysrv.tmpfiles
+        syncthing-relaysrv.service)
+validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
+sha256sums=('9b1c445b51f9c169da866aa6c0c68d8fa3f64f1ab5c54263e8dcd89eb8ff761e'
+            'SKIP'
+            '6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
+            'f899998985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
+            '7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
+
+prepare() {
+  install -d "src/github.com/syncthing"
+  mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
+}
+
+build() {
+  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  go run build.go -no-upgrade -version v${pkgver} build
+  go run build.go -no-upgrade -version v${pkgver} build strelaysrv
+}
+
+check() {
+  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  if [ "${CARCH}" == "x86_64" ] ; then
+    go run build.go -no-upgrade test
+  fi
+}
+
+package_syncthing() {
+  pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
+  install=$pkgname.install
+
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
+  install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
+  install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
+    "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
+
+  # license
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  # ufw preset
+  install -Dm644 etc/firewall-ufw/syncthing \
+    "$pkgdir/etc/ufw/applications.d/ufw-syncthing"
+
+  # man pages
+  cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
+  for file in $(find . -name '*.1' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
+  done
+  for file in $(find . -name '*.5' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
+  done
+  for file in $(find . -name '*.7' -print); do
+    install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
+  done
+}
+
+package_syncthing-relaysrv() {
+  pkgdesc='Relay server for Syncthing'
+
+  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+  install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
+
+  install -Dm644 "${srcdir}"/${pkgname}.service \
+    "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
+  install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
+    "$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
+  install -Dm644 "${srcdir}/${pkgname}.sysusers" \
+    "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+}

Deleted: community-x86_64/syncthing-relaysrv.service
===================================================================
--- community-x86_64/syncthing-relaysrv.service 2017-08-10 22:03:31 UTC (rev 
249792)
+++ community-x86_64/syncthing-relaysrv.service 2017-08-10 22:03:55 UTC (rev 
249793)
@@ -1,17 +0,0 @@
-[Unit]
-Description=Syncthing relay server
-After=network.target
-
-[Service]
-User=syncthing-relaysrv
-Group=syncthing-relaysrv
-ExecStart=/usr/bin/syncthing-relaysrv
-WorkingDirectory=/var/lib/syncthing-relaysrv
-
-PrivateTmp=true
-ProtectSystem=full
-ProtectHome=true
-NoNewPrivileges=true
-
-[Install]
-WantedBy=multi-user.target

Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.service (from rev 
249792, syncthing/trunk/syncthing-relaysrv.service)
===================================================================
--- community-x86_64/syncthing-relaysrv.service                         (rev 0)
+++ community-x86_64/syncthing-relaysrv.service 2017-08-10 22:03:55 UTC (rev 
249793)
@@ -0,0 +1,17 @@
+[Unit]
+Description=Syncthing relay server
+After=network.target
+
+[Service]
+User=syncthing-relaysrv
+Group=syncthing-relaysrv
+ExecStart=/usr/bin/syncthing-relaysrv
+WorkingDirectory=/var/lib/syncthing-relaysrv
+
+PrivateTmp=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/syncthing-relaysrv.sysusers
===================================================================
--- community-x86_64/syncthing-relaysrv.sysusers        2017-08-10 22:03:31 UTC 
(rev 249792)
+++ community-x86_64/syncthing-relaysrv.sysusers        2017-08-10 22:03:55 UTC 
(rev 249793)
@@ -1,2 +0,0 @@
-u syncthing-relaysrv - "Syncthing relay server"
-g syncthing-relaysrv -

Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers (from rev 
249792, syncthing/trunk/syncthing-relaysrv.sysusers)
===================================================================
--- community-x86_64/syncthing-relaysrv.sysusers                                
(rev 0)
+++ community-x86_64/syncthing-relaysrv.sysusers        2017-08-10 22:03:55 UTC 
(rev 249793)
@@ -0,0 +1,2 @@
+u syncthing-relaysrv - "Syncthing relay server"
+g syncthing-relaysrv -

Deleted: community-x86_64/syncthing-relaysrv.tmpfiles
===================================================================
--- community-x86_64/syncthing-relaysrv.tmpfiles        2017-08-10 22:03:31 UTC 
(rev 249792)
+++ community-x86_64/syncthing-relaysrv.tmpfiles        2017-08-10 22:03:55 UTC 
(rev 249793)
@@ -1 +0,0 @@
-d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -

Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles (from rev 
249792, syncthing/trunk/syncthing-relaysrv.tmpfiles)
===================================================================
--- community-x86_64/syncthing-relaysrv.tmpfiles                                
(rev 0)
+++ community-x86_64/syncthing-relaysrv.tmpfiles        2017-08-10 22:03:55 UTC 
(rev 249793)
@@ -0,0 +1 @@
+d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -

Deleted: community-x86_64/syncthing.install
===================================================================
--- community-x86_64/syncthing.install  2017-08-10 22:03:31 UTC (rev 249792)
+++ community-x86_64/syncthing.install  2017-08-10 22:03:55 UTC (rev 249793)
@@ -1,9 +0,0 @@
-post_upgrade() {
-  if (( "$(vercmp $2 0.14.14-1)" < 0 )); then
-    cat << EOF
-  Syncing symlinks between v0.14.14 and previous versions will not work.
-  See https://github.com/syncthing/syncthing/releases/tag/v0.14.14 for details.
-
-EOF
-  fi
-}

Copied: syncthing/repos/community-x86_64/syncthing.install (from rev 249792, 
syncthing/trunk/syncthing.install)
===================================================================
--- community-x86_64/syncthing.install                          (rev 0)
+++ community-x86_64/syncthing.install  2017-08-10 22:03:55 UTC (rev 249793)
@@ -0,0 +1,9 @@
+post_upgrade() {
+  if (( "$(vercmp $2 0.14.14-1)" < 0 )); then
+    cat << EOF
+  Syncing symlinks between v0.14.14 and previous versions will not work.
+  See https://github.com/syncthing/syncthing/releases/tag/v0.14.14 for details.
+
+EOF
+  fi
+}

Reply via email to