pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/55448: security/py-cryptodome PLIST issues
The following reply was made to PR pkg/55448; it has been noted by GNATS.
From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/55448: security/py-cryptodome PLIST issues
Date: Thu, 02 Jul 2020 20:00:01 -0400
What's happening is that the tar chosen as the tool to open the
archive is too outdated to do so correctly. The patch below (tested by
me on OmniOS) should address the issue for you.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/py-cryptodome/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile 29 Jun 2020 13:36:51 -0000 1.31
+++ Makefile 2 Jul 2020 23:29:21 -0000
@@ -10,6 +10,11 @@
COMMENT= Cryptographic and hash functions for Python
LICENSE= public-domain AND python-software-foundation
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS" && ${OS_VARIANT} == "OmniOS"
+EXTRACT_USING= bsdtar
+.endif
+
# XXX is this needed?
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
(Now, arguably a better fix would be to generalize this a bit, as it
would break anywhere "nbtar" [archivers/pax] is used for extraction.)
Dave
Home |
Main Index |
Thread Index |
Old Index