Annotation of src/usr.bin/lex/COPYING, Revision 1.3
1.1 deraadt 1: Flex carries the copyright used for BSD software, slightly modified
2: because it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
3: which operates under a contract with the Department of Energy:
4:
5: Copyright (c) 1990 The Regents of the University of California.
6: All rights reserved.
7:
8: This code is derived from software contributed to Berkeley by
9: Vern Paxson.
10:
11: The United States Government has rights in this work pursuant
12: to contract no. DE-AC03-76SF00098 between the United States
13: Department of Energy and the University of California.
14:
1.2 deraadt 15: Redistribution and use in source and binary forms, with or without
1.3 ! millert 16: modification, are permitted provided that the following conditions
! 17: are met:
! 18:
! 19: 1. Redistributions of source code must retain the above copyright
! 20: notice, this list of conditions and the following disclaimer.
! 21: 2. Redistributions in binary form must reproduce the above copyright
! 22: notice, this list of conditions and the following disclaimer in the
! 23: documentation and/or other materials provided with the distribution.
! 24:
! 25: Neither the name of the University nor the names of its contributors
! 26: may be used to endorse or promote products derived from this software
1.1 deraadt 27: without specific prior written permission.
28:
29: THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
30: IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
31: WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
32: PURPOSE.
33:
34: This basically says "do whatever you please with this software except
35: remove this notice or take advantage of the University's (or the flex
36: authors') name".
37:
38: Note that the "flex.skl" scanner skeleton carries no copyright notice.
39: You are free to do whatever you please with scanners generated using flex;
40: for them, you are not even bound by the above copyright.