2003-07-11 22:11:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= osiris
|
2007-01-20 22:12:13 +01:00
|
|
|
PORTVERSION= 4.2.3
|
2017-06-27 15:46:53 +02:00
|
|
|
PORTREVISION= 3
|
2003-07-11 22:11:11 +02:00
|
|
|
CATEGORIES= security
|
2006-07-28 09:39:02 +02:00
|
|
|
MASTER_SITES= http://osiris.shmoo.com/data/ \
|
2006-07-26 09:51:52 +02:00
|
|
|
http://redundancy.redundancy.org/mirror/
|
2003-07-11 22:11:11 +02:00
|
|
|
|
2014-07-11 12:46:40 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Shmoo client/server host integrity checker
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2017-06-14 18:10:46 +02:00
|
|
|
USES= readline ssl
|
2003-07-11 22:11:11 +02:00
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
OPTIONS_DEFINE= OSIRISMD OSIRISD PRINTDB CLI
|
|
|
|
OPTIONS_DEFAULT= OSIRISD
|
2014-07-11 12:46:40 +02:00
|
|
|
OPTIONS_SUB= yes
|
2005-02-05 19:46:16 +01:00
|
|
|
|
2014-07-11 12:46:40 +02:00
|
|
|
OSIRISMD_DESC= Management daemon
|
|
|
|
OSIRISD_DESC= Scan agent
|
|
|
|
PRINTDB_DESC= Database print tool
|
|
|
|
CLI_DESC= Management CLI
|
2003-07-11 22:11:11 +02:00
|
|
|
|
2015-12-26 15:54:07 +01:00
|
|
|
post-build-PRINTDB-on:
|
2017-06-13 00:25:44 +02:00
|
|
|
cd ${WRKSRC}/src/tools && ${MAKE_CMD}
|
2003-07-11 22:11:11 +02:00
|
|
|
|
2005-02-05 19:46:16 +01:00
|
|
|
do-install:
|
2014-07-11 12:46:40 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/osiris
|
2015-12-26 15:54:07 +01:00
|
|
|
|
|
|
|
do-install-CLI-on:
|
2014-07-11 12:46:40 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/osiris ${STAGEDIR}${PREFIX}/sbin
|
2015-12-26 15:54:07 +01:00
|
|
|
|
|
|
|
do-install-PRINTDB-on:
|
2014-07-11 12:46:40 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/tools/printdb ${STAGEDIR}${PREFIX}/bin
|
2015-12-26 15:54:07 +01:00
|
|
|
|
|
|
|
do-install-OSIRISD-on:
|
2005-03-12 09:26:59 +01:00
|
|
|
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \
|
|
|
|
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \
|
2004-04-20 22:36:39 +02:00
|
|
|
${WRKSRC}/src/install/freebsd/osirisd.in > \
|
2005-03-12 09:26:59 +01:00
|
|
|
${WRKSRC}/src/install/freebsd/osirisd.sh
|
2014-07-11 12:46:40 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/osirisd/osirisd ${STAGEDIR}${PREFIX}/sbin
|
2005-03-12 09:26:59 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirisd.sh \
|
2014-07-11 12:46:40 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/rc.d
|
2015-12-26 15:54:07 +01:00
|
|
|
|
|
|
|
do-install-OSIRISMD-on:
|
2005-03-12 09:26:59 +01:00
|
|
|
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \
|
|
|
|
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \
|
2004-04-20 22:36:39 +02:00
|
|
|
${WRKSRC}/src/install/freebsd/osirismd.in > \
|
2005-03-12 09:26:59 +01:00
|
|
|
${WRKSRC}/src/install/freebsd/osirismd.sh
|
2014-07-11 12:46:40 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/osiris/configs
|
2005-02-05 19:46:16 +01:00
|
|
|
.for os in aix bsdos darwin freebsd irix linux netbsd openbsd sunos \
|
|
|
|
unix-generic windows2000 windowsnt windowsserver2003 windowsxp \
|
|
|
|
wrt54g
|
2004-04-20 22:36:39 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/configs/default.${os} \
|
2014-07-11 12:46:40 +02:00
|
|
|
${STAGEDIR}${PREFIX}/osiris/configs
|
2003-07-11 22:11:11 +02:00
|
|
|
.endfor
|
2014-07-11 12:46:40 +02:00
|
|
|
${INSTALL_PROGRAM} -m 4755 ${WRKSRC}/src/osirismd/osirismd \
|
|
|
|
${STAGEDIR}${PREFIX}/sbin
|
2005-03-12 09:26:59 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh \
|
2014-07-11 12:46:40 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/rc.d
|
2005-03-12 09:26:59 +01:00
|
|
|
|
2017-06-13 00:25:44 +02:00
|
|
|
.include <bsd.port.mk>
|