pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/monocypher
Module Name: pkgsrc
Committed By: nia
Date: Wed Jul 12 21:17:16 UTC 2023
Modified Files:
pkgsrc/security/monocypher: Makefile distinfo
pkgsrc/security/monocypher/patches: patch-makefile
Log Message:
monocypher: Fully honour CFLAGS. Append -std=c99, uses many C99 features.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/monocypher/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/monocypher/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/monocypher/patches/patch-makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/monocypher/Makefile
diff -u pkgsrc/security/monocypher/Makefile:1.2 pkgsrc/security/monocypher/Makefile:1.3
--- pkgsrc/security/monocypher/Makefile:1.2 Mon Oct 19 12:30:30 2020
+++ pkgsrc/security/monocypher/Makefile Wed Jul 12 21:17:16 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2020/10/19 12:30:30 mef Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/12 21:17:16 nia Exp $
DISTNAME= monocypher-3.1.1
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://monocypher.org/download/
@@ -14,7 +15,4 @@ MAKE_FILE= makefile
MAKE_ENV+= MANDIR=${DESTDIR}/${PKGMANDIR}
TEST_TARGET= test
-# We default to binaries portable to more than one arch.
-BUILDLINK_TRANSFORM+= rm:-march=native
-
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/monocypher/distinfo
diff -u pkgsrc/security/monocypher/distinfo:1.4 pkgsrc/security/monocypher/distinfo:1.5
--- pkgsrc/security/monocypher/distinfo:1.4 Tue Oct 26 11:17:20 2021
+++ pkgsrc/security/monocypher/distinfo Wed Jul 12 21:17:16 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:17:20 nia Exp $
+$NetBSD: distinfo,v 1.5 2023/07/12 21:17:16 nia Exp $
BLAKE2s (monocypher-3.1.1.tar.gz) = ebd9d2d43ac61989545f4b9b324b65399709eac49ed16dfb0a721dabb113cdac
SHA512 (monocypher-3.1.1.tar.gz) = 9c202ffe74eac1f2a7f21b8e195d981c21c5792b788315dea168cf40f1ee83cb787f3409c2d6135f517a58fee5f3e44c9ef521e132cee40c04e4b4868787f366
Size (monocypher-3.1.1.tar.gz) = 1066382 bytes
-SHA1 (patch-makefile) = 788ffa96918136c9fe602e55d72f6036f196227a
+SHA1 (patch-makefile) = 56e770ab18e58f25165e0470f2f060f0d943451e
Index: pkgsrc/security/monocypher/patches/patch-makefile
diff -u pkgsrc/security/monocypher/patches/patch-makefile:1.2 pkgsrc/security/monocypher/patches/patch-makefile:1.3
--- pkgsrc/security/monocypher/patches/patch-makefile:1.2 Mon Oct 19 12:30:30 2020
+++ pkgsrc/security/monocypher/patches/patch-makefile Wed Jul 12 21:17:16 2023
@@ -1,19 +1,20 @@
-$NetBSD: patch-makefile,v 1.2 2020/10/19 12:30:30 mef Exp $
+$NetBSD: patch-makefile,v 1.3 2023/07/12 21:17:16 nia Exp $
+This uses many C99 features in its code.
Allow overriding CC, DESTDIR and PREFIX
Use the more standard MANDIR (that we override)
--- makefile.orig 2020-04-22 00:00:00.000000000 +0000
+++ makefile
-@@ -49,14 +49,14 @@
+@@ -49,14 +49,13 @@
# You should have received a copy of the CC0 Public Domain Dedication along
# with this software. If not, see
# <https://creativecommons.org/publicdomain/zero/1.0/>
-CC=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
-+CC?=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
- CFLAGS= -pedantic -Wall -Wextra -O3 -march=native
+-CFLAGS= -pedantic -Wall -Wextra -O3 -march=native
-DESTDIR=
-PREFIX=usr/local
++CFLAGS+= -std=c99 -Wall -Wextra
+DESTDIR?=
+PREFIX?=usr/local
LIBDIR=$(PREFIX)/lib
Home |
Main Index |
Thread Index |
Old Index