squid: add new recipe
PATCH 1/1 squid: add new recipe
From: Jackie Huang <[email protected]>
squid is a fully-featured http proxy and web-cache daemon for Linux.
Signed-off-by Jackie Huang <[email protected]>
--- .../Add-default-entry-for-cross-compile.patch | 31 +++++++++++ ...-ksh-reference-in-krb-ldap-helper-to-bash.patch | 29 ++++++++++ ...flawed-dynamic-ldb-link-test-in-configure.patch | 43 +++++++++++++++ .../squid/files/Set-up-for-cross-compilation.patch | 29 ++++++++++ .../squid/files/Skip-AC_RUN_IFELSE-tests.patch | 64 ++++++++++++++++++++++ .../recipes-daemons/squid/files/run-ptest | 3 + ...d-use-serial-tests-config-needed-by-ptest.patch | 31 +++++++++++ .../recipes-daemons/squid/files/volatiles.03_squid | 2 + .../recipes-daemons/squid/squid_3.4.7.bb | 64 ++++++++++++++++++++++ 9 files changed, 296 insertions(+) create mode 100644 meta-networking/recipes-daemons/squid/files/Add-default-entry-for-cross-compile.patch create mode 100644 meta-networking/recipes-daemons/squid/files/Change-ksh-reference-in-krb-ldap-helper-to-bash.patch create mode 100644 meta-networking/recipes-daemons/squid/files/Fix-flawed-dynamic-ldb-link-test-in-configure.patch create mode 100644 meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch create mode 100644 meta-networking/recipes-daemons/squid/files/Skip-AC_RUN_IFELSE-tests.patch create mode 100644 meta-networking/recipes-daemons/squid/files/run-ptest create mode 100644 meta-networking/recipes-daemons/squid/files/squid-use-serial-tests-config-needed-by-ptest.patch create mode 100644 meta-networking/recipes-daemons/squid/files/volatiles.03_squid create mode 100644 meta-networking/recipes-daemons/squid/squid_3.4.7.bb
meta-networking/recipes-daemons/squid/files/Add-default-entry-for-cross-compile.patch new file +31 -0
@@ -0,0 +1,31 @@ +From faa212a4e0aaf442ff58fca50770a8fadc1038e3 Mon Sep 17 00:00:00 2001 +Message-Id: <faa212a4e0aaf442ff58fca50770a8fadc1038e3.1382041123.git.Jim.Somerville@windriver.com> +From: Jim Somerville <[email protected]> +Date: Thu, 17 Oct 2013 16:17:48 -0400 +Subject: [PATCH 1/1] Add default entry for cross compile + +Signed-off-by: Jim Somerville <[email protected]> +--- + acinclude/krb5.m4 | 6 +++++- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/acinclude/krb5.m4 b/acinclude/krb5.m4 +index 5d9ac36..7a072a2 100644 +--- a/acinclude/krb5.m4 ++++ b/acinclude/krb5.m4 +@@ -82,7 +82,11 @@ main(void) + + return 0; + } +-]])], [ squid_cv_broken_heimdal_krb5_h=yes ], [ squid_cv_broken_heimdal_krb5_h=no ]) ++]])], [ squid_cv_broken_heimdal_krb5_h=yes ], [ squid_cv_broken_heimdal_krb5_h=no ], ++[ ++ dnl Can't test in cross compiled env - so assume good ++ squid_cv_broken_heimdal_krb5_h=no ++]) + ], + [ + dnl Can't test in cross compiled env - so assume good +-- +1.7.4.1 +
meta-networking/recipes-daemons/squid/files/Change-ksh-reference-in-krb-ldap-helper-to-bash.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 37da4010f41d936c2c727fc32adab832bdde9bec Mon Sep 17 00:00:00 2001 +Message-Id: <37da4010f41d936c2c727fc32adab832bdde9bec.1382481765.git.Jim.Somerville@windriver.com> +From: Jim Somerville <[email protected]> +Date: Tue, 22 Oct 2013 18:39:39 -0400 +Subject: [PATCH 1/1] Change ksh reference in krb ldap helper to bash + +Very simple cert_tool script with no ksh specifics. +Change it to use bash so a package dependency doesn't +get created to ksh. + +Signed-off-by: Jim Somerville <[email protected]> +--- + helpers/external_acl/kerberos_ldap_group/cert_tool | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool +index 9f14959..b61be5d 100644 +--- a/helpers/external_acl/kerberos_ldap_group/cert_tool ++++ b/helpers/external_acl/kerberos_ldap_group/cert_tool +@@ -1,4 +1,5 @@ +-#!/bin/ksh ++#!/bin/bash ++# The above was originally ksh + # + # ----------------------------------------------------------------------------- + # +-- +1.7.4.1 +
meta-networking/recipes-daemons/squid/files/Fix-flawed-dynamic-ldb-link-test-in-configure.patch new file +43 -0
43 lines not on this page · raw message
meta-networking/recipes-daemons/squid/files/Set-up-for-cross-compilation.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 17e5a28667f667859c48bee25e575a072d39ee1b Mon Sep 17 00:00:00 2001 +Message-Id: <17e5a28667f667859c48bee25e575a072d39ee1b.1381956170.git.Jim.Somerville@windriver.com> +From: Jim Somerville <[email protected]> +Date: Wed, 16 Oct 2013 16:41:03 -0400 +Subject: [PATCH 1/1] Set up for cross compilation + +Set the host compiler to BUILD_CXX so +proper cross compilation can occur. + +Signed-off-by: Jim Somerville <[email protected]> +--- + configure.ac | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/configure.ac b/configure.ac +index c2d3033..dda9ed9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -19,6 +19,7 @@ m4_include([acinclude/lib-checks.m4]) + m4_include([acinclude/ax_cxx_compile_stdcxx_0x.m4]) + m4_include([acinclude/ax_cxx_0x_types.m4]) + ++HOSTCXX="$BUILD_CXX" + PRESET_CFLAGS="$CFLAGS" + PRESET_CXXFLAGS="$CXXFLAGS" + PRESET_LDFLAGS="$LDFLAGS" +-- +1.7.4.1 +
meta-networking/recipes-daemons/squid/files/Skip-AC_RUN_IFELSE-tests.patch new file +64 -0
64 lines not on this page · raw message
meta-networking/recipes-daemons/squid/files/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh +# +make -C test-suite -k runtest-TESTS
meta-networking/recipes-daemons/squid/files/squid-use-serial-tests-config-needed-by-ptest.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 2192fdbc90b0ff2d5408e8763df200620870deea Mon Sep 17 00:00:00 2001 +From: Jackie Huang <[email protected]> +Date: Mon, 13 Oct 2014 01:32:37 -0700 +Subject: [PATCH] squid: use serial-tests config needed by ptest + +ptest needs buildtest-TESTS and runtest-TESTS targets. +serial-tests is required to generate those targets. + +Upstream-Status: Inappropriate [default automake behavior incompatible with ptest] + +Signed-off-by: Jackie Huang <[email protected]> +--- + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 6f7171f..ab9b93e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ AC_PREREQ(2.61) + AC_CONFIG_HEADERS([include/autoconf.h]) + AC_CONFIG_AUX_DIR(cfgaux) + AC_CONFIG_SRCDIR([src/main.cc]) +-AM_INIT_AUTOMAKE([tar-ustar nostdinc]) ++AM_INIT_AUTOMAKE([tar-ustar nostdinc serial-tests]) + AC_REVISION($Revision$)dnl + AC_PREFIX_DEFAULT(/usr/local/squid) + AM_MAINTAINER_MODE +-- +1.7.1 +
meta-networking/recipes-daemons/squid/files/volatiles.03_squid new file +2 -0
@@ -0,0 +1,2 @@ +# <type> <owner> <group> <mode> <path> <linksource> +d squid squid 0755 /var/run/squid none
meta-networking/recipes-daemons/squid/squid_3.4.7.bb new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
2.0.0