From: Stefan Schantl Date: Tue, 4 Oct 2016 09:34:12 +0000 (+0200) Subject: libsepol: Update to 2.5. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f65e814e82f11cfbe7f98e96f52c22dc2f3310e8;p=ipfire-3.x.git libsepol: Update to 2.5. This is a major update to the latest stable version of libsepol. * New build dependency: flex. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/libsepol/libsepol.nm b/libsepol/libsepol.nm index ac647815e..951f76eac 100644 --- a/libsepol/libsepol.nm +++ b/libsepol/libsepol.nm @@ -4,7 +4,7 @@ ############################################################################### name = libsepol -version = 2.1.5 +version = 2.5 release = 1 groups = System/Libraries @@ -17,16 +17,21 @@ description policies. end -sources = %{thisapp}.tgz +source_dl = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/ +sources = %{thisapp}.tar.gz build # Keep static libsepol.a for some selinux tools, that needs to link # against it. We will put it into an own package. keep_libraries = %{libdir}/libsepol.a + requires + flex + end + build make clean - make CFLAGS="%{CFLAGS}" %{PARALLELISMFLAGS} + make CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}" %{PARALLELISMFLAGS} end # Install libraries to correct place. @@ -40,9 +45,6 @@ build # Remove manpages for binaries rm -rf %{BUILDROOT}/usr/share/man/man8 - - # Fix bad symlink. - ln -svf libsepol.so.1 %{BUILDROOT}%{libdir}/libsepol.so end end