1 |
commit: 8442b964fea8e814264229a78be0da6ae1735919 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 3 12:21:49 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 16:21:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8442b964 |
7 |
|
8 |
sys-process/audit: Drop 2.8.5-r2, EAPI6-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/763237 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
sys-process/audit/Manifest | 2 - |
15 |
sys-process/audit/audit-2.8.5-r2.ebuild | 217 --------------------- |
16 |
sys-process/audit/files/audit-2.4.3-python.patch | 46 ----- |
17 |
.../audit/files/audit-2.8.4-ia64-compile-fix.patch | 195 ------------------ |
18 |
4 files changed, 460 deletions(-) |
19 |
|
20 |
diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest |
21 |
index c44d95add0b..48cc8ee6601 100644 |
22 |
--- a/sys-process/audit/Manifest |
23 |
+++ b/sys-process/audit/Manifest |
24 |
@@ -1,5 +1,3 @@ |
25 |
-DIST audit-017e6c6ab95df55f34e339d2139def83e5dada1f.patch 852 BLAKE2B 60d8b813f57338ce267a09913e68a0726acf5cf878cd2893fe2493f80d2b0ac1e0504dc7a72e85134ae2597b268cb1772b4e7c6c2f19149fc905f6928e2db47f SHA512 78e32c05b6896d37bacf0938954fbce7486a528dabd55421f1715438fe489171f9157059050abdcb3f673258aa28b4a11f643ddb7824f3499a195dbbe634f101 |
26 |
-DIST audit-2.8.5_p80866dc78b5d.tar.gz 552094 BLAKE2B adb936a314ef2f11828ee00f3513631e06e2df09e37e68be27b1b694e278116d2f486dbde7ed57c77d9ff0bcd09309ea841959c7a66caed6770f367d65dd14f4 SHA512 7ec103bf076cfac7906748162e78835f1f65dd9d68e3a7466346e0473075beb47897adf88ab9ba0eb42db1953372aafb16cc040674b9a9c887730c062b82540a |
27 |
DIST audit-3.0.1.tar.gz 1180286 BLAKE2B f29687ebc76f4eb88184cce1a3da0b8ca4464b2f81f56d71048ac4a64a713f33d6964e46e78b73c72b6ac2495f80114866773b3b86753c1d0dead25df73f7c43 SHA512 ad2897c9f539681f0f65b08cd0e650c528957fd4799755c2bcc47f869e04272aad31684c46847124d7b42dde243a16ba2754936890189610814c7007c0381d8c |
28 |
DIST audit-3.0.2.tar.gz 1184356 BLAKE2B 13f76e9c40bc8ffc53b5499076b5cb75c2690d95414a0e1942fa9725b9617f10327a2ee676dc10cc46ba76d223f77509d305bcd22344b678443b7707cc6d10cd SHA512 9e831ed6f30ac7d58f028cede97adba431bde18dfd9045c19f5e03eff52cd28db3a6792e5969f555ce51aa562662b59fa5cc5265586c6acf0b3aa1feae4d720f |
29 |
DIST audit-3.0.tar.gz 1109442 BLAKE2B f9c94f7163522068f5f37163a242cb913acc87b5465f7f8550fad27ac1dc673fd7a98e208bd5e6fb136eac1fdadd659e599e7722426937481bbf8c66d86a1617 SHA512 b82ec73c85a8ebb5108b526673d6fe08cbe0b51376788f3ea6ed5747c4612158462893e719496dffbd723f833f84383a2d1d55fd78a3ed985ecfd19545060c88 |
30 |
|
31 |
diff --git a/sys-process/audit/audit-2.8.5-r2.ebuild b/sys-process/audit/audit-2.8.5-r2.ebuild |
32 |
deleted file mode 100644 |
33 |
index e70218a14ef..00000000000 |
34 |
--- a/sys-process/audit/audit-2.8.5-r2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,217 +0,0 @@ |
37 |
-# Copyright 1999-2021 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI="6" |
41 |
- |
42 |
-PYTHON_COMPAT=( python{3_7,3_8} ) |
43 |
- |
44 |
-inherit autotools multilib multilib-minimal toolchain-funcs preserve-libs python-r1 linux-info systemd usr-ldscript |
45 |
- |
46 |
-DESCRIPTION="Userspace utilities for storing and processing auditing records" |
47 |
-HOMEPAGE="https://people.redhat.com/sgrubb/audit/" |
48 |
-# https://github.com/linux-audit/audit-userspace/tree/2.8_maintenance |
49 |
-COMMIT='80866dc78b5db17010516e24344eaed8dcc6fb99' # contains many fixes not yet released |
50 |
-if [[ -n $COMMIT ]]; then |
51 |
- SRC_URI="https://github.com/linux-audit/audit-userspace/archive/${COMMIT}.tar.gz -> ${P}_p${COMMIT:0:12}.tar.gz" |
52 |
- S="${WORKDIR}/audit-userspace-${COMMIT}" |
53 |
-else |
54 |
- SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" |
55 |
-fi |
56 |
-# -fno-common patch: |
57 |
-SRC_URI+=" https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f.patch -> ${PN}-017e6c6ab95df55f34e339d2139def83e5dada1f.patch" |
58 |
- |
59 |
-LICENSE="GPL-2+ LGPL-2.1+" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
62 |
-IUSE="gssapi ldap python static-libs" |
63 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
64 |
-# Testcases are pretty useless as they are built for RedHat users/groups and kernels. |
65 |
-RESTRICT="test" |
66 |
- |
67 |
-RDEPEND="gssapi? ( virtual/krb5 ) |
68 |
- ldap? ( net-nds/openldap ) |
69 |
- sys-libs/libcap-ng |
70 |
- python? ( ${PYTHON_DEPS} )" |
71 |
-DEPEND="${RDEPEND} |
72 |
- >=sys-kernel/linux-headers-2.6.34 |
73 |
- python? ( dev-lang/swig:0 )" |
74 |
-# Do not use os-headers as this is linux specific |
75 |
- |
76 |
-CONFIG_CHECK="~AUDIT" |
77 |
- |
78 |
-pkg_setup() { |
79 |
- linux-info_pkg_setup |
80 |
-} |
81 |
- |
82 |
-src_prepare() { |
83 |
- # Do not build GUI tools |
84 |
- sed -i \ |
85 |
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ |
86 |
- "${S}"/configure.ac || die |
87 |
- sed -i \ |
88 |
- -e 's,system-config-audit,,g' \ |
89 |
- "${S}"/Makefile.am || die |
90 |
- rm -rf "${S}"/system-config-audit |
91 |
- |
92 |
- # audisp-remote moved in multilib_src_install_all |
93 |
- sed -i \ |
94 |
- -e "s,/sbin/audisp-remote,${EPREFIX}/usr/sbin/audisp-remote," \ |
95 |
- "${S}"/audisp/plugins/remote/au-remote.conf || die |
96 |
- |
97 |
- # Don't build static version of Python module. |
98 |
- eapply "${FILESDIR}"/${PN}-2.4.3-python.patch |
99 |
- |
100 |
- # glibc/kernel upstreams suck with both defining ia64_fpreg |
101 |
- # This patch is a horribly workaround that is only valid as long as you |
102 |
- # don't need the OTHER definitions in fpu.h. |
103 |
- eapply "${FILESDIR}"/${PN}-2.8.4-ia64-compile-fix.patch |
104 |
- |
105 |
- # there is no --without-golang conf option |
106 |
- sed -e "/^SUBDIRS =/s/ @gobind_dir@//" -i bindings/Makefile.am || die |
107 |
- |
108 |
- # -fno-common |
109 |
- eapply "${DISTDIR}/${PN}-017e6c6ab95df55f34e339d2139def83e5dada1f.patch" |
110 |
- |
111 |
- eapply_user |
112 |
- |
113 |
- # Regenerate autotooling |
114 |
- eautoreconf |
115 |
-} |
116 |
- |
117 |
-multilib_src_configure() { |
118 |
- local ECONF_SOURCE=${S} |
119 |
- local my_conf="$(use_enable ldap zos-remote)" |
120 |
- econf \ |
121 |
- ${my_conf} \ |
122 |
- --sbindir="${EPREFIX}/sbin" \ |
123 |
- $(use_enable gssapi gssapi-krb5) \ |
124 |
- $(use_enable static-libs static) \ |
125 |
- --enable-systemd \ |
126 |
- --without-python \ |
127 |
- --without-python3 |
128 |
- |
129 |
- if multilib_is_native_abi; then |
130 |
- python_configure() { |
131 |
- mkdir -p "${BUILD_DIR}" || die |
132 |
- cd "${BUILD_DIR}" || die |
133 |
- |
134 |
- econf ${my_conf} --without-python --with-python3 |
135 |
- } |
136 |
- |
137 |
- use python && python_foreach_impl python_configure |
138 |
- fi |
139 |
-} |
140 |
- |
141 |
-src_configure() { |
142 |
- tc-export_build_env BUILD_{CC,CPP} |
143 |
- export CC_FOR_BUILD="${BUILD_CC}" |
144 |
- export CPP_FOR_BUILD="${BUILD_CPP}" |
145 |
- |
146 |
- multilib-minimal_src_configure |
147 |
-} |
148 |
- |
149 |
-multilib_src_compile() { |
150 |
- if multilib_is_native_abi; then |
151 |
- default |
152 |
- |
153 |
- python_compile() { |
154 |
- emake -C "${BUILD_DIR}"/bindings/swig \ |
155 |
- VPATH="${native_build}/lib" \ |
156 |
- LIBS="${native_build}/lib/libaudit.la" \ |
157 |
- _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ |
158 |
- _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ |
159 |
- USE_PYTHON3=true |
160 |
- emake -C "${BUILD_DIR}"/bindings/python/python3 \ |
161 |
- VPATH="${S}/bindings/python/python3:${native_build}/bindings/python/python3" \ |
162 |
- auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ |
163 |
- USE_PYTHON3=true |
164 |
- } |
165 |
- |
166 |
- local native_build="${BUILD_DIR}" |
167 |
- use python && python_foreach_impl python_compile |
168 |
- else |
169 |
- emake -C lib |
170 |
- emake -C auparse |
171 |
- fi |
172 |
-} |
173 |
- |
174 |
-multilib_src_install() { |
175 |
- if multilib_is_native_abi; then |
176 |
- emake DESTDIR="${D}" initdir="$(systemd_get_systemunitdir)" install |
177 |
- |
178 |
- python_install() { |
179 |
- emake -C "${BUILD_DIR}"/bindings/swig \ |
180 |
- VPATH="${native_build}/lib" \ |
181 |
- LIBS="${native_build}/lib/libaudit.la" \ |
182 |
- _audit_la_LIBADD="${native_build}/lib/libaudit.la" \ |
183 |
- _audit_la_DEPENDENCIES="${S}/lib/libaudit.h ${native_build}/lib/libaudit.la" \ |
184 |
- USE_PYTHON3=true \ |
185 |
- DESTDIR="${D}" install |
186 |
- emake -C "${BUILD_DIR}"/bindings/python/python3 \ |
187 |
- VPATH="${S}/bindings/python/python3:${native_build}/bindings/python/python3" \ |
188 |
- auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la" \ |
189 |
- USE_PYTHON3=true \ |
190 |
- DESTDIR="${D}" install |
191 |
- python_optimize |
192 |
- } |
193 |
- |
194 |
- local native_build=${BUILD_DIR} |
195 |
- use python && python_foreach_impl python_install |
196 |
- |
197 |
- # things like shadow use this so we need to be in / |
198 |
- gen_usr_ldscript -a audit auparse |
199 |
- else |
200 |
- emake -C lib DESTDIR="${D}" install |
201 |
- emake -C auparse DESTDIR="${D}" install |
202 |
- fi |
203 |
-} |
204 |
- |
205 |
-multilib_src_install_all() { |
206 |
- dodoc AUTHORS ChangeLog README* THANKS |
207 |
- docinto contrib |
208 |
- dodoc contrib/{avc_snap,skeleton.c} |
209 |
- docinto contrib/plugin |
210 |
- dodoc contrib/plugin/* |
211 |
- docinto rules |
212 |
- dodoc rules/* |
213 |
- |
214 |
- newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd |
215 |
- newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd |
216 |
- |
217 |
- [ -f "${ED}"/sbin/audisp-remote ] && \ |
218 |
- dodir /usr/sbin && \ |
219 |
- mv "${ED}"/{sbin,usr/sbin}/audisp-remote || die |
220 |
- |
221 |
- # Gentoo rules |
222 |
- insinto /etc/audit/ |
223 |
- newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules |
224 |
- doins "${FILESDIR}"/audit.rules.stop* |
225 |
- |
226 |
- # audit logs go here |
227 |
- keepdir /var/log/audit/ |
228 |
- |
229 |
- find "${D}" -name '*.la' -delete || die |
230 |
- |
231 |
- # Security |
232 |
- lockdown_perms "${ED}" |
233 |
-} |
234 |
- |
235 |
-pkg_preinst() { |
236 |
- # Preserve from the audit-1 series |
237 |
- preserve_old_lib /$(get_libdir)/libaudit.so.0 |
238 |
-} |
239 |
- |
240 |
-pkg_postinst() { |
241 |
- lockdown_perms "${EROOT}" |
242 |
- # Preserve from the audit-1 series |
243 |
- preserve_old_lib_notify /$(get_libdir)/libaudit.so.0 |
244 |
-} |
245 |
- |
246 |
-lockdown_perms() { |
247 |
- # Upstream wants these to have restrictive perms. |
248 |
- # Should not || die as not all paths may exist. |
249 |
- local basedir="$1" |
250 |
- chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null |
251 |
- chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null |
252 |
- chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null |
253 |
-} |
254 |
|
255 |
diff --git a/sys-process/audit/files/audit-2.4.3-python.patch b/sys-process/audit/files/audit-2.4.3-python.patch |
256 |
deleted file mode 100644 |
257 |
index 7b9ea53e09d..00000000000 |
258 |
--- a/sys-process/audit/files/audit-2.4.3-python.patch |
259 |
+++ /dev/null |
260 |
@@ -1,46 +0,0 @@ |
261 |
-diff -ur audit-2.4.3.orig/bindings/python/python2/Makefile.am audit-2.4.3/bindings/python/python2/Makefile.am |
262 |
---- audit-2.4.3.orig/bindings/python/python2/Makefile.am 2015-07-22 23:35:24.315424091 +0800 |
263 |
-+++ audit-2.4.3/bindings/python/python2/Makefile.am 2015-07-22 23:37:16.861510504 +0800 |
264 |
-@@ -29,5 +29,6 @@ |
265 |
- |
266 |
- auparse_la_SOURCES = $(top_srcdir)/bindings/python/auparse_python.c |
267 |
- auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) |
268 |
--auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro |
269 |
-+auparse_la_CFLAGS = -shared |
270 |
-+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro |
271 |
- auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la |
272 |
-diff -ur audit-2.4.3.orig/bindings/python/python3/Makefile.am audit-2.4.3/bindings/python/python3/Makefile.am |
273 |
---- audit-2.4.3.orig/bindings/python/python3/Makefile.am 2015-07-22 23:35:24.315424091 +0800 |
274 |
-+++ audit-2.4.3/bindings/python/python3/Makefile.am 2015-07-22 23:37:30.395400641 +0800 |
275 |
-@@ -28,5 +28,6 @@ |
276 |
- |
277 |
- auparse_la_SOURCES = $(top_srcdir)/bindings/python/auparse_python.c |
278 |
- auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) |
279 |
--auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro |
280 |
-+auparse_la_CFLAGS = -shared |
281 |
-+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro |
282 |
- auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la |
283 |
-diff -ur audit-2.4.3.orig/bindings/swig/python/Makefile.am audit-2.4.3/bindings/swig/python/Makefile.am |
284 |
---- audit-2.4.3.orig/bindings/swig/python/Makefile.am 2015-07-22 23:35:24.316424083 +0800 |
285 |
-+++ audit-2.4.3/bindings/swig/python/Makefile.am 2015-07-22 23:35:53.244189263 +0800 |
286 |
-@@ -28,7 +28,7 @@ |
287 |
- pyexec_LTLIBRARIES = _audit.la |
288 |
- pyexec_SOLIBRARIES = _audit.so |
289 |
- _audit_la_CFLAGS = -shared |
290 |
--_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro |
291 |
-+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro |
292 |
- _audit_la_HEADERS: $(top_builddir)/config.h |
293 |
- _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la |
294 |
- _audit_la_LIBADD = $(top_builddir)/lib/libaudit.la |
295 |
-diff -ur audit-2.4.3.orig/bindings/swig/python3/Makefile.am audit-2.4.3/bindings/swig/python3/Makefile.am |
296 |
---- audit-2.4.3.orig/bindings/swig/python3/Makefile.am 2015-07-22 23:35:24.316424083 +0800 |
297 |
-+++ audit-2.4.3/bindings/swig/python3/Makefile.am 2015-07-22 23:36:27.833908482 +0800 |
298 |
-@@ -29,7 +29,7 @@ |
299 |
- py3exec_LTLIBRARIES = _audit.la |
300 |
- py3exec_SOLIBRARIES = _audit.so |
301 |
- _audit_la_CFLAGS = -shared |
302 |
--_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro |
303 |
-+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro |
304 |
- _audit_la_HEADERS: $(top_builddir)/config.h |
305 |
- _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la |
306 |
- _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la |
307 |
|
308 |
diff --git a/sys-process/audit/files/audit-2.8.4-ia64-compile-fix.patch b/sys-process/audit/files/audit-2.8.4-ia64-compile-fix.patch |
309 |
deleted file mode 100644 |
310 |
index ef04f720495..00000000000 |
311 |
--- a/sys-process/audit/files/audit-2.8.4-ia64-compile-fix.patch |
312 |
+++ /dev/null |
313 |
@@ -1,195 +0,0 @@ |
314 |
---- a/audisp/audispd.c |
315 |
-+++ b/audisp/audispd.c |
316 |
-@@ -21,6 +21,7 @@ |
317 |
- */ |
318 |
- |
319 |
- #include "config.h" |
320 |
-+#include "fixup.h" |
321 |
- #include <stdio.h> |
322 |
- #include <unistd.h> |
323 |
- #include <stdlib.h> |
324 |
---- a/audisp/plugins/prelude/audisp-prelude.c |
325 |
-+++ b/audisp/plugins/prelude/audisp-prelude.c |
326 |
-@@ -21,6 +21,8 @@ |
327 |
- * |
328 |
- */ |
329 |
- |
330 |
-+#include "config.h" |
331 |
-+#include "fixup.h" |
332 |
- #include <stdio.h> |
333 |
- #include <stdlib.h> |
334 |
- #include <signal.h> |
335 |
---- a/audisp/plugins/remote/audisp-remote.c |
336 |
-+++ b/audisp/plugins/remote/audisp-remote.c |
337 |
-@@ -22,6 +22,7 @@ |
338 |
- */ |
339 |
- |
340 |
- #include "config.h" |
341 |
-+#include "fixup.h" |
342 |
- #include <stdio.h> |
343 |
- #include <signal.h> |
344 |
- #include <syslog.h> |
345 |
---- a/configure.ac |
346 |
-+++ b/configure.ac |
347 |
-@@ -216,6 +216,9 @@ AC_ARG_ENABLE(zos-remote, |
348 |
- AM_CONDITIONAL(ENABLE_ZOS_REMOTE, test "x$enable_zos_remote" != "xno") |
349 |
- AC_MSG_RESULT($enable_zos_remote) |
350 |
- |
351 |
-+AC_CHECK_HEADER([asm/ptrace.h], [AC_DEFINE([HAVE_ASM_PTRACE_H],[],[Define to 1 if you have asm/ptrace.h])], []) |
352 |
-+AC_CHECK_HEADER([linux/ptrace.h], [AC_DEFINE([HAVE_LINUX_PTRACE_H],[],[Define to 1 if you have linux/ptrace.h])], []) |
353 |
-+ |
354 |
- #gssapi |
355 |
- AC_ARG_ENABLE(gssapi_krb5, |
356 |
- [AS_HELP_STRING([--enable-gssapi-krb5],[Enable GSSAPI Kerberos 5 support @<:@default=no@:>@])], |
357 |
---- a/contrib/plugin/audisp-example.c |
358 |
-+++ b/contrib/plugin/audisp-example.c |
359 |
-@@ -37,6 +37,8 @@ |
360 |
- */ |
361 |
- |
362 |
- #define _GNU_SOURCE |
363 |
-+#include "config.h" |
364 |
-+#include "fixup.h" |
365 |
- #include <stdio.h> |
366 |
- #include <signal.h> |
367 |
- #include <string.h> |
368 |
---- a/contrib/skeleton.c |
369 |
-+++ b/contrib/skeleton.c |
370 |
-@@ -13,6 +13,8 @@ |
371 |
- * gcc skeleton.c -o skeleton -laudit |
372 |
- */ |
373 |
- |
374 |
-+#include "config.h" |
375 |
-+#include "fixup.h" |
376 |
- #include <stdio.h> |
377 |
- #include <sys/types.h> |
378 |
- #include <sys/uio.h> |
379 |
---- /dev/null |
380 |
-+++ b/lib/fixup.h |
381 |
-@@ -0,0 +1,17 @@ |
382 |
-+#ifndef _AUDIT_IA64_FIXUP_H_ |
383 |
-+#define _AUDIT_IA64_FIXUP_H_ |
384 |
-+ |
385 |
-+#ifdef __ia64__ /* what a pos */ |
386 |
-+# include <linux/types.h> |
387 |
-+# define _ASM_IA64_FPU_H |
388 |
-+#endif |
389 |
-+#include <signal.h> |
390 |
-+/* |
391 |
-+#ifdef HAVE_ASM_PTRACE_H |
392 |
-+# include <asm/ptrace.h> |
393 |
-+#endif |
394 |
-+#ifdef HAVE_LINUX_PTRACE_H |
395 |
-+# include <linux/ptrace.h> |
396 |
-+#endif |
397 |
-+*/ |
398 |
-+#endif |
399 |
---- a/src/auditctl.c |
400 |
-+++ b/src/auditctl.c |
401 |
-@@ -23,6 +23,7 @@ |
402 |
- */ |
403 |
- |
404 |
- #include "config.h" |
405 |
-+#include "fixup.h" |
406 |
- #include <stdio.h> |
407 |
- #include <stdlib.h> |
408 |
- #include <stdbool.h> |
409 |
---- a/src/auditd-config.c |
410 |
-+++ b/src/auditd-config.c |
411 |
-@@ -22,6 +22,7 @@ |
412 |
- */ |
413 |
- |
414 |
- #include "config.h" |
415 |
-+#include "fixup.h" |
416 |
- #include <stdio.h> |
417 |
- #include <unistd.h> |
418 |
- #include <sys/stat.h> |
419 |
---- a/src/auditd-dispatch.c |
420 |
-+++ b/src/auditd-dispatch.c |
421 |
-@@ -22,6 +22,7 @@ |
422 |
- */ |
423 |
- |
424 |
- #include "config.h" |
425 |
-+#include "fixup.h" |
426 |
- #include <unistd.h> |
427 |
- #include <sys/uio.h> |
428 |
- #include <fcntl.h> |
429 |
---- a/src/auditd-event.c |
430 |
-+++ b/src/auditd-event.c |
431 |
-@@ -22,6 +22,7 @@ |
432 |
- */ |
433 |
- |
434 |
- #include "config.h" |
435 |
-+#include "fixup.h" |
436 |
- #include <stdlib.h> |
437 |
- #include <unistd.h> |
438 |
- #include <pthread.h> |
439 |
---- a/src/auditd-listen.c |
440 |
-+++ b/src/auditd-listen.c |
441 |
-@@ -23,6 +23,7 @@ |
442 |
- */ |
443 |
- |
444 |
- #include "config.h" |
445 |
-+#include "fixup.h" |
446 |
- #include <stdio.h> |
447 |
- #include <unistd.h> |
448 |
- #include <sys/stat.h> |
449 |
---- a/src/auditd-reconfig.c |
450 |
-+++ b/src/auditd-reconfig.c |
451 |
-@@ -22,6 +22,7 @@ |
452 |
- */ |
453 |
- |
454 |
- #include "config.h" |
455 |
-+#include "fixup.h" |
456 |
- #include <pthread.h> |
457 |
- #include <signal.h> |
458 |
- #include <stdlib.h> |
459 |
---- a/src/auditd-sendmail.c |
460 |
-+++ b/src/auditd-sendmail.c |
461 |
-@@ -22,6 +22,7 @@ |
462 |
- */ |
463 |
- |
464 |
- #include "config.h" |
465 |
-+#include "fixup.h" |
466 |
- #include <stdio.h> |
467 |
- #include <unistd.h> // for access() |
468 |
- #include <string.h> |
469 |
---- a/src/auditd.c |
470 |
-+++ b/src/auditd.c |
471 |
-@@ -22,6 +22,7 @@ |
472 |
- */ |
473 |
- |
474 |
- #include "config.h" |
475 |
-+#include "fixup.h" |
476 |
- #include <stdio.h> |
477 |
- #include <sys/types.h> |
478 |
- #include <unistd.h> |
479 |
---- a/src/ausearch.c |
480 |
-+++ b/src/ausearch.c |
481 |
-@@ -22,6 +22,7 @@ |
482 |
- */ |
483 |
- |
484 |
- #include "config.h" |
485 |
-+#include "fixup.h" |
486 |
- #include <stdio.h> |
487 |
- #include <stdio_ext.h> |
488 |
- #include <string.h> |
489 |
---- a/src/autrace.c |
490 |
-+++ b/src/autrace.c |
491 |
-@@ -21,6 +21,7 @@ |
492 |
- */ |
493 |
- |
494 |
- #include "config.h" |
495 |
-+#include "fixup.h" |
496 |
- #include <stdio.h> |
497 |
- #include <string.h> |
498 |
- #include <sys/wait.h> |
499 |
---- a/src/delete_all.c |
500 |
-+++ b/src/delete_all.c |
501 |
-@@ -20,6 +20,7 @@ |
502 |
- * Steve Grubb <sgrubb@××××××.com> |
503 |
- */ |
504 |
- #include "config.h" |
505 |
-+#include "fixup.h" |
506 |
- #include <stdio.h> |
507 |
- #include <string.h> |
508 |
- #include <errno.h> |