freebsd-ports/security/amavisd-new/files/patch-amavisd
James E. Housley b5f8865812 1) Update security/amavisd-new to amavisd-new-20030616-p6.
2) Incorporate changes from PR 57382:
   - add rc.subr support
   - cleanup sed variable replacement scripts
   - add pointer to Clam Antivirus to installation message
  PR 57382 was closed by mistake, I thought the contents
  have already been commited, while they were not.

PR:		59323
Submitted by:	milter@free.fr (1)
Submitted by:	Martin Matuska <martin@tradex.sk> (2)
Approved by:	MAINTAINER
2003-11-20 11:00:19 +00:00

11 lines
625 B
Text

--- amavisd.orig Mon Nov 10 01:22:13 2003
+++ amavisd Tue Nov 11 22:42:47 2003
@@ -6279,7 +6279,7 @@
my($amavisd_path) = find_program_path($0, [split(/:/, $path, -1)], 0);
$amavisd_path = $1 if $amavisd_path=~m{^([A-Za-z0-9/._=+-]+)$(?!\n)}; # untaint
-my($config_file) = '/etc/amavisd.conf'; # default location of config file
+my($config_file) = '%%PREFIX%%/etc/amavisd.conf'; # default location of config file
if (@ARGV >= 2 && $ARGV[0] eq '-c') { # override by command line option -c
shift @ARGV; $config_file = shift @ARGV;
$config_file = $1 if $config_file=~m{^([A-Za-z0-9/._=+-]+)$(?!\n)};# untaint