[ITA] argon2
Alexey Sokolov
alexey+cygwin@asokolov.org
Fri Sep 29 01:10:46 GMT 2023
Hi, here's updated argon2 package
The old version of the patch also was modifying linux/darwin/etc parts,
I skipped those, as deemed irrelevant here
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190702-cygwin-dll.patch
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-apps/attachments/20230929/5a2c6385/attachment.bin>
-------------- next part --------------
NAME="argon2"
VERSION=20190702
RELEASE=1
LICENSE=CC0-1.0
CATEGORY="Libs"
SUMMARY="Password-hashing function library"
DESCRIPTION="This is the reference C implementation of Argon2, a password-
hashing function that summarizes the state of the art in the design of
memory-hard functions and can be used to hash passwords for credential
storage, key derivation, or other applications."
HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${VERSION}/phc-winner-argon2-${VERSION}.tar.gz"
SRC_DIR="phc-winner-argon2-${VERSION}"
PATCH_URI="20190702-cygwin-dll.patch"
PKG_NAMES="argon2 libargon2_1 libargon2-devel"
argon2_CATEGORY="Utils"
argon2_SUMMARY=${SUMMARY/library/tool}
argon2_CONTENTS="usr/bin/argon2.exe usr/share/doc/"
libargon2_1_CONTENTS="usr/bin/cygargon2-1.dll"
libargon2_devel_CONTENTS="usr/include/argon2.h usr/lib/libargon2.dll.a usr/lib/pkgconfig/libargon2.pc"
src_compile() {
lndirs
cd ${B}
cygmake OPTTARGET=${ARCH_i686+i686}${ARCH_x86_64+generic}
}
src_install() {
cd ${B}
dobin argon2.exe cygargon2-1.dll
doinclude include/argon2.h
dolib libargon2.dll.a
dopkgconfig libargon2.pc
}
More information about the Cygwin-apps
mailing list