aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-08 23:41:07 +0800
committerpav <pav@FreeBSD.org>2005-02-08 23:41:07 +0800
commiteb40b3bde64e80391961f0fc0426b232abf6d61c (patch)
tree63d3dd20d1365c6aa8aa2299588d692cbef7b455
parenteb2bacbe31a7a017b67d8e1f71634b429f744c69 (diff)
downloadfreebsd-ports-gnome-eb40b3bde64e80391961f0fc0426b232abf6d61c.tar.gz
freebsd-ports-gnome-eb40b3bde64e80391961f0fc0426b232abf6d61c.tar.zst
freebsd-ports-gnome-eb40b3bde64e80391961f0fc0426b232abf6d61c.zip
- There was a bug that caused osirisd not to start if built without osirismd
because of the lack of a ${PREFIX}/osiris directory. This is now created no matter what options are set. PR: ports/77221 Submitted by: David Thiel <lx@redundancy.redundancy.org> (maintainer)
-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