Make -server and -client RUN_DEPENDS on -main.

Make DESCR consisten.

ok robert@ (maintainer)
This commit is contained in:
ajacoutot 2012-05-15 09:47:03 +00:00
parent 68e64f4c94
commit 9210b9f432
4 changed files with 18 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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: