Update to scrypt-1.3.0

Significant change since 1.2.1 is that in addition to the scrypt
command-line utility, a library "libscrypt-kdf" is build and installed.

While here:
- Change HOMEPAGE/MASTER_SITES to https
- Enable tests
- Set DEBUG_PACKAGES

OK sthen@
This commit is contained in:
bket 2019-12-31 07:26:59 +00:00
parent 30a268ebdf
commit beb265b93e
4 changed files with 30 additions and 7 deletions

View File

@ -1,12 +1,14 @@
# $OpenBSD: Makefile,v 1.9 2019/07/12 20:49:36 sthen Exp $
# $OpenBSD: Makefile,v 1.10 2019/12/31 07:26:59 bket Exp $
COMMENT = command-line encryption using scrypt key derivation function
DISTNAME = scrypt-1.2.1
DISTNAME = scrypt-1.3.0
SHARED_LIBS += scrypt-kdf 0.0 # 1.0
CATEGORIES = security
HOMEPAGE = http://www.tarsnap.com/scrypt/
HOMEPAGE = https://www.tarsnap.com/scrypt/
# BSD
PERMIT_PACKAGE = Yes
@ -17,7 +19,10 @@ MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tgz
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-libscrypt-kdf
NO_TEST = Yes
DEBUG_PACKAGES = ${BUILD_PACKAGES}
TEST_TARGET = test
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (scrypt-1.2.1.tgz) = RiH159ovgC4ghQQ2IZNwCS6fzak71Zj21CNszjP0xXc=
SIZE (scrypt-1.2.1.tgz) = 127619
SHA256 (scrypt-1.3.0.tgz) = JjA07dTR4RfUBR2akmDHTe2w769EkcUVK3OJeLPzJ0g=
SIZE (scrypt-1.3.0.tgz) = 380332

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-tests_test_scrypt_sh,v 1.1 2019/12/31 07:26:59 bket Exp $
Index: tests/test_scrypt.sh
--- tests/test_scrypt.sh.orig
+++ tests/test_scrypt.sh
@@ -14,7 +14,7 @@ out_valgrind="${bindir}/tests-valgrind"
password="hunter2"
# Find system scrypt, and ensure it supports -P.
-system_scrypt=$( find_system scrypt enc -P )
+system_scrypt=$( find_system ${scriptdir}/../scrypt enc -P )
### Run tests using project-specific constants

View File

@ -1,3 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/25 22:48:48 sthen Exp $
@comment $OpenBSD: PLIST,v 1.2 2019/12/31 07:26:59 bket Exp $
@bin bin/scrypt
include/scrypt-kdf.h
@static-lib lib/libscrypt-kdf.a
lib/libscrypt-kdf.la
@lib lib/libscrypt-kdf.so.${LIBscrypt-kdf_VERSION}
@man man/man1/scrypt.1