Browse code

bb#1400

git-svn: trunk@4818

aCaB authored on 2009/02/18 10:43:14
Showing 4 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed Feb 18 03:12:12 CET 2009 (acab)
2
+-----------------------------------
3
+ * clamav-milter: die on TERM (bb#1400)
4
+		  install conf file on make install
5
+
1 6
 Tue Feb 17 23:12:19 EET 2009 (edwin)
2 7
 ------------------------------------
3 8
  * unit_tests/check_clamd.c: disable test on BSD
... ...
@@ -244,6 +244,7 @@ void cpool_free(void) {
244 244
 
245 245
     if(!quitting) {
246 246
 	logg("*Killing the monitor and stopping\n");
247
+	quitting = 1;
247 248
 	pthread_cond_signal(&mon_cond);
248 249
 	pthread_join(probe_th, NULL);
249 250
     }
... ...
@@ -25,3 +25,9 @@ install-data-local:
25 25
 	$(INSTALL_DATA) $(srcdir)/clamd.conf $(DESTDIR)$(CFGINST)
26 26
 	@test -f $(DESTDIR)$(CFGINST)/freshclam.conf || \
27 27
 	$(INSTALL_DATA) $(srcdir)/freshclam.conf $(DESTDIR)$(CFGINST)
28
+if BUILD_CLAMD
29
+if HAVE_MILTER
30
+	@test -f $(DESTDIR)$(CFGINST)/clamav-milter.conf || \
31
+	$(INSTALL_DATA) $(srcdir)/clamav-milter.conf $(DESTDIR)$(CFGINST)
32
+endif
33
+endif
... ...
@@ -397,6 +397,8 @@ install-data-local:
397 397
 	$(INSTALL_DATA) $(srcdir)/clamd.conf $(DESTDIR)$(CFGINST)
398 398
 	@test -f $(DESTDIR)$(CFGINST)/freshclam.conf || \
399 399
 	$(INSTALL_DATA) $(srcdir)/freshclam.conf $(DESTDIR)$(CFGINST)
400
+@BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@	@test -f $(DESTDIR)$(CFGINST)/clamav-milter.conf || \
401
+@BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@	$(INSTALL_DATA) $(srcdir)/clamav-milter.conf $(DESTDIR)$(CFGINST)
400 402
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
401 403
 # Otherwise a system limit (for SysV at least) may be exceeded.
402 404
 .NOEXPORT: