[kde-freebsd] [CFT] KDE 4.1.3 Ready for Testing

Max Brazhnikov makc at issp.ac.ru
Tue Nov 11 22:43:13 CET 2008


On Tue, 11 Nov 2008 22:08:20 +0200, David Naylor wrote:
> As a note about these 'FAQ'.  I find that running the following script
> solves the problem with patches 'showing' through the unionfs:
>
> cd $AREA51
> for i in `find . -type d -depth 2`
> do
>   rm -rf /usr/ports/$i
> done
> mount -t unionfs $AREA51 /usr/ports
>
> Of course this mitigates the reason for using unionfs...
>
> An alternative would be to delete all files that 'show' through unionfs
> once it has been mounted (whiteout I believe it is called).  The following
> script might work but I have never tried it:
>
> cd $AREA51
> area51_ports=`find . -type d -depth 2`
> mount -t unionfs $AREA51 /usr/ports
> cd /usr/ports
> for i in $area51_ports
> do
>   for j in `find -d $i`
>   do
>     if [ ! -e $AREA51/$j ]
>     then
>       rm -rf $AREA51/$j
>     fi
>   done
> done
>
> But then I have no idea on how to undelete the files (if, for example,
> another file is created post- with the same name).

There is nice marcusmerge [1] script, which is used to merge Gnome development 
ports with portstree. May be someone could/has time to modify it for area51 
ports?

[1] http://www.marcuscom.com/downloads/marcusmerge 
http://www.marcuscom.com/marcusmerge.8.html



More information about the kde-freebsd mailing list