Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2006 23:13:14 +0300
From:      Andrew Pantyukhin <infofarmer@gmail.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cvs-ports@freebsd.org, Pav Lucistnik <pav@freebsd.org>, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/www/yabb Makefile pkg-plist ports/www/yabb/files pkg-message.in
Message-ID:  <cb5206420601281213i6decb15cpc594b136d06540b8@mail.gmail.com>
In-Reply-To: <20060128195138.GA31594@xor.obsecurity.org>
References:  <200601281659.k0SGxWdP049268@repoman.freebsd.org> <20060128193852.GA30951@xor.obsecurity.org> <cb5206420601281144g18d49bf2lf2e22081adbf0c3b@mail.gmail.com> <20060128195138.GA31594@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/28/06, Kris Kennaway <kris@obsecurity.org> wrote:
> On Sat, Jan 28, 2006 at 10:44:29PM +0300, Andrew Pantyukhin wrote:
> > On 1/28/06, Kris Kennaway <kris@obsecurity.org> wrote:
> > > On Sat, Jan 28, 2006 at 04:59:32PM +0000, Pav Lucistnik wrote:
> > > > pav         2006-01-28 16:59:32 UTC
> > > >
> > > >   FreeBSD ports repository
> > > >
> > > >   Modified files:
> > > >     www/yabb             Makefile pkg-plist
> > > >     www/yabb/files       pkg-message.in
> > > >   Log:
> > > >   - Now installs into /usr/local/www instead of /usr/local/www/{dat=
a,cgi-bin}
> > > >   - Data flatfiles are now cautiously left behind whether they have=
 changed or not
> > >
> > > It's not OK for packages to leave files behind after deinstallation.
> > > Can you please fix this?
> > >
> > > Kris
> > >
> > >
> > >
> >
> > NO_PACKAGE was set in the same commit, if that helps
>
> It's still not OK, but now you just hid the problem from the package
> cluster :)
>
> Kris
>
>
>

No, it's not about the package cluster. The plist is incomplete,
that's the simplest/stupidest way to deal with 3 dozen important
data files in different dirs.

I wish there was some way to leverage the file checksums in
the package database and tell pkg_delete (and pkg_deinstall,
too) not to remove any modified files unless the user has very
specifically told otherwise. AFAIK there isn't. I guess I'll have
to do it manually (in pkg-<scripts>). I haven't done it yet, but
I felt it was not _that_ important. Warnings are in place,
package building is denied.

If you can't look at it without remorse, shoot me, mark it
broken, delete it, whatever. I still can't see what's itching so
bad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420601281213i6decb15cpc594b136d06540b8>