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-client= Samhain Intrusion Detection System - client
COMMENT-server= Samhain Intrusion Detection System - server COMMENT-server= Samhain Intrusion Detection System - server
@ -12,7 +12,9 @@ FULLPKGNAME-client= samhain-${VERSION}
FULLPKGPATH-client= security/samhain,-client FULLPKGPATH-client= security/samhain,-client
PKGNAME-server= samhain-server-${VERSION} PKGNAME-server= samhain-server-${VERSION}
REVISION-client= 0 REVISION-main= 0
REVISION-client= 1
REVISION-server= 0
CATEGORIES= security CATEGORIES= security
@ -50,6 +52,7 @@ SUBST_VARS= FLAVOR
BACKEND= ${FLAVOR} BACKEND= ${FLAVOR}
.if ${BACKEND} == "mysql" .if ${BACKEND} == "mysql"
MULTI_PACKAGES+= -server MULTI_PACKAGES+= -server
RUN_DEPENDS+= ${BASE_PKGPATH},-main
LIB_DEPENDS-server+= databases/mysql,-main LIB_DEPENDS-server+= databases/mysql,-main
WANTLIB-server+= c crypto m mysqlclient ssl z WANTLIB-server+= c crypto m mysqlclient ssl z
CONFIGURE_ARGS+= --with-database=mysql \ CONFIGURE_ARGS+= --with-database=mysql \
@ -58,12 +61,14 @@ CONFIGURE_ARGS+= --with-database=mysql \
--with-libs=-L${LOCALBASE}/lib/mysql --with-libs=-L${LOCALBASE}/lib/mysql
.elif ${BACKEND} == "postgresql" .elif ${BACKEND} == "postgresql"
MULTI_PACKAGES+= -server MULTI_PACKAGES+= -server
RUN_DEPENDS+= ${BASE_PKGPATH},-main
LIB_DEPENDS-server+= databases/postgresql,-main LIB_DEPENDS-server+= databases/postgresql,-main
WANTLIB-server+= c m pq WANTLIB-server+= c m pq
CONFIGURE_ARGS+= --with-database=postgresql \ CONFIGURE_ARGS+= --with-database=postgresql \
--enable-xml-log --enable-xml-log
.elif ${BACKEND} == "no_server" .elif ${BACKEND} == "no_server"
MULTI_PACKAGES+= -client MULTI_PACKAGES+= -client
RUN_DEPENDS+= ${BASE_PKGPATH},-main
WANTLIB-client+= c pthread z WANTLIB-client+= c pthread z
CONFIGURE_ARGS+= --enable-network=client CONFIGURE_ARGS+= --enable-network=client
.else .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 subsequent checks of that file will ignore the modification as it is
already reported (unless the file is modified again). 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. 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 Samhain can optionally be used as client/server system to provide
centralized monitoring for multiple host. Logging to a (MySQL or centralized monitoring for multiple host. Logging to a (MySQL or
PostgreSQL) database is supported. 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 subsequent checks of that file will ignore the modification as it is
already reported (unless the file is modified again). 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. This package contains the server parts.
Available flavors: Available flavors: