aboutsummaryrefslogtreecommitdiff
path: root/security/osiris
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-08 15:41:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-08 15:41:07 +0000
commit030fe20888050832a2da6bb051ba3814cb0dde97 (patch)
treed192c7261b4e76519581b74c8a7c06d511007c04 /security/osiris
parentd02b8823aeac80d2afc21c6747775b5f69e8edcf (diff)
downloadports-030fe20888050832a2da6bb051ba3814cb0dde97.tar.gz
ports-030fe20888050832a2da6bb051ba3814cb0dde97.zip
Notes
Diffstat (limited to 'security/osiris')
-rw-r--r--security/osiris/Makefile4
-rw-r--r--security/osiris/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/security/osiris/Makefile b/security/osiris/Makefile
index 81c0685e9d0a..113a4dd796f0 100644
--- a/security/osiris/Makefile
+++ b/security/osiris/Makefile
@@ -7,6 +7,7 @@
PORTNAME= osiris
PORTVERSION= 4.1.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://osiris.shmoo.com/data/
@@ -41,6 +42,7 @@ PLIST_SUB+= CLI="@comment "
do-install:
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+ @${MKDIR} ${PREFIX}/osiris
.if defined(WITH_CLI)
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/osiris ${PREFIX}/sbin
.endif
@@ -63,11 +65,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/src/configs/default.${os} \
${PREFIX}/osiris/configs
.endfor
- ${CHOWN} -R osiris:osiris ${PREFIX}/osiris
${INSTALL_PROGRAM} -m 4755 -o osiris -g osiris \
${WRKSRC}/src/osirismd/osirismd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh.sample \
${PREFIX}/etc/rc.d
.endif
+ ${CHOWN} -R osiris:osiris ${PREFIX}/osiris
.include <bsd.port.post.mk>
diff --git a/security/osiris/pkg-plist b/security/osiris/pkg-plist
index 435dc1233f95..1b8a45e66001 100644
--- a/security/osiris/pkg-plist
+++ b/security/osiris/pkg-plist
@@ -4,6 +4,8 @@
%%OSIRISMD%%sbin/osirismd
%%OSIRISD%%etc/rc.d/osirisd.sh.sample
%%OSIRISMD%%etc/rc.d/osirismd.sh.sample
+@exec mkdir -p %D/osiris
+@exec chown osiris:osiris %D/osiris
%%OSIRISMD%%osiris/configs/default.aix
%%OSIRISMD%%osiris/configs/default.bsdos
%%OSIRISMD%%osiris/configs/default.darwin
@@ -20,4 +22,4 @@
%%OSIRISMD%%osiris/configs/default.windowsxp
%%OSIRISMD%%osiris/configs/default.wrt54g
%%OSIRISMD%%@dirrm osiris/configs
-%%OSIRISMD%%@dirrm osiris
+@dirrm osiris