[packages/aide] Up to 0.19.3
arekm
arekm at pld-linux.org
Sun May 17 00:18:07 CEST 2026
commit 4dc3991a9e0c85e23f01541b0075fa26e0057493
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun May 17 00:17:51 2026 +0200
Up to 0.19.3
aide-NLS.patch | 28 ----------------------------
aide-Werror.patch | 20 --------------------
aide-autoconf.patch | 12 ------------
aide-lex.patch | 22 ----------------------
aide-no_md.patch | 13 -------------
aide.spec | 49 ++++++++++++++++++-------------------------------
6 files changed, 18 insertions(+), 126 deletions(-)
---
diff --git a/aide.spec b/aide.spec
index d9ffcb1..800fba6 100644
--- a/aide.spec
+++ b/aide.spec
@@ -2,33 +2,31 @@ Summary: Advanced Intrusion Detection Environment
Summary(pl.UTF-8): Zaawansowany System Wykrywania Włamań (AIDE)
Summary(pt_BR.UTF-8): AIDE - ferramenta de verificação de integridade do sistema
Name: aide
-Version: 0.15.1
-Release: 2
-License: GPL
+Version: 0.19.3
+Release: 1
+License: GPL v2+
Group: Applications/System
-Source0: http://dl.sourceforge.net/aide/%{name}-%{version}.tar.gz
-# Source0-md5: d0b72535ff68b93a648e4d08b0ed7f07
+Source0: https://github.com/aide/aide/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 4129c3250f1cd8437ab59f35a427956e
Source1: %{name}.conf
-Source2: %{name}-0.7-doc.tar.bz2
-# Source2-md5: f8d01112f839957b3061bb6b5f262174
Source3: %{name}-check
Source4: %{name}.sysconfig
-Patch0: %{name}-autoconf.patch
-Patch1: %{name}-NLS.patch
-Patch2: %{name}-no_md.patch
-Patch3: %{name}-lex.patch
-Patch4: %{name}-Werror.patch
-URL: http://www.cs.tut.fi/~rammer/aide.html
+URL: https://aide.github.io/
BuildRequires: autoconf
+BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: bison
+BuildRequires: e2fsprogs-devel
BuildRequires: flex
BuildRequires: gettext-tools
-BuildRequires: glibc-static
-BuildRequires: mhash-static
-BuildRequires: perl-modules
+BuildRequires: acl-devel
+BuildRequires: attr-devel
+BuildRequires: libcap-devel
+BuildRequires: libselinux-devel
+BuildRequires: nettle-devel >= 3.7
+BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig
-BuildRequires: zlib-static >= 1.1.4
+BuildRequires: zlib-devel
Requires: crondaemon
Requires: grep
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,23 +55,14 @@ O AIDE tem por objetivo ser a versão gratuita do Tripwire, e ajuda a
detectar violações de integridade pelo uso de hashes como MD5.
%prep
-%setup -q -b 0 -a 2
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
-%patch -P3 -p1
-%patch -P4 -p1
-
-rm src/conf_lex.c src/db_lex.c
+%setup -q
%build
-%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
--with-config-file=%{_sysconfdir}/aide.conf
-# --with-extra-includes=/usr/include/
%{__make}
%install
@@ -84,17 +73,15 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sys
DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily/aide-check
install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide
-# %find_lang %{name}
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html
+%doc AUTHORS ChangeLog NEWS README
%attr(750,root,root) %dir %{_sysconfdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aide.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/aide
diff --git a/aide-NLS.patch b/aide-NLS.patch
deleted file mode 100644
index ac0e395..0000000
--- a/aide-NLS.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- aide-0.13.1/configure.in~ 2007-11-05 01:47:02.000000000 +0100
-+++ aide-0.13.1/configure.in 2007-11-05 01:49:09.610684250 +0100
-@@ -282,23 +282,8 @@
-
- AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h)
-
--AC_ARG_WITH([locale],
-- [AC_HELP_STRING([--with-locale],
-- [use locale stuff])],
-- [],
-- [with_locale=no]
--)
--
--AS_IF([test "x$with_locale" != xno],
-- [AC_CHECK_HEADERS(libintl.h,
-- [AC_DEFINE(USE_LOCALE,1,[Define if LOCALE support should be used])
-- AIDE_USE_LOCALE=""
-- compoptionstring="${compoptionstring}WITH_LOCALE\\n"
--dnl AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/lib/locale",[Localedir to use])],
-- )]
--)
--
--AC_SUBST(AIDE_USE_LOCALE)
-+ALL_LINGUAS=""
-+AM_GNU_GETTEXT
-
- AC_ARG_WITH([syslog_ident],
- AC_HELP_STRING([--with-syslog-ident],
diff --git a/aide-Werror.patch b/aide-Werror.patch
deleted file mode 100644
index 91e4f5b..0000000
--- a/aide-Werror.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- aide-0.15.1/src/db_file.c~ 2010-08-08 19:39:31.000000000 +0200
-+++ aide-0.15.1/src/db_file.c 2013-02-17 00:30:25.921433489 +0100
-@@ -702,7 +702,7 @@
- }
-
- if(tmpstr){
-- retval=dofprintf(tmpstr);
-+ retval=dofprintf("%s", tmpstr);
- free(tmpstr);
- return retval;
- }else {
-@@ -741,7 +741,7 @@
-
-
- tmpstr=encode_base64((byte *)ptr,strlen(ptr));
-- retval=dofprintf(tmpstr);
-+ retval=dofprintf("%s", tmpstr);
- free(tmpstr);
- free(ptr);
-
diff --git a/aide-autoconf.patch b/aide-autoconf.patch
deleted file mode 100644
index fa7dfa7..0000000
--- a/aide-autoconf.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN aide-0.11.orig/Makefile.am aide-0.11/Makefile.am
---- aide-0.11.orig/Makefile.am 2006-09-11 16:08:49.000000000 +0200
-+++ aide-0.11/Makefile.am 2006-09-11 16:09:30.000000000 +0200
-@@ -17,7 +17,7 @@
- # Boston, MA 02111-1307, USA.
- #
-
--SUBDIRS = include src doc
-+SUBDIRS = include src doc intl
-
- datadir = @datadir@
- localedir = $(datadir)/locale
diff --git a/aide-lex.patch b/aide-lex.patch
deleted file mode 100644
index ecb4675..0000000
--- a/aide-lex.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- aide-0.15.1/src/conf_lex.l~ 2010-08-08 19:39:31.000000000 +0200
-+++ aide-0.15.1/src/conf_lex.l 2013-02-17 00:28:27.265336729 +0100
-@@ -12,7 +12,7 @@
-
- %{
-
--#define YYDEBUG
-+#define YYDEBUG 1
-
- /*
- * Copyright (C) 1999-2002,2004-2006,2010 Rami Lehti, Pablo Virolainen, Richard
---- aide-0.15.1/src/db_lex.l~ 2010-08-08 19:39:31.000000000 +0200
-+++ aide-0.15.1/src/db_lex.l 2013-02-17 00:32:07.953812738 +0100
-@@ -45,7 +45,7 @@
- #define YY_DECL int db_scan(void)
-
-
--#define YYDEBUG
-+#define YYDEBUG 1
-
- #include "aide.h"
- #include "conf_yacc.h"
diff --git a/aide-no_md.patch b/aide-no_md.patch
deleted file mode 100644
index a5ef652..0000000
--- a/aide-no_md.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Nur old/src/conf_yacc.y new/src/conf_yacc.y
---- old/src/conf_yacc.y 2003-08-18 13:03:22.000000000 +0000
-+++ new/src/conf_yacc.y 2003-12-13 19:31:05.000000000 +0000
-@@ -156,6 +156,9 @@
- | TEND_DB {
- conferror("Error while reading configuration");
- }
-+ | TEND_DBNOMD {
-+ conferror("Error while reading configuration");
-+ }
- | error {
- conferror("Error while reading configuration");
- YYABORT;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aide.git/commitdiff/4dc3991a9e0c85e23f01541b0075fa26e0057493
More information about the pld-cvs-commit
mailing list