On 2021-04-23 00:25, sub chell wrote:
Hi Team,

I am trying to customize squid 4.6-1 with an attached patch and
building the same.

OK.

Please let me know what are all the debs it might affect with this
change, means what are all the debs i need to take it from my
customized build other than buster
squid(https://packages.debian.org/buster/squid)

Sorry, what are you trying to ask here?


diff -Naur '--exclude=.pc' squid-4.6/debian/rules
squid-4.6_new/debian/rules
--- squid-4.6/debian/rules      2021-04-12 00:47:35.071871989 -0500
+++ squid-4.6_new/debian/rules  2021-04-12 01:03:19.630856334 -0500
@@ -28,7 +28,7 @@
 DEB_CONFIGURE_EXTRA_FLAGS := BUILDCXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)
$(LDFLAGS)" \
                BUILDCXX=$(CXX_FOR_BUILD) \
                --with-build-environment=default \
-               --enable-build-info="$(BUILDINFO) $(DEB_HOST_ARCH_OS)"
\
+               --enable-build-info="Debian $(DEB_HOST_ARCH_OS)" \
                --datadir=/usr/share/squid \
                --sysconfdir=/etc/squid \
                --libexecdir=/usr/lib/squid \
@@ -54,7 +54,8 @@
                --enable-esi \
                --enable-icmp \
                --enable-zph-qos \
-               --enable-ecap \
+               --disable-ecap \
+                --disable-ipv6 \


Why disable these?

eCAP is a feature not used unless configured.

IPv6 is not optional in modern traffic. Removing it can lead to crashes etc.


Amos
_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to