Lines 6-14
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= osiris |
8 |
PORTNAME= osiris |
9 |
PORTVERSION= 4.1.2 |
9 |
PORTVERSION= 4.1.3 |
10 |
CATEGORIES= security |
10 |
CATEGORIES= security |
11 |
MASTER_SITES= http://osiris.shmoo.com/data/ |
11 |
MASTER_SITES= http://osiris.shmoo.com/data/ \ |
|
|
12 |
http://darkambient.net/ |
12 |
|
13 |
|
13 |
MAINTAINER= lx@redundancy.redundancy.org |
14 |
MAINTAINER= lx@redundancy.redundancy.org |
14 |
COMMENT= The Shmoo client/server host integrity checker |
15 |
COMMENT= The Shmoo client/server host integrity checker |
Lines 18-25
Link Here
|
18 |
CLI "Enable to build the management CLI" off |
19 |
CLI "Enable to build the management CLI" off |
19 |
|
20 |
|
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ |
|
|
23 |
--enable-fancy-cli |
22 |
USE_LIBTOOL_VER= 15 |
24 |
USE_LIBTOOL_VER= 15 |
|
|
25 |
USE_RC_SUBR= yes |
23 |
|
26 |
|
24 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
25 |
|
28 |
|
Lines 46-62
Link Here
|
46 |
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/osiris ${PREFIX}/sbin |
49 |
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/osiris ${PREFIX}/sbin |
47 |
.endif |
50 |
.endif |
48 |
.if !defined(WITHOUT_OSIRISD) |
51 |
.if !defined(WITHOUT_OSIRISD) |
49 |
${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ |
52 |
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \ |
|
|
53 |
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \ |
50 |
${WRKSRC}/src/install/freebsd/osirisd.in > \ |
54 |
${WRKSRC}/src/install/freebsd/osirisd.in > \ |
51 |
${WRKSRC}/src/install/freebsd/osirisd.sh.sample |
55 |
${WRKSRC}/src/install/freebsd/osirisd.sh |
52 |
${INSTALL_PROGRAM} ${WRKSRC}/src/osirisd/osirisd ${PREFIX}/sbin |
56 |
${INSTALL_PROGRAM} ${WRKSRC}/src/osirisd/osirisd ${PREFIX}/sbin |
53 |
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirisd.sh.sample \ |
57 |
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirisd.sh \ |
54 |
${PREFIX}/etc/rc.d |
58 |
${PREFIX}/etc/rc.d |
55 |
.endif |
59 |
.endif |
56 |
.if defined(WITH_OSIRISMD) |
60 |
.if defined(WITH_OSIRISMD) |
57 |
${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ |
61 |
${SED} -e 's|@INSTALLDIR@|${PREFIX}/sbin|g' \ |
|
|
62 |
-e 's|@OSIRISDIR@|${PREFIX}/osiris|g' \ |
58 |
${WRKSRC}/src/install/freebsd/osirismd.in > \ |
63 |
${WRKSRC}/src/install/freebsd/osirismd.in > \ |
59 |
${WRKSRC}/src/install/freebsd/osirismd.sh.sample |
64 |
${WRKSRC}/src/install/freebsd/osirismd.sh |
60 |
@${MKDIR} ${PREFIX}/osiris/configs |
65 |
@${MKDIR} ${PREFIX}/osiris/configs |
61 |
.for os in aix bsdos darwin freebsd irix linux netbsd openbsd sunos \ |
66 |
.for os in aix bsdos darwin freebsd irix linux netbsd openbsd sunos \ |
62 |
unix-generic windows2000 windowsnt windowsserver2003 windowsxp \ |
67 |
unix-generic windows2000 windowsnt windowsserver2003 windowsxp \ |
Lines 66-74
Link Here
|
66 |
.endfor |
71 |
.endfor |
67 |
${INSTALL_PROGRAM} -m 4755 -o osiris -g osiris \ |
72 |
${INSTALL_PROGRAM} -m 4755 -o osiris -g osiris \ |
68 |
${WRKSRC}/src/osirismd/osirismd ${PREFIX}/sbin |
73 |
${WRKSRC}/src/osirismd/osirismd ${PREFIX}/sbin |
69 |
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh.sample \ |
74 |
${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh \ |
70 |
${PREFIX}/etc/rc.d |
75 |
${PREFIX}/etc/rc.d |
71 |
.endif |
76 |
.endif |
72 |
${CHOWN} -R osiris:osiris ${PREFIX}/osiris |
77 |
${CHOWN} -R osiris:osiris ${PREFIX}/osiris |
|
|
78 |
|
79 |
post-install: |
80 |
@${CAT} pkg-message |
73 |
|
81 |
|
74 |
.include <bsd.port.post.mk> |
82 |
.include <bsd.port.post.mk> |