Name argon2
Description memory-hard hashing function - utility
Version 0~20190702+dfsg-4
Package Base argon2
Homepage https://github.com/P-H-C/phc-winner-argon2
Maintainers ['Debian Security Tools <team+pkg-security@tracker.debian.org>']
Contributors ['Sven Geuer <debmaint@g-e-u-e-r.de>']
Distro-repo https://salsa.debian.org/pkg-security-team/argon2
Sources ['https://sources.debian.org/data/main/a/argon2/0~20190702+dfsg-4/debian/watch', 'https://sources.debian.org/src/argon2/0~20190702+dfsg-4/debian/patches/hurd.patch', 'https://sources.debian.org/src/argon2/0~20190702+dfsg-4/debian/patches/kfreebsd.patch', 'https://sources.debian.org/src/argon2/0~20190702+dfsg-4/debian/patches/ldflags.patch', 'https://sources.debian.org/src/argon2/0~20190702+dfsg-4/debian/patches/relative-paths.patch', 'https://sources.debian.org/src/argon2/0~20190702+dfsg-4/debian/patches/series']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-exec']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash a01c8eea45daab027e3aab3f9202ea4cbfa105028d41155dd1fd503917273749
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

# Upstream does not honor CPPFLAGS, hence we add it to CFLAGS here.
export CFLAGS+=$(CPPFLAGS)
# Optimized source code is only available for the x86_64 architecture.
export OPTTARGET=$(if $(findstring $(DEB_HOST_GNU_CPU),x86_64),x86-64,none)
export PKG=libargon2
export SONAME=$(PKG).so.$(SOVER)
export SOPKG=$(PKG)-$(SOVER)
export SOVER=1
export DEBPREFIX=0~
export DEBSUFFIX=+dfsg
export ARGON2_VERSION=$(subst $(DEBSUFFIX),,$(subst $(DEBPREFIX),,$(DEB_VERSION_UPSTREAM)))

%:
	dh $@

override_dh_auto_test:
	-$(MAKE) -j1 test

override_dh_auto_install:

override_dh_makeshlibs:
	dh_makeshlibs -V --add-udeb="libargon2-1-udeb"