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

(-)perdition/Makefile (-2 / +4 lines)
Lines 29-37 Link Here
29
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3
29
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3
30
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
31
MAKE_ENV+=	DOCSDIR=${DOCSDIR}
31
MAKE_ENV+=	DOCSDIR=${DOCSDIR}
32
CONFIGURE_ARGS+=	--disable-daemon-map
32
CONFIGURE_ARGS+=	--disable-daemon-map --localstatedir=/var
33
33
34
INSTALLS_SHLIB=	yes
34
USE_LDCONFIG=	yes
35
USE_RC_SUBR=	perdition perdition.pop3 perdition.pop3s \
36
		perdition.imap4 perdition.imap4s perdition.imaps
35
37
36
##
38
##
37
## Available knobs:
39
## Available knobs:
(-)perdition/files/perdition.imap4.in (+29 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition_imap4
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition.imap4
10
#
11
# perdition_imap4_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_imap4_enable=${perdition_imap4_enable-"NO"}
17
perdition_imap4_flags=${perditon_imap4_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition_imap4"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/perdition.imap4"
25
pidfile="/var/run/perdition.imap4/perdition.imap4.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
(-)perdition/files/perdition.imap4s.in (+29 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition_imap4s
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition.imap4s
10
#
11
# perdition_imap4s_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_imap4s_enable=${perdition_imap4s_enable-"NO"}
17
perdition_imap4s_flags=${perditon_imap4s_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition_imap4s"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/perdition.imap4s"
25
pidfile="/var/run/perdition.imap4s/perdition.imap4s.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
(-)perdition/files/perdition.imaps.in (+29 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition_imaps
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition.imaps
10
#
11
# perdition_imaps_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_imaps_enable=${perdition_imaps_enable-"NO"}
17
perdition_imaps_flags=${perditon_imaps_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition_imaps"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/perdition.imaps"
25
pidfile="/var/run/perdition.imaps/perdition.imaps.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
(-)perdition/files/perdition.in (+29 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition
10
#
11
# perdition_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_enable=${perdition_enable-"NO"}
17
perdition_flags=${perdition_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/${name}"
25
pidfile="/var/run/perdition/${name}.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
(-)perdition/files/perdition.pop3.in (+29 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition_pop3
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition.pop3
10
#
11
# perdition_pop3_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_pop3_enable=${perdition_pop3_enable-"NO"}
17
perdition_pop3_flags=${perditon_pop3_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition_pop3"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/perdition.pop3"
25
pidfile="/var/run/perdition.pop3/perdition.pop3.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
(-)perdition/files/perdition.pop3s.in (+30 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: perdition_pop3s
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following line to /etc/rc.conf to enable perdition.pop3s
10
#
11
# perdition_pop3s_enable="YES"
12
#
13
# See perdition(8) for flags
14
#
15
16
perdition_pop3s_enable=${perdition_pop3s_enable-"NO"}
17
perdition_pop3s_flags=${perditon_pop3s_flags-""}
18
19
. %%RC_SUBR%%
20
21
name="perdition_pop3s"
22
rcvar=`set_rcvar`
23
24
command="%%PREFIX%%/sbin/perdition.pop3s"
25
pidfile="/var/run/perdition.pop3s/perdition.pop3s.pid"
26
27
load_rc_config $name
28
29
run_rc_command "$1"
30

Return to bug 117101