From eb6abfc1da7c25174b7932304839c399255c8a21 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Mon, 9 Apr 2018 12:28:29 +0000 Subject: [PATCH] MFH: r466547 security/signify: Update to 0.7 Brings signify up to OpenBSD 6.3's level Approved by: ports-secteam (riggs) --- security/signify/Makefile | 11 ++++------- security/signify/distinfo | 6 +++--- security/signify/files/patch-Makefile | 8 ++++---- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/security/signify/Makefile b/security/signify/Makefile index 7832516b8814..83a387de3908 100644 --- a/security/signify/Makefile +++ b/security/signify/Makefile @@ -1,9 +1,8 @@ # $FreeBSD$ PORTNAME= signify -PORTVERSION= 0.6 DISTVERSIONPREFIX= v -PORTREVISION= 3 +DISTVERSION= 0.7 PORTEPOCH= 1 CATEGORIES= security @@ -25,15 +24,13 @@ GH_PROJECT= outils ALL_TARGET= src/usr.bin/signify/signify post-patch: -# sys/cdefs.h and sys/limits.h override is not needed on FreeBSD - ${RM} ${WRKSRC}/src/liboutils/include/sys/cdefs.h - ${RM} ${WRKSRC}/src/liboutils/include/sys/limits.h +# The sys/* overrides are not needed on FreeBSD + @${RM} ${WRKSRC}/src/liboutils/include/sys/* # Replace /etc/signify paths in man page and signify's safe path to # point to /usr/local/etc/signify - ${REINPLACE_CMD} 's|/etc/signify/|${ETCDIR}/|g' \ + @${REINPLACE_CMD} 's|/etc/signify|${ETCDIR}|g' \ ${WRKSRC}/src/usr.bin/signify/signify.c \ ${WRKSRC}/src/usr.bin/signify/signify.1 - ${REINPLACE_CMD} -e 's|-lcrypto||' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/usr.bin/signify/signify \ diff --git a/security/signify/distinfo b/security/signify/distinfo index 72050305ff85..d132094a6766 100644 --- a/security/signify/distinfo +++ b/security/signify/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1475237498 -SHA256 (chneukirchen-outils-v0.6_GH0.tar.gz) = 544c9778ab698d5225e8cd4386bd1a7d65cbbe6826dc42c6bba6cea150ba507e -SIZE (chneukirchen-outils-v0.6_GH0.tar.gz) = 280703 +TIMESTAMP = 1522916615 +SHA256 (chneukirchen-outils-v0.7_GH0.tar.gz) = 97db119c6e4c64e670ae149f77440f80d84507a3e0c27a5919af0b49027a1662 +SIZE (chneukirchen-outils-v0.7_GH0.tar.gz) = 279245 diff --git a/security/signify/files/patch-Makefile b/security/signify/files/patch-Makefile index 44ca9a55a4af..2209ae3b0b4d 100644 --- a/security/signify/files/patch-Makefile +++ b/security/signify/files/patch-Makefile @@ -1,11 +1,11 @@ ---- Makefile.orig 2016-09-15 13:50:12 UTC +--- Makefile.orig 2018-04-04 13:55:00 UTC +++ Makefile -@@ -21,7 +21,7 @@ src/bin/md5/md5: src/bin/md5/md5.o src/b +@@ -21,7 +21,7 @@ src/bin/md5/md5: src/bin/md5/md5.o src/bin/md5/crc.o s src/usr.bin/rs/rs: src/usr.bin/rs/rs.o src/usr.bin/rs/utf8.o src/liboutils/pledge.o src/liboutils/strtonum.o src/liboutils/reallocarray.o --src/usr.bin/signify/signify: src/usr.bin/signify/signify.o src/usr.bin/signify/crypto_api.o src/usr.bin/signify/fe25519.o src/usr.bin/signify/mod_ed25519.o src/usr.bin/signify/mod_ge25519.o src/usr.bin/signify/sc25519.o src/usr.bin/signify/smult_curve25519_ref.o src/usr.bin/signify/zsig.o src/liboutils/pledge.o src/liboutils/strlcpy.o src/liboutils/base64.o src/liboutils/explicit_bzero.o src/liboutils/ohash.o src/liboutils/arc4random.o src/liboutils/getentropy_linux.o src/liboutils/readpassphrase.o src/liboutils/sha2.o src/liboutils/sha256hl.o src/liboutils/sha512_256hl.o src/liboutils/sha512hl.o src/liboutils/timingsafe_bcmp.o src/liboutils/bcrypt_pbkdf.o src/liboutils/blowfish.o -+src/usr.bin/signify/signify: src/usr.bin/signify/signify.o src/usr.bin/signify/crypto_api.o src/usr.bin/signify/fe25519.o src/usr.bin/signify/mod_ed25519.o src/usr.bin/signify/mod_ge25519.o src/usr.bin/signify/sc25519.o src/usr.bin/signify/smult_curve25519_ref.o src/usr.bin/signify/zsig.o src/liboutils/pledge.o src/liboutils/base64.o src/liboutils/explicit_bzero.o src/liboutils/ohash.o src/liboutils/sha2.o src/liboutils/sha256hl.o src/liboutils/sha512_256hl.o src/liboutils/sha512hl.o src/liboutils/timingsafe_bcmp.o src/liboutils/bcrypt_pbkdf.o src/liboutils/blowfish.o +-src/usr.bin/signify/signify: src/usr.bin/signify/signify.o src/usr.bin/signify/crypto_api.o src/usr.bin/signify/fe25519.o src/usr.bin/signify/mod_ed25519.o src/usr.bin/signify/mod_ge25519.o src/usr.bin/signify/sc25519.o src/usr.bin/signify/zsig.o src/liboutils/pledge.o src/liboutils/strlcpy.o src/liboutils/base64.o src/liboutils/explicit_bzero.o src/liboutils/ohash.o src/liboutils/arc4random.o src/liboutils/getentropy_linux.o src/liboutils/readpassphrase.o src/liboutils/sha2.o src/liboutils/sha256hl.o src/liboutils/sha512_256hl.o src/liboutils/sha512hl.o src/liboutils/timingsafe_bcmp.o src/liboutils/bcrypt_pbkdf.o src/liboutils/blowfish.o src/liboutils/freezero.o ++src/usr.bin/signify/signify: src/usr.bin/signify/signify.o src/usr.bin/signify/crypto_api.o src/usr.bin/signify/fe25519.o src/usr.bin/signify/mod_ed25519.o src/usr.bin/signify/mod_ge25519.o src/usr.bin/signify/sc25519.o src/usr.bin/signify/zsig.o src/liboutils/pledge.o src/liboutils/explicit_bzero.o src/liboutils/ohash.o src/liboutils/sha2.o src/liboutils/sha256hl.o src/liboutils/sha512_256hl.o src/liboutils/sha512hl.o src/liboutils/timingsafe_bcmp.o src/liboutils/bcrypt_pbkdf.o src/liboutils/blowfish.o src/liboutils/freezero.o src/usr.bin/calendar/calendar: src/usr.bin/calendar/calendar.o src/usr.bin/calendar/day.o src/usr.bin/calendar/io.o src/usr.bin/calendar/ostern.o src/usr.bin/calendar/paskha.o src/usr.bin/calendar/pesach.o src/liboutils/arc4random_uniform.o src/liboutils/arc4random.o src/liboutils/getentropy_linux.o src/liboutils/explicit_bzero.o src/liboutils/pledge.o src/liboutils/sha2.o src/liboutils/strtonum.o