From owner-freebsd-ports Thu Mar 14 4:22: 7 2002 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id A500B37B41B for ; Thu, 14 Mar 2002 04:21:56 -0800 (PST) Received: (qmail 1162 invoked by uid 1000); 14 Mar 2002 12:22:09 -0000 Date: Thu, 14 Mar 2002 14:22:09 +0200 From: Peter Pentchev To: Vivek Khera Cc: freebsd-ports@freebsd.org Subject: Re: script to check for updates Message-ID: <20020314142209.B305@straylight.oblivion.bg> Mail-Followup-To: Vivek Khera , freebsd-ports@freebsd.org References: <001601c1c2b9$5eb14a20$345bbc42@mad.chartermi.net> <20020304103658.A575@k7.mavetju.org> <200203041932.g24JWPN21715@onceler.kciLink.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203041932.g24JWPN21715@onceler.kciLink.com>; from khera@kcilink.com on Mon, Mar 04, 2002 at 02:32:25PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 04, 2002 at 02:32:25PM -0500, Vivek Khera wrote: > >>>>> "EG" =3D=3D Edwin Groothuis writes: >=20 > EG> My 2cents are: pkg_version -v | grep -v "up-to-date". It shows > EG> whatever I need to know for my port-submissions: >=20 > I spell that "pkg_version -v -L=3D" >=20 > It requires an up-to-date ports tree. Please note that those two are not equivalent. -L=3D would exclude the '=3D up-to-date with index' state - an old port with no origin recorded, which has the same version as its /usr/ports/INDEX entry (since pkg_version does not know which port directory to check). Such a port might as well be outdated since the last INDEX regen. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am jealous of the first word in this sentence. --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyQlfEACgkQ7Ri2jRYZRVMwjQCfX/rbe1Znm/d1KSzIMFoMabsf RxoAnA3YEIvfyIKTvjDLe9HpII99+/oU =aPfQ -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message