Browse Source

setools: update to 4.4.0

Remove no longer needed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
39bce0e719
3 changed files with 4 additions and 24 deletions
  1. +4
    -4
      utils/setools/Makefile
  2. +0
    -10
      utils/setools/patches/010-no-format.patch
  3. +0
    -10
      utils/setools/patches/020-no-deprecated.patch

+ 4
- 4
utils/setools/Makefile View File

@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=setools
PKG_VERSION:=4.3.0
PKG_RELEASE:=3
PKG_VERSION:=4.4.0
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0
PKG_HASH:=315df3ae0eb29b399123c5e3330480c5d1c0da038671c9fd62a439c49a6f9105
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/$(PKG_VERSION)
PKG_HASH:=f3786677e40b7f16a226f48f233dcf835e700739614a7dbed2ff61cc9607814e
PKG_BUILD_DIR:=$(BUILD_DIR)/setools
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=Cython # Cython>=0.27


+ 0
- 10
utils/setools/patches/010-no-format.patch View File

@ -1,10 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -109,7 +109,6 @@ ext_py_mods = [Extension('setools.policy
extra_compile_args=['-Werror', '-Wextra',
'-Waggregate-return',
'-Wfloat-equal',
- '-Wformat', '-Wformat=2',
'-Winit-self',
'-Wmissing-format-attribute',
'-Wmissing-include-dirs',

+ 0
- 10
utils/setools/patches/020-no-deprecated.patch View File

@ -1,10 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -125,6 +125,7 @@ ext_py_mods = [Extension('setools.policy
'-Wno-unreachable-code',
'-Wno-implicit-fallthrough',
'-Wno-cast-function-type',
+ '-Wno-deprecated-declarations',
'-fno-exceptions'])]
installed_data = [('share/man/man1', glob.glob("man/*.1"))]

Loading…
Cancel
Save