Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (278d1dcadd9593a6e346fa3d33f0c2936fe17ccf)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (278d1dcadd9593a6e346fa3d33f0c2936fe17ccf)
  • Date: Tue, 13 Apr 2021 12:20:48 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

crypto/gnupg-2.4/CONFLICTS | 4 ++++
crypto/gnupg-2.4/DEPENDS | 16 ++++++++++++++++
crypto/gnupg-2.4/DETAILS | 21 +++++++++++++++++++++
crypto/gnupg-2.4/HISTORY | 4 ++++
crypto/gnupg-2.4/PRE_BUILD | 30 ++++++++++++++++++++++++++++++
crypto/gnupg-2.4/PROVIDES | 1 +
crypto/gnupg-2.4/TRIGGERS | 4 ++++
7 files changed, 80 insertions(+)

New commits:
commit 278d1dcadd9593a6e346fa3d33f0c2936fe17ccf
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

gnupg-2.4 - version 2.3.0

diff --git a/crypto/gnupg-2.4/CONFLICTS b/crypto/gnupg-2.4/CONFLICTS
new file mode 100755
index 0000000..7202d34
--- /dev/null
+++ b/crypto/gnupg-2.4/CONFLICTS
@@ -0,0 +1,4 @@
+conflicts gnupg y
+conflicts gnupg-exp y
+conflicts gnupg-2.1 y
+conflicts gnupg-2.2 y
diff --git a/crypto/gnupg-2.4/DEPENDS b/crypto/gnupg-2.4/DEPENDS
new file mode 100755
index 0000000..a4105e5
--- /dev/null
+++ b/crypto/gnupg-2.4/DEPENDS
@@ -0,0 +1,16 @@
+depends npth &&
+depends libgpg-error &&
+depends libgcrypt &&
+depends libassuan &&
+depends libksba &&
+depends readline &&
+depends pkgconfig &&
+
+optional_depends openldap --{en,dis}able-ldap 'for LDAP keyserver
interface' &&
+optional_depends ccid '--disable-ccid-driver' '' 'system card reader' &&
+optional_depends GETTEXT '' '--disable-nls' 'NLS support' &&
+optional_depends libusb '' '' 'USB card reader support' &&
+optional_depends gnutls '' '--disable-gnutls' 'use GnuTLS as fallback TLS
library' &&
+optional_depends sqlite '' '--disable-sqlite' 'use SQLITE' &&
+optional_depends bzip2 '' '--disable-bzip2' 'use BZIP2' &&
+optional_depends zlib '' '--disable-zip' 'use ZIP and ZLIB compression'
diff --git a/crypto/gnupg-2.4/DETAILS b/crypto/gnupg-2.4/DETAILS
new file mode 100755
index 0000000..1aec464
--- /dev/null
+++ b/crypto/gnupg-2.4/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=gnupg-2.4
+ VERSION=2.3.0
+
SOURCE_HASH=sha512:f8d2b31e9ae750b132ecb7b478be52cdb7628a5806967a2ee3be19d3e955c3f64214997b168b1ec00caa6830c26711f2ea8430cc6269d6b980b21239186ba29f
+ SECURITY_PATCH=3
+ SOURCE=gnupg-$VERSION.tar.bz2
+ SOURCE_URL[0]=https://gnupg.org/ftp/gcrypt/gnupg/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/gnupg-$VERSION
+ WEB_SITE=https://www.gnupg.org
+ ENTERED=20210413
+ LICENSE[0]=GPL
+ KEYWORDS="gnupg crypto"
+ SHORT="modern version of gnupg"
+cat << EOF
+GnuPG (the GNU Privacy Guard) is GNU's tool for secure communication and
+data storage. It can be used to encrypt data and to create digital
+signatures. It includes an advanced key management facility and is
+compliant with the proposed OpenPGP Internet standard as described in
+RFC2440. As such, it is meant to be compatible with PGP from NAI, Inc.
+Because it does not use any patented algorithms, it can be used without
+any restrictions.
+EOF
diff --git a/crypto/gnupg-2.4/HISTORY b/crypto/gnupg-2.4/HISTORY
new file mode 100644
index 0000000..f2f0ba4
--- /dev/null
+++ b/crypto/gnupg-2.4/HISTORY
@@ -0,0 +1,4 @@
+2021-04-13 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 2.3.0
+ this is development version towards future 2.4.x
+ spell created
diff --git a/crypto/gnupg-2.4/PRE_BUILD b/crypto/gnupg-2.4/PRE_BUILD
new file mode 100755
index 0000000..986567c
--- /dev/null
+++ b/crypto/gnupg-2.4/PRE_BUILD
@@ -0,0 +1,30 @@
+# Manual verification using sha512sum as we cannot be sure that gpg is
+# available. The code is mostly copied from sorcery's libunpack
+sha512_verify() {
+ local FILENAME="$( guess_filename "$SOURCE_CACHE/$1" )"
+ local HASHSUM="$( echo "$2" | cut -d: -f2 )"
+
+ local HASH="$(sha512sum "$FILENAME" | cut -d' ' -f1)"
+ local rc=$?
+
+ if [[ "$HASH" != "$HASHSUM" ]] || [[ $rc != 0 ]]
+ then
+ error_message "${PROBLEM_COLOR}$ALGORITHM check failed!" &&
+ error_message "$HASH (computed) != $HASHSUM (expected)!$DEFAULT_COLOR" &&
+ hash_user_query 1 "$SPELL" spell || return 1
+ else
+ is_allowed_hash "$ALGORITHM" "$HLEVEL"
+ rc=$?
+ hash_user_query $rc "$SPELL" spell || return 1
+ fi
+ return 0
+}
+
+mk_source_dir "$SOURCE_DIRECTORY" &&
+cd "$BUILD_DIRECTORY" &&
+sha512_verify "$SOURCE" "$SOURCE_HASH" &&
+
+# cheating and using internal function uncompress_unpack instead of
unpack_file
+# so as not to trigger the gpg based verification, which we already did
+# ourselves before
+uncompress_unpack "$SOURCE"
diff --git a/crypto/gnupg-2.4/PROVIDES b/crypto/gnupg-2.4/PROVIDES
new file mode 100644
index 0000000..8124dc4
--- /dev/null
+++ b/crypto/gnupg-2.4/PROVIDES
@@ -0,0 +1 @@
+GNUPG
diff --git a/crypto/gnupg-2.4/TRIGGERS b/crypto/gnupg-2.4/TRIGGERS
new file mode 100755
index 0000000..2a3b016
--- /dev/null
+++ b/crypto/gnupg-2.4/TRIGGERS
@@ -0,0 +1,4 @@
+if is_depends_enabled $SPELL curl
+then
+ on_cast curl check_self
+fi



  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (278d1dcadd9593a6e346fa3d33f0c2936fe17ccf), Treeve Jelbert, 04/13/2021

Archive powered by MHonArc 2.6.24.

Top of Page