[gentoo-commits] proj/musl:master commit in: sys-process/audit/, sys-process/audit/files/
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/, sys-process/audit/files/
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/, sys-process/audit/files/
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/, sys-process/audit/files/
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/
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 \ +