SHA256
1
0
forked from pool/aide
aide/aide-xattr-in-libc.patch
Marcus Meissner a1385167e8 Accepting request 235720 from home:elvigia:branches:security
- Once upon a time, 10 years ago, basic extended attribute
  functionality moved to libc, therefore libattr is most
  of the time, not needed at all. (aide-xattr-in-libc.patch)

OBS-URL: https://build.opensuse.org/request/show/235720
OBS-URL: https://build.opensuse.org/package/show/security/aide?expand=0&rev=25
2014-06-01 09:21:38 +00:00

22 lines
600 B
Diff

--- aide-0.15.1.orig/configure.in
+++ aide-0.15.1/configure.in
@@ -514,7 +514,7 @@ AC_ARG_WITH([xattr],
AS_IF([test "x$with_xattr_support" != xno],
[AC_DEFINE(WITH_XATTR,1,[use xattr])
- ATTRLIB=-lattr
+ ATTRLIB=
compoptionstring="${compoptionstring}WITH_XATTR\\n"
aideextragroups="${aideextragroups}+xattr"
AC_MSG_RESULT(yes)],
--- aide-0.15.1.orig/include/db_config.h
+++ aide-0.15.1/include/db_config.h
@@ -62,7 +62,6 @@ typedef struct acl_type {
#ifdef WITH_XATTR /* Do generic user Xattrs. */
#include <sys/xattr.h>
-#include <attr/xattr.h>
#endif
typedef struct xattr_node