Alan DeKok wrote: > > As FreeRADIUS is developed under the GNU General Public License, all > > the contributions fall under the GPL too. Therefore I was thinking it > > would be better to make it explicit in all files in the source tree. > > Or is it ok to leave it like that ? I don't really know. > > Submit patches, if it's important to you.
It was really a boring job but I spent some time for that. The following files already had a GPL header but it was incomplete or contained a typo: src/modules/rlm_acct_unique/rlm_acct_unique.c src/modules/rlm_always/rlm_always.c src/modules/rlm_attr_filter/rlm_attr_filter.c src/modules/rlm_dbm/rlm_dbm.c src/modules/rlm_dbm/rlm_dbm_cat.c src/modules/rlm_dbm/rlm_dbm_parser.c src/modules/rlm_detail/rlm_detail.c src/modules/rlm_unix/cache.c src/modules/rlm_unix/compat.c The following file had no licence, so I inserted a GPL header: src/lib/crypt.c src/lib/dict.c src/lib/hmac.c src/lib/log.c src/lib/misc.c src/lib/missing.c src/lib/print.c src/lib/radius.c src/lib/snprintf.c src/lib/token.c src/lib/valuepair.c src/modules/rlm_ldap/rlm_ldap.c src/modules/rlm_mschap/smbencrypt.c src/modules/rlm_passwd/rlm_passwd.c src/modules/rlm_smb/valid.c src/modules/rlm_sql/drivers/rlm_sql_iodbc/sql_iodbc.c src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c src/modules/rlm_sql/drivers/rlm_sql_sybase/sql_sybase.c src/modules/rlm_sql/drivers/rlm_sql_unixodbc/sql_unixodbc.c The following files already have a licence, but it's not GPL. In doubt, I didn't touch them. It should be wise to ask someone who knows well about free software licence stuff if it's all right to have these in Freeradius: src/lib/filters.c src/lib/isaac.c src/lib/md4.c src/lib/md5.c src/lib/sha1.csrc You'll find above a patch against current CVS... $ cvs diff -u Index: src/lib/crypt.c =================================================================== RCS file: /source/radiusd/src/lib/crypt.c,v retrieving revision 1.4 diff -u -r1.4 crypt.c --- src/lib/crypt.c 3 Sep 2003 15:19:28 -0000 1.4 +++ src/lib/crypt.c 8 Sep 2003 15:06:49 -0000 @@ -1,5 +1,21 @@ /* - * a thread-safe crypt wrapper + * crypt.c A thread-safe crypt wrapper + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ #include "libradius.h" Index: src/lib/dict.c =================================================================== RCS file: /source/radiusd/src/lib/dict.c,v retrieving revision 1.41 diff -u -r1.41 dict.c --- src/lib/dict.c 3 Sep 2003 15:19:28 -0000 1.41 +++ src/lib/dict.c 8 Sep 2003 15:06:49 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: dict.c,v 1.41 2003/09/03 15:19:28 cparker Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: dict.c,v 1.41 2003/09/03 15:19:28 cparker Exp $"; Index: src/lib/hmac.c =================================================================== RCS file: /source/radiusd/src/lib/hmac.c,v retrieving revision 1.4 diff -u -r1.4 hmac.c --- src/lib/hmac.c 6 Sep 2001 20:10:59 -0000 1.4 +++ src/lib/hmac.c 8 Sep 2003 15:06:49 -0000 @@ -1,8 +1,25 @@ /* - For the sake of illustration we provide the following sample code for - the implementation of HMAC-MD5 as well as some corresponding test - vectors (the code is based on MD5 code as described in [MD5]). -*/ + * hmac.c For the sake of illustration we provide the following + * sample code for the implementation of HMAC-MD5 as well + * as some corresponding test vectors (the code is based + * on MD5 code as described in [MD5]). + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + */ /* ** Function: hmac_md5 Index: src/lib/log.c =================================================================== RCS file: /source/radiusd/src/lib/log.c,v retrieving revision 1.6 diff -u -r1.6 log.c --- src/lib/log.c 31 Oct 2000 23:19:54 -0000 1.6 +++ src/lib/log.c 8 Sep 2003 15:06:49 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: log.c,v 1.6 2000/10/31 23:19:54 aland Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: log.c,v 1.6 2000/10/31 23:19:54 aland Exp $"; Index: src/lib/misc.c =================================================================== RCS file: /source/radiusd/src/lib/misc.c,v retrieving revision 1.35 diff -u -r1.35 misc.c --- src/lib/misc.c 26 Jun 2003 15:11:09 -0000 1.35 +++ src/lib/misc.c 8 Sep 2003 15:06:49 -0000 @@ -2,6 +2,22 @@ * misc.c Various miscellaneous functions. * * Version: $Id: misc.c,v 1.35 2003/06/26 15:11:09 aland Exp $ + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = Index: src/lib/missing.c =================================================================== RCS file: /source/radiusd/src/lib/missing.c,v retrieving revision 1.10 diff -u -r1.10 missing.c --- src/lib/missing.c 7 Jul 2003 15:47:54 -0000 1.10 +++ src/lib/missing.c 8 Sep 2003 15:06:49 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: missing.c,v 1.10 2003/07/07 15:47:54 aland Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: missing.c,v 1.10 2003/07/07 15:47:54 aland Exp $"; Index: src/lib/print.c =================================================================== RCS file: /source/radiusd/src/lib/print.c,v retrieving revision 1.20 diff -u -r1.20 print.c --- src/lib/print.c 15 Oct 2002 15:04:07 -0000 1.20 +++ src/lib/print.c 8 Sep 2003 15:06:49 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: print.c,v 1.20 2002/10/15 15:04:07 aland Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: print.c,v 1.20 2002/10/15 15:04:07 aland Exp $"; Index: src/lib/radius.c =================================================================== RCS file: /source/radiusd/src/lib/radius.c,v retrieving revision 1.104 diff -u -r1.104 radius.c --- src/lib/radius.c 3 Sep 2003 15:19:28 -0000 1.104 +++ src/lib/radius.c 8 Sep 2003 15:06:49 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: radius.c,v 1.104 2003/09/03 15:19:28 cparker Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: radius.c,v 1.104 2003/09/03 15:19:28 cparker Exp $"; Index: src/lib/snprintf.c =================================================================== RCS file: /source/radiusd/src/lib/snprintf.c,v retrieving revision 1.3 diff -u -r1.3 snprintf.c --- src/lib/snprintf.c 21 Jun 2002 19:57:25 -0000 1.3 +++ src/lib/snprintf.c 8 Sep 2003 15:06:49 -0000 @@ -1,4 +1,21 @@ -/************************************************************** +/* + * file.c Replacement for function snprintf(3) that can be missing + * on some systems. + * + * 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-1307 USA + * * Original: * Patrick Powell Tue Apr 11 09:48:21 PDT 1995 * A bombproof version of doprnt (dopr) included. @@ -37,8 +54,7 @@ * The original code assumed that both snprintf() and vsnprintf() were * missing. Some systems only have snprintf() but not vsnprintf(), so * the code is now broken down under HAVE_SNPRINTF and HAVE_VSNPRINTF. - * - **************************************************************/ + */ #include "autoconf.h" Index: src/lib/token.c =================================================================== RCS file: /source/radiusd/src/lib/token.c,v retrieving revision 1.16 diff -u -r1.16 token.c --- src/lib/token.c 21 Nov 2002 17:37:16 -0000 1.16 +++ src/lib/token.c 8 Sep 2003 15:06:50 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: token.c,v 1.16 2002/11/21 17:37:16 aland Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ #include <stdio.h> Index: src/lib/valuepair.c =================================================================== RCS file: /source/radiusd/src/lib/valuepair.c,v retrieving revision 1.64 diff -u -r1.64 valuepair.c --- src/lib/valuepair.c 3 Sep 2003 15:19:28 -0000 1.64 +++ src/lib/valuepair.c 8 Sep 2003 15:06:50 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: valuepair.c,v 1.64 2003/09/03 15:19:28 cparker Exp $ * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: valuepair.c,v 1.64 2003/09/03 15:19:28 cparker Exp $"; Index: src/modules/rlm_acct_unique/rlm_acct_unique.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_acct_unique/rlm_acct_unique.c,v retrieving revision 1.27 diff -u -r1.27 rlm_acct_unique.c --- src/modules/rlm_acct_unique/rlm_acct_unique.c 3 Dec 2002 16:27:37 -0000 1.27 +++ src/modules/rlm_acct_unique/rlm_acct_unique.c 8 Sep 2003 15:06:50 -0000 @@ -1,7 +1,7 @@ /* * rlm_acct_unique.c * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * Index: src/modules/rlm_always/rlm_always.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_always/rlm_always.c,v retrieving revision 1.10 diff -u -r1.10 rlm_always.c --- src/modules/rlm_always/rlm_always.c 14 Jul 2003 17:27:34 -0000 1.10 +++ src/modules/rlm_always/rlm_always.c 8 Sep 2003 15:06:50 -0000 @@ -1,7 +1,7 @@ /* * rlm_always.c * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * Index: src/modules/rlm_attr_filter/rlm_attr_filter.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_attr_filter/rlm_attr_filter.c,v retrieving revision 1.13 diff -u -r1.13 rlm_attr_filter.c --- src/modules/rlm_attr_filter/rlm_attr_filter.c 7 Jul 2003 19:04:05 -0000 1.13 +++ src/modules/rlm_attr_filter/rlm_attr_filter.c 8 Sep 2003 15:06:50 -0000 @@ -5,7 +5,7 @@ * * Version: $Id: rlm_attr_filter.c,v 1.13 2003/07/07 19:04:05 aland Exp $ * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * Index: src/modules/rlm_dbm/rlm_dbm.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_dbm/rlm_dbm.c,v retrieving revision 1.6 diff -u -r1.6 rlm_dbm.c --- src/modules/rlm_dbm/rlm_dbm.c 7 Jul 2003 19:05:14 -0000 1.6 +++ src/modules/rlm_dbm/rlm_dbm.c 8 Sep 2003 15:06:50 -0000 @@ -3,18 +3,22 @@ * * Version: $Id: rlm_dbm.c,v 1.6 2003/07/07 19:05:14 aland Exp $ * - * This program is is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 if the - * License as published by the Free Software Foundation. + * 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. + * 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. * - * Copyright 2001 Koulik Andrei, Sandy Service + * 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-1307 USA + * + * Copyright 2001 Koulik Andrei, Sandy Service */ - #include <string.h> #include <stdlib.h> Index: src/modules/rlm_dbm/rlm_dbm_cat.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_dbm/rlm_dbm_cat.c,v retrieving revision 1.6 diff -u -r1.6 rlm_dbm_cat.c --- src/modules/rlm_dbm/rlm_dbm_cat.c 14 May 2003 08:48:12 -0000 1.6 +++ src/modules/rlm_dbm/rlm_dbm_cat.c 8 Sep 2003 15:06:50 -0000 @@ -3,17 +3,21 @@ * * Version: $Id: rlm_dbm_cat.c,v 1.6 2003/05/14 08:48:12 wichert Exp $ * - * This program is is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 if the - * License as published by the Free Software Foundation. + * 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. + * 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-1307 USA * - * Copyright 2001 Koulik Andrei, Sandy Service + * Copyright 2001 Koulik Andrei, Sandy Service */ #include "autoconf.h" Index: src/modules/rlm_dbm/rlm_dbm_parser.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_dbm/rlm_dbm_parser.c,v retrieving revision 1.7 diff -u -r1.7 rlm_dbm_parser.c --- src/modules/rlm_dbm/rlm_dbm_parser.c 26 Jun 2003 15:08:29 -0000 1.7 +++ src/modules/rlm_dbm/rlm_dbm_parser.c 8 Sep 2003 15:06:50 -0000 @@ -3,16 +3,21 @@ * * Version: $Id: rlm_dbm_parser.c,v 1.7 2003/06/26 15:08:29 aland Exp $ * - * This program is is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 if the - * License as published by the Free Software Foundation. + * 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. + * 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. * - * Copyright 2001 Koulik Andrei, Sandy Service + * 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-1307 USA + * + * Copyright 2001 Koulik Andrei, Sandy Service */ Index: src/modules/rlm_detail/rlm_detail.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_detail/rlm_detail.c,v retrieving revision 1.31 diff -u -r1.31 rlm_detail.c --- src/modules/rlm_detail/rlm_detail.c 11 Aug 2003 17:06:51 -0000 1.31 +++ src/modules/rlm_detail/rlm_detail.c 8 Sep 2003 15:06:50 -0000 @@ -3,7 +3,7 @@ * * Version: $Id: rlm_detail.c,v 1.31 2003/08/11 17:06:51 aland Exp $ * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * Index: src/modules/rlm_ldap/rlm_ldap.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_ldap/rlm_ldap.c,v retrieving revision 1.109 diff -u -r1.109 rlm_ldap.c --- src/modules/rlm_ldap/rlm_ldap.c 29 Aug 2003 12:11:51 -0000 1.109 +++ src/modules/rlm_ldap/rlm_ldap.c 8 Sep 2003 15:06:50 -0000 @@ -1,7 +1,20 @@ /* - * rlm_ldap.c LDAP authorization and authentication module. - * - * + * rlm_ldap.c LDAP authorization and authentication module. + * + * 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-1307 USA + * * This module is based on LDAP patch to Cistron radiusd by James Golovich * <[EMAIL PROTECTED]>, which in turn was based mostly on a Mysql+Cistron patch * from <[EMAIL PROTECTED]> Index: src/modules/rlm_mschap/smbencrypt.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_mschap/smbencrypt.c,v retrieving revision 1.4 diff -u -r1.4 smbencrypt.c --- src/modules/rlm_mschap/smbencrypt.c 4 Mar 2003 17:38:17 -0000 1.4 +++ src/modules/rlm_mschap/smbencrypt.c 8 Sep 2003 15:06:50 -0000 @@ -1,9 +1,22 @@ /* - smbencrypt - produces LM-Passowrd and NT-Password from - cleartext password - - (c) 2002 3APA3A for FreeRADIUS project - + * smbencrypt.c Produces LM-Password and NT-Password from + * cleartext password + * + * 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-1307 USA + * + * Copyright 2002 3APA3A for FreeRADIUS project */ #include "autoconf.h" Index: src/modules/rlm_passwd/rlm_passwd.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_passwd/rlm_passwd.c,v retrieving revision 1.9 diff -u -r1.9 rlm_passwd.c --- src/modules/rlm_passwd/rlm_passwd.c 27 Jun 2003 10:48:41 -0000 1.9 +++ src/modules/rlm_passwd/rlm_passwd.c 8 Sep 2003 15:06:50 -0000 @@ -1,3 +1,23 @@ +/* + * rlm_passwd.c + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + */ + #include <stdio.h> #include <string.h> #include <stdlib.h> Index: src/modules/rlm_smb/valid.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_smb/valid.c,v retrieving revision 1.1 diff -u -r1.1 valid.c --- src/modules/rlm_smb/valid.c 18 Jul 2002 17:48:08 -0000 1.1 +++ src/modules/rlm_smb/valid.c 8 Sep 2003 15:06:51 -0000 @@ -1,3 +1,23 @@ +/* + * valid.c + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + */ + #include <sys/types.h> #include <unistd.h> #include <syslog.h> Index: src/modules/rlm_sql/drivers/rlm_sql_iodbc/sql_iodbc.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_sql/drivers/rlm_sql_iodbc/sql_iodbc.c,v retrieving revision 1.15 diff -u -r1.15 sql_iodbc.c --- src/modules/rlm_sql/drivers/rlm_sql_iodbc/sql_iodbc.c 2 Sep 2003 18:38:53 -0000 1.15 +++ src/modules/rlm_sql/drivers/rlm_sql_iodbc/sql_iodbc.c 8 Sep 2003 15:06:51 -0000 @@ -1,8 +1,24 @@ -/*************************************************************************** -* iODBC support for FreeRadius -* www.iodbc.org - iODBC info -* Jeff Carneal - Author of this module driver <[EMAIL PROTECTED]> -***************************************************************************/ +/* + * sql_iodbc.c iODBC support for FreeRadius + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + * Copyright 2000 Jeff Carneal <[EMAIL PROTECTED]> + */ + #include <stdio.h> #include <sys/stat.h> #include <stdlib.h> Index: src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c,v retrieving revision 1.31 diff -u -r1.31 sql_oracle.c --- src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c 2 Sep 2003 18:38:53 -0000 1.31 +++ src/modules/rlm_sql/drivers/rlm_sql_oracle/sql_oracle.c 8 Sep 2003 15:06:51 -0000 @@ -1,10 +1,24 @@ -/*************************************************************************** -* sql_oracle.c rlm_sql - FreeRADIUS SQL Module * -* * -* Oracle (OCI) routines for rlm_sql * -* * -* David Kerry <[EMAIL PROTECTED]> * -***************************************************************************/ +/* + * sql_oracle.c Oracle (OCI) routines for rlm_sql + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + * Copyright 2000 David Kerry <[EMAIL PROTECTED]> + */ + #include <stdio.h> #include <sys/stat.h> #include <sys/time.h> Index: src/modules/rlm_sql/drivers/rlm_sql_sybase/sql_sybase.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_sql/drivers/rlm_sql_sybase/sql_sybase.c,v retrieving revision 1.6 diff -u -r1.6 sql_sybase.c --- src/modules/rlm_sql/drivers/rlm_sql_sybase/sql_sybase.c 2 Sep 2003 18:38:53 -0000 1.6 +++ src/modules/rlm_sql/drivers/rlm_sql_sybase/sql_sybase.c 8 Sep 2003 15:06:51 -0000 @@ -1,12 +1,24 @@ -/*************************************************************************** -* sql_sybase.c rlm_sql - FreeRADIUS SQL Module * -* * -* Sybase (ctlibrary) routines for rlm_sql * -* * -* Error handling stolen from Sybase example code "firstapp.c" * -* * -* Mattias Sjostrom <[EMAIL PROTECTED]> * -***************************************************************************/ +/* + * sql_sybase.c Sybase (ctlibrary) routines for rlm_sql + * Error handling stolen from Sybase example code "firstapp.c" + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + * Copyright 2000 Mattias Sjostrom <[EMAIL PROTECTED]> + */ #include <stdio.h> #include <sys/stat.h> Index: src/modules/rlm_sql/drivers/rlm_sql_unixodbc/sql_unixodbc.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/sql_unixodbc.c,v retrieving revision 1.9 diff -u -r1.9 sql_unixodbc.c --- src/modules/rlm_sql/drivers/rlm_sql_unixodbc/sql_unixodbc.c 2 Sep 2003 18:38:53 -0000 1.9 +++ src/modules/rlm_sql/drivers/rlm_sql_unixodbc/sql_unixodbc.c 8 Sep 2003 15:06:51 -0000 @@ -1,9 +1,23 @@ -/************************************************************************** - * sql_unixodbc.c unixODBC rlm_sql driver * - * * - * * - * Dmitri Ageev <[EMAIL PROTECTED]> * - **************************************************************************/ +/* + * sql_unixodbc.c unixODBC rlm_sql driver + * + * 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-1307 USA + * + * Copyright 2000 The FreeRADIUS server project + * Copyright 2000 Dmitri Ageev <[EMAIL PROTECTED]> + */ #include <stdlib.h> #include <string.h> Index: src/modules/rlm_unix/cache.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_unix/cache.c,v retrieving revision 1.23 diff -u -r1.23 cache.c --- src/modules/rlm_unix/cache.c 3 Sep 2003 15:19:32 -0000 1.23 +++ src/modules/rlm_unix/cache.c 8 Sep 2003 15:06:51 -0000 @@ -13,7 +13,7 @@ * * Version: $Id: cache.c,v 1.23 2003/09/03 15:19:32 cparker Exp $ * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * Index: src/modules/rlm_unix/compat.c =================================================================== RCS file: /source/radiusd/src/modules/rlm_unix/compat.c,v retrieving revision 1.2 diff -u -r1.2 compat.c --- src/modules/rlm_unix/compat.c 3 Sep 2003 15:19:32 -0000 1.2 +++ src/modules/rlm_unix/compat.c 8 Sep 2003 15:06:51 -0000 @@ -6,7 +6,7 @@ * * Version: $Id: compat.c,v 1.2 2003/09/03 15:19:32 cparker Exp $ * - * This program is is free software; you can redistribute it and/or modify + * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 if the * License as published by the Free Software Foundation. * -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
