[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/

2021-12-06 Thread Sam James
commit: 7b784626d7ea683cdf32f7f2cfd0eefdc3f58bcf
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  7 07:25:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  7 07:25:18 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7b784626

sys-process/audit: treeclean (::gentoo works)

Signed-off-by: Sam James  gentoo.org>

 sys-process/audit/Manifest |   5 -
 sys-process/audit/audit-2.7.1.ebuild   | 232 
 sys-process/audit/audit-2.8.3.ebuild   | 232 
 sys-process/audit/audit-2.8.4.ebuild   | 233 -
 sys-process/audit/audit-2.8.5-r1.ebuild| 219 ---
 .../audit/files/audit-2.1.3-ia64-compile-fix.patch | 212 ---
 sys-process/audit/files/audit-2.4.3-python.patch   |  46 
 sys-process/audit/files/audit-2.7.1-musl.patch | 173 ---
 sys-process/audit/files/audit-2.7.1-swig.patch |  11 -
 sys-process/audit/files/audit-2.8.2-musl.patch | 149 -
 .../audit/files/audit-2.8.4-ia64-compile-fix.patch | 195 -
 .../audit-2.8.5-all-get-rid-of-strndupa.patch  |  57 -
 ...dit-2.8.5-auparse-remove-use-of-rawmemchr.patch |  33 ---
 sys-process/audit/files/audit.rules|  24 ---
 sys-process/audit/files/audit.rules-2.1.3  |  25 ---
 sys-process/audit/files/audit.rules.stop.post  |  12 --
 sys-process/audit/files/audit.rules.stop.pre   |  15 --
 sys-process/audit/files/auditd-conf.d-2.1.3|  22 --
 sys-process/audit/files/auditd-init.d-2.4.3|  90 
 sys-process/audit/metadata.xml |  10 -
 20 files changed, 1995 deletions(-)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
deleted file mode 100644
index 27420864..
--- a/sys-process/audit/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch 852 BLAKE2B 
60d8b813f57338ce267a09913e68a0726acf5cf878cd2893fe2493f80d2b0ac1e0504dc7a72e85134ae2597b268cb1772b4e7c6c2f19149fc905f6928e2db47f
 SHA512 
78e32c05b6896d37bacf0938954fbce7486a528dabd55421f1715438fe489171f9157059050abdcb3f673258aa28b4a11f643ddb7824f3499a195dbbe634f101
-DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
-DIST audit-2.8.3.tar.gz 1107583 BLAKE2B 
21c2b8543a31c0ca4319af40b844f4400615108a59195a95ea79499ff2923d7dbbc840716d60dfba311bfc451983cd4cd0f7cb27c2444825df2c0dfb50f9614f
 SHA512 
aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933
-DIST audit-2.8.4.tar.gz 1123889 BLAKE2B 
b80272b1984942d3c38bde30d22c736a8cc8896a2e42a9bf286446129313ce57a2a117ce26a0a5f1a4a06b4a48ddde463b8837b8c98273051be0c90e5bbebd42
 SHA512 
5795c565effab995cee447a2dc457ef6a6f15201fb185d7104992ac373a3cb5cfc865dd661c0896a895c96f452eff392d455064d0eead55cd7364d96e0d15c4a
-DIST audit-2.8.5_p80866dc78b5d.tar.gz 552094 BLAKE2B 
adb936a314ef2f11828ee00f3513631e06e2df09e37e68be27b1b694e278116d2f486dbde7ed57c77d9ff0bcd09309ea841959c7a66caed6770f367d65dd14f4
 SHA512 
7ec103bf076cfac7906748162e78835f1f65dd9d68e3a7466346e0473075beb47897adf88ab9ba0eb42db1953372aafb16cc040674b9a9c887730c062b82540a

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
deleted file mode 100644
index 4290aaea..
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd usr-ldscript
-
-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="amd64 arm arm64 ~mips ppc x86"
-IUSE="gssapi ldap python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
-RESTRICT="test"
-
-RDEPEND="gssapi? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
-   sys-libs/libcap-ng
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-2.6.34
-   python? ( dev-lang/swig:0 )"
-# Do not use os-headers as this is linux specific
-
-CONFIG_CHECK="~AUDIT"
-
-pkg_setup() {
-   linux-info_pkg_setup
-}
-
-src_prepare() {
-   eapply "${FILESDIR}/${P}-musl.patch"
-   eapply "${FILESDIR}/${P}-swig.patch"
-   eapply_user
-
-   # Do

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2021-02-10 Thread Sam James
commit: 8598f24bb55d79bf457861fce1730e57db1aab01
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 10 20:23:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 10 20:23:20 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=8598f24b

sys-process/audit: fix PYTHON_COMPAT

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-process/audit/audit-2.7.1.ebuild| 4 ++--
 sys-process/audit/audit-2.8.3.ebuild| 4 ++--
 sys-process/audit/audit-2.8.4.ebuild| 4 ++--
 sys-process/audit/audit-2.8.5-r1.ebuild | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 4d7074f..4290aae 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd usr-ldscript
 

diff --git a/sys-process/audit/audit-2.8.3.ebuild 
b/sys-process/audit/audit-2.8.3.ebuild
index 88c3f4e..fb63471 100644
--- a/sys-process/audit/audit-2.8.3.ebuild
+++ b/sys-process/audit/audit-2.8.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
 

diff --git a/sys-process/audit/audit-2.8.4.ebuild 
b/sys-process/audit/audit-2.8.4.ebuild
index f5f7ad1..da2cc19 100644
--- a/sys-process/audit/audit-2.8.4.ebuild
+++ b/sys-process/audit/audit-2.8.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
 

diff --git a/sys-process/audit/audit-2.8.5-r1.ebuild 
b/sys-process/audit/audit-2.8.5-r1.ebuild
index 37e63a7..70467a6 100644
--- a/sys-process/audit/audit-2.8.5-r1.ebuild
+++ b/sys-process/audit/audit-2.8.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
 



[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2021-01-22 Thread Jory Pratt
commit: 5c456daaa557bd1560da8f47e0788fc8a23594e6
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Jan 22 23:41:28 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Jan 22 23:41:28 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5c456daa

sys-process/audit: fix patch being applied in 2.8.5-r1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 sys-process/audit/audit-2.8.5-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/audit/audit-2.8.5-r1.ebuild 
b/sys-process/audit/audit-2.8.5-r1.ebuild
index 71cc120..37e63a7 100644
--- a/sys-process/audit/audit-2.8.5-r1.ebuild
+++ b/sys-process/audit/audit-2.8.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -45,7 +45,7 @@ pkg_setup() {
 
 src_prepare() {
eapply "${FILESDIR}/${PN}-2.8.5-auparse-remove-use-of-rawmemchr.patch"
-   eapply "${FILESDIR}/${PN}-all-get-rid-of-strndupa.patch"
+   eapply "${FILESDIR}/${PN}-2.8.5-all-get-rid-of-strndupa.patch"
 
# Do not build GUI tools
sed -i \



[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/

2020-11-03 Thread Jory Pratt
commit: f27342f5258adbf167e35bd2a6678c0c9160c8d9
Author: xor  gmail  com>
AuthorDate: Tue Sep 29 03:19:28 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Nov  3 22:57:59 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f27342f5

add audit 2.8.5 from Gentoo tree && add musl patches from Alpine

Closes: https://github.com/gentoo/musl/pull/349

Signed-off-by: Jory Pratt  gentoo.org>

 sys-process/audit/Manifest |   2 +
 sys-process/audit/audit-2.8.5-r1.ebuild| 219 +
 .../audit-2.8.5-all-get-rid-of-strndupa.patch  |  57 ++
 ...dit-2.8.5-auparse-remove-use-of-rawmemchr.patch |  33 
 4 files changed, 311 insertions(+)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index d75227e..2742086 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,3 +1,5 @@
+DIST audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch 852 BLAKE2B 
60d8b813f57338ce267a09913e68a0726acf5cf878cd2893fe2493f80d2b0ac1e0504dc7a72e85134ae2597b268cb1772b4e7c6c2f19149fc905f6928e2db47f
 SHA512 
78e32c05b6896d37bacf0938954fbce7486a528dabd55421f1715438fe489171f9157059050abdcb3f673258aa28b4a11f643ddb7824f3499a195dbbe634f101
 DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
 DIST audit-2.8.3.tar.gz 1107583 BLAKE2B 
21c2b8543a31c0ca4319af40b844f4400615108a59195a95ea79499ff2923d7dbbc840716d60dfba311bfc451983cd4cd0f7cb27c2444825df2c0dfb50f9614f
 SHA512 
aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933
 DIST audit-2.8.4.tar.gz 1123889 BLAKE2B 
b80272b1984942d3c38bde30d22c736a8cc8896a2e42a9bf286446129313ce57a2a117ce26a0a5f1a4a06b4a48ddde463b8837b8c98273051be0c90e5bbebd42
 SHA512 
5795c565effab995cee447a2dc457ef6a6f15201fb185d7104992ac373a3cb5cfc865dd661c0896a895c96f452eff392d455064d0eead55cd7364d96e0d15c4a
+DIST audit-2.8.5_p80866dc78b5d.tar.gz 552094 BLAKE2B 
adb936a314ef2f11828ee00f3513631e06e2df09e37e68be27b1b694e278116d2f486dbde7ed57c77d9ff0bcd09309ea841959c7a66caed6770f367d65dd14f4
 SHA512 
7ec103bf076cfac7906748162e78835f1f65dd9d68e3a7466346e0473075beb47897adf88ab9ba0eb42db1953372aafb16cc040674b9a9c887730c062b82540a

diff --git a/sys-process/audit/audit-2.8.5-r1.ebuild 
b/sys-process/audit/audit-2.8.5-r1.ebuild
new file mode 100644
index 000..71cc120
--- /dev/null
+++ b/sys-process/audit/audit-2.8.5-r1.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
+
+DESCRIPTION="Userspace utilities for storing and processing auditing records"
+HOMEPAGE="https://people.redhat.com/sgrubb/audit/";
+# https://github.com/linux-audit/audit-userspace/tree/2.8_maintenance
+COMMIT='80866dc78b5db17010516e24344eaed8dcc6fb99' # contains many fixes not 
yet released
+if [[ -n $COMMIT ]]; then
+   
SRC_URI="https://github.com/linux-audit/audit-userspace/archive/${COMMIT}.tar.gz
 -> ${P}_p${COMMIT:0:12}.tar.gz"
+   S="${WORKDIR}/audit-userspace-${COMMIT}"
+else
+   SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz";
+fi
+# -fno-common patch:
+SRC_URI+=" 
https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f.patch
 -> ${PN}-017e6c6ab95df55f34e339d2139def83e5dada1f.patch"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
+RESTRICT="test"
+
+RDEPEND="gssapi? ( virtual/krb5 )
+   ldap? ( net-nds/openldap )
+   sys-libs/libcap-ng
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.34
+   python? ( dev-lang/swig:0 )"
+# Do not use os-headers as this is linux specific
+
+CONFIG_CHECK="~AUDIT"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.8.5-auparse-remove-use-of-rawmemchr.patch"
+   eapply "${FILESDIR}/${PN}-all-get-rid-of-strndupa.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
+
+   # audisp-remote moved in multilib_src_install_all
+   s

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2019-07-22 Thread Anthony G. Basile
commit: 63d0ba691b3b884ca980b101824ad02c2c9e3880
Author: stefson  yahoo  de>
AuthorDate: Mon Jul 22 17:14:56 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jul 22 17:43:15 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=63d0ba69

sys-process/audit: add split-usr eclass from the main tree

Signed-off-by: Steffen Kuhn  yandex.com>
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-process/audit/audit-2.7.1.ebuild | 2 +-
 sys-process/audit/audit-2.8.3.ebuild | 2 +-
 sys-process/audit/audit-2.8.4.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 38cfc5f..4d7074f 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd
+inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd usr-ldscript
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";

diff --git a/sys-process/audit/audit-2.8.3.ebuild 
b/sys-process/audit/audit-2.8.3.ebuild
index 30f9a63..88c3f4e 100644
--- a/sys-process/audit/audit-2.8.3.ebuild
+++ b/sys-process/audit/audit-2.8.3.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";

diff --git a/sys-process/audit/audit-2.8.4.ebuild 
b/sys-process/audit/audit-2.8.4.ebuild
index deddd61..f5f7ad1 100644
--- a/sys-process/audit/audit-2.8.4.ebuild
+++ b/sys-process/audit/audit-2.8.4.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd usr-ldscript
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";



[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2019-01-29 Thread Anthony G. Basile
commit: f5cb57e9d0fd47787b90f293c389a45ec1fa87db
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jan 29 11:34:25 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jan 29 11:34:25 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f5cb57e9

sys-process/audit: 2.8.4 stable on amd64, arm and x86

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-process/audit/audit-2.8.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/audit/audit-2.8.4.ebuild 
b/sys-process/audit/audit-2.8.4.ebuild
index 59e5813..deddd61 100644
--- a/sys-process/audit/audit-2.8.4.ebuild
+++ b/sys-process/audit/audit-2.8.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz";
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~mips ~ppc x86"
 IUSE="gssapi ldap python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.



[gentoo-commits] proj/musl:master commit in: sys-process/audit/files/, sys-process/audit/

2019-01-29 Thread Anthony G. Basile
commit: db5549f4dc49a875e73a265afc11585ac1964d75
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jan 29 11:20:24 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jan 29 11:20:24 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=db5549f4

sys-process/audit: add 2.8.4 from the tree

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-process/audit/Manifest |   1 +
 sys-process/audit/audit-2.8.4.ebuild   | 233 +
 .../audit/files/audit-2.8.4-ia64-compile-fix.patch | 195 +
 3 files changed, 429 insertions(+)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index eac9b51..d75227e 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,2 +1,3 @@
 DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
 DIST audit-2.8.3.tar.gz 1107583 BLAKE2B 
21c2b8543a31c0ca4319af40b844f4400615108a59195a95ea79499ff2923d7dbbc840716d60dfba311bfc451983cd4cd0f7cb27c2444825df2c0dfb50f9614f
 SHA512 
aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933
+DIST audit-2.8.4.tar.gz 1123889 BLAKE2B 
b80272b1984942d3c38bde30d22c736a8cc8896a2e42a9bf286446129313ce57a2a117ce26a0a5f1a4a06b4a48ddde463b8837b8c98273051be0c90e5bbebd42
 SHA512 
5795c565effab995cee447a2dc457ef6a6f15201fb185d7104992ac373a3cb5cfc865dd661c0896a895c96f452eff392d455064d0eead55cd7364d96e0d15c4a

diff --git a/sys-process/audit/audit-2.8.4.ebuild 
b/sys-process/audit/audit-2.8.4.ebuild
new file mode 100644
index 000..59e5813
--- /dev/null
+++ b/sys-process/audit/audit-2.8.4.ebuild
@@ -0,0 +1,233 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info 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+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+IUSE="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
+RESTRICT="test"
+
+RDEPEND="gssapi? ( virtual/krb5 )
+   ldap? ( net-nds/openldap )
+   sys-libs/libcap-ng
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.34
+   python? ( dev-lang/swig:0 )"
+# Do not use os-headers as this is linux specific
+
+CONFIG_CHECK="~AUDIT"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.8.2-musl.patch"
+   eapply "${FILESDIR}/${PN}-2.7.1-swig.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
+
+   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.
+   eapply "${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.
+   eapply "${FILESDIR}"/${PN}-2.8.4-ia64-compile-fix.patch
+
+   # there is no --without-golang conf option
+   sed -e "/^SUBDIRS =/s/ @gobind_dir@//" -i bindings/Makefile.am || die
+
+   eapply_user
+
+   # Regenerate autotooling
+   eautoreconf
+}
+
+multilib_src_configure() {
+   local ECONF_SOURCE=${S}
+   econf \
+   --sbindir="${EPREFIX}/sbin" \
+   $(use_enable gssapi gssapi-krb5) \
+   $(use_enable static-libs static) \
+   --enable-systemd \
+   --without-python \
+   --without-python3
+
+   if multilib_is_native_abi; then
+   python_configure() {
+   mkdir -p "${BUILD_DIR}" || die
+   cd "${BUILD_DIR}" || die

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2018-10-06 Thread Anthony G. Basile
commit: fecd3f7de709e91dc936ae9ea879746ad9986906
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Oct  6 12:35:00 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Oct  6 12:35:00 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=fecd3f7d

sys-process/audit: bump to 2.8.3, sync with tree

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-process/audit/Manifest   |   1 +
 sys-process/audit/audit-2.8.3.ebuild | 232 +++
 2 files changed, 233 insertions(+)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index 7303bc7..b95d167 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,3 +1,4 @@
 DIST audit-2.6.4.tar.gz 1078677 BLAKE2B 
056d9f269926d9b0d74f7187f833f1e94d4e03a5137750fe4ff87b71fa0ce0e0a8569b97ecbd671f951061cfb088dff17b46e37cc14122864c37615356646fc5
 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
 DIST audit-2.8.2.tar.gz 1121970 BLAKE2B 
bbec694ed1177a8590d035c2d6d197e49343fc370b101589e58736042c3b12cabb68fe796422f3133feb79068ab7d5931efa5414d22edead10c8871fefcd2549
 SHA512 
888ebf5e8e9d285b82d87377fc8836886d7a8b089c1be4091420a77a0250c9baf09aebb7a6330ff5043fb35f51eb6baf8d4491e26da7ad0811f0087e395b5012
+DIST audit-2.8.3.tar.gz 1107583 BLAKE2B 
21c2b8543a31c0ca4319af40b844f4400615108a59195a95ea79499ff2923d7dbbc840716d60dfba311bfc451983cd4cd0f7cb27c2444825df2c0dfb50f9614f
 SHA512 
aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933

diff --git a/sys-process/audit/audit-2.8.3.ebuild 
b/sys-process/audit/audit-2.8.3.ebuild
new file mode 100644
index 000..c19be95
--- /dev/null
+++ b/sys-process/audit/audit-2.8.3.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info 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+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+IUSE="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
+RESTRICT="test"
+
+RDEPEND="gssapi? ( virtual/krb5 )
+   ldap? ( net-nds/openldap )
+   sys-libs/libcap-ng
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.34
+   python? ( dev-lang/swig:0 )"
+# Do not use os-headers as this is linux specific
+
+CONFIG_CHECK="~AUDIT"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.8.2-musl.patch"
+   eapply "${FILESDIR}/${PN}-2.7.1-swig.patch"
+   eapply_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.
+   eapply "${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.
+   eapply "${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
+}
+
+multilib_src_configure() {
+   local ECONF_SOURCE=${S}
+   econf \
+   --sbindir="${EPREFIX}/sbin" \
+   $(use_enable gssapi gssapi-krb5) \
+   $(use_enable static-libs static) \
+   --enable-systemd \
+   --without-py

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2018-10-06 Thread Anthony G. Basile
commit: e3c423d3e739ad7eec217bfd2f6207df98ea5e47
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Oct  6 12:37:26 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Oct  6 12:37:26 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=e3c423d3

sys-process/audit: remove older

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-process/audit/Manifest   |   2 -
 sys-process/audit/audit-2.6.4.ebuild | 232 ---
 sys-process/audit/audit-2.8.2.ebuild | 232 ---
 3 files changed, 466 deletions(-)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index b95d167..eac9b51 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,4 +1,2 @@
-DIST audit-2.6.4.tar.gz 1078677 BLAKE2B 
056d9f269926d9b0d74f7187f833f1e94d4e03a5137750fe4ff87b71fa0ce0e0a8569b97ecbd671f951061cfb088dff17b46e37cc14122864c37615356646fc5
 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
-DIST audit-2.8.2.tar.gz 1121970 BLAKE2B 
bbec694ed1177a8590d035c2d6d197e49343fc370b101589e58736042c3b12cabb68fe796422f3133feb79068ab7d5931efa5414d22edead10c8871fefcd2549
 SHA512 
888ebf5e8e9d285b82d87377fc8836886d7a8b089c1be4091420a77a0250c9baf09aebb7a6330ff5043fb35f51eb6baf8d4491e26da7ad0811f0087e395b5012
 DIST audit-2.8.3.tar.gz 1107583 BLAKE2B 
21c2b8543a31c0ca4319af40b844f4400615108a59195a95ea79499ff2923d7dbbc840716d60dfba311bfc451983cd4cd0f7cb27c2444825df2c0dfb50f9614f
 SHA512 
aa939b81a66111f4e466208d7a38414bd186d00ccd374b420439764905b4707bbfcdc2331a6179a080fca981d19171696ecabd26674205b2f9339c44954db933

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
deleted file mode 100644
index 83d97a8..000
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info 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="amd64 arm arm64 ia64 ~mips ppc ~sh sparc x86"
-IUSE="gssapi ldap python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
-RESTRICT="test"
-
-RDEPEND="gssapi? ( virtual/krb5 )
-   ldap? ( net-nds/openldap )
-   sys-libs/libcap-ng
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   >=sys-kernel/linux-headers-2.6.34
-   python? ( dev-lang/swig:0 )"
-# Do not use os-headers as this is linux specific
-
-CONFIG_CHECK="~AUDIT"
-
-pkg_setup() {
-   linux-info_pkg_setup
-}
-
-src_prepare() {
-   eapply "${FILESDIR}/${PN}-2.7.1-musl.patch"
-   eapply "${FILESDIR}/${PN}-2.7.1-swig.patch"
-   eapply_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.
-   eapply "${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.
-   eapply "${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
-}
-
-multilib_src_configure() {
-   local ECONF_SOURCE=${S}
-   econf \
-   --sbindir="${EPREFIX}/sbin" \
-   $(use_enable gssapi gssapi-krb5) \
-   $(use_enable static-li

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2018-10-06 Thread Anthony G. Basile
commit: 7c93e187172578cb5579680a28d85ba32b667786
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sat Oct  6 12:36:31 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat Oct  6 12:36:31 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7c93e187

sys-process/audit: 2.8.3 stable on all musl arches

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-process/audit/audit-2.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/audit/audit-2.8.3.ebuild 
b/sys-process/audit/audit-2.8.3.ebuild
index c19be95..30f9a63 100644
--- a/sys-process/audit/audit-2.8.3.ebuild
+++ b/sys-process/audit/audit-2.8.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz";
 
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+KEYWORDS="amd64 arm arm64 ~mips ppc x86"
 IUSE="gssapi ldap python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.



[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/

2018-03-11 Thread Aric Belsito
commit: 08ea42dbcbddf4521043e28b827bcb13fa77e342
Author: Aric Belsito  gmail  com>
AuthorDate: Mon Mar 12 00:25:29 2018 +
Commit: Aric Belsito  gmail  com>
CommitDate: Mon Mar 12 00:27:27 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=08ea42db

sys-process/audit: version bump to 2.8.2

 sys-process/audit/Manifest |   3 +-
 sys-process/audit/audit-2.6.4.ebuild   |   6 +-
 sys-process/audit/audit-2.7.1.ebuild   |   2 +-
 .../{audit-2.7.1.ebuild => audit-2.8.2.ebuild} |  12 +-
 sys-process/audit/files/audit-2.8.2-musl.patch | 149 +
 sys-process/audit/metadata.xml |  12 +-
 6 files changed, 167 insertions(+), 17 deletions(-)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index bcd14ba..7303bc7 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,2 +1,3 @@
-DIST audit-2.6.4.tar.gz 1078677 SHA256 
b5a79cecd9593c368c9e42d5af72fcd14f046676657e906970b6c4a1aa5d06c7 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 WHIRLPOOL 
bda2f7bb754620b003c9c7df2e29d169e0421a9f0a1cf11396539fc3cae1d3907dc4265c3941e24a30eb206032a894989e74b803f2c4a7558057b879c41b2642
+DIST audit-2.6.4.tar.gz 1078677 BLAKE2B 
056d9f269926d9b0d74f7187f833f1e94d4e03a5137750fe4ff87b71fa0ce0e0a8569b97ecbd671f951061cfb088dff17b46e37cc14122864c37615356646fc5
 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
+DIST audit-2.8.2.tar.gz 1121970 BLAKE2B 
bbec694ed1177a8590d035c2d6d197e49343fc370b101589e58736042c3b12cabb68fe796422f3133feb79068ab7d5931efa5414d22edead10c8871fefcd2549
 SHA512 
888ebf5e8e9d285b82d87377fc8836886d7a8b089c1be4091420a77a0250c9baf09aebb7a6330ff5043fb35f51eb6baf8d4491e26da7ad0811f0087e395b5012

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
index 9dfa86f..543390b 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools multilib multilib-minimal toolchain-funcs python-r1 
linux-info systemd
+inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 867a723..9a7b4c0 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools multilib multilib-minimal toolchain-funcs python-r1 
linux-info systemd
+inherit autotools ltprune multilib multilib-minimal toolchain-funcs 
preserve-libs python-r1 linux-info systemd
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.8.2.ebuild
similarity index 96%
copy from sys-process/audit/audit-2.7.1.ebuild
copy to sys-process/audit/audit-2.8.2.ebuild
index 867a723..da67810 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.8.2.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI="6"
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit autotools multilib multilib-minimal toolchain-funcs python-r1 
linux-info systemd
+inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs 
python-r1 linux-info systemd
 
 DESCRIPTION="Userspace utilities for storing and processing auditing records"
 HOMEPAGE="https://people.redhat.com/sgrubb/audit/";
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~mips ppc x86"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
 IUSE="gssapi ldap python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
@@ -36,7 +36,7 @@ pkg_setup() {
 
 src_prepare() {
eapply "${FILESDIR}/${P}-musl.patch"
-   e

[gentoo-commits] proj/musl:master commit in: sys-process/audit/

2018-03-11 Thread Anthony G. Basile
commit: aca9fdf3e5aec62bef97b1388734ae283df284e7
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Mar 11 21:58:39 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Mar 11 21:59:07 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=aca9fdf3

sys-process/audit: 2.7.1 stable on all musl arches

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-process/audit/Manifest   | 2 +-
 sys-process/audit/audit-2.7.1.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index fb5740a..bcd14ba 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,2 +1,2 @@
 DIST audit-2.6.4.tar.gz 1078677 SHA256 
b5a79cecd9593c368c9e42d5af72fcd14f046676657e906970b6c4a1aa5d06c7 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 WHIRLPOOL 
bda2f7bb754620b003c9c7df2e29d169e0421a9f0a1cf11396539fc3cae1d3907dc4265c3941e24a30eb206032a894989e74b803f2c4a7558057b879c41b2642
-DIST audit-2.7.1.tar.gz 1099083 SHA256 
0441790794fd9375dbca598fa0ffb46c57ff37b3a24b94ffec0bbee3215cca09 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
 WHIRLPOOL 
87b7187dc56d78a5401d0f2a39c5461924bbac1d5fa49f68121a38a2422f3e6111e6c9f73db54c882cbaa17f584a23478863ef7c86053ddff63088d3903aafc9
+DIST audit-2.7.1.tar.gz 1099083 BLAKE2B 
10f72ac3273ce9e23e1fb8ad8d57dcae772ba1f861f519867399d95e14f4809897637969de45566d62a73a35e5674260155773daf8de00481fcbd1b9c3138f96
 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index bca646b..867a723 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
+KEYWORDS="amd64 arm ~mips ppc x86"
 IUSE="gssapi ldap python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.



[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/

2017-12-29 Thread Felix Janda
commit: 071af4a636f04d9cb428f618d98f0113e71fad67
Author: Felix Janda  posteo  de>
AuthorDate: Fri Dec 29 22:06:20 2017 +
Commit: Felix Janda  posteo  de>
CommitDate: Fri Dec 29 22:06:20 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=071af4a6

sys-process/audit: fix compilation of swig bindings

Bug: https://bugs.gentoo.org/620006

 sys-process/audit/audit-2.6.4.ebuild   |  1 +
 sys-process/audit/audit-2.7.1.ebuild   |  1 +
 sys-process/audit/files/audit-2.7.1-swig.patch | 11 +++
 3 files changed, 13 insertions(+)

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
index d4ecbd3..3f6adbb 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -36,6 +36,7 @@ pkg_setup() {
 
 src_prepare() {
eapply "${FILESDIR}/${PN}-2.7.1-musl.patch"
+   eapply "${FILESDIR}/${PN}-2.7.1-swig.patch"
eapply_user
 
# Do not build GUI tools

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 3886ae6..75676b0 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -36,6 +36,7 @@ pkg_setup() {
 
 src_prepare() {
eapply "${FILESDIR}/${P}-musl.patch"
+   eapply "${FILESDIR}/${P}-swig.patch"
eapply_user
 
# Do not build GUI tools

diff --git a/sys-process/audit/files/audit-2.7.1-swig.patch 
b/sys-process/audit/files/audit-2.7.1-swig.patch
new file mode 100644
index 000..f76b9b0
--- /dev/null
+++ b/sys-process/audit/files/audit-2.7.1-swig.patch
@@ -0,0 +1,11 @@
+diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
+index 356a5ab..41bdc6d 100644
+--- a/bindings/swig/src/auditswig.i
 b/bindings/swig/src/auditswig.i
+@@ -41,6 +41,5 @@ typedef unsigned __u32;
+ typedef unsigned uid_t;
+ %include "/usr/include/linux/audit.h"
+ #define __extension__ /*nothing*/
+-%include "/usr/include/stdint.h"
+ %include "../lib/libaudit.h"
+ 



[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/

2017-11-13 Thread Anthony G. Basile
commit: 542c859a8f250f1f9a4433ac189871b3988450aa
Author: Luis Ressel  aixah  de>
AuthorDate: Mon Nov 13 06:24:12 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Nov 13 09:44:43 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=542c859a

sys-process/audit: Import from ::gentoo

 sys-process/audit/Manifest |   2 +
 sys-process/audit/audit-2.6.4.ebuild   | 230 +
 sys-process/audit/audit-2.7.1.ebuild   | 230 +
 .../audit/files/audit-2.1.3-ia64-compile-fix.patch | 212 +++
 sys-process/audit/files/audit-2.4.3-python.patch   |  46 +
 sys-process/audit/files/audit.rules|  24 +++
 sys-process/audit/files/audit.rules-2.1.3  |  25 +++
 sys-process/audit/files/audit.rules.stop.post  |  12 ++
 sys-process/audit/files/audit.rules.stop.pre   |  15 ++
 sys-process/audit/files/auditd-conf.d-2.1.3|  22 ++
 sys-process/audit/files/auditd-init.d-2.4.3|  90 
 sys-process/audit/metadata.xml |  10 +
 12 files changed, 918 insertions(+)

diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
new file mode 100644
index 000..fb5740a
--- /dev/null
+++ b/sys-process/audit/Manifest
@@ -0,0 +1,2 @@
+DIST audit-2.6.4.tar.gz 1078677 SHA256 
b5a79cecd9593c368c9e42d5af72fcd14f046676657e906970b6c4a1aa5d06c7 SHA512 
69b5d3987d2b8b189d1242fde639af3d7d366e901733133e47ee71223caf73aa7da40b7811298f0af861969b0ab482c5ef9830b711bdd15bd5f4d0ebc88a1224
 WHIRLPOOL 
bda2f7bb754620b003c9c7df2e29d169e0421a9f0a1cf11396539fc3cae1d3907dc4265c3941e24a30eb206032a894989e74b803f2c4a7558057b879c41b2642
+DIST audit-2.7.1.tar.gz 1099083 SHA256 
0441790794fd9375dbca598fa0ffb46c57ff37b3a24b94ffec0bbee3215cca09 SHA512 
37964d81deee8608fde5f90d5d096727d3eb009e084be34749adcb0662e607e35c49c80bd83ce38b17161f11363b691721c8a8aa5dea832d320c53ab0ebb7483
 WHIRLPOOL 
87b7187dc56d78a5401d0f2a39c5461924bbac1d5fa49f68121a38a2422f3e6111e6c9f73db54c882cbaa17f584a23478863ef7c86053ddff63088d3903aafc9

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
new file mode 100644
index 000..e83cf86
--- /dev/null
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit autotools multilib multilib-minimal toolchain-funcs python-r1 
linux-info 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="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
+RESTRICT="test"
+
+RDEPEND="gssapi? ( virtual/krb5 )
+   ldap? ( net-nds/openldap )
+   sys-libs/libcap-ng
+   python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+   >=sys-kernel/linux-headers-2.6.34
+   python? ( dev-lang/swig:0 )"
+# Do not use os-headers as this is linux specific
+
+CONFIG_CHECK="~AUDIT"
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   eapply_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.
+   eapply "${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.
+   eapply "${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
+}
+
+multilib_src_configure() {
+   local ECONF_SOURCE=${S}
+   econf \
+   --sbindir="${EPREFIX}/sbin" \
+   $(use_enable gssapi gssapi-krb5) \
+   $(use_enable static-libs static) \
+   --enable-systemd \
+   --without-python \
+  

[gentoo-commits] proj/musl:master commit in: sys-process/audit/files/, sys-process/audit/

2017-11-13 Thread Anthony G. Basile
commit: 69d51c8245bd290d210f71ac5412bed7e3a82161
Author: Luis Ressel  aixah  de>
AuthorDate: Mon Nov 13 06:33:01 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Nov 13 09:44:43 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=69d51c82

sys-process/audit: Add patch for musl

 sys-process/audit/audit-2.6.4.ebuild   |   1 +
 sys-process/audit/audit-2.7.1.ebuild   |   1 +
 sys-process/audit/files/audit-2.7.1-musl.patch | 173 +
 3 files changed, 175 insertions(+)

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
index e83cf86..d4ecbd3 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -35,6 +35,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+   eapply "${FILESDIR}/${PN}-2.7.1-musl.patch"
eapply_user
 
# Do not build GUI tools

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 85a1f9a..3886ae6 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -35,6 +35,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+   eapply "${FILESDIR}/${P}-musl.patch"
eapply_user
 
# Do not build GUI tools

diff --git a/sys-process/audit/files/audit-2.7.1-musl.patch 
b/sys-process/audit/files/audit-2.7.1-musl.patch
new file mode 100644
index 000..099f985
--- /dev/null
+++ b/sys-process/audit/files/audit-2.7.1-musl.patch
@@ -0,0 +1,173 @@
+From db5c09f7995a27555a10418648d9dc7e1e8bb94b Mon Sep 17 00:00:00 2001
+From: Luis Ressel 
+Date: Mon, 13 Nov 2017 07:33:35 +0100
+Subject: [PATCH] Musl compability
+
+A couple of header fixes, one occurrence of rawmemchr() and three of
+strndupa().
+---
+ audisp/audispd.c|  4 +++-
+ auparse/auparse.c   | 13 +++--
+ auparse/interpret.c |  2 +-
+ lib/libaudit.c  |  2 +-
+ lib/netlink.c   |  2 +-
+ src/auditctl.c  |  1 +
+ src/auditd.c|  9 +++--
+ src/ausearch-lol.c  | 13 +++--
+ 8 files changed, 36 insertions(+), 10 deletions(-)
+
+diff --git a/audisp/audispd.c b/audisp/audispd.c
+index 9831cf3..0720814 100644
+--- a/audisp/audispd.c
 b/audisp/audispd.c
+@@ -31,7 +31,9 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
++#include 
++#include 
+ #include 
+ #include 
+ 
+diff --git a/auparse/auparse.c b/auparse/auparse.c
+index 2812028..a5d8c9e 100644
+--- a/auparse/auparse.c
 b/auparse/auparse.c
+@@ -1090,10 +1090,19 @@ static int extract_timestamp(const char *b, au_event_t 
*e)
+   int rc = 1;
+ 
+ e->host = NULL;
++  char _tmp[341];
+   if (*b == 'n')
+-  tmp = strndupa(b, 340);
++  {
++  strncpy(_tmp, b, 340);
++  _tmp[340] = '\0';
++  tmp = _tmp;
++  }
+   else
+-  tmp = strndupa(b, 80);
++  {
++  strncpy(_tmp, b, 80);
++  _tmp[80] = '\0';
++  tmp = _tmp;
++  }
+   ptr = audit_strsplit(tmp);
+   if (ptr) {
+   // Optionally grab the node - may or may not be included
+diff --git a/auparse/interpret.c b/auparse/interpret.c
+index 071c4ef..ba38199 100644
+--- a/auparse/interpret.c
 b/auparse/interpret.c
+@@ -803,7 +803,7 @@ static const char *print_proctitle(const char *val)
+   size_t len = strlen(val) / 2;
+   const char *end = out + len;
+   char *ptr = out;
+-  while ((ptr  = rawmemchr(ptr, '\0'))) {
++  while ((ptr  = memchr(ptr, '\0', SIZE_MAX))) {
+   if (ptr >= end)
+   break;
+   *ptr = ' ';
+diff --git a/lib/libaudit.c b/lib/libaudit.c
+index f434d4a..bd679a5 100644
+--- a/lib/libaudit.c
 b/lib/libaudit.c
+@@ -32,7 +32,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ #include 
+ #include /* O_NOFOLLOW needs gnu defined */
+diff --git a/lib/netlink.c b/lib/netlink.c
+index 90c79b9..9486560 100644
+--- a/lib/netlink.c
 b/lib/netlink.c
+@@ -27,7 +27,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include "libaudit.h"
+ #include "private.h"
+ 
+diff --git a/src/auditctl.c b/src/auditctl.c
+index 81000ee..6415264 100644
+--- a/src/auditctl.c
 b/src/auditctl.c
+@@ -34,6 +34,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include/* For basename */
+ #include/* PATH_MAX */
+ #include "libaudit.h"
+diff --git a/src/auditd.c b/src/auditd.c
+index 3f0162d..535207d 100644
+--- a/src/auditd.c
 b/src/auditd.c
+@@ -30,6 +30,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -185,7 +186,9 @@ static void child_handler2( int sig )
+ 
+ static int extract_type(const char *str)
+ {
+-  const char *tptr, *ptr2, *ptr = str;
++  const char *ptr2, *ptr = str;
++  char *tptr;
++
+   if (*str == 'n') {
+   ptr = strchr(str+1