aboutsummaryrefslogtreecommitdiffstats
path: root/security/osiris
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-12 04:11:11 +0800
committeroliver <oliver@FreeBSD.org>2003-07-12 04:11:11 +0800
commit6784a4e348cc0873d58cf7d61803026f5586d123 (patch)
tree2456c84d2d107d6ee5dd3edefd21ee02ea3594a4 /security/osiris
parentff174328aec154cba4a5d3efa80558e1c62a4a34 (diff)
downloadfreebsd-ports-gnome-6784a4e348cc0873d58cf7d61803026f5586d123.tar.gz
freebsd-ports-gnome-6784a4e348cc0873d58cf7d61803026f5586d123.tar.zst
freebsd-ports-gnome-6784a4e348cc0873d58cf7d61803026f5586d123.zip
Add osiris 1.5.2,
file integrity checking, with GDBM and MySQL support. PR: 50026 Submitted by: Nicolas Jombart <ecu@ipv42.net>
Diffstat (limited to 'security/osiris')
-rw-r--r--security/osiris/Makefile51
-rw-r--r--security/osiris/distinfo1
-rw-r--r--security/osiris/pkg-descr5
-rw-r--r--security/osiris/pkg-plist7
4 files changed, 64 insertions, 0 deletions
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 <ecu@ipv42.net>
+#
+# $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 <bsd.port.mk>
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%%