From owner-freebsd-ports@FreeBSD.ORG Sun Jun 19 16:12:04 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88C60106564A; Sun, 19 Jun 2011 16:12:04 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 681198FC13; Sun, 19 Jun 2011 16:12:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 23DBE17128; Sun, 19 Jun 2011 12:12:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received; s=aegis; t= 1308499923; bh=nnNWgacv4xUy32XDiptnB0CGsz4KgMqL+pBFiVwABq4=; b=G I/S6oTbq6CPObRqLg9vUH7DYWe5Khgq07PxgHaip1D2Kz7MkdxevACrRGfaBe059 D6zTIkQtouSWrXDWyvmvBM3KAsF4x7TXSvGw6Vyv47EXfk1MRqgdLK82ZR0Ds5oQ lBj5y1MZjuncLgJbinHU001AcljSGn/BZQqnvsO76A= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id xnsBYO0RW0Db; Sun, 19 Jun 2011 12:12:03 -0400 (EDT) Date: Sun, 19 Jun 2011 12:12:00 -0400 From: Sahil Tandon To: Pierre PEYRONNEL Message-ID: <20110619161200.GA21848@magic.hamla.org> References: <3535BDAF-0161-4F5D-BF64-4208F87CB401@gmail.com> <20110619071546.GD21579@magic.hamla.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@FreeBSD.org, mandree@FreeBSD.org Subject: Re: FreeBSD Port: dnsmasq-2.57_3,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2011 16:12:04 -0000 Please, do not top-post. On Sun, 2011-06-19 at 16:12:14 +0200, Pierre PEYRONNEL wrote: > So I installed a real FreeBSD 8.2-LATEST in a VM and dug more. It > turns out that : 8.2-LATEST does not exist, so you must mean something else. But that is besides the point: to get a newer dnsmasq package, you do not need to (re-)install FreeBSD. > - the dnsmasq package is not broken, but i don't see why it needs the > EXACT version libidn-1.16 to really work (on a fresh system the exact > libidn-1.16 gets installed) Let's try this again: by default, on a 8.2-RELEASE system, the dnsmasq package you download with 'pkg_add -r' is the one that was built in mid-February, around when 8.2-RELEASE was officially released. At that time, dns/libidn was at version 1.16, which corresponds to libidn.so.16, which has been been the *shlib* version since the dns/libidn *port* was at version 0.5.8. > - when installing on a system that has a higher libidn (like 1.19...) > pkg_add issues a warning but dnsmasq actually does not work, as it > looks for 1.16 - the libidn-1.19 package actually gives you > libidn.so.17 This is expected behavior, because you downloaded an OLDER dnsmasq package, in which the libidn-1.16 was recorded. > So... I ended up using the oldest trick : - ln -s libidn.so.16 > libidn.so.17 Instead of that kludge, you could simply download a newer dnsmasq package that is linked with libidn.so.17, which comes with libidn-1.19. For example: % env PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/ pkg_add -r dnsmasq -- Sahil Tandon