From owner-freebsd-gnome Sun Jan 12 13:46:43 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4110337B401 for ; Sun, 12 Jan 2003 13:46:40 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0531843EB2 for ; Sun, 12 Jan 2003 13:46:36 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from [212.41.243.28] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 572D7766C8; Sun, 12 Jan 2003 22:46:29 +0100 (CET) Subject: Re: join the test From: Franz Klammer To: Joe Marcus Clarke Cc: James Pole , FreeBSD GNOME Users In-Reply-To: <1042404403.2162.35.camel@shumai.marcuscom.com> References: <200301120204.h0C24DAF002308@ws180110.56kdialup.siu.edu> <1042359651.98032.9.camel@shumai.marcuscom.com> <1042363779.61238.2.camel@localhost> <1042366417.528.23.camel@ncc-1701> <1042393062.2162.1.camel@shumai.marcuscom.com> <1042401045.528.44.camel@ncc-1701> <1042404403.2162.35.camel@shumai.marcuscom.com> Content-Type: multipart/mixed; boundary="=-Zn0R9fK1mFFcRcO6gHjB" Organization: Message-Id: <1042407998.528.63.camel@ncc-1701> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 12 Jan 2003 22:46:38 +0100 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-Zn0R9fK1mFFcRcO6gHjB Content-Type: text/plain Content-Transfer-Encoding: 7bit Am So, 2003-01-12 um 21.46 schrieb Joe Marcus Clarke: > On Sun, 2003-01-12 at 14:50, Franz Klammer wrote: > > Am So, 2003-01-12 um 18.37 schrieb Joe Marcus Clarke: > > > On Sun, 2003-01-12 at 05:13, Franz Klammer wrote: > > > > Am So, 2003-01-12 um 10.29 schrieb James Pole: > > > > > On Sun, 2003-01-12 at 21:20, Joe Marcus Clarke wrote: > > > > > > Go to http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi, and follow the > > > > > > instructions to checkout the ports module. Once that's checked out, you > > > > > > will have a directory that looks like /usr/ports. It only contains the > > > > > > updated GNOME 2.1 ports. You should be able to use portupgrade to > > > > > > upgrade your install ports from there, or you can just install them by > > > > > > hand. > > > > > > > > > > Is there a way to merge your incomplete ports tree with my /usr/ports > > > > > tree apart from manually deleting the old dirs and copying in the new > > > > > port dirs? Or am I missing something? > > > > > > > > > > > > > hello! > > > > > > > > attached are my (very quick and very dirty ;-)) scripts that > > > > merges joe's ports into /usr/ports dirs. > > > > > > > > please set $SRCDIR in cvscp first. > > > > > > Thanks. Mind if I add them to my web page? > > > > > > > not at all. please do what ever you want with it. > > Thanks. I've modified cvscp to be standalone, and operate dynamically > on the checked out tree. Let me know what you think. > cool! but i like it a little bit more verbose. take a look at my changes. franz. > Joe > -- --=-Zn0R9fK1mFFcRcO6gHjB Content-Disposition: attachment; filename=cvscp Content-Type: text/x-sh; name=cvscp; charset=ISO8859-1 Content-Transfer-Encoding: 7bit #!/bin/sh SRCDIR="/home/klammer/ports" DESTDIR="/usr/ports" VERBOSE=yes echo "${SRCDIR} --> ${DESTDIR}" echo if [ ! -d ${SRCDIR} ]; then printf "Source directory does not exist! Please checkout the ports module from\nhttp://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi\n" exit 1 fi for category in `ls -1 ${SRCDIR}`; do if [ ${category} = "CVS" ]; then continue fi for port in `ls -1 ${SRCDIR}/${category}`; do if [ ${port} = "CVS" ]; then continue fi if [ ! -f ${SRCDIR}/${category}/${port}/Makefile ]; then continue fi if [ ! -d ${DESTDIR}/${category} ]; then mkdir -p ${DESTDIR}/${category} if [ "$VERBOSE" = "yes" ]; then echo "Creating nonexisting destination category directory: ${category}" fi fi if [ -d ${DESTDIR}/${category}/${port} ]; then rm -rf ${DESTDIR}/${category}/${port} fi cd ${SRCDIR}/${category} if [ "$VERBOSE" = "yes" ]; then echo "${category}/${port} --> ${category}/${port}" fi tar --exclude *CVS* -cf - ${port} | \ tar -xf - -C ${DESTDIR}/${category} done done --=-Zn0R9fK1mFFcRcO6gHjB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message