From owner-freebsd-ports@FreeBSD.ORG Thu Jul 9 15:59:03 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6830106564A for ; Thu, 9 Jul 2009 15:59:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-vw0-f172.google.com (mail-vw0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 671BC8FC1B for ; Thu, 9 Jul 2009 15:59:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by vwj2 with SMTP id 2so209909vwj.3 for ; Thu, 09 Jul 2009 08:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H+nasZzXFhwVYNcpSZDRlO11d1nP+Ny/0XUGYu0bxyg=; b=awaiymeDTQkQJ+zYX4Y4Ut1Ws0Gwb4A4sVMF1wpSsLVoR9aU/jetpHsggfrnPHz3fZ KRk4eLZiln1I6HbHXPjcm+221p2Wz+yFfEYnx2h/2WDlOcgAuPxUn19aqs+eXSckIo/6 LESezlGu/7qCm9azySGTlIx0Akqc3D4iUD7u8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JQfXVuSkBj/zhvD/Y9b/5AVRnCmoymT0CI1bFFTHD1EToOzf+SpTOzY7mb05Ew59/O DZC1CQ7aNK0GIgelq3tI+yLAPHoQbOHOO9+tnrmdpojG5yVQblfdZoyrG8Mp2b4Is+Zp 9JkV8SplT1NIfa+zwOM6h4yg2LcuuYYtL78AM= MIME-Version: 1.0 Received: by 10.220.100.1 with SMTP id w1mr1306779vcn.15.1247155138479; Thu, 09 Jul 2009 08:58:58 -0700 (PDT) In-Reply-To: <20090709124601.GC93935@megatron.madpilot.net> References: <20090709093917.GA93935@megatron.madpilot.net> <31A0B176-C3C4-4CBD-BB9C-226731D80BFB@yahoo.it> <20090709124601.GC93935@megatron.madpilot.net> Date: Thu, 9 Jul 2009 10:58:58 -0500 Message-ID: <790a9fff0907090858i7b04e581m6e599d858400043a@mail.gmail.com> From: Scot Hetzel To: Guido Falsi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gianni Doe , freebsd-ports@freebsd.org Subject: Re: squidGuard-1.4 + LDAP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 15:59:04 -0000 On Thu, Jul 9, 2009 at 7:46 AM, Guido Falsi 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