From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- security/gnupg/gnupg-2.0.19-notermcap.patch.xz | Bin 0 -> 336 bytes security/gnupg/gnupg.build | 95 +++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 security/gnupg/gnupg-2.0.19-notermcap.patch.xz create mode 100755 security/gnupg/gnupg.build (limited to 'security/gnupg') diff --git a/security/gnupg/gnupg-2.0.19-notermcap.patch.xz b/security/gnupg/gnupg-2.0.19-notermcap.patch.xz new file mode 100644 index 0000000..8522fb3 Binary files /dev/null and b/security/gnupg/gnupg-2.0.19-notermcap.patch.xz differ diff --git a/security/gnupg/gnupg.build b/security/gnupg/gnupg.build new file mode 100755 index 0000000..ab689f2 --- /dev/null +++ b/security/gnupg/gnupg.build @@ -0,0 +1,95 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gnupg +VERSION=2.0.19 +BUILD=2 +DEPENDS=('libgcrypt >= 1.5.0-1' 'libassuan >= 2.0.3-1' 'libksba >= 1.3.0-1' 'pth >= 2.0.7-1' 'capabilities >= 20130117-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info gnupg +EOF + +REPOSITORY=ftp://ftp.gnupg.org/gcrypt/gnupg + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${REPOSITORY}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3 LGPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}-${SRCVERS[0]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +( + cd ${DOC} + mv examples/gpgconf.conf . + rm -rf DETAILS HACKING KEYSERVER OpenPGP README TRANSLATE examples +) +install.dir ${PKG}${SYS_DIR[etc]}/gnupg +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf gpg2 gpg + ln -sf gpgv2 gpgv +) +echo ".so man1/gpg2.1" > ${PKG}${SYS_DIR[man]}/man1/gpg.1 +echo ".so man1/gpgv2.1" > ${PKG}${SYS_DIR[man]}/man1/gpgv.1 +rm -f ${PKG}${SYS_DIR[share]}/gnupg/com-certs.pem +} -- cgit v1.2.3-70-g09d2