xref: /netbsd-src/external/bsd/flex/dist/COPYING (revision 3c3a7b7603b4ed4cb76dd5c5a3e781ddca2349bb)
1*3c3a7b76SchristosFlex carries the copyright used for BSD software, slightly modified
2*3c3a7b76Schristosbecause it originated at the Lawrence Berkeley (not Livermore!) Laboratory,
3*3c3a7b76Schristoswhich operates under a contract with the Department of Energy:
4*3c3a7b76Schristos
5*3c3a7b76SchristosCopyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The Flex Project.
6*3c3a7b76Schristos
7*3c3a7b76SchristosCopyright (c) 1990, 1997 The Regents of the University of California.
8*3c3a7b76SchristosAll rights reserved.
9*3c3a7b76Schristos
10*3c3a7b76SchristosThis code is derived from software contributed to Berkeley by
11*3c3a7b76SchristosVern Paxson.
12*3c3a7b76Schristos
13*3c3a7b76SchristosThe United States Government has rights in this work pursuant
14*3c3a7b76Schristosto contract no. DE-AC03-76SF00098 between the United States
15*3c3a7b76SchristosDepartment of Energy and the University of California.
16*3c3a7b76Schristos
17*3c3a7b76SchristosRedistribution and use in source and binary forms, with or without
18*3c3a7b76Schristosmodification, are permitted provided that the following conditions
19*3c3a7b76Schristosare met:
20*3c3a7b76Schristos
21*3c3a7b76Schristos1. Redistributions of source code must retain the above copyright
22*3c3a7b76Schristos   notice, this list of conditions and the following disclaimer.
23*3c3a7b76Schristos2. Redistributions in binary form must reproduce the above copyright
24*3c3a7b76Schristos   notice, this list of conditions and the following disclaimer in the
25*3c3a7b76Schristos   documentation and/or other materials provided with the distribution.
26*3c3a7b76Schristos
27*3c3a7b76SchristosNeither the name of the University nor the names of its contributors
28*3c3a7b76Schristosmay be used to endorse or promote products derived from this software
29*3c3a7b76Schristoswithout specific prior written permission.
30*3c3a7b76Schristos
31*3c3a7b76SchristosTHIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
32*3c3a7b76SchristosIMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
33*3c3a7b76SchristosWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
34*3c3a7b76SchristosPURPOSE.
35*3c3a7b76Schristos
36*3c3a7b76SchristosThis basically says "do whatever you please with this software except
37*3c3a7b76Schristosremove this notice or take advantage of the University's (or the flex
38*3c3a7b76Schristosauthors') name".
39*3c3a7b76Schristos
40*3c3a7b76SchristosNote that the "flex.skl" scanner skeleton carries no copyright notice.
41*3c3a7b76SchristosYou are free to do whatever you please with scanners generated using flex;
42*3c3a7b76Schristosfor them, you are not even bound by the above copyright.
43