SHA256
1
0
forked from pool/keyutils

Accepting request 284051 from home:msmeissn:branches:security

- keyutils-nodate.patch: avoid including the timestamp. bsc#916180

OBS-URL: https://build.opensuse.org/request/show/284051
OBS-URL: https://build.opensuse.org/package/show/security/keyutils?expand=0&rev=31
This commit is contained in:
Marcus Meissner 2015-02-04 13:47:36 +00:00 committed by Git OBS Bridge
parent c3d9d75b9d
commit 5b7b051e87
3 changed files with 22 additions and 2 deletions

13
keyutils-nodate.patch Normal file
View File

@ -0,0 +1,13 @@
Index: keyutils-1.5.9/Makefile
===================================================================
--- keyutils-1.5.9.orig/Makefile
+++ keyutils-1.5.9/Makefile
@@ -110,7 +110,7 @@ $(ARLIB): keyutils.o
$(AR) rcs $@ $<
endif
-VCPPFLAGS := -DPKGBUILD="\"$(shell date -u +%F)\""
+VCPPFLAGS := -DPKGBUILD="\"no timestamp to avoid rebuilds\""
VCPPFLAGS += -DPKGVERSION="\"keyutils-$(VERSION)\""
VCPPFLAGS += -DAPIVERSION="\"libkeyutils-$(APIVERSION)\""

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 4 13:11:19 UTC 2015 - meissner@suse.com
- keyutils-nodate.patch: avoid including the timestamp. bsc#916180
-------------------------------------------------------------------
Thu Jun 5 13:58:56 UTC 2014 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package keyutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,8 @@ Release: 0
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
Source1: baselibs.conf
Patch1: request-key-cifs.patch
Patch3: request-key-nfs4.patch
Patch2: request-key-nfs4.patch
Patch3: keyutils-nodate.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -57,6 +58,7 @@ This package provides headers and libraries for building key utilities.
%prep
%setup -q
%patch1 -p0
%patch2 -p1
%patch3 -p1
%build