From: Amos Jeffries Date: Mon, 25 Aug 2014 14:08:02 +0000 (-0700) Subject: Boilerplate: update copyright on compat/ library sources X-Git-Tag: SQUID_3_5_0_1~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37be9888410359304f50fbbb6d4b73690002e9ab;p=thirdparty%2Fsquid.git Boilerplate: update copyright on compat/ library sources * add Squid Software Foundation boilerplate * update CONTRIBUTORS with authors not already mentioned. * update CREDITS with missing licenses. --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6b8eba8b55..0bf9ce13f8 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3,6 +3,7 @@ have volunteered their time, effort, code, and ideas to make Squid software. Thank you! 'noloader' + Adam Ciarcinski Adrian Chadd Alan Mizrahi @@ -154,6 +155,7 @@ Thank you! Markus Rietzler Markus Stumpf Martin Hamilton + Martin Hamilton Martin Huter Martin Stolle Masashi Fujita diff --git a/CREDITS b/CREDITS index 97db8ef7d4..0a8ba3ffb1 100644 --- a/CREDITS +++ b/CREDITS @@ -84,109 +84,219 @@ research project called The Harvest Information Discovery and Access System: ============================================================================== -lib/base64.c::base64_encode(): - -Adopted from http://ftp.sunet.se/pub2/gnu/vm/base64-encode.c. -Modified to work with strings instead of files. +compat/os/opensolaris_10_netdb.h: -============================================================================== - -lib/snmplib/*: -include/{asn1.h,parse.h,snmp*}: +/* + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ -The SNMP library code is developed by Carnegie Mellon University. +/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ +/* All Rights Reserved */ -/*************************************************************************** +/* + * BIND 4.9.3: * - * Copyright 1997 by Carnegie Mellon University - * - * All Rights Reserved - * - * Permission to use, copy, modify, and distribute this software and its - * documentation for any purpose and without fee is hereby granted, - * provided that the above copyright notice appear in all copies and that - * both that copyright notice and this permission notice appear in - * supporting documentation, and that the name of CMU not be - * used in advertising or publicity pertaining to distribution of the - * software without specific, written prior permission. - * - * CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING - * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL - * CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR - * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, - * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * Copyright (c) 1980, 1983, 1988, 1993 + * The Regents of the University of California. 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + * - + * Portions Copyright (c) 1993 by Digital Equipment Corporation. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies, and that + * the name of Digital Equipment Corporation not be used in advertising or + * publicity pertaining to distribution of the document or software without + * specific, written prior permission. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT + * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. - * - ***************************************************************************/ + * --Copyright-- + * + * End BIND 4.9.3 + */ ============================================================================== -lib/GNUregex.c: +compat/eui64_aton.h: -/* Extended regular expression matching and search library, - * version 0.12. - * (Implements POSIX draft P10003.2/D11.2, except for - * internationalization features.) +/* $NetBSD: eui64.h,v 1.1 2005/07/11 15:35:25 kiyohara Exp $ */ +/*- + * Copyright 2004 The Aerospace Corporation. All rights reserved. * - * Copyright (C) 1993 Free Software Foundation, Inc. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: * - * 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, or (at your option) - * any later version. + * 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. + * 3. The name of The Aerospace Corporation may not be used to endorse or + * promote products derived from this software. * - * 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. + * THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION "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 AEROSPACE CORPORATION 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. * - * 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. */ + * $FreeBSD: /repoman/r/ncvs/src/sys/sys/eui64.h,v 1.2 2005/01/07 02:29:23 imp Exp $ + */ ============================================================================== -lib/md5.c: +compat/eui64_aton.c: +/* $NetBSD: eui64.c,v 1.1 2005/07/11 15:35:25 kiyohara Exp $ */ /* - * This code implements the MD5 message-digest algorithm. - * The algorithm is due to Ron Rivest. This code was - * written by Colin Plumb in 1993, no copyright is claimed. - * This code is in the public domain; do with it what you wish. + * Copyright 2004 The Aerospace Corporation. All rights reserved. * - * Equivalent code is available from RSA Data Security, Inc. - * This code has been tested against that, and is equivalent, - * except that you don't need to include two pages of legalese - * with every copy. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: * - * To compute the message digest of a chunk of bytes, declare an - * SquidMD5Context structure, pass it to SquidMD5Init, call - * SquidMD5Update as needed on buffers full of bytes, and then call - * SquidMD5Final, which will fill a supplied 16-byte array with the - * digest. + * 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. + * 3. The name of The Aerospace Corporation may not be used to endorse or + * promote products derived from this software. * - * Changed so as no longer to depend on Colin Plumb's `usual.h' header - * definitions; now uses stuff from dpkg's config.h. - * - Ian Jackson . - * Still in the public domain. + * THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION "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 AEROSPACE CORPORATION 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. * - * Changed SquidMD5Update to take a void * for easier use and some - * other minor cleanup. - Henrik Nordstrom . - * Still in the public domain. + * Copyright (c) 1995 + * Bill Paul . All rights reserved. * - * Prefixed all symbols with "Squid" so they don't collide with - * other libraries. Duane Wessels . - * Still in the public domain. + * 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Bill Paul. + * 4. Neither the name of the author nor the names of any co-contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY Bill Paul 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 REGENTS 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. + * + * EUI-64 conversion and lookup routines + * + * + * Converted from ether_addr.c rev + * FreeBSD: src/lib/libc/net/eui64.c,v 1.15 2002/04/08 07:51:10 ru Exp + * by Brooks Davis + * + * Written by Bill Paul + * Center for Telecommunications Research + * Columbia University, New York City */ ============================================================================== -lib/radix.c: +compat/getaddrinfo.h, +compat/getaddrinfo.c: /* - * Copyright (c) 1988, 1989, 1993 - * The Regents of the University of California. All rights reserved. + * This file is part of libESMTP, a library for submission of RFC 2822 + * formatted electronic mail messages using the SMTP protocol described + * in RFC 2821. + * + * Copyright (C) 2001,2002 Brian Stafford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* Structure and prototypes taken from RFC 2553 */ + +============================================================================== + +compat/getnameinfo.c: + +/* KAME: getnameinfo.c,v 1.72 2005/01/13 04:12:03 itojun Exp */ + +/* + * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -196,14 +306,14 @@ lib/radix.c: * 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. - * 3. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * THIS SOFTWARE IS PROVIDED BY THE PROJECT 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 REGENTS OR CONTRIBUTORS BE LIABLE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT 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) @@ -211,53 +321,118 @@ lib/radix.c: * 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. - * - * @(#)radix.c 8.4 (Berkeley) 11/2/94 */ ============================================================================== -lib/tempnam.c: +compat/GnuRegex.h: + + * Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc. + * + * 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, 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. + +============================================================================== + +compat/GnuRegex.c: -/* A reasonably functional tmpnam. */ + * Copyright (C) 1993 Free Software Foundation, Inc. + * + * 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, 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. -/* Originally by Tom Hageman, tom@basil.icce.rug.nl */ +============================================================================== + +compat/inet_ntop.c: /* - * This tmpnam() was changed by Gerben_Wierda@RnA.nl to serve as - * tempnam() for squid-1.1.6. It ignores the directory parameter, every - * temp file is written in /tmp. + * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 1996-1999 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ ============================================================================== -lib/drand48.c: +compat/inet_pton.c: -From Linux libc-5.4.46. +/* + * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 1996,1999 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ ============================================================================== -lib/eui64_aton.h lib/eui64_aton.c: +compat/strtoll.c: /*- - * Copyright 2004 The Aerospace Corporation. All rights reserved. + * Copyright (c) 1990 The Regents of the University of California. + * 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. * - * 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. - * 3. The name of The Aerospace Corporation may not be used to endorse or - * promote products derived from this software. - * - * THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION "AS IS" AND + * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 AEROSPACE CORPORATION BE LIABLE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS 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) @@ -269,18 +444,45 @@ lib/eui64_aton.h lib/eui64_aton.c: ============================================================================== -mcast_encode() in src/access_log.c is derived from Mark Atkinson's -(mark_a@cix.compulink.co.uk) "Tiny Encryption Algorithm". -http://www.io.com/~paulhart/game/algorithms/tea.html +compat/tempnam.h: + + * Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. + * This file is part of the GNU C Library. + * The GNU C Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * The GNU C Library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with the GNU C Library; see the file COPYING.LIB. If + * not, write to the Free Software Foundation, Inc., 675 Mass Ave, + * Cambridge, MA 02139, USA. ============================================================================== -lib/strnstr.cc: +compat/tempnam.c: + +/* Originally by Tom Hageman, tom@basil.icce.rug.nl */ + +/* + * This tmpnam() was changed by Gerben_Wierda@RnA.nl to serve as + * tempnam() for squid-1.1.6. It ignores the directory parameter, every + * temp file is written in /tmp. + */ + +============================================================================== + +compat/strnstr.cc: /*- * Copyright (c) 2001 Mike Barcroft * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. + * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. @@ -309,14 +511,14 @@ lib/strnstr.cc: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)strstr.c 8.1 (Berkeley) 6/4/93 + * @(#)strstr.c 8.1 (Berkeley) 6/4/93 * $FreeBSD: src/lib/libc/string/strnstr.c,v 1.2.2.1 2001/12/09 06:50:03 mike Exp $ * $DragonFly: src/lib/libc/string/strnstr.c,v 1.4 2006/03/20 17:24:20 dillon Exp $ */ ============================================================================== -lib/xstrto.cc: +compat/xstrto.cc: /* * (C) 2000-2006 by the netfilter coreteam : @@ -338,6 +540,126 @@ lib/xstrto.cc: ============================================================================== +lib/base64.c::base64_encode(): + +Adopted from http://ftp.sunet.se/pub2/gnu/vm/base64-encode.c. +Modified to work with strings instead of files. + +============================================================================== + +lib/snmplib/*: +include/{asn1.h,parse.h,snmp*}: + +The SNMP library code is developed by Carnegie Mellon University. + +/*************************************************************************** + * + * Copyright 1997 by Carnegie Mellon University + * + * All Rights Reserved + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose and without fee is hereby granted, + * provided that the above copyright notice appear in all copies and that + * both that copyright notice and this permission notice appear in + * supporting documentation, and that the name of CMU not be + * used in advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * + * CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + * CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR + * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + * + ***************************************************************************/ + +============================================================================== + +lib/md5.c: + +/* + * This code implements the MD5 message-digest algorithm. + * The algorithm is due to Ron Rivest. This code was + * written by Colin Plumb in 1993, no copyright is claimed. + * This code is in the public domain; do with it what you wish. + * + * Equivalent code is available from RSA Data Security, Inc. + * This code has been tested against that, and is equivalent, + * except that you don't need to include two pages of legalese + * with every copy. + * + * To compute the message digest of a chunk of bytes, declare an + * SquidMD5Context structure, pass it to SquidMD5Init, call + * SquidMD5Update as needed on buffers full of bytes, and then call + * SquidMD5Final, which will fill a supplied 16-byte array with the + * digest. + * + * Changed so as no longer to depend on Colin Plumb's `usual.h' header + * definitions; now uses stuff from dpkg's config.h. + * - Ian Jackson . + * Still in the public domain. + * + * Changed SquidMD5Update to take a void * for easier use and some + * other minor cleanup. - Henrik Nordstrom . + * Still in the public domain. + * + * Prefixed all symbols with "Squid" so they don't collide with + * other libraries. Duane Wessels . + * Still in the public domain. + */ + +============================================================================== + +lib/radix.c: + +/* + * Copyright (c) 1988, 1989, 1993 + * The Regents of the University of California. 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. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. + * + * @(#)radix.c 8.4 (Berkeley) 11/2/94 + */ + +============================================================================== + +lib/drand48.c: + +From Linux libc-5.4.46. + +============================================================================== + +mcast_encode() in src/access_log.c is derived from Mark Atkinson's +(mark_a@cix.compulink.co.uk) "Tiny Encryption Algorithm". +http://www.io.com/~paulhart/game/algorithms/tea.html + +============================================================================== + lib/getopt.c: /* diff --git a/compat/GnuRegex.c b/compat/GnuRegex.c index 0dac6063a7..bc0b2d4a97 100644 --- a/compat/GnuRegex.c +++ b/compat/GnuRegex.c @@ -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. + */ + /* Extended regular expression matching and search library, * version 0.12. * (Implements POSIX draft P10003.2/D11.2, except for diff --git a/compat/GnuRegex.h b/compat/GnuRegex.h index 73deee696a..a59a19dea6 100644 --- a/compat/GnuRegex.h +++ b/compat/GnuRegex.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_REGEXP_LIBRARY_H #define SQUID_REGEXP_LIBRARY_H diff --git a/compat/Makefile.am b/compat/Makefile.am index 3bdb363e92..1c70b143df 100644 --- a/compat/Makefile.am +++ b/compat/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. + # # Makefile for the Squid Portability Library # diff --git a/compat/assert.cc b/compat/assert.cc index 1e4c148706..183f5340ea 100644 --- a/compat/assert.cc +++ b/compat/assert.cc @@ -1,32 +1,9 @@ /* - * AUTHOR: Henrik Nordstrom - * - * 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. + * 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" diff --git a/compat/assert.h b/compat/assert.h index 6a91290662..a2979fba2f 100644 --- a/compat/assert.h +++ b/compat/assert.h @@ -1,33 +1,15 @@ /* - * AUTHOR: Duane Wessels - * - * 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. + * 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: Duane Wessels + */ + #ifndef SQUID_ASSERT_H #define SQUID_ASSERT_H diff --git a/compat/cmsg.h b/compat/cmsg.h index 9f68d91abf..befa932d82 100644 --- a/compat/cmsg.h +++ b/compat/cmsg.h @@ -1,9 +1,18 @@ /* - * Compatibility-layer for CMSG_ + * 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_COMPAT_CMSG_H #define SQUID_COMPAT_CMSG_H +/* + * Compatibility-layer for CMSG_ + */ + // cmsg.h is found through sys/socket.h #if HAVE_SYS_SOCKET_H #include diff --git a/compat/compat.cc b/compat/compat.cc index 527205d90d..31aad1f290 100644 --- a/compat/compat.cc +++ b/compat/compat.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" #include "compat.h" diff --git a/compat/compat.h b/compat/compat.h index 7845e2a259..8b689dd93e 100644 --- a/compat/compat.h +++ b/compat/compat.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_COMPAT_H #define _SQUID_COMPAT_H diff --git a/compat/compat_shared.h b/compat/compat_shared.h index 39b16cf976..b64c9e7be4 100644 --- a/compat/compat_shared.h +++ b/compat/compat_shared.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_COMPAT_SHARED_H #define _SQUID_COMPAT_SHARED_H diff --git a/compat/cppunit.h b/compat/cppunit.h index 8062c4f511..22e8456b6e 100644 --- a/compat/cppunit.h +++ b/compat/cppunit.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_COMPAT_CPPUNIT_H #define SQUID_COMPAT_CPPUNIT_H diff --git a/compat/cpu.h b/compat/cpu.h index ab00075cdf..a02a2c38ba 100644 --- a/compat/cpu.h +++ b/compat/cpu.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_COMPAT_CPU_H #define SQUID_COMPAT_CPU_H diff --git a/compat/debug.cc b/compat/debug.cc index e15892c3be..b298a06bfa 100644 --- a/compat/debug.cc +++ b/compat/debug.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" #include "compat/debug.h" diff --git a/compat/debug.h b/compat/debug.h index 312eae1fa8..2e045ee294 100644 --- a/compat/debug.h +++ b/compat/debug.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 COMPAT_DEBUG_H #define COMPAT_DEBUG_H diff --git a/compat/drand48.c b/compat/drand48.c index f4f9d6419f..2cdee3edcd 100644 --- a/compat/drand48.c +++ b/compat/drand48.c @@ -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" /* borrowed from libc/misc/drand48.c in Linux libc-5.4.46 this quick diff --git a/compat/drand48.h b/compat/drand48.h index 4e18900d05..76f1e844d1 100644 --- a/compat/drand48.h +++ b/compat/drand48.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_DRAND48_H #define _SQUID_DRAND48_H diff --git a/compat/eui64_aton.c b/compat/eui64_aton.c index 0a0bef7fc1..5b8f523900 100644 --- a/compat/eui64_aton.c +++ b/compat/eui64_aton.c @@ -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 Change History: * diff --git a/compat/eui64_aton.h b/compat/eui64_aton.h index f73765a1ab..cc78d92651 100644 --- a/compat/eui64_aton.h +++ b/compat/eui64_aton.h @@ -1,3 +1,14 @@ +/* + * 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_COMPAT_EUI64_ATON_H +#define SQUID_COMPAT_EUI64_ATON_H + /* If we have this system file use it. Otherwise use the below definitions. */ #if HAVE_SYS_EUI64_H #include @@ -42,7 +53,7 @@ */ #ifndef _SYS_EUI64_H #define _SYS_EUI64_H -#ifdef __cplusplus +#if defined(__cplusplus) extern "C" { #endif @@ -66,9 +77,10 @@ extern "C" { }; int eui64_aton(const char *a, struct eui64 *e); -#ifdef __cplusplus +#if defined(__cplusplus) } #endif #endif /* !_SYS_EUI64_H */ #endif /* HAVE_SYS_EUI64_H */ +#endif /* SQUID_COMPAT_EUI64_ATON_H */ diff --git a/compat/fdsetsize.h b/compat/fdsetsize.h index 25909de2ba..1c6abbab65 100644 --- a/compat/fdsetsize.h +++ b/compat/fdsetsize.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_FDSETSIZE_H #define SQUID_FDSETSIZE_H diff --git a/compat/getaddrinfo.c b/compat/getaddrinfo.c index 53a04d5f4e..350135f49e 100644 --- a/compat/getaddrinfo.c +++ b/compat/getaddrinfo.c @@ -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 duplicated from the fetchmail public sources * for use by the Squid Project under GNU Public License. diff --git a/compat/getaddrinfo.h b/compat/getaddrinfo.h index f4270e38b9..c2a42deece 100644 --- a/compat/getaddrinfo.h +++ b/compat/getaddrinfo.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 _getaddrinfo_h #define _getaddrinfo_h diff --git a/compat/getnameinfo.c b/compat/getnameinfo.c index cfa5433f63..a8b7851e4b 100644 --- a/compat/getnameinfo.c +++ b/compat/getnameinfo.c @@ -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 duplicated from the fetchmail public sources * for use by the Squid Project under GNU Public License. diff --git a/compat/getnameinfo.h b/compat/getnameinfo.h index fdae035619..e15efc60e0 100644 --- a/compat/getnameinfo.h +++ b/compat/getnameinfo.h @@ -1,12 +1,18 @@ -#ifndef _getnameinfo_h -#define _getnameinfo_h /* - * Reconstructed from KAME getnameinfo.c (in lib/) + * 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 _getnameinfo_h +#define _getnameinfo_h + #if !HAVE_GETNAMEINFO -/* RFC 2553 / Posix resolver */ +// RFC 2553 / Posix resolver +// Reconstructed from KAME getnameinfo.c SQUIDCEXTERN int xgetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c index 3d798b0ea9..e14879dbec 100644 --- a/compat/inet_ntop.c +++ b/compat/inet_ntop.c @@ -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 duplicated from the bind9 public sources * for use by the Squid Project under ISC written permission diff --git a/compat/inet_ntop.h b/compat/inet_ntop.h index 9811f9ca22..11aa427d83 100644 --- a/compat/inet_ntop.h +++ b/compat/inet_ntop.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 _INC_INET_NTOP_H #define _INC_INET_NTOP_H diff --git a/compat/inet_pton.c b/compat/inet_pton.c index 0d69ba24a4..342290c694 100644 --- a/compat/inet_pton.c +++ b/compat/inet_pton.c @@ -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 duplicated from the bind9 public sources * for use by the Squid Project under ISC written permission diff --git a/compat/inet_pton.h b/compat/inet_pton.h index 2633bf5db0..a6e99dd0a6 100644 --- a/compat/inet_pton.h +++ b/compat/inet_pton.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 _INC_INET_PTON_H #define _INC_INET_PTON_H diff --git a/compat/initgroups.c b/compat/initgroups.c index 5548dff4ad..3bb6974c5e 100644 --- a/compat/initgroups.c +++ b/compat/initgroups.c @@ -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" #include "compat/initgroups.h" diff --git a/compat/initgroups.h b/compat/initgroups.h index 49aa079f24..05d10831ef 100644 --- a/compat/initgroups.h +++ b/compat/initgroups.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_INITGROUPS_H #define SQUID_INITGROUPS_H diff --git a/compat/mswindows.cc b/compat/mswindows.cc index d9359b595d..cc62a386b5 100644 --- a/compat/mswindows.cc +++ b/compat/mswindows.cc @@ -1,36 +1,15 @@ /* - * Windows support - * AUTHOR: Guido Serassio - * inspired by previous work by Romeo Anghelache & Eric Stern. - * - * 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. + * 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. */ +/* Windows support + * AUTHOR: Guido Serassio + * Inspired by previous work by Romeo Anghelache & Eric Stern. */ + #include "squid.h" // The following code section is part of an EXPERIMENTAL native Windows NT/2000 Squid port. diff --git a/compat/os/aix.h b/compat/os/aix.h index 6a62c4ce6d..05c64600b5 100644 --- a/compat/os/aix.h +++ b/compat/os/aix.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_OS_AIX_H #define SQUID_OS_AIX_H diff --git a/compat/os/android.h b/compat/os/android.h index 8dab2fe212..f0562fa3ab 100644 --- a/compat/os/android.h +++ b/compat/os/android.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. + */ #ifndef SQUID_OS_ANDROID_H #define SQUID_OS_ANDROID_H diff --git a/compat/os/dragonfly.h b/compat/os/dragonfly.h index 8390a1360a..03c329f385 100644 --- a/compat/os/dragonfly.h +++ b/compat/os/dragonfly.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_OS_DRAGONFLY_H #define SQUID_OS_DRAGONFLY_H diff --git a/compat/os/freebsd.h b/compat/os/freebsd.h index 3990d5af6b..22a167f7e7 100644 --- a/compat/os/freebsd.h +++ b/compat/os/freebsd.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_OS_FREEBSD_H #define SQUID_OS_FREEBSD_H diff --git a/compat/os/hpux.h b/compat/os/hpux.h index 7825f40793..6a64febf66 100644 --- a/compat/os/hpux.h +++ b/compat/os/hpux.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_OS_HPUX_H #define SQUID_OS_HPUX_H diff --git a/compat/os/linux.h b/compat/os/linux.h index da5111d7d8..d1303eec88 100644 --- a/compat/os/linux.h +++ b/compat/os/linux.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_OS_LINUX_H #define SQUID_OS_LINUX_H diff --git a/compat/os/macosx.h b/compat/os/macosx.h index a98e441ba2..a972e1a7da 100644 --- a/compat/os/macosx.h +++ b/compat/os/macosx.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_OS_MACOSX_H #define SQUID_OS_MACOSX_H diff --git a/compat/os/mswindows.h b/compat/os/mswindows.h index 1d6f26fa8e..99e3aa1749 100644 --- a/compat/os/mswindows.h +++ b/compat/os/mswindows.h @@ -1,39 +1,27 @@ +/* + * 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: Andrey Shorin * AUTHOR: Guido Serassio - * - * 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. - * */ + #ifndef SQUID_OS_MSWINDOWS_H #define SQUID_OS_MSWINDOWS_H #if _SQUID_WINDOWS_ +/**************************************************************************** + *--------------------------------------------------------------------------* + * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...* + *--------------------------------------------------------------------------* + ****************************************************************************/ + /* we target Windows XP and later - some API are missing otherwise */ #if _SQUID_MINGW_ #if WINVER < 0x0501 diff --git a/compat/os/netbsd.h b/compat/os/netbsd.h index 813d20f471..2f144b7fb9 100644 --- a/compat/os/netbsd.h +++ b/compat/os/netbsd.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_OS_NETBSD_H #define SQUID_OS_NETBSD_H diff --git a/compat/os/next.h b/compat/os/next.h index 81dd83313a..08d342e3e0 100644 --- a/compat/os/next.h +++ b/compat/os/next.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_OS_NEXT_H #define SQUID_OS_NEXT_H diff --git a/compat/os/openbsd.h b/compat/os/openbsd.h index 7df8d82747..d8f6c23f95 100644 --- a/compat/os/openbsd.h +++ b/compat/os/openbsd.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_OS_OPENBSD_H #define SQUID_OS_OPENBSD_H diff --git a/compat/os/opensolaris_10_netdb.h b/compat/os/opensolaris_10_netdb.h index 77ac502615..4011d04fc8 100644 --- a/compat/os/opensolaris_10_netdb.h +++ b/compat/os/opensolaris_10_netdb.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. + */ + /* * Copied from OpenSolaris 10 public sources * http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/head/netdb.h diff --git a/compat/os/os2.h b/compat/os/os2.h index 400cbd58c0..83f9b35997 100644 --- a/compat/os/os2.h +++ b/compat/os/os2.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_OS_OS2_H #define SQUID_OS_OS2_H diff --git a/compat/os/qnx.h b/compat/os/qnx.h index f83a3e37b8..ee77fb24b8 100644 --- a/compat/os/qnx.h +++ b/compat/os/qnx.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_OS_QNX_H #define SQUID_OS_QNX_H diff --git a/compat/os/sgi.h b/compat/os/sgi.h index 3e7c185f11..cc6ab1d0ab 100644 --- a/compat/os/sgi.h +++ b/compat/os/sgi.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_OS_SGI_H #define SQUID_OS_SGI_H diff --git a/compat/os/solaris.h b/compat/os/solaris.h index 82537b998f..25ed114153 100644 --- a/compat/os/solaris.h +++ b/compat/os/solaris.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_OS_SOLARIS_H #define SQUID_OS_SOLARIS_H diff --git a/compat/os/sunos.h b/compat/os/sunos.h index b124c81905..b5bd2a035b 100644 --- a/compat/os/sunos.h +++ b/compat/os/sunos.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_OS_SUNOS_H #define SQUID_OS_SUNOS_H diff --git a/compat/osdetect.h b/compat/osdetect.h index d3fbce0cf7..ff19d353a0 100644 --- a/compat/osdetect.h +++ b/compat/osdetect.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_COMPAT_OSDETECT_H #define SQUID_COMPAT_OSDETECT_H diff --git a/compat/psignal.c b/compat/psignal.c index 9146407e98..bcb6321ad1 100644 --- a/compat/psignal.c +++ b/compat/psignal.c @@ -1,7 +1,11 @@ /* - * Author: Jens-S. V?ckler - * Ripped from Purge tool implementation. + * 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" #include "psignal.h" diff --git a/compat/psignal.h b/compat/psignal.h index 13538657fc..4b55d3dd54 100644 --- a/compat/psignal.h +++ b/compat/psignal.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_PSIGNAL_H #define __SQUID_PSIGNAL_H diff --git a/compat/shm.cc b/compat/shm.cc index a2f4e1b621..3029e06bb1 100644 --- a/compat/shm.cc +++ b/compat/shm.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" #include "compat/shm.h" diff --git a/compat/shm.h b/compat/shm.h index 9a1483d989..a3b249acd1 100644 --- a/compat/shm.h +++ b/compat/shm.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_COMPAT_SHM_H #define SQUID_COMPAT_SHM_H diff --git a/compat/stdio.h b/compat/stdio.h index c111cc762c..e0d2d48258 100644 --- a/compat/stdio.h +++ b/compat/stdio.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_COMPAT_STDIO_H #define _SQUID_COMPAT_STDIO_H diff --git a/compat/stdvarargs.h b/compat/stdvarargs.h index c890c74d3f..3d8b718101 100644 --- a/compat/stdvarargs.h +++ b/compat/stdvarargs.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_STDVARARGS_H #define _SQUID_STDVARARGS_H diff --git a/compat/strerror.c b/compat/strerror.c index 92de1cb294..ef0d39186f 100644 --- a/compat/strerror.c +++ b/compat/strerror.c @@ -1,33 +1,9 @@ /* - * DEBUG: - * AUTHOR: Duane Wessels - * - * 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. + * 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" diff --git a/compat/strnrchr.c b/compat/strnrchr.c index b26b4f2097..6a46af4a95 100644 --- a/compat/strnrchr.c +++ b/compat/strnrchr.c @@ -1,31 +1,9 @@ /* - * strnrchr.c + * Copyright (C) 1996-2014 The Squid Software Foundation and contributors * - * 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. + * 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" diff --git a/compat/strnrchr.h b/compat/strnrchr.h index 6b7edb9951..466d741178 100644 --- a/compat/strnrchr.h +++ b/compat/strnrchr.h @@ -1,31 +1,9 @@ /* - * strnrchr.h + * Copyright (C) 1996-2014 The Squid Software Foundation and contributors * - * 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. + * 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 COMPAT_STRNRCHR_H_ diff --git a/compat/strnstr.cc b/compat/strnstr.cc index 779f5de08d..700f5a3151 100644 --- a/compat/strnstr.cc +++ b/compat/strnstr.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. + */ + #ifndef SQUID_COMPAT_STRNSTR_CC_ #define SQUID_COMPAT_STRNSTR_CC_ diff --git a/compat/strtoll.c b/compat/strtoll.c index 15a6e36a7c..07493a9894 100644 --- a/compat/strtoll.c +++ b/compat/strtoll.c @@ -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) 1990 The Regents of the University of California. * All rights reserved. diff --git a/compat/strtoll.h b/compat/strtoll.h index 4f09ca46e1..fce15a8d23 100644 --- a/compat/strtoll.h +++ b/compat/strtoll.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_COMPAT_STRTOLL_H #define _SQUID_COMPAT_STRTOLL_H diff --git a/compat/tempnam.c b/compat/tempnam.c index c9f1e70f84..8077781b1f 100644 --- a/compat/tempnam.c +++ b/compat/tempnam.c @@ -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. + */ + /* A reasonably functional tmpnam. */ /* Originally by Tom Hageman, tom@basil.icce.rug.nl */ diff --git a/compat/tempnam.h b/compat/tempnam.h index d51bdf7a7b..dfcdf7fdd8 100644 --- a/compat/tempnam.h +++ b/compat/tempnam.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. + */ + /* * Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. * This file is part of the GNU C Library. diff --git a/compat/testPreCompiler.cc b/compat/testPreCompiler.cc index 6d0c9f29dd..dc9f9a77d0 100644 --- a/compat/testPreCompiler.cc +++ b/compat/testPreCompiler.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" #include "testPreCompiler.h" diff --git a/compat/testPreCompiler.h b/compat/testPreCompiler.h index 5fd391acaf..7898e25796 100644 --- a/compat/testPreCompiler.h +++ b/compat/testPreCompiler.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_COMPAT_TESTS_TESTPRECOMPILER_H #define SQUID_COMPAT_TESTS_TESTPRECOMPILER_H diff --git a/compat/types.h b/compat/types.h index 20e265a1d5..125860122c 100644 --- a/compat/types.h +++ b/compat/types.h @@ -1,48 +1,15 @@ /* - * * * * * * * * Legal stuff * * * * * * * - * - * (C) 2000 Francesco Chemolli - * - * 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 - * 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. - * - * * * * * * * * Declaration of intents * * * * * * * + * 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_TYPES_H +#define SQUID_TYPES_H + +/* * Here are defined several known-width types, obtained via autoconf * from system locations or various attempts. This is just a convenience * header to include which takes care of proper preprocessor stuff @@ -51,9 +18,6 @@ * not include directly. */ -#ifndef SQUID_TYPES_H -#define SQUID_TYPES_H - /* This should be in synch with what we have in acinclude.m4 */ #if HAVE_SYS_TYPES_H #include diff --git a/compat/valgrind.h b/compat/valgrind.h index f6346155e7..b6f6ad6583 100644 --- a/compat/valgrind.h +++ b/compat/valgrind.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_VALGRIND_H #define SQUID_VALGRIND_H diff --git a/compat/xalloc.cc b/compat/xalloc.cc index bfde416116..3c3bc559dd 100644 --- a/compat/xalloc.cc +++ b/compat/xalloc.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" #include "compat/xalloc.h" #include "profiler/Profiler.h" diff --git a/compat/xalloc.h b/compat/xalloc.h index 1daff1504e..2e7f3f924c 100644 --- a/compat/xalloc.h +++ b/compat/xalloc.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_COMPAT_XALLOC_H #define _SQUID_COMPAT_XALLOC_H diff --git a/compat/xis.h b/compat/xis.h index 0e5eac10db..0f4b08d95c 100644 --- a/compat/xis.h +++ b/compat/xis.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_COMPAT_XIS_H #define _SQUID_COMPAT_XIS_H diff --git a/compat/xstrerror.cc b/compat/xstrerror.cc index f7752658ce..520fdd4a45 100644 --- a/compat/xstrerror.cc +++ b/compat/xstrerror.cc @@ -1,3 +1,15 @@ +/* + * 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: Duane Wessels + */ + #include "squid.h" #include "compat/xstrerror.h" diff --git a/compat/xstrerror.h b/compat/xstrerror.h index 095a1202f6..e488034947 100644 --- a/compat/xstrerror.h +++ b/compat/xstrerror.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_COMPAT_XSTRERROR_H #define _SQUID_COMPAT_XSTRERROR_H diff --git a/compat/xstring.cc b/compat/xstring.cc index 6226958021..7958456db6 100644 --- a/compat/xstring.cc +++ b/compat/xstring.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" #include "compat/xalloc.h" #include "compat/xstring.h" diff --git a/compat/xstring.h b/compat/xstring.h index 4b6c4319d0..a7625bd991 100644 --- a/compat/xstring.h +++ b/compat/xstring.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_COMPAT_XSTRING_H #define SQUID_COMPAT_XSTRING_H diff --git a/compat/xstrto.cc b/compat/xstrto.cc index d6d9c07d41..c4b59c0a7f 100644 --- a/compat/xstrto.cc +++ b/compat/xstrto.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. + */ + #ifndef SQUID_XSTRTO_C_ #define SQUID_XSTRTO_C_ diff --git a/compat/xstrto.h b/compat/xstrto.h index 3e483b9477..597546f0b2 100644 --- a/compat/xstrto.h +++ b/compat/xstrto.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_XSTRTO_H #define _SQUID_XSTRTO_H