From f3f2cd6ff66581a884c0a9b7bfc9a679baf5a447ae50fddb1b9f4d4b7097d4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Wed, 4 Jan 2012 17:06:35 +0000 Subject: [PATCH 1/2] Accepting request 98778 from home:vitezslav_cizek:branches:Base:System - 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. OBS-URL: https://build.opensuse.org/request/show/98778 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=33 --- sudo-1.8.3.tar.gz | 3 --- sudo-1.8.3p1.tar.gz | 3 +++ sudo.changes | 8 ++++++++ sudo.spec | 12 +++++------- 4 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 sudo-1.8.3.tar.gz create mode 100644 sudo-1.8.3p1.tar.gz 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.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..6563e2e 100644 --- a/sudo.changes +++ b/sudo.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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..fb5479e 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 @@ -16,14 +16,13 @@ # - 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 @@ -47,7 +46,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++ From dc65d7161e5505397078e20c541beddd0fc58ac0ea1135da078899161db34154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Wed, 25 Jan 2012 17:06:41 +0000 Subject: [PATCH 2/2] Accepting request 101520 from home:vitezslav_cizek:branches:Base:System - honour global CFLAGS and LDFLAGS when compiling sesh, to avoid rpmlint error (bnc#743157) OBS-URL: https://build.opensuse.org/request/show/101520 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=34 --- sudo-1.8.3p1-sesh-cflags.patch | 13 +++++++++++++ sudo.changes | 6 ++++++ sudo.spec | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 sudo-1.8.3p1-sesh-cflags.patch 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.changes b/sudo.changes index 6563e2e..1b99c12 100644 --- a/sudo.changes +++ b/sudo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/sudo.spec b/sudo.spec index fb5479e..98f109d 100644 --- a/sudo.spec +++ b/sudo.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: sudo Version: 1.8.3p1 Release: 0 @@ -28,6 +27,8 @@ 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 @@ -56,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