Hello all!
I'm maintaining some (simple) ports and I need some idea about it.
I wrote a small script to automatize this task. The problem is how should I do the modifies on the desired port - without polluting the ports tree.
First idea was:
Second idea: I will extract (or copy) only the specified port into a directory (outside from the ports directory). I will do the modifications and the script
Is there any tool to solve this task (port updating)? Or is there (has anybody) any ideas/tricks?
Thanks!
I'm maintaining some (simple) ports and I need some idea about it.
I wrote a small script to automatize this task. The problem is how should I do the modifies on the desired port - without polluting the ports tree.
First idea was:
cp -r category/desired_port category/desired_port.orig. I can made the changes in the desired_port and after I can easily generate the diff (my script does it, and run make makesum if PORTVERSION changed, etc.) and after the procedure the script restore the original state. It worked well.Second idea: I will extract (or copy) only the specified port into a directory (outside from the ports directory). I will do the modifications and the script
mount it into the ports tree ( mount -t nullfs /work/modified_port /usr/ports/category/modified_port). I think it's better because the port tree will untouched. But it doesn't work with ports-mgmt/poudriere because poudriere do an another mount_nullfs so my modifies don't appears in poudriere's ports tree.Is there any tool to solve this task (port updating)? Or is there (has anybody) any ideas/tricks?
Thanks!