From owner-freebsd-questions Wed Nov 17 15:31:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (Postfix) with ESMTP id 2DC1E14C0B for ; Wed, 17 Nov 1999 15:31:21 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id PAA85754; Wed, 17 Nov 1999 15:25:02 -0800 (PST) Date: Wed, 17 Nov 1999 15:25:02 -0800 (PST) From: Annelise Anderson To: TrouBle Cc: Jonathon McKitrick , "freebsd-questions@FreeBSD.ORG" Subject: Re: Updating installed PORTs In-Reply-To: <383326B1.9BD0AF94@netquick.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is really slick! Here, fyi, is a little output from running pkg_version -v (for verbose output): gawk-3.0.3 < needs updating (index has 3.0.4) gd-1.6.3 = up-to-date gdbm-1.7.3 < needs updating (index has 1.8.0) gettext-0.10.35 = up-to-date ghostscript-5.10 ? multiple versions (index has 5.10,5.50) giflib-3.0,4.1.0 ? multiple versions (index has 4.1.0) gimp-1.1.2 < needs updating (index has 1.1.10) The problem with updating without thought is that sometimes configuring a new version takes some time and attention. It would also be useful if pkg_version gave the path to the port, so that one could turn this output into a script with lines like: cd /usr/ports/graphics/gimp && make install (or wherever gimp is) I guess you could make a list to be updated, do make search key=xxx for the names, and use the results for updating. Also, some ports are interactive and require the user to enter stuff while they're being built. Annelise On Wed, 17 Nov 1999, TrouBle wrote: > DO IT NOW > > > cd pkg_version/ > bastille# make > >> pkg_version-0.1.tar.gz doesn't seem to exist on this system. > >> Attempting to fetch from http://www.ca.sandia.gov/~bmah/Software/pkg_version/. > Receiving pkg_version-0.1.tar.gz (4570 bytes): 100% > 4570 bytes transferred in 0.2 seconds (24.58 Kbytes/s) > ===> Extracting for pkg_version-0.1 > >> Checksum OK for pkg_version-0.1.tar.gz. > ===> Patching for pkg_version-0.1 > ===> Configuring for pkg_version-0.1 > bastille# make > bastille# make install > ===> Installing for pkg_version-0.1 > /usr/bin/sed -e 's%^\#! /usr/local/bin/perl%\#! /usr/bin/perl%' < > /usr/ports/sysutils/pkg_version/work/pkg_version-0.1/pkg_version > > /usr/ports/sysutils/pkg_version/work/pkg_version-0.1/pkg_version.local > install -c -o root -g wheel -m 555 > /usr/ports/sysutils/pkg_version/work/pkg_version-0.1/pkg_version.local > /usr/local/bin/pkg_version > install -c -o root -g wheel -m 444 > /usr/ports/sysutils/pkg_version/work/pkg_version-0.1/pkg_version.1 > /usr/local/man/man1 > ===> Generating temporary packing list > ===> Compressing manual pages for pkg_version-0.1 > ===> Registering installation for pkg_version-0.1 > bastille# pkg_version > pkg_version: Command not found. > bastille# rehash > bastille# pkg_version > C ? > IglooFTP = > Mesa = > ORBit < > amanda ? > apache+php+mod_ssl ? > autoconf = > automake = > bash ? > bzip2 = > cvsup-bin = > emacs ? > enlightenment < > esound < > eterm = > expect < > fnlib = > freetype = > gaim ? > gcc ? > gd < > gdbm = > gensig = > gettext = > giflib ? > glib ? > gmake = > gnome-vnc = > gnomeaudio = > gnomecore < > gnomeicu = > gnomelibs < > gnomeprint < > gnuplot = > gtk ? > guile = > icqlib = > imlib < > jed = > jpeg = > kdebase < > kdegames < > kdegraphics < > kdelibs < > kdemultimedia < > kdenetwork < > kdesupport < > kdeutils < > kicq = > kmp3 = > knewmail = > korganizer = > kpilot = > ksamba = > ktamaga = > ktelnet = > ktranslator = > kvidtune = > kvirc = > kwatch = > kworldwatch = > le = > less = > libaudiofile < > libghttp = > libgtop > > libmikmod = > libslang = > libtool = > libxml < > m4 = > majorcool = > majordomo = > mc < > mm = > mysql-client < > mysql-server ? > ncftp ? > netscape-communicator ? > nmap = > nstreams = > openssl = > p5-DBI < > p5-Data-ShowTable = > p5-Mysql-modules = > p5-Storable < > p5-pRPC-modules = > pgcc = > pgp ? > pgpsendmail = > pidentd = > pkg_version = > png = > pth ? > qt ? > queso = > roottail = > rsaref = > ssh ? > sshbuddy = > tcl ? > tcsh = > tiff = > tk ? > unix2dos = > unzip = > uulib = > xcoral = > xmms < > xpm = > > > > > -- > ...and that is how we know the Earth to be banana-shaped. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message