<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
To immediately solve every problem just enough to build squid with
all dependencies from sources. :) It takes approx 1 hour. :)<br>
<br>
25.01.16 0:18, startrekfan пишет:<br>
<span style="white-space: pre;">> I tried your script in a VM
aaaaand.....it fails because of the missing<br>
> libcap3 dependencie.<br>
><br>
> I tried to run the script serveral times.<br>
><br>
> Here are the interesting outputs of the last run:<br>
><br>
><br>
> 1. root@debian123:/home/ich/tmp# squid3 -v<br>
> 2. Squid Cache: Version 3.4.8<br>
><br>
><br>
><br>
> 1. root@debian123:/home/ich/tmp# dir /var/www/html/mydebs/<br>
> 2. c-icap_0.4.2-2_amd64.deb
libicapapi4_0.4.2-2_amd64.deb<br>
> 3. libc-icap-mod-clamav_0.4.2-1_all.deb<br>
> libicapapi4-dbg_0.4.2-2_amd64.deb<br>
> 4. libc-icap-mod-contentfiltering_0.4.2-1_amd64.deb<br>
> libicapapi-dev_0.4.2-2_amd64.deb<br>
> 5. libc-icap-mod-urlcheck_0.4.2-1_amd64.deb
Packages.gz<br>
> 6. libc-icap-mod-virus-scan_0.4.2-1_amd64.deb<br>
><br>
><br>
><br>
> 1. dpkg-buildpackage: Quellpaket squid3<br>
> 2. dpkg-buildpackage: Quellversion 3.5.12-1<br>
> 3. dpkg-buildpackage: Quelldistribution unstable<br>
> 4. dpkg-buildpackage: Quellen geändert durch Luigi
Gangitano <<br>
> <a class="moz-txt-link-abbreviated" href="mailto:luigi@debian.org">luigi@debian.org</a>><br>
> 5. dpkg-buildpackage: Host-Architektur amd64<br>
> 6. dpkg-source --before-build squid3-3.5.12<br>
> 7. dpkg-checkbuilddeps: Nicht erfüllte Bauabhängigkeiten:
libecap3-dev<br>
> (>= 1.0.1-2) libgnutls28-dev<br>
> 8. dpkg-buildpackage: Warnung:
Bauabhängigkeiten/-konflikte nicht<br>
> erfüllt; Abbruch<br>
> 9. dpkg-buildpackage: Warnung: (Verwenden Sie -d, um sich
darüber<br>
> hinwegzusetzen.)<br>
> 10. Build-Befehl »cd squid3-3.5.12 &&
dpkg-buildpackage -b -uc«<br>
> fehlgeschlagen.<br>
> 11. E: Kindprozess fehlgeschlagen<br>
><br>
><br>
> I also tried to change "libecap" to "libecap3" within the
script and I also<br>
> tried to add "libecap-dev"/"libecap3-dev" to the script:
Without any<br>
> result.<br>
> Of course I used apt-get upgrade after the script
finished...no upgrade<br>
> packages available. If you still don`t believe me I can send
you<br>
> screenshots.<br>
><br>
> I'm sure that it's possible to get it to work this way, if
you spend enough<br>
> time.<br>
><br>
> But I still think that this isn't a good way to do it. When I
get it to<br>
> work after hours of trying and squid releases a new version
with<br>
> new dependencies I have to do the work again(and it's not
capable to<br>
> auto/apt upgrade). On the other hand this way is prone to
failure(unstable<br>
> software, custom installation path, ...)<br>
><br>
> At the end this should be a productive system not a tinker
pc. It should<br>
> run without doing a lot of tricks that can fail at any time.<br>
><br>
> *So the only _good_ solution is a modification of the license
so that the<br>
> debian team can build squid with ssl support. This will solve
every problem<br>
> immediately.*<br>
><br>
><br>
><br>
><br>
> L.P.H. van Belle <a class="moz-txt-link-rfc2396E" href="mailto:belle@bazuin.nl"><belle@bazuin.nl></a> schrieb am Sa., 23.
Jan. 2016 um<br>
> 09:10 Uhr:<br>
><br>
>><br>
>><br>
>> i wrote you.. i tested it...<br>
>> yes it works....<br>
>> i have installed 2 x squid 3.5.10 from sid. and updated
these 3.5.12.<br>
>><br>
>> both servers are my production proxys...<br>
>><br>
>> Your not reading or trying.<br>
>><br>
>> libecap3 is replaced by libecap4 !!!!<br>
>><br>
>> go try this or go compile yourself...<br>
>><br>
>> im done..<br>
>><br>
>><br>
>><br>
>> Op 22 jan. 2016 om 19:15 heeft startrekfan
<a class="moz-txt-link-rfc2396E" href="mailto:startrekfan75@freenet.de"><startrekfan75@freenet.de></a> het<br>
>> volgende geschreven:<br>
>><br>
>> I'm not sure that this script will work. The script isn't
doing much more<br>
>> then adding an unstable entry to the sources list and
trying to<br>
>> *_install_* the dependencies (Yes, apt-get build-deb
squid will install<br>
>> the depencies directly on my debian jessie system)<br>
>><br>
>> As I described before: This will not work, because of the
missing libecap3<br>
>> that could not be installed on a stable debian without
installing a bunch<br>
>> of other dependencies.<br>
>><br>
>><br>
>> L.P.H. van Belle <a class="moz-txt-link-rfc2396E" href="mailto:belle@bazuin.nl"><belle@bazuin.nl></a> schrieb am Fr.,
22. Jan. 2016 um<br>
>> 16:46 Uhr:<br>
>><br>
>>> No, this is NOT a problem at all.<br>
>>> You need 4 ! files and no other sid depends, just
debian Jessie.<br>
>>> Its a quick write, but should be error free, tested
until the squid<br>
>>> compile.<br>
>>><br>
>>> I use a separated VM for this and all my created debs
are available<br>
>>> throuh webaccess, like normal, below is based on
"local install" if you<br>
>>> want to have is network available, look het het<br>
>>> apt/sources.list.d/lcoalrepo.list,<br>
>>> change to needed hostname for your webserver etc..
not explained here..<br>
>>> but should be easy to do.<br>
>>><br>
>>> Create a file, add content below ( sed CODE ),<br>
>>> chmod +x and run it. (as root)<br>
>>><br>
>>> In the end you have a compiled squid 3.5.12, ready to
instal with ssl<br>
>>> enabled. Which is just a apt-get install squid then.<br>
>>> And !! all squid3 is now changed to squid !!<br>
>>><br>
>>> Enjoy, and have a nice weekend,<br>
>>><br>
>>> Greetz,<br>
>>><br>
>>> Louis<br>
>>><br>
>>><br>
>>> ### CODE, run as root, can be beter, but a quicky for
you.<br>
>>> #!/bin/bash<br>
>>><br>
>>> SETPATH=`pwd`<br>
>>> if [ ! -e /etc/apt/sources.list.d/sid.list ]; then<br>
>>> # adding sid repo<br>
>>> cat << EOF >>
/etc/apt/sources.list.d/sid.list<br>
>>> #<br>
>>> #deb <a class="moz-txt-link-freetext" href="http://ftp.nl.debian.org/debian/">http://ftp.nl.debian.org/debian/</a> sid main
non-free contrib<br>
>>> deb-src <a class="moz-txt-link-freetext" href="http://ftp.nl.debian.org/debian/">http://ftp.nl.debian.org/debian/</a> sid main
non-free contrib<br>
>>> EOF<br>
>>> fi<br>
>>><br>
>>> if [ ! -e /etc/apt/sources.list.d/localrepo.list ];
then<br>
>>> # adding local repo ( webserver based )<br>
>>> cat << EOF >>
/etc/apt/sources.list.d/localrepo.list<br>
>>> #<br>
>>> # change if you done have a webserver.<br>
>>> #<a class="moz-txt-link-freetext" href="file:/var/www/mydebs">file:/var/www/mydebs</a> ./<br>
>>> deb <a class="moz-txt-link-freetext" href="http://localhost/mydebs/">http://localhost/mydebs/</a> ./<br>
>>> EOF<br>
>>><br>
>>> fi<br>
>>><br>
>>> if [ ! -e /var/www/mydebs ]; then<br>
>>> # get dependes, sources and build sources, setup
local apt.<br>
>>> mkdir -p /var/www/mydebs<br>
>>> apt-get install dpkg-dev -y<br>
>>> fi<br>
>>><br>
>>> for x in c-icap c-icap-modules libecap squid ; do<br>
>>> apt-get build-dep $x<br>
>>> apt-get source $x<br>
>>> if [ $x = squid ]; then<br>
>>> sed -i
's/--with-default-user=proxy/--with-default-user=proxy<br>
>>> \\/g' squid3-3.5.12/debian/rules<br>
>>> sed -i '/with-default-user=proxy/a \ \ \ \ \
\ \ \ \ \ \ \ \ \ \<br>
>>> \ --enable-ssl \\' squid3-3.5.12/debian/rules<br>
>>> sed -i '/enable-ssl/a \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \<br>
>>> --with-open-ssl=/etc/ssl/openssl.cnf \\'
squid3-3.5.12/debian/rules<br>
>>> sed -i '/with-open-ssl/a \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \<br>
>>> --enable-linux-netfilter' squid3-3.5.12/debian/rules<br>
>>> fi<br>
>>> apt-get source $x -b<br>
>>><br>
>>> cp *.deb /var/www/mydebs<br>
>>> cd /var/www/mydebs<br>
>>> dpkg-scanpackages . /dev/null | gzip -9c >
Packages.gz<br>
>>> cd $SETPATH<br>
>>> echo "Running apt-get update, please wait."<br>
>>> apt-get update 2> /dev/null<br>
>>> sleep 1<br>
>>> done<br>
>>><br>
>>> ## CODE ENDS,.<br>
>>><br>
>>><br>
>>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJWpRdKAAoJENNXIZxhPexGiy0H/2a+VaciND4LAYAecfPqWBfG
<br>
7k2hAgPbQsYYgAJ0ZZUXvrDBYjbuP+i8H2BhIkhcN0rU92spI3wiDbdhWvKMcGg/
<br>
X9C3/v9+VpDuz7nC01vb6WF1VLSHqxZiqPnsgKlIRu9Fu4oJjgcDdZI9PvCa2ywn
<br>
yPCK3EdpoQJs8WtIq5IT3fpZOyNPiDY1SA4Oq4/xOomrifnzmGmE2j5vqYc9aYmI
<br>
Yh56NJfcvgR5VisnTxLGDcaXawBphwy9o1tZS9Unuddvdkt652MOzBopxnozzSs0
<br>
dJqC/hbR5gM86gc8fq34Hs/9AytQOkM5cYlVtxZIdJLRTXHuP7T3H9uZFo9Nujk=
<br>
=8soM
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>