Create tgz packages
Parv
parv at pair.com
Sun Jan 9 11:47:18 PST 2005
in message <pan.2005.01.09.15.57.31.78757 at carebears.mine.nu>,
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 port in $( find /var/db/pkg -mindepth 1 -type d )
do
echo pkg_create -b $(basename "$port")
done
- Parv
--
More information about the freebsd-questions
mailing list