Squid

From Genunix

squid - High performance Web proxy cache

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build squid-2.6.STABLE5 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc squid-2.6.STABLE5.tar.gz | /usr/sfw/bin/gtar xf -

cd squid-2.6.STABLE5


export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

./configure --prefix=/usr/squid  \
            --mandir=/usr/squid/share/man \
            --libexecdir=/usr/squid/lib

make

Other configure options

output of ./configure --help

Directory paths that squid installs to

squid/bin
squid/etc
squid/lib
squid/sbin
squid/share
squid/share/errors/Azerbaijani
squid/share/errors/Bulgarian
squid/share/errors/Catalan
squid/share/errors/Czech
squid/share/errors/Danish
squid/share/errors/Dutch
squid/share/errors/English
squid/share/errors/Estonian
squid/share/errors/Finnish
squid/share/errors/French
squid/share/errors/German
squid/share/errors/Greek
squid/share/errors/Hebrew
squid/share/errors/Hungarian
squid/share/errors/Italian
squid/share/errors/Japanese
squid/share/errors/Korean
squid/share/errors/Lithuanian
squid/share/errors/Polish
squid/share/errors/Portuguese
squid/share/errors/Romanian
squid/share/errors/Russian-1251
squid/share/errors/Russian-koi8-r
squid/share/errors/Serbian
squid/share/errors/Simplify_Chinese
squid/share/errors/Slovak
squid/share/errors/Spanish
squid/share/errors/Swedish
squid/share/errors/Traditional_Chinese
squid/share/errors/Turkish
squid/share/icons
squid/share/man/man8

Other 3rd party software squid requires

(none)