Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 13:16:19 +0100
From:      Florian Smeets <flo@kasimir.com>
To:        Gabor Kovesdan <gabor@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/security/amavisd-new Makefile ports/security/amavisd-new/files amavisd.sh.in patch-amavisd
Message-ID:  <49A3E513.8050209@kasimir.com>
In-Reply-To: <200902231153.n1NBr9u2024662@repoman.freebsd.org>
References:  <200902231153.n1NBr9u2024662@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23.02.2009 12:53 Uhr, Gabor Kovesdan wrote:
> gabor       2009-02-23 11:53:09 UTC
>
>    FreeBSD ports repository
>
>    Modified files:
>      security/amavisd-new Makefile
>      security/amavisd-new/files amavisd.sh.in
>    Added files:
>      security/amavisd-new/files patch-amavisd

With the addition of the patch-amavisd file amavisd is looking for it's 
config file in /usr/local/usr/local/etc/amavisd.conf as the patch file 
changes @config_files to

-push(@config_files, '/etc/amavisd.conf')  if !@config_files;
+push(@config_files, '/usr/local/etc/amavisd.conf')  if !@config_files;

and in the Makefile we have

         @${REINPLACE_CMD} -e 
"s|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|" \
                                 -e "s|/usr/bin/perl|${PERL}|" \
                         ${WRKSRC}/amavisd


The result look like this:

push(@config_files, '/usr/local/usr/local/etc/amavisd.conf')  if 
!@config_files;

One of the two has to go.

Cheers,
Florian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A3E513.8050209>