diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog deleted file mode 100644 index 78d3543a4d..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog +++ /dev/null @@ -1,127 +0,0 @@ -# ChangeLog for sys-process/audit -# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 -# (auto-generated from git log) - -*audit-2.4.3 (09 Aug 2015) -*audit-2.4.1-r1 (09 Aug 2015) -*audit-2.4.1 (09 Aug 2015) -*audit-2.2.2-r3 (09 Aug 2015) -*audit-2.2.2-r2 (09 Aug 2015) -*audit-2.1.3-r1 (09 Aug 2015) -*audit-2.0.5 (09 Aug 2015) -*audit-1.7.18 (09 Aug 2015) - - 09 Aug 2015; Robin H. Johnson +audit-1.7.18.ebuild, - +audit-2.0.5.ebuild, +audit-2.1.3-r1.ebuild, +audit-2.2.2-r2.ebuild, - +audit-2.2.2-r3.ebuild, +audit-2.4.1.ebuild, +audit-2.4.1-r1.ebuild, - +audit-2.4.3.ebuild, +files/audit-1.7.17-python.patch, - +files/audit-1.7.18-as-needed.patch, - +files/audit-1.7.18-missing_headers.patch, +files/audit-2.0.5-python.patch, - +files/audit-2.1.3-ia64-compile-fix.patch, +files/audit-2.1.3-python.patch, - +files/audit-2.4.1-python.patch, +files/audit-2.4.3-python.patch, - +files/audit.rules, +files/audit.rules-2.1.3, +files/audit.rules.stop.post, - +files/audit.rules.stop.pre, +files/auditd-conf.d-1.2.3, - +files/auditd-conf.d-2.1.3, +files/auditd-init.d-1.7.17, - +files/auditd-init.d-2.1.3, +metadata.xml: - proj/gentoo: Initial commit - - This commit represents a new era for Gentoo: - Storing the gentoo-x86 tree in Git, as converted from CVS. - - This commit is the start of the NEW history. - Any historical data is intended to be grafted onto this point. - - Creation process: - 1. Take final CVS checkout snapshot - 2. Remove ALL ChangeLog* files - 3. Transform all Manifests to thin - 4. Remove empty Manifests - 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ - 5.1. Do not touch files with -kb/-ko keyword flags. - - Signed-off-by: Robin H. Johnson - X-Thanks: Alec Warner - did the GSoC 2006 migration - tests - X-Thanks: Robin H. Johnson - infra guy, herding this - project - X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo - developer, wrote Git features for the migration - X-Thanks: Brian Harring - wrote much python to improve - cvs2svn - X-Thanks: Rich Freeman - validation scripts - X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 - work in migration - X-Thanks: Michał Górny - scripts, QA, nagging - X-Thanks: All of other Gentoo developers - many ideas and lots of paint on - the bikeshed - -*audit-2.4.3-r1 (18 Aug 2015) - - 18 Aug 2015; Jason Zaman +audit-2.4.3-r1.ebuild, - +files/auditd-init.d-2.4.3: - Remove lock from init script - - The lock in the init script was only needed in Redhat. OpenRC keeps track of - if - the process is started so not required. Also fix perms on the systemd unit. - - Gentoo-Bug: https://bugs.gentoo.org/556436 - Gentoo-Bug: https://bugs.gentoo.org/449990 - - Package-Manager: portage-2.2.20.1 - - 24 Aug 2015; Justin Lecher metadata.xml: - Use https by default - - Convert all URLs for sites supporting encrypted connections from http to - https - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Justin Lecher audit-1.7.18.ebuild, - audit-2.0.5.ebuild, audit-2.1.3-r1.ebuild, audit-2.2.2-r2.ebuild, - audit-2.2.2-r3.ebuild, audit-2.4.1.ebuild, audit-2.4.1-r1.ebuild, - audit-2.4.3.ebuild, audit-2.4.3-r1.ebuild: - Use https for kernel.org and redhat.com - - Signed-off-by: Justin Lecher - - 24 Aug 2015; Mike Gilbert metadata.xml: - Revert DOCTYPE SYSTEM https changes in metadata.xml - - repoman does not yet accept the https version. - This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. - - Bug: https://bugs.gentoo.org/552720 - - 24 Jan 2016; Michał Górny metadata.xml: - Set appropriate maintainer types in metadata.xml (GLEP 67) - - 17 Feb 2016; Mike Frysinger audit-2.4.3-r1.ebuild: - add arm64/sh love - - 26 Mar 2016; Agostino Sarubbo audit-2.4.3-r1.ebuild: - amd64 stable wrt bug #577770 - - Package-Manager: portage-2.2.26 - RepoMan-Options: --include-arches="amd64" - Signed-off-by: Agostino Sarubbo - - 18 May 2016; Austin English - files/auditd-init.d-1.7.17, files/auditd-init.d-2.1.3: - use #!/sbin/openrc-run instead of #!/sbin/runscript - - 27 May 2016; Tobias Klausmann audit-2.4.3-r1.ebuild: - 2.4.3-r1: add alpha keyword - - Gentoo-Bug: 577770 - - Package-Manager: portage-2.3.0_rc1 - - 25 Jun 2016; Agostino Sarubbo audit-2.4.3-r1.ebuild: - x86 stable wrt bug #577770 - - Package-Manager: portage-2.2.28 - RepoMan-Options: --include-arches="x86" - Signed-off-by: Agostino Sarubbo - diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog-2015 b/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog-2015 deleted file mode 100644 index 36511c373a..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/ChangeLog-2015 +++ /dev/null @@ -1,473 +0,0 @@ -# ChangeLog for sys-process/audit -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.107 2015/07/27 18:23:11 perfinion Exp $ - -*audit-2.4.3 (27 Jul 2015) - - 27 Jul 2015; Jason Zaman +audit-2.4.3.ebuild, - +files/audit-2.4.3-python.patch: - version bump, adds python3 support - -*audit-2.2.2-r3 (16 May 2015) -*audit-2.4.1-r1 (16 May 2015) - - 16 May 2015; Robin H. Johnson +audit-2.2.2-r3.ebuild, - +audit-2.4.1-r1.ebuild: - Bug 448470: adjust preserved libs. - -*audit-2.4.1 (21 Mar 2015) - - 21 Mar 2015; Lars Wendler -audit-1.7.4.ebuild, - -audit-1.7.17.ebuild, -audit-2.1.3.ebuild, -audit-2.2.2.ebuild, - -audit-2.2.2-r1.ebuild, +audit-2.4.1.ebuild, -files/auditd-init.d-1.2.3, - -files/audit-1.5.4-build.patch, -files/audit-1.5.4-swig-gcc-attribute.patch, - -files/audit-1.6.8-subdirs-fix.patch, -files/audit-1.7.4-glibc212.patch, - -files/audit-1.7.4-python.patch, +files/audit-2.4.1-python.patch: - Version bump. Removed old. - - 15 Sep 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for sparc, wrt bug #512012 - - 25 Aug 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for alpha, wrt bug #512012 - - 23 Aug 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for ia64, wrt bug #512012 - - 21 Aug 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for ppc64, wrt bug #512012 - - 07 Aug 2014; Jeroen Roovers audit-2.2.2-r2.ebuild: - Stable for HPPA (bug #512012). - - 28 Jul 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for ppc, wrt bug #512012 - - 23 Jul 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for x86, wrt bug #512012 - - 22 Jul 2014; Agostino Sarubbo audit-2.2.2-r2.ebuild: - Stable for amd64, wrt bug #512912 - -*audit-2.2.2-r2 (29 May 2014) - - 29 May 2014; Michał Górny +audit-2.2.2-r2.ebuild: - Enable multilib support & switch to python-r1. - - 29 May 2014; Mike Gilbert audit-2.2.2-r1.ebuild: - Override hardcoded /usr/lib/systemd/system. - -*audit-2.2.2-r1 (30 Mar 2014) - - 30 Mar 2014; Pacho Ramos +audit-2.2.2-r1.ebuild: - Install systemd unit files instead of not used rc/sysconfig fedora stuff that - was being manually removed at install phase (#503374 by Reuben Martin) - - 03 Mar 2013; Mike Frysinger audit-2.1.3-r1.ebuild, - audit-2.2.2.ebuild: - Add s390 lovin. - - 02 Feb 2013; Agostino Sarubbo audit-2.2.2.ebuild: - Add ~arm, wrt bug #449220 - - 31 Dec 2012; Agostino Sarubbo audit-2.1.3-r1.ebuild: - Stable for alpha, wrt to bug #418395 - - 31 Dec 2012; Agostino Sarubbo audit-2.1.3-r1.ebuild: - Stable for sparc, wrt bug #418395 - - 26 Dec 2012; Agostino Sarubbo audit-2.1.3-r1.ebuild: - Stable for ia64, wrt bug #418395 - - 23 Dec 2012; Agostino Sarubbo audit-2.1.3-r1.ebuild: - Stable for ppc64, wrt bug #418395 - - 22 Dec 2012; Robin H. Johnson audit-2.1.3-r1.ebuild, - audit-2.2.2.ebuild: - Bug #448174: default not valid in pkg_*inst preinst. Also /usr/sbin existence. - - 22 Dec 2012; Robin H. Johnson audit-2.1.3-r1.ebuild, - audit-2.2.2.ebuild: - Fix swig build. Bug #398071: Fix audisp-remote location, move to /usr/sbin due - to linkage against libcap-ng. - -*audit-2.2.2 (22 Dec 2012) - - 22 Dec 2012; Robin H. Johnson +audit-2.2.2.ebuild: - Bump. Still in package.mask because swig refuses to build, with libtool - looking for non-existent _audit.soT. - - 22 Dec 2012; Robin H. Johnson - +files/audit-2.1.3-ia64-compile-fix.patch, audit-2.1.3-r1.ebuild: - Bug #439188: Absolutely ridiculous workaround for upstream glibc/kernel header - issue: http://sourceware.org/bugzilla/show_bug.cgi?id=762 Patch written & - tested on dolphin.ia64.dev.gentoo.org. - - 21 Dec 2012; Sergey Popov audit-2.1.3-r1.ebuild: - Fix pkg_preinst function, wrt bug #447954 (non-maintainer commit) - -*audit-1.7.18 (18 Dec 2012) - - 18 Dec 2012; Robin H. Johnson +audit-1.7.18.ebuild, - +files/audit-1.7.18-as-needed.patch, - +files/audit-1.7.18-missing_headers.patch, audit-1.7.17.ebuild: - Bug #405887: fix for newer system headers; bug #405897: bump to 1.7.18. - - 18 Dec 2012; Robin H. Johnson audit-2.0.5.ebuild, - audit-2.1.3-r1.ebuild, audit-2.1.3.ebuild: - Bug #383235: implement preserve_old_lib. - - 03 Jul 2012; Jeroen Roovers audit-2.1.3-r1.ebuild: - Stable for HPPA (bug #418395). - - 03 Jul 2012; Brent Baude audit-2.1.3-r1.ebuild: - Marking audit-2.1.3-r1 ppc for bug 418395 - - 28 Jun 2012; Jeff Horelick audit-2.1.3-r1.ebuild: - marked x86 per bug 418395 - - 27 Jun 2012; Agostino Sarubbo audit-2.1.3-r1.ebuild: - Stable for amd64, wrt bug #418395 - - 27 Jun 2012; Kacper Kowalik audit-2.1.3-r1.ebuild: - Use explicit filenames for dodoc instead of shell glob wrt #415081 by David J - Cozatt - - 21 May 2012; Mike Frysinger audit-1.7.17.ebuild, - audit-1.7.4.ebuild, audit-2.0.5.ebuild, audit-2.1.3-r1.ebuild, - audit-2.1.3.ebuild: - Inherit eutils for epatch. - - 21 May 2012; Kacper Kowalik audit-1.7.17.ebuild, - audit-1.7.4.ebuild: - Add missing inheritance of eutils.eclass - - 26 Feb 2012; Patrick Lauer audit-2.0.5.ebuild, - audit-2.1.3-r1.ebuild, audit-2.1.3.ebuild: - Restricting pypy - -*audit-2.1.3-r1 (04 Feb 2012) - - 04 Feb 2012; Mike Frysinger +audit-2.1.3-r1.ebuild: - Make python support optional. - - 11 Sep 2011; Robin H. Johnson - +files/auditd-conf.d-2.1.3, +files/auditd-init.d-2.1.3, audit-2.1.3.ebuild, - files/audit.rules, files/audit.rules.stop.pre, +files/audit.rules-2.1.3: - Get this into shape for full usage with OpenRC, and also the pending cleanup - for the package.mask. Please see the new configuration options in the conf.d - file. The upstream AUDITD_CLEAN_STOP and AUDITD_STOP_DISABLE sysconfig - options are represented by the audit.rules.stop.pre sequence now. - -*audit-2.1.3 (10 Sep 2011) - - 10 Sep 2011; Robin H. Johnson +audit-2.1.3.ebuild, - +files/audit-2.1.3-python.patch: - Version bump. - - 26 Apr 2011; Kacper Kowalik audit-1.7.4.ebuild: - ppc stable wrt #341167 - - 16 Apr 2011; Raúl Porcel audit-1.7.4.ebuild: - ia64/sparc stable wrt #341167 - - 10 Apr 2011; Markus Meier audit-1.7.4.ebuild: - x86 stable, bug #341167 - - 04 Apr 2011; Jeroen Roovers audit-1.7.4.ebuild: - Stable for HPPA (bug #341167). - - 02 Apr 2011; Christoph Mende audit-1.7.4.ebuild: - Stable on amd64 wrt bug #341167 - - 07 Feb 2011; Arfrever Frehtes Taifersar Arahesis - audit-2.0.5.ebuild: - Support installation for multiple Python ABIs (bug #316965). - - 07 Feb 2011; Arfrever Frehtes Taifersar Arahesis - audit-2.0.5.ebuild, +files/audit-2.0.5-python.patch: - Don't install auparse.a in Python site-packages directories. - - 25 Jan 2011; Robin H. Johnson audit-1.7.3.ebuild, - audit-1.7.4.ebuild, audit-1.7.9.ebuild, audit-1.7.17.ebuild: - Backport build fix for bug #352198 to other versions. - -*audit-2.0.5 (25 Jan 2011) - - 25 Jan 2011; Robin H. Johnson +audit-2.0.5.ebuild: - Version bump. Fix bug #352198: parallel build, bug #322239: prelude support, - bug #352239: CONFIG_AUDIT check. - - 15 Oct 2010; Arfrever Frehtes Taifersar Arahesis - audit-1.7.4.ebuild, +files/audit-1.7.4-python.patch, audit-1.7.17.ebuild, - +files/audit-1.7.17-python.patch: - Update EAPI, fix dependencies, use Python 2, don't install .a, .la and - .pyc files in Python site-packages directories, fix calls to - python_mod_optimize() and python_mod_cleanup() (bug #316965). - - 15 Oct 2010; Arfrever Frehtes Taifersar Arahesis - audit-1.7.3.ebuild, audit-1.7.9.ebuild: - Fix calls to python_mod_optimize() and python_mod_cleanup() (bug #316965). - - 24 Aug 2010; Samuli Suominen audit-1.7.4.ebuild, - +files/audit-1.7.4-glibc212.patch: - Fix building with recent glibc wrt #334147 by William Keaney. - - 29 May 2010; Raúl Porcel audit-1.7.4.ebuild, - audit-1.7.9.ebuild, audit-1.7.17.ebuild: - Add ~alpha - -*audit-1.7.17 (19 Dec 2009) - - 19 Dec 2009; Robin H. Johnson - +files/auditd-init.d-1.7.17, +audit-1.7.17.ebuild: - Version bump, also fix BL2 issue per bug #241884. - - 24 Sep 2009; Jeremy Olexa -audit-1.6.8.ebuild: - remove vuln version wrt bug 271746 - - 28 Aug 2009; Tobias Klausmann audit-1.7.3.ebuild: - Keyworded on alpha, bug #279595 - - 29 Jul 2009; Jeremy Olexa -audit-1.5.4.ebuild, - -audit-1.6.1.ebuild, -audit-1.6.2.ebuild, -audit-1.7.ebuild: - Remove vulnerable version(s), bug 271746 - -*audit-1.7.9 (06 Dec 2008) - - 06 Dec 2008; Jeroen Roovers +audit-1.7.9.ebuild: - Version bump (bug #249611 thanks to Loredan Stancu). - - 26 May 2008; Tobias Scherbaum audit-1.7.3.ebuild: - ppc stable, bug #215705 - - 26 May 2008; Raúl Porcel audit-1.7.3.ebuild: - ia64/sparc stable wrt security #215705 - - 25 May 2008; Markus Meier audit-1.7.3.ebuild: - amd64 stable, bug #215705 - -*audit-1.7.4 (25 May 2008) - - 25 May 2008; Robin H. Johnson +audit-1.7.4.ebuild: - Version bump. - - 24 May 2008; Christian Faulhammer audit-1.7.3.ebuild: - stable x86, security bug 215705 - - 24 May 2008; Jeroen Roovers audit-1.7.3.ebuild: - Stable for HPPA (bug #215705). - -*audit-1.7.3 (22 May 2008) - - 22 May 2008; Robin H. Johnson +audit-1.7.3.ebuild: - Bug #215705, bump again for a proper fix to the buffer overflow stuff. - - 06 Apr 2008; Tobias Klausmann audit-1.6.8.ebuild: - Keyworded on alpha, bug #184563 - - 03 Apr 2008; Jeroen Roovers audit-1.6.8.ebuild: - Stable for HPPA too. - -*audit-1.7 (02 Apr 2008) - - 02 Apr 2008; Robin H. Johnson +audit-1.7.ebuild: - Version bump for security bug #215705. - - 31 Mar 2008; audit-1.5.4.ebuild: - Drop to ~mips due to unstable deps - - 20 Feb 2008; Robin H. Johnson audit-1.6.8.ebuild: - Disable the testcases as they are redhat specific. - - 20 Feb 2008; Robin H. Johnson - +files/audit-1.6.8-subdirs-fix.patch, audit-1.6.8.ebuild: - Fix up some build issues with audit, LDAP is only needed for the z/OS - plugin, Prelude support is not needed, and it fails to install docs due to a - Makefile bug. - - 20 Feb 2008; Jeroen Roovers audit-1.6.8.ebuild: - Marked ~hppa (bug #184563). - - 19 Feb 2008; Robin H. Johnson - -files/audit.h-2.6.18-rc4, -files/elf-em.h-2.6.18-rc4: - Clean up filesdir. - - 19 Feb 2008; Robin H. Johnson -audit-1.2.9.ebuild, - -audit-1.2.9-r1.ebuild, -audit-1.2.9-r2.ebuild, -audit-1.5.1.ebuild: - Cleanup old ebuilds. - -*audit-1.6.8 (19 Feb 2008) - - 19 Feb 2008; Robin H. Johnson +audit-1.6.8.ebuild: - Version bump. - - 13 Jan 2008; Joshua Kinard audit-1.6.2.ebuild: - Marked unstable on mips. - - 13 Jan 2008; Joshua Kinard audit-1.5.4.ebuild: - Stable on mips. - - 28 Oct 2007; Olivier Crête audit-1.5.4.ebuild: - Mark stable for bug #196409 - - 28 Oct 2007; Markus Rothe audit-1.6.2.ebuild: - Added ~ppc64; bug #184563 - - 28 Oct 2007; nixnut audit-1.5.4.ebuild: - Stable on ppc wrt bug 196409 - - 24 Oct 2007; Dawid Węgliński audit-1.5.4.ebuild: - Stable on x86 for bug #196409 - - 24 Oct 2007; Raúl Porcel audit-1.5.4.ebuild: - ia64/sparc stable wrt #196409 - - 02 Oct 2007; Robin H. Johnson audit-1.6.1.ebuild, - audit-1.6.2.ebuild: - Fix quoting - -*audit-1.6.2 (02 Oct 2007) - - 02 Oct 2007; Robin H. Johnson +audit-1.6.2.ebuild: - Version bump again. - -*audit-1.6.1 (02 Oct 2007) - - 02 Oct 2007; Robin H. Johnson +audit-1.6.1.ebuild: - Bug #190804, version bump. - - 15 Jul 2007; Robin H. Johnson - +files/audit-1.5.4-swig-gcc-attribute.patch, audit-1.5.4.ebuild: - Make audit-python compile on arches that use GCC __attribute in their - headers, as it does not like that. - - 11 Jul 2007; Gustavo Zacarias audit-1.5.4.ebuild: - Keyworded ~sparc wrt #184563 - - 10 Jul 2007; Raúl Porcel audit-1.5.4.ebuild: - Add ~ia64 wrt #184563 - - 09 Jul 2007; Mike Frysinger - +files/audit-1.5.4-build.patch, audit-1.5.4.ebuild: - Fix build error when testing #184563. - -*audit-1.5.4 (08 Jul 2007) - - 08 Jul 2007; Mike Frysinger +audit-1.5.4.ebuild: - Version bump. - -*audit-1.5.1 (01 Apr 2007) - - 01 Apr 2007; Robin H. Johnson +audit-1.5.1.ebuild: - Bug #171282, version bump to fix glibc selinux compile issues. - - 01 Mar 2007; Robin H. Johnson audit-1.2.9-r2.ebuild: - Fix another libdir snafu. - - 25 Feb 2007; Robin H. Johnson - -files/auditd.confd-0.7.2-r1, -files/auditd.initd-0.7.2-r1, - -files/audit-0.9.14-header.patch, -files/audit-1.1.3-compilefix.patch, - -files/audit-1.2.3-syscall-partial.patch, -files/auditd.confd, - -files/auditd.initd, -audit-0.7.2-r1.ebuild, -audit-0.7.3.ebuild, - -audit-0.7.4.ebuild, -audit-0.8.ebuild, -audit-0.8.1.ebuild, - -audit-0.9.1.ebuild, -audit-1.1.6.ebuild, -audit-1.2.1.ebuild, - -audit-1.2.3.ebuild, -audit-1.2.5.ebuild: - Cleanup all of the old stuff. - -*audit-1.2.9-r2 (25 Feb 2007) - - 25 Feb 2007; Robin H. Johnson +audit-1.2.9-r2.ebuild: - More .la fixering. - -*audit-1.2.9-r1 (24 Feb 2007) - - 24 Feb 2007; Robin H. Johnson +audit-1.2.9-r1.ebuild: - Fix for bug #161342. - - 22 Feb 2007; Markus Ullmann ChangeLog: - Redigest for Manifest2 - -*audit-1.2.9 (13 Nov 2006) -*audit-1.2.5 (13 Nov 2006) - - 13 Nov 2006; Robin H. Johnson - +files/audit-0.9.14-header.patch, +files/audit.h-2.6.18-rc4, - +files/elf-em.h-2.6.18-rc4, audit-1.1.6.ebuild, audit-1.2.3.ebuild, - +audit-1.2.5.ebuild, +audit-1.2.9.ebuild: - Bug #142460, combined with version bumping. Audit finally builds again - against headers and kernels found in the tree!. - -*audit-1.2.3 (22 Jun 2006) - - 22 Jun 2006; Robin H. Johnson - +files/auditd-conf.d-1.2.3, +files/auditd-init.d-1.2.3, - +files/audit-1.2.3-syscall-partial.patch, +files/audit.rules, - +files/audit.rules.stop.post, +files/audit.rules.stop.pre, - +audit-1.2.3.ebuild: - Version bump to 1.2.3. The kernel is close to being usable, I've now been - able to use this for the first time in a very long way. - -*audit-1.2.1 (19 Apr 2006) -*audit-1.1.6 (19 Apr 2006) - - 19 Apr 2006; Robin H. Johnson -audit-1.1.3.ebuild, - +audit-1.1.6.ebuild, +audit-1.2.1.ebuild: - Put new 1.1.6 and 1.2.1 versions into tree. Still unusable until 2.6.17-rc1 - headers get out. - - 01 Feb 2006; Robin H. Johnson audit-1.1.3.ebuild: - Fix typo. - -*audit-1.1.3 (01 Feb 2006) - - 01 Feb 2006; Robin H. Johnson - +files/audit-1.1.3-compilefix.patch, +audit-1.1.3.ebuild: - Add audit-1.1.3. KEYWORDS are -* because it needs masked kernel headers. - -*audit-0.9.1 (06 Jun 2005) - - 06 Jun 2005; Elfyn McBratney +audit-0.9.1.ebuild: - Version bump. - -*audit-0.8.1 (19 May 2005) - - 19 May 2005; Robin H. Johnson +audit-0.8.1.ebuild: - Version bump. - -*audit-0.8 (15 May 2005) - - 15 May 2005; Elfyn McBratney -audit-0.7.ebuild, - -audit-0.7.1.ebuild, -audit-0.7.2.ebuild, +audit-0.8.ebuild: - Version bump. Prune older versions. - -*audit-0.7.4 (09 May 2005) - - 09 May 2005; Elfyn McBratney +audit-0.7.4.ebuild: - Version bump. - -*audit-0.7.3 (06 May 2005) - - 06 May 2005; Elfyn McBratney +audit-0.7.3.ebuild: - Version bump. - -*audit-0.7.2-r1 (30 Apr 2005) - - 30 Apr 2005; Robin H. Johnson metadata.xml, - +files/auditd.confd-0.7.2-r1, +files/auditd.initd-0.7.2-r1, - +audit-0.7.2-r1.ebuild: - Move to /sbin for early boot running, and install sample rules. Also more - secure perms as recommended by upstream. - -*audit-0.7.2 (01 May 2005) - - 01 May 2005; Elfyn McBratney +audit-0.7.2.ebuild: - Version bump. - - 30 Apr 2005; Robin H. Johnson : - Improvements by me!. - -*audit-0.7.1 (29 Apr 2005) - - 29 Apr 2005; Elfyn McBratney : - Initial ebuild, from yours truly. diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/Manifest b/sdk_container/src/third_party/portage-stable/sys-process/audit/Manifest deleted file mode 100644 index c39a53b328..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/Manifest +++ /dev/null @@ -1,35 +0,0 @@ -AUX audit-1.7.17-python.patch 448 SHA256 9d29b2c67484c64cbf2e940a084d5f4c2bcbaca85a78f5c697ea20cc7ed2cb87 SHA512 ed816ca60294109ff3ef825081a4042d592a1841a597ec5514ed6f6696331a3aeafc9147ca1f5648df65c2fedc32a966825d9444a1634388aa06cc320ab2542f WHIRLPOOL 685f661e79b2f6facd7d3a6c603a8c8c5ef5de7d37f4dcab310c23cddf239ca3a2fb3c0622cb308e32678c6f16ed34e81bf6b5a8e4b391e01bf69790bee97512 -AUX audit-1.7.18-as-needed.patch 2346 SHA256 d83311d4b1e109712a32771943c7da72be939633d0fe0ba33c99a405fc6a0f14 SHA512 e30bb39c97d4fb92594b0dcc0b8160bbf5af7096ef261c1f5e2786d2ebe6f764806c9cf18dc2ab2156057cf8a12c259faa804c98d58a4a90ac3d1a081979567a WHIRLPOOL 508e582f9feaca11d5b74b12601961959d40f4dcd0dfe002a5af47f5e3b3cb4d79037ab67d715687cc946feb859e4a2453712f34055cf7a8cca75d47935d4baf -AUX audit-1.7.18-missing_headers.patch 381 SHA256 9bcd61e976bfb422f199b6553a1dfa745f99979fa2295b53fd8163b171d1e487 SHA512 c115ecd19f15b2b20fb233f6304ff112b85b96bbca32a8274e5215d8622be71e8ed997ca630e4a3dda3436475a0af565d51163348c09c0721d6c9ce7324e0288 WHIRLPOOL 7b138cf18929ddfaacd0e7cc256f565865076d7d68724292e6769bb7ac32a836ae315454c71f701049c300e06c582a4aa5deb4815be4c5dd2a07c053c1fd4c3d -AUX audit-2.0.5-python.patch 891 SHA256 b5d82e670f9ac8c6640ba1155a77e0f6b6f93acd90efb89747aca636d7b68022 SHA512 1fc4013f0e1b00c2cf75e02fffad611a93f37a8f0cf4a258326a4705649e73a039c0af7540cec1beee2a32f28af7850b7cfd6c3827d1195fd1163468c4dc31c0 WHIRLPOOL 707ec56175859e9d2065a9cb04257a8355eeb3d6c129cd7fcfa38ba79b983b878c722ca2f7ae17e85f7288f90f144efb407bd85793b3731e0f9899d79970a0bf -AUX audit-2.1.3-ia64-compile-fix.patch 7173 SHA256 af8f2764b5675fb364901dd6ce9477655b1bde9de9a9436c1a7e40793a0ad560 SHA512 be1f0fd8933e962b11818bace04a14f89afd40c20d9e3ecc839c210fc946e851bb8ba0ce0eae9267023397f77c5a1a3c8b574b9285c0351f534a24f5c9a2a512 WHIRLPOOL f6a7a3b740f39485874a874bbfdea85e087fdcde817a91526e37cddbb85d6e4536add47179021fc7245bafb74b7ad4f3286de55108cb950aee2e1d7217ef19e3 -AUX audit-2.1.3-python.patch 1353 SHA256 de214516fc107d8bfb19fcaf39d87776d9655a153e8e8b993a725f34dbe91ce5 SHA512 01e071c4219e1ea186207be883e08811021465cf18cdc2d18dcd1c61be372f2061b7f18f104dfb21ae94d363153f81133e768ddac8953703198bcda257f827eb WHIRLPOOL 4555e5b2f00a7470bb52a0813fcadf85e334f181f68414011629e95b7143bc07c83e94aa814bd4b6fc91a3add1b18444d97b24ecb7590e1884d663cf9bcf6203 -AUX audit-2.4.1-python.patch 989 SHA256 10350ab6fce228b5ccd502988cb93c961423cd60c28a89f70d7837d2d2fdb653 SHA512 434f80e5268b052a509f066465e4beaef0adfbce2d1642e8a0c93349187d28d720a978ddc8804817ceea955b473ca2546622c63acc50be284536ba4a1463f428 WHIRLPOOL f86bf7447502d1e7ed0128b610b6e7b360def906e6c7f7e7c4cb5a5b4d6ed4e02667897ab695a519e4fa0f1f3e80c936e906a106f0ef100e6a1aa3c1f9a82ae5 -AUX audit-2.4.3-python.patch 2768 SHA256 aade1c5823f2a7b497a200232b7454791058cd7c8dd634daa4131b75e5bb203c SHA512 97c1f2eda07f3d986bab161d299f2cf110c1fdc76b889013748812ee7e33ece0fd6d3f34296d5d875db8c966d7fe77c57e2214c0cf6592beb48e462a504c1d70 WHIRLPOOL ed3680b92316dbd06e781618f77376fdccd111e5d50ee2ecfcfabbdcdcad86d3ccfa121936327d125ea79b0529acede3d937967c57294edd729e8ff6efc9c6b8 -AUX audit.rules 893 SHA256 97e4606990908599c9d5ccfd03e9749df60603f55841c0cb51a650a5e7cc0646 SHA512 ded68099edbb27fb97b5699c63014cd4fc4cb6e819941fda230389ef64b8614e50f7e3786fdee1537cd7e3c95ee0fa640c2640f718fe4e820d610cd10d8ee9f5 WHIRLPOOL 42541f47f49af979932c33c905e291d97240d089cce509ed1224a6891f37a7538c701e2ab1c6a9e03f69f6ab80e05aaf4ef61b2e6ec0afb2b78711bf18c4ef1b -AUX audit.rules-2.1.3 1016 SHA256 25d889c1c7c298f51c5f77a9a1e51467579f5142cefc75656d8ae1f419bcfabc SHA512 212060f6d771625e97d4b1a3ea978792e16f18ac3bf8d942eed07b47e398761040bc3889d20aa41fc09ecf9081c08bfb26cb23b72aaa03ea60816732ef4de469 WHIRLPOOL fa6a8e6b2e5197c4d086aa8603de77285549835e48a6efbba61461fdecbda75ee60692b31f9983022a391b9662a4ab1eec086382064929525904401f4722b7d3 -AUX audit.rules.stop.post 459 SHA256 7b0f4c21c12018167800235c5b2a01e73c973799d2917d7b01108777ce577744 SHA512 a578065758cf8c1003b3bfc6b88b287b86d7d5fe99a90612a4b1263e2c29bd9c10df8e80b3051554e2d769a2280524acc33a0a4eaa14f3c39960414c797f4278 WHIRLPOOL 5b77f1055e4e62f962be329511ae084a43a81943ac6ae0a61427c3f6d8ca07483895050724825f43e781a044435ec2e9f1ca94ba4e21b04112c4eb2eaee20e28 -AUX audit.rules.stop.pre 434 SHA256 edd04bafb2146e74803119dba2cce6026035147ad6081ad75ea6368e017b799d SHA512 34652e8533de6b85d004d32bb2c0cf1f6efa6475768dbc83ea6f12d95942fd2bd173cec26624bb1ba22ed018697d01fc4c8e92e98311be2857e4e5b9e32d55ec WHIRLPOOL 83257c50b643094bf90c27e78e14d4d864e444aa828250b5fb1dfa85f21522ca967acdddf9ecff5c013e41d502cd2b21dae9844159a1daefda4d27ca0e037f92 -AUX auditd-conf.d-1.2.3 574 SHA256 651d7f4542cd84b1c2b2d1ebf450265611aa046d98848809dee21c9388a85cb1 SHA512 83598e5ff4b68e37dfa0128b11c8c26a6c166bfbb3ef73c0796bf1de15651a1c3ef2802bd2460fd0a9dad6dda228672bdb64dfeb98259dea1a9e1dc553915a0d WHIRLPOOL edfc05074db6c8a96ac3d5a207ca35e8e1da50116943b3fa06a3e5cf395ba22d1219b406409f29dd0c3ae709ae63a662f2aa43fc01723ed33ff505af182d5e03 -AUX auditd-conf.d-2.1.3 741 SHA256 792f6bf0630afc649780428440a18f5ba849206eb04feff2a834520a0cfca0a8 SHA512 6ddfc41a5a02dfa825cbe0a0153ee29410f9bb78ee0f3d47ec87b51858d8ad5cea0b19d1f35345f5e399f082a5ea81037c3f6d1aa4cf6d1f18f6a6d50c6b66e5 WHIRLPOOL c9f175588d7d24965a958bc1fe2b9582ce99a11b97ab5ec2fec82b42b453d08e5ed3b7b6927937ce575f454d811b3e1978ec30e2b29fd0dcce5b3ece6334204d -AUX auditd-init.d-1.7.17 1117 SHA256 e0b106946ba1e0af6ae7b44ab12d85a41b48f30a009e4838b3bdd88f67be04cd SHA512 e860cc3df83a33929965afbeaa55c553d5d16bdc7a85c481e6cbfbe5d77bb46fa959492a7855923bbafbfd3a8391e0b9d906943ab9953e7bdf2a5960a647a197 WHIRLPOOL 7298993909b57fc5afe43903d3ccf111ac63a263c9cd0d5db0f0d960eb2d94bb2c79749d30645ca802bad71adfe625f3a23498ca6517ea2eedeb968d84453662 -AUX auditd-init.d-2.1.3 2230 SHA256 6271949f50dd56bf33028aa10bfb636aaf65ea627ddaf11ff550343163296b37 SHA512 b729568a4f2d23c9dff247a728303816c6eeb62bd3fb99947da468767ad522dda723ffd646a3609d7feb74d7a1179daf53cc350df25b100c38aa6a774228fa11 WHIRLPOOL edbe765850c7bb388093ab63324e257025df9a6b97326d0d625cc8c23c88d008b75da2b5f904b3a3accf29ded524559fb5d4e13124c16ad4f81fd4b227f0393c -AUX auditd-init.d-2.4.3 2061 SHA256 f30f3bdf906d98fa0c40055a0b0f474b2ac6ebe69da5aa738caf464fadd0cb47 SHA512 32c29837d7f15840f646f9894d2ee479b3f2cf225ea13bde5a72719c2c6e17d709dfd996b87e939349cd1313035cf451e5e93137b4b64f81d711a51a5a0e0ab1 WHIRLPOOL 1773468e934242147af7cf094d87a711a4f3ff08ec6a7ef322bae8230ff6b5141667d1d17103ee40993b25f87bfd6e3af47b9742655ec3ccbe976499725414eb -DIST audit-1.7.18.tar.gz 1566698 SHA256 c3e9e7df9e0776c3f90acfde7432ed362ff3ae5c40488391789bc8262f97f17c SHA512 15d27602dcb8d5a0dac2eb299a96d4d34b36fd303c90bd1cee6d6151bc1c6b83f09e7437029bee54f4435afd1386be0a1351bde1fb705ac24749b9e31c75919f WHIRLPOOL fc38a5668fdd72c11269000f384abb1d783bbec36c20df9bd266a4dfccd0363d9616bff46c708882c3b66520d141f298346add3637ae1a5db5e646a7bd1db539 -DIST audit-2.0.5.tar.gz 810519 SHA256 1ef85e606a0fda21596577f5c205c0df7eb56d7cffbb84aeeeb72ce44e61a83b SHA512 5e5e7f6af79792aa4f8577b6a5975440167b19e35d555c7c60c51d0af20f6bfeafb78a89f8b546efe9b9c79296ee5872fa0056f34a61650c66f34ceedc8b15c4 WHIRLPOOL d5ec4d00555858f8d8e5d42400ce0775b9db1d7fc1efc995dbfb45fc59c34d2b0268879d2fd35b60af3b07498e166b2afc6dbbc23f5943a50e1da9898d7aeb4b -DIST audit-2.1.3.tar.gz 833647 SHA256 1c61858d8ed299128aa6bd8e85bac758bfe33e61358d259e52acb7d961fee90e SHA512 0f5c02ee3eb35687e85cfea0cae2bc11c35d2de5c44347f8f3cde4d268aeef215547cfb4b577afffc737ce5944219f46b4594ac122479d8b2e185efe3cdb069b WHIRLPOOL c83ac2bf929f524c4bc34ffcd503db9687a2c8affe3b5bb0a908e40ba8e98beced6fee6f3212db7267cf11cef3dbd13915a1ee09334f2cf58a686a1acfff0946 -DIST audit-2.2.2.tar.gz 907066 SHA256 8bc2b45a5f08f5df6cebcd5543f24b7e68e28b64da4b23f08de2c6616384302b SHA512 98d83162e69816611dfac3d3ecc19235403ea5809d7a5cd9f13444c2085f03e46657802addb58ee31c251749f89417926ae40bcd99a77d64f062712830fde9bb WHIRLPOOL f127d3b9645d4e679a83767d688b83c7d59d4a35a166bc9f5038df89852768b695bc0c30e26fea0930aa29fed4583aa5218a42d5898d2a7c542e04cf58b9a9e9 -DIST audit-2.4.1.tar.gz 942147 SHA256 059346fa0e922faf4dcc054382b21f4845cd8c4942e82cfd0d4cd52bd2b03026 SHA512 4ca29ee2c784861f75f9e05f5c4dfc3d3ebb9d51e454e8a069ef4d08db3754fb19189714935351e70b26ed44347a266ae6c31e68361d5e9efd89f657f91dbd50 WHIRLPOOL 49ecfdd2363eb8bcf25d40b36bf228c8bd31611804b284dde004d42a250a39c387bd0abff223cf4041f62805d5bb189a19375f5806385344ca219d823d267f2e -DIST audit-2.4.3.tar.gz 998974 SHA256 9c914704fecc602e143e37152f3efbab2469692684c1a8cc1b801c1b49c7abc6 SHA512 2bbaa11ed5e2d8138711df325ec1997c4eb955123699fd330b5272b7f3475ca61c9753e1c103abfc9c49e1fc8aaf52dbd55545e3f1874214979ddece64ad79aa WHIRLPOOL 1a0c0a273fddc49d15322a2423d4038488738d6597d0641182befab91646355bbee393a5d09d446dc4cf2f4579dd7ea99928cadd77bc72c355db0a10d4964da5 -EBUILD audit-1.7.18.ebuild 3387 SHA256 ddf753ee2e5e9bae1b5b7c585b350341cd97d73c6a0156bceb5e995ee3af7b24 SHA512 c56b6a006eb20d8be947eb9ebb9de5411a7e262cf96e8affe777e29735e65904dededf3637ef98dd04ffd7e5b903908353dda34e412c92e704a324e4ebbb35ce WHIRLPOOL 9b501a6d565aab18e7733e2d6cffd5f09ef63bc43a1f28a24187763fcaddf5192f7e0877f8cd551109bf6c02b1406ee8192326c29fd5f800e90b4cef024517f0 -EBUILD audit-2.0.5.ebuild 4365 SHA256 985b3cf25311174f25bebd3bc2af70580caf2846c683e98f85085effca48e532 SHA512 03fb26e0ed8f7a4818cd4e81ad26873669af56f9ad6c3d323b40a4ce69cf6886b674a7328f910064665f05e1eb27d79dc506ec5a6870110383da50001f87af29 WHIRLPOOL 17967f9a1a815c00563e13c158c65692c71500ef3169ae496197bc20a787c178b80dfd9837738706975d748d872a4bbd286eac1b523691cdfdb4d97a5ea63428 -EBUILD audit-2.1.3-r1.ebuild 4868 SHA256 3d48617cedb13a839712396101acf1009efa9ed9f82a08852c801325a0995651 SHA512 9b53b18f696c61c57b22ee0232881dc5a4fd88a9af3e9b4e42f81706b92b4ffc9fbfb6aa5332389ffa61b14d966f1e26a5256f9053359fe63ae1410fe7f1edd7 WHIRLPOOL a9f9b74030eabd9153b69eaeafe204866ed0b7058650542d5b42f7bb5ca4ef974c3db6eadc038ca0ea32c099674e517bf90e5a48ca8b7d8fbbc4316594724a61 -EBUILD audit-2.2.2-r2.ebuild 5181 SHA256 21c2123c1b13b4b3fb6170ab35d972a9626dd722befaf850ec6f9d9c302b7db4 SHA512 32d2f70fb47a5499bbc96f47a48e854d0dd0f121f35eeba84525b73abbfa2b96472230231d330cd9aefc8867292bb6f4d0626483634835662dbe228a90e1c357 WHIRLPOOL f991073bba8ac10ddfb0e47d5f6077998f9da8805e23d603c2c9ed7f7e0070d8634d069d23ce0cbbe649b339eef4bd8be7aeef8448a5514834adb5f266fe02b8 -EBUILD audit-2.2.2-r3.ebuild 5173 SHA256 e2da5d833404493607b65be5a89cc8501cfdd27d231ddfb79d65419be106dcc5 SHA512 ed085c868cc1381c0a19cf27748776bf2f369aec33ddbda6f21d9893994cf4902a47683ab71ee35c96130a8c761c14c0a035ab492b558e1bdf163523dd7da216 WHIRLPOOL 98ecf67ae7b32196b8cc5929a72804fc7a097ff8f96d55d8b61c78dde01b5325f1dba4484115d8409d12b97f89fed9dc1bfe7cc901acc6348ff3ec5c03113ec1 -EBUILD audit-2.4.1-r1.ebuild 4839 SHA256 97735670fd310b3aa27d5254e47ece173bc8a8d41e7432bab0993a44e74ddbfb SHA512 59d993e2f7b1ae330403885b336f668e665b1a557364c3eafbf5fe163fb1c2c7dbff37f3711f3a8b105ce315e84d6d42964ad72b4ffd8343ca4a8184e895834c WHIRLPOOL fbe63ae66b9e1974b4aa08edceecd6dd684ed1f3889b1bdad4a7b4b0b68c0d1b2b12b1a24772ab0a16822aa380e9027a7a88ee4b2710f7d2115271ac2c515779 -EBUILD audit-2.4.1.ebuild 4855 SHA256 a1b23c4901c2a468c9c58fe0016805b6f69bbec03de9363d534926f0e7eea4bb SHA512 64188cd9130f3a50c5bd3a30ec24ff93b9ac2489933ec0d8efa0adb1d745c287a73ad7e1d1e5773516cf7788376818d0194bdb638f215e1ff158b80aca87d812 WHIRLPOOL b5b21f8546dc4bbf8d32c98548e797f87ca7ebb47b70b3bfb8a91d96effc56dff14283497762d87ad61a40444a311d0ba325b8a757987f84e6ac0176b4ed3cab -EBUILD audit-2.4.3-r1.ebuild 5926 SHA256 021705329824dca0290d77f9e7e6007659b303989fa9a5f1e5869caf6a912fac SHA512 4bb8651ea54a019cb510683b6a6932dec97bdb6bd3f27be1658a79705d0707ac3e511aa38336e4c4e56e3b842fb173b5323f1e5b823ceecdd2d8203c7c9b173d WHIRLPOOL f097df648ee295f4df3bb610dbc1df94dee9a0251c5b7e77650eed7897cf06688ac732d301e28b32f891e5c5653ead0116d01e5984547b52412029ff49b76a34 -EBUILD audit-2.4.3.ebuild 5836 SHA256 9fa349a763557015fe0954460b09d810a2379240beeda111fcfe4000035efdc0 SHA512 29f75a2472f9ead9d84600b7d134d7335f4e7ef8df25f006cf6abeea114b8f78f284169e6fbc73b61063840dc83361b3cb79c318559b7ed205e21ce47ec2b17a WHIRLPOOL 141bb7bca1b6f63def014dfbdf90839f589984096b109fe5caaa5ce302d32ceb984b209b0ea3353ecad98a05704c957fe5a077a6415c7784b4a0fd6f3c3ed72c -MISC ChangeLog 4755 SHA256 f1702f2787bd8c79033eb6f8a09e1968eae7fcdeb52e3e6f8a9ad967d3784116 SHA512 9a2e79eb2d4ac13f0bfb272e512d10a280b6b29d2bb6ddb7c0703773b612d192e5ea3e3a0576c497c2db4b1cab84702cf301001659e9333d6825b713b2be53d9 WHIRLPOOL 829d5482d23d13796f19e4b23ac085eb70b45c9489fdfdd166192597ddd4212751e69804646c5656a09f7a2cd14bb6e02b480a5370802b10860f3408552c68b5 -MISC ChangeLog-2015 17139 SHA256 536d8c85e999f9a2bf0de947d823ef369976f4d1f1219d618bebb913dae98120 SHA512 36f72d6e38542467e7bfb13f423f60e157c5516f567ef8849c6f3acdd5a110654a313735a845a9054ab5a9841c9121ccab282bfaf3f315de540107f57fe8895c WHIRLPOOL 36375594c8f6988168053c80c96432588e0a6a06f2bdb9effda701f740564ba200391bc2abe327e64e018f5a56a34f46d7bcf8f93d49e54283ae57613825d27b -MISC metadata.xml 222 SHA256 432ab13a142cc8c662b1cc100016536215338c0febabe341aaab6c9eef00c1f3 SHA512 05134582b0d0287f20fd3702d042ca556dc42f3ca4568bfa73f6d9886ed8027057936af758ffbb252a5677e1af876c46e8d044f5fc691148922c5fa0c5cddc03 WHIRLPOOL 1b0f798595484b98ce893ce86eb52280b053707ba333f37944cad64c1647cf4789b2ce9815328dba862b38711d0a07e1a354ecc6ec93902fb79bb27d731aaa16 diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-1.7.18.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-1.7.18.ebuild deleted file mode 100644 index aa3c304e0a..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-1.7.18.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -PYTHON_DEPEND="2" - -inherit autotools eutils multilib toolchain-funcs python eutils - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="ldap" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap )" -DEPEND="${RDEPEND} - dev-lang/swig - >=sys-kernel/linux-headers-2.6.23" -# Do not use os-headers as this is linux specific - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # Old patch applies fine - #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch - - # Applied by upstream - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac - sed -i \ - -e 's,system-config-audit,,g' \ - -e '/^SUBDIRS/s,\\$,,g' \ - "${S}"/Makefile.am - rm -rf "${S}"/system-config-audit - - # Probably goes away in 1.6.9 - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-1.7.17-python.patch - # bug #405887 - epatch "${FILESDIR}"/audit-1.7.18-as-needed.patch - epatch "${FILESDIR}"/audit-1.7.18-missing_headers.patch - - # Regenerate autotooling - eautoreconf - - # Disable byte-compilation of Python modules. - echo "#!/bin/sh" > py-compile - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -src_configure() { - #append-flags -D'__attribute__(x)=' - econf --sbindir=/sbin --without-prelude -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/* - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-1.7.17 auditd - newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd - - # things like shadow use this so we need to be in / - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die - gen_usr_ldscript libaudit.so libauparse.so - - # remove RedHat garbage - rm -r "${D}"/etc/{rc.d,sysconfig} || die - - # Gentoo rules - insinto /etc/audit/ - doins "${FILESDIR}"/audit.rules* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - # Don't install .la files in Python directories. - python_clean_installation_image -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - python_mod_optimize audit.py -} - -pkg_postrm() { - python_mod_cleanup audit.py -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.0.5.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.0.5.ebuild deleted file mode 100644 index a7790c66f8..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.0.5.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" - -inherit autotools multilib toolchain-funcs python linux-info eutils - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="ldap prelude" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - prelude? ( dev-libs/libprelude ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - dev-lang/swig - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup - python_pkg_setup - PYTHON_DIRS="bindings/python swig" -} - -src_prepare() { - # Old patch applies fine - #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch - - # Applied by upstream - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - -e '/^SUBDIRS/s,\\$,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - # Probably goes away in 1.6.9 - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${P}-python.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS =/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Disable byte-compilation of Python modules. - echo "#!/bin/sh" > py-compile - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -src_configure() { - #append-flags -D'__attribute__(x)=' - econf --sbindir=/sbin $(use_with prelude) -} - -src_compile() { - default - - python_copy_sources ${PYTHON_DIRS} - - building() { - emake \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} building - done -} - -src_install() { - emake DESTDIR="${D}" install || die - - installation() { - emake \ - DESTDIR="${D}" \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" \ - install - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} installation - done - - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/* - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-1.7.17 auditd - newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd - - # things like shadow use this so we need to be in / - dodir /$(get_libdir) - mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die - gen_usr_ldscript libaudit.so libauparse.so - - # remove RedHat garbage - rm -r "${D}"/etc/{rc.d,sysconfig} || die - - # Gentoo rules - insinto /etc/audit/ - doins "${FILESDIR}"/audit.rules* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - # Don't install .la files in Python directories. - python_clean_installation_image -} - -pkg_preinst() { - default - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - python_mod_optimize audit.py - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postrm() { - python_mod_cleanup audit.py -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.1.3-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.1.3-r1.ebuild deleted file mode 100644 index 613825a918..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.1.3-r1.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -PYTHON_DEPEND="python? 2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" - -inherit autotools multilib toolchain-funcs python linux-info eutils - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="ldap prelude python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - prelude? ( dev-libs/libprelude ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -CONFIG_CHECK="~AUDIT" -PYTHON_DIRS="bindings/python swig" - -pkg_setup() { - linux-info_pkg_setup - use python && python_pkg_setup -} - -src_prepare() { - # Old patch applies fine - #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch - - # Applied by upstream - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - # Probably goes away in 1.6.9 - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.1.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Disable byte-compilation of Python modules. - echo "#!/bin/sh" > py-compile - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -src_configure() { - #append-flags -D'__attribute__(x)=' - econf --sbindir=/sbin $(use_with prelude) -} - -src_compile_python() { - python_copy_sources ${PYTHON_DIRS} - - building() { - emake \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} building - done -} - -src_compile() { - default - use python && src_compile_python -} - -src_install_python() { - installation() { - emake \ - DESTDIR="${D}" \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" \ - install - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} installation - done -} - -src_install() { - emake DESTDIR="${D}" install || die - use python && src_install_python - - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # remove RedHat garbage - rm -r "${D}"/etc/{rc.d,sysconfig} || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - # Don't install .la files in Python directories. - use python && python_clean_installation_image -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - use python && python_mod_optimize audit.py - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postrm() { - use python && python_mod_cleanup audit.py -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r2.ebuild deleted file mode 100644 index 1e04b6221c..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r2.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86" -IUSE="ldap prelude python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - prelude? ( dev-libs/libprelude ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - # Old patch applies fine - #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch - - # Applied by upstream - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - # Probably goes away in 1.6.9 - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.1.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - #append-flags -D'__attribute__(x)=' - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python \ - $(multilib_native_use_with prelude) - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - econf --with-python - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r3.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r3.ebuild deleted file mode 100644 index 20450b7ab7..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.2.2-r3.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ldap prelude python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - prelude? ( dev-libs/libprelude ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - # Old patch applies fine - #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch - - # Applied by upstream - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - # Probably goes away in 1.6.9 - #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.1.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - #append-flags -D'__attribute__(x)=' - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python \ - $(multilib_native_use_with prelude) - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - econf --with-python - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libaudit.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libaudit.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1-r1.ebuild deleted file mode 100644 index 3602fe86a1..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1-r1.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ldap python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( ${PYTHON_DEPS} - dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.4.1-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - #append-flags -D'__attribute__(x)=' - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - econf --with-python - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libaudit.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libaudit.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1.ebuild deleted file mode 100644 index 73901d54d8..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.1.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ldap python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( ${PYTHON_DEPS} - dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.4.1-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - #append-flags -D'__attribute__(x)=' - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - econf --with-python - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - emake -C "${BUILD_DIR}"/swig \ - VPATH="${native_build}/lib" \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python \ - VPATH="${S}/bindings/python:${native_build}/bindings/python" \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3-r1.ebuild deleted file mode 100644 index 05477318c1..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3-r1.ebuild +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" -IUSE="ldap python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.34 - python? ( - ${PYTHON_DEPS} - dev-lang/swig:0 - )" -# Do not use os-headers as this is linux specific - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - epatch_user - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.4.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # there is no --without-golang conf option - sed -e "/^SUBDIRS =/s/ @gobind_dir@//" -i bindings/Makefile.am || die - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python \ - --without-python3 - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - - if python_is_python3; then - econf --without-python --with-python3 - else - econf --with-python --without-python3 - fi - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - local pysuffix pydef - if python_is_python3; then - pysuffix=3 - pydef='USE_PYTHON3=true' - else - pysuffix=2 - pydef='HAVE_PYTHON=true' - fi - - emake -C "${BUILD_DIR}"/bindings/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" \ - _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ - _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ - ${pydef} - emake -C "${BUILD_DIR}"/bindings/python/python${pysuffix} \ - VPATH="${S}/bindings/python/python${pysuffix}:${native_build}/bindings/python/python${pysuffix}" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ - ${pydef} - } - - local native_build="${BUILD_DIR}" - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - local pysuffix pydef - if python_is_python3; then - pysuffix=3 - pydef='USE_PYTHON3=true' - else - pysuffix=2 - pydef='HAVE_PYTHON=true' - fi - - emake -C "${BUILD_DIR}"/bindings/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" \ - _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ - _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ - ${pydef} \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python/python${pysuffix} \ - VPATH="${S}/bindings/python/python${pysuffix}:${native_build}/bindings/python/python${pysuffix}" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ - ${pydef} \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - chmod 644 "${D}/$(systemd_get_unitdir)"/auditd.service || die # 556436 - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libaudit.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libaudit.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3.ebuild deleted file mode 100644 index 6421e2e8a9..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-2.4.3.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) - -inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ldap python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( ${PYTHON_DEPS} - dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -CONFIG_CHECK="~AUDIT" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - epatch_user - - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.4.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # there is no --without-golang conf option - sed -e "/^SUBDIRS =/s/ @gobind_dir@//" -i bindings/Makefile.am || die - - # Regenerate autotooling - eautoreconf - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -multilib_src_configure() { - local ECONF_SOURCE=${S} - econf \ - --sbindir=/sbin \ - --enable-systemd \ - --without-python \ - --without-python3 - - if multilib_is_native_abi; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die - - if python_is_python3; then - econf --without-python --with-python3 - else - econf --with-python --without-python3 - fi - } - - use python && python_foreach_impl python_configure - fi -} - -multilib_src_compile() { - if multilib_is_native_abi; then - default - - python_compile() { - local pysuffix pydef - if python_is_python3; then - pysuffix=3 - pydef='USE_PYTHON3=true' - else - pysuffix=2 - pydef='HAVE_PYTHON=true' - fi - - emake -C "${BUILD_DIR}"/bindings/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" \ - _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ - _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ - ${pydef} - emake -C "${BUILD_DIR}"/bindings/python/python${pysuffix} \ - VPATH="${S}/bindings/python/python${pysuffix}:${native_build}/bindings/python/python${pysuffix}" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ - ${pydef} - } - - local native_build="${BUILD_DIR}" - use python && python_foreach_impl python_compile - else - emake -C lib - emake -C auparse - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install - - python_install() { - local pysuffix pydef - if python_is_python3; then - pysuffix=3 - pydef='USE_PYTHON3=true' - else - pysuffix=2 - pydef='HAVE_PYTHON=true' - fi - - emake -C "${BUILD_DIR}"/bindings/swig \ - VPATH="${native_build}/lib" \ - LIBS="${native_build}/lib/libaudit.la" \ - _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ - _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ - ${pydef} \ - DESTDIR="${D}" install - emake -C "${BUILD_DIR}"/bindings/python/python${pysuffix} \ - VPATH="${S}/bindings/python/python${pysuffix}:${native_build}/bindings/python/python${pysuffix}" \ - auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ - ${pydef} \ - DESTDIR="${D}" install - } - - local native_build=${BUILD_DIR} - use python && python_foreach_impl python_install - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - else - emake -C lib DESTDIR="${D}" install - emake -C auparse DESTDIR="${D}" install - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - [ -f "${D}"/sbin/audisp-remote ] && \ - dodir /usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - prune_libtool_files --modules -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libaudit.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libaudit.so.0 -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.17-python.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.17-python.patch deleted file mode 100644 index 13fed4a803..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.17-python.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- swig/Makefile.am -+++ swig/Makefile.am -@@ -28,7 +28,8 @@ - pyexec_PYTHON = audit.py - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so --_audit_la_LDFLAGS = -module -avoid-version -+_audit_la_CFLAGS = -shared -+_audit_la_LDFLAGS = -module -avoid-version -shared - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - nodist__audit_la_SOURCES = audit_wrap.c diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-as-needed.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-as-needed.patch deleted file mode 100644 index 2e951d07bb..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-as-needed.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- audit-1.7.13.orig/src/Makefile.in -+++ audit-1.7.13/src/Makefile.in -@@ -273,10 +273,10 @@ - AM_CFLAGS = -D_REENTRANT -D_GNU_SOURCE - noinst_HEADERS = auditd-config.h auditd-event.h auditd-listen.h ausearch-llist.h ausearch-options.h auditctl-llist.h aureport-options.h ausearch-parse.h aureport-scan.h ausearch-lookup.h ausearch-int.h auditd-dispatch.h ausearch-string.h ausearch-nvpair.h ausearch-common.h ausearch-avc.h ausearch-time.h ausearch-lol.h - auditd_SOURCES = auditd.c auditd-event.c auditd-config.c auditd-reconfig.c auditd-sendmail.c auditd-dispatch.c auditd-listen.c --auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing --auditd_LDFLAGS = -pie -Wl,-z,relro -+auditd_CFLAGS = -pthread -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -+auditd_LDFLAGS = -pthread -pie -Wl,-z,relro - auditd_DEPENDENCIES = mt/libauditmt.a libev/libev.a - auditd_LDADD = @LIBWRAP_LIBS@ @libev_LIBS@ -Llibev -lev -lrt -lm $(gss_libs) - auditctl_SOURCES = auditctl.c auditctl-llist.c delete_all.c - auditctl_DEPENDENCIES = mt/libauditmt.a - aureport_SOURCES = aureport.c auditd-config.c ausearch-llist.c aureport-options.c ausearch-string.c ausearch-parse.c aureport-scan.c aureport-output.c ausearch-lookup.c ausearch-int.c ausearch-time.c ausearch-nvpair.c ausearch-avc.c ausearch-lol.c ---- audit-1.7.13.orig/src/Makefile.am -+++ audit-1.7.13/src/Makefile.am -@@ -31,10 +31,10 @@ - noinst_HEADERS = auditd-config.h auditd-event.h auditd-listen.h ausearch-llist.h ausearch-options.h auditctl-llist.h aureport-options.h ausearch-parse.h aureport-scan.h ausearch-lookup.h ausearch-int.h auditd-dispatch.h ausearch-string.h ausearch-nvpair.h ausearch-common.h ausearch-avc.h ausearch-time.h ausearch-lol.h - - auditd_SOURCES = auditd.c auditd-event.c auditd-config.c auditd-reconfig.c auditd-sendmail.c auditd-dispatch.c auditd-listen.c --auditd_CFLAGS = -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing --auditd_LDFLAGS = -pie -Wl,-z,relro -+auditd_CFLAGS = -pthread -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -+auditd_LDFLAGS = -pthread -pie -Wl,-z,relro - auditd_DEPENDENCIES = mt/libauditmt.a libev/libev.a - auditd_LDADD = @LIBWRAP_LIBS@ @libev_LIBS@ -Llibev -lev -lrt -lm $(gss_libs) - - auditctl_SOURCES = auditctl.c auditctl-llist.c delete_all.c - auditctl_DEPENDENCIES = mt/libauditmt.a diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-missing_headers.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-missing_headers.patch deleted file mode 100644 index 120b173a0d..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-1.7.18-missing_headers.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: audit-1.7.13/lib/libaudit.c -=========================================== ---- audit-1.7.13.orig/lib/libaudit.c -+++ audit-1.7.13/lib/libaudit.c -@@ -36,6 +36,8 @@ - #include - #include /* O_NOFOLLOW needs gnu defined */ - #include /* for PATH_MAX */ -+#include -+#include - - #include "libaudit.h" - #include "private.h" diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.0.5-python.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.0.5-python.patch deleted file mode 100644 index 29742ab5c5..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.0.5-python.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- bindings/python/Makefile.am -+++ bindings/python/Makefile.am -@@ -27,5 +27,6 @@ - - auparse_la_SOURCES = auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) -I/usr/include/python$(PYTHON_VERSION) -fno-strict-aliasing --auparse_la_LDFLAGS = -module -avoid-version -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared - auparse_la_LIBADD = ../../auparse/libauparse.la ../../lib/libaudit.la ---- swig/Makefile.am -+++ swig/Makefile.am -@@ -28,7 +28,8 @@ - pyexec_PYTHON = audit.py - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so --_audit_la_LDFLAGS = -module -avoid-version -+_audit_la_CFLAGS = -shared -+_audit_la_LDFLAGS = -module -avoid-version -shared - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - nodist__audit_la_SOURCES = audit_wrap.c diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch deleted file mode 100644 index 3ec60fbc48..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch +++ /dev/null @@ -1,212 +0,0 @@ -diff -Nuar -X exclude audit-2.1.3.orig/configure.ac audit-2.1.3/configure.ac ---- audit-2.1.3.orig/configure.ac 2011-08-15 17:30:58.000000000 +0000 -+++ audit-2.1.3/configure.ac 2012-12-18 20:03:22.000000000 +0000 -@@ -79,6 +79,9 @@ - esac - fi - -+AC_CHECK_HEADER([asm/ptrace.h], [AC_DEFINE([HAVE_ASM_PTRACE_H],[],[Define to 1 if you have asm/ptrace.h])], []) -+AC_CHECK_HEADER([linux/ptrace.h], [AC_DEFINE([HAVE_LINUX_PTRACE_H],[],[Define to 1 if you have linux/ptrace.h])], []) -+ - #gssapi - AC_ARG_ENABLE(gssapi_krb5, - [AS_HELP_STRING([--enable-gssapi-krb5],[Enable GSSAPI Kerberos 5 support @<:@default=no@:>@])], -diff -Nuar -X exclude audit-2.1.3.orig/src/auditctl.c audit-2.1.3/src/auditctl.c ---- audit-2.1.3.orig/src/auditctl.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditctl.c 2012-12-18 20:21:21.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include /* strdup needs xopen define */ -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-config.c audit-2.1.3/src/auditd-config.c ---- audit-2.1.3.orig/src/auditd-config.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-config.c 2012-12-18 20:21:23.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-dispatch.c audit-2.1.3/src/auditd-dispatch.c ---- audit-2.1.3.orig/src/auditd-dispatch.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-dispatch.c 2012-12-18 20:21:27.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-event.c audit-2.1.3/src/auditd-event.c ---- audit-2.1.3.orig/src/auditd-event.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-event.c 2012-12-18 20:21:29.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-listen.c audit-2.1.3/src/auditd-listen.c ---- audit-2.1.3.orig/src/auditd-listen.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-listen.c 2012-12-18 20:21:31.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-reconfig.c audit-2.1.3/src/auditd-reconfig.c ---- audit-2.1.3.orig/src/auditd-reconfig.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-reconfig.c 2012-12-18 20:21:33.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-sendmail.c audit-2.1.3/src/auditd-sendmail.c ---- audit-2.1.3.orig/src/auditd-sendmail.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-sendmail.c 2012-12-18 20:21:34.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include // for access() - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd.c audit-2.1.3/src/auditd.c ---- audit-2.1.3.orig/src/auditd.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd.c 2012-12-18 20:21:38.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/autrace.c audit-2.1.3/src/autrace.c ---- audit-2.1.3.orig/src/autrace.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/autrace.c 2012-12-18 20:21:43.000000000 +0000 -@@ -21,6 +21,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/src/delete_all.c audit-2.1.3/src/delete_all.c ---- audit-2.1.3.orig/src/delete_all.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/delete_all.c 2012-12-18 20:21:48.000000000 +0000 -@@ -20,6 +20,7 @@ - * Steve Grubb - */ - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar -X exclude audit-2.1.3.orig/lib/fixup.h audit-2.1.3/lib/fixup.h ---- audit-2.1.3.orig/lib/fixup.h 1970-01-01 00:00:00.000000000 +0000 -+++ audit-2.1.3/lib/fixup.h 2012-12-18 20:21:02.000000000 +0000 -@@ -0,0 +1,17 @@ -+#ifndef _AUDIT_IA64_FIXUP_H_ -+#define _AUDIT_IA64_FIXUP_H_ -+ -+#ifdef __ia64__ /* what a pos */ -+# include -+# define _ASM_IA64_FPU_H -+#endif -+#include -+/* -+#ifdef HAVE_ASM_PTRACE_H -+# include -+#endif -+#ifdef HAVE_LINUX_PTRACE_H -+# include -+#endif -+*/ -+#endif ---- audit-2.1.3/src/ausearch.c 2012-12-22 03:09:54.000000000 +0000 -+++ audit-2.1.3/src/ausearch.c 2012-12-22 03:10:02.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar audit-2.1.3.orig/audisp/audispd.c audit-2.1.3/audisp/audispd.c ---- audit-2.1.3.orig/audisp/audispd.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/audispd.c 2012-12-22 03:25:15.000000000 +0000 -@@ -21,6 +21,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c ---- audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c 2012-12-22 03:25:20.000000000 +0000 -@@ -21,6 +21,8 @@ - * - */ - -+#include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c audit-2.1.3/audisp/plugins/remote/audisp-remote.c ---- audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/plugins/remote/audisp-remote.c 2012-12-22 03:25:22.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar audit-2.1.3.orig/contrib/plugin/audisp-example.c audit-2.1.3/contrib/plugin/audisp-example.c ---- audit-2.1.3.orig/contrib/plugin/audisp-example.c 2011-08-15 17:31:02.000000000 +0000 -+++ audit-2.1.3/contrib/plugin/audisp-example.c 2012-12-22 03:25:27.000000000 +0000 -@@ -37,6 +37,8 @@ - */ - - #define _GNU_SOURCE -+#include "config.h" -+#include "fixup.h" - #include - #include - #include -diff -Nuar audit-2.1.3.orig/contrib/skeleton.c audit-2.1.3/contrib/skeleton.c ---- audit-2.1.3.orig/contrib/skeleton.c 2011-08-15 17:31:02.000000000 +0000 -+++ audit-2.1.3/contrib/skeleton.c 2012-12-22 03:25:40.000000000 +0000 -@@ -7,6 +7,8 @@ - * gcc skeleton.c -o skeleton -laudit - */ - -+#include "config.h" -+#include "fixup.h" - #include - #include - #include diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-python.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-python.patch deleted file mode 100644 index a9feec14e8..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.1.3-python.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nuar --exclude '*.orig' audit-2.1.3.orig/bindings/python/Makefile.am audit-2.1.3/bindings/python/Makefile.am ---- audit-2.1.3.orig/bindings/python/Makefile.am 2011-08-15 17:31:01.000000000 +0000 -+++ audit-2.1.3/bindings/python/Makefile.am 2011-09-10 19:01:36.974983756 +0000 -@@ -27,5 +27,6 @@ - - auparse_la_SOURCES = auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) -I/usr/include/python$(PYTHON_VERSION) -fno-strict-aliasing --auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - auparse_la_LIBADD = ../../auparse/libauparse.la ../../lib/libaudit.la -diff -Nuar --exclude '*.orig' audit-2.1.3.orig/swig/Makefile.am audit-2.1.3/swig/Makefile.am ---- audit-2.1.3.orig/swig/Makefile.am 2011-08-15 17:31:03.000000000 +0000 -+++ audit-2.1.3/swig/Makefile.am 2011-09-10 19:02:14.095067690 +0000 -@@ -28,7 +28,8 @@ - pyexec_PYTHON = audit.py - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so --_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+_audit_la_CFLAGS = -shared -+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - nodist__audit_la_SOURCES = audit_wrap.c diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.1-python.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.1-python.patch deleted file mode 100644 index 6c27396ef3..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.1-python.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- audit-2.4.1/bindings/python/Makefile.am -+++ audit-2.4.1/bindings/python/Makefile.am -@@ -27,5 +27,6 @@ - - auparse_la_SOURCES = auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) -I@PYINCLUDEDIR@ -fno-strict-aliasing --auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la ---- audit-2.4.1/swig/Makefile.am -+++ audit-2.4.1/swig/Makefile.am -@@ -27,7 +27,8 @@ - pyexec_PYTHON = audit.py - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so --_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+_audit_la_CFLAGS = -shared -+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - nodist__audit_la_SOURCES = audit_wrap.c diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.3-python.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.3-python.patch deleted file mode 100644 index 7b9ea53e09..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-2.4.3-python.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -ur audit-2.4.3.orig/bindings/python/python2/Makefile.am audit-2.4.3/bindings/python/python2/Makefile.am ---- audit-2.4.3.orig/bindings/python/python2/Makefile.am 2015-07-22 23:35:24.315424091 +0800 -+++ audit-2.4.3/bindings/python/python2/Makefile.am 2015-07-22 23:37:16.861510504 +0800 -@@ -29,5 +29,6 @@ - - auparse_la_SOURCES = $(top_srcdir)/bindings/python/auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) --auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la -diff -ur audit-2.4.3.orig/bindings/python/python3/Makefile.am audit-2.4.3/bindings/python/python3/Makefile.am ---- audit-2.4.3.orig/bindings/python/python3/Makefile.am 2015-07-22 23:35:24.315424091 +0800 -+++ audit-2.4.3/bindings/python/python3/Makefile.am 2015-07-22 23:37:30.395400641 +0800 -@@ -28,5 +28,6 @@ - - auparse_la_SOURCES = $(top_srcdir)/bindings/python/auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) --auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la -diff -ur audit-2.4.3.orig/bindings/swig/python/Makefile.am audit-2.4.3/bindings/swig/python/Makefile.am ---- audit-2.4.3.orig/bindings/swig/python/Makefile.am 2015-07-22 23:35:24.316424083 +0800 -+++ audit-2.4.3/bindings/swig/python/Makefile.am 2015-07-22 23:35:53.244189263 +0800 -@@ -28,7 +28,7 @@ - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so - _audit_la_CFLAGS = -shared --_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - _audit_la_LIBADD = $(top_builddir)/lib/libaudit.la -diff -ur audit-2.4.3.orig/bindings/swig/python3/Makefile.am audit-2.4.3/bindings/swig/python3/Makefile.am ---- audit-2.4.3.orig/bindings/swig/python3/Makefile.am 2015-07-22 23:35:24.316424083 +0800 -+++ audit-2.4.3/bindings/swig/python3/Makefile.am 2015-07-22 23:36:27.833908482 +0800 -@@ -29,7 +29,7 @@ - py3exec_LTLIBRARIES = _audit.la - py3exec_SOLIBRARIES = _audit.so - _audit_la_CFLAGS = -shared --_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules deleted file mode 100644 index 4463b1f309..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -# -# This file contains the auditctl rules that are loaded -# whenever the audit daemon is started via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# First rule - delete all -# This is to clear out old rules, so we don't append to them. --D - -# Feel free to add below this line. See auditctl man page - -# The following rule would cause all of the syscalls listed to be ignored in logging. -# -a entry,never -S read -S write -S open -S fstat -S fstat64 -S mmap -S brk -S munmap -S _llseek -S nanosleep -S fcntl64 -S close -S dup2 -S rt_sigaction -S stat64 -S stat - -# The following rule would cause the capture of all systems not caught above. -# -a entry,always -S all - -# Increase the buffers to survive stress events --b 256 - -# vim:ft=conf: diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules-2.1.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules-2.1.3 deleted file mode 100644 index a53a70360d..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules-2.1.3 +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -# -# This file contains the auditctl rules that are loaded -# whenever the audit daemon is started via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# First rule - delete all -# This is to clear out old rules, so we don't append to them. --D - -# Feel free to add below this line. See auditctl man page - -# The following rule would cause all of the syscalls listed to be ignored in logging. --a exit,never -F arch=b32 -S read -S write -S open -S fstat -S mmap -S brk -S munmap -S nanosleep -S fcntl -S close -S dup2 -S rt_sigaction -S stat --a exit,never -F arch=b64 -S read -S write -S open -S fstat -S mmap -S brk -S munmap -S nanosleep -S fcntl -S close -S dup2 -S rt_sigaction -S stat - -# The following rule would cause the capture of all systems not caught above. -# -a exit,always -S all - -# Increase the buffers to survive stress events --b 8192 - -# vim:ft=conf: diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.post b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.post deleted file mode 100644 index 04d81dda96..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.post +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -# -# This file contains the auditctl rules that are loaded immediately after the -# audit deamon is stopped via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# Not used for the default Gentoo configuration as of v1.2.3 -# Paranoid security types might wish to reconfigure kauditd here. - -# vim:ft=conf: diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.pre b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.pre deleted file mode 100644 index 7fc0d84de9..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit.rules.stop.pre +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -# -# This file contains the auditctl rules that are loaded immediately before the -# audit deamon is stopped via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# auditd is stopping, don't capture events anymore --D - -# Disable kernel generating audit events --e 0 - -# vim:ft=conf: diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-1.2.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-1.2.3 deleted file mode 100644 index a8250c5fd2..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-1.2.3 +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# Configuration options for auditd -# -f for foreground mode -# There are some other options as well, but you'll have to look in the source -# code to find them as they aren't ready for use yet. -EXTRAOPTIONS='' - -# Audit rules file to run after starting auditd -RULEFILE_STARTUP=/etc/audit/audit.rules - -# Audit rules file to run before and after stopping auditd -RULEFILE_STOP_PRE=/etc/audit/audit.rules.stop.pre -RULEFILE_STOP_POST=/etc/audit/audit.rules.stop.post diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-2.1.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-2.1.3 deleted file mode 100644 index 923e9378f4..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-conf.d-2.1.3 +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# Configuration options for auditd -# -f for foreground mode -# There are some other options as well, but you'll have to look in the source -# code to find them as they aren't ready for use yet. -EXTRAOPTIONS='' - -# Audit rules file to run after starting auditd -RULEFILE_STARTUP=/etc/audit/audit.rules - -# Audit rules file to run before and after stopping auditd -RULEFILE_STOP_PRE=/etc/audit/audit.rules.stop.pre -RULEFILE_STOP_POST=/etc/audit/audit.rules.stop.post - -# If you want to enforce a certain locale for auditd, -# uncomment one of the next lines: -#AUDITD_LANG=none -AUDITD_LANG=C -#AUDITD_LANG=en_US -#AUDITD_LANG=en_US.UTF-8 diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-1.7.17 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-1.7.17 deleted file mode 100644 index 7a78e015e9..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-1.7.17 +++ /dev/null @@ -1,58 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -start_auditd() { - ebegin "Starting auditd" - start-stop-daemon \ - --start --quiet --pidfile /var/run/auditd.pid \ - --exec /sbin/auditd -- ${EXTRAOPTIONS} - local ret=$? - eend $ret - return $ret -} - -stop_auditd() { - ebegin "Stopping auditd" - start-stop-daemon \ - --stop --quiet --pidfile /var/run/auditd.pid - local ret=$? - eend $ret - return $ret -} - - -loadfile() { - local rules="$1" - if [ -n "${rules}" -a -f "${rules}" ]; then - einfo "Loading audit rules from ${rules}" - /sbin/auditctl -R "${rules}" 1>/dev/null - return $? - else - return 0 - fi -} - -start() { - start_auditd - local ret=$? - if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then - loadfile "${RULEFILE_STARTUP}" - fi - return $ret -} - -stop() { - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_PRE}" - stop_auditd - local ret=$? - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_POST}" - return $ret -} - -# This is a special case, we do not want to touch the rules at all -restart() { - stop_auditd - start_auditd -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.1.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.1.3 deleted file mode 100644 index b918ab6705..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.1.3 +++ /dev/null @@ -1,97 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_started_commands='reload reload_auditd reload_rules' -description='Linux Auditing System' -description_reload='Reload daemon configuration and rules' -description_reload_rules='Reload daemon rules' -description_reload_auditd='Reload daemon configuration' - -name='auditd' -pidfile='/var/run/auditd.pid' -command='/sbin/auditd' - -start_auditd() { - # Env handling taken from the upstream init script - if [ -z "$AUDITD_LANG" -o "$AUDITD_LANG" = "none" -o "$AUDITD_LANG" = "NONE" ]; then - unset LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - else - LANG="$AUDITD_LANG" - LC_TIME="$AUDITD_LANG" - LC_ALL="$AUDITD_LANG" - LC_MESSAGES="$AUDITD_LANG" - LC_NUMERIC="$AUDITD_LANG" - LC_MONETARY="$AUDITD_LANG" - LC_COLLATE="$AUDITD_LANG" - export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - fi - unset HOME MAIL USER USERNAME - - ebegin "Starting ${name}" - start-stop-daemon \ - --start --quiet --pidfile ${pidfile} \ - --exec ${command} -- ${EXTRAOPTIONS} - local ret=$? - eend $ret - return $ret -} - -stop_auditd() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - local ret=$? - eend $ret - return $ret -} - - -loadfile() { - local rules="$1" - if [ -n "${rules}" -a -f "${rules}" ]; then - einfo "Loading audit rules from ${rules}" - /sbin/auditctl -R "${rules}" 1>/dev/null - return $? - else - return 0 - fi -} - -start() { - start_auditd - local ret=$? - if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then - touch /var/lock/subsys/${name} - loadfile "${RULEFILE_STARTUP}" - fi - return $ret -} - -reload_rules() { - loadfile "${RULEFILE_STARTUP}" -} - -reload_auditd() { - [ -f ${pidfile} ] && kill -HUP `cat ${pidfile}` -} - -reload() { - reload_auditd - reload_rules -} - -stop() { - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_PRE}" - stop_auditd - rm -f /var/lock/subsys/${name} - local ret=$? - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_POST}" - return $ret -} - -# This is a special case, we do not want to touch the rules at all -restart() { - stop_auditd - start_auditd -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 deleted file mode 100644 index 33c932a2e1..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 +++ /dev/null @@ -1,91 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_started_commands='reload reload_auditd reload_rules' -description='Linux Auditing System' -description_reload='Reload daemon configuration and rules' -description_reload_rules='Reload daemon rules' -description_reload_auditd='Reload daemon configuration' - -name='auditd' -pidfile='/var/run/auditd.pid' -command='/sbin/auditd' - -start_auditd() { - # Env handling taken from the upstream init script - if [ -z "$AUDITD_LANG" -o "$AUDITD_LANG" = "none" -o "$AUDITD_LANG" = "NONE" ]; then - unset LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - else - LANG="$AUDITD_LANG" - LC_TIME="$AUDITD_LANG" - LC_ALL="$AUDITD_LANG" - LC_MESSAGES="$AUDITD_LANG" - LC_NUMERIC="$AUDITD_LANG" - LC_MONETARY="$AUDITD_LANG" - LC_COLLATE="$AUDITD_LANG" - export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - fi - unset HOME MAIL USER USERNAME - - ebegin "Starting ${name}" - start-stop-daemon \ - --start --quiet --pidfile ${pidfile} \ - --exec ${command} -- ${EXTRAOPTIONS} - local ret=$? - eend $ret - return $ret -} - -stop_auditd() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - local ret=$? - eend $ret - return $ret -} - -loadfile() { - local rules="$1" - if [ -n "${rules}" -a -f "${rules}" ]; then - einfo "Loading audit rules from ${rules}" - /sbin/auditctl -R "${rules}" >/dev/null - return $? - else - return 0 - fi -} - -start() { - start_auditd - local ret=$? - if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then - loadfile "${RULEFILE_STARTUP}" - fi - return $ret -} - -reload_rules() { - loadfile "${RULEFILE_STARTUP}" -} - -reload_auditd() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP \ - --exec "${command}" --pidfile "${pidfile}" - eend $? -} - -reload() { - reload_auditd - reload_rules -} - -stop() { - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_PRE}" - stop_auditd - local ret=$? - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_POST}" - return $ret -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-process/audit/metadata.xml deleted file mode 100644 index ee74e58c03..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - robbat2@gentoo.org - -