From owner-freebsd-ports@FreeBSD.ORG Wed Jan 3 22:48:41 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E81D16A407 for ; Wed, 3 Jan 2007 22:48:41 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id D22C213C467 for ; Wed, 3 Jan 2007 22:48:36 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so4700722uge for ; Wed, 03 Jan 2007 14:48:35 -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=j4ajkShSOhNX4G9ZBKFaa2eO5VybOCouMthadgKlmRn34uY8gwZ/eYp8Tgp5lhRlO4fzdorizjqLrKPWaT1GX3PZ8nj6RNj04P9We/muZwB+PjvwW6h45acEwMRORGQoKVfgd7h0P+jroUrKHYzbXCy1s3NeOhv7kHgyReGHIJc= Received: by 10.67.119.13 with SMTP id w13mr20989211ugm.1167864512275; Wed, 03 Jan 2007 14:48:32 -0800 (PST) Received: from gauss.sanabria.es ( [84.77.131.218]) by mx.google.com with ESMTP id i39sm33095602ugd.2007.01.03.14.48.30; Wed, 03 Jan 2007 14:48:30 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id B19C14081; Wed, 3 Jan 2007 23:49:10 +0100 (CET) Date: Wed, 3 Jan 2007 23:49:10 +0100 From: =?iso-8859-1?Q?Jos=E9_G=2E?= Juanino To: freebsd-ports@freebsd.org Message-ID: <20070103224910.GA18769@gauss.sanabria.es> Mail-Followup-To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline X-Operating-System: FreeBSD 6.1-RELEASE-p10 User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Massive upgrade after updating gnutls-1.4.5 port 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: Wed, 03 Jan 2007 22:48:41 -0000 --BXVAT5kNtrzKuDFl 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 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 --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFnDLmFOo0zaS9RnIRArXnAJ9da5HhOO1wCg4u7xMqg1vEbgZNoQCcDSt/ HCNrO9gTcDHkUFeVUfaWs00= =vIEd -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--