diff options
author | Shiz <hi@shiz.me> | 2017-05-12 22:50:46 +0200 |
---|---|---|
committer | Shiz <hi@shiz.me> | 2017-05-12 22:52:17 +0200 |
commit | b539a1ce400d046843af298622ca3413dff66ce5 (patch) | |
tree | 3ccee9132333800da1dc37b5b1d09623fc4fbfdf /community/syncthing | |
parent | f42c67b39d05f610b590063d32522d45a3d3ded6 (diff) | |
download | aports-b539a1ce400d046843af298622ca3413dff66ce5.tar.bz2 aports-b539a1ce400d046843af298622ca3413dff66ce5.tar.xz |
community/syncthing: update vendored sha256-simd dependency for s390x
Diffstat (limited to 'community/syncthing')
-rw-r--r-- | community/syncthing/APKBUILD | 14 | ||||
-rw-r--r-- | community/syncthing/update-sha256-simd-dependency.patch | 13 |
2 files changed, 9 insertions, 18 deletions
diff --git a/community/syncthing/APKBUILD b/community/syncthing/APKBUILD index d0e2a5626d..49a11f7c2b 100644 --- a/community/syncthing/APKBUILD +++ b/community/syncthing/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=syncthing pkgver=0.14.27 -pkgrel=0 +pkgrel=1 pkgdesc="Open Source Continuous File Synchronization" url="http://syncthing.net/" arch="all !ppc64le" @@ -17,10 +17,10 @@ subpackages="$pkgname-utils" options="!strip" source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz + sha256-simd-f3ec2e4d36d43c3a899ed4b7d9f62188edcf5afd.tar.gz::https://github.com/minio/sha256-simd/archive/f3ec2e4d36d43c3a899ed4b7d9f62188edcf5afd.tar.gz $pkgname.confd $pkgname.initd - only-test-with-race-when-provided.patch - update-sha256-simd-dependency.patch" + only-test-with-race-when-provided.patch" builddir="$srcdir/src/github.com/$pkgname/$pkgname" @@ -29,6 +29,10 @@ export GOPATH="$srcdir" prepare() { mkdir -p $(dirname "$builddir") ln -s "$srcdir"/$pkgname-$pkgver "$builddir" + # update vendored sha256-simd dependency, remove when upstream + # dependency manifest is updated + rm -r "$builddir"/vendor/github.com/minio/sha256-simd + ln -s "$srcdir"/sha256-simd-* "$builddir"/vendor/github.com/minio/sha256-simd default_prepare } @@ -61,7 +65,7 @@ utils() { } sha512sums="438d3385dc3b9737bc0ec275462b9dc41a630b353443061fddb9e48b184b5cb39e3ccf144fef4e30f4523d1c6a96f2a8a9d87bc27e9734b1f7d7d462c9c15e51 syncthing-0.14.27.tar.gz +af88185d41e922c8c503fa5f2023f6bcdfa0ea59da9e7d67a746b14eb6c1635544abd430e09c3de2a5d5663ff22b27a0f13d61f3142261fc6e91652590c9d78a sha256-simd-f3ec2e4d36d43c3a899ed4b7d9f62188edcf5afd.tar.gz b19cc3d802caa33f4d06852de590d2d984c12cf27d0540162cd7195da4f3f149c83c72e7a10f385b32b27fff6f39d33698e7402442a3f32a9da136c5d19059ae syncthing.confd 21fa7b0090e579ad0f02bb8cc9a78736eb99811613823bf12d477262da2281543d07b47ae0888e2e3876a687bf4cab3c89405447373a9c5ab2915989c5f9dce8 syncthing.initd -3fd2b699e07891ae16c67af56d516ba0fde13d5e5d067dd680fc59f9fc5b2f7c5f685b040841588cca6de1f7fb4b094572e5eb73dda8ab30d4b2994d3f526047 only-test-with-race-when-provided.patch -4fa7465a6bbc8c676fd568499abebd22da49019ab79bddef03581f07b533f1a7ec78c2de65597fe1031931c2897cdc088754f5bcc0009ca434ad32eb48503a64 update-sha256-simd-dependency.patch" +3fd2b699e07891ae16c67af56d516ba0fde13d5e5d067dd680fc59f9fc5b2f7c5f685b040841588cca6de1f7fb4b094572e5eb73dda8ab30d4b2994d3f526047 only-test-with-race-when-provided.patch" diff --git a/community/syncthing/update-sha256-simd-dependency.patch b/community/syncthing/update-sha256-simd-dependency.patch deleted file mode 100644 index 6594297518..0000000000 --- a/community/syncthing/update-sha256-simd-dependency.patch +++ /dev/null @@ -1,13 +0,0 @@ -Update minio/sha256-simd to a version that supports s390x. -diff -Nru a/vendor/manifest b/vendor/manifest ---- a/vendor/manifest 2017-04-15 07:38:23.000000000 +0000 -+++ b/vendor/manifest 2017-05-12 20:14:19.175873879 +0000 -@@ -313,7 +313,7 @@ - "importpath": "github.com/minio/sha256-simd", - "repository": "https://github.com/minio/sha256-simd", - "vcs": "git", -- "revision": "6124d070eb4e7001c244b6ccc282620a5dce44a0", -+ "revision": "f3ec2e4d36d43c3a899ed4b7d9f62188edcf5afd", - "branch": "master", - "notests": true - }, |