1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

security/monocypher: update to 4.0.2

- drop local makefile patches thanks to upstream

Differential Revision: https://reviews.freebsd.org/D41732

Sponsored by:	SkunkWerks, GmbH
This commit is contained in:
Dave Cottlehuber 2023-09-05 20:34:39 +00:00
parent 074e30b1db
commit 145f0ec983
4 changed files with 15 additions and 26 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= monocypher
DISTVERSION= 4.0.1
DISTVERSION= 4.0.2
CATEGORIES= security
MASTER_SITES= https://monocypher.org/download/
@ -17,4 +17,7 @@ MAKEFILE= makefile
ALL_TARGET= all
TEST_TARGET= test
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmonocypher.so.*
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1689253203
SHA256 (monocypher-4.0.1.tar.gz) = 2f5796dba699cfdda5acd7721bf7df2c42e7e01d5cb843294a2a6e0a28cec0e9
SIZE (monocypher-4.0.1.tar.gz) = 939452
TIMESTAMP = 1693924071
SHA256 (monocypher-4.0.2.tar.gz) = 38d07179738c0c90677dba3ceb7a7b8496bcfea758ba1a53e803fed30ae0879c
SIZE (monocypher-4.0.2.tar.gz) = 939996

View File

@ -1,22 +0,0 @@
--- makefile.orig 2023-07-17 16:11:09 UTC
+++ makefile
@@ -52,14 +52,14 @@
.POSIX:
.SUFFIXES:
-CC=gcc -std=c99
-CFLAGS=-pedantic -Wall -Wextra -O3 -march=native
-DESTDIR=
-PREFIX=usr/local
+CC?=gcc -std=c99
+CFLAGS?=-pedantic -Wall -Wextra -O3 -march=native
+DESTDIR?=
+PREFIX?=usr/local
LIBDIR=$(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include
PKGCONFIGDIR=$(LIBDIR)/pkgconfig
-MANDIR=$(PREFIX)/share/man/man3
+MANDIR?=$(PREFIX)/share/man/man3
SONAME=libmonocypher.so.4
.PHONY: all library static-library dynamic-library \

View File

@ -0,0 +1,8 @@
--- monocypher.pc.orig 2023-09-05 14:54:15 UTC
+++ monocypher.pc
@@ -1,4 +1,4 @@
-prefix=/PREFIX
+prefix=PREFIX
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include