[arch-commits] Commit in syncthing/repos (20 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Jun 26 14:19:08 UTC 2016
Date: Sunday, June 26, 2016 @ 14:19:07
Author: jlichtblau
Revision: 181230
archrelease: copy trunk to community-i686, community-x86_64
Added:
syncthing/repos/community-i686/PKGBUILD
(from rev 181229, syncthing/trunk/PKGBUILD)
syncthing/repos/community-i686/syncthing-relaysrv.install
(from rev 181229, syncthing/trunk/syncthing-relaysrv.install)
syncthing/repos/community-i686/syncthing-relaysrv.sysusers
(from rev 181229, syncthing/trunk/syncthing-relaysrv.sysusers)
syncthing/repos/community-i686/syncthing-relaysrv.tmpfiles
(from rev 181229, syncthing/trunk/syncthing-relaysrv.tmpfiles)
syncthing/repos/community-i686/syncthing.install
(from rev 181229, syncthing/trunk/syncthing.install)
syncthing/repos/community-x86_64/PKGBUILD
(from rev 181229, syncthing/trunk/PKGBUILD)
syncthing/repos/community-x86_64/syncthing-relaysrv.install
(from rev 181229, syncthing/trunk/syncthing-relaysrv.install)
syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers
(from rev 181229, syncthing/trunk/syncthing-relaysrv.sysusers)
syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles
(from rev 181229, syncthing/trunk/syncthing-relaysrv.tmpfiles)
syncthing/repos/community-x86_64/syncthing.install
(from rev 181229, syncthing/trunk/syncthing.install)
Deleted:
syncthing/repos/community-i686/PKGBUILD
syncthing/repos/community-i686/syncthing-relaysrv.install
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.install
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.install | 8 +
/syncthing-relaysrv.sysusers | 4
/syncthing-relaysrv.tmpfiles | 2
/syncthing.install | 24 +++
community-i686/PKGBUILD | 94 ------------
community-i686/syncthing-relaysrv.install | 4
community-i686/syncthing-relaysrv.sysusers | 2
community-i686/syncthing-relaysrv.tmpfiles | 1
community-i686/syncthing.install | 12 -
community-x86_64/PKGBUILD | 94 ------------
community-x86_64/syncthing-relaysrv.install | 4
community-x86_64/syncthing-relaysrv.sysusers | 2
community-x86_64/syncthing-relaysrv.tmpfiles | 1
community-x86_64/syncthing.install | 12 -
15 files changed, 226 insertions(+), 226 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-i686/PKGBUILD 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,94 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Sauyon Lee <sauyonl at sauyon.com>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: korjjj <korjjj+aur at gmail.com>
-
-pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.13.7
-pkgrel=3
-arch=('i686' 'x86_64')
-url="http://syncthing.net/"
-license=('MPL')
-depends=('glibc')
-makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
-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)
-validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
-sha1sums=('bdf89d6738f448673a8c970e65cc63997430da53'
- 'SKIP'
- 'bee6e3592cef0a607058192381e0bab46b744e23'
- '5fed57ce9faa850af5fabebb76294d35b023c00b')
-
-prepare() {
- cd "${srcdir}/${pkgbase}/cmd/relaysrv"
- sed -i -e 's|/usr/bin/relaysrv|/usr/bin/syncthing-relaysrv|' \
- etc/linux-systemd/syncthing-relaysrv.service
-
- cd "${srcdir}"
- 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 relaysrv
-}
-
-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
-
- # 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'
- install=${pkgname}.install
-
- cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
- install -Dm755 relaysrv "${pkgdir}"/usr/bin/${pkgname}
-
- install -Dm644 cmd/relaysrv/etc/linux-systemd/${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 181229, syncthing/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sauyon Lee <sauyonl at sauyon.com>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: korjjj <korjjj+aur at gmail.com>
+
+pkgname=('syncthing' 'syncthing-relaysrv')
+pkgver=0.13.9
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://syncthing.net/"
+license=('MPL')
+depends=('glibc')
+makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
+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)
+validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
+sha1sums=('d64be9fde0d86aa03a0139685766ac7210a3c016'
+ 'SKIP'
+ 'bee6e3592cef0a607058192381e0bab46b744e23'
+ '5fed57ce9faa850af5fabebb76294d35b023c00b')
+
+prepare() {
+ cd "${srcdir}/${pkgbase}/cmd/relaysrv"
+ sed -i -e 's|/usr/bin/relaysrv|/usr/bin/syncthing-relaysrv|' \
+ etc/linux-systemd/syncthing-relaysrv.service
+
+ cd "${srcdir}"
+ 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 relaysrv
+}
+
+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
+
+ # 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'
+ install=${pkgname}.install
+
+ cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+ install -Dm755 relaysrv "${pkgdir}"/usr/bin/${pkgname}
+
+ install -Dm644 cmd/relaysrv/etc/linux-systemd/${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.install
===================================================================
--- community-i686/syncthing-relaysrv.install 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-i686/syncthing-relaysrv.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,4 +0,0 @@
-post_install (){
- systemd-sysusers syncthing-relaysrv.conf
- systemd-tmpfiles --create syncthing-relaysrv.conf
-}
Copied: syncthing/repos/community-i686/syncthing-relaysrv.install (from rev 181229, syncthing/trunk/syncthing-relaysrv.install)
===================================================================
--- community-i686/syncthing-relaysrv.install (rev 0)
+++ community-i686/syncthing-relaysrv.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,4 @@
+post_install (){
+ systemd-sysusers syncthing-relaysrv.conf
+ systemd-tmpfiles --create syncthing-relaysrv.conf
+}
Deleted: community-i686/syncthing-relaysrv.sysusers
===================================================================
--- community-i686/syncthing-relaysrv.sysusers 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-i686/syncthing-relaysrv.sysusers 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,2 +0,0 @@
-u syncthing-relaysrv - "Syncthing relay server"
-g syncthing-relaysrv -
Copied: syncthing/repos/community-i686/syncthing-relaysrv.sysusers (from rev 181229, syncthing/trunk/syncthing-relaysrv.sysusers)
===================================================================
--- community-i686/syncthing-relaysrv.sysusers (rev 0)
+++ community-i686/syncthing-relaysrv.sysusers 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,2 @@
+u syncthing-relaysrv - "Syncthing relay server"
+g syncthing-relaysrv -
Deleted: community-i686/syncthing-relaysrv.tmpfiles
===================================================================
--- community-i686/syncthing-relaysrv.tmpfiles 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-i686/syncthing-relaysrv.tmpfiles 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1 +0,0 @@
-d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -
Copied: syncthing/repos/community-i686/syncthing-relaysrv.tmpfiles (from rev 181229, syncthing/trunk/syncthing-relaysrv.tmpfiles)
===================================================================
--- community-i686/syncthing-relaysrv.tmpfiles (rev 0)
+++ community-i686/syncthing-relaysrv.tmpfiles 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1 @@
+d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -
Deleted: community-i686/syncthing.install
===================================================================
--- community-i686/syncthing.install 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-i686/syncthing.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,12 +0,0 @@
-post_upgrade() {
- if (( "$(vercmp $2 0.13.0-1)" < 0 )); then
- cat << EOF
- This is the first release on the new major v0.13 branch. It is not
- protocol compatible with the v0.12.x releases! Use this release if you are
- a new user, or when you are ready to upgrade all devices in your cluster.
- Full information is available on the release page
- https://github.com/syncthing/syncthing/releases/tag/v0.13.0
-
-EOF
- fi
-}
Copied: syncthing/repos/community-i686/syncthing.install (from rev 181229, syncthing/trunk/syncthing.install)
===================================================================
--- community-i686/syncthing.install (rev 0)
+++ community-i686/syncthing.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if (( "$(vercmp $2 0.13.0-1)" < 0 )); then
+ cat << EOF
+ This is the first release on the new major v0.13 branch. It is not
+ protocol compatible with the v0.12.x releases! Use this release if you are
+ a new user, or when you are ready to upgrade all devices in your cluster.
+ Full information is available on the release page
+ https://github.com/syncthing/syncthing/releases/tag/v0.13.0
+
+EOF
+ fi
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-x86_64/PKGBUILD 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,94 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Sauyon Lee <sauyonl at sauyon.com>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: korjjj <korjjj+aur at gmail.com>
-
-pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.13.7
-pkgrel=3
-arch=('i686' 'x86_64')
-url="http://syncthing.net/"
-license=('MPL')
-depends=('glibc')
-makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
-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)
-validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
-sha1sums=('bdf89d6738f448673a8c970e65cc63997430da53'
- 'SKIP'
- 'bee6e3592cef0a607058192381e0bab46b744e23'
- '5fed57ce9faa850af5fabebb76294d35b023c00b')
-
-prepare() {
- cd "${srcdir}/${pkgbase}/cmd/relaysrv"
- sed -i -e 's|/usr/bin/relaysrv|/usr/bin/syncthing-relaysrv|' \
- etc/linux-systemd/syncthing-relaysrv.service
-
- cd "${srcdir}"
- 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 relaysrv
-}
-
-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
-
- # 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'
- install=${pkgname}.install
-
- cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
- install -Dm755 relaysrv "${pkgdir}"/usr/bin/${pkgname}
-
- install -Dm644 cmd/relaysrv/etc/linux-systemd/${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 181229, syncthing/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sauyon Lee <sauyonl at sauyon.com>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: korjjj <korjjj+aur at gmail.com>
+
+pkgname=('syncthing' 'syncthing-relaysrv')
+pkgver=0.13.9
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://syncthing.net/"
+license=('MPL')
+depends=('glibc')
+makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
+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)
+validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
+sha1sums=('d64be9fde0d86aa03a0139685766ac7210a3c016'
+ 'SKIP'
+ 'bee6e3592cef0a607058192381e0bab46b744e23'
+ '5fed57ce9faa850af5fabebb76294d35b023c00b')
+
+prepare() {
+ cd "${srcdir}/${pkgbase}/cmd/relaysrv"
+ sed -i -e 's|/usr/bin/relaysrv|/usr/bin/syncthing-relaysrv|' \
+ etc/linux-systemd/syncthing-relaysrv.service
+
+ cd "${srcdir}"
+ 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 relaysrv
+}
+
+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
+
+ # 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'
+ install=${pkgname}.install
+
+ cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
+ install -Dm755 relaysrv "${pkgdir}"/usr/bin/${pkgname}
+
+ install -Dm644 cmd/relaysrv/etc/linux-systemd/${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.install
===================================================================
--- community-x86_64/syncthing-relaysrv.install 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-x86_64/syncthing-relaysrv.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,4 +0,0 @@
-post_install (){
- systemd-sysusers syncthing-relaysrv.conf
- systemd-tmpfiles --create syncthing-relaysrv.conf
-}
Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.install (from rev 181229, syncthing/trunk/syncthing-relaysrv.install)
===================================================================
--- community-x86_64/syncthing-relaysrv.install (rev 0)
+++ community-x86_64/syncthing-relaysrv.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,4 @@
+post_install (){
+ systemd-sysusers syncthing-relaysrv.conf
+ systemd-tmpfiles --create syncthing-relaysrv.conf
+}
Deleted: community-x86_64/syncthing-relaysrv.sysusers
===================================================================
--- community-x86_64/syncthing-relaysrv.sysusers 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-x86_64/syncthing-relaysrv.sysusers 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,2 +0,0 @@
-u syncthing-relaysrv - "Syncthing relay server"
-g syncthing-relaysrv -
Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers (from rev 181229, syncthing/trunk/syncthing-relaysrv.sysusers)
===================================================================
--- community-x86_64/syncthing-relaysrv.sysusers (rev 0)
+++ community-x86_64/syncthing-relaysrv.sysusers 2016-06-26 14:19:07 UTC (rev 181230)
@@ -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 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-x86_64/syncthing-relaysrv.tmpfiles 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1 +0,0 @@
-d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -
Copied: syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles (from rev 181229, syncthing/trunk/syncthing-relaysrv.tmpfiles)
===================================================================
--- community-x86_64/syncthing-relaysrv.tmpfiles (rev 0)
+++ community-x86_64/syncthing-relaysrv.tmpfiles 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1 @@
+d /var/lib/syncthing-relaysrv 0700 syncthing-relaysrv syncthing-relaysrv -
Deleted: community-x86_64/syncthing.install
===================================================================
--- community-x86_64/syncthing.install 2016-06-26 14:09:55 UTC (rev 181229)
+++ community-x86_64/syncthing.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -1,12 +0,0 @@
-post_upgrade() {
- if (( "$(vercmp $2 0.13.0-1)" < 0 )); then
- cat << EOF
- This is the first release on the new major v0.13 branch. It is not
- protocol compatible with the v0.12.x releases! Use this release if you are
- a new user, or when you are ready to upgrade all devices in your cluster.
- Full information is available on the release page
- https://github.com/syncthing/syncthing/releases/tag/v0.13.0
-
-EOF
- fi
-}
Copied: syncthing/repos/community-x86_64/syncthing.install (from rev 181229, syncthing/trunk/syncthing.install)
===================================================================
--- community-x86_64/syncthing.install (rev 0)
+++ community-x86_64/syncthing.install 2016-06-26 14:19:07 UTC (rev 181230)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if (( "$(vercmp $2 0.13.0-1)" < 0 )); then
+ cat << EOF
+ This is the first release on the new major v0.13 branch. It is not
+ protocol compatible with the v0.12.x releases! Use this release if you are
+ a new user, or when you are ready to upgrade all devices in your cluster.
+ Full information is available on the release page
+ https://github.com/syncthing/syncthing/releases/tag/v0.13.0
+
+EOF
+ fi
+}
More information about the arch-commits
mailing list