From 7a527e3179b4e8ad07255d23fd1bc1f9393a8831 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Fri, 11 Jul 2003 20:11:11 +0000 Subject: [PATCH] Add osiris 1.5.2, file integrity checking, with GDBM and MySQL support. PR: 50026 Submitted by: Nicolas Jombart --- security/Makefile | 1 + security/osiris/Makefile | 51 +++++++++++++++++++++++++++++++++++++++ security/osiris/distinfo | 1 + security/osiris/pkg-descr | 5 ++++ security/osiris/pkg-plist | 7 ++++++ 5 files changed, 65 insertions(+) create mode 100644 security/osiris/Makefile create mode 100644 security/osiris/distinfo create mode 100644 security/osiris/pkg-descr create mode 100644 security/osiris/pkg-plist diff --git a/security/Makefile b/security/Makefile index 2ad117cca22f..e6a6ce37de53 100644 --- a/security/Makefile +++ b/security/Makefile @@ -176,6 +176,7 @@ SUBDIR += openssl SUBDIR += openssl-beta SUBDIR += openvpn + SUBDIR += osiris SUBDIR += outguess SUBDIR += p5-Authen-Krb4 SUBDIR += p5-Authen-Krb5 diff --git a/security/osiris/Makefile b/security/osiris/Makefile new file mode 100644 index 000000000000..3df095ce13db --- /dev/null +++ b/security/osiris/Makefile @@ -0,0 +1,51 @@ +# New ports collection Makefile for: osiris +# Date created: 10, February 2003 +# Whom: Nicolas Jombart +# +# $FreeBSD$ +# + +PORTNAME= osiris +PORTVERSION= 1.5.2 +CATEGORIES= security +MASTER_SITES= http://osiris.shmoo.com/data/ + +MAINTAINER= ecu@ipv42.net +COMMENT= File integrity checking, with GDBM and MySQL support + +.if defined(WITH_MYSQL) +LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} \ + --enable-module=mysql +.else +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} \ + --with-module-lib=${LOCALBASE}/lib \ + --with-module-includes=${LOCALBASE}/include +.endif + +NO_CDROM= This software can not be sold. + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +MAN1= osiris.1 scale.1 + +pre-configure: + @${ECHO_MSG} "" + @${ECHO_MSG} "Set WITH_MYSQL to get MySQL support." + @${ECHO_MSG} "" + +post-install: + ${INSTALL_DATA} ${WRKSRC}/configs/osiris-freebsd-4.4.conf \ + ${PREFIX}/etc/osiris.conf-sample +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in docs/manual.html docs/manual.txt + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/security/osiris/distinfo b/security/osiris/distinfo new file mode 100644 index 000000000000..1546a7839623 --- /dev/null +++ b/security/osiris/distinfo @@ -0,0 +1 @@ +MD5 (osiris-1.5.2.tar.gz) = c340c0ef555cc339a8d4d8f81e0d325c diff --git a/security/osiris/pkg-descr b/security/osiris/pkg-descr new file mode 100644 index 000000000000..72ccc28662ed --- /dev/null +++ b/security/osiris/pkg-descr @@ -0,0 +1,5 @@ +Osiris is another file integrity checking tool. +It creates file information databases and diff them. +It uses GDBM database by default and optionally MySQL. + +WWW: http://osiris.shmoo.com/ diff --git a/security/osiris/pkg-plist b/security/osiris/pkg-plist new file mode 100644 index 000000000000..2aebf3754ab0 --- /dev/null +++ b/security/osiris/pkg-plist @@ -0,0 +1,7 @@ +bin/osiris +bin/scale +@unexec if [ -f %D/etc/osiris.conf ] && cmp -s %D/etc/osiris.conf %D/etc/osiris.conf-sample; then rm -f %D/etc/osiris.conf; fi +etc/osiris.conf-sample +%%PORTDOCS%%%%DOCSDIR%%/manual.html +%%PORTDOCS%%%%DOCSDIR%%/manual.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%%