Mail archive
alpine-aports

[alpine-aports] [PATCH 1/8] main/syncthing: go binaries should not be stripped

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Thu, 6 Aug 2015 20:53:43 +0200

Stripping of Go binaries is not officially supported and/or tested and
can cause crashes on certain architectures. Therefore I suggest that
syncthing and (possibly) other go packages add options='!strip' to the
APKBUILD.

See also:
- https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1200255/comments/8
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717172
---
 main/syncthing/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main/syncthing/APKBUILD b/main/syncthing/APKBUILD
index 4bd6c7a..e889541 100644
--- a/main/syncthing/APKBUILD
+++ b/main/syncthing/APKBUILD
_at_@ -3,7 +3,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=syncthing
 pkgver=0.11.16
-pkgrel=0
+pkgrel=1
 pkgdesc="Open Source Continuous File Synchronization"
 url="http://syncthing.net/"
 arch="all"
_at_@ -15,6 +15,7 @@ depends_dev=""
 makedepends="$depends_dev godep go mercurial bash"
 install="$pkgname.pre-install"
 subpackages=""
+options="!strip"
 source="$pkgname-$pkgver.tar.gz::https://github.com/syncthing/syncthing/archive/v$pkgver.tar.gz
 	syncthing.confd
 	syncthing.initd"
-- 
2.5.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Aug 06 2015 - 20:53:43 GMT