all possible helpers. Default is to do so.
To disable the Digest authentication scheme, use --disable-auth-digest.
To enable but build no helpers, specify "none".
- To see available helpers, see the helpers/digest_auth directory. ]),[
+ To see available helpers, see the src/auth/digest/ directory. ]),[
#nothing to do, really
])
-m4_include([helpers/digest_auth/modules.m4])
+m4_include([src/auth/digest/helpers.m4])
AC_ARG_ENABLE(auth-negotiate,
AS_HELP_STRING([--enable-auth-negotiate="list of helpers"],
helpers/basic_auth/SMB/Makefile
helpers/basic_auth/SMB_LM/Makefile
helpers/basic_auth/SSPI/Makefile
- helpers/digest_auth/Makefile
- helpers/digest_auth/eDirectory/Makefile
- helpers/digest_auth/file/Makefile
- helpers/digest_auth/LDAP/Makefile
helpers/external_acl/Makefile
helpers/external_acl/AD_group/Makefile
helpers/external_acl/delayer/Makefile
src/auth/Makefile
src/auth/basic/Makefile
src/auth/digest/Makefile
+ src/auth/digest/eDirectory/Makefile
+ src/auth/digest/file/Makefile
+ src/auth/digest/LDAP/Makefile
src/auth/negotiate/Makefile
src/auth/negotiate/kerberos/Makefile
src/auth/negotiate/SSPI/Makefile
DIST_SUBDIRS = \
basic_auth \
- digest_auth \
external_acl \
url_rewrite \
storeid_rewrite
SUBDIRS = \
basic_auth \
- digest_auth \
external_acl \
url_rewrite \
storeid_rewrite
+++ /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.
-##
-
-## Alphabetical list of sub-directories to distribute with Squid:
-DIST_SUBDIRS= \
- eDirectory \
- file \
- LDAP
-
-SUBDIRS= $(DIGEST_AUTH_HELPERS)
-
-EXTRA_DIST = modules.m4
include $(top_srcdir)/src/Common.am
-## we need our local files too (but avoid -I. at all costs)
-AM_CPPFLAGS += -I$(srcdir)
+libexec_PROGRAMS= digest_ldap_auth
-libexec_PROGRAMS = digest_ldap_auth
-digest_ldap_auth_SOURCES = digest_pw_auth.cc \
+digest_ldap_auth_SOURCES= \
digest_common.h \
+ digest_pw_auth.cc \
ldap_backend.cc \
ldap_backend.h
-digest_ldap_auth_LDADD = \
+digest_ldap_auth_LDADD= \
$(top_builddir)/lib/libmiscencoding.la \
$(COMPAT_LIB) \
$(LDAPLIB) \
$(SSLLIB) \
$(XTRA_LIBS)
-EXTRA_DIST = required.m4
+EXTRA_DIST= required.m4
#ifndef SQUID_DIGEST_COMMON_H_
#define SQUID_DIGEST_COMMON_H_
+#include "hash.h"
+#include "rfc2617.h"
+#include "util.h"
+
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <crypt.h>
#endif
-#include "hash.h"
-#include "rfc2617.h"
-#include "util.h"
-
typedef struct _request_data {
int channelId;
char *user;
*/
#include "squid.h"
-#include "digest_common.h"
+#include "auth/digest/LDAP/digest_common.h"
+#include "auth/digest/LDAP/ldap_backend.h"
#include "helpers/defines.h"
-#include "ldap_backend.h"
#define PROGRAM_NAME "digest_ldap_auth"
#define LDAP_DEPRECATED 1
-#include "ldap_backend.h"
+#include "auth/digest/LDAP/ldap_backend.h"
#if _SQUID_WINDOWS_ && !_SQUID_CYGWIN_
* AUTHOR: Flavio Pescuma. <flavio@marasystems.com>
*/
-#include "digest_common.h"
+#include "auth/digest/LDAP/digest_common.h"
extern int LDAPArguments(int argc, char **argv);
extern void LDAPHHA1(RequestData * requestData);
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
-noinst_LTLIBRARIES = libdigest.la
+DIST_SUBDIRS= eDirectory file LDAP
+SUBDIRS= $(DIGEST_AUTH_HELPERS)
+EXTRA_DIST= helpers.m4
-libdigest_la_SOURCES = \
+noinst_LTLIBRARIES= libdigest.la
+
+libdigest_la_SOURCES= \
Config.cc \
Config.h \
Scheme.cc \
include $(top_srcdir)/src/Common.am
-## we need our local files too (but avoid -I. at all costs)
-AM_CPPFLAGS += -I$(srcdir)
+libexec_PROGRAMS= digest_edirectory_auth
-libexec_PROGRAMS = digest_edirectory_auth
-digest_edirectory_auth_SOURCES = digest_pw_auth.cc \
+digest_edirectory_auth_SOURCES= \
+ digest_pw_auth.cc \
digest_common.h \
ldap_backend.cc \
ldap_backend.h \
$(SSLLIB) \
$(XTRA_LIBS)
-EXTRA_DIST = required.m4
+EXTRA_DIST= required.m4
#ifndef SQUID_DIGEST_COMMON_H_
#define SQUID_DIGEST_COMMON_H_
+#include "hash.h"
+#include "rfc2617.h"
+#include "util.h"
+
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <crypt.h>
#endif
-#include "hash.h"
-#include "rfc2617.h"
-#include "util.h"
-
typedef struct _request_data {
int channelId;
char *user;
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
#include "squid.h"
-#include "digest_common.h"
+#include "auth/digest/eDirectory/digest_common.h"
+#include "auth/digest/eDirectory/ldap_backend.h"
#include "helpers/defines.h"
-#include "ldap_backend.h"
#define PROGRAM_NAME "digest_edirectory_auth"
*/
#include "squid.h"
-#include "digest_common.h"
+#include "auth/digest/eDirectory/digest_common.h"
#if _SQUID_WINDOWS_ && !_SQUID_CYGWIN_
#define LDAP_DEPRECATED 1
-#include "ldap_backend.h"
+#include "auth/digest/eDirectory/ldap_backend.h"
#if _SQUID_WINDOWS_ && !_SQUID_CYGWIN_
#include <ldap.h>
#endif
-#include "edir_ldapext.h"
+#include "auth/digest/eDirectory/edir_ldapext.h"
#define PROGRAM_NAME "digest_pw_auth(LDAP_backend)"
/* Globals */
/*
* AUTHOR: Flavio Pescuma. <flavio@marasystems.com>
- *
*/
-#include "digest_common.h"
+#include "auth/digest/eDirectory/digest_common.h"
extern int LDAPArguments(int argc, char **argv);
extern void LDAPHHA1(RequestData * requestData);
include $(top_srcdir)/src/Common.am
-## we need our local files too (but avoid -I. at all costs)
-AM_CPPFLAGS += -I$(srcdir)
+man_MANS= digest_file_auth.8
+libexec_PROGRAMS= digest_file_auth
-man_MANS = digest_file_auth.8
-libexec_PROGRAMS = digest_file_auth
-digest_file_auth_SOURCES = digest_file_auth.cc \
+digest_file_auth_SOURCES= \
digest_common.h \
+ digest_file_auth.cc \
text_backend.cc \
text_backend.h
-LDADD = \
+digest_file_auth_LDADD = \
$(top_builddir)/lib/libmisccontainers.la \
$(top_builddir)/lib/libmiscencoding.la \
$(COMPAT_LIB) \
$(SSLLIB) \
$(XTRA_LIBS)
-EXTRA_DIST = digest_file_auth.8 required.m4
+EXTRA_DIST= \
+ digest_file_auth.8 \
+ required.m4
*/
#include "squid.h"
-#include "digest_common.h"
+#include "auth/digest/file/digest_common.h"
+#include "auth/digest/file/text_backend.h"
#include "helpers/defines.h"
-#include "text_backend.h"
static void
GetHHA1(RequestData * requestData)
*/
#include "squid.h"
-#include "text_backend.h"
+#include "auth/digest/file/text_backend.h"
static hash_table *hash = NULL;
static HASHFREE my_free;
* Please see the COPYING and CONTRIBUTORS files for details.
*/
-#include "digest_common.h"
+#include "auth/digest/file/digest_common.h"
extern void TextArguments(int argc, char **argv);
extern void TextHHA1(RequestData * requestData);
#define list of modules to build
auto_auth_digest_modules=no
if test "x$enable_auth_digest" = "xyes" ; then
- SQUID_LOOK_FOR_MODULES([$srcdir/helpers/digest_auth],[enable_auth_digest])
+ SQUID_LOOK_FOR_MODULES([$srcdir/src/auth/digest],[enable_auth_digest])
auto_auth_digest_modules=yes
fi
#handle the "none" special case
AUTH_MODULES="$AUTH_MODULES digest"
AC_DEFINE([HAVE_AUTH_MODULE_DIGEST],1,[Digest auth module is built])
for helper in $enable_auth_digest; do
- dir="$srcdir/helpers/digest_auth/$helper"
+ dir="$srcdir/src/auth/digest/$helper"
# modules converted to autoconf macros already
# NP: we only need this list because m4_include() does not accept variables
- if test "x$helper" = "xLDAP" ; then
- m4_include([helpers/digest_auth/LDAP/required.m4])
-
- elif test "x$helper" = "xeDirectory" ; then
- m4_include([helpers/digest_auth/eDirectory/required.m4])
+ if test "x$helper" = "xeDirectory" ; then
+ m4_include([src/auth/digest/eDirectory/required.m4])
elif test "x$helper" = "xfile" ; then
- m4_include([helpers/digest_auth/file/required.m4])
+ m4_include([src/auth/digest/file/required.m4])
+
+ elif test "x$helper" = "xLDAP" ; then
+ m4_include([src/auth/digest/LDAP/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/helpers/digest_auth/$helper"; then
+ if test -d "$srcdir/src/auth/digest/$helper"; then
if test "$BUILD_HELPER" != "$helper"; then
if test "x$auto_auth_digest_modules" = "xyes"; then
AC_MSG_NOTICE([Digest auth helper $helper ... found but cannot be built])