pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/argon2



Module Name:    pkgsrc
Committed By:   kleink
Date:           Thu Feb 23 16:55:07 UTC 2017

Modified Files:
        pkgsrc/security/argon2: Makefile PLIST
Added Files:
        pkgsrc/security/argon2: buildlink3.mk

Log Message:
Install the manual page and the header file; throw in one buildlink3.mk
for good measure.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/argon2/Makefile \
    pkgsrc/security/argon2/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/security/argon2/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/argon2/Makefile
diff -u pkgsrc/security/argon2/Makefile:1.2 pkgsrc/security/argon2/Makefile:1.3
--- pkgsrc/security/argon2/Makefile:1.2 Tue Feb 21 22:00:51 2017
+++ pkgsrc/security/argon2/Makefile     Thu Feb 23 16:55:07 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/02/21 22:00:51 kleink Exp $
+# $NetBSD: Makefile,v 1.3 2017/02/23 16:55:07 kleink Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}
 PKGNAME=       ${DISTNAME:S/phc-winner-//}-${GITHUB_TAG}
@@ -6,6 +6,7 @@ CATEGORIES=     security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=P-H-C/}
 GITHUB_PROJECT=        phc-winner-argon2
 GITHUB_TAG=    20161029
+PKGREVISION=   1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://password-hashing.net/
@@ -23,8 +24,12 @@ PLIST_SUBST+=                SO_SUFFIX=${SO_SUFFIX:Q}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include
+       ${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${DESTDIR}${PREFIX}/include
        ${INSTALL_LIB} ${WRKSRC}/libargon2.a ${DESTDIR}${PREFIX}/lib
        ${INSTALL_LIB} ${WRKSRC}/libargon2.${SO_SUFFIX} ${DESTDIR}${PREFIX}/lib
+       ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/man/argon2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_DATA} ${WRKSRC}/argon2-specs.pdf ${DESTDIR}${PREFIX}/share/doc/argon2
        ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/argon2
 
Index: pkgsrc/security/argon2/PLIST
diff -u pkgsrc/security/argon2/PLIST:1.2 pkgsrc/security/argon2/PLIST:1.3
--- pkgsrc/security/argon2/PLIST:1.2    Tue Feb 21 22:00:51 2017
+++ pkgsrc/security/argon2/PLIST        Thu Feb 23 16:55:07 2017
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2017/02/21 22:00:51 kleink Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/02/23 16:55:07 kleink Exp $
 bin/argon2
+include/argon2.h
 lib/libargon2.a
 lib/libargon2.${SO_SUFFIX}
+man/man1/argon2.1
 share/doc/argon2/README.md
 share/doc/argon2/argon2-specs.pdf

Added files:

Index: pkgsrc/security/argon2/buildlink3.mk
diff -u /dev/null pkgsrc/security/argon2/buildlink3.mk:1.1
--- /dev/null   Thu Feb 23 16:55:07 2017
+++ pkgsrc/security/argon2/buildlink3.mk        Thu Feb 23 16:55:07 2017
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/02/23 16:55:07 kleink Exp $
+
+BUILDLINK_TREE+=       argon2
+
+.if !defined(ARGON2_BUILDLINK3_MK)
+ARGON2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.argon2+= argon2>=20161029nb1
+BUILDLINK_ABI_DEPENDS.argon2+= argon2>=20161029nb1
+BUILDLINK_PKGSRCDIR.argon2?=   ../../security/argon2
+.endif # ARGON2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -argon2



Home | Main Index | Thread Index | Old Index