Since I started fixing the hearders in the source, I've taken care of the files in src/lib too.
These files have no license information, so I inserted the *LGPL* 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/token.c src/lib/valuepair.c These files already have a different license and I didn't touch them: GPL src/lib/smbdes.c src/lib/snprintf.c Public Domain src/lib/isaac.c src/lib/sha1.c Other licenses src/lib/filters.c src/lib/md4.c src/lib/md5.c Here's the patch: $ cvs diff -u 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/token.c src/lib/valuepair.c 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 12 Sep 2003 08:46:18 -0000 @@ -1,5 +1,21 @@ /* - * a thread-safe crypt wrapper + * crypt.c A thread-safe crypt wrapper + * + * 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 + * + * 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 12 Sep 2003 08:46:18 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: dict.c,v 1.41 2003/09/03 15:19:28 cparker Exp $ * + * 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 + * + * 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 12 Sep 2003 08:46:18 -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 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 + * + * 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 12 Sep 2003 08:46:18 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: log.c,v 1.6 2000/10/31 23:19:54 aland Exp $ * + * 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 + * + * 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 12 Sep 2003 08:46:18 -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 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 + * + * 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 12 Sep 2003 08:46:18 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: missing.c,v 1.10 2003/07/07 15:47:54 aland Exp $ * + * 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 + * + * 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 12 Sep 2003 08:46:18 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: print.c,v 1.20 2002/10/15 15:04:07 aland Exp $ * + * 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 + * + * 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 12 Sep 2003 08:46:19 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: radius.c,v 1.104 2003/09/03 15:19:28 cparker Exp $ * + * 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 + * + * 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/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 12 Sep 2003 08:46:19 -0000 @@ -4,6 +4,21 @@ * * Version: $Id: token.c,v 1.16 2002/11/21 17:37:16 aland Exp $ * + * 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 + * + * 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 12 Sep 2003 08:46:19 -0000 @@ -3,6 +3,21 @@ * * Version: $Id: valuepair.c,v 1.64 2003/09/03 15:19:28 cparker Exp $ * + * 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 + * + * Copyright 2000 The FreeRADIUS server project */ static const char rcsid[] = "$Id: valuepair.c,v 1.64 2003/09/03 15:19:28 cparker Exp $"; -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html