Paul Hampson wrote:

> > 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
> 
> I dunno how to tell you this after so much work, but src/lib
> (libradius) is under the LGPL, not the GPL. (I think this is
> specified in the COPYRIGHT file, if not, in the debian/copyright
> file).

Argh, I should have read this earlier.

> >  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 files above have no license and are not in src/lib, therefore I
put them in a separate patch too.

$ cvs diff -u 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
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     10 Sep 2003 15:32:11 -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 10 Sep 2003 15:32:11 -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 10 Sep 2003 15:32:12 -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 10 Sep 2003 15:32:12 -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       10 Sep 2003 15:32:12 
-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     10 Sep 2003 15:32:12 
-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     10 Sep 2003 15:32:12 
-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 10 Sep 2003 15:32:12 
-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>

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to