package/libsemanage: bump version to 3.0
Other changes: - Remove the Python2 check, as 3.0 has removed support for Python2. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
889157e1e8
commit
5199804621
@ -1,5 +1,5 @@
|
|||||||
# From: https://github.com/SELinuxProject/selinux/wiki/Releases
|
# From: https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||||
sha256 2576349d344492e73b468059767268dec1dabd8c35f3c7222c3ec2448737bc1c libsemanage-2.9.tar.gz
|
sha256 a497b0720d54eac427f1f3f618eed417e50ed8f4e47ed0f7a1d391bd416e84cf libsemanage-3.0.tar.gz
|
||||||
|
|
||||||
# Hash for license file
|
# Hash for license file
|
||||||
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
|
sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LIBSEMANAGE_VERSION = 2.9
|
LIBSEMANAGE_VERSION = 3.0
|
||||||
LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/20190315
|
LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/20191204
|
||||||
LIBSEMANAGE_LICENSE = LGPL-2.1+
|
LIBSEMANAGE_LICENSE = LGPL-2.1+
|
||||||
LIBSEMANAGE_LICENSE_FILES = COPYING
|
LIBSEMANAGE_LICENSE_FILES = COPYING
|
||||||
LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux bzip2
|
LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux bzip2
|
||||||
@ -31,27 +31,17 @@ HOST_LIBSEMANAGE_DEPENDENCIES = \
|
|||||||
host-libsepol \
|
host-libsepol \
|
||||||
host-libselinux \
|
host-libselinux \
|
||||||
host-bzip2 \
|
host-bzip2 \
|
||||||
host-swig
|
host-swig \
|
||||||
|
host-python3
|
||||||
|
|
||||||
HOST_LIBSEMANAGE_MAKE_OPTS += \
|
HOST_LIBSEMANAGE_MAKE_OPTS += \
|
||||||
$(HOST_CONFIGURE_OPTS) \
|
$(HOST_CONFIGURE_OPTS) \
|
||||||
PREFIX=$(HOST_DIR) \
|
PREFIX=$(HOST_DIR) \
|
||||||
SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \
|
SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \
|
||||||
DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf
|
DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf \
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
||||||
HOST_LIBSEMANAGE_DEPENDENCIES += host-python3
|
|
||||||
HOST_LIBSEMANAGE_MAKE_OPTS += \
|
|
||||||
PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \
|
PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \
|
||||||
PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \
|
PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \
|
||||||
PYLIBVER="python$(PYTHON3_VERSION_MAJOR)"
|
PYLIBVER="python$(PYTHON3_VERSION_MAJOR)"
|
||||||
else
|
|
||||||
HOST_LIBSEMANAGE_DEPENDENCIES += host-python
|
|
||||||
HOST_LIBSEMANAGE_MAKE_OPTS += \
|
|
||||||
PYINC="-I$(HOST_DIR)/include/python$(PYTHON_VERSION_MAJOR)/" \
|
|
||||||
PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON_VERSION_MAJOR)/" \
|
|
||||||
PYLIBVER="python$(PYTHON_VERSION_MAJOR)"
|
|
||||||
endif
|
|
||||||
|
|
||||||
define HOST_LIBSEMANAGE_BUILD_CMDS
|
define HOST_LIBSEMANAGE_BUILD_CMDS
|
||||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) all
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) all
|
||||||
|
Loading…
Reference in New Issue
Block a user