security/libargon2: Update to 20190702
PR: 238950 Submitted by: Christopher Hall <hsw@bitmark.com> (maintainer)
This commit is contained in:
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
|
@ -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
|
||||
|
@ -37,7 +30,7 @@ do-install:
|
|||
${INSTALL_LIB} ${WRKSRC}/libargon2.so ${STAGEDIR}${PREFIX}/lib/libargon2.so.0
|
||||
${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_MAN} ${WRKSRC}/man/argon2.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/libargon2.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libargon2.pc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue