public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libuser: Drop SELinux support.
Date: Sat, 29 Oct 2016 15:47:51 +0200	[thread overview]
Message-ID: <1477748871-15114-1-git-send-email-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

Fixes #11211.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 libuser/libuser.nm | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/libuser/libuser.nm b/libuser/libuser.nm
index c0751dc..709d5ea 100644
--- a/libuser/libuser.nm
+++ b/libuser/libuser.nm
@@ -5,7 +5,7 @@
 
 name       = libuser
 version    = 0.62
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = https://fedorahosted.org/libuser/
@@ -25,23 +25,30 @@ build
 	requires
 		cyrus-sasl-devel
 		glib2-devel
-		libselinux-devel
 		openldap-devel
 		pam-devel
 		pkg-config
 		popt-devel
-		python-devel
+		python-devel >= 2.7.12-2
 	end
 
+	export LD_LIBRARY_PATH = %{DIR_APP}/lib/.libs
+
 	configure_options += \
-		--sysconfdir=/etc \
-		--with-ldap \
-		--with-selinux
+		--with-ldap
 
 	prepare_cmds
 		# Little hack that we don't build documentation that requires sgml2html
 		sed -e "s/^SUBDIRS = .*/SUBDIRS = po/" -i Makefile.in
 	end
+
+	test
+		# Disable tests which requires a running ldap server.
+		sed -e "s/tests\/default_pw_test//" -i Makefile
+		sed -e "s/tests\/ldap_test//" -i Makefile
+
+		make check
+	end
 end
 
 packages
-- 
2.7.4


                 reply	other threads:[~2016-10-29 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477748871-15114-1-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox