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 AFEB01396D0 for ; Mon, 18 Sep 2017 09:44:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECD52E0D77; Mon, 18 Sep 2017 09:44:43 +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 BF039E0D77 for ; Mon, 18 Sep 2017 09:44:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9B39F33FE2A for ; Mon, 18 Sep 2017 09:44:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17C6C907A for ; Mon, 18 Sep 2017 09:44:41 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1505727876.333e3fb7cc16bbc3974d95c33b4c60befc5302df.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: app-misc/pax-utils/files/, app-misc/pax-utils/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: app-misc/pax-utils/Manifest app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch app-misc/pax-utils/metadata.xml app-misc/pax-utils/pax-utils-1.2.2.ebuild X-VCS-Directories: app-misc/pax-utils/ app-misc/pax-utils/files/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 333e3fb7cc16bbc3974d95c33b4c60befc5302df X-VCS-Branch: master Date: Mon, 18 Sep 2017 09:44:41 +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: bd4ebe3a-8d26-463a-b879-04ac71490cc5 X-Archives-Hash: f4bc14077e392a2b534efea75ecb100e commit: 333e3fb7cc16bbc3974d95c33b4c60befc5302df Author: Fabian Groffen gentoo org> AuthorDate: Mon Sep 18 09:44:09 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Sep 18 09:44:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=333e3fb7 app-misc/pax-utils: migrated to gx86 (again) app-misc/pax-utils/Manifest | 1 - .../files/pax-utils-1.2.2-linux-2.6.32.patch | 65 -------- .../pax-utils/files/pax-utils-1.2.2-solaris.patch | 181 --------------------- app-misc/pax-utils/metadata.xml | 12 -- app-misc/pax-utils/pax-utils-1.2.2.ebuild | 61 ------- 5 files changed, 320 deletions(-) diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest deleted file mode 100644 index 1e17b14140..0000000000 --- a/app-misc/pax-utils/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pax-utils-1.2.2.tar.xz 655964 SHA256 7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9 SHA512 6bafe93f3b84d4595b6adfa09b46a3dd249f309fe836d90115e9aa5fcc7da37b03f743e80719dfe6bcdb739ce6ec3843170a5513e196c348721f850e19d3e38c WHIRLPOOL c95ce5dc26d7e913d9e0963d47b5cedbc71cb1faf52ca7bb04898b2bcaa9f6c521f2236e2475d41954c93061267f0fcca5053d4dae3cf12bb59fdc986612dfdb diff --git a/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch b/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch deleted file mode 100644 index 8139310b2e..0000000000 --- a/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch +++ /dev/null @@ -1,65 +0,0 @@ -This is the diff for generated sources after applying: -https://github.com/gentoo/pax-utils/pull/2 - -diff -ru pax-utils-HEAD.orig/config.h.in pax-utils-HEAD/config.h.in ---- pax-utils-HEAD.orig/config.h.in 2017-04-18 16:26:42.000000000 +0200 -+++ pax-utils-HEAD/config.h.in 2017-04-18 16:28:05.000000000 +0200 -@@ -526,6 +526,9 @@ - /* Define to 1 if you have the `link' function. */ - #undef HAVE_LINK - -+/* Define to 1 if you have the header file. */ -+#undef HAVE_LINUX_SECUREBITS_H -+ - /* Define to 1 if the system has the type 'long long int'. */ - #undef HAVE_LONG_LONG_INT - -diff -ru pax-utils-HEAD.orig/configure pax-utils-HEAD/configure ---- pax-utils-HEAD.orig/configure 2017-04-18 16:26:41.000000000 +0200 -+++ pax-utils-HEAD/configure 2017-04-18 16:28:03.000000000 +0200 -@@ -34537,6 +34537,19 @@ - - - -+for ac_header in linux/securebits.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "linux/securebits.h" "ac_cv_header_linux_securebits_h" "$ac_includes_default" -+if test "x$ac_cv_header_linux_securebits_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_LINUX_SECUREBITS_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ - ac_config_files="$ac_config_files Makefile autotools/gnulib/Makefile" - - cat >confcache <<\_ACEOF -diff -ru pax-utils-HEAD.orig/configure.ac pax-utils-HEAD/configure.ac ---- pax-utils-HEAD.orig/configure.ac 2017-04-18 16:25:48.000000000 +0200 -+++ pax-utils-HEAD/configure.ac 2017-04-18 16:27:11.000000000 +0200 -#@@ -62,6 +62,8 @@ - AX_CHECK_COMPILE_FLAG(flag, AS_VAR_APPEND([CFLAGS], " flag")) - ]) - -+AC_CHECK_HEADERS([linux/securebits.h]) -+ - AC_CONFIG_FILES([ - Makefile - autotools/gnulib/Makefile -diff -ru pax-utils-HEAD.orig/porting.h pax-utils-HEAD/porting.h ---- pax-utils-HEAD.orig/porting.h 2017-03-03 21:07:15.000000000 +0100 -+++ pax-utils-HEAD/porting.h 2017-04-18 16:18:22.000000000 +0200 -@@ -46,7 +46,9 @@ - #endif - #if defined(__linux__) - # include --# include -+# if !defined(HAVE_CONFIG_H) || defined(HAVE_LINUX_SECUREBITS_H) -+# include -+# endif - #endif - #if defined(__GLIBC__) || defined(__UCLIBC__) || defined(__ANDROID__) - # include diff --git a/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch b/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch deleted file mode 100644 index de1427f99b..0000000000 --- a/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch +++ /dev/null @@ -1,181 +0,0 @@ -This is the diff for generated sources after applying: -https://github.com/gentoo/pax-utils/pull/1 - -diff -ruN pax-utils-1.2.2.orig/autotools/gnulib/Makefile.in pax-utils-1.2.2/autotools/gnulib/Makefile.in ---- pax-utils-1.2.2.orig/autotools/gnulib/Makefile.in 2017-01-24 21:30:06.000000000 +0100 -+++ pax-utils-1.2.2/autotools/gnulib/Makefile.in 2017-03-15 10:59:05.616490166 +0100 -@@ -1483,7 +1484,7 @@ - $(top_srcdir)/autotools/snippet/c++defs.h \ - $(top_srcdir)/autotools/snippet/warn-on-use.h stat.c \ - stat-time.h stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \ -- stdlib.in.h strcasecmp.c strncasecmp.c str-two-way.h \ -+ stdlib.in.h stpcpy.c strcasecmp.c strncasecmp.c str-two-way.h \ - strcasestr.c strdup.c strerror.c strerror-override.c \ - strerror-override.h string.in.h strings.in.h strncat.c \ - symlink.c at-func.c symlinkat.c sys_stat.in.h sys_time.in.h \ -@@ -1546,7 +1547,7 @@ - msvc-nothrow.c open.c openat.c opendir.c printf-frexp.c \ - readlink.c at-func.c readlinkat.c realloc.c rename.c \ - at-func2.c renameat.c rmdir.c signbitd.c signbitf.c signbitl.c \ -- stat.c strcasecmp.c strncasecmp.c strcasestr.c strdup.c \ -+ stat.c stpcpy.c strcasecmp.c strncasecmp.c strcasestr.c strdup.c \ - strerror.c strerror-override.c strncat.c symlink.c at-func.c \ - symlinkat.c unlink.c at-func.c unlinkat.c at-func.c \ - utimensat.c asnprintf.c printf-args.c printf-parse.c \ -@@ -1708,6 +1709,7 @@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statat.Po@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stpcpy.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasecmp.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasestr.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Po@am__quote@ -diff -ruN pax-utils-1.2.2.orig/autotools/gnulib/stpcpy.c pax-utils-1.2.2/autotools/gnulib/stpcpy.c ---- pax-utils-1.2.2.orig/autotools/gnulib/stpcpy.c 1970-01-01 01:00:00.000000000 +0100 -+++ pax-utils-1.2.2/autotools/gnulib/stpcpy.c 2017-03-15 10:59:24.159820259 +0100 -@@ -0,0 +1,49 @@ -+/* stpcpy.c -- copy a string and return pointer to end of new string -+ Copyright (C) 1992, 1995, 1997-1998, 2006, 2009-2017 Free Software -+ Foundation, Inc. -+ -+ NOTE: The canonical source of this file is maintained with the GNU C Library. -+ Bugs can be reported to bug-glibc@prep.ai.mit.edu. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published by the -+ Free Software Foundation; either version 3 of the License, or any -+ later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+#include -+ -+#undef __stpcpy -+#ifdef _LIBC -+# undef stpcpy -+#endif -+ -+#ifndef weak_alias -+# define __stpcpy stpcpy -+#endif -+ -+/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ -+char * -+__stpcpy (char *dest, const char *src) -+{ -+ register char *d = dest; -+ register const char *s = src; -+ -+ do -+ *d++ = *s; -+ while (*s++ != '\0'); -+ -+ return d - 1; -+} -+#ifdef weak_alias -+weak_alias (__stpcpy, stpcpy) -+#endif -diff -ruN pax-utils-1.2.2.orig/config.h.in pax-utils-1.2.2/config.h.in ---- pax-utils-1.2.2.orig/config.h.in 2017-01-24 21:30:04.000000000 +0100 -+++ pax-utils-1.2.2/config.h.in 2017-03-15 11:01:30.156464381 +0100 -@@ -264,6 +264,9 @@ - /* Define to 1 when the gnulib module stat should be tested. */ - #undef GNULIB_TEST_STAT - -+/* Define to 1 when the gnulib module stpcpy should be tested. */ -+#undef GNULIB_TEST_STPCPY -+ - /* Define to 1 when the gnulib module strcasestr should be tested. */ - #undef GNULIB_TEST_STRCASESTR - -@@ -1415,6 +1418,9 @@ - /* Define to 1 if you have the header file. */ - #undef HAVE_STDLIB_H - -+/* Define to 1 if you have the `stpcpy' function. */ -+#undef HAVE_STPCPY -+ - /* Define to 1 if you have the `strcasecmp' function. */ - #undef HAVE_STRCASECMP - -diff -ruN pax-utils-1.2.2.orig/configure pax-utils-1.2.2/configure ---- pax-utils-1.2.2.orig/configure 2017-01-24 21:30:03.000000000 +0100 -+++ pax-utils-1.2.2/configure 2017-03-15 11:02:09.889790417 +0100 -@@ -31596,6 +31597,57 @@ - - - -+ -+ -+ -+ -+ -+ for ac_func in stpcpy -+do : -+ ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" -+if test "x$ac_cv_func_stpcpy" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STPCPY 1 -+_ACEOF -+ -+fi -+done -+ -+ if test $ac_cv_func_stpcpy = no; then -+ HAVE_STPCPY=0 -+ fi -+ -+ if test $HAVE_STPCPY = 0; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS stpcpy.$ac_objext" -+ -+ -+ : -+ -+ fi -+ -+ -+ -+ -+ -+ GNULIB_STPCPY=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_STPCPY 1" >>confdefs.h -+ -+ -+ -+ - - - for ac_func in strcasecmp -diff -ruN pax-utils-1.2.2.orig/Makefile.in pax-utils-1.2.2/Makefile.in ---- pax-utils-1.2.2.orig/Makefile.in 2017-01-24 21:30:06.000000000 +0100 -+++ pax-utils-1.2.2/Makefile.in 2017-03-15 11:03:01.856447406 +0100 -@@ -1522,7 +1523,7 @@ - security.c \ - xfuncs.c - --LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a -+LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a $(LIB_EACCESS) - bin_SCRIPTS = lddtree symtree - CLEANFILES = $(bin_SCRIPTS) - TMAKE = \ diff --git a/app-misc/pax-utils/metadata.xml b/app-misc/pax-utils/metadata.xml deleted file mode 100644 index 73cd9cec1c..0000000000 --- a/app-misc/pax-utils/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - vapier@gentoo.org - Maintainer - - A suite of ELF tools to aid auditing systems. Contains various ELF related utils for ELF32, ELF64 binaries useful for displaying PaX and security info on a large groups of binary files. - - Install a more powerful/faster version of lddtree - - diff --git a/app-misc/pax-utils/pax-utils-1.2.2.ebuild b/app-misc/pax-utils/pax-utils-1.2.2.ebuild deleted file mode 100644 index 71986885b3..0000000000 --- a/app-misc/pax-utils/pax-utils-1.2.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs unpacker - -DESCRIPTION="ELF utils that can check files for security relevant properties" -HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities" -SRC_URI="mirror://gentoo/${P}.tar.xz - https://dev.gentoo.org/~vapier/dist/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="caps debug python seccomp" - -RDEPEND="caps? ( >=sys-libs/libcap-2.24 ) - python? ( dev-python/pyelftools ) - seccomp? ( sys-libs/libseccomp )" -DEPEND="${RDEPEND} - caps? ( virtual/pkgconfig ) - seccomp? ( virtual/pkgconfig ) - app-arch/xz-utils" - -_emake() { - emake \ - USE_CAP=$(usex caps) \ - USE_DEBUG=$(usex debug) \ - USE_PYTHON=$(usex python) \ - USE_SECCOMP=$(usex seccomp) \ - "$@" -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-solaris.patch # stpcpy, euidaccess - epatch "${FILESDIR}"/${P}-linux-2.6.32.patch # no linux/securebits.h -} - -src_configure() { - # Avoid slow configure+gnulib+make if on an up-to-date Linux system - if use prefix || ! use kernel_linux || \ - has_version '