Hello *,

On Fri, Sep 23, 2005 at 10:15:57AM +0100, Jon Dowland wrote:
> 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

This will only work if the build-essential packages are installed
| apt-get install build-essential
a deb-src line has been added to sources.list and the the database has
been updated and the build-dependencies for squid are present
| apt-get build-dep squid

BTW, there is Roberto Sanchez's elaborate Debian Package Customization
HOWTO at <http://familiasanchez.net/~roberto/?page=debcustomize>.

HTH,
Flo

Attachment: signature.asc
Description: Digital signature

Reply via email to