* [Buildroot] [1/5] checkpolicy: bump version to 2.6
@ 2017-01-09 16:15 Adam Duskett
2017-01-09 16:15 ` [Buildroot] [2/5] libselinux: " Adam Duskett
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Adam Duskett @ 2017-01-09 16:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/checkpolicy/checkpolicy.hash | 2 +-
package/checkpolicy/checkpolicy.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/checkpolicy/checkpolicy.hash b/package/checkpolicy/checkpolicy.hash
index bc5199c..6208d77 100644
--- a/package/checkpolicy/checkpolicy.hash
+++ b/package/checkpolicy/checkpolicy.hash
@@ -1,2 +1,2 @@
# https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256 33af9f3eb19135a7e6536ecd3fbb9686323000016cd51eb88346346ed7546001 checkpolicy-2.5.tar.gz
+sha256 0bebd18688ca8027b1b3b4ff1532c0626f1fe49883ae6cb74d9d385940e74157 checkpolicy-2.6.tar.gz
diff --git a/package/checkpolicy/checkpolicy.mk b/package/checkpolicy/checkpolicy.mk
index a21b39e..8328b39 100644
--- a/package/checkpolicy/checkpolicy.mk
+++ b/package/checkpolicy/checkpolicy.mk
@@ -4,8 +4,8 @@
#
################################################################################
-CHECKPOLICY_VERSION = 2.5
-CHECKPOLICY_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223
+CHECKPOLICY_VERSION = 2.6
+CHECKPOLICY_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
CHECKPOLICY_LICENSE = GPLv2
CHECKPOLICY_LICENSE_FILES = COPYING
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [2/5] libselinux: bump version to 2.6
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
@ 2017-01-09 16:15 ` Adam Duskett
2017-01-24 10:30 ` Thomas Petazzoni
2017-01-09 16:15 ` [Buildroot] [3/5] libsemanage: " Adam Duskett
` (3 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Adam Duskett @ 2017-01-09 16:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/libselinux/libselinux.hash | 2 +-
package/libselinux/libselinux.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/libselinux/libselinux.hash b/package/libselinux/libselinux.hash
index a4c3440..76130b2 100644
--- a/package/libselinux/libselinux.hash
+++ b/package/libselinux/libselinux.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 94c9e97706280bedcc288f784f67f2b9d3d6136c192b2c9f812115edba58514f libselinux-2.5.tar.gz
+sha256 4ea2dde50665c202253ba5caac7738370ea0337c47b251ba981c60d24e1a118a libselinux-2.6.tar.gz
diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk
index 165ac4c..44120c4 100644
--- a/package/libselinux/libselinux.mk
+++ b/package/libselinux/libselinux.mk
@@ -4,8 +4,8 @@
#
################################################################################
-LIBSELINUX_VERSION = 2.5
-LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223
+LIBSELINUX_VERSION = 2.6
+LIBSELINUX_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
LIBSELINUX_LICENSE = Public Domain
LIBSELINUX_LICENSE_FILES = LICENSE
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [3/5] libsemanage: bump version to 2.6
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
2017-01-09 16:15 ` [Buildroot] [2/5] libselinux: " Adam Duskett
@ 2017-01-09 16:15 ` Adam Duskett
2017-01-09 16:15 ` [Buildroot] [4/5] libsepol: " Adam Duskett
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Adam Duskett @ 2017-01-09 16:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/libsemanage/libsemanage.hash | 2 +-
package/libsemanage/libsemanage.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/libsemanage/libsemanage.hash b/package/libsemanage/libsemanage.hash
index 69f7c8d..62f4d83 100644
--- a/package/libsemanage/libsemanage.hash
+++ b/package/libsemanage/libsemanage.hash
@@ -1,2 +1,2 @@
# Locally computed
-sha256 46e2f36254369b6e91d1eea0460c262b139361b055a3a67d3ceea2d8ef72e006 libsemanage-2.5.tar.gz
+sha256 4f81541047290b751f2ffb926fcd381c186f22db18d9fe671b0b4a6a54e8cfce libsemanage-2.6.tar.gz
diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 005b822..7545594 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -4,8 +4,8 @@
#
################################################################################
-LIBSEMANAGE_VERSION = 2.5
-LIBSEMANAGE_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223
+LIBSEMANAGE_VERSION = 2.6
+LIBSEMANAGE_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
LIBSEMANAGE_LICENSE = LGPLv2.1+
LIBSEMANAGE_LICENSE_FILES = COPYING
LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux ustr bzip2
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [4/5] libsepol: bump version to 2.6
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
2017-01-09 16:15 ` [Buildroot] [2/5] libselinux: " Adam Duskett
2017-01-09 16:15 ` [Buildroot] [3/5] libsemanage: " Adam Duskett
@ 2017-01-09 16:15 ` Adam Duskett
2017-01-09 16:15 ` [Buildroot] [5/5] policycoreutils: " Adam Duskett
2017-01-25 10:26 ` [Buildroot] [1/5] checkpolicy: " Thomas Petazzoni
4 siblings, 0 replies; 9+ messages in thread
From: Adam Duskett @ 2017-01-09 16:15 UTC (permalink / raw)
To: buildroot
Also removed patch 0003-add-stdarg-include.patch as this has been
committed to upstream.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/libsepol/0003-add-stdarg-include.patch | 18 ------------------
...ln-relative.patch => 0003-revert-ln-relative.patch} | 0
package/libsepol/libsepol.hash | 2 +-
package/libsepol/libsepol.mk | 4 ++--
4 files changed, 3 insertions(+), 21 deletions(-)
delete mode 100644 package/libsepol/0003-add-stdarg-include.patch
rename package/libsepol/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%)
diff --git a/package/libsepol/0003-add-stdarg-include.patch b/package/libsepol/0003-add-stdarg-include.patch
deleted file mode 100644
index 246c965..0000000
--- a/package/libsepol/0003-add-stdarg-include.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Add missing <stdarg.h> include
-
-This is needed to fix the build on uClibc, due to the usage of
-va_list.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 <stdlib.h>
-+#include <stdarg.h>
- #include <cil/cil.h>
-
- #define MAX_LOG_SIZE 512
diff --git a/package/libsepol/0004-revert-ln-relative.patch b/package/libsepol/0003-revert-ln-relative.patch
similarity index 100%
rename from package/libsepol/0004-revert-ln-relative.patch
rename to package/libsepol/0003-revert-ln-relative.patch
diff --git a/package/libsepol/libsepol.hash b/package/libsepol/libsepol.hash
index 266ce43..6c70506 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 bf85eef..61d1e61 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
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [5/5] policycoreutils: bump version to 2.6
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
` (2 preceding siblings ...)
2017-01-09 16:15 ` [Buildroot] [4/5] libsepol: " Adam Duskett
@ 2017-01-09 16:15 ` Adam Duskett
2017-01-25 10:26 ` [Buildroot] [1/5] checkpolicy: " Thomas Petazzoni
4 siblings, 0 replies; 9+ messages in thread
From: Adam Duskett @ 2017-01-09 16:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
package/policycoreutils/policycoreutils.hash | 2 +-
package/policycoreutils/policycoreutils.mk | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/policycoreutils/policycoreutils.hash b/package/policycoreutils/policycoreutils.hash
index 44cb0c3..999a778 100644
--- a/package/policycoreutils/policycoreutils.hash
+++ b/package/policycoreutils/policycoreutils.hash
@@ -1,2 +1,2 @@
# https://github.com/SELinuxProject/selinux/wiki/Releases
-sha256 329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 policycoreutils-2.5.tar.gz
+sha256 68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 policycoreutils-2.6.tar.gz
diff --git a/package/policycoreutils/policycoreutils.mk b/package/policycoreutils/policycoreutils.mk
index 86639cc..6076bb9 100644
--- a/package/policycoreutils/policycoreutils.mk
+++ b/package/policycoreutils/policycoreutils.mk
@@ -4,8 +4,8 @@
#
################################################################################
-POLICYCOREUTILS_VERSION = 2.5
-POLICYCOREUTILS_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223
+POLICYCOREUTILS_VERSION = 2.6
+POLICYCOREUTILS_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
POLICYCOREUTILS_LICENSE = GPLv2
POLICYCOREUTILS_LICENSE_FILES = COPYING
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [2/5] libselinux: bump version to 2.6
2017-01-09 16:15 ` [Buildroot] [2/5] libselinux: " Adam Duskett
@ 2017-01-24 10:30 ` Thomas Petazzoni
[not found] ` <1485263338.2005.10.camel@codeblue.com>
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Petazzoni @ 2017-01-24 10:30 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 9 Jan 2017 11:15:20 -0500, Adam Duskett wrote:
> Signed-off-by: Adam Duskett <aduskett@codeblue.com>
> ---
> package/libselinux/libselinux.hash | 2 +-
> package/libselinux/libselinux.mk | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
I've tried a build with this entire series of patches applied, and I'm
getting:
/usr/bin/gcc -O2 -I/home/test/buildroot/output/host/usr/include -I../include -I/home/test/buildroot/output/host/usr/include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -c -o regex.o regex.c
regex.c:16:2: error: #error __BYTE_ORDER__ not defined. Unable to determine endianness.
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/home/test/buildroot/output/build/host-libselinux-2.6/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/test/buildroot/output/build/host-libselinux-2.6'
make: *** [/home/test/buildroot/output/build/host-libselinux-2.6/.stamp_built] Error 2
The configuration to reproduce is:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_POLICYCOREUTILS=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_CHECKPOLICY=y
Could you have a look?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [2/5] libselinux: bump version to 2.6
[not found] ` <1485263338.2005.10.camel@codeblue.com>
@ 2017-01-24 19:33 ` Adam Duskett
2017-01-24 20:12 ` Thomas Petazzoni
1 sibling, 0 replies; 9+ messages in thread
From: Adam Duskett @ 2017-01-24 19:33 UTC (permalink / raw)
To: buildroot
Hello;
On Tue, Jan 24, 2017 at 8:08 AM, Adam Duskett <aduskett@codeblue.com> wrote:
> Sure can!
>
> What C library are you using? I am using glibc and it compiles without
> any issue.
>
> Adam
>
> On Tue, 2017-01-24 at 23:30 +1300, Thomas Petazzoni wrote:
>> Hello,
>>
>> On Mon, 9 Jan 2017 11:15:20 -0500, Adam Duskett wrote:
>> > Signed-off-by: Adam Duskett <aduskett@codeblue.com>
>> > ---
>> > package/libselinux/libselinux.hash | 2 +-
>> > package/libselinux/libselinux.mk | 4 ++--
>> > 2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> I've tried a build with this entire series of patches applied, and
>> I'm
>> getting:
>>
>> /usr/bin/gcc -O2 -I/home/test/buildroot/output/host/usr/include
>> -I../include -I/home/test/buildroot/output/host/usr/include
>> -D_GNU_SOURCE -DNO_ANDROID_BACKEND -c -o regex.o regex.c
>> regex.c:16:2: error: #error __BYTE_ORDER__ not defined. Unable to
>> determine endianness.
>> make[2]: *** [regex.o] Error 1
>> make[2]: Leaving directory `/home/test/buildroot/output/build/host-
>> libselinux-2.6/src'
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory `/home/test/buildroot/output/build/host-
>> libselinux-2.6'
>> make: *** [/home/test/buildroot/output/build/host-libselinux-
>> 2.6/.stamp_built] Error 2
>>
>> The configuration to reproduce is:
>>
>> BR2_arm=y
>> BR2_TOOLCHAIN_EXTERNAL=y
>> BR2_INIT_NONE=y
>> BR2_SYSTEM_BIN_SH_NONE=y
>> # BR2_PACKAGE_BUSYBOX is not set
>> BR2_PACKAGE_POLICYCOREUTILS=y
>> # BR2_TARGET_ROOTFS_TAR is not set
>> BR2_PACKAGE_HOST_CHECKPOLICY=y
I have built the packages without error with your configuration.
>>
>> Could you have a look?
>>
>> Thanks,
>>
>> Thomas
Thanks!
Adam
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [2/5] libselinux: bump version to 2.6
[not found] ` <1485263338.2005.10.camel@codeblue.com>
2017-01-24 19:33 ` Adam Duskett
@ 2017-01-24 20:12 ` Thomas Petazzoni
1 sibling, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2017-01-24 20:12 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 24 Jan 2017 13:08:59 +0000, Adam Duskett wrote:
> What C library are you using? I am using glibc and it compiles without
> any issue.
The C library of the target system doesn't matter: what fails to build
is host-libselinux, i.e a host package.
So it seems like to be that there is an issue with the old Debian
system I'm using on my autobuilder instance (which is where I did the
test build).
I'll try to have a closer look and see if I can understand what's going
on, since you apparently can't reproduce it on a different host system.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [1/5] checkpolicy: bump version to 2.6
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
` (3 preceding siblings ...)
2017-01-09 16:15 ` [Buildroot] [5/5] policycoreutils: " Adam Duskett
@ 2017-01-25 10:26 ` Thomas Petazzoni
4 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2017-01-25 10:26 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 9 Jan 2017 11:15:19 -0500, Adam Duskett wrote:
> Signed-off-by: Adam Duskett <aduskett@codeblue.com>
> ---
> package/checkpolicy/checkpolicy.hash | 2 +-
> package/checkpolicy/checkpolicy.mk | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
I've applied all 5 patches, after adding a libselinux patch to fix the
build failure with old compilers. This patch has been submitted
upstream to the SELinux developers.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-01-25 10:26 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-09 16:15 [Buildroot] [1/5] checkpolicy: bump version to 2.6 Adam Duskett
2017-01-09 16:15 ` [Buildroot] [2/5] libselinux: " Adam Duskett
2017-01-24 10:30 ` Thomas Petazzoni
[not found] ` <1485263338.2005.10.camel@codeblue.com>
2017-01-24 19:33 ` Adam Duskett
2017-01-24 20:12 ` Thomas Petazzoni
2017-01-09 16:15 ` [Buildroot] [3/5] libsemanage: " Adam Duskett
2017-01-09 16:15 ` [Buildroot] [4/5] libsepol: " Adam Duskett
2017-01-09 16:15 ` [Buildroot] [5/5] policycoreutils: " Adam Duskett
2017-01-25 10:26 ` [Buildroot] [1/5] checkpolicy: " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.