diff --git a/sudo-1.8.3.tar.gz b/sudo-1.8.3.tar.gz deleted file mode 100644 index 3a3fb23..0000000 --- a/sudo-1.8.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff1fcc410c5465063ee4912912e29936ea39f017d9a8a57ec76b0ded71b7c3c4 -size 1536180 diff --git a/sudo-1.8.3p1-sesh-cflags.patch b/sudo-1.8.3p1-sesh-cflags.patch new file mode 100644 index 0000000..777d828 --- /dev/null +++ b/sudo-1.8.3p1-sesh-cflags.patch @@ -0,0 +1,13 @@ +Index: sudo-1.8.3p1/src/Makefile.in +=================================================================== +--- sudo-1.8.3p1.orig/src/Makefile.in 2011-10-21 15:01:26.000000000 +0200 ++++ sudo-1.8.3p1/src/Makefile.in 2012-01-25 16:02:52.488970711 +0100 +@@ -101,7 +101,7 @@ + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir) + + sesh: sesh.o +- $(CC) -o $@ sesh.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sesh.o + + pre-install: + diff --git a/sudo-1.8.3p1.tar.gz b/sudo-1.8.3p1.tar.gz new file mode 100644 index 0000000..5d01929 --- /dev/null +++ b/sudo-1.8.3p1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a22635bc5a0a84df273a893c624d45f628c78668317c5bc442dac11db55bb82 +size 1536465 diff --git a/sudo.changes b/sudo.changes index 806ac73..1b99c12 100644 --- a/sudo.changes +++ b/sudo.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jan 25 15:09:14 UTC 2012 - vcizek@suse.com + +- honour global CFLAGS and LDFLAGS when compiling sesh, + to avoid rpmlint error (bnc#743157) + +------------------------------------------------------------------- +Wed Jan 4 16:54:23 UTC 2012 - vcizek@suse.com + +- update to sudo-1.8.3p1 + * Fixed a crash in the monitor process on Solaris when NOPASSWD + was specified or when authentication was disabled. + * Fixed matching of a Runas_Alias in the group section of a Runas_Spec. + ------------------------------------------------------------------- Wed Dec 28 06:45:07 UTC 2011 - aj@suse.de diff --git a/sudo.spec b/sudo.spec index 049bc6d..98f109d 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,7 +1,7 @@ # # spec file for package sudo # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: sudo -Version: 1.8.3 -Release: 1 -License: BSD-3-Clause +Version: 1.8.3p1 +Release: 0 Summary: Execute some commands as root -Url: http://www.sudo.ws/ +License: BSD-3-Clause Group: System/Base +Url: http://www.sudo.ws/ Source0: http://sudo.ws/sudo/dist/%{name}-%{version}.tar.gz Source1: sudo.pamd Source2: README.SUSE Patch0: sudoers2ldif-env.patch Patch1: sudo-sudoers.patch +# PATCH-FIX-OPENSUSE make sesh position-independent (bnc#743157) +Patch2: sudo-1.8.3p1-sesh-cflags.patch BuildRequires: audit-devel BuildRequires: libselinux-devel BuildRequires: openldap2-devel @@ -47,7 +47,6 @@ given time N (where N is defined at installation and is set to 5 minutes by default). %package devel -License: BSD-3-Clause Summary: Header files needed for sudo plugin development Group: Development/Libraries/C and C++ @@ -58,6 +57,7 @@ These header files are needed for building of sudo plugins. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %ifarch s390 s390x %sparc