On Fri, Jan 13, 2006 at 05:33:09PM -0500, Daniel Ouellet wrote:
> I have kind of a very stupid question, but I am also a but stuck.
>
> I have a server that have a package install on it, but I do not have the
> .tgz file anymore to redo the install of that same package.
>
> I can't rebuilt that package now for many reason, but if I have to, it
> could be done, but with pain.
>
> So, my question is if there is a way somehow to have the .tgz rebuilt
> from the install one?
>
> I assume it should be possible as the DB for the packages is clean and
> good, so all files would be properly remove with dependency, etc if remove.
>
> Is this totally stupid to think that way, or is it possible.
>
> Usually built package are done for the fake directory based on the FAQ.
> Anyway to built it from a working system?
>
> If that's stupid, just say so and I will drop the idea and see how I
> could do it an other way. I guess I could always copy files by files and
> make the changes to the packages DB, but it that also stupid?
It will not quite make a package, but /var/db/pkg contains some useful
stuff. At the least, it can tell you what files to get.
If the port consisted of nothing more than ./configure; make; make
install, this might even be enough.
Joachim