security/libargon2: Update to 20190702

PR:		238950
Submitted by:	Christopher Hall <hsw@bitmark.com> (maintainer)
This commit is contained in:
Steve Wills 2019-07-06 18:26:59 +00:00
parent a00e74946a
commit 61e3010e23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506023
2 changed files with 8 additions and 15 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libargon2
PORTVERSION= 20171227
PORTREVISION= 1
PORTVERSION= 20190702
CATEGORIES= security devel
MAINTAINER= hsw@bitmark.com
@ -22,14 +21,8 @@ GH_PROJECT= phc-winner-argon2
MAKE_JOBS_UNSAFE= yes
LIBARGON2= libargon2.so.0
MAKE_ARGS+= SO_LDFLAGS="-shared -Wl,-soname=${LIBARGON2}" \
OPTTARGET="generic"
# remove multiarch as this is only for Linux
SUBST= s/@HOST_MULTIARCH@//g;
SUBST+= s/@UPSTREAM_VER@/${PORTVERSION}/g;
SUBST+= s@/usr@${PREFIX}@g;
SUBST+= s/-lrt//g;s/-ldl//g;
SUBST+= s@Cflags:@Cflags: -I$${includedir}/@;
OPTTARGET="generic" \
ARGON2_VERSION="${PORTVERSION}"
do-install:
${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${STAGEDIR}${PREFIX}/include
@ -38,6 +31,6 @@ do-install:
${RLN} ${STAGEDIR}${PREFIX}/lib/${LIBARGON2} ${STAGEDIR}${PREFIX}/lib/libargon2.so
${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/argon2.1 ${STAGEDIR}${PREFIX}/man/man1
${SED} '${SUBST}' < ${WRKSRC}/libargon2.pc > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libargon2.pc
${INSTALL_DATA} ${WRKSRC}/libargon2.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libargon2.pc
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1515537770
SHA256 (P-H-C-phc-winner-argon2-20171227_GH0.tar.gz) = eaea0172c1f4ee4550d1b6c9ce01aab8d1ab66b4207776aa67991eb5872fdcd8
SIZE (P-H-C-phc-winner-argon2-20171227_GH0.tar.gz) = 1503745
TIMESTAMP = 1562053237
SHA256 (P-H-C-phc-winner-argon2-20190702_GH0.tar.gz) = daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c
SIZE (P-H-C-phc-winner-argon2-20190702_GH0.tar.gz) = 1505307