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

Re: Repackaging with different compile options.



On Fri, Sep 23, 2005 at 11:19:52AM +0300, Ben Sagal wrote:
> How would i go about creating a squid package with the --enable-ssl
> flag set. I would also want this package to override the default
> Debian one.

$ apt-get source squid

$ vi squid-*/debian/rules
  < add desired configure flag to the ./configure call, probably under the
  configure: rule somewhere >

$ dpkg-buildpackage -rfakeroot -uc -us

install the resulting .deb that appears in .. with dpkg: 
# dpkg -i ../squid*deb 
or similar

mark it as 'hold' in aptitude

HTH

-- 
Jon Dowland
http://jon.dowland.name/



Reply to: