From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 09:14:12 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A47BA16A407 for ; Thu, 4 Jan 2007 09:14:12 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 1662E13C46A for ; Thu, 4 Jan 2007 09:14:11 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so4781409uge for ; Thu, 04 Jan 2007 01:14:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:x-operating-system:user-agent; b=hGARmZyK3zk73+ZXjqi8Z6vrY9ZTEatpcT3kPdqzYBONnao4coKIPuh58ZgagaeziiIS7LKqAka62UO4eH0Q8HF+OFwd1h++9/VBjkGBT7SvZe09mM95B6mw9PCifCwaEscGMMffJRdKHJhpdY13aTb/oGsaYOhu788TJH+idK4= Received: by 10.67.20.3 with SMTP id x3mr16285886ugi.1167900454047; Thu, 04 Jan 2007 00:47:34 -0800 (PST) Received: from gauss.sanabria.es ( [84.77.146.114]) by mx.google.com with ESMTP id 55sm33080865ugq.2007.01.04.00.47.32; Thu, 04 Jan 2007 00:47:33 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 60A3A4097; Thu, 4 Jan 2007 09:47:30 +0100 (CET) Date: Thu, 4 Jan 2007 09:47:29 +0100 From: =?iso-8859-1?Q?Jos=E9_G=2E?= Juanino To: questions@freebsd.org Message-ID: <20070104084729.GA980@gauss.sanabria.es> Mail-Followup-To: questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline X-Operating-System: FreeBSD 6.1-RELEASE-p10 User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Massive upgrade after updating gnutls-1.4.5 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 09:14:12 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I read in the UPDATING file: ### gnutls has been updated to 1.6.1 and all shared libraries' versions have been bumped. So you need to rebuild all applications that depend on gnutls. Do something like: portupgrade -rf gnutls ### I run pkg_glob -r gnutls-1.4.5 and get 42 packages, including k3b-0.12.17 and abiword-2.4.6 among other (I mentioned only some of the biggest to build in my slow pentium III computer). However, I have noticed that only a few ports depends directly on gnults port (search for those ports which depends on gnutls but do not depend on the rest of ports listed in /var/db/pkg/gnutls-1.4.5/+REQUIRED_BY, see [1]). These ports are (in my system): aMule-2.1.3 gconf2-2.16.0 gkrellm-2.2.10_1 gnome-icon-theme-2.16.1 gtkspell-2.0.11_4 k3b-i18n-0.12.17 ktorrent-2.0.3 libglade2-2.6.0_2 mplayer-0.99.10 pinentry-gtk2-0.7.2_5 sdl-1.2.11,2 tinyca-0.7.5 wxgtk2-common-2.6.3_1 xvid4conf-1.12 My aim is rebuild only the above ports, and ignore the others listed in the output of pkg_glob -r gnutls-1.4.5. The question is: do you think is my approach right, or shall I need to rebuild all the ports of pkg_glob output? For example, suppose libA depends on libB, and libB depends in turn on libC. If version of libC changes, I need rebuild libB but, shall I need to rebuild libA? PD: excuse my poor english [1] #!/bin/sh inputPort=3D"$1" vardbpkg=3D"/var/db/pkg" # completePath(){ while read p do if [ -r "$vardbpkg/$p/+REQUIRED_BY" ] then echo "$vardbpkg/$p/+REQUIRED_BY" fi done } portname=3D`pkg_info -qo $inputPort` if test $? !=3D 0 then exit 1 fi ### while read port do if ! grep $port `grep -v $port $vardbpkg/$inputPort/+REQUIRED_BY | comp= letePath` > /dev/null 2>&1 then echo "$port" fi done < $vardbpkg/$inputPort/+REQUIRED_BY --=20 http://personales.ya.com/banach --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFnL8hFOo0zaS9RnIRAv2qAJwOpAjgt9z0MOZMO2vBrrMJVzM3ngCghr4Y iB5nbiSONxsQrGT8X75lDwo= =prtW -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--