cvs commit: ports/www/yabb Makefile pkg-plist ports/www/yabb/files pkg-message.in

Pav Lucistnik pav at FreeBSD.org
Sat Jan 28 12:35:33 PST 2006


Andrew Pantyukhin píše v so 28. 01. 2006 v 23:13 +0300:
> On 1/28/06, Kris Kennaway <kris at obsecurity.org> wrote:
> > On Sat, Jan 28, 2006 at 10:44:29PM +0300, Andrew Pantyukhin wrote:
> > > On 1/28/06, Kris Kennaway <kris at 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/{data,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.

There is a documented way for dealing with such files:

http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Fufie> snow should be on the tv and in the mountains, not here
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20060128/44417b59/attachment.bin


More information about the cvs-ports mailing list