Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 13:40:19 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        David Julien <david.julien@gmail.com>
Subject:   Re: Are files and directories mandatory in pkg-plist ?
Message-ID:  <20040720174019.GU14084@toxic.magnesium.net>
In-Reply-To: <A9AD911E-DA3F-11D8-BA2D-00039312D914@fillmore-labs.com>
References:  <abcef9c040720011775945ca4@mail.gmail.com> <A9AD911E-DA3F-11D8-BA2D-00039312D914@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (07.20.2004 @ 0726 PST): Oliver Eikemeier said, in 1.5K: <<
> David Julien wrote:
> 
> >Hi,
> >
> >I write a port for an ocaml package (my first one!) but I have a
> >problem when I try to deinstall the port. Indeed I use an ocaml
> >program which is named "ocamlfind" to install and deinstall the files
> >at the right place in the ocaml library directory. But this program
> >deletes automatically the directories and the files when the port is
> >deinstall, and failed if the directories / files are already deleted.
> 
> You have the problem of two conflicting package managers (ocamlfind and 
> pkg_install tools). I guess installing from a package (via pkg_add) 
> doesn't work too?
> 
> >I have to run it to deinstall properly the package because, for this
> >package, it updates some configuration files (which does not seem the
> >case for other ocaml package ports).
> 
> Is there a way to update the configuration files without having 
> ocamlfind installing/deinstalling files?
> 
> >Do I have to list in the pkg-plist the files and directories or it is
> >not mandatory ? If it is mandatory, what can I do ?
> 
> It depends. While I would strongly prefer a solution where you list the 
> files as `owned' by the package, but when there is no way to make this 
> work you could just embed them as ignored files and call ocamlfind 
> install/remove from pkg-install/pkg-deinstall.
>> end of "Re: Are files and directories mandatory in pkg-plist ?" from Oliver Eikemeier <<

Wouldn't that prevent package creation?

# Adam


--
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



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