2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Fonksiyonel vekil sunucu yazılımı
|
2018-07-30 10:05:49 +02:00
|
|
|
|
# URL: http://www.squid-cache.org
|
|
|
|
|
# Paketçi: milisarge
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# Gerekler:
|
2018-07-30 10:05:49 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=squid
|
|
|
|
|
surum=3.5.24
|
|
|
|
|
devir=2
|
|
|
|
|
kaynak=(http://www.squid-cache.org/Versions/v3/3.5/$isim-$surum.tar.xz
|
|
|
|
|
squid_servisi)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc/squid \
|
|
|
|
|
--libexecdir=/usr/lib/squid \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--datadir=/usr/share/squid \
|
|
|
|
|
--with-logdir=/var/log/squid \
|
|
|
|
|
--with-pidfile=/var/run/squid.pid \
|
|
|
|
|
--with-swapdir=/var/squid \
|
|
|
|
|
--with-default-user=squid \
|
|
|
|
|
--enable-linux-netfilter \
|
|
|
|
|
--enable-storeio=ufs,aufs,diskd,rock \
|
|
|
|
|
--enable-removal-policies=lru,heap \
|
|
|
|
|
--with-large-files \
|
|
|
|
|
--with-pthreads \
|
|
|
|
|
--with-aufs-threads=16 \
|
|
|
|
|
--disable-auto-locale \
|
|
|
|
|
--with-openssl \
|
|
|
|
|
--enable-ssl-crtd
|
|
|
|
|
|
|
|
|
|
make all
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
rm -r $PKG/var/run
|
|
|
|
|
find $PKG/usr/share/squid/errors/* -prune ! -name templates | xargs rm -r
|
|
|
|
|
install -D -m 755 $SRC/squid_servisi $PKG/etc/rc.d/init.d/squid
|
|
|
|
|
}
|