SHA256
1
0
forked from pool/keyutils

Accepting request 67896 from security

Accepted submit request 67896 from user coolo

OBS-URL: https://build.opensuse.org/request/show/67896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/keyutils?expand=0&rev=13
This commit is contained in:
Sascha Peilicke 2011-04-20 11:35:48 +00:00 committed by Git OBS Bridge
parent 5e26dcfc32
commit b7f837f998
6 changed files with 38 additions and 20 deletions

View File

@ -1,13 +0,0 @@
Index: Makefile
===================================================================
--- Makefile.orig 2006-08-22 18:40:00.000000000 +0200
+++ Makefile 2008-11-12 01:04:22.000000000 +0100
@@ -76,7 +76,7 @@ keyctl: keyctl.c keyutils.h Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
request-key: request-key.c keyutils.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+ $(CC) $(CFLAGS) -fno-strict-aliasing $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
MAN1 := $(DESTDIR)/usr/share/man/man1

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Apr 19 13:45:30 CEST 2011 - meissner@suse.de
- Upgraded to 1.4
- Fix the library naming wrt the version.
- Move the package to version to 1.4.
- Fix spelling mistakes in manpages.
- Add an index manpage for all the keyctl functions.
- Fix rpmlint warnings.
- fixed parallel make
- do not include empty rpaths
-------------------------------------------------------------------
Thu Mar 18 13:27:59 CET 2010 - meissner@suse.de

View File

@ -24,12 +24,12 @@ License: GPLv2+ ; LGPLv2.1+
Group: System/Kernel
AutoReqProv: on
Summary: Linux Key Management Utilities
Version: 1.3
Version: 1.4
Release: 1
Source0: http://people.redhat.com/~dhowells/keyutils/%name-%version.tar.bz2
Source1: baselibs.conf
Patch0: keyutils-1.2-strict-aliasing-punning.patch
Patch1: request-key-cifs.patch
Patch2: parallel-make.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -75,8 +75,8 @@ Authors:
%prep
%setup -q
%patch0
%patch1
%patch2 -p1
%build
make %{?jobs:-j%jobs} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
@ -100,7 +100,6 @@ make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_l
%files libs
%defattr(-,root,root,-)
%doc LICENCE.LGPL
/%{_lib}/libkeyutils-*.so
/%{_lib}/libkeyutils.so.*
%files devel

20
parallel-make.patch Normal file
View File

@ -0,0 +1,20 @@
Index: keyutils-1.4/Makefile
===================================================================
--- keyutils-1.4.orig/Makefile
+++ keyutils-1.4/Makefile
@@ -72,11 +72,11 @@ keyutils.os: keyutils.c keyutils.h Makef
$(CC) $(CFLAGS) -fPIC -o $@ -c $<
-keyctl: keyctl.c keyutils.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+keyctl: keyctl.c keyutils.h Makefile $(DEVELLIB)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils
-request-key: request-key.c keyutils.h Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+request-key: request-key.c keyutils.h Makefile $(DEVELLIB)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils
MAN1 := $(DESTDIR)/usr/share/man/man1