From: Adam Duskett Date: Mon, 9 Jan 2017 16:15:22 +0000 (-0500) Subject: libsepol: bump version to 2.6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a26fc91cec57f34d4c6419f7e8281ae246fd80dd;p=buildroot.git libsepol: bump version to 2.6 Also removed patch 0003-add-stdarg-include.patch as this has been committed to upstream. Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- diff --git a/package/libsepol/0003-add-stdarg-include.patch b/package/libsepol/0003-add-stdarg-include.patch deleted file mode 100644 index 246c9654dd..0000000000 --- a/package/libsepol/0003-add-stdarg-include.patch +++ /dev/null @@ -1,18 +0,0 @@ -Add missing include - -This is needed to fix the build on uClibc, due to the usage of -va_list. - -Signed-off-by: Thomas Petazzoni -Index: b/cil/src/cil_log.h -=================================================================== ---- a/cil/src/cil_log.h -+++ b/cil/src/cil_log.h -@@ -30,6 +30,7 @@ - #define CIL_LOG_H_ - - #include -+#include - #include - - #define MAX_LOG_SIZE 512 diff --git a/package/libsepol/0003-revert-ln-relative.patch b/package/libsepol/0003-revert-ln-relative.patch new file mode 100644 index 0000000000..0902d8d40e --- /dev/null +++ b/package/libsepol/0003-revert-ln-relative.patch @@ -0,0 +1,24 @@ +Makefile: revert libsepol: use ln --relative to create .so symlinks + +This reverts 71393a181d63c9baae5fe8dcaeb9411d1f253998 + +ln --relative is too recent to be available in all distributions, +especially enterprise-grade distros that can stick around as long as +they are maintained (up to 10 years in some cases?). + +For the sake of Buildroot, revert the upstream patch. + +Signed-off-by: "Yann E. MORIN" + +diff -durN a/src/Makefile b/src/Makefile +--- a/src/Makefile ++++ b/src/Makefile +@@ -77,7 +77,7 @@ + ifeq ($(STATIC),) + test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR) + install -m 755 $(LIBSO) $(SHLIBDIR) +- ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET) ++ cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) + endif + + relabel: diff --git a/package/libsepol/0004-revert-ln-relative.patch b/package/libsepol/0004-revert-ln-relative.patch deleted file mode 100644 index 0902d8d40e..0000000000 --- a/package/libsepol/0004-revert-ln-relative.patch +++ /dev/null @@ -1,24 +0,0 @@ -Makefile: revert libsepol: use ln --relative to create .so symlinks - -This reverts 71393a181d63c9baae5fe8dcaeb9411d1f253998 - -ln --relative is too recent to be available in all distributions, -especially enterprise-grade distros that can stick around as long as -they are maintained (up to 10 years in some cases?). - -For the sake of Buildroot, revert the upstream patch. - -Signed-off-by: "Yann E. MORIN" - -diff -durN a/src/Makefile b/src/Makefile ---- a/src/Makefile -+++ b/src/Makefile -@@ -77,7 +77,7 @@ - ifeq ($(STATIC),) - test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR) - install -m 755 $(LIBSO) $(SHLIBDIR) -- ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET) -+ cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) - endif - - relabel: diff --git a/package/libsepol/libsepol.hash b/package/libsepol/libsepol.hash index 266ce43f73..6c705067a2 100644 --- a/package/libsepol/libsepol.hash +++ b/package/libsepol/libsepol.hash @@ -1,2 +1,2 @@ # From https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 2bdeec56d0a08b082b93b40703b4b3329cc5562152f7254d8f6ef6b56afe850a libsepol-2.5.tar.gz +sha256 d856d6506054f52abeaa3543ea2f2344595a3dc05d0d873ed7f724f7a16b1874 libsepol-2.6.tar.gz diff --git a/package/libsepol/libsepol.mk b/package/libsepol/libsepol.mk index bf85eef37d..61d1e611de 100644 --- a/package/libsepol/libsepol.mk +++ b/package/libsepol/libsepol.mk @@ -4,8 +4,8 @@ # ################################################################################ -LIBSEPOL_VERSION = 2.5 -LIBSEPOL_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223 +LIBSEPOL_VERSION = 2.6 +LIBSEPOL_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014 LIBSEPOL_LICENSE = LGPLv2.1+ LIBSEPOL_LICENSE_FILES = COPYING