Mercurial > notdcc
comparison debian/dcc-server.default.diff @ 1:9b8d79ac0dc3
blindly adding debian patch for old version
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 14:25:08 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:c7f6b056b673 | 1:9b8d79ac0dc3 |
---|---|
1 --- dcc-1.2.74.orig/debian/dcc-server.default | |
2 +++ dcc-1.2.74/debian/dcc-server.default | |
3 @@ -0,0 +1,126 @@ | |
4 +# start server with default local ID specified in /etc/dcc/ids | |
5 +OPTIONS="-i 32702" | |
6 + | |
7 +######## | |
8 +# the following is taken from upstream dcc-conf | |
9 +######## | |
10 + | |
11 +# set parameters for DCC start and cron scripts | |
12 +# from Rhyolite Software DCC 1.2.50-1.40 $Revision: 1.1 $ | |
13 +DCC_CONF_VERSION=3 | |
14 + | |
15 +# don't set DCC_HOMEDIR since if we got here, it must be set | |
16 +DCC_LIBEXEC=/usr/lib/dcc | |
17 +DCC_RUNDIR=/var/run | |
18 + | |
19 +# DCC user name | |
20 +DCCUID=dcc | |
21 + | |
22 + | |
23 +DCCD_ENABLE=off | |
24 +# DCC server-IDs must be globally unique. | |
25 +SRVR_ID= | |
26 +# BRAND can be any short alphanumeric string that hints about the identity | |
27 +# of the server. | |
28 +BRAND= | |
29 +# used to start dccd | |
30 +# A value for `dccd -t` computed from DCCM_REJECT_AT is assumed to set | |
31 +# default flooding threshold. | |
32 +DCCD_ARGS=-6 | |
33 + | |
34 + | |
35 +# Client greylist parameters such as 'on' or 'noIP' | |
36 +# GREY_CLIENT_ARGS sets the `dccm -G` and `dccifd -G` value | |
37 +# and turns on the local greylist dccd server unless GREY_ENABLE=off | |
38 +GREY_CLIENT_ARGS= | |
39 +# turns local greylist server 'on' or 'off', but does not effect dccm, dccifd | |
40 +GREY_ENABLE= | |
41 + | |
42 +# GREY_SRVR_ID DCC server-IDs must be globally unique, but greylisting dccd | |
43 +# servers are usually isolated. If you have more than one greylist server, | |
44 +# ensure that they use distinct server-IDs and that they flood each other | |
45 +# with entries in /var/dcc/flod | |
46 +GREY_SRVR_ID=$SRVR_ID | |
47 +# used to start dccd for grey listing; see also GREY_ENABLE | |
48 +GREY_DCCD_ARGS=-6 | |
49 + | |
50 + | |
51 +DCCM_ENABLE=on | |
52 +# used to start dccm | |
53 +# a common value is | |
54 +# DCCM_ARGS="-SHELO -Smail_host -SSender -SList-ID" | |
55 +DCCM_ARGS= | |
56 +DCCM_LOGDIR=log | |
57 +DCCM_WHITECLNT=whiteclnt | |
58 +DCCM_USERDIRS=userdirs | |
59 +# set DCCM_LOG_AT to a number that determines "bulk mail" for your situation. | |
60 +# 50 is a typical value. | |
61 +# Leave DCCM_REJECT_AT blank until you are confident that most sourced of | |
62 +# solicited bulk mail have been white-listed. Then set it to the number | |
63 +# that defines "bulk mail" for your site. Note that this rejection | |
64 +# or "bulk" threshold does not affect the blacklisting effects of the | |
65 +# DCCM_WHITECLNT white list file. | |
66 +# Add '-aIGNORE' to DCCM_ARGS to ignore the bulkiness of mail except to | |
67 +# add X-DCC headers. | |
68 +DCCM_LOG_AT=5 | |
69 +DCCM_REJECT_AT= | |
70 +# override basic list of DCC server checksums controlling rejections or logging | |
71 +DCCM_CKSUMS= | |
72 +# additional DCC server checksums worthy of rejections or logging | |
73 +DCCM_XTRA_CKSUMS= | |
74 + | |
75 + | |
76 +DCCIFD_ENABLE=off | |
77 +# used to start dccifd | |
78 +# a common value is | |
79 +# DCCIFD_ARGS="-SHELO -Smail_host -SSender -SList-ID" | |
80 +DCCIFD_ARGS= | |
81 +DCCIFD_LOGDIR="$DCCM_LOGDIR" | |
82 +DCCIFD_WHITECLNT="$DCCM_WHITECLNT" | |
83 +DCCIFD_USERDIRS="$DCCM_USERDIRS" | |
84 +DCCIFD_LOG_AT="$DCCM_LOG_AT" | |
85 +DCCIFD_REJECT_AT="$DCCM_REJECT_AT" | |
86 +# override basic list of checksums controlling rejections or logging | |
87 +DCCIFD_CKSUMS="$DCCM_CKSUMS" | |
88 +# additional DCC server checksums worthy of rejections or logging | |
89 +DCCIFD_XTRA_CKSUMS="$DCCM_XTRA_CKSUMS" | |
90 + | |
91 +# days to keep files in DCC log directories | |
92 +DBCLEAN_LOGDAYS=14 | |
93 +# used to start dbclean, including -e and -E | |
94 +DBCLEAN_ARGS= | |
95 + | |
96 + | |
97 +# optionally set to something like "local5" or "local5.notice" for | |
98 +# dccd, dbclean, and dccm | |
99 +DCC_INFO_LOG_FACILITY= | |
100 +DCC_ERROR_LOG_FACILITY= | |
101 + | |
102 + | |
103 +# ensure that the log facilities include levels and that $DCC_LOGGER | |
104 +# has a default. | |
105 +if test ! -z "$DCC_INFO_LOG_FACILITY"; then | |
106 + if expr "X$DCC_INFO_LOG_FACILITY" : 'X.*\..*' >/dev/null; then | |
107 + : | |
108 + else | |
109 + DCC_INFO_LOG_FACILITY="$DCC_INFO_LOG_FACILITY.notice" | |
110 + fi | |
111 + DCC_LOG_ARGS="$DCC_LOG_ARGS -Linfo,$DCC_INFO_LOG_FACILITY" | |
112 +fi | |
113 +if test -z "$DCC_ERROR_LOG_FACILITY"; then | |
114 + # for $DCC_LOGGER | |
115 + DCC_ERROR_LOG_FACILITY=mail.err | |
116 +else | |
117 + if expr "X$DCC_ERROR_LOG_FACILITY" : 'X.*\..*' >/dev/null; then | |
118 + : | |
119 + else | |
120 + DCC_ERROR_LOG_FACILITY="$DCC_ERROR_LOG_FACILITY.err" | |
121 + fi | |
122 + DCC_LOG_ARGS="$DCC_LOG_ARGS -Lerror,$DCC_ERROR_LOG_FACILITY" | |
123 +fi | |
124 +DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC" | |
125 + | |
126 + | |
127 +# do not change the following | |
128 +Configure_DCC_LIBEXEC=/usr/lib/dcc | |
129 +Configure_DCC_RUNDIR=/var/run |