pantry/projects/gnupg.org/package.yml

88 lines
2 KiB
YAML
Raw Normal View History

2022-10-07 17:32:11 +03:00
distributable:
url: https://gnupg.org/ftp/gcrypt/gnupg/gnupg-{{version}}.tar.bz2
strip-components: 1
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://gnupg.org/ftp/gcrypt/gnupg/
match: /gnupg-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
strip:
- /gnupg-/
- /.tar.bz2/
2022-10-07 17:32:11 +03:00
dependencies:
zlib.net: '*'
sourceware.org/bzip2: '*'
gnupg.org/npth: '*'
gnupg.org/libgpg-error: '*'
gnupg.org/libksba: '*'
gnupg.org/libassuan: '*'
gnupg.org/libgcrypt: '*'
gnupg.org/pinentry: '*'
gnutls.org: '*'
openldap.org: '*'
gnu.org/readline: '*'
sqlite.org: '*'
darwin:
gnu.org/gettext: '*'
runtime:
env:
2023-11-12 05:38:52 +03:00
GNUPGHOME: '{{prefix}}/etc/gnupg'
build:
freedesktop.org/pkg-config: '*'
linux:
gnu.org/gcc: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
- run: |
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" gpg-wks-client
rm gpg-wks-client.bak
2023-11-12 05:38:52 +03:00
working-directory: '{{prefix}}/libexec'
- run: |
mkdir -p var/run etc/gnupg
chmod 700 etc/gnupg
rm -f etc/gnupg/gpg.conf
2023-11-12 05:38:52 +03:00
working-directory: '{{prefix}}'
- run: |
mv ./gpg ./gpg-exec
2023-11-12 05:38:52 +03:00
working-directory: '{{prefix}}/bin'
- run: install gpg {{prefix}}/bin/
working-directory: props
env:
ARGS:
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
- --sysconfdir={{prefix}}/etc
- --disable-debug
- --disable-dependency-tracking
- --disable-silent-rules
- --with-pinentry-pgm={{deps.gnupg.org/pinentry.prefix}}/bin/pinentry
2022-10-07 17:32:11 +03:00
provides:
- bin/gpg
- bin/gpg-agent
- bin/gpg-card
- bin/gpg-connect-agent
- bin/gpg-wks-client
- bin/gpg-wks-server
- bin/gpgconf
- bin/gpgparsemail
- bin/gpgscm
- bin/gpgsm
- bin/gpgsplit
- bin/gpgtar
- bin/gpgv
- bin/kbxutil
- bin/watchgnupg
test:
script:
- killall gpg-agent || true
- gpg --version | grep {{version}}
- gpg --quick-gen-key --batch --passphrase "" "Testing" default default never
- gpg --detach-sign test.txt
- gpg --verify test.txt.sig