summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/aide06/DESCR11
-rw-r--r--security/aide06/Makefile19
-rw-r--r--security/aide06/PLIST4
-rw-r--r--security/aide06/distinfo6
-rw-r--r--security/aide06/patches/patch-aa16
-rw-r--r--security/aide06/patches/patch-ab13
6 files changed, 69 insertions, 0 deletions
diff --git a/security/aide06/DESCR b/security/aide06/DESCR
new file mode 100644
index 00000000000..557d1199ee3
--- /dev/null
+++ b/security/aide06/DESCR
@@ -0,0 +1,11 @@
+It creates a database from the regular expression rules that it finds
+from the config file. Once this database is initialized it can be
+used to verify the integrity of the files. It has several message
+digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
+check the integrity of the file. More algorithms can be added with
+relative ease. All of the usual file attributes can also be checked
+for inconsistencies. It can read databases from older or newer
+versions. See the manual pages within the distribution for further
+info. There is also a beginning of a manual at
+
+ http://www.cs.tut.fi/~rammer/aide/manual.html
diff --git a/security/aide06/Makefile b/security/aide06/Makefile
new file mode 100644
index 00000000000..d4aa7629775
--- /dev/null
+++ b/security/aide06/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/23 13:48:33 agc Exp $
+#
+
+DISTNAME= aide-0.6
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.cs.tut.fi/pub/src/gnu/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.cs.tut.fi/~rammer/aide.html
+COMMENT= older intrusion detection system for checking file integrity
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+
+GNU_CONFIGURE= yes
+#don't set YACC so configure can correctly find bison
+YACC=
+USE_BUILDLINK2= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/aide06/PLIST b/security/aide06/PLIST
new file mode 100644
index 00000000000..b265b7ad637
--- /dev/null
+++ b/security/aide06/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/23 13:48:33 agc Exp $
+bin/aide
+man/man1/aide.1
+man/man5/aide.conf.5
diff --git a/security/aide06/distinfo b/security/aide06/distinfo
new file mode 100644
index 00000000000..29e43fdffd8
--- /dev/null
+++ b/security/aide06/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/06/23 13:48:33 agc Exp $
+
+SHA1 (aide-0.6.tar.gz) = e6d112193ad96bdbbe1e1b685dac644d958a1155
+Size (aide-0.6.tar.gz) = 212475 bytes
+SHA1 (patch-aa) = db675e373464c5127f9bd4cbfd38e6634c950ebf
+SHA1 (patch-ab) = 5cc5fdd9fcfde2c5e118bfa4cf68ec7e05215003
diff --git a/security/aide06/patches/patch-aa b/security/aide06/patches/patch-aa
new file mode 100644
index 00000000000..01d9cd78a7a
--- /dev/null
+++ b/security/aide06/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/23 13:48:33 agc Exp $
+--- include/aide.h.orig Wed Apr 26 14:45:29 2000
++++ include/aide.h Wed Apr 26 14:46:12 2000
+@@ -23,10 +23,12 @@
+ #include "db_config.h"
+ #include "config.h"
+
++#ifndef __NetBSD__
+ #ifndef _POSIX_C_SOURCE
+ /* For _POSIX_THREAD_SEMANTICS _REENTRANT */
+ #define _POSIX_C_SOURCE 199506L
+ #endif /* _POSIX_C_SOURCE */
++#endif /* __NetBSD__ */
+
+
+ #define AIDEVERSION VERSION
diff --git a/security/aide06/patches/patch-ab b/security/aide06/patches/patch-ab
new file mode 100644
index 00000000000..1e1a0c2f08b
--- /dev/null
+++ b/security/aide06/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/06/23 13:48:33 agc Exp $
+
+--- src/conf_yacc.y 2003/06/17 14:53:45 1.1
++++ src/conf_yacc.y 2003/06/17 14:54:11
+@@ -142,7 +142,7 @@
+ conferror("Error in expression");
+ YYABORT;
+ }
+- }
++ } ;
+
+ other : TRIGHTS { $$ =$1 ;} | TUSER {$$ =$1 ;}
+ | TGROUP {$$ =$1 ;} | TINODE {$$ =$1 ;}