1
0

Accepting request 143990 from home:sbrabec:gpg-offline-verify

Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.

If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":

--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif

Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------

OBS-URL: https://build.opensuse.org/request/show/143990
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/xtables-addons?expand=0&rev=64
This commit is contained in:
Jan Engelhardt 2012-12-09 22:36:50 +00:00 committed by Git OBS Bridge
parent c74515c902
commit 19b7edfa31
3 changed files with 137 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 3 15:17:18 CET 2012 - sbrabec@suse.cz
- Verify GPG signature.
-------------------------------------------------------------------
Mon Nov 12 21:01:14 UTC 2012 - jengelh@inai.de

129
xtables-addons.keyring Normal file
View File

@ -0,0 +1,129 @@
pub 4096R/19FC338D 2011-05-09 [expires: 2016-05-07]
uid Jan Engelhardt <jengelh@gmx.de>
sub 4096R/C66DD881 2011-05-09 [expires: 2016-05-07]
sub 4096g/34C483D3 2011-05-09 [expires: 2016-05-07]
sub 3072D/68A20E45 2011-05-09 [expires: 2016-05-07]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0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3EL4/AgZQsKAaUlB0KIw9X3AOe9u3OtQ
vE3X6yEwk8Px123J0pUXYc7ULd34znNXioBPNgBLJ2mKIyWhGzK0v4V/46jVstPV
IayhxllzwcPoaK9Prn0zCGkzF2p4ZaVW1vjhn+dr2N5nR9k52dJ2G2wb+g==
=ZosZ
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -35,8 +35,10 @@ Url: http://xtables-addons.sf.net/
Source: %name-%version.tar.xz
Source2: %name-%version.tar.xz.asc
Source3: %name-preamble
Source4: %{name}.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gpg-offline
%if %git_snapshot
BuildRequires: autoconf
BuildRequires: automake >= 1.10b
@ -86,6 +88,7 @@ contains extensions that were not, or are not yet, accepted in the
main kernel/iptables packages.
%prep
%gpg_verify %{S:2}
echo "Version: %version"
echo "Repository: %_repository"
%setup -q