[csw-devel] SF.net SVN: gar:[7000] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Oct 28 17:51:58 CET 2009


Revision: 7000
          http://gar.svn.sourceforge.net/gar/?rev=7000&view=rev
Author:   dmichelsen
Date:     2009-10-28 16:51:57 +0000 (Wed, 28 Oct 2009)

Log Message:
-----------
aide: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/aide/
    csw/mgar/pkg/aide/branches/
    csw/mgar/pkg/aide/tags/
    csw/mgar/pkg/aide/trunk/
    csw/mgar/pkg/aide/trunk/Makefile
    csw/mgar/pkg/aide/trunk/checksums
    csw/mgar/pkg/aide/trunk/files/
    csw/mgar/pkg/aide/trunk/files/0001-Fix-ACL-ifdef-logic.patch
    csw/mgar/pkg/aide/trunk/files/0002-Add-missing-prototypes-for-db_sql.patch


Property changes on: csw/mgar/pkg/aide/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/aide/trunk/Makefile
===================================================================
--- csw/mgar/pkg/aide/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/aide/trunk/Makefile	2009-10-28 16:51:57 UTC (rev 7000)
@@ -0,0 +1,50 @@
+GARNAME = aide
+GARVERSION = 0.13.1
+CATEGORIES = utils
+
+DESCRIPTION = Advanced Intrusion Detection Environment
+define BLURB
+  AIDE (Advanced Intrusion Detection Environment) is a free
+  replacement for Tripwire. It does the same things as the
+  semi-free Tripwire and more.
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+# Disable Sun ACLs for now until bug #2887984 is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=2887984&group_id=86976&atid=581579
+#PATCHFILES = 0001-Fix-ACL-ifdef-logic.patch
+
+# Add patch until bug #2888035 is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=2888035&group_id=86976&atid=581579
+PATCHFILES += 0002-Add-missing-prototypes-for-db_sql.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+REQUIRED_PKGS = CSWcurlrt CSWgcrypt CSWgpgerr CSWlibidn CSWlibmhash CSWlibpq
+REQUIRED_PKGS += CSWoldaprt CSWosslrt CSWzlib
+
+EXTRA_LIB = $(prefix)/postgresql/lib
+EXTRA_INC = $(prefix)/postgresql/include
+
+EXTRA_CPPFLAGS = -D__const=const
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-curl
+
+# Disable Sun ACLs for now until bug #2887984 is fixed (see above)
+#CONFIGURE_ARGS += --with-sun-acl
+
+CONFIGURE_ARGS += --with-psql
+# Add extra libraries until bug #2888028 is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=2888028&group_id=86976&atid=581579
+EXTRA_LINKER_FLAGS = -lgcrypt -lgpg-error
+
+# Disable tests until bug #2888084 is fixed
+#   http://sourceforge.net/tracker/?func=detail&aid=2888084&group_id=86976&atid=581579
+#TEST_TARGET = check
+TEST_SCRIPTS =
+
+include gar/category.mk

Added: csw/mgar/pkg/aide/trunk/checksums
===================================================================
--- csw/mgar/pkg/aide/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/aide/trunk/checksums	2009-10-28 16:51:57 UTC (rev 7000)
@@ -0,0 +1,2 @@
+c0fe56738d4f293c4d5a8de164a2a01c  0002-Add-missing-prototypes-for-db_sql.patch
+27978cc6bca4f0fbf3f6f5a1b330661c  aide-0.13.1.tar.gz

Added: csw/mgar/pkg/aide/trunk/files/0001-Fix-ACL-ifdef-logic.patch
===================================================================
--- csw/mgar/pkg/aide/trunk/files/0001-Fix-ACL-ifdef-logic.patch	                        (rev 0)
+++ csw/mgar/pkg/aide/trunk/files/0001-Fix-ACL-ifdef-logic.patch	2009-10-28 16:51:57 UTC (rev 7000)
@@ -0,0 +1,30 @@
+From 18d19087b6f54812b5b3c363231e81a79456bf2a Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 28 Oct 2009 14:31:38 +0100
+Subject: [PATCH 1/2] Fix ACL ifdef logic
+
+---
+ include/db_config.h |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/db_config.h b/include/db_config.h
+index 3ba0973..3b9c82a 100644
+--- a/include/db_config.h
++++ b/include/db_config.h
+@@ -52,12 +52,12 @@ typedef struct acl_type{
+ #ifndef WITH_ACL
+ # error "No ACL support ... but POSIX ACL support."
+ #endif
+-#endif
+ 
+ typedef struct acl_type {
+  char *acl_a; /* ACCESS */
+  char *acl_d; /* DEFAULT, directories only */
+ } acl_type;
++#endif
+ 
+ #ifdef WITH_XATTR /* Do generic user Xattrs. */
+ #include <sys/xattr.h>
+-- 
+1.6.5
+

Added: csw/mgar/pkg/aide/trunk/files/0002-Add-missing-prototypes-for-db_sql.patch
===================================================================
--- csw/mgar/pkg/aide/trunk/files/0002-Add-missing-prototypes-for-db_sql.patch	                        (rev 0)
+++ csw/mgar/pkg/aide/trunk/files/0002-Add-missing-prototypes-for-db_sql.patch	2009-10-28 16:51:57 UTC (rev 7000)
@@ -0,0 +1,33 @@
+From f072fece494256e6f7cc6ff06f79c059f18c9be9 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 28 Oct 2009 15:35:37 +0100
+Subject: [PATCH 2/2] Add missing prototypes for db_sql
+
+---
+ include/db_sql.h |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/include/db_sql.h b/include/db_sql.h
+index 0907393..ecb1c41 100644
+--- a/include/db_sql.h
++++ b/include/db_sql.h
+@@ -22,7 +22,7 @@
+ #define _DB_SQL_H_INCLUDED
+ 
+ 
+-static __attribute__ ((used)) const char* db_sql_types[] = {
++static const char* db_sql_types[] = {
+    "text unique primary key",/* "name",   */
+    "text", 	         /* "lname",   */
+    "int", 	         /* "perm",    */
+@@ -51,5 +51,7 @@ static __attribute__ ((used)) const char* db_sql_types[] = {
+ 
+ int db_close_sql(void*);
+ db_line* db_readline_sql(int db, db_config* conf);
++int db_writeline_sql(db_line* line,db_config* conf);
++int db_writespec_sql(db_config* conf);
+ 
+ #endif
+-- 
+1.6.5
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list