View | Details | Raw Unified | Return to bug 82747
Collapse All | Expand All

(-)daedalus/Makefile Tue Jun 28 16:36:18 2005 (-3 / +5 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=      daedalus
8
PORTNAME=      daedalus
9
PORTVERSION=   1.1
9
PORTVERSION=   2.0
10
CATEGORIES=    sysutils
10
CATEGORIES=    sysutils
11
MASTER_SITES=  ftp://ftp.verbotenplanet.net/daedalus/
11
MASTER_SITES=  ftp://ftp.insidesystems.net/daedalus/
12
12
13
MAINTAINER=    kelley@insidesystems.net
13
MAINTAINER=    kelley@insidesystems.net
14
COMMENT=       Flexible process monitor/restart daemon written in ruby
14
COMMENT=       Flexible process monitor/restart daemon written in ruby
Lines 30-36 Link Here
30
30
31
do-install:
31
do-install:
32
       ${INSTALL_SCRIPT} ${WRKSRC}/daedalus.rb ${PREFIX}/bin/daedalus.rb
32
       ${INSTALL_SCRIPT} ${WRKSRC}/daedalus.rb ${PREFIX}/bin/daedalus.rb
33
       ${INSTALL_DATA} ${WRKSRC}/examples/daedalus.conf ${PREFIX}/etc/daedalus.conf.sample
33
       ${MKDIR} ${PREFIX}/etc/daedalus
34
       ${INSTALL_DATA} ${WRKSRC}/examples/daedalus.xml ${PREFIX}/etc/daedalus/daedalus.xml.sample
35
       ${INSTALL_DATA} ${WRKSRC}/examples/templates.xml ${PREFIX}/etc/daedalus/templates.xml.sample
34
       ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
36
       ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
35
37
36
post-install:
38
post-install:
(-)daedalus/distinfo Tue Jun 28 16:35:42 2005 (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (daedalus-1.1.tar.gz) = 5b103455802177ca8a6a2cb126630167
1
MD5 (daedalus-2.0.tar.gz) = 2e343ef365f19c98b9530bfb033efade
2
SIZE (daedalus-1.1.tar.gz) = 33898
2
SIZE (daedalus-2.0.tar.gz) = 26192
(-)daedalus/files/daedalus.sh Tue Jun 28 16:40:48 2005 (-3 / +3 lines)
Lines 7-13 Link Here
7
# Add the following line to /etc/rc.conf to enable daedalus:
7
# Add the following line to /etc/rc.conf to enable daedalus:
8
# daedalus_enable (bool):      Set to "NO" by default.
8
# daedalus_enable (bool):      Set to "NO" by default.
9
#                             Set it to "YES" to enable daedalus
9
#                             Set it to "YES" to enable daedalus
10
# daedalus_flags (str):        Set to "-C -c %%PREFIX%%/etc/daedalus.conf" by default.
10
# daedalus_flags (str):        Set to "-c %%PREFIX%%/etc/daedalus/daedalus.xml -t %%PREFIX%%/etc/daedalus/templates.xml" by default.
11
#                             Extra flags passed to start command
11
#                             Extra flags passed to start command
12
#
12
#
13
. %%RC_SUBR%%
13
. %%RC_SUBR%%
Lines 18-27 Link Here
18
command="%%PREFIX%%/bin/daedalus.rb"
18
command="%%PREFIX%%/bin/daedalus.rb"
19
pidfile="/var/run/daedalus.pid"
19
pidfile="/var/run/daedalus.pid"
20
command_interpreter="%%RUBY_WITHOUT_SUFFIX%%"
20
command_interpreter="%%RUBY_WITHOUT_SUFFIX%%"
21
required_files=%%PREFIX%%/etc/daedalus.conf
21
required_files=%%PREFIX%%/etc/daedalus/daedalus.xml
22
22
23
[ -z "$daedalus_enable" ]       && daedalus_enable="NO"
23
[ -z "$daedalus_enable" ]       && daedalus_enable="NO"
24
[ -z "$daedalus_flags" ]        && daedalus_flags="-C -c %%PREFIX%%/etc/daedalus.conf"
24
[ -z "$daedalus_flags" ]        && daedalus_flags="-c %%PREFIX%%/etc/daedalus/daedalus.xml -t %%PREFIX%%/etc/daedalus/templates.xml"
25
25
26
load_rc_config $name
26
load_rc_config $name
27
27
(-)daedalus/pkg-message Tue Jun 28 16:42:24 2005 (+6 lines)
Lines 2-7 Link Here
2
IMPORTANT NOTE:
2
IMPORTANT NOTE:
3
===============
3
===============
4
4
5
If you are upgrading from a version previous to 2.0, the 
6
location and layout of the configuration files has changed.
7
They are now in XML and a templates.xml file can be referenced
8
that allows updating of templates from machine to
9
machine without disrupting the actual checks being performed.
10
5
To use daedalus, be sure to include
11
To use daedalus, be sure to include
6
12
7
daedalus_enable="YES"
13
daedalus_enable="YES"
(-)daedalus/pkg-plist Tue Jun 28 16:31:55 2005 (-1 / +3 lines)
Lines 1-3 Link Here
1
bin/daedalus.rb
1
bin/daedalus.rb
2
etc/rc.d/daedalus.sh
2
etc/rc.d/daedalus.sh
3
etc/daedalus.conf.sample
3
etc/daedalus/daedalus.xml.sample
4
etc/daedalus/templates.xml.sample
5
@dirrm etc/daedalus

Return to bug 82747