2012年8月24日 星期五

enable ssl for squid3 on Ubuntu 12.04


# download source and dependencies
cd /usr/src
apt-get source squid3
apt-get build-dep squid3
apt-get install libsasl2-dev

#  Enable SSL
cd squid3-3.1.19
vim debian/rules
+ --enable-ssl \


# re-configure with enable-ssl
./configure

# build package
debuild -us -uc -b

# Install package under /usr/src
dpkg -i squid3-dbg_3.1.19-1ubuntu3.12.04.1_amd64.deb squid-cgi_3.1.19-1ubuntu3.12.04.1_amd64.deb squidclient_3.1.19-1ubuntu3.12.04.1_amd64.deb squid-common_3.1.19-1ubuntu3.12.04.1_all.deb


By doing this, you can repackge a new deb package with enable-ssl feature, you can verify by:

squid3-v | grep ssl

沒有留言:

張貼留言