Accepting request 143916 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/143916 OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=48
This commit is contained in:
parent
96d8e0815f
commit
a0be4d879a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 18:19:40 CET 2012 - sbrabec@suse.cz
|
||||
|
||||
- Verify GPG signature.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 21 12:18:32 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
33
openvpn.keyring
Normal file
33
openvpn.keyring
Normal file
@ -0,0 +1,33 @@
|
||||
pub 1024D/1FBF51F3 2003-11-20
|
||||
uid James Yonan <jim@yonan.net>
|
||||
sub 2048g/4B9741E3 2003-11-20
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQGiBD+9OaARBAC41lHwut4og8RL+QvChit93Yg8JloaZzqvKQHMKvcb14OY27QB
|
||||
00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GZBET9SdcX/+sAuseiojPKd/D67oMG5FcF7AAMG
|
||||
CACfOcVjPcqYAhkGo6HNrpU7HMuaxy3Tuy5HI+4kU/POlLlm2AsfmHr4BtRCFMBt
|
||||
uNxybJwMMew1o1E4H4RvTEfPpVS0WW2lkOcpet429xf4oX1HL2nvlLmOAaMKgLhL
|
||||
ZxPPTCzmjyIVIeRF8BC+VQYh346v/LocO2obbD0chO0mApVgxVhO4E0vlu0Rdmsp
|
||||
d7+mCuani1wS9n0lgYVnHYdxRPL/AWj11KDgKm2LjoJt0WHHyEHGMjJTUB0JhM2a
|
||||
EfWkimDELeAb3pjdVEtmW6aF+q8sd6tn+mM0Z2I+6kwiMsdoWzjosuvXPzFsvkWq
|
||||
0QY2wWyYYsNaXscfjKnjBUcpiEkEGBECAAkFAj+9OcACGwwACgkQHQtJlh+/UfOR
|
||||
TACgpg5MZJMgULtP31swTRmPGZ3driAAniP+Xg3U2KxAiS9Mxf0BOen8FgW5
|
||||
=eZlZ
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -34,6 +34,7 @@ Source3: openvpn.README.SUSE
|
||||
Source4: client-netconfig.up
|
||||
Source5: client-netconfig.down
|
||||
Source6: openvpn.sysconfig
|
||||
Source7: %{name}.keyring
|
||||
Patch1: %{name}-2.1-plugin-man.dif
|
||||
Patch2: %{name}-2.1-plugin-build.dif
|
||||
Patch3: openvpn-2.1-systemd-passwd.patch
|
||||
@ -41,6 +42,7 @@ Patch4: 0001-Use-SSL_MODE_RELEASE_BUFFERS-if-available.patch
|
||||
Patch5: openvpn-2.2.1-man-dot.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: automake
|
||||
BuildRequires: gpg-offline
|
||||
BuildRequires: iproute2
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: openssl-devel
|
||||
@ -129,6 +131,7 @@ Authors:
|
||||
James Yonan <jim@yonan.net>
|
||||
|
||||
%prep
|
||||
%gpg_verify %{S:1}
|
||||
%setup -q -n %{name}-%{upstream_version}
|
||||
%patch1 -p0
|
||||
%patch2 -p0
|
||||
|
Loading…
Reference in New Issue
Block a user