milis/talimatname/genel/s/squid/talimat

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Fonksiyonel vekil sunucu yazılımı
2017-03-05 23:21:32 +01:00
# URL: http://www.squid-cache.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-03-05 23:21:32 +01:00
name=squid
version=3.5.24
2017-04-19 21:51:51 +02:00
release=2
2017-03-05 23:21:32 +01:00
source=(http://www.squid-cache.org/Versions/v3/3.5/$name-$version.tar.xz
squid_servisi)
2017-10-27 23:59:41 +02:00
derle() {
2017-03-05 23:21:32 +01:00
cd $name-$version
./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 \
2017-04-19 21:51:51 +02:00
--disable-auto-locale \
--with-openssl \
--enable-ssl-crtd
2017-03-05 23:21:32 +01:00
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
}