Accepting request 233707 from network:ldap
- bnc#877457 - 78 Configuration file /usr/lib/systemd/system/sssd.service is marked executable. Please remove executable permission bits. - Detect endianness at configure time, for use by Samba's byteorder.h header; (bnc#876544). + 0001-build-detect-endianness-at-configure-time.patch (forwarded request 233706 from varkoly) OBS-URL: https://build.opensuse.org/request/show/233707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=54
This commit is contained in:
commit
c3cca2f482
34
0001-build-detect-endianness-at-configure-time.patch
Normal file
34
0001-build-detect-endianness-at-configure-time.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 303d096f920801f7b06a7ad406ea83b4cd0219da Mon Sep 17 00:00:00 2001
|
||||
From: David Disseldorp <ddiss@samba.org>
|
||||
Date: Tue, 6 May 2014 15:56:42 +0200
|
||||
Subject: [PATCH] build: detect endianness at configure time
|
||||
|
||||
WORDS_BIGENDIAN, HAVE_BIG_ENDIAN and HAVE_LITTLE_ENDIAN are needed by
|
||||
Samba. See Samba's byteorder.h header for an example.
|
||||
|
||||
Signed-off-by: David Disseldorp <ddiss@samba.org>
|
||||
---
|
||||
configure.ac | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git configure.ac configure.ac
|
||||
index eb7e376..3ed8e69 100644
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -309,6 +309,13 @@ AM_CHECK_CMOCKA
|
||||
|
||||
AM_CONDITIONAL([HAVE_DEVSHM], [test -d /dev/shm])
|
||||
|
||||
+AC_C_BIGENDIAN
|
||||
+if test x$WORDS_BIGENDIAN != x; then
|
||||
+ AC_DEFINE(HAVE_BIG_ENDIAN, 1, [whether platform is big endian])
|
||||
+else
|
||||
+ AC_DEFINE(HAVE_LITTLE_ENDIAN, 1, [whether platform is little endian])
|
||||
+fi
|
||||
+
|
||||
abs_build_dir=`pwd`
|
||||
AC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the build directory])
|
||||
AC_SUBST([abs_builddir], $abs_build_dir)
|
||||
--
|
||||
1.8.4.5
|
||||
|
13
sssd.changes
13
sssd.changes
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 11:11:59 UTC 2014 - varkoly@suse.com
|
||||
|
||||
- bnc#877457 - 78 Configuration file /usr/lib/systemd/system/sssd.service is marked executable.
|
||||
Please remove executable permission bits.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 14:01:29 UTC 2014 - ddiss@suse.com
|
||||
|
||||
- Detect endianness at configure time, for use by Samba's byteorder.h header;
|
||||
(bnc#876544).
|
||||
+ 0001-build-detect-endianness-at-configure-time.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 10:00:57 UTC 2014 - varkoly@suse.com
|
||||
|
||||
|
@ -30,6 +30,7 @@ Source2: https://fedorahosted.org/released/sssd/sssd-%version.tar.gz.asc
|
||||
Source3: baselibs.conf
|
||||
Source4: sssd.service
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch1: 0001-build-detect-endianness-at-configure-time.patch
|
||||
|
||||
%define servicename sssd
|
||||
%define sssdstatedir %_localstatedir/lib/sss
|
||||
@ -285,6 +286,7 @@ Security Services Daemon (sssd).
|
||||
%prep
|
||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1210
|
||||
@ -330,7 +332,7 @@ install -m600 src/examples/sssd-example.conf "$b/%_sysconfdir/sssd/sssd.conf";
|
||||
install -d "$b/%_unitdir";
|
||||
# Missing service file in 1.11.5.1
|
||||
#install src/sysv/systemd/sssd.service "$b/%_unitdir/sssd.service";
|
||||
install %{S:4} "$b/%_unitdir/sssd.service";
|
||||
install -m644 %{S:4} "$b/%_unitdir/sssd.service";
|
||||
rm -Rf "$b/%_initddir"
|
||||
%else
|
||||
install src/sysv/SUSE/sssd "$b/%_sysconfdir/init.d/sssd";
|
||||
|
Loading…
Reference in New Issue
Block a user