Subject: Re: how to make list of needed tarballs in pkgsrc.
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Wojciech Puchar <wojtek@wojtek.from.pl>
List: netbsd-users
Date: 01/22/2001 23:58:52
> > will move completely to netbsd.
>
> If I remember properly 'make fetch-list' will produce something suitable
> to be feed to sh to download the distfiles. You may need to edit it to change
> ftp to something else (lynx ?) on linux.
done - it make some not-very-nice output to stdout like this:
===> archivers
===> archivers/arc
/bin/mkdir -p /usr/src/pkgsrc/distfiles/
cd /usr/src/pkgsrc/distfiles/ && [ -f arc521e.pl8.tar.Z -o -f arc521e.pl8.tar.Z ] || /usr/bin/ftp ftp://ftp.kiarchive.ru/pub/unix/arcers/arc521e.pl8.tar.Z || /usr/bin/ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/arc521e.pl8.tar.Z || /usr/bin/ftp ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/arc521e.pl8.tar.Z || echo arc521e.pl8.tar.Z not fetched
===> archivers/bunzip
/bin/mkdir -p /usr/src/pkgsrc/distfiles/
cd /usr/src/pkgsrc/distfiles/ && [ -f bunzip021.c.gz -o -f bunzip021.c.gz ] || /usr/bin/ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/LOCAL_PORTS/bunzip021.c.gz || /usr/bin/ftp ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/LOCAL_PORTS/bunzip021.c.gz || /usr/bin/ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/bunzip021.c.gz || /usr/bin/ftp ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/bunzip021.c.gz || echo bunzip021.c.gz not fetched
===> archivers/bzip2
/bin/mkdir -p /usr/src/pkgsrc/distfiles/
cd /usr/src/pkgsrc/distfiles/ && [ -f bzip2-0.9.0b.tar.gz -o -f bzip2-0.9.0b.tar.gz ] || /usr/bin/ftp http://www.muraroa.demon.co.uk/bzip2-0.9.0b.tar.gz || /usr/bin/ftp http://www.digistar.com/bzip2/bzip2-0.9.0b.tar.gz || /usr/bin/ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/bzip2-0.9.0b.tar.gz || /usr/bin/ftp ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/bzip2-0.9.0b.tar.gz || echo bzip2-0.9.0b.tar.gz not fetched
this (in linux):
grep \/\/ lista-bsd |cut -f 3 -d "|"|cut -f 3 -d " " >lista-bsd-2
gave me:
ftp://ftp.kiarchive.ru/pub/unix/arcers/arc521e.pl8.tar.Z
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/LOCAL_PORTS/bunzip021.c.gz
http://www.muraroa.demon.co.uk/bzip2-0.9.0b.tar.gz
http://download.sourceforge.net/fastjar/fastjar-0.90.tgz
ftp://ftp.cdrom.com/pub/unixfreeware/archive/freeze-2.5.tar.gz
ftp://ftp.gnu.org/pub/gnu/cpio/cpio-2.4.2.tar.gz
ftp://ftp.gnu.org/pub/gnu/sharutils/sharutils-4.2.1.tar.gz
ftp://ftp.gnu.org/pub/gnu/tar/tar-1.12.shar.gz
ftp://ftp.gnu.org/pub/gnu/tar/tar-1.12.shar.gz
ftp://ftp.gnu.org/pub/gnu/gzip/gzip-1.2.4a.shar
much nicer :)
thanks