aboutsummaryrefslogtreecommitdiff
path: root/recipes/squid/squid_3.1.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squid/squid_3.1.9.bb')
-rw-r--r--recipes/squid/squid_3.1.9.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/squid/squid_3.1.9.bb b/recipes/squid/squid_3.1.9.bb
new file mode 100644
index 0000000..713b1ea
--- /dev/null
+++ b/recipes/squid/squid_3.1.9.bb
@@ -0,0 +1,25 @@
+PR = "${INC_PR}.0"
+
+include squid.inc
+
+EXTRA_OECONF += "--enable-epoll --enable-icap-client --with-dl --enable-linux-netfilter"
+
+EXTRA_OEMAKE += "DEFAULT_STYLESHEET=${sysconfdir}/squid/errorpage.css DEFAULT_CONFIG_DIR=${sysconfdir}/squid"
+
+SRC_URI += " \
+ file://squidv3-build-cf_gen.patch \
+ file://fix-runs-in-configure.patch \
+ "
+
+SRC_URI[squid-3.1.9.md5sum] = "896ace723445ac168986ba8854437ce3"
+SRC_URI[squid-3.1.9.sha256sum] = "bcc0d8e391a442fdeef0fe4676d89eddfce3cd9d9391ba6c217b1aa57b378f03"
+
+do_configure_prepend() {
+ export ac_cv_epoll_ctl=yes
+ export ac_cv_epoll_works=yes
+ export ac_cv_func_setresuid=yes
+}
+
+do_install_append() {
+ mv ${D}${sysconfdir}/squid.conf.documented ${D}${sysconfdir}/squid/
+}