[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: harden distribution



On Mon, Jul 02, 2001 at 05:44:17PM -0400, Matt Zimmerman wrote:
> 
> I assume it installs the prerequisites, rather than trying to use them 
> out of the build directory.  Are the development libraries (and other 
> bits that are no longer necessary) uninstalled afterward?  

 Not automatically, you could do it manually (just cd to the port dir
 and 'make deinstall' or something like that. But it's left there
 otherwise.

> Can binary packages be used instead of compiling every prerequisite 
> from source?
> 

 Not with the ports. However you could download the binaries and install
 them and they will be used if they can be detected. But binary handling
 is not part of the ports


Disclaimer:
 I am by no means an expert on the ports collection, and haven't used
 FreeBSD since 4.1 ... I could have some facts wrong, but to my knowledge
 this is how it works.


 What I had in mind was something that is automated, but works something
 like this:

   # apt-get source <package>
   # cd <package>/
   ... apply patches, find makefile rules ...
   ... compile package ...
   ... make deb package with a modified name (like append something to the
       end to make up upgrade compatible. but flag it somehow as "source
       maintained binary package" so that upgrade of that package can be
       handled the same way ...
   ... install binary package ...


 Or would this be the wrong way to go about doing this?


-- 
  Nick Jennings



Reply to: