From owner-cvs-all@FreeBSD.ORG Thu Sep 15 13:29:10 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF1116A41F; Thu, 15 Sep 2005 13:29:10 +0000 (GMT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AF4443D46; Thu, 15 Sep 2005 13:29:10 +0000 (GMT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8FDTAcU082625; Thu, 15 Sep 2005 13:29:10 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8FDTAm6082624; Thu, 15 Sep 2005 13:29:10 GMT (envelope-from cperciva) Message-Id: <200509151329.j8FDTAm6082624@repoman.freebsd.org> From: Colin Percival Date: Thu, 15 Sep 2005 13:29:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/portsnap/portsnap portsnap.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 13:29:10 -0000 cperciva 2005-09-15 13:29:10 UTC FreeBSD src repository Modified files: usr.sbin/portsnap/portsnap portsnap.sh Log: Portsnap uses host(1) to search for mirrors, but this is only available when the base system is not compiled with NO_BIND set. Before we start searching for mirrors, make sure that host(1) can be found, and if it doesn't exist then fallback to the A record instead of the SRV records. Submitted by: Luca Morettoni Revision Changes Path 1.12 +6 -0 src/usr.sbin/portsnap/portsnap/portsnap.sh