How download installed packages' sourcesfiles

2005-03-25 Thread O. Hartmann
Hello.
I run into the follwoing problem.
Using an internet connected at my lab makes me happy installing each 
package I need from source.
At home I have only a very slow moem connection, but I need also the 
same packages (not precompiled,
the sources) there.

One idea was to fetch every source tarball of every installed 
port-package as reported in /var/db/pkg,
burn /usr/ports/distfiles in conjunction with a up to date 
/usr/Ports-tree on one or two DVDs and
the copy this at home on the disk (capacity is not an issue).

Unforunately portupdate does not have a simple functionality to gather 
all tarballs from each installed
port and its friends it depends on.
Maybe someone of you has a similar limitation and can help.

Thanks,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How download installed packages' sourcesfiles

2005-03-25 Thread Chuck Swiger
O. Hartmann wrote:
[ ... ]
Unforunately portupdate does not have a simple functionality to gather 
all tarballs from each installed port and its friends it depends on.
Maybe someone of you has a similar limitation and can help.
Try using make fetch-recursive from a port's directory to fetch the source 
tarballs for that port and it's dependencies.  Note that you can also create 
packages from the installed ports and copy those over to another machine, and 
install them directly rather than recompiling everything.

[ Start with a mkdir /usr/ports/packages, and the ports system will create 
package tarballs automaticly under there... ]

--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How download installed packages' sourcesfiles

2005-03-25 Thread John Mitchell
This one time, at band camp, Chuck Swiger wrote:
 O. Hartmann wrote:
 [ ... ]
  Unforunately portupdate does not have a simple functionality to gather 
  all tarballs from each installed port and its friends it depends on.
  Maybe someone of you has a similar limitation and can help.
 
 Try using make fetch-recursive from a port's directory to fetch the 
 source tarballs for that port and it's dependencies.  Note that you can 
 also create packages from the installed ports and copy those over to 
 another machine, and install them directly rather than recompiling 
 everything.
 
 [ Start with a mkdir /usr/ports/packages, and the ports system will 
 create package tarballs automaticly under there... ]

Actually a make checksum-recursive might be better if he is goint to
burn the distfiles to a DVD, that way if there is a partial distfile
already make will notice it and resume downloading it.


smime.p7s
Description: S/MIME cryptographic signature


Re: How download installed packages' sourcesfiles

2005-03-25 Thread O. Hartmann
Chuck Swiger schrieb:
O. Hartmann wrote:
[ ... ]
Unforunately portupdate does not have a simple functionality to 
gather all tarballs from each installed port and its friends it 
depends on.
Maybe someone of you has a similar limitation and can help.

Try using make fetch-recursive from a port's directory to fetch the 
source tarballs for that port and it's dependencies.  Note that you 
can also create packages from the installed ports and copy those over 
to another machine, and install them directly rather than recompiling 
everything.

[ Start with a mkdir /usr/ports/packages, and the ports system will 
create package tarballs automaticly under there... ]

All right, this works, but I still have to check what port is installed.
The reason for this uncommon way is, my lab's computer is a i386 machine 
while at home I would like to run an amd64
based system without IA32 compatibility. Building packages on the source 
machine isn't an option.

Thank you very much for that hint.
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How download installed packages' sourcesfiles

2005-03-25 Thread RW
On Friday 25 March 2005 14:25, O. Hartmann wrote:
 Hello.
 I run into the follwoing problem.
 Using an internet connected at my lab makes me happy installing each
 package I need from source.
 At home I have only a very slow moem connection, but I need also the
 same packages (not precompiled,
 the sources) there.

 One idea was to fetch every source tarball of every installed
 port-package as reported in /var/db/pkg,
 burn /usr/ports/distfiles in conjunction with a up to date
 /usr/Ports-tree on one or two DVDs and
 the copy this at home on the disk (capacity is not an issue).

 Unforunately portupdate does not have a simple functionality to gather
 all tarballs from each installed
 port and its friends it depends on.
 Maybe someone of you has a similar limitation and can help.

what about

portupgrade -Fa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How download installed packages' sourcesfiles

2005-03-25 Thread RW
On Friday 25 March 2005 20:49, RW wrote:
 On Friday 25 March 2005 14:25, O. Hartmann wrote:
  Unforunately portupdate does not have a simple functionality to gather
  all tarballs from each installed
  port and its friends it depends on.
  Maybe someone of you has a similar limitation and can help.

 what about

 portupgrade -Fa

Actually 

portupgrade -FRa 

is more reliable, I think that does make checksum-recursive in the origin of 
for each entry in the package database
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]