Skip site navigation (1)Skip section navigation (2)
Date:      12 Jan 2003 15:46:44 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        James Pole <james.pole@paradise.net.nz>, FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: join the test
Message-ID:  <1042404403.2162.35.camel@shumai.marcuscom.com>
In-Reply-To: <1042401045.528.44.camel@ncc-1701>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-HZqnJk4M9QCbGIDctj3N
Content-Type: multipart/mixed; boundary="=-BzeONGQ1rFS6qqwroPdA"


--=-BzeONGQ1rFS6qqwroPdA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 follo=
w the
> > > > > instructions to checkout the ports module.  Once that's checked o=
ut, you
> > > > > will have a directory that looks like /usr/ports.  It only contai=
ns the
> > > > > updated GNOME 2.1 ports.  You should be able to use portupgrade t=
o
> > > > > upgrade your install ports from there, or you can just install th=
em by
> > > > > hand.
> > > >=20
> > > > Is there a way to merge your incomplete ports tree with my /usr/por=
ts
> > > > tree apart from manually deleting the old dirs and copying in the n=
ew
> > > > port dirs? Or am I missing something?
> > > >=20
> > >=20
> > > hello!
> > >=20
> > > attached are my (very quick and very dirty ;-)) scripts that
> > > merges joe's ports into /usr/ports dirs.=20
> > >=20
> > > please set $SRCDIR in cvscp first.
> >=20
> > Thanks.  Mind if I add them to my web page?
> >=20
>=20
> 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.

Joe

>=20
> franz.
>=20
> > Joe
> >=20
> > >=20
> > > > - James
> > >=20
> > > franz.
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-BzeONGQ1rFS6qqwroPdA
Content-Disposition: attachment; filename=cvscp
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-sh; name=cvscp; charset=ISO-8859-1

#!/bin/sh

SRCDIR=3D"/home/marcus/src/marcuscom-cvs/ports"
DESTDIR=3D"/usr/ports"

echo "${SRCDIR} --> ${DESTDIR}"
echo

if [ ! -d ${SRCDIR} ]; then
    printf "Source directory does not exist!  Please checkout the ports mod=
ule from\nhttp://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi\n"
    exit 1
fi

for category in `ls -1 ${SRCDIR}`; do
    if [ ${category} =3D "CVS" ]; then
	continue
    fi
    for port in `ls -1 ${SRCDIR}/${category}`; do
	if [ ${port} =3D "CVS" ]; then
	    continue
	fi
	if [ ! -f ${SRCDIR}/${category}/${port}/Makefile ]; then
	    continue
	fi
	if [ ! -d ${DESTDIR}/${category} ]; then
	    mkdir -p ${DESTDIR}/${category}
	fi
	if [ -d ${DESTDIR}/${category}/${port} ]; then
	    rm -rf ${DESTDIR}/${category}/${port}
	fi

	cd ${SRCDIR}/${category}
	tar --exclude *CVS* -cf - ${port} | \
		tar -xf - -C ${DESTDIR}/${category}
    done
done

--=-BzeONGQ1rFS6qqwroPdA--

--=-HZqnJk4M9QCbGIDctj3N
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+IdQzb2iPiv4Uz4cRAj0xAKCbLDhDgqtj83XPJpt48AZHf8TbEACdEob1
o5FDAndGHAuiw9V3DUf0SwU=
=FhtN
-----END PGP SIGNATURE-----

--=-HZqnJk4M9QCbGIDctj3N--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1042404403.2162.35.camel>