SHA256
1
0
forked from pool/keyutils

Accepting request 134108 from security

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keyutils?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2012-09-17 11:56:20 +00:00 committed by Git OBS Bridge
commit e1712a1bfb
5 changed files with 11 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f99866cf0f65c97042c273dd9d8703ce230387619f56ef3ef87b481833ca5e55
size 48763

3
keyutils-1.5.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fab781fb2d1450b2112a7fbfe6629522ae5a6b901f875a74a201012025a3fc5
size 63397

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 20 07:40:08 UTC 2012 - meissner@suse.com
- various small improvements
- added a /etc/request-key.d/ snippet drop directory
-------------------------------------------------------------------
Mon Jun 4 18:00:41 UTC 2012 - jeffm@suse.com

View File

@ -22,12 +22,11 @@ Url: http://people.redhat.com/~dhowells/keyutils/
Summary: Linux Key Management Utilities
License: GPL-2.0+ ; LGPL-2.1+
Group: System/Kernel
Version: 1.5.3
Version: 1.5.5
Release: 0
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
Source1: baselibs.conf
Patch1: request-key-cifs.patch
Patch2: parallel-make.patch
Patch3: request-key-nfs4.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -58,7 +57,6 @@ This package provides headers and libraries for building key utilities.
%prep
%setup -q
%patch1 -p0
%patch2 -p0
%patch3 -p1
%build
@ -79,6 +77,7 @@ make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_l
/usr/share/keyutils
%{_mandir}/*/*
%config(noreplace) /etc/*
%dir /etc/request-key.d/
%files -n %lname
%defattr(-,root,root,-)

View File

@ -1,21 +0,0 @@
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -125,13 +125,13 @@ keyutils.os: keyutils.c keyutils.h Makef
%.o: %.c keyutils.h Makefile
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
-keyctl: keyctl.o -lkeyutils
+keyctl: keyctl.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils
-request-key: request-key.o -lkeyutils
+request-key: request-key.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils
-key.dns_resolver: key.dns_resolver.o -lkeyutils
+key.dns_resolver: key.dns_resolver.o $(DEVELLIB)
$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils -lresolv
###############################################################################