|
|
@ -3,34 +3,42 @@ TERMUX_PKG_DESCRIPTION="Full-featured Web proxy cache server" |
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
|
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" |
|
|
|
TERMUX_PKG_VERSION=4.8 |
|
|
|
TERMUX_PKG_SHA256=78cdb324d93341d36d09d5f791060f6e8aaa5ff3179f7c949cd910d023a86210 |
|
|
|
TERMUX_PKG_SRCURL=http://squid.mirror.globo.tech/archive/4/squid-$TERMUX_PKG_VERSION.tar.xz |
|
|
|
TERMUX_PKG_DEPENDS="libc++, libcrypt, openssl, libnettle, libltdl, resolv-conf" |
|
|
|
# disk-io requires msgctl and store-io requires disk-io |
|
|
|
TERMUX_PKG_SHA256=78cdb324d93341d36d09d5f791060f6e8aaa5ff3179f7c949cd910d023a86210 |
|
|
|
TERMUX_PKG_DEPENDS="libc++, libcrypt, libxml2, libltdl, openssl, resolv-conf" |
|
|
|
|
|
|
|
# disk-io uses XSI message queue which are not available on Android. |
|
|
|
# Option 'cache_dir' will be unusable. |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
|
ac_cv_lib_sasl2_sasl_errstring=no |
|
|
|
ac_cv_dbopen_libdb=no |
|
|
|
squid_cv_gnu_atomics=yes |
|
|
|
--datarootdir=$TERMUX_PREFIX/share/squid |
|
|
|
--libexecdir=$TERMUX_PREFIX/libexec/squid |
|
|
|
--mandir=$TERMUX_PREFIX/share/man |
|
|
|
--sysconfdir=$TERMUX_PREFIX/etc/squid |
|
|
|
--with-logdir=$TERMUX_PREFIX/var/log/squid |
|
|
|
--with-pidfile=$TERMUX_PREFIX/var/run/squid.pid |
|
|
|
--disable-external-acl-helpers |
|
|
|
--disable-strict-error-checking |
|
|
|
--enable-auth |
|
|
|
--enable-auth-basic |
|
|
|
--enable-auth-digest |
|
|
|
--enable-auth-negotiate |
|
|
|
--enable-auth-ntlm |
|
|
|
--enable-delay-pools |
|
|
|
--enable-linux-netfilter |
|
|
|
--enable-removal-policies="lru,heap" |
|
|
|
--enable-snmp |
|
|
|
--disable-disk-io |
|
|
|
--disable-esi |
|
|
|
--disable-storeio |
|
|
|
--without-mit-krb5 |
|
|
|
--enable-translation |
|
|
|
--with-dl |
|
|
|
--with-openssl |
|
|
|
--disable-forw-via-db |
|
|
|
--enable-auth |
|
|
|
--without-libnettle |
|
|
|
--enable-translation |
|
|
|
--with-size-optimizations |
|
|
|
--without-libxml2 |
|
|
|
--without-gnutls |
|
|
|
--enable-delay-pools |
|
|
|
--libexecdir=$TERMUX_PREFIX/libexec/squid |
|
|
|
--sysconfdir=$TERMUX_PREFIX/etc/squid |
|
|
|
--datarootdir=$TERMUX_PREFIX/share/squid |
|
|
|
--mandir=$TERMUX_PREFIX/share/man |
|
|
|
--without-libnettle |
|
|
|
--without-mit-krb5 |
|
|
|
" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|