app-crypt/scrypt - 1.3.3 (gentoo)

Search

Package Information

Description:
A simple password-based encryption utility using scrypt key derivation function
Homepage:
https://www.tarsnap.com/scrypt.html
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
1.3.3 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/tarsnap.asc
inherit verify-sig

DESCRIPTION="A simple password-based encryption utility using scrypt key derivation function"
HOMEPAGE="https://www.tarsnap.com/scrypt.html"
SRC_URI="
	https://www.tarsnap.com/scrypt/${P}.tgz
	verify-sig? ( https://www.tarsnap.com/scrypt/${PN}-sigs-${PV}.asc )
"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"

DOCS=( FORMAT )

BDEPEND="verify-sig? ( sec-keys/openpgp-keys-tarsnap )"

src_unpack() {
	if use verify-sig; then
		cd "${DISTDIR}" || die
		verify-sig_verify_signed_checksums \
			${PN}-sigs-${PV}.asc \
			openssl-dgst \
			${P}.tgz
		cd "${WORKDIR}" || die
	fi

	default
}

src_test() {
	# There's an empty check target, so can't call default.
	emake test
}

Dependencies

BDEPEND

verify-sig? ( sec-keys/openpgp-keys-tarsnap )

Manifest for 1.3.3

Type File Size Source URLs
DIST scrypt-1.3.3.tgz 432339 bytes https://www.tarsnap.com/scrypt/scrypt-1.3.3.tgz
DIST scrypt-sigs-1.3.3.asc 961 bytes https://www.tarsnap.com/scrypt/scrypt-sigs-1.3.3.asc