==============================================================================
-src/security/certv/fake/security_fake_certv.pl.in:
+src/security/cert_validators/fake/security_fake_certv.pl.in:
(C) 2012 The Measurement Factory, Author: Tsantilas Christos
m4_include([helpers/url_rewrite/modules.m4])
dnl Select security helpers to build
-AC_ARG_ENABLE(security-certv-helpers,
- AS_HELP_STRING([--enable-security-certv-helpers="list of helpers"],
- [This option selects which security certificate verify helpers
- to build and install as part of the normal build
+AC_ARG_ENABLE(security-cert-validator-helpers,
+ AS_HELP_STRING([--enable-security-cert-validator-helpers="list of helpers"],
+ [This option selects which security certificate validator
+ helpers to build and install as part of the normal build
process. The default is to attempt the build of all possible
- helpers. Use --disable-security-certv-helpers to build none.
- For a list of available helpers see the
- src/security/certv/ directory.]),[
+ helpers. Use --disable-security-cert-validator-helpers to
+ build none. For a list of available helpers see the
+ src/security/cert_validators/ directory.]),[
])
-m4_include([src/security/certv/modules.m4])
+m4_include([src/security/cert_validators/modules.m4])
dnl Select storeid_rewrite helpers to build
AC_ARG_ENABLE(storeid-rewrite-helpers,
src/parser/Makefile
src/repl/Makefile
src/security/Makefile
- src/security/certv/Makefile
- src/security/certv/fake/Makefile
+ src/security/cert_validators/Makefile
+ src/security/cert_validators/fake/Makefile
src/servers/Makefile
src/snmp/Makefile
src/ssl/Makefile
<sect1>cert_valid.pl helper renamed
<p>The <em>cert_valid.pl</em> testing helper has been renamed to
- <em>security_fake_certv</em>, reflecting the Squid helper naming schema
+ <em>security_fake_certverify</em>, reflecting the Squid helper naming schema
and that it does not actually perform any certificate checks.
<p>This helper is also now built and installed by default. It is written in Perl
<sect1>New options<label id="newoptions">
<p>
<descrip>
- <tag>--enable-security-certv-helpers</tag>
- <p>New directive to control which TLS/SSL certificate verification helpers
+ <tag>--enable-security-cert-validator-helpers</tag>
+ <p>New directive to control which TLS/SSL certificate validation helpers
are built and installed.
<p>One <em>fake</em> helper that it does not actually perform any
certificate checks is provided for testing and example code for writing
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
-SUBDIRS= certv
+SUBDIRS= cert_validators
noinst_LTLIBRARIES = libsecurity.la
--- /dev/null
+## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
+
+include $(top_srcdir)/src/Common.am
+
+libexec_SCRIPTS = security_fake_certverify
+CLEANFILES += security_fake_certverify
+EXTRA_DIST= \
+ security_fake_certverify.pl.in \
+ required.m4
+
+security_fake_certverify: security_fake_certverify.pl.in
+ $(subst_perlshell)
+
+if ENABLE_POD2MAN_DOC
+man_MANS = security_fake_certverify.8
+CLEANFILES += security_fake_certverify.8
+EXTRA_DIST += security_fake_certverify.8
+
+security_fake_certverify.8: security_fake_certverify
+ pod2man --section=8 security_fake_certverify security_fake_certverify.8
+
+endif
BUILD_HELPER="fake"
fi
if test "x$POD2MAN" = "x"; then
- AC_MSG_WARN([pod2man not found. security_fake_certv man(8) page will not be built])
+ AC_MSG_WARN([pod2man not found. security_fake_certverify man(8) page will not be built])
fi
=head1 NAME
-security_fake_certv - A fake cert validation helper for Squid
+security_fake_certverify - A fake cert validation helper for Squid
=head1 SYNOPSIS
-security_fake_certv [-d | --debug] [-h | --help]
+security_fake_certverify [-d | --debug] [-h | --help]
=over 8
--- /dev/null
+## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
+
+# This file is supposed to run all the tests required to identify which
+# configured modules are able to be built in this environment
+
+# FIXME: de-duplicate $enable_security_cert_validator_helpers list containing double entries.
+
+#define list of modules to build
+auto_security_modules=no
+if test "x${enable_security_cert_validator_helpers:=yes}" = "xyes" ; then
+ SQUID_LOOK_FOR_MODULES([$srcdir/src/security/cert_validators],[enable_security_cert_validator_helpers])
+ auto_security_modules=yes
+fi
+
+enable_security_cert_validator_helpers="`echo $enable_security_cert_validator_helpers| sed -e 's/,/ /g;s/ */ /g'`"
+AC_MSG_NOTICE([Security certificate validator helper candidates: $enable_security_cert_validator_helpers])
+SECURITY_CERTV_HELPERS=""
+if test "x$enable_security_cert_validator_helpers" != "xno" ; then
+ for helper in $enable_security_cert_validator_helpers; do
+ dir="$srcdir/src/security/cert_validators/$helper"
+
+ # modules converted to autoconf macros already
+ # NP: we only need this list because m4_include() does not accept variables
+ if test "x$helper" = "xfake" ; then
+ m4_include([src/security/cert_validators/fake/required.m4])
+
+ # modules not yet converted to autoconf macros (or third party drop-in's)
+ elif test -f "$dir/config.test" && sh "$dir/config.test" "$squid_host_os"; then
+ BUILD_HELPER="$helper"
+ fi
+
+ if test -d "$srcdir/src/security/cert_validators/$helper"; then
+ if test "$BUILD_HELPER" != "$helper"; then
+ if test "x$auto_security_modules" = "xyes"; then
+ AC_MSG_NOTICE([Security certificate validator helper $helper ... found but cannot be built])
+ else
+ AC_MSG_ERROR([Security certificate validator helper $helper ... found but cannot be built])
+ fi
+ else
+ SECURITY_CERTV_HELPERS="$SECURITY_CERTV_HELPERS $BUILD_HELPER"
+ fi
+ else
+ AC_MSG_ERROR([Security certificate validator helper $helper ... not found])
+ fi
+ done
+fi
+AC_MSG_NOTICE([Security certificate validator helpers to be built: $SECURITY_CERTV_HELPERS])
+AC_SUBST(SECURITY_CERTV_HELPERS)
+++ /dev/null
-## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-include $(top_srcdir)/src/Common.am
-
-libexec_SCRIPTS = security_fake_certv
-CLEANFILES += security_fake_certv
-EXTRA_DIST= \
- security_fake_certv.pl.in \
- required.m4
-
-security_fake_certv: security_fake_certv.pl.in
- $(subst_perlshell)
-
-if ENABLE_POD2MAN_DOC
-man_MANS = security_fake_certv.8
-CLEANFILES += security_fake_certv.8
-EXTRA_DIST += security_fake_certv.8
-
-security_fake_certv.8: security_fake_certv
- pod2man --section=8 security_fake_certv security_fake_certv.8
-
-endif
+++ /dev/null
-## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
-##
-## Squid software is distributed under GPLv2+ license and includes
-## contributions from numerous individuals and organizations.
-## Please see the COPYING and CONTRIBUTORS files for details.
-##
-
-# This file is supposed to run all the tests required to identify which
-# configured modules are able to be built in this environment
-
-# FIXME: de-duplicate $enable_security_certv_helpers list containing double entries.
-
-#define list of modules to build
-auto_security_modules=no
-if test "x${enable_security_certv_helpers:=yes}" = "xyes" ; then
- SQUID_LOOK_FOR_MODULES([$srcdir/src/security/certv],[enable_security_certv_helpers])
- auto_security_modules=yes
-fi
-
-enable_security_certv_helpers="`echo $enable_security_certv_helpers| sed -e 's/,/ /g;s/ */ /g'`"
-AC_MSG_NOTICE([Security certificate verify helper candidates: $enable_security_certv_helpers])
-SECURITY_CERTV_HELPERS=""
-if test "x$enable_security_certv_helpers" != "xno" ; then
- for helper in $enable_security_certv_helpers; do
- dir="$srcdir/src/security/certv/$helper"
-
- # modules converted to autoconf macros already
- # NP: we only need this list because m4_include() does not accept variables
- if test "x$helper" = "xfake" ; then
- m4_include([src/security/certv/fake/required.m4])
-
- # modules not yet converted to autoconf macros (or third party drop-in's)
- elif test -f "$dir/config.test" && sh "$dir/config.test" "$squid_host_os"; then
- BUILD_HELPER="$helper"
- fi
-
- if test -d "$srcdir/src/security/certv/$helper"; then
- if test "$BUILD_HELPER" != "$helper"; then
- if test "x$auto_security_modules" = "xyes"; then
- AC_MSG_NOTICE([Security certificate verify helper $helper ... found but cannot be built])
- else
- AC_MSG_ERROR([Security certificate verify helper $helper ... found but cannot be built])
- fi
- else
- SECURITY_CERTV_HELPERS="$SECURITY_CERTV_HELPERS $BUILD_HELPER"
- fi
- else
- AC_MSG_ERROR([Security certificate verify helper $helper ... not found])
- fi
- done
-fi
-AC_MSG_NOTICE([Security certificate verify helpers to be built: $SECURITY_CERTV_HELPERS])
-AC_SUBST(SECURITY_CERTV_HELPERS)