setools: update to 4.4.0
authorRosen Penev <rosenp@gmail.com>
Tue, 9 Mar 2021 08:22:25 +0000 (00:22 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 10 Mar 2021 00:39:56 +0000 (16:39 -0800)
Remove no longer needed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/setools/Makefile
utils/setools/patches/010-no-format.patch [deleted file]
utils/setools/patches/020-no-deprecated.patch [deleted file]

index dbfb5d298e6b5b86cbebf8c9e92d6579ec7a56f1..8b1b2eb8bd3cb87e3b7c597ff380f7aef8c9cf3f 100644 (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
diff --git a/utils/setools/patches/010-no-format.patch b/utils/setools/patches/010-no-format.patch
deleted file mode 100644 (file)
index 939959f..0000000
+++ /dev/null
@@ -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',
diff --git a/utils/setools/patches/020-no-deprecated.patch b/utils/setools/patches/020-no-deprecated.patch
deleted file mode 100644 (file)
index cf3b0e2..0000000
+++ /dev/null
@@ -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"))]