- Fix dirent detection on 64bit systems
This commit is contained in:
parent
ae8b785b25
commit
01c27d6fc4
20
aide-0.14-dirent.patch
Normal file
20
aide-0.14-dirent.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff -u aide.orig/configure.in aide/configure.in
|
||||||
|
--- aide.orig/configure.in 2010-02-23 13:11:24.000000000 -0500
|
||||||
|
+++ aide/configure.in 2010-02-23 13:57:57.000000000 -0500
|
||||||
|
@@ -568,6 +568,8 @@
|
||||||
|
compoptionstring="${compoptionstring}WITH_READDIR\\n"]
|
||||||
|
)
|
||||||
|
|
||||||
|
+saved_CFLAGS="$CFLAGS"
|
||||||
|
+CFLAGS+=" $AIDE_DEFS"
|
||||||
|
AC_CACHE_CHECK([for LFS ino_t],AIDE_INO_TYPE,[
|
||||||
|
AC_TRY_RUN([
|
||||||
|
#include <unistd.h>
|
||||||
|
@@ -598,6 +600,7 @@
|
||||||
|
AIDE_INO_TYPE=ino_t
|
||||||
|
AIDE_DIRENT_TYPE=dirent
|
||||||
|
fi
|
||||||
|
+CFLAGS="$saved_CFLAGS"
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED(AIDE_LSTAT_FUNC,$AIDE_LSTAT_FUNC,[lstat])
|
||||||
|
AC_DEFINE_UNQUOTED(AIDE_STAT_FUNC,$AIDE_STAT_FUNC,[stat])
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Intrusion detection environment
|
Summary: Intrusion detection environment
|
||||||
Name: aide
|
Name: aide
|
||||||
Version: 0.14
|
Version: 0.14
|
||||||
Release: 0.1.rc1%{?dist}
|
Release: 0.2.rc1%{?dist}
|
||||||
URL: http://sourceforge.net/projects/aide
|
URL: http://sourceforge.net/projects/aide
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -12,6 +12,7 @@ Source0: http://download.sourceforge.net/aide/aide-%{version}-rc1.tar.gz
|
|||||||
Source1: aide.conf
|
Source1: aide.conf
|
||||||
Source2: README.quickstart
|
Source2: README.quickstart
|
||||||
Source3: aide.logrotate
|
Source3: aide.logrotate
|
||||||
|
Patch1: aide-0.14-dirent.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
||||||
BuildRequires: mktemp
|
BuildRequires: mktemp
|
||||||
BuildRequires: prelink elfutils-libelf-devel
|
BuildRequires: prelink elfutils-libelf-devel
|
||||||
@ -25,6 +26,7 @@ Buildrequires: audit-libs-devel >= 1.2.8-2
|
|||||||
%if "%{?_with_curl}x" != "x"
|
%if "%{?_with_curl}x" != "x"
|
||||||
Buildrequires: curl-devel
|
Buildrequires: curl-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: autoconf automake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
AIDE (Advanced Intrusion Detection Environment) is a file integrity
|
AIDE (Advanced Intrusion Detection Environment) is a file integrity
|
||||||
@ -33,6 +35,8 @@ checker and intrusion detection program.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n aide-0.14-rc1
|
%setup -q -n aide-0.14-rc1
|
||||||
|
%patch1 -p1
|
||||||
|
autoreconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-config_file=%{_sysconfdir}/aide.conf \
|
%configure --with-config_file=%{_sysconfdir}/aide.conf \
|
||||||
@ -78,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 23 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.2.rc1
|
||||||
|
- Fix dirent detection on 64bit systems
|
||||||
|
|
||||||
* Mon Feb 22 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.1.rc1
|
* Mon Feb 22 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.1.rc1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user