From 9210b9f4324eeb84ddcd9bb96e483b965fa2acdd Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 15 May 2012 09:47:03 +0000 Subject: [PATCH] Make -server and -client RUN_DEPENDS on -main. Make DESCR consisten. ok robert@ (maintainer) --- security/samhain/Makefile | 11 ++++++++--- security/samhain/pkg/DESCR-client | 4 ++++ security/samhain/pkg/DESCR-main | 2 ++ security/samhain/pkg/DESCR-server | 4 ++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/security/samhain/Makefile b/security/samhain/Makefile index 6b45688afc6..6893290cbd6 100644 --- a/security/samhain/Makefile +++ b/security/samhain/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.3 2012/05/15 07:20:37 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.4 2012/05/15 09:47:03 ajacoutot Exp $ -COMMENT-main= Samhain Intrusion Detection System +COMMENT-main= Samhain Intrusion Detection System - documentation COMMENT-client= Samhain Intrusion Detection System - client COMMENT-server= Samhain Intrusion Detection System - server @@ -12,7 +12,9 @@ FULLPKGNAME-client= samhain-${VERSION} FULLPKGPATH-client= security/samhain,-client PKGNAME-server= samhain-server-${VERSION} -REVISION-client= 0 +REVISION-main= 0 +REVISION-client= 1 +REVISION-server= 0 CATEGORIES= security @@ -50,6 +52,7 @@ SUBST_VARS= FLAVOR BACKEND= ${FLAVOR} .if ${BACKEND} == "mysql" MULTI_PACKAGES+= -server +RUN_DEPENDS+= ${BASE_PKGPATH},-main LIB_DEPENDS-server+= databases/mysql,-main WANTLIB-server+= c crypto m mysqlclient ssl z CONFIGURE_ARGS+= --with-database=mysql \ @@ -58,12 +61,14 @@ CONFIGURE_ARGS+= --with-database=mysql \ --with-libs=-L${LOCALBASE}/lib/mysql .elif ${BACKEND} == "postgresql" MULTI_PACKAGES+= -server +RUN_DEPENDS+= ${BASE_PKGPATH},-main LIB_DEPENDS-server+= databases/postgresql,-main WANTLIB-server+= c m pq CONFIGURE_ARGS+= --with-database=postgresql \ --enable-xml-log .elif ${BACKEND} == "no_server" MULTI_PACKAGES+= -client +RUN_DEPENDS+= ${BASE_PKGPATH},-main WANTLIB-client+= c pthread z CONFIGURE_ARGS+= --enable-network=client .else diff --git a/security/samhain/pkg/DESCR-client b/security/samhain/pkg/DESCR-client index e806e781318..ec1aa50aa32 100644 --- a/security/samhain/pkg/DESCR-client +++ b/security/samhain/pkg/DESCR-client @@ -5,4 +5,8 @@ from cron, if a file is modified you will get only one report, while subsequent checks of that file will ignore the modification as it is already reported (unless the file is modified again). +Samhain can optionally be used as client/server system to provide +centralized monitoring for multiple host. Logging to a (MySQL or +PostgreSQL) database is supported. + This package contains the client part. diff --git a/security/samhain/pkg/DESCR-main b/security/samhain/pkg/DESCR-main index 823a5e986a0..4f08acf6f87 100644 --- a/security/samhain/pkg/DESCR-main +++ b/security/samhain/pkg/DESCR-main @@ -8,3 +8,5 @@ already reported (unless the file is modified again). Samhain can optionally be used as client/server system to provide centralized monitoring for multiple host. Logging to a (MySQL or PostgreSQL) database is supported. + +This package contains the documentation part. diff --git a/security/samhain/pkg/DESCR-server b/security/samhain/pkg/DESCR-server index f97f3ee0fc3..4ac3da698da 100644 --- a/security/samhain/pkg/DESCR-server +++ b/security/samhain/pkg/DESCR-server @@ -5,6 +5,10 @@ from cron, if a file is modified you will get only one report, while subsequent checks of that file will ignore the modification as it is already reported (unless the file is modified again). +Samhain can optionally be used as client/server system to provide +centralized monitoring for multiple host. Logging to a (MySQL or +PostgreSQL) database is supported. + This package contains the server parts. Available flavors: