package/audit: Bump to version 2.6.5
PATCH v2 1/1 package/audit: Bump to version 2.6.5
- Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch as this was applied upstream.
- Removed 0002-Fix-usage-of-audit_status.feature_bitmap.patch as this was applied upstream.
---
Changes v1 - v2:
- Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch.
- Removed AUDIT_AUTORECONF = YES from Makefile along with preceding comment
...les.c-define-EHWPOISON-when-not-available.patch | 44 ---------------- ...-Fix-usage-of-audit_status.feature_bitmap.patch | 59 ---------------------- package/audit/audit.hash | 2 +- package/audit/audit.mk | 2 +- 4 files changed, 2 insertions(+), 105 deletions(-) delete mode 100644 package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch delete mode 100644 package/audit/0002-Fix-usage-of-audit_status.feature_bitmap.patch
package/audit/0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch deleted +0 -44
@@ -1,44 +0,0 @@ -From ac10cdedd136689028223088ffca80b98c7bbaff Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Sat, 2 Jul 2016 10:33:34 +0200 -Subject: [PATCH] lib/gen_tables.c: define EHWPOISON when not available - -When building on some old system with old kernel headers, the -gen_tables.c program (built natively) doesn't build due to missing -EHWPOISON. This commit defines EHWPOISON to the value found in -asm-generic kernel headers, which is correct for most (but not all -architectures). - -Anyway, the whole concept of building a program on the host to generate -a table with errno values, then built into a target program is -inherently broken, so our fix is not more broken than the rest of the -mechanism used by audit. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - lib/gen_tables.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/lib/gen_tables.c b/lib/gen_tables.c -index 98f576c..d0bb7f5 100644 ---- a/lib/gen_tables.c -+++ b/lib/gen_tables.c -@@ -55,6 +55,15 @@ - #define SHMGET 23 - #define SHMCTL 24 - -+/* -+ * Values from asm-generic, might be different on other architectures, -+ * but anyway the concept of building a program on the host to -+ * generate errno related tables used on another architecture is -+ * broken. -+ */ -+#ifndef EHWPOISON -+#define EHWPOISON 133 -+#endif - - /* The ratio of table size to number of non-empty elements allowed for a - "direct" s2i table; if the ratio would be bigger, bsearch tables are used --- -2.7.4 -
package/audit/0002-Fix-usage-of-audit_status.feature_bitmap.patch deleted +0 -59
59 lines not on this page · raw message
package/audit/audit.hash +1 -1
@@ -1,2 +1,2 @@ #Locally computed -sha256 016a101d6f8f5608ff90355b49adeb2848990ab2fdbb0933c3e09ac8c95db1d9 audit-2.6.3.tar.gz +sha256 a9c4bc0b95ffabc364f7de67ea694bab7045b120f396a2b149399a17138592bf audit-2.6.5.tar.gz
package/audit/audit.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -AUDIT_VERSION = 2.6.3 +AUDIT_VERSION = 2.6.5 AUDIT_SITE = http://people.redhat.com/sgrubb/audit AUDIT_LICENSE = GPLv2 AUDIT_LICENSE_FILES = COPYING
Signature · 1 line
2.7.4
PATCH v2 1/1 package/audit: Bump to version 2.6.5
Hello,
Quoted 7 lines · Adam Duskett
- Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch as this was applied upstream.
- Removed 0002-Fix-usage-of-audit_status.feature_bitmap.patch as this was applied upstream.
Signed-off-by Adam Duskett <[email protected]>
When testing this patch, I get an invalid hash:
ERROR: audit-2.6.5.tar.gz has wrong sha256 hash:
ERROR: expected: a9c4bc0b95ffabc364f7de67ea694bab7045b120f396a2b149399a17138592bf
ERROR: got : d99339a63fc6efaaee89efe7fa0e0c395f661392a4ae5056b2c9d10c67ca63a1
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Are you sure of the hash you calculated?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com