2017-06-12 01:47:45 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.squid-cache.org
|
|
|
|
TERMUX_PKG_DESCRIPTION="Full-featured Web proxy cache server"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2017-06-12 01:47:45 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
|
2019-07-11 10:30:51 +02:00
|
|
|
TERMUX_PKG_VERSION=4.8
|
|
|
|
TERMUX_PKG_SHA256=78cdb324d93341d36d09d5f791060f6e8aaa5ff3179f7c949cd910d023a86210
|
2019-05-07 23:44:27 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://squid.mirror.globo.tech/archive/4/squid-$TERMUX_PKG_VERSION.tar.xz
|
2019-06-20 03:05:27 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libcrypt, openssl, libnettle, libltdl"
|
2017-06-12 01:47:45 +02:00
|
|
|
# disk-io requires msgctl and store-io requires disk-io
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2017-06-12 03:11:00 +02:00
|
|
|
ac_cv_lib_sasl2_sasl_errstring=no
|
2017-07-14 00:23:37 +02:00
|
|
|
ac_cv_dbopen_libdb=no
|
2017-11-19 04:57:34 +01:00
|
|
|
squid_cv_gnu_atomics=yes
|
2017-07-14 00:23:37 +02:00
|
|
|
--disable-external-acl-helpers
|
2017-06-12 01:47:45 +02:00
|
|
|
--disable-strict-error-checking
|
|
|
|
--disable-disk-io
|
2018-08-22 08:29:55 +02:00
|
|
|
--disable-esi
|
2017-06-12 01:47:45 +02:00
|
|
|
--disable-storeio
|
|
|
|
--without-mit-krb5
|
|
|
|
--with-dl
|
|
|
|
--with-openssl
|
2017-06-12 03:11:00 +02:00
|
|
|
--disable-forw-via-db
|
2017-06-12 01:47:45 +02:00
|
|
|
--enable-auth
|
|
|
|
--without-libnettle
|
|
|
|
--enable-translation
|
|
|
|
--with-size-optimizations
|
|
|
|
--without-libxml2
|
2017-06-12 03:11:00 +02:00
|
|
|
--without-gnutls
|
2017-11-19 04:57:34 +01:00
|
|
|
--enable-delay-pools
|
2017-06-12 01:47:45 +02:00
|
|
|
--libexecdir=$TERMUX_PREFIX/libexec/squid
|
|
|
|
--sysconfdir=$TERMUX_PREFIX/etc/squid
|
|
|
|
--datarootdir=$TERMUX_PREFIX/share/squid
|
2017-06-12 03:11:00 +02:00
|
|
|
--mandir=$TERMUX_PREFIX/share/man
|
2017-06-12 01:47:45 +02:00
|
|
|
"
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2017-06-12 01:47:45 +02:00
|
|
|
LDFLAGS="$LDFLAGS -llog"
|
|
|
|
|
|
|
|
# needed for building cf_gen
|
|
|
|
export BUILDCXX=g++
|
|
|
|
# else it picks up our cross CXXFLAGS
|
|
|
|
export BUILDCXXFLAGS=' '
|
|
|
|
}
|
|
|
|
|
2019-06-28 12:35:06 +02:00
|
|
|
termux_step_post_make_install() {
|
|
|
|
local _SQUID_LOGDIR=$TERMUX_PREFIX/var/logs
|
|
|
|
mkdir -p $_SQUID_LOGDIR
|
|
|
|
echo "Squid logs here by default" > $_SQUID_LOGDIR/README.squid
|
|
|
|
}
|