From: Amos Jeffries Date: Fri, 29 Aug 2014 14:04:29 +0000 (-0700) Subject: Boilerplate: update copyright blurbs for Basic authentication helpers X-Git-Tag: SQUID_3_5_0_1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b95b9033a5e36eb15b62f45426606a264aa4941;p=thirdparty%2Fsquid.git Boilerplate: update copyright blurbs for Basic authentication helpers * added Squid Software Foundation blurbs * updated CONTRIBUTORS with missing authors * updated CREDITS with missing licenses * removed duplicate GPL license in helpers/basic_auth/SMB/COPYING-2.0 * removed obsolete file helpers/basic_auth/MSNT/byteorder.h --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 157841cea5..0a35c99698 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -30,7 +30,9 @@ Thank you! Anonymous Ansgar Hockmann Anthony Baxter + Antonino Iannella Arjan de Vet + Arjan de Vet Arkin Arthur Tumanyan Assar Westerlund @@ -40,6 +42,7 @@ Thank you! Benno Rice Bernard Bertrand Jacquin + Bill Welliver Bojan Smojver Brad Smith Brian @@ -49,6 +52,7 @@ Thank you! Carson Gaspar (carson@lehman.com, carson@cs.columbia.edu) Changming Chris Hills + Christoph Lechleitner Christos Tsantilas Cloyce Constantin Rack @@ -56,6 +60,7 @@ Thank you! Daniel Beschorner Daniel O'Callaghan David Isaacs + David J N Begley David Luyer Dennis Glatting Dhaval Varia @@ -74,6 +79,7 @@ Thank you! Emilio Casbas Endre Balint Nagy Eray Aslan + Erik Hofman Eric Stern Eugene Gladchenko Evan Jones @@ -93,8 +99,11 @@ Thank you! George Michaelson Georgy Salnikov Gerben Wierda + Giancarlo Razzolini Gilles Espinasse Glen Gibb + Glen Newton + Glenn Newton Glenn Chisholm Golub Mikhail Gonzalo Arana @@ -134,6 +143,7 @@ Thank you! Jon Thackray Jonathan Larmour Joshua Root + Juerg Michel Kieran Whitbread Kinkie Klaubert Herr @@ -152,6 +162,7 @@ Thank you! Mark Bergsma Mark Nottingham Mark Treacy + Marc van Selm Marko Marko Cupac Markus Gyger @@ -168,6 +179,7 @@ Thank you! Matthias Pitzl Max Okumoto Merik Karman + Michael Cunningham Michael Lupp Michael Mansour Michael O'Reilly @@ -201,26 +213,33 @@ Thank you! Pierangelo Masarati Pierre-Louis BRENAC Pierre-Louis Brenac + Poul-Henning Kamp Priyanka Gupta Przemek Czerkas + Rabellino Sergio (rabellino@di.unito.it) Rafael Martinez Torres Rafal Ramocki Rajiv Desai Ralf Wildenhues Ralph Loader + Ramon de Carvalho Regardt van de Vyver Regents of the University of California (UCSD) Reinhard Sojka Rene Geile Reuben Farrelly Richard Huveneers + Richard Huveneers Richard Sharpe Richard Wall Robert Collins Robert Collins Robert Forster + Robin Elfrink Rodrigo Campos (rodrigo@geekbunker.org) Rodrigo Campos + Rodrigo Rubira Branco + Rodrigo Rubira Branco Ron Gomes Russell Street Russell Vincent diff --git a/CREDITS b/CREDITS index f670ddedfb..dcae1582e7 100644 --- a/CREDITS +++ b/CREDITS @@ -598,6 +598,303 @@ compat/xstrto.cc: ============================================================================== +helpers/defines.h, +helpers/basic_auth/fake/fake.cc, + +helpers/url_rewrite/fake/ fake.cc, url_fake_rewrite.sh: + +/* + * Copyright (c) 2009-2014, Treehouse Networks Ltd. New Zealand + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +============================================================================== + +helpers/basic_auth/LDAP/basic_ldap_auth.cc: + + * License: squid_ldap_auth is free software; you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2, + * or (at your option) any later version. + +============================================================================== + +helpers/basic_auth/MSNT/: + + * (C) 2000 Antonino Iannella, Stellar-X Pty Ltd + * Released under GPL, see COPYING-2.0 for details. + + * Released under GNU Public License + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +============================================================================== + +helpers/basic_auth/NCSA/basic_ncsa_auth.8: + +This file is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this file; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, +MA 02111\-1307 USA + +============================================================================== + +helpers/basic_auth/NCSA/crypt_md5.cc: + + * Shamelessly stolen from linux-pam, and adopted to work with + * OpenSSL md5 implementation and any magic string + * + * Origin2: md5_crypt.c,v 1.1.1.1 2000/01/03 17:34:46 gafton Exp + * + * ---------------------------------------------------------------------------- + * "THE BEER-WARE LICENSE" (Revision 42): + * wrote this file. As long as you retain this notice you + * can do whatever you want with this stuff. If we meet some day, and you think + * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp + * ---------------------------------------------------------------------------- + * + * Origin: Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp + +============================================================================== + +helpers/basic_auth/NIS/: + + * Adapted By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x + * From NCSA Authentication module + + * Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x + +============================================================================== + +helpers/basic_auth/RADIUS/: + +This program is based on code from Livingston Enterprises, Inc. and parts are + + COPYRIGHT NOTICE SQUID_RAD_AUTH + +Copyright (C) 1992-1995 Livingston Enterprises, Inc and Cistron Internet Services +B.V. who both have given permission to modify and distribute those parts. The new +parts of the code is Copyright (C) 1998 R.M. van Selm with +modifications Copyright (C) 2004 Henrik Nordstrom + +Permission to use, copy, modify, and distribute this software for any purpose +and without fee is hereby granted, provided that this copyright and permission +notice appear on all copies and supporting documentation, the name of +Livingston Enterprises, Inc. not be used in advertising or publicity pertaining +to distribution of the program without specific prior permission, and notice be +given in supporting documentation that copying and distribution is by +permission of Livingston Enterprises, Inc. and Cistron Internet Services B.V. + +Neither Livingston Enterprises, Inc. nor Cistron Internet Services B.V. nor I +(R.M. van Selm) make representations about the suitability of this software for +any purpose. It isprovided "as is" without express or implied warranty. + +Marc van Selm + + + COPYRIGHT NOTICE SQUID_RAD_AUTH Documentation + +Copyright (C) 2004 Henrik Nordstrom + +Permission to use, copy, modify, and distribute this software for any purpose +and without fee is hereby granted, provided that this copyright and permission +notice appear on all copies and supporting documentation, the name of Henrik +Nordstrom. not be used in advertising or publicity pertaining to distribution +of the program without specific prior permission. + +The author makes no representations about the suitability of this documentation +for any purpose. It isprovided "as is" without express or implied warranty. + +Henrik Nordstrom + + COPYRIGHT NOTICE CISTRON RADIUS + +/* This program is based on code from Livingston Enterprises, Inc. and parts are + * Copyright (C) 1992-1995 Livingston Enterprises, Inc who has given permission + * to modify and distribute those parts. The new code is Copyright (C) 1996-1997 + * Cistron Internet Services B.V. + * + * Permission to use, copy, modify, and distribute this software for any purpose + * and without fee is hereby granted, provided that this copyright and permission + * notice appear on all copies and supporting documentation, the name of + * Livingston Enterprises, Inc. not be used in advertising or publicity pertaining + * to distribution of the program without specific prior permission, and notice be + * given in supporting documentation that copying and distribution is by + * permission of Livingston Enterprises, Inc. and Cistron Internet Services B.V. + + * Neither Livingston Enterprises, Inc. nor Cistron Internet Services B.V. make + * representations about the suitability of this software for any purpose. It is + * provided "as is" without express or implied warranty. +*/ + + COPYRIGHT NOTICE LIVINGSTON RADIUS 1.16 + +/* + * + * RADIUS + * Remote Authentication Dial In User Service + * + * + * Livingston Enterprises, Inc. + * 6920 Koll Center Parkway + * Pleasanton, CA 94566 + * + * Copyright 1992 Livingston Enterprises, Inc. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose and without fee is hereby granted, provided that this + * copyright and permission notice appear on all copies and supporting + * documentation, the name of Livingston Enterprises, Inc. not be used + * in advertising or publicity pertaining to distribution of the + * program without specific prior permission, and notice be given + * in supporting documentation that copying and distribution is by + * permission of Livingston Enterprises, Inc. + * + * Livingston Enterprises, Inc. makes no representations about + * the suitability of this software for any purpose. It is + * provided "as is" without express or implied warranty. + * + + + COPYRIGHT NOTICE RSA Data Security MD5 (md5.c) + +MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm + +Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All +rights reserved. + +License to copy and use this software is granted provided that it +is identified as the "RSA Data Security, Inc. MD5 Message-Digest +Algorithm" in all material mentioning or referencing this software +or this function. + +License is also granted to make and use derivative works provided +that such works are identified as "derived from the RSA Data +Security, Inc. MD5 Message-Digest Algorithm" in all material +mentioning or referencing the derived work. + +RSA Data Security, Inc. makes no representations concerning either +the merchantability of this software or the suitability of this +software for any particular purpose. It is provided "as is" +without express or implied warranty of any kind. + +These notices must be retained in any copies of any part of this +documentation and/or software. + + +/* + * The new parts of the code is Copyright (C) 1998 R.M. van Selm + * with modifications + * Copyright (C) 2004 Henrik Nordstrom + * Copyright (C) 2006 Henrik Nordstrom + */ + +============================================================================== + +helpers/basic_auth/SASL/: + + * Copyright (C) 2002 Ian Castle + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. + +============================================================================== + +helpers/basic_auth/SMB/: + + * Copyright (C) 1998 Richard Huveneers + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + +============================================================================== + +helpers/basic_auth/SSPI/: + + Guido Serassio, Torino - Italy + + Uses code from - + Antonino Iannella 2000 + Andrew Tridgell 1997 + Richard Sharpe 1996 + Bill Welliver 1999 + + * Distributed freely under the terms of the GNU General Public License, + * version 2. See the file COPYING for licensing details + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. + +============================================================================== + icons/silk/: Silk icon set 1.3 @@ -963,41 +1260,6 @@ helpers/external_acl/wbinfo_group/wbinfo_group.pl: ============================================================================== -helpers/ defines.h: -helpers/basic_auth/fake/ fake.cc: -helpers/url_rewrite/fake/ fake.cc, url_fake_rewrite.sh: - -/* - * Copyright (c) 2009-2014, Treehouse Networks Ltd. New Zealand - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -============================================================================== - helpers/negotiate_auth/kerberos/ * /* diff --git a/helpers/basic_auth/DB/Makefile.am b/helpers/basic_auth/DB/Makefile.am index e316dd0c1e..95eb523d7c 100644 --- a/helpers/basic_auth/DB/Makefile.am +++ b/helpers/basic_auth/DB/Makefile.am @@ -1,3 +1,9 @@ +## Copyright (C) 1996-2014 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 = basic_db_auth diff --git a/helpers/basic_auth/DB/basic_db_auth.pl.in b/helpers/basic_auth/DB/basic_db_auth.pl.in index f0188ba6d7..5a62970fe1 100644 --- a/helpers/basic_auth/DB/basic_db_auth.pl.in +++ b/helpers/basic_auth/DB/basic_db_auth.pl.in @@ -195,6 +195,12 @@ while (<>) { =head1 COPYRIGHT + * Copyright (C) 1996-2014 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. + Copyright (C) 2007 Henrik Nordstrom Copyright (C) 2010 Luis Daniel Lucio Quiroz (Joomla support) This program is free software. You may redistribute copies of it under the diff --git a/helpers/basic_auth/DB/passwd.sql b/helpers/basic_auth/DB/passwd.sql index c9528c6b58..d8b141c4bb 100644 --- a/helpers/basic_auth/DB/passwd.sql +++ b/helpers/basic_auth/DB/passwd.sql @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + CREATE TABLE `passwd` ( `user` varchar(32) NOT NULL default '', `password` varchar(35) NOT NULL default '', diff --git a/helpers/basic_auth/DB/required.m4 b/helpers/basic_auth/DB/required.m4 index 00f761f5cc..847209d01a 100755 --- a/helpers/basic_auth/DB/required.m4 +++ b/helpers/basic_auth/DB/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then BUILD_HELPER="DB" fi diff --git a/helpers/basic_auth/LDAP/Makefile.am b/helpers/basic_auth/LDAP/Makefile.am index 420bc058db..aac5dbee1b 100644 --- a/helpers/basic_auth/LDAP/Makefile.am +++ b/helpers/basic_auth/LDAP/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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_PROGRAMS = basic_ldap_auth diff --git a/helpers/basic_auth/LDAP/basic_ldap_auth.8 b/helpers/basic_auth/LDAP/basic_ldap_auth.8 index eb648c5bb9..45376850a2 100644 --- a/helpers/basic_auth/LDAP/basic_ldap_auth.8 +++ b/helpers/basic_auth/LDAP/basic_ldap_auth.8 @@ -306,6 +306,13 @@ This manual is written by .if !'po4a'hide' .I Henrik Nordstrom . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. +.PP This program and documentation is copyright to the authors named above. .PP Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). diff --git a/helpers/basic_auth/LDAP/basic_ldap_auth.cc b/helpers/basic_auth/LDAP/basic_ldap_auth.cc index 0b3fa13034..cd0fe59f2b 100644 --- a/helpers/basic_auth/LDAP/basic_ldap_auth.cc +++ b/helpers/basic_auth/LDAP/basic_ldap_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * squid_ldap_auth: authentication via ldap for squid proxy server * diff --git a/helpers/basic_auth/LDAP/required.m4 b/helpers/basic_auth/LDAP/required.m4 index c534c12785..cf6cc83086 100755 --- a/helpers/basic_auth/LDAP/required.m4 +++ b/helpers/basic_auth/LDAP/required.m4 @@ -1 +1,8 @@ +## Copyright (C) 1996-2014 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. +## + AC_CHECK_HEADERS([ldap.h winldap.h],[BUILD_HELPER="LDAP"]) diff --git a/helpers/basic_auth/MSNT-multi-domain/Makefile.am b/helpers/basic_auth/MSNT-multi-domain/Makefile.am index 086f61974e..0d82b7423b 100644 --- a/helpers/basic_auth/MSNT-multi-domain/Makefile.am +++ b/helpers/basic_auth/MSNT-multi-domain/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 = basic_msnt_multi_domain_auth diff --git a/helpers/basic_auth/MSNT-multi-domain/basic_msnt_multi_domain_auth.pl.in b/helpers/basic_auth/MSNT-multi-domain/basic_msnt_multi_domain_auth.pl.in index fab444c19f..1dfa086d51 100755 --- a/helpers/basic_auth/MSNT-multi-domain/basic_msnt_multi_domain_auth.pl.in +++ b/helpers/basic_auth/MSNT-multi-domain/basic_msnt_multi_domain_auth.pl.in @@ -1,4 +1,11 @@ #!@PERL@ +## +## Copyright (C) 1996-2014 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. +## #if you define this, debugging output will be printed to STDERR. #$debug=1; diff --git a/helpers/basic_auth/MSNT-multi-domain/required.m4 b/helpers/basic_auth/MSNT-multi-domain/required.m4 index 28359a0e8d..6473b4401f 100755 --- a/helpers/basic_auth/MSNT-multi-domain/required.m4 +++ b/helpers/basic_auth/MSNT-multi-domain/required.m4 @@ -1 +1,8 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="MSNT-multi-domain" diff --git a/helpers/basic_auth/MSNT/Makefile.am b/helpers/basic_auth/MSNT/Makefile.am index 4ce544b376..c01522bdf1 100644 --- a/helpers/basic_auth/MSNT/Makefile.am +++ b/helpers/basic_auth/MSNT/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 MSNTAUTH_CONF = $(sysconfdir)/msntauth.conf diff --git a/helpers/basic_auth/MSNT/allowusers.cc b/helpers/basic_auth/MSNT/allowusers.cc index b7bfab4e26..d5963ec8de 100644 --- a/helpers/basic_auth/MSNT/allowusers.cc +++ b/helpers/basic_auth/MSNT/allowusers.cc @@ -1,4 +1,10 @@ -#include "squid.h" +/* + * Copyright (C) 1996-2014 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. + */ /* * allowusers.c @@ -10,6 +16,7 @@ * The code originated from denyusers.c. */ +#include "squid.h" #include "msntauth.h" #include "usersfile.h" diff --git a/helpers/basic_auth/MSNT/byteorder.h b/helpers/basic_auth/MSNT/byteorder.h deleted file mode 100644 index ae129da541..0000000000 --- a/helpers/basic_auth/MSNT/byteorder.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Unix SMB/Netbios implementation. - * Version 1.9. - * SMB Byte handling - * Copyright (C) Andrew Tridgell 1992-1995 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef _BYTEORDER_H_ -#define _BYTEORDER_H_ - -/* - * This file implements macros for machine independent short and - * int manipulation - */ - -#undef CAREFUL_ALIGNMENT - -/* we know that the 386 can handle misalignment and has the "right" - * byteorder */ -#ifdef __i386__ -#define CAREFUL_ALIGNMENT 0 -#endif - -#ifndef CAREFUL_ALIGNMENT -#define CAREFUL_ALIGNMENT 1 -#endif - -#define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) -#define PVAL(buf,pos) ((unsigned)CVAL(buf,pos)) -#define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val)) - -typedef unsigned short uint16; -typedef unsigned int uint32; - -#if CAREFUL_ALIGNMENT -#define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8) -#define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16) -#define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) -#define SIVALX(buf,pos,val) (SSVALX(buf,pos,val&0xFFFF),SSVALX(buf,pos+2,val>>16)) -#define SVALS(buf,pos) ((int16)SVAL(buf,pos)) -#define IVALS(buf,pos) ((int32)IVAL(buf,pos)) -#define SSVAL(buf,pos,val) SSVALX((buf),(pos),((uint16)(val))) -#define SIVAL(buf,pos,val) SIVALX((buf),(pos),((uint32)(val))) -#define SSVALS(buf,pos,val) SSVALX((buf),(pos),((int16)(val))) -#define SIVALS(buf,pos,val) SIVALX((buf),(pos),((int32)(val))) -#else -/* this handles things for architectures like the 386 that can handle - * alignment errors */ -/* - * WARNING: This section is dependent on the length of int16 and int32 - * being correct - */ -#define SVAL(buf,pos) (*(uint16 *)((char *)(buf) + (pos))) -#define IVAL(buf,pos) (*(uint32 *)((char *)(buf) + (pos))) -#define SVALS(buf,pos) (*(int16 *)((char *)(buf) + (pos))) -#define IVALS(buf,pos) (*(int32 *)((char *)(buf) + (pos))) -#define SSVAL(buf,pos,val) SVAL(buf,pos)=((uint16)(val)) -#define SIVAL(buf,pos,val) IVAL(buf,pos)=((uint32)(val)) -#define SSVALS(buf,pos,val) SVALS(buf,pos)=((int16)(val)) -#define SIVALS(buf,pos,val) IVALS(buf,pos)=((int32)(val)) -#endif - -/* now the reverse routines - these are used in nmb packets (mostly) */ -#define SREV(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) -#define IREV(x) ((SREV(x)<<16) | (SREV((x)>>16))) - -#define RSVAL(buf,pos) SREV(SVAL(buf,pos)) -#define RIVAL(buf,pos) IREV(IVAL(buf,pos)) -#define RSSVAL(buf,pos,val) SSVAL(buf,pos,SREV(val)) -#define RSIVAL(buf,pos,val) SIVAL(buf,pos,IREV(val)) - -#endif /* _BYTEORDER_H_ */ diff --git a/helpers/basic_auth/MSNT/confload.cc b/helpers/basic_auth/MSNT/confload.cc index cfcb1961f2..5bbff43e4f 100644 --- a/helpers/basic_auth/MSNT/confload.cc +++ b/helpers/basic_auth/MSNT/confload.cc @@ -1,3 +1,10 @@ +/* + * Copyright (C) 1996-2014 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. + */ /* * confload.c diff --git a/helpers/basic_auth/MSNT/denyusers.cc b/helpers/basic_auth/MSNT/denyusers.cc index 2142f29528..3d33b368e2 100644 --- a/helpers/basic_auth/MSNT/denyusers.cc +++ b/helpers/basic_auth/MSNT/denyusers.cc @@ -1,4 +1,10 @@ -#include "squid.h" +/* + * Copyright (C) 1996-2014 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. + */ /* * denyusers.c @@ -9,6 +15,8 @@ * have been explicitly denied by the system administrator. * Routines at the bottom also use the allowed user functions. */ + +#include "squid.h" #include "msntauth.h" #include "usersfile.h" diff --git a/helpers/basic_auth/MSNT/msntauth.cc b/helpers/basic_auth/MSNT/msntauth.cc index 95eb7fe55d..9390fd340c 100644 --- a/helpers/basic_auth/MSNT/msntauth.cc +++ b/helpers/basic_auth/MSNT/msntauth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * MSNT - Microsoft Windows NT domain squid authenticator module * Version 2.0 by Stellar-X Pty Ltd, Antonino Iannella diff --git a/helpers/basic_auth/MSNT/msntauth.conf.default b/helpers/basic_auth/MSNT/msntauth.conf.default index 323bc1c039..341bfa9dc7 100644 --- a/helpers/basic_auth/MSNT/msntauth.conf.default +++ b/helpers/basic_auth/MSNT/msntauth.conf.default @@ -1,3 +1,9 @@ +## Copyright (C) 1996-2014 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. +## # Sample MSNT authenticator configuration file # Antonino Iannella, Stellar-X Pty Ltd diff --git a/helpers/basic_auth/MSNT/msntauth.h b/helpers/basic_auth/MSNT/msntauth.h index 7eadb18d59..b18f24428c 100644 --- a/helpers/basic_auth/MSNT/msntauth.h +++ b/helpers/basic_auth/MSNT/msntauth.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + #ifndef _SQUID_HELPERS_BASIC_AUTH_MSNT_MSNTAUTH_H #define _SQUID_HELPERS_BASIC_AUTH_MSNT_MSNTAUTH_H diff --git a/helpers/basic_auth/MSNT/required.m4 b/helpers/basic_auth/MSNT/required.m4 index ab6492871c..d19fb254dd 100755 --- a/helpers/basic_auth/MSNT/required.m4 +++ b/helpers/basic_auth/MSNT/required.m4 @@ -1,5 +1,11 @@ -# -# DONT build this helper on Windows -# +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="MSNT" + +# DONT build this helper on Windows AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""]) diff --git a/helpers/basic_auth/MSNT/usersfile.cc b/helpers/basic_auth/MSNT/usersfile.cc index 1b08f6ce1c..8b3af5b089 100644 --- a/helpers/basic_auth/MSNT/usersfile.cc +++ b/helpers/basic_auth/MSNT/usersfile.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * usersfile.c * (C) 2000 Antonino Iannella, Stellar-X Pty Ltd diff --git a/helpers/basic_auth/MSNT/usersfile.h b/helpers/basic_auth/MSNT/usersfile.h index e681b2add6..300217e619 100644 --- a/helpers/basic_auth/MSNT/usersfile.h +++ b/helpers/basic_auth/MSNT/usersfile.h @@ -1,3 +1,10 @@ +/* + * Copyright (C) 1996-2014 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. + */ typedef struct { char *path; diff --git a/helpers/basic_auth/MSNT/valid.cc b/helpers/basic_auth/MSNT/valid.cc index ce385dfab2..e5b124a9f7 100644 --- a/helpers/basic_auth/MSNT/valid.cc +++ b/helpers/basic_auth/MSNT/valid.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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 "squid.h" #if HAVE_SYS_TYPES_H #include diff --git a/helpers/basic_auth/MSNT/valid.h b/helpers/basic_auth/MSNT/valid.h index 1d14e6bb8d..07539277d9 100644 --- a/helpers/basic_auth/MSNT/valid.h +++ b/helpers/basic_auth/MSNT/valid.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + #ifndef _VALID_H_ #define _VALID_H_ /* SMB User verification function */ diff --git a/helpers/basic_auth/Makefile.am b/helpers/basic_auth/Makefile.am index 2582a80c94..e613dd298b 100644 --- a/helpers/basic_auth/Makefile.am +++ b/helpers/basic_auth/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 = \ DB \ diff --git a/helpers/basic_auth/NCSA/Makefile.am b/helpers/basic_auth/NCSA/Makefile.am index bd2b29fcbf..0b9f75362c 100644 --- a/helpers/basic_auth/NCSA/Makefile.am +++ b/helpers/basic_auth/NCSA/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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_PROGRAMS = basic_ncsa_auth diff --git a/helpers/basic_auth/NCSA/basic_ncsa_auth.8 b/helpers/basic_auth/NCSA/basic_ncsa_auth.8 index 1d7f32696b..407e45b808 100644 --- a/helpers/basic_auth/NCSA/basic_ncsa_auth.8 +++ b/helpers/basic_auth/NCSA/basic_ncsa_auth.8 @@ -58,6 +58,12 @@ Based on original documentation by .if !'po4a'hide' .I Rodrigo Rubira Branco . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. .PP This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/helpers/basic_auth/NCSA/basic_ncsa_auth.cc b/helpers/basic_auth/NCSA/basic_ncsa_auth.cc index 781e21d89a..216b6213a6 100644 --- a/helpers/basic_auth/NCSA/basic_ncsa_auth.cc +++ b/helpers/basic_auth/NCSA/basic_ncsa_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * AUTHOR: Arjan de Vet * diff --git a/helpers/basic_auth/NCSA/crypt_md5.cc b/helpers/basic_auth/NCSA/crypt_md5.cc index 7583f2785d..8cfad8ccfd 100644 --- a/helpers/basic_auth/NCSA/crypt_md5.cc +++ b/helpers/basic_auth/NCSA/crypt_md5.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * Shamelessly stolen from linux-pam, and adopted to work with * OpenSSL md5 implementation and any magic string @@ -14,6 +22,7 @@ * Origin: Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp * */ + #include "squid.h" #include "crypt_md5.h" #include "md5.h" diff --git a/helpers/basic_auth/NCSA/crypt_md5.h b/helpers/basic_auth/NCSA/crypt_md5.h index fa44d3d38e..0e1dfe9d00 100644 --- a/helpers/basic_auth/NCSA/crypt_md5.h +++ b/helpers/basic_auth/NCSA/crypt_md5.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * Creates a MD5 based hash of a password * diff --git a/helpers/basic_auth/NCSA/required.m4 b/helpers/basic_auth/NCSA/required.m4 index ad602278b8..0462a95559 100755 --- a/helpers/basic_auth/NCSA/required.m4 +++ b/helpers/basic_auth/NCSA/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="NCSA" # check for optional crypt(3), may require -lcrypt diff --git a/helpers/basic_auth/NIS/Makefile.am b/helpers/basic_auth/NIS/Makefile.am index 65acb2dc63..3468e89bab 100644 --- a/helpers/basic_auth/NIS/Makefile.am +++ b/helpers/basic_auth/NIS/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 ## we need our local files too (but avoid -I. at all costs) diff --git a/helpers/basic_auth/NIS/basic_nis_auth.cc b/helpers/basic_auth/NIS/basic_nis_auth.cc index d850467962..7527722a13 100644 --- a/helpers/basic_auth/NIS/basic_nis_auth.cc +++ b/helpers/basic_auth/NIS/basic_nis_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * Adapted By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x * From NCSA Authentication module diff --git a/helpers/basic_auth/NIS/nis_support.cc b/helpers/basic_auth/NIS/nis_support.cc index de46c03ed6..0c3c73734b 100644 --- a/helpers/basic_auth/NIS/nis_support.cc +++ b/helpers/basic_auth/NIS/nis_support.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * Written By Rabellino Sergio (rabellino@di.unito.it) For Solaris 2.x */ diff --git a/helpers/basic_auth/NIS/nis_support.h b/helpers/basic_auth/NIS/nis_support.h index bb0ecc3de5..9679887717 100644 --- a/helpers/basic_auth/NIS/nis_support.h +++ b/helpers/basic_auth/NIS/nis_support.h @@ -1 +1,9 @@ +/* + * Copyright (C) 1996-2014 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. + */ + extern char * get_nis_password(char *user, char *nisdomain, char *nismap); diff --git a/helpers/basic_auth/NIS/required.m4 b/helpers/basic_auth/NIS/required.m4 index 85eb06844f..bace359ce2 100755 --- a/helpers/basic_auth/NIS/required.m4 +++ b/helpers/basic_auth/NIS/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="NIS" AC_CHECK_HEADERS([sys/types.h rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h crypt.h],[],[BUILD_HELPER=""],AC_INCLUDES_DEFAULT([ #if HAVE_RPC_RPC_H diff --git a/helpers/basic_auth/PAM/Makefile.am b/helpers/basic_auth/PAM/Makefile.am index e9d903c7d2..32925a3eac 100644 --- a/helpers/basic_auth/PAM/Makefile.am +++ b/helpers/basic_auth/PAM/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 man_MANS = basic_pam_auth.8 diff --git a/helpers/basic_auth/PAM/basic_pam_auth.8 b/helpers/basic_auth/PAM/basic_pam_auth.8 index ff9508a420..53e8d2f8c2 100644 --- a/helpers/basic_auth/PAM/basic_pam_auth.8 +++ b/helpers/basic_auth/PAM/basic_pam_auth.8 @@ -82,12 +82,12 @@ This program and documentation was written by .if !'po4a'hide' .I Henrik Nordstrom . .SH COPYRIGHT -Squid -.B basic_pam_auth -and this manual is Copyright 1999,2002,2003 -.if !'po4a'hide' .I Henrik Nordstrom -. -Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). +.PP + * Copyright (C) 1996-2014 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. . .SH QUESTIONS Questions on the usage of this program can be sent to the diff --git a/helpers/basic_auth/PAM/basic_pam_auth.cc b/helpers/basic_auth/PAM/basic_pam_auth.cc index 2d353e80cd..bd94f00b29 100644 --- a/helpers/basic_auth/PAM/basic_pam_auth.cc +++ b/helpers/basic_auth/PAM/basic_pam_auth.cc @@ -1,20 +1,13 @@ /* - * PAM authenticator module for Squid. - * Copyright (C) 1999,2002,2003 Henrik Nordstrom - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Copyright (C) 1996-2014 The Squid Software Foundation and contributors * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. + * Squid software is distributed under GPLv2+ license and includes + * contributions from numerous individuals and organizations. + * Please see the COPYING and CONTRIBUTORS files for details. + */ + +/* + * PAM authenticator module for Squid. * * Install instructions: * @@ -60,8 +53,6 @@ * * Version 1.1, 1999-05-11 * Initial version - * - * Compile this program with: gcc -o basic_pam_auth basic_pam_auth.cc -lpam -ldl */ #include "squid.h" #include "helpers/defines.h" diff --git a/helpers/basic_auth/PAM/required.m4 b/helpers/basic_auth/PAM/required.m4 index a59f77e1b0..06e380d9a3 100755 --- a/helpers/basic_auth/PAM/required.m4 +++ b/helpers/basic_auth/PAM/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + AC_CHECK_HEADERS([security/pam_appl.h],[ BUILD_HELPER="PAM" CHECK_STRUCT_PAM_CONV diff --git a/helpers/basic_auth/POP3/Makefile.am b/helpers/basic_auth/POP3/Makefile.am index 53be2446cd..db5a1ac95a 100644 --- a/helpers/basic_auth/POP3/Makefile.am +++ b/helpers/basic_auth/POP3/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 = basic_pop3_auth diff --git a/helpers/basic_auth/POP3/basic_pop3_auth.pl.in b/helpers/basic_auth/POP3/basic_pop3_auth.pl.in index 23bf439754..4a1cdefe7e 100755 --- a/helpers/basic_auth/POP3/basic_pop3_auth.pl.in +++ b/helpers/basic_auth/POP3/basic_pop3_auth.pl.in @@ -1,27 +1,18 @@ #!@PERL@ -# +## +## Copyright (C) 1996-2014 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. +## + # POP3 authenticator for Squid -# Copyright (C) 2006 Henrik Nordstrom -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. # # Change log: # 2006-12-10 henrik Initial revision # - use Net::POP3; $|=1; diff --git a/helpers/basic_auth/POP3/required.m4 b/helpers/basic_auth/POP3/required.m4 index 42dee40678..38bccf297a 100755 --- a/helpers/basic_auth/POP3/required.m4 +++ b/helpers/basic_auth/POP3/required.m4 @@ -1 +1,8 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="POP3" diff --git a/helpers/basic_auth/RADIUS/Makefile.am b/helpers/basic_auth/RADIUS/Makefile.am index bb92ad1786..6f98d5f5d0 100644 --- a/helpers/basic_auth/RADIUS/Makefile.am +++ b/helpers/basic_auth/RADIUS/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 ## we need our local files too (but avoid -I. at all costs) diff --git a/helpers/basic_auth/RADIUS/basic_radius_auth.8 b/helpers/basic_auth/RADIUS/basic_radius_auth.8 index 7d5679489c..6e549e46ef 100644 --- a/helpers/basic_auth/RADIUS/basic_radius_auth.8 +++ b/helpers/basic_auth/RADIUS/basic_radius_auth.8 @@ -97,6 +97,13 @@ This manual was written by .if !'po4a'hide' .I Henrik Nordstrom . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. +.PP This program and documentation is copyright to the authors named above. .PP Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). diff --git a/helpers/basic_auth/RADIUS/basic_radius_auth.cc b/helpers/basic_auth/RADIUS/basic_radius_auth.cc index b093662294..b7bd2bc910 100644 --- a/helpers/basic_auth/RADIUS/basic_radius_auth.cc +++ b/helpers/basic_auth/RADIUS/basic_radius_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * RADIUS * Remote Authentication Dial In User Service diff --git a/helpers/basic_auth/RADIUS/radius-util.cc b/helpers/basic_auth/RADIUS/radius-util.cc index 142ab0864c..36e37b726e 100644 --- a/helpers/basic_auth/RADIUS/radius-util.cc +++ b/helpers/basic_auth/RADIUS/radius-util.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + // 2008-05-14: rename to radius-util.* to avoid name clashes with squid util.* /* * diff --git a/helpers/basic_auth/RADIUS/radius-util.h b/helpers/basic_auth/RADIUS/radius-util.h index 5234e87de1..f5ecb73dff 100644 --- a/helpers/basic_auth/RADIUS/radius-util.h +++ b/helpers/basic_auth/RADIUS/radius-util.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + // 2008-05-14: rename to radius-util.* to avoid name clashes with squid util.* // uses the squid utilities diff --git a/helpers/basic_auth/RADIUS/radius.h b/helpers/basic_auth/RADIUS/radius.h index 8f3716ec8f..ff7036ab49 100644 --- a/helpers/basic_auth/RADIUS/radius.h +++ b/helpers/basic_auth/RADIUS/radius.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * * RADIUS diff --git a/helpers/basic_auth/RADIUS/required.m4 b/helpers/basic_auth/RADIUS/required.m4 index 34152e50bc..c5a305a248 100755 --- a/helpers/basic_auth/RADIUS/required.m4 +++ b/helpers/basic_auth/RADIUS/required.m4 @@ -1 +1,8 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="RADIUS" diff --git a/helpers/basic_auth/SASL/Makefile.am b/helpers/basic_auth/SASL/Makefile.am index ffd0865acc..de35e7c2f2 100644 --- a/helpers/basic_auth/SASL/Makefile.am +++ b/helpers/basic_auth/SASL/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 man_MANS = basic_sasl_auth.8 diff --git a/helpers/basic_auth/SASL/basic_sasl_auth.8 b/helpers/basic_auth/SASL/basic_sasl_auth.8 index f551d15cde..ef70630f4c 100644 --- a/helpers/basic_auth/SASL/basic_sasl_auth.8 +++ b/helpers/basic_auth/SASL/basic_sasl_auth.8 @@ -81,6 +81,13 @@ This manual was written by .if !'po4a'hide' .I Amos Jeffries . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. +.PP This program and documentation is copyright to the authors named above. .PP Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). diff --git a/helpers/basic_auth/SASL/basic_sasl_auth.cc b/helpers/basic_auth/SASL/basic_sasl_auth.cc index 95e47d4b3e..2c84a24459 100644 --- a/helpers/basic_auth/SASL/basic_sasl_auth.cc +++ b/helpers/basic_auth/SASL/basic_sasl_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * SASL authenticator module for Squid. * Copyright (C) 2002 Ian Castle diff --git a/helpers/basic_auth/SASL/basic_sasl_auth.pam b/helpers/basic_auth/SASL/basic_sasl_auth.pam index 2066edade5..44ba8fae7f 100644 --- a/helpers/basic_auth/SASL/basic_sasl_auth.pam +++ b/helpers/basic_auth/SASL/basic_sasl_auth.pam @@ -1,4 +1,11 @@ #%PAM-1.0 +## +## Copyright (C) 1996-2014 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. +## # # Example PAM service configuration file if using the sasl pam password # backend (pwcheck_method:pam) diff --git a/helpers/basic_auth/SASL/required.m4 b/helpers/basic_auth/SASL/required.m4 index a675fc6af9..e02d3a63dc 100755 --- a/helpers/basic_auth/SASL/required.m4 +++ b/helpers/basic_auth/SASL/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + SQUID_CHECK_SASL # on success, add to the built modules list diff --git a/helpers/basic_auth/SMB/COPYING-2.0 b/helpers/basic_auth/SMB/COPYING-2.0 deleted file mode 100644 index d684351da8..0000000000 --- a/helpers/basic_auth/SMB/COPYING-2.0 +++ /dev/null @@ -1,341 +0,0 @@ - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - Appendix: How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) 19yy - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. - diff --git a/helpers/basic_auth/SMB/Makefile.am b/helpers/basic_auth/SMB/Makefile.am index d92ec16abf..270e14e46d 100644 --- a/helpers/basic_auth/SMB/Makefile.am +++ b/helpers/basic_auth/SMB/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 if !ENABLE_WIN32SPECIFIC @@ -11,4 +18,4 @@ basic_smb_auth_LDADD = \ $(COMPAT_LIB) \ $(XTRA_LIBS) -EXTRA_DIST = basic_smb_auth.sh COPYING-2.0 required.m4 +EXTRA_DIST = basic_smb_auth.sh required.m4 diff --git a/helpers/basic_auth/SMB/basic_smb_auth.cc b/helpers/basic_auth/SMB/basic_smb_auth.cc index 2c36e9b641..0e86527c42 100644 --- a/helpers/basic_auth/SMB/basic_smb_auth.cc +++ b/helpers/basic_auth/SMB/basic_smb_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * basic_smb_auth - SMB proxy authentication module * Copyright (C) 1998 Richard Huveneers @@ -14,32 +22,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * SQUID Web Proxy Cache http://www.squid-cache.org/ - * ---------------------------------------------------------- - * - * Squid is the result of efforts by numerous individuals from - * the Internet community; see the CONTRIBUTORS file for full - * details. Many organizations have provided support for Squid's - * development; see the SPONSORS file for full details. Squid is - * Copyrighted (C) 2001 by the Regents of the University of - * California; see the COPYRIGHT file for full details. Squid - * incorporates software developed and/or copyrighted by other - * sources; see the CREDITS file for full details. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. */ + #include "squid.h" #include "helpers/defines.h" #include "rfc1738.h" diff --git a/helpers/basic_auth/SMB/basic_smb_auth.sh b/helpers/basic_auth/SMB/basic_smb_auth.sh index 2a1abb3b6e..43e2656b8b 100755 --- a/helpers/basic_auth/SMB/basic_smb_auth.sh +++ b/helpers/basic_auth/SMB/basic_smb_auth.sh @@ -1,5 +1,11 @@ #!/bin/sh # +## Copyright (C) 1996-2014 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. +## # smb_auth - SMB proxy authentication module # Copyright (C) 1998 Richard Huveneers # diff --git a/helpers/basic_auth/SMB/required.m4 b/helpers/basic_auth/SMB/required.m4 index af2c4b5d14..b8c7aa23bb 100755 --- a/helpers/basic_auth/SMB/required.m4 +++ b/helpers/basic_auth/SMB/required.m4 @@ -1,4 +1,10 @@ -# +## Copyright (C) 1996-2014 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. +## + # The shell script helper require smbclient to be in the environment PATH. # We can install anyway, but warn if smbclient not found already # diff --git a/helpers/basic_auth/SSPI/Makefile.am b/helpers/basic_auth/SSPI/Makefile.am index aa7c8e9ee1..a99ebf0dfd 100644 --- a/helpers/basic_auth/SSPI/Makefile.am +++ b/helpers/basic_auth/SSPI/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 ## we need our local files too (but avoid -I. at all costs) diff --git a/helpers/basic_auth/SSPI/basic_sspi_auth.8 b/helpers/basic_auth/SSPI/basic_sspi_auth.8 index 284d2e849f..8e94c9346d 100644 --- a/helpers/basic_auth/SSPI/basic_sspi_auth.8 +++ b/helpers/basic_auth/SSPI/basic_sspi_auth.8 @@ -135,6 +135,13 @@ This manual was written by .if !'po4a'hide' .I Amos Jeffries . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. +.PP This program and documentation is copyright to the authors named above. .PP Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). diff --git a/helpers/basic_auth/SSPI/basic_sspi_auth.cc b/helpers/basic_auth/SSPI/basic_sspi_auth.cc index 38905510b4..5e9a6c4b43 100644 --- a/helpers/basic_auth/SSPI/basic_sspi_auth.cc +++ b/helpers/basic_auth/SSPI/basic_sspi_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* NT_auth - Version 2.0 diff --git a/helpers/basic_auth/SSPI/required.m4 b/helpers/basic_auth/SSPI/required.m4 index f1ed8ba246..cd3de73dfd 100755 --- a/helpers/basic_auth/SSPI/required.m4 +++ b/helpers/basic_auth/SSPI/required.m4 @@ -1,4 +1,9 @@ -# +## Copyright (C) 1996-2014 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. +## + # Only build this helper on Windows -# AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER="SSPI"]) diff --git a/helpers/basic_auth/SSPI/valid.cc b/helpers/basic_auth/SSPI/valid.cc index f6db3f4730..a0650e1bd1 100644 --- a/helpers/basic_auth/SSPI/valid.cc +++ b/helpers/basic_auth/SSPI/valid.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* NT_auth - Version 2.0 diff --git a/helpers/basic_auth/SSPI/valid.h b/helpers/basic_auth/SSPI/valid.h index d47e1988d8..ea78c9fa0c 100644 --- a/helpers/basic_auth/SSPI/valid.h +++ b/helpers/basic_auth/SSPI/valid.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* NT_auth - Version 2.0 diff --git a/helpers/basic_auth/fake/Makefile.am b/helpers/basic_auth/fake/Makefile.am index afee56d739..db4e85e6ff 100644 --- a/helpers/basic_auth/fake/Makefile.am +++ b/helpers/basic_auth/fake/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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_PROGRAMS = basic_fake_auth diff --git a/helpers/basic_auth/fake/fake.cc b/helpers/basic_auth/fake/fake.cc index 8f699335ad..fcf2711eb7 100644 --- a/helpers/basic_auth/fake/fake.cc +++ b/helpers/basic_auth/fake/fake.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * Copyright (c) 2009-2014, Treehouse Networks Ltd. New Zealand * All rights reserved. diff --git a/helpers/basic_auth/fake/required.m4 b/helpers/basic_auth/fake/required.m4 index 5261ae5a22..a761852a06 100755 --- a/helpers/basic_auth/fake/required.m4 +++ b/helpers/basic_auth/fake/required.m4 @@ -1 +1,8 @@ +## Copyright (C) 1996-2014 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. +## + BUILD_HELPER="fake" diff --git a/helpers/basic_auth/getpwnam/Makefile.am b/helpers/basic_auth/getpwnam/Makefile.am index 358be09281..855d5fded2 100644 --- a/helpers/basic_auth/getpwnam/Makefile.am +++ b/helpers/basic_auth/getpwnam/Makefile.am @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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_PROGRAMS = basic_getpwnam_auth diff --git a/helpers/basic_auth/getpwnam/basic_getpwnam_auth.8 b/helpers/basic_auth/getpwnam/basic_getpwnam_auth.8 index 2e84a65781..1974a7cba4 100644 --- a/helpers/basic_auth/getpwnam/basic_getpwnam_auth.8 +++ b/helpers/basic_auth/getpwnam/basic_getpwnam_auth.8 @@ -75,6 +75,13 @@ This manual was written by .if !'po4a'hide' .I Amos Jeffries . .SH COPYRIGHT +.PP + * Copyright (C) 1996-2014 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. +.PP This program and documentation is copyright to the authors named above. .PP Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). diff --git a/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc b/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc index a33b68da18..176afb0845 100644 --- a/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc +++ b/helpers/basic_auth/getpwnam/basic_getpwnam_auth.cc @@ -1,3 +1,11 @@ +/* + * Copyright (C) 1996-2014 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. + */ + /* * basic_getpwnam_auth.c * diff --git a/helpers/basic_auth/getpwnam/required.m4 b/helpers/basic_auth/getpwnam/required.m4 index 61fbf8461a..28cc4d717b 100755 --- a/helpers/basic_auth/getpwnam/required.m4 +++ b/helpers/basic_auth/getpwnam/required.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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. +## + AC_CHECK_HEADERS([pwd.h],[ # check for crypt(3), may require -lcrypt SQUID_STATE_SAVE(getpwnam_helper) diff --git a/helpers/basic_auth/modules.m4 b/helpers/basic_auth/modules.m4 index 9abb40ce35..996c067d9c 100644 --- a/helpers/basic_auth/modules.m4 +++ b/helpers/basic_auth/modules.m4 @@ -1,3 +1,10 @@ +## Copyright (C) 1996-2014 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 diff --git a/helpers/defines.h b/helpers/defines.h index 46a6abf3fc..89f1841f23 100644 --- a/helpers/defines.h +++ b/helpers/defines.h @@ -1,5 +1,10 @@ -#ifndef __SQUID_HELPERS_DEFINES_H -#define __SQUID_HELPERS_DEFINES_H +/* + * Copyright (C) 1996-2014 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. + */ /* * Copyright (c) 2009-2014, Treehouse Networks Ltd. New Zealand @@ -30,6 +35,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef __SQUID_HELPERS_DEFINES_H +#define __SQUID_HELPERS_DEFINES_H + /* * This file contains several macro definitions which are * useful and shared between helpers.