pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/go-bin



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jul 14 14:31:21 UTC 2021

Modified Files:
        pkgsrc/lang/go-bin: Makefile

Log Message:
go-bin: Remove code signatures on Darwin/aarch64.

This causes problems executing inside a chroot.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/go-bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go-bin/Makefile
diff -u pkgsrc/lang/go-bin/Makefile:1.6 pkgsrc/lang/go-bin/Makefile:1.7
--- pkgsrc/lang/go-bin/Makefile:1.6     Mon Jun 14 17:23:12 2021
+++ pkgsrc/lang/go-bin/Makefile Wed Jul 14 14:31:21 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2021/06/14 17:23:12 schmonz Exp $
+# $NetBSD: Makefile,v 1.7 2021/07/14 14:31:21 jperkin Exp $
 
 PKGNAME=       go-bin-1.14.2
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    lang
 MASTER_SITES=  https://dl.google.com/go/
 
@@ -85,6 +85,12 @@ INSTALLATION_DIRS+=  go-bin
 
 do-install:
        cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/go-bin
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+       for f in ${DESTDIR}${PREFIX}/go-bin/bin/* \
+                ${DESTDIR}${PREFIX}/go-bin/pkg/tool/darwin_arm64/*; do \
+               /usr/bin/codesign --remove-signature $$f; \
+       done
+.endif
 
 post-install:
        cd ${DESTDIR}${PREFIX} && find go-bin -type f -print    \



Home | Main Index | Thread Index | Old Index