From 5d41ea7c306f0c2571e272a42eb08764223b5bf8 Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sat, 27 Apr 2013 13:50:42 +0000 Subject: [PATCH] - Update to 0.4 - Add PORTDOCS and respect DOCS option PR: ports/178173 Submitted by: csosstudy (maintainer) --- security/libsodium/Makefile | 12 +++++++++++- security/libsodium/distinfo | 4 ++-- security/libsodium/pkg-plist | 12 +++++++++++- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/security/libsodium/Makefile b/security/libsodium/Makefile index 46fcc926eb3d..cfb5745b84d9 100644 --- a/security/libsodium/Makefile +++ b/security/libsodium/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= libsodium -PORTVERSION= 0.3 +PORTVERSION= 0.4 CATEGORIES= security MASTER_SITES= http://download.dnscrypt.org/libsodium/releases/ @@ -13,7 +13,17 @@ LICENSE= ISCL GNU_CONFIGURE= yes USE_LDCONFIG= yes +PORTDOCS= AUTHORS COPYING INSTALL NEWS THANKS + post-build: cd ${WRKSRC} && ${MAKE} check +.include + +post-install: +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.endif + .include diff --git a/security/libsodium/distinfo b/security/libsodium/distinfo index c68787478bf4..b392732117f7 100644 --- a/security/libsodium/distinfo +++ b/security/libsodium/distinfo @@ -1,2 +1,2 @@ -SHA256 (libsodium-0.3.tar.gz) = 908a26f84bedb432305c81ec6773aa95b8e724ba2ece6234840685a74e033750 -SIZE (libsodium-0.3.tar.gz) = 727213 +SHA256 (libsodium-0.4.tar.gz) = 4ea491a92b899745a8f540a185da9d0570a306f4d108b72df59737a77aed4bab +SIZE (libsodium-0.4.tar.gz) = 741960 diff --git a/security/libsodium/pkg-plist b/security/libsodium/pkg-plist index 77e109d5c713..d57945e24c8b 100644 --- a/security/libsodium/pkg-plist +++ b/security/libsodium/pkg-plist @@ -1,7 +1,8 @@ -lib/libsodium.so.2 +lib/libsodium.so.4 lib/libsodium.so lib/libsodium.la lib/libsodium.a +include/sodium/core.h include/sodium/crypto_auth.h include/sodium/crypto_auth_hmacsha256.h include/sodium/crypto_auth_hmacsha512256.h @@ -11,6 +12,8 @@ include/sodium/crypto_core_hsalsa20.h include/sodium/crypto_core_salsa20.h include/sodium/crypto_core_salsa2012.h include/sodium/crypto_core_salsa208.h +include/sodium/crypto_generichash.h +include/sodium/crypto_generichash_blake2b.h include/sodium/crypto_hash.h include/sodium/crypto_hash_sha256.h include/sodium/crypto_hash_sha512.h @@ -18,6 +21,9 @@ include/sodium/crypto_hashblocks_sha256.h include/sodium/crypto_hashblocks_sha512.h include/sodium/crypto_onetimeauth.h include/sodium/crypto_onetimeauth_poly1305.h +include/sodium/crypto_onetimeauth_poly1305_53.h +include/sodium/crypto_onetimeauth_poly1305_ref.h +include/sodium/crypto_scalarmult.h include/sodium/crypto_scalarmult_curve25519.h include/sodium/crypto_secretbox.h include/sodium/crypto_secretbox_xsalsa20poly1305.h @@ -32,15 +38,19 @@ include/sodium/crypto_stream_salsa20.h include/sodium/crypto_stream_salsa2012.h include/sodium/crypto_stream_salsa208.h include/sodium/crypto_stream_xsalsa20.h +include/sodium/crypto_int32.h +include/sodium/crypto_int64.h include/sodium/crypto_uint16.h include/sodium/crypto_uint32.h include/sodium/crypto_uint64.h include/sodium/crypto_uint8.h include/sodium/crypto_verify_16.h include/sodium/crypto_verify_32.h +include/sodium/export.h include/sodium/randombytes.h include/sodium/randombytes_salsa20_random.h include/sodium/randombytes_sysrandom.h +include/sodium/utils.h include/sodium/version.h include/sodium.h @dirrm include/sodium