commit: e04245f68e3c4dd10ffa8717709fce4aeb7459a5 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> AuthorDate: Tue Jun 13 17:24:59 2017 +0000 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> CommitDate: Tue Jun 13 17:24:59 2017 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e04245f6
sys-libs/libsepol: version bump to 2.7_rc1 sys-libs/libsepol/Manifest | 5 +- sys-libs/libsepol/files/libsepol-2.7-cdefs.patch | 102 +++++++++++++++++++++ sys-libs/libsepol/libsepol-2.6.ebuild | 1 - ...libsepol-2.6.ebuild => libsepol-2.7_rc1.ebuild} | 9 +- 4 files changed, 110 insertions(+), 7 deletions(-) diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest index 3653bb7..1511fdc 100644 --- a/sys-libs/libsepol/Manifest +++ b/sys-libs/libsepol/Manifest @@ -1,4 +1,7 @@ AUX libsepol-2.6-cdefs.patch 25998 SHA256 4b78dbbc32c51e967e452c241f1162b8acfbdde6831876bac2aaa35644d3b275 SHA512 452937699a223b518b83a3b966c78fb0f8064d1ef4fcf6dd1c364be15775b045f7f2b564936eca258f46501b37af338d4cc896416f2207fb57593c2983b920b6 WHIRLPOOL 1524e9a88412282d755ed108b23a1eb1fbd6d294fd13b3487155f294db0f881a64788c449d2e2abb1d6422512c3c206e86e7ce96b3b1899056042902ea19f11c +AUX libsepol-2.7-cdefs.patch 2793 SHA256 ff23d303cda96038e172e8a617f8f80881d2929aaf8e9a366c8769e1c168f43e SHA512 9b6468f99d4c4eee587252aa6b0ab970dfa388d9d545a9f90d0442a126c47a7785cd830fd3b5856a6b8e4c1ecb4fda8127a7686f28269d45e6e93a8c95ccc065 WHIRLPOOL 7bb201f0c08b571b823f46040c8038d9cec0947c61cf2298079177c54e4d0be486d7c3533731dafeaefb975322d7e93e6077d09da352a6f607bbb6205b28e201 DIST libsepol-2.6.tar.gz 442549 SHA256 d856d6506054f52abeaa3543ea2f2344595a3dc05d0d873ed7f724f7a16b1874 SHA512 17d007857634e3d581fcc9bafcbb75674a06e382bb258c2c6b3656c141d71493699c42b78c8e1917c628476aeb8ead73bb86e8ccf43d7ce59aa0b7884bea132a WHIRLPOOL c02b9dc9dcf13ce3f200293695565dec4a220f7a6b29c76121ba5a4f8c05fb347a034763f417927ed7b1952a4989a7738c9327dc47cd976410db695fd6e662ae -EBUILD libsepol-2.6.ebuild 1207 SHA256 3106914d6045ef0090a379ef4618b2a6b5e442e0c95ed04a646fa367baf36dec SHA512 d8f00a2987c3527edb5e8d7cb9ece724d6fa57621015718c14fee0d98e80d09f3e8f27094a0a328039c6b8cbfc5f4cf3f3e2f310b1d36e101eb82b6b0a1db716 WHIRLPOOL 2fdd0f9ffc97fa67e015bff7f116ee5c302a3bd54d22146b0e21b975c31de94b287fa8648195b0ca5a818c156a46167854426b95c0e1b7b53aa34ece129ce1d6 +DIST libsepol-2.7-rc1.tar.gz 471201 SHA256 a00523b53c6f96e5a811a0315b02db0f290b19c8f8376369216aaa08377dcbc6 SHA512 040107fdd03f36c5f8a02220f930c16256e93891d2e934f2b45ee29938809d72192efb5c59a900c2802f73cfd9670ff7758083544376ee5c58a992651e8ea12d WHIRLPOOL d75e046a5f7298503b837c65147ca970e243ea23d07c96f67090758fed4a058dfcfa98d711f25f7bec3fd65238faa78a16132e23efdd3df6aabcfe49a7a29f9e +EBUILD libsepol-2.6.ebuild 1200 SHA256 3e1c984815b1a695e3f982099a11a5169b548af7abeeede26d7539a71ff6f698 SHA512 8df24deb0e0480fc13d8cf3100d0235c0d684b0863715b8a187d6d779f9988095dddf784317f5f465af93eb9dd36525fe0de9806bc8cfbb447cf97c685f6fa94 WHIRLPOOL aab336a89f321564bf0c10766c6b596966f3446435c546abc297db62d6fe6d814c7ba2c29851b073cd93182ba80f362abfab2347c8ff9de87aafa5e04df3f8db +EBUILD libsepol-2.7_rc1.ebuild 1207 SHA256 112e3bb0d0f403494b3bc0a398fef81ffc2a04319b2f627ddc1d0c03173bf4cf SHA512 d19cd864bdc5f1ff18f331a40923e284d216b0c76ed4154412cebfa41ed555d1d3d5f179a344263c3861b35b095dcf06586b0e8ccd1d93eb0fcd8f5ea8e4a5be WHIRLPOOL fd3f4f3880f628f9a452a56848c4724690d8f7c22a9343fa52e8649fd69af71bf5acb9e0eb2533cfc6acdfbfea53bbc3cabbbbfec6ec265ca106d0dbf6b876d3 MISC metadata.xml 428 SHA256 786c53bd0eee5b2d84990b9fc63ef2ef1ca8d0455f48f912a4b3e76c84b6c99f SHA512 14093ec1e86ac7b7521ab02ace725347013e11628e22cf3ed5362cfe7f30a180374ab00747b58ae251afbb3fabbeb4e328bda798e512bfac9bad643206835192 WHIRLPOOL ccaea270553624ba0a42e06d15d001b78c384df8708dadbc26f064d049feb9808993d1353ecf3a8a69200d490de54e34d8a0db9d0b397ea02207c1f4e9d24aa1 diff --git a/sys-libs/libsepol/files/libsepol-2.7-cdefs.patch b/sys-libs/libsepol/files/libsepol-2.7-cdefs.patch new file mode 100644 index 0000000..7f312d2 --- /dev/null +++ b/sys-libs/libsepol/files/libsepol-2.7-cdefs.patch @@ -0,0 +1,102 @@ +diff -Naur libsepol-2.7-rc1.orig/include/sepol/ibendport_record.h libsepol-2.7-rc1/include/sepol/ibendport_record.h +--- libsepol-2.7-rc1.orig/include/sepol/ibendport_record.h 2017-06-13 10:21:05.311417509 -0700 ++++ libsepol-2.7-rc1/include/sepol/ibendport_record.h 2017-06-13 10:21:43.258706824 -0700 +@@ -4,9 +4,10 @@ + #include <stddef.h> + #include <sepol/context_record.h> + #include <sepol/handle.h> +-#include <sys/cdefs.h> + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + struct sepol_ibendport; + struct sepol_ibendport_key; +@@ -64,5 +65,7 @@ + + extern void sepol_ibendport_free(sepol_ibendport_t *ibendport); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + #endif +diff -Naur libsepol-2.7-rc1.orig/include/sepol/ibendports.h libsepol-2.7-rc1/include/sepol/ibendports.h +--- libsepol-2.7-rc1.orig/include/sepol/ibendports.h 2017-06-13 10:21:05.311417509 -0700 ++++ libsepol-2.7-rc1/include/sepol/ibendports.h 2017-06-13 10:22:08.981902844 -0700 +@@ -4,9 +4,10 @@ + #include <sepol/handle.h> + #include <sepol/policydb.h> + #include <sepol/ibendport_record.h> +-#include <sys/cdefs.h> + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /* Return the number of ibendports */ + extern int sepol_ibendport_count(sepol_handle_t *handle, +@@ -41,5 +42,7 @@ + int (*fn)(const sepol_ibendport_t *ibendport, + void *fn_arg), void *arg); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + #endif +diff -Naur libsepol-2.7-rc1.orig/include/sepol/ibpkey_record.h libsepol-2.7-rc1/include/sepol/ibpkey_record.h +--- libsepol-2.7-rc1.orig/include/sepol/ibpkey_record.h 2017-06-13 10:21:05.311417509 -0700 ++++ libsepol-2.7-rc1/include/sepol/ibpkey_record.h 2017-06-13 10:22:35.060090318 -0700 +@@ -5,11 +5,12 @@ + #include <stdint.h> + #include <sepol/context_record.h> + #include <sepol/handle.h> +-#include <sys/cdefs.h> + + #define INET6_ADDRLEN 16 + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + struct sepol_ibpkey; + struct sepol_ibpkey_key; +@@ -71,5 +72,7 @@ + + extern void sepol_ibpkey_free(sepol_ibpkey_t *ibpkey); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + #endif +diff -Naur libsepol-2.7-rc1.orig/include/sepol/ibpkeys.h libsepol-2.7-rc1/include/sepol/ibpkeys.h +--- libsepol-2.7-rc1.orig/include/sepol/ibpkeys.h 2017-06-13 10:21:05.311417509 -0700 ++++ libsepol-2.7-rc1/include/sepol/ibpkeys.h 2017-06-13 10:22:58.990257871 -0700 +@@ -4,9 +4,10 @@ + #include <sepol/handle.h> + #include <sepol/policydb.h> + #include <sepol/ibpkey_record.h> +-#include <sys/cdefs.h> + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /* Return the number of ibpkeys */ + extern int sepol_ibpkey_count(sepol_handle_t *handle, +@@ -40,5 +41,7 @@ + int (*fn)(const sepol_ibpkey_t *ibpkey, + void *fn_arg), void *arg); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + #endif diff --git a/sys-libs/libsepol/libsepol-2.6.ebuild b/sys-libs/libsepol/libsepol-2.6.ebuild index 25b3dab..ce91057 100644 --- a/sys-libs/libsepol/libsepol-2.6.ebuild +++ b/sys-libs/libsepol/libsepol-2.6.ebuild @@ -1,6 +1,5 @@ # Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="6" diff --git a/sys-libs/libsepol/libsepol-2.6.ebuild b/sys-libs/libsepol/libsepol-2.7_rc1.ebuild similarity index 87% copy from sys-libs/libsepol/libsepol-2.6.ebuild copy to sys-libs/libsepol/libsepol-2.7_rc1.ebuild index 25b3dab..c296999 100644 --- a/sys-libs/libsepol/libsepol-2.6.ebuild +++ b/sys-libs/libsepol/libsepol-2.7_rc1.ebuild @@ -1,13 +1,12 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI="6" inherit multilib toolchain-funcs multilib-minimal MY_P="${P//_/-}" -MY_RELEASEDATE="20161014" +MY_RELEASEDATE="20170609" DESCRIPTION="SELinux binary policy representation library" HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" @@ -18,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then S="${WORKDIR}/${MY_P}/${PN}" else SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~mips x86" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" S="${WORKDIR}/${MY_P}" fi @@ -29,7 +28,7 @@ IUSE="" DEPEND="" RDEPEND="" -PATCHES=( "${FILESDIR}"/${P}-cdefs.patch ) +PATCHES=( "${FILESDIR}"/${PN}-2.7-cdefs.patch ) # tests are not meant to be run outside of the full SELinux userland repo RESTRICT="test"