Saturday, July 01, 2017

Re: NEW: x11/krusader

Hi Rafael,

Rafael Sadowski wrote on Sat, Jul 01, 2017 at 11:39:39AM +0200:
> On Sat Jul 01, 2017 at 11:17:53AM +0200, Landry Breuil wrote:

>> The port itself looks fine, ok to import it (well, cvs readd it,
>> whatever cvs voodoo is needed for that).

> Has anyone experience with it and a piece of advice?

That's a piece of cake:

$ cd /usr/ports/
$ rm -rf x11/krusader
$ cvs up -d x11/krusader
cvs server: Updating x11/krusader
cvs server: Updating x11/krusader/patches
cvs server: Updating x11/krusader/pkg

When updating these two directories, pay attention to *not*
specify the -P option. Make sure you do *not* have "update -P"
in your .cvsrc, even though that is useful in most cases,
but, as you see, not in all. The point here is to check out
these two directories even though they are currently empty.
A mere "mkdir -p x11/krusader/pkg" would not be sufficient
because it would not create the administrative directories
x11/krusader/CVS and x11/krusader/pkg/CVS.

$ tar -xzvf krusader.tar.gz
x11/krusader
x11/krusader/Makefile
x11/krusader/distinfo
x11/krusader/pkg
x11/krusader/pkg/DESCR
x11/krusader/pkg/PLIST
$ cd x11/krusader
$ cvs add Makefile distinfo pkg/DESCR pkg/PLIST
cvs server: re-adding file Makefile (in place of dead revision 1.27)
cvs server: re-adding file distinfo (in place of dead revision 1.3)
cvs server: re-adding file pkg/DESCR (in place of dead revision 1.2)
cvs server: re-adding file pkg/PLIST (in place of dead revision 1.9)
cvs server: use 'cvs commit' to add these files permanently

The following step is optional, it gets rid of the empty patches/
directory - but that doesn't hurt. You could also do that after
commit, or not at all.

$ cvs up -dP
cvs server: Updating .
A Makefile
A distinfo
cvs server: Updating patches
cvs server: Updating pkg
A pkg/DESCR
A pkg/PLIST
$ find . | rs # another plausibility check
. ./CVS/Entries.Log ./pkg/CVS/Entries
./CVS ./pkg ./pkg/DESCR
./CVS/Root ./pkg/CVS ./pkg/PLIST
./CVS/Repository ./pkg/CVS/Root ./Makefile
./CVS/Entries ./pkg/CVS/Repository ./distinfo

Now is the best time for a brief, final testing of the port,
to make sure you used the right tarball etc. etc.

$ cvs commit

Yours,
Ingo

No comments:

Post a Comment