Date: Sun, 22 Sep 2013 10:38:55 +0100 From: Big Lebowski <spankthespam@gmail.com> To: Bryan Drewery <bryan@shatow.net> Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Fwd: Help in testing Basho Riak port Message-ID: <CAHcXP%2BeBqLRzdCQd5QZLgW3mBgfSJusrdVD2J884ZrD-EEvyhg@mail.gmail.com> In-Reply-To: <523E1BDF.5090305@shatow.net> References: <CAHcXP%2Be15099FK7ch3NhktHXJKcSL%2BstANhSSZ-zwfOtB6%2BLfA@mail.gmail.com> <20130920212653.GG74496@admin.xzibition.com> <CAHcXP%2Bcnprajvazyw01fyNQaCo8QhiDycDfo59Arfj1anohx_g@mail.gmail.com> <CAHcXP%2Bd4LQ-Uesbj2X5mmEOfU9safLa75e--=y3VGwWDzea_7A@mail.gmail.com> <523E1BDF.5090305@shatow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 21, 2013 at 11:21 PM, Bryan Drewery <bryan@shatow.net> wrote: > On 9/21/2013 5:08 PM, Big Lebowski wrote: > > On Fri, Sep 20, 2013 at 10:26 PM, Bryan Drewery <bryan@shatow.net> > wrote: > > > >> You also need this in the pkg-plist to fix it being a leftover: > >> > >> @dirrmtry %%RIAK_DBDIR%% > >> > > > > Unfortunately this doesnt work, because it gets expanded to > > /usr/local//var/db/riak from pkg-plist. That's why its not there. > > > RIAK_DBDIR?= /var/db/${PORTNAME} > > You have it right there as /var/db, there is no PREFIX there for > /usr/local to slip in. This is correct, but I've tried it, and '@dirrmtry %%RIAK_DBDIR%%' results in /usr/local//var/db.riak - which doesnt exist. > Perhaps you have RIAK_DBDIR=/usr/local/var/db in > your make.conf? No, I dont, my RIAK_DBDIR is the one that's default in Makefile. > And even if you do, it should try to remove any > directory it creates on uninstall. It doesn't matter where it is. > Of course, I understand that, but the problem is, that I dont see how to do it: the proper @dirrmtry doesnt work as expected, and @unexec with rm will delete everything, even when there's data inside, what I think should not be done. > > Having a leftover like that means the port will not be committed. > I would love to fix it, but I've no idea how. B. > > > > > B. > > > > > >> > >> That will only remove the directory if it is empty. > >> > >> On Fri, Sep 20, 2013 at 06:57:52PM +0100, Big Lebowski wrote: > >>> Hi list! > >>> > >>> I've been working for couple last days on porting Basho Riak database > >>> (latest version 1.4.2) and finally I think it is ready to be presented: > >>> https://www.dropbox.com/s/2ztu2bdiip1u2un/riak.tgz > >>> > >>> Please, grab the port and test it on anything you can, break it in any > >> way > >>> possible, and comment on anything you see that's been done wrong - I am > >>> open to any suggestion on how to make it worthy candidate for send-pr > >> with > >>> port submission. > >>> > >>> Any help will be highly appreciated and will motivate me to port more > >> cool > >>> software to FreeBSD! ;) > >>> > >>> Kind regards, > >>> S. > >>> _______________________________________________ > >>> freebsd-ports@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >>> To unsubscribe, send any mail to " > freebsd-ports-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcXP%2BeBqLRzdCQd5QZLgW3mBgfSJusrdVD2J884ZrD-EEvyhg>