in message [EMAIL PROTECTED],
wrote Parv thusly...
find /var/db/pkg -mindepth 1 -type d \
^ ^ ^ ^ ^ ^
^ ^ ^ ^ ^ ^
| while read port; do pkg_create -b $(basename $port); done
I made a gross mistake in my above reply related to -mindepth
option
On Thu, 06 Jan 2005 19:24:02 +0100, albi wrote:
Albert Shih wrote:
Suppose I have two computer, one very fast and one very slow, I want
compile some application (with ports) on the fast and put in slow computer.
But I can not use some tar or rsync (hard to explain why but trust me I can)
in message [EMAIL PROTECTED],
wrote Christer Solskogen thusly...
Is there a easy way of making packages of all installed ports? (I
guess it every port will get recompiled, but that doesnt matter to
me.)
You may or may not need to escape some characters from your shell;
assuming sh ...
for
in message [EMAIL PROTECTED],
wrote Parv thusly...
in message [EMAIL PROTECTED],
wrote Christer Solskogen thusly...
Is there a easy way of making packages of all installed ports?
assuming sh ...
for port in $( find /var/db/pkg -mindepth 1 -type d )
do
echo pkg_create -b
Parv wrote:
for port in $( find /var/db/pkg -mindepth 1 -type d )
do
echo pkg_create -b $(basename $port)
^ ^ ^ ^ ^ ^ ^ ^
^ ^ ^ ^ ^ ^ ^ ^
Oops, forgot to undo the echo after testing; please remove it when
one is ready to create the packages.
Thanks for your reply. I figured out
Hi
Happy new year (I known i'm late).
Suppose I have two computer, one very fast and one very slow, I want
compile some application (with ports) on the fast and put in slow computer.
But I can not use some tar or rsync (hard to explain why but trust me I can)
I want to create a tgz file and
Albert Shih wrote:
I want to create a tgz file and transfert it to slow computer to
install. How can I do that or where can I find some documentation for that.
Go to your ports directory and type make package. make will build your
port and a portsname.tag in portsdir/packages.
For more
Albert Shih wrote:
Suppose I have two computer, one very fast and one very slow, I want
compile some application (with ports) on the fast and put in slow computer.
But I can not use some tar or rsync (hard to explain why but trust me I can)
I want to create a tgz file and transfert it to slow