Browse Source

squid: minor changes in Makefile and init script

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
lilik-openwrt-22.03
Marko Ratkaj 10 years ago
committed by Luka Perkov
parent
commit
69116fb9e7
2 changed files with 5 additions and 3 deletions
  1. +2
    -2
      net/squid/Makefile
  2. +3
    -1
      net/squid/files/squid.init

+ 2
- 2
net/squid/Makefile View File

@ -89,11 +89,11 @@ CONFIGURE_ARGS += \
--disable-arch-native \
--with-krb5-config=no \
--without-libcap \
--without-netfilter-conntrack \
--without-netfilter-conntrack
CONFIGURE_VARS += \
ac_cv_header_linux_netfilter_ipv4_h=yes \
ac_cv_epoll_works=yes \
ac_cv_epoll_works=yes
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/lib all


+ 3
- 1
net/squid/files/squid.init View File

@ -25,7 +25,9 @@ start_service() {
return 1
}
mkdir -p $(dirname $CONFIGFILE)
config_dir=$(dirname $CONFIGFILE)
[ -d $config_dir ] || mkdir -p $config_dir && chown nobody:nogroup $config_dir
[ -d $coredump_dir ] || mkdir -p $coredump_dir && chown nobody:nogroup $coredump_dir
cat $config_file > $CONFIGFILE
echo http_port $http_port >> $CONFIGFILE


Loading…
Cancel
Save