Accepting request 101544 from Base:System

- honour global CFLAGS and LDFLAGS when compiling sesh,
  to avoid rpmlint error (bnc#743157) (forwarded request 101520 from vitezslav_cizek)

OBS-URL: https://build.opensuse.org/request/show/101544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2012-01-26 15:00:37 +00:00 committed by Git OBS Bridge
commit 2b7a499855
5 changed files with 38 additions and 11 deletions

View File

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

View File

@ -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:

3
sudo-1.8.3p1.tar.gz Normal file
View File

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

View File

@ -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

View File

@ -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