Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/dkim-milter/files: dkim-filter.init dkim-milter-2.4.3-gentoo.patch digest-dkim-milter-2.4.3 dkim-milter-2.3.2-diffheaders.patch digest-dkim-milter-2.3.2 dkim-milter-2.3.2-gentoo.patch digest-dkim-milter-2.4.1
Date: Thu, 24 Jan 2008 11:39:19
Message-Id: E1JI0QO-0002c9-6a@stork.gentoo.org
1 mrness 08/01/24 11:39:16
2
3 Modified: dkim-filter.init
4 Added: dkim-milter-2.4.3-gentoo.patch
5 digest-dkim-milter-2.4.3
6 Removed: dkim-milter-2.3.2-diffheaders.patch
7 digest-dkim-milter-2.3.2
8 dkim-milter-2.3.2-gentoo.patch
9 digest-dkim-milter-2.4.1
10 Log:
11 Version bump. Remove stalled Unix socket before starting the service (#205097).
12 (Portage version: 2.1.3.19)
13
14 Revision Changes Path
15 1.4 mail-filter/dkim-milter/files/dkim-filter.init
16
17 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init?rev=1.4&view=markup
18 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init?rev=1.4&content-type=text/plain
19 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init?r1=1.3&r2=1.4
20
21 Index: dkim-filter.init
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init,v
24 retrieving revision 1.3
25 retrieving revision 1.4
26 diff -u -r1.3 -r1.4
27 --- dkim-filter.init 10 Oct 2007 16:01:44 -0000 1.3
28 +++ dkim-filter.init 24 Jan 2008 11:39:15 -0000 1.4
29 @@ -1,7 +1,7 @@
30 #!/sbin/runscript
31 # Copyright 1999-2006 Gentoo Foundation
32 # Distributed under the terms of the GNU General Public License v2
33 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init,v 1.3 2007/10/10 16:01:44 mrness Exp $
34 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dkim-milter/files/dkim-filter.init,v 1.4 2008/01/24 11:39:15 mrness Exp $
35
36 CONFFILE=/etc/mail/dkim-filter/${SVCNAME}.conf
37 PIDFILE=/var/run/dkim-filter/${SVCNAME}.pid
38 @@ -31,12 +31,16 @@
39
40 start() {
41 check_cfg || return 1
42 - local SOCKFILE=$(sed -nr -e 's/^[[:space:]]*Socket[[:space:]]+((local)|(unix))://p' "${CONFFILE}")
43 +
44 + # Remove stalled Unix socket if no other process is using it
45 + local UNIX_SOCKET=$(sed -ne 's/^[[:space:]]*Socket[[:space:]]\+\(unix\|local\)://p' "${CONFFILE}")
46 + if [ -S "${UNIX_SOCKET}" ] && ! fuser -s "${UNIX_SOCKET}"; then
47 + rm "${UNIX_SOCKET}"
48 + fi
49
50 ebegin "Starting DKIM filter"
51 start-stop-daemon --start --pidfile "${PIDFILE}" \
52 - --exec /usr/bin/dkim-filter -- -x "${CONFFILE}" -P "${PIDFILE}" && \
53 - [ -z "${SOCKFILE}" ] || chmod a+rwx "${SOCKFILE}"
54 + --exec /usr/bin/dkim-filter -- -x "${CONFFILE}" -P "${PIDFILE}"
55 eend $?
56 }
57
58
59
60
61 1.1 mail-filter/dkim-milter/files/dkim-milter-2.4.3-gentoo.patch
62
63 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/dkim-milter-2.4.3-gentoo.patch?rev=1.1&view=markup
64 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/dkim-milter-2.4.3-gentoo.patch?rev=1.1&content-type=text/plain
65
66 Index: dkim-milter-2.4.3-gentoo.patch
67 ===================================================================
68 diff -Nru dkim-milter-2.4.3.orig/devtools/Site/site.config.m4 dkim-milter-2.4.3/devtools/Site/site.config.m4
69 --- dkim-milter-2.4.3.orig/devtools/Site/site.config.m4 2008-01-24 13:07:10.000000000 +0200
70 +++ dkim-milter-2.4.3/devtools/Site/site.config.m4 2008-01-24 13:08:08.000000000 +0200
71 @@ -11,7 +11,10 @@
72 dnl If you are encountering coredumps and want to be able to analyze them
73 dnl using something like "gdb", enable this next line by deleting the "dnl"
74 dnl at the front of it.
75 -dnl define(`confOPTIMIZE', `-g')
76 +define(`confOPTIMIZE', `@@CFLAGS@@')
77 +define(`confENVDEF', `@@ENVDEF@@')
78 +dnl man build is broken
79 +define(`confNO_MAN_BUILD',`')
80
81 dnl Shared library for libdkim
82 dnl
83 @@ -40,7 +43,7 @@
84 dnl
85 dnl If you want to use the asynchronous resolver library, enable this
86 dnl next line by deleting the "dnl" at the front of it.
87 -dnl define(`bld_USE_ARLIB', `true')
88 +define(`bld_USE_ARLIB', `true')
89 dnl
90 dnl libar normally uses res_init() or res_ninit() to load the contents
91 dnl of resolv.conf for its use. If neither of these work on your system
92 @@ -65,7 +68,7 @@
93 dnl it has seen, rather than relying on the DNS server to provide caching,
94 dnl enable this next line by deleting the "dnl" at the front of it. Also
95 dnl see the section below called "BerkeleyDB".
96 -dnl APPENDDEF(`confENVDEF', `-DQUERY_CACHE ')
97 +APPENDDEF(`confENVDEF', `-DQUERY_CACHE ')
98
99 dnl BerkeleyDB -- Berkeley DB ("Sleepycat") database
100 dnl
101 @@ -78,7 +81,7 @@
102 dnl by deleting "dnl" from the front of them:
103 dnl APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB/include ')
104 dnl APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB/lib ')
105 -dnl APPENDDEF(`confLIBS', `-ldb ')
106 +APPENDDEF(`confLIBS', `-ldb ')
107
108 dnl OpenSSL -- cryptography library
109 dnl
110 @@ -114,7 +117,7 @@
111 dnl APPENDDEF(`confENVDEF', `-D_FFR_REQUIRED_HEADERS ')
112 dnl APPENDDEF(`confENVDEF', `-D_FFR_SELECT_CANONICALIZATION ')
113 dnl APPENDDEF(`confENVDEF', `-D_FFR_SELECTOR_HEADER ')
114 -dnl APPENDDEF(`confENVDEF', `-D_FFR_STATS ')
115 +APPENDDEF(`confENVDEF', `-D_FFR_STATS ')
116 dnl APPENDDEF(`confENVDEF', `-D_FFR_VBR ')
117 dnl APPENDDEF(`confENVDEF', `-D_FFR_ZTAGS ')
118
119 diff -Nru dkim-milter-2.4.3.orig/dkim-filter/dkim-filter.conf.sample dkim-milter-2.4.3/dkim-filter/dkim-filter.conf.sample
120 --- dkim-milter-2.4.3.orig/dkim-filter/dkim-filter.conf.sample 2007-12-14 09:22:19.000000000 +0200
121 +++ dkim-milter-2.4.3/dkim-filter/dkim-filter.conf.sample 2008-01-24 13:07:51.000000000 +0200
122 @@ -20,13 +20,6 @@
123
124 # AutoRestart No
125
126 -## Background { yes | no }
127 -## default "yes"
128 -##
129 -## Indicate whether or not the filter should run in the background.
130 -
131 -# Background Yes
132 -
133 ## BodyLengths { yes | no }
134 ## default "no"
135 ##
136 @@ -74,7 +67,7 @@
137 ## Specify for which domain(s) signing should be done. No default; must
138 ## be specified for signing.
139
140 -Domain example.com
141 +Domain my-domain.com
142
143 ## ExternalIgnoreList filename
144 ##
145 @@ -89,7 +82,7 @@
146 ## Specifies the path to the private key to use when signing. Ignored if
147 ## Keylist is set. No default; must be specified for signing.
148
149 -KeyFile /var/db/dkim/example.private
150 +KeyFile /etc/mail/dkim-filter/my-selector-name.private
151
152 ## KeyList filename
153 ##
154 @@ -106,7 +99,7 @@
155 ## as the beginning of a comment. See dkim-filter.conf(5) for more
156 ## information.
157
158 -# KeyList /var/db/dkim/keylist
159 +# KeyList /etc/mail/dkim-filter/keylist
160
161 ## InternalHosts filename
162 ##
163 @@ -114,7 +107,7 @@
164 ## hosts from which mail should be signed rather than verified.
165 ## Automatically contains 127.0.0.1. See man page for file format.
166
167 -# InternalHosts filename
168 +# InternalHosts /etc/mail/dkim-filter/internalhosts
169
170 ## MacroList macro[=value][,...]
171 ##
172 @@ -198,22 +191,6 @@
173
174 # PeerList filename
175
176 -## PidFile filename
177 -##
178 -## Name of the file where the filter should write its pid before beginning
179 -## normal operations.
180 -
181 -# PidFile filename
182 -
183 -## POPDBFile filename
184 -##
185 -## Names a database which should be checked for "POP before SMTP" records
186 -## as a form of authentication of users who may be sending mail through
187 -## the MTA for signing. Requires special compilation of the filter.
188 -## See dkim-filter.conf(5) for more information.
189 -
190 -# POPDBFile filename
191 -
192 ## Quarantine { yes | no }
193 ## default "no"
194 ##
195 @@ -288,7 +265,7 @@
196 ## inet:port to listen on all interfaces
197 ## local:/path/to/socket to listen on a UNIX domain socket
198
199 -Socket inet:port@localhost
200 +Socket local:/var/run/dkim-filter/dkim-filter.sock
201
202 ## SubDomains { yes | no }
203 ## default "no"
204 @@ -318,7 +295,7 @@
205 ## The system has its own default which will be used (usually 022).
206 ## See the umask(2) man page for more information.
207
208 -# UMask 022
209 +UMask 002
210
211 ## Userid userid
212 ## default (none)
213 @@ -326,7 +303,7 @@
214 ## Change to user "userid" before starting normal operation? May include
215 ## a group ID as well, separated from the userid by a colon.
216
217 -# UserID userid
218 +UserID milter
219
220 ## UseSSPDeny { yes | no }
221 ## default "no"
222 @@ -344,3 +321,10 @@
223 ## messages it has processed.
224
225 # X-Header No
226 +
227 +## Statistics filename
228 +##
229 +## Names a file to which useful statistics will be saved.
230 +## See man dkim-stats page
231 +
232 +Statistics /var/run/dkim-filter/dkim-filter.stats
233
234
235
236 1.1 mail-filter/dkim-milter/files/digest-dkim-milter-2.4.3
237
238 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/digest-dkim-milter-2.4.3?rev=1.1&view=markup
239 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/dkim-milter/files/digest-dkim-milter-2.4.3?rev=1.1&content-type=text/plain
240
241 Index: digest-dkim-milter-2.4.3
242 ===================================================================
243 MD5 b2206bc0dfb2f584c47fe99a4479e428 dkim-milter-2.4.3.tar.gz 616459
244 RMD160 fc8416eb84c8b4a71a2987b5fc5030f91032996e dkim-milter-2.4.3.tar.gz 616459
245 SHA256 3168856fc7760c08abfe37e1291c102293cd8b53b26974f2646693e369eca87b dkim-milter-2.4.3.tar.gz 616459
246
247
248
249 --
250 gentoo-commits@l.g.o mailing list