[arch-commits] Commit in syncthing/repos (6 files)
Date: Tuesday, January 1, 2019 @ 09:55:12 Author: jlichtblau Revision: 420117 archrelease: copy trunk to community-testing-x86_64 Added: syncthing/repos/community-testing-x86_64/ syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 420116, syncthing/trunk/PKGBUILD) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.service (from rev 420116, syncthing/trunk/syncthing-relaysrv.service) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.sysusers (from rev 420116, syncthing/trunk/syncthing-relaysrv.sysusers) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.tmpfiles (from rev 420116, syncthing/trunk/syncthing-relaysrv.tmpfiles) syncthing/repos/community-testing-x86_64/syncthing.install (from rev 420116, syncthing/trunk/syncthing.install) -+ PKGBUILD| 93 ++ syncthing-relaysrv.service | 17 +++ syncthing-relaysrv.sysusers |2 syncthing-relaysrv.tmpfiles |1 syncthing.install |9 5 files changed, 122 insertions(+) Copied: syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 420116, syncthing/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-01-01 09:55:12 UTC (rev 420117) @@ -0,0 +1,93 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: Martin Wimpress +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin +# Contributor: korjjj + +pkgname=('syncthing' 'syncthing-relaysrv') +pkgver=1.0.0 +pkgrel=1 +arch=('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=('27435f9ef7c276736ec16781ad6b27fecb28053b8ffb16e0bae40c1e9bb62225' +'SKIP' +'6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa' +'f88985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f' +'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:
[arch-commits] Commit in syncthing/repos (6 files)
Date: Sunday, October 7, 2018 @ 15:49:25 Author: jlichtblau Revision: 391020 archrelease: copy trunk to community-testing-x86_64 Added: syncthing/repos/community-testing-x86_64/ syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 391019, syncthing/trunk/PKGBUILD) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.service (from rev 391019, syncthing/trunk/syncthing-relaysrv.service) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.sysusers (from rev 391019, syncthing/trunk/syncthing-relaysrv.sysusers) syncthing/repos/community-testing-x86_64/syncthing-relaysrv.tmpfiles (from rev 391019, syncthing/trunk/syncthing-relaysrv.tmpfiles) syncthing/repos/community-testing-x86_64/syncthing.install (from rev 391019, syncthing/trunk/syncthing.install) -+ PKGBUILD| 93 ++ syncthing-relaysrv.service | 17 +++ syncthing-relaysrv.sysusers |2 syncthing-relaysrv.tmpfiles |1 syncthing.install |9 5 files changed, 122 insertions(+) Copied: syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 391019, syncthing/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-10-07 15:49:25 UTC (rev 391020) @@ -0,0 +1,93 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: Martin Wimpress +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin +# Contributor: korjjj + +pkgname=('syncthing' 'syncthing-relaysrv') +pkgver=0.14.51 +pkgrel=1 +arch=('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=('10bf5de6f5f01dc605667185ac0b485548ae9088abaa8401fc0f3a2528b2f09e' +'SKIP' +'6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa' +'f88985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f' +'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:
[arch-commits] Commit in syncthing/repos (6 files)
Date: Tuesday, May 17, 2016 @ 20:55:21 Author: jlichtblau Revision: 175563 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: syncthing/repos/community-staging-i686/ syncthing/repos/community-staging-i686/PKGBUILD (from rev 175562, syncthing/trunk/PKGBUILD) syncthing/repos/community-staging-i686/syncthing.install (from rev 175562, syncthing/trunk/syncthing.install) syncthing/repos/community-staging-x86_64/ syncthing/repos/community-staging-x86_64/PKGBUILD (from rev 175562, syncthing/trunk/PKGBUILD) syncthing/repos/community-staging-x86_64/syncthing.install (from rev 175562, syncthing/trunk/syncthing.install) + community-staging-i686/PKGBUILD| 69 +++ community-staging-i686/syncthing.install | 12 community-staging-x86_64/PKGBUILD | 69 +++ community-staging-x86_64/syncthing.install | 12 4 files changed, 162 insertions(+) Copied: syncthing/repos/community-staging-i686/PKGBUILD (from rev 175562, syncthing/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-05-17 18:55:21 UTC (rev 175563) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer : Martin Wimpress+# Maintainer : Jaroslav Lichtblau +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin +# Contributor: korjjj + +pkgname=syncthing +pkgver=0.13.0 +pkgrel=1 +pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" +arch=('i686' 'x86_64') +url="http://syncthing.net/; +license=('MPL') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +install=$pkgname.install +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}) +sha1sums=('SKIP') + +prepare() { + cd "${srcdir}" + install -d "src/github.com/syncthing" + mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}" +} + +build() { + export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + if [ ${CARCH}" == "i686" ] ; then + go run build.go -no-upgrade -goarch 386 build + elif [ ${CARCH}" == "x86_64" ] ; then + go run build.go -no-upgrade -goarch amd64 build + else + go run build.go -no-upgrade build + fi +} + +check() { + export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + if [ "${CARCH}" == "x86_64" ] ; then +go run build.go -no-upgrade test + fi +} + +package() { + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + 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 +} Copied: syncthing/repos/community-staging-i686/syncthing.install (from rev 175562, syncthing/trunk/syncthing.install) === --- community-staging-i686/syncthing.install(rev 0) +++ community-staging-i686/syncthing.install2016-05-17 18:55:21 UTC (rev 175563) @@ -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 +} Copied: syncthing/repos/community-staging-x86_64/PKGBUILD (from rev 175562, syncthing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-05-17 18:55:21 UTC (rev 175563) @@ -0,0 +1,69 @@
[arch-commits] Commit in syncthing/repos (6 files)
Date: Wednesday, February 10, 2016 @ 10:24:15 Author: jlichtblau Revision: 161035 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: syncthing/repos/community-testing-i686/ syncthing/repos/community-testing-i686/PKGBUILD (from rev 161034, syncthing/trunk/PKGBUILD) syncthing/repos/community-testing-i686/syncthing.install (from rev 161034, syncthing/trunk/syncthing.install) syncthing/repos/community-testing-x86_64/ syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 161034, syncthing/trunk/PKGBUILD) syncthing/repos/community-testing-x86_64/syncthing.install (from rev 161034, syncthing/trunk/syncthing.install) + community-testing-i686/PKGBUILD| 68 +++ community-testing-i686/syncthing.install | 12 community-testing-x86_64/PKGBUILD | 68 +++ community-testing-x86_64/syncthing.install | 12 4 files changed, 160 insertions(+) Copied: syncthing/repos/community-testing-i686/PKGBUILD (from rev 161034, syncthing/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-02-10 09:24:15 UTC (rev 161035) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer : Martin Wimpress+# Maintainer : Jaroslav Lichtblau +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin +# Contributor: korjjj + +pkgname=syncthing +pkgver=0.12.18 +pkgrel=1 +pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" +arch=('i686' 'x86_64') +url="http://syncthing.net/; +license=('MPL') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +install=$pkgname.install +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}) +sha1sums=('SKIP') + +prepare() { + cd "${srcdir}" + install -d "src/github.com/syncthing" + mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}" +} + +build() { + export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + if [ ${CARCH}" == "i686" ] ; then + go run build.go -no-upgrade -goarch 386 build + if [ ${CARCH}" == "x86_64" ] ; then + go run build.go -no-upgrade -goarch amd64 build + else + go run build.go -no-upgrade build + fi +} + +check() { + export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + if [ "${CARCH}" == "x86_64" ] ; then +go run build.go -no-upgrade test + fi +} + +package() { + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + 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}@.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 +} Copied: syncthing/repos/community-testing-i686/syncthing.install (from rev 161034, syncthing/trunk/syncthing.install) === --- community-testing-i686/syncthing.install(rev 0) +++ community-testing-i686/syncthing.install2016-02-10 09:24:15 UTC (rev 161035) @@ -0,0 +1,12 @@ +post_upgrade() { + if (( "$(vercmp $2 0.12.0-1)" < 0 )); then +cat << EOF + This is the first release on the new major v0.12 branch. It is not + compatible with the v0.11.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://forum.syncthing.net/t/syncthing-v0-12-0-beryllium-bedbug/6026 + +EOF + fi +} Copied: syncthing/repos/community-testing-x86_64/PKGBUILD (from rev 161034, syncthing/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-02-10 09:24:15 UTC (rev 161035) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer : Martin Wimpress +# Maintainer : Jaroslav Lichtblau +#
[arch-commits] Commit in syncthing/repos (6 files)
Date: Thursday, November 5, 2015 @ 21:19:57 Author: jlichtblau Revision: 146052 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: syncthing/repos/community-staging-i686/ syncthing/repos/community-staging-i686/PKGBUILD (from rev 146051, syncthing/trunk/PKGBUILD) syncthing/repos/community-staging-i686/syncthing.install (from rev 146051, syncthing/trunk/syncthing.install) syncthing/repos/community-staging-x86_64/ syncthing/repos/community-staging-x86_64/PKGBUILD (from rev 146051, syncthing/trunk/PKGBUILD) syncthing/repos/community-staging-x86_64/syncthing.install (from rev 146051, syncthing/trunk/syncthing.install) + community-staging-i686/PKGBUILD| 66 +++ community-staging-i686/syncthing.install | 12 community-staging-x86_64/PKGBUILD | 66 +++ community-staging-x86_64/syncthing.install | 12 4 files changed, 156 insertions(+) Copied: syncthing/repos/community-staging-i686/PKGBUILD (from rev 146051, syncthing/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-11-05 20:19:57 UTC (rev 146052) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer : Martin Wimpress+# Maintainer : Jaroslav Lichtblau +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin +# Contributor: korjjj + +pkgname=syncthing +pkgver=0.12.0 +pkgrel=1 +pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" +arch=('i686' 'x86_64') +url="http://syncthing.net/; +license=('MPL') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +install=$pkgname.install +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}) +sha1sums=('SKIP') + +prepare() { + cd "${srcdir}" + install -d "src/github.com/syncthing" + mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}" +} + +build() { + export GOPATH="${srcdir}" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + if [ ${CARCH}" == "i686" ] ; then + go run build.go -no-upgrade -goarch 386 build + if [ ${CARCH}" == "x86_64" ] ; then + go run build.go -no-upgrade -goarch amd64 build + else + go run build.go -no-upgrade build + fi +} + +check() { + export GOPATH="${srcdir}" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + #go run build.go -no-upgrade test +} + +package() { + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + 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}@.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 +} Copied: syncthing/repos/community-staging-i686/syncthing.install (from rev 146051, syncthing/trunk/syncthing.install) === --- community-staging-i686/syncthing.install(rev 0) +++ community-staging-i686/syncthing.install2015-11-05 20:19:57 UTC (rev 146052) @@ -0,0 +1,12 @@ +post_upgrade() { + if (( "$(vercmp $2 0.12.0-1)" < 0 )); then +cat << EOF + This is the first release on the new major v0.12 branch. It is not + compatible with the v0.11.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://forum.syncthing.net/t/syncthing-v0-12-0-beryllium-bedbug/6026 + +EOF + fi +} Copied: syncthing/repos/community-staging-x86_64/PKGBUILD (from rev 146051, syncthing/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-11-05 20:19:57 UTC (rev 146052) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer : Martin Wimpress +# Maintainer : Jaroslav Lichtblau +# Contributor: Sauyon Lee +# Contributor: Kevin MacMartin
[arch-commits] Commit in syncthing/repos (6 files)
Date: Friday, October 10, 2014 @ 13:42:56 Author: flexiondotorg Revision: 120480 Added missing assets. Added: syncthing/repos/community-i686/PKGBUILD syncthing/repos/community-i686/syncthing.install syncthing/repos/community-i686/syncthing.service syncthing/repos/community-x86_64/PKGBUILD syncthing/repos/community-x86_64/syncthing.install syncthing/repos/community-x86_64/syncthing.service + community-i686/PKGBUILD| 52 +++ community-i686/syncthing.install | 13 community-i686/syncthing.service | 11 +++ community-x86_64/PKGBUILD | 52 +++ community-x86_64/syncthing.install | 13 community-x86_64/syncthing.service | 11 +++ 6 files changed, 152 insertions(+) Added: community-i686/PKGBUILD === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-10-10 11:42:56 UTC (rev 120480) @@ -0,0 +1,52 @@ +# $Id: +# Maintainer : Martin Wimpress c...@flexion.org +# Contributor: Sauyon Lee sauy...@sauyon.com +# Contributor: Kevin MacMartin pruri...@gmail.com +# Contributor: korjjj korjjj+...@gmail.com + +pkgname=syncthing +pkgver=0.10.0 +pkgrel=3 +pkgdesc=Open Source Continuous Replication / Cluster Synchronization Thing +url=http://syncthing.net/; +license=('MIT') +arch=('i686' 'x86_64') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}; +syncthing@.service +syncthing.service +syncthing.1) +sha1sums=('SKIP' + '204cad3823306c793a14a17a23220e26199160d4' + '2d3870eff21ad0724a48ba93e87064686693e3b9' + '17be8b3f99c577e325765abc251f597e204d7711') +install=${pkgname}.install + +prepare() { +cd ${srcdir} +mkdir -p src/github.com/syncthing +mv ${pkgname}-${pkgver} src/github.com/syncthing/${pkgname} +} + +build() { +export GOPATH=${srcdir} +cd ${srcdir}/src/github.com/syncthing/${pkgname} +go run build.go -no-upgrade build +} + +check() { +export GOPATH=${srcdir} +cd ${srcdir}/src/github.com/syncthing/${pkgname} +go run build.go -no-upgrade test +} + +package() { +cd ${srcdir}/src/github.com/syncthing/${pkgname} +install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} +install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +install -D -m 644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README.md +install -D -m 644 ${srcdir}/${pkgname}@.service ${pkgdir}/usr/lib/systemd/system/${pkgname}@.service +install -D -m 644 ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/user/${pkgname}.service +install -D -m 644 ${srcdir}/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1 +} Added: community-i686/syncthing.install === --- community-i686/syncthing.install(rev 0) +++ community-i686/syncthing.install2014-10-10 11:42:56 UTC (rev 120480) @@ -0,0 +1,13 @@ +post_install() { +cat EOF + To start and/or enable syncthing execute the following, + replacing 'user' with your username. + +systemctl start syncthing@user +systemctl enable syncthing@user +EOF +} + +post_upgrade() { +post_install +} Added: community-i686/syncthing.service === --- community-i686/syncthing.service(rev 0) +++ community-i686/syncthing.service2014-10-10 11:42:56 UTC (rev 120480) @@ -0,0 +1,11 @@ +[Unit] +Description=Syncthing service for %u +After=network.target + +[Service] +Environment=STNORESTART=yes +ExecStart=/usr/bin/syncthing +Restart=on-success + +[Install] +WantedBy=default.target Added: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-10-10 11:42:56 UTC (rev 120480) @@ -0,0 +1,52 @@ +# $Id: +# Maintainer : Martin Wimpress c...@flexion.org +# Contributor: Sauyon Lee sauy...@sauyon.com +# Contributor: Kevin MacMartin pruri...@gmail.com +# Contributor: korjjj korjjj+...@gmail.com + +pkgname=syncthing +pkgver=0.10.0 +pkgrel=3 +pkgdesc=Open Source Continuous Replication / Cluster Synchronization Thing +url=http://syncthing.net/; +license=('MIT') +arch=('i686' 'x86_64') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}; +syncthing@.service +syncthing.service +syncthing.1) +sha1sums=('SKIP' + '204cad3823306c793a14a17a23220e26199160d4' + '2d3870eff21ad0724a48ba93e87064686693e3b9' +