Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2019 18:26:59 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506023 - head/security/libargon2
Message-ID:  <201907061826.x66IQxME006179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Jul  6 18:26:59 2019
New Revision: 506023
URL: https://svnweb.freebsd.org/changeset/ports/506023

Log:
  security/libargon2: Update to 20190702
  
  PR:		238950
  Submitted by:	Christopher Hall <hsw@bitmark.com> (maintainer)

Modified:
  head/security/libargon2/Makefile   (contents, props changed)
  head/security/libargon2/distinfo   (contents, props changed)

Modified: head/security/libargon2/Makefile
==============================================================================
--- head/security/libargon2/Makefile	Sat Jul  6 18:21:21 2019	(r506022)
+++ head/security/libargon2/Makefile	Sat Jul  6 18:26:59 2019	(r506023)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libargon2
-PORTVERSION=	20171227
-PORTREVISION=	1
+PORTVERSION=	20190702
 CATEGORIES=	security devel
 
 MAINTAINER=	hsw@bitmark.com
@@ -22,22 +21,16 @@ GH_PROJECT=	phc-winner-argon2
 MAKE_JOBS_UNSAFE=	yes
 LIBARGON2=	libargon2.so.0
 MAKE_ARGS+=	SO_LDFLAGS="-shared -Wl,-soname=${LIBARGON2}" \
-		OPTTARGET="generic"
+		OPTTARGET="generic" \
+		ARGON2_VERSION="${PORTVERSION}"
 
-# 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}/@;
-
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/libargon2.a ${STAGEDIR}${PREFIX}/lib
 	${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>

Modified: head/security/libargon2/distinfo
==============================================================================
--- head/security/libargon2/distinfo	Sat Jul  6 18:21:21 2019	(r506022)
+++ head/security/libargon2/distinfo	Sat Jul  6 18:26:59 2019	(r506023)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907061826.x66IQxME006179>