From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AC2F138330 for ; Sun, 27 May 2018 16:11:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 644E4E0973; Sun, 27 May 2018 16:11:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C203E0973 for ; Sun, 27 May 2018 16:11:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9DD3335CCB for ; Sun, 27 May 2018 16:11:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A44962B9 for ; Sun, 27 May 2018 16:11:07 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527437370.cac0f9671a3124eb616c74abd8f4bea2c26400cb.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/setools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/setools/files/setools-3.3.8-no-check-file.patch app-admin/setools/files/setools-3.3.8-policy-max.patch app-admin/setools/files/setools-4.0.1-remove-gui.patch X-VCS-Directories: app-admin/setools/files/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: cac0f9671a3124eb616c74abd8f4bea2c26400cb X-VCS-Branch: master Date: Sun, 27 May 2018 16:11:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ba09345a-e3d7-43e0-807c-f1515cfcf5f2 X-Archives-Hash: 4d65c21e45bac0743d56605691e90510 commit: cac0f9671a3124eb616c74abd8f4bea2c26400cb Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun May 27 11:58:28 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sun May 27 16:09:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac0f967 app-admin/setools: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/8608 .../files/setools-3.3.8-no-check-file.patch | 15 ----------- .../setools/files/setools-3.3.8-policy-max.patch | 29 ---------------------- .../setools/files/setools-4.0.1-remove-gui.patch | 17 ------------- 3 files changed, 61 deletions(-) diff --git a/app-admin/setools/files/setools-3.3.8-no-check-file.patch b/app-admin/setools/files/setools-3.3.8-no-check-file.patch deleted file mode 100644 index 31848e9564b..00000000000 --- a/app-admin/setools/files/setools-3.3.8-no-check-file.patch +++ /dev/null @@ -1,15 +0,0 @@ -there's no real need to run AC_CHECK_FILE to see if a file exists. if the -static link fails later on, then the static lib didn't exist. this also -breaks cross-compiling. - ---- a/configure.ac -+++ b/configure.ac -@@ -448,8 +448,6 @@ - sepol_srcdir="") - if test "x${sepol_srcdir}" = "x"; then - sepol_srcdir=${sepol_devel_libdir} -- AC_CHECK_FILE([${sepol_srcdir}/libsepol.a],, -- AC_MSG_ERROR([make sure libsepol-static is installed])) - else - AC_MSG_CHECKING([for compatible sepol source tree]) - sepol_version=${sepol_srcdir}/VERSION diff --git a/app-admin/setools/files/setools-3.3.8-policy-max.patch b/app-admin/setools/files/setools-3.3.8-policy-max.patch deleted file mode 100644 index cf6917a671d..00000000000 --- a/app-admin/setools/files/setools-3.3.8-policy-max.patch +++ /dev/null @@ -1,29 +0,0 @@ -trying to run compiled code fails when cross-compiling. -probe the value using the preprocessor instead. - ---- a/configure.ac -+++ b/configure.ac -@@ -621,21 +621,8 @@ - sepol_new_errcodes="yes", - sepol_new_errcodes="no") - --AC_RUN_IFELSE( -- [AC_LANG_SOURCE([ --#include --#include --#include --int main(void) { -- FILE *f = fopen("conftest.data", "w"); -- if (f != NULL && fprintf(f, "%d", POLICYDB_VERSION_MAX) > 0) { -- fclose(f); -- exit(EXIT_SUCCESS); -- } -- exit(EXIT_FAILURE); --}])], -- sepol_policy_version_max=`cat conftest.data`, -- AC_MSG_FAILURE([could not determine maximum libsepol policy version])) -+printf "#include \nPOLICYDB_VERSION_MAX\n" > conftest.c -+sepol_policy_version_max=`${CPP} -E -P ${CPPFLAGS} conftest.c | tail -1` - AC_DEFINE_UNQUOTED(SEPOL_POLICY_VERSION_MAX, ${sepol_policy_version_max}, [maximum policy version supported by libsepol]) - CFLAGS="${sepol_save_CFLAGS}" - CPPFLAGS="${sepol_save_CPPFLAGS}" diff --git a/app-admin/setools/files/setools-4.0.1-remove-gui.patch b/app-admin/setools/files/setools-4.0.1-remove-gui.patch deleted file mode 100644 index bb93ff269b8..00000000000 --- a/app-admin/setools/files/setools-4.0.1-remove-gui.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- setools-4.0.1/setup.py.orig 2016-05-22 19:50:02.586000000 +0200 -+++ setools-4.0.1/setup.py 2016-05-22 19:50:56.107000000 +0200 -@@ -163,11 +163,10 @@ - 'build_lex': LexCommand, - 'build_ext': BuildExtCommand, - 'build_qhc': QtHelpCommand}, -- packages=['setools', 'setools.diff', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'], -- scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'], -+ packages=['setools', 'setools.diff', 'setools.policyrep'], -+ scripts=['sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'], - data_files=[(join(sys.prefix, 'share/man/man1'), glob.glob("man/*.1") ), -- (join(sys.prefix, 'share/setools'), glob.glob("data/*.ui") + -- ["data/perm_map", "qhc/apol.qhc"] )], -+ (join(sys.prefix, 'share/setools'), ["data/perm_map"] ),], - ext_modules=ext_py_mods, - test_suite='tests', - license='GPLv2+, LGPLv2.1+',