0
0
Fork 0
haikuports/app-crypt/gnupg/gnupg-2.2.27.recipe

151 lines
4.2 KiB
Bash

SUMMARY="The GNU project's free implementation of the OpenPGP standard"
DESCRIPTION="GnuPG is the GNU project's complete and free implementation of \
the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign \
your data and communication, features a versatile key management system as \
well as access modules for all kinds of public key directories. GnuPG, also \
known as GPG, is a command line tool with features for easy integration with \
other applications."
HOMEPAGE="https://gnupg.org/"
COPYRIGHT="1997-2019 Werner Koch
1994-2021 Free Software Foundation, Inc.
2003-2021 g10 Code GmbH
2002 Klarälvdalens Datakonsult AB
1995-1997, 2000-2007 Ulrich Drepper
1994 X Consortium
1998 by The Internet Society
1998-2004 The OpenLDAP Foundation
1998-2004 Kurt D. Zeilenga
1998-2004 Net Boolean Incorporated
2001-2004 IBM Corporation
1999-2003 Howard Y.H. Chu
1999-2003 Symas Corporation
1998-2003 Hallvard B. Furuseth
1992-1996 Regents of the University of Michigan
2000 Dimitrios Souflis
2008-2010,2012-2016 William Ahern
2017 Bundesamt für Sicherheit in der Informationstechnik"
LICENSE="CC0 v1.0
GNU GPL v2
GNU GPL v3
GNU LGPL v2.1
GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$portVersion.tar.bz2"
CHECKSUM_SHA256="34e60009014ea16402069136e0a5f63d9b65f90096244975db5cea74b3d02399"
PATCHES="gnupg-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gnupg$secondaryArchSuffix = $portVersion
cmd:addgnupghome$secondaryArchSuffix
cmd:applygnupgdefaults$secondaryArchSuffix
cmd:convert_from_106$secondaryArchSuffix
cmd:dirmngr$secondaryArchSuffix
cmd:dirmngr_client$secondaryArchSuffix
cmd:gpg$secondaryArchSuffix
cmd:gpg_agent$secondaryArchSuffix
cmd:gpg_check_pattern$secondaryArchSuffix
cmd:gpg_connect_agent$secondaryArchSuffix
cmd:gpg_wks_server$secondaryArchSuffix
cmd:gpg_zip$secondaryArchSuffix
cmd:gpgconf$secondaryArchSuffix
cmd:gpgparsemail$secondaryArchSuffix
cmd:gpgscm$secondaryArchSuffix
cmd:gpgsm$secondaryArchSuffix
cmd:gpgsplit$secondaryArchSuffix
cmd:gpgtar$secondaryArchSuffix
cmd:gpgv$secondaryArchSuffix
cmd:kbxutil$secondaryArchSuffix
cmd:lspgpot$secondaryArchSuffix
cmd:mail_signed_keys$secondaryArchSuffix
cmd:make_dns_cert$secondaryArchSuffix
cmd:watchgnupg$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:pinentry$secondaryArchSuffix
lib:libassuan$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libgcrypt$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libgpg_error$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libksba$secondaryArchSuffix
lib:liblber$secondaryArchSuffix
lib:libldap$secondaryArchSuffix
lib:libnpth$secondaryArchSuffix
lib:libreadline$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
lib:libusb_1.0$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libassuan$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libgcrypt$secondaryArchSuffix
devel:libgnutls$secondaryArchSuffix
devel:libgpg_error$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libksba$secondaryArchSuffix
devel:libldap$secondaryArchSuffix
devel:libnpth$secondaryArchSuffix
devel:libreadline$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:libusb_1.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:automake
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:perl
cmd:pinentry$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:shred
cmd:tar
"
TEST_REQUIRES="
cmd:ssh
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure \
--libexecdir=$libDir/gnupg \
--enable-wks-tools \
--with-bzip2
make $jobArgs
}
INSTALL()
{
make install
# Extra tools, gentoo does the same
for f in convert-from-106 gpg-check-pattern gpg-zip lspgpot \
mail-signed-keys make-dns-cert; do
cp -r tools/$f $binDir/
done
}
TEST()
{
# FAIL: t-timestuff, t-gettime
make check
}