aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-12-10 05:29:00 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-12-10 09:18:15 +0000
commit174db2ddb90a79564b461f53a53c57dac43aef9d (patch)
treeca49aded9b2bc63dcad389d5a44be52dc8575462 /main
parentda8857fb7c80d97c5a38d1780e9722cd35821c93 (diff)
community/gnupg1: move from main
Diffstat (limited to 'main')
-rw-r--r--main/gnupg1/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/main/gnupg1/APKBUILD b/main/gnupg1/APKBUILD
deleted file mode 100644
index 1b1305671f9..00000000000
--- a/main/gnupg1/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=gnupg1
-pkgver=1.4.23
-pkgrel=2
-pkgdesc="GNU Privacy Guard 1 - a PGP replacement tool"
-url="https://www.gnupg.org/"
-arch="all"
-license="GPL-3.0-or-later"
-depends="pinentry"
-makedepends="curl-dev libassuan libksba-dev libgcrypt-dev libgpg-error-dev
- zlib-dev libassuan-dev"
-subpackages="$pkgname-doc"
-source="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-$pkgver.tar.bz2"
-
-# secfixes:
-# 1.4.23-r0:
-# - CVE-2017-7526
-# 1.4.22-r1:
-# - CVE-2018-12020
-
-builddir="$srcdir/gnupg-$pkgver"
-prepare() {
- default_prepare
-
- # Fix PIC definitions
- sed -i -e 's:PIC:__PIC__:' \
- mpi/i386/mpih-add1.S \
- mpi/i386/mpih-sub1.S \
- intl/relocatable.c
-}
-
-build() {
- CFLAGS="$CFLAGS -g -fcommon" ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --disable-nls \
- --enable-noexecstack
- make
-}
-
-check() {
- make check
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="78dc52a2010202a4afc8814b29fda657a6c9fe230d5e7db11ae040edd2b0ca819e1baa4dbd6c0d04d36cd353df484e83f52d17759d2891c2cf7025c0b5d36612 gnupg-1.4.23.tar.bz2"