Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 10:58:58 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Guido Falsi <mad@madpilot.net>
Cc:        Gianni Doe <gdoe6545@yahoo.it>, freebsd-ports@freebsd.org
Subject:   Re: squidGuard-1.4 + LDAP
Message-ID:  <790a9fff0907090858i7b04e581m6e599d858400043a@mail.gmail.com>
In-Reply-To: <20090709124601.GC93935@megatron.madpilot.net>
References:  <C7AC560E-24A6-4D50-8320-BC6CFBFE2E91@yahoo.it> <20090709093917.GA93935@megatron.madpilot.net> <31A0B176-C3C4-4CBD-BB9C-226731D80BFB@yahoo.it> <20090709124601.GC93935@megatron.madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 9, 2009 at 7:46 AM, Guido Falsi<mad@madpilot.net> wrote:
> On Thu, Jul 09, 2009 at 12:52:32PM +0200, Gianni Doe wrote:
>> >Grazie a te, e mi spiace non avere potuto applicare prima questa
>> >patch.
>>
>>
>> Many thanks Guido
>> I have applied the patch and SquidGuard + LDAP is now working perfectly.
>> Just for the record I had to set 'ldapprotover 3' for it to work on
>> my system.
>
> Very good, and thanks!
>
> I will submit a pr about this shortly to have the patch imported.
>
> BTW the problem with the missing file is a limitation of patch, which
> creates new files in the working directory instead of where they should
> be. I should have warned you berforehand.
>


If you have a patch that contains new files, then you need to specify
-p0 option to patch.  This will then cause patch to use the full path
name to the file, instead of just the filename.

See the man page for patch(1) on the full explanation of the -p option.

Scot



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