upg gnupg libcap

This commit is contained in:
joborun linux 2023-11-12 02:10:40 +02:00
parent 5904cea53d
commit d977766b20
5 changed files with 102 additions and 66 deletions

View file

@ -6,22 +6,23 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gnupg
pkgver=2.2.41
pkgrel=02
pkgver=2.4.3
pkgrel=01
pkgdesc='Complete and free implementation of the OpenPGP standard w/o systemd'
url='https://www.gnupg.org/'
depends=( 'bzip2' 'libbz2.so' 'glibc' 'gnutls' 'libgcrypt'
'libgpg-error' 'libksba' 'libassuan' 'libassuan.so' 'npth'
'libldap' 'libusb' 'libnpth.so' 'pinentry' 'readline'
'libreadline.so' 'sh' 'sqlite' 'zlib')
depends=(bzip2 libbz2.so glibc gnutls libgcrypt
libgpg-error libksba libassuan libassuan.so npth
libldap libusb libnpth.so pinentry readline
libreadline.so sh sqlite tpm2-tss zlib)
checkdepends=('openssh')
makedepends=('pcsclite' 'automake' 'autoconf' 'gettext')
optdepends=('pcsclite: for using scdaemon not with the gnupg internal card driver')
# options=('debug') ### uncomment this line to have the debug pkg produced
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
'drop-import-clean.patch'
'avoid-beta-warning.patch')
$pkgname-2.4-avoid_beta_warning.patch # do not emit beta warnings (due to misbehaving build system)
$pkgname-2.4-drop_import_clean.patch # do not potentially remove components on certificates during import
$pkgname-2.4-revert_default_rfc4880bis.patch) # v5 is incompatible with other implementations and v6
# install=$pkgname.install ### this was for linking systemd sockets and such crap !!
@ -76,16 +77,18 @@ package() {
arch=(x86_64)
license=(BSD custom custom:CC0 GPL2 GPL3 LGPL3 LGPL2.1 MIT) # 2.37
license=(BSD-2-Clause BSD-3-Clause CC0-1.0 GPL-2.0-or-later GPL-3.0-or-later LGPL-2.1-or-later 'LGPL-3.0-or-later OR GPL-2.0-or-later' MIT Unicode-TOU)
validpgpkeys=(5B80C5754298F0CB55D8ED6ABCEF7E294B092E28 # Andre Heinecke (Release Signing Key)
6DAA6E64A76D2840571B4902528897B826403ADA # Werner Koch (dist signing 2020)
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD # Niibe Yutaka (GnuPG Release Key)
02F38DFF731FF97CB039A1DA549E695E905BA208) # GnuPG.com (Release Signing Key 2021)
sha256sums=(13f3291007a5e8546fcb7bc0c6610ce44aaa9b3995059d4f8145ba09fd5be3e1 # gnupg-2.2.41.tar.bz2
36428c1b7ff352d3762df8f78a24d77d90b12d652367cd7f7f43707ece1b8c46 # gnupg-2.2.41.tar.bz2.sig
02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc # drop-import-clean.patch
22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d) # avoid-beta-warning.patch
sha256sums=(a271ae6d732f6f4d80c258ad9ee88dd9c94c8fdc33c3e45328c4d7c126bd219d # gnupg-2.4.3.tar.bz2
b31501d6f81bd75c2bf874cb12f74fd6dd21665e91ed2348d05f5c08f8ac6a40 # gnupg-2.4.3.tar.bz2.sig
243c3a79295519b3931f9d846cf2af5caa064a78de812ee336dc786c1567b4d0 # gnupg-2.4-avoid_beta_warning.patch
6ade15b536c50a88efc2d9dc958433b0ccfaf2908025b7672753e6bfce51c3c6 # gnupg-2.4-drop_import_clean.patch
ef2267eecd9eb59bbbbdb97d55cbfe10236b4979a125c6683a840830bc202905) # gnupg-2.4-revert_default_rfc4880bis.patch
## 97abcf50c6cc1222964c450973cc9dc1f09cf771c4bbf2b6ce570853cd214b69 gnupg-2.2.41-02-x86_64.pkg.tar.lz
## afe19d53f7de3b10f3b1b17d68a0ada506ba5bab922a76e4f665ecb2476e448b gnupg-2.4.3-01-x86_64.pkg.tar.lz

View file

@ -7,48 +7,79 @@
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=gnupg
pkgver=2.2.41
pkgrel=2
pkgver=2.4.3
pkgrel=1
pkgdesc='Complete and free implementation of the OpenPGP standard'
arch=('x86_64')
arch=(x86_64)
url='https://www.gnupg.org/'
license=(BSD custom custom:CC0 GPL2 GPL3 LGPL3 LGPL2.1 MIT)
depends=(
'bzip2' 'libbz2.so'
'glibc'
'gnutls'
'libgcrypt'
'libgpg-error'
'libksba'
'libassuan' 'libassuan.so'
'libldap'
'libusb'
'npth' 'libnpth.so'
'pinentry'
'readline' 'libreadline.so'
'sh'
'sqlite'
'zlib'
license=(
BSD-2-Clause
BSD-3-Clause
CC0-1.0
GPL-2.0-or-later
GPL-3.0-or-later
LGPL-2.1-or-later
'LGPL-3.0-or-later OR GPL-2.0-or-later'
MIT
Unicode-TOU
)
makedepends=('pcsclite')
checkdepends=('openssh')
depends=(
bzip2 libbz2.so
glibc
gnutls
libgcrypt
libgpg-error
libksba
libassuan libassuan.so
libldap
libusb
npth libnpth.so
pinentry
readline libreadline.so
sh
sqlite
tpm2-tss
zlib
)
makedepends=(pcsclite)
checkdepends=(openssh)
optdepends=(
'pcsclite: for using scdaemon not with the gnupg internal card driver'
)
install=$pkgname.install
source=(
"https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
'drop-import-clean.patch'
'avoid-beta-warning.patch'
https://gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig}
dirmngr.{service,socket}
gpg-agent{,-{browser,extra,ssh}}.socket
gpg-agent.service
$pkgname-2.4-avoid_beta_warning.patch # do not emit beta warnings (due to misbehaving build system)
$pkgname-2.4-drop_import_clean.patch # do not potentially remove components on certificates during import
$pkgname-2.4-revert_default_rfc4880bis.patch # v5 is incompatible with other implementations and v6
)
sha256sums=('13f3291007a5e8546fcb7bc0c6610ce44aaa9b3995059d4f8145ba09fd5be3e1'
sha256sums=('a271ae6d732f6f4d80c258ad9ee88dd9c94c8fdc33c3e45328c4d7c126bd219d'
'SKIP'
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
b2sums=('0be2965a646a8636a127f89329030860908b0bbc447381782527459aed85f5276c29e7a2c89f87cb715407d9f1aabbf3ae1765073764d05e422035e8d5962569'
'80a3a80f9f1f337da555a6838483e1baca44cde8a8a3d8c4ba7743626304b981'
'8374255ce93a3c343019ab425963bcbc41982ea89e669d1ad1df0aa7be810de1'
'81e9dd05cbf3b8406367258eae6ef67ff97f270301bf50b52742647c515c8304'
'1cf9821b3bf4efaf4da2fd52ceb70d254dc4f6c545603f9045de716ef6aabf2d'
'f0094f67586cbcda17fd0d780e3e73d6dbaa479ac84715ba941531f83f6ecfe9'
'ffa0191fad52712732f8b24d7d570c1d19a7803e59d30088797b76e252f65858'
'8ea489a57edb0db9394bf2d6c0ec62205f881bb54efb919e4870209c7db01aa7'
'243c3a79295519b3931f9d846cf2af5caa064a78de812ee336dc786c1567b4d0'
'6ade15b536c50a88efc2d9dc958433b0ccfaf2908025b7672753e6bfce51c3c6'
'ef2267eecd9eb59bbbbdb97d55cbfe10236b4979a125c6683a840830bc202905')
b2sums=('b7f4f5e548ec6dfc89cf8792f507ee8642e8500692998cf8d2edc9f5d8002904d24a714b9caffabee6094707c4595e0f54197535135622a7a32aa772f5818f28'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')
'7a3af856305eb4b00929aaf029dd4e5c84376df4f30add76976b9b058addf6fc4d8c39335fc83d11493ea9d8a40f0510dbac8572b99a8c8b9b3a4eca8e585774'
'ee51a4702715f5ec2629ff42eeba8630010da8a67545d1e53961e710de5faf197708e55d2d55796917a134ca2a76b1d6c88a8f7756d0706e0cbc33b605f52d86'
'129ecd9df3f00ed28f494f914483645e9aeaa1d6812c762ded60582c0a3f66b215731d4415ea5c017aa5ce97448faa5b93dbcb3793a82643d6ed160cc62f4ea4'
'bf5daa4a33daae716a1d7743470dae618151e14ab7bb5d99138f880a908fac57dbb517b78d92c81ecf4532c25366cd32f7acc0e33a711ccde830fbc208726e69'
'ffc8ea3c7875b195720ad238742a726b4b7be0bb8f2f8927358d259202f22b5e32f9ad23a4c66da85e25f36544770c29725be6d99256b685427b94d814e29196'
'9dd03f808af45752a01ccbcfec3f3cb39f1a720088e21aa8a19c2ceec3876b3a8b950c1c154203d0adc208fed8ae07a26c8cd59d783e32eb1294a3a340bedad4'
'ad71d7fab2a92a8da454c34884b5724e94adc0925a7f97f062fb7b78ed3ec87e5babb6383e755c943afd16bf61789ba83455dc2baf82ce248c1c4622ff87e364'
'168855b598714abb27e01e52e0ed1e1a01ab14ffb2ee09d759308375359cd28c0a9f96c6b9dee0a2cc5713aec8ea831858d59f56a0a126bca3e1401b078fc7ab'
'0b9546c102724f1dbb90ad3c45307eed3491a5ea79940eba1184e6d466f399f279a23e73bac6b0bb0d662aa4599d0a4a0f331b0df3fe7fa6e7590c1074fc2ed1'
'009c1a935021c987cd3c15581250090edfcd1a6dd30622db2701295f047384e03ba97590ca6993d410e81a6fd7c274468cd58a1904d51f432d572df39ee178d6')
validpgpkeys=(
'5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key)
'6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
@ -57,7 +88,7 @@ validpgpkeys=(
)
prepare() {
cd "${pkgname}-${pkgver}"
cd $pkgname-$pkgver
local src
for src in "${source[@]}"; do
@ -75,19 +106,21 @@ prepare() {
}
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/gnupg \
--enable-maintainer-mode \
local configure_options=(
--enable-maintainer-mode
--libexecdir=/usr/lib/gnupg
--prefix=/usr
--sbindir=/usr/bin
--sysconfdir=/etc
)
cd $pkgname-$pkgver
./configure "${configure_options[@]}"
make
}
check() {
cd "${pkgname}-${pkgver}"
cd $pkgname-$pkgver
make check
}
@ -96,13 +129,13 @@ package() {
local socket_target_dir="$pkgdir/usr/lib/systemd/user/sockets.target.wants/"
local unit
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
ln -s gpg "${pkgdir}"/usr/bin/gpg2
ln -s gpgv "${pkgdir}"/usr/bin/gpgv2
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
ln -s gpg "$pkgdir"/usr/bin/gpg2
ln -s gpgv "$pkgdir"/usr/bin/gpgv2
install -Dm 644 doc/examples/systemd-user/*.* -t "${pkgdir}/usr/lib/systemd/user"
install -Dm 644 COPYING.{CC0,other} -t "${pkgdir}/usr/share/licenses/$pkgname/"
install -Dm 644 ../*.{service,socket} -t "$pkgdir/usr/lib/systemd/user/"
install -Dm 644 COPYING.{CC0,other} -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vdm 755 "$socket_target_dir"
for unit in "${units[@]}"; do

View file

@ -7,7 +7,7 @@
pkgname=libcap
pkgver=2.69
pkgrel=01
pkgrel=02
pkgdesc='POSIX 1003.1e capabilities'
url="https://sites.google.com/site/fullycapable/"
depends=(glibc pam gcc-libs)
@ -75,7 +75,7 @@ package() {
arch=(x86_64)
license=('GPL2')
license=('BSD-3-Clause OR GPL-2.0-only')
validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <morgan@kernel.org>
@ -83,4 +83,5 @@ sha256sums=(f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb #
40407278583f276879e9e0e36ad37ab3cac235910fad74037c5113d1aa943849 # libcap-2.69.tar.sign
1fcf9739cb0a6e9811680e4ead34f37ff50e9367a398802e89cb824b24e3cbba) # libcap-2.68-cgo_flags.patch
## efa48a2ba28f599c33dbd8c02f54121e12dfab5a021c8398a1f25f08ca4ff45a libcap-2.69-01-x86_64.pkg.tar.lz
## fc87e99aecb8250b4a608dc582db073743684ba1259bc531a6190512b6231c28 libcap-2.69-02-x86_64.pkg.tar.lz

View file

@ -5,11 +5,11 @@
pkgname=libcap
pkgver=2.69
pkgrel=1
pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch=(x86_64)
url="https://sites.google.com/site/fullycapable/"
license=(GPL2)
license=('BSD-3-Clause OR GPL-2.0-only')
depends=(
gcc-libs
glibc

View file

@ -1,4 +1,3 @@
go