1<![ CDATA [
2                *LPRng, IFHP, and LPRngTool LICENSE*
3                    GNU GPL and Artistic License
4
5                   (Version 5, 28 Aug 2003)
6
7              Copyright Patrick Powell, Astart Technologies
8                       <papowell@lprng.com>
9
10                      All rights reserved.
11
12You may use "LPRng" or "IFHP" under either the terms of the GNU
13GPL License or the Artistc License. These licenses are included
14below.  The licenses were obtained from the http://www.opensource.org
15web site on 28 Aug 2003.
16
17   These Licenses apply to the computer software packages known as
18"LPRng", "IFHP", and associated files.  The "Package" or "Program"
19below refers to the programs, files,  and associated software which
20are distributed as the package.
21
22   The "LPRng" Software Package is a copyrighted work whose copyright
23is held by Patrick Powell.
24
25   The "IFHP" Software Package is a copyrighted work whose copyright
26is held by Patrick Powell.
27
28   The "LPRngTool" Software Package is a copyrighted work whose copyright
29is held by Patrick Powell.
30
31   BY MODIFYING OR DISTRIBUTING THE PROGRAM (OR ANY WORK BASED ON THE
32PROGRAM), YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE TO DO SO, AND ALL
33ITS TERMS AND CONDITIONS FOR COPYING, DISTRIBUTING OR MODIFYING THE
34PROGRAM OR WORKS BASED ON IT. NOTHING OTHER THAN THIS LICENSE GRANTS
35YOU PERMISSION TO MODIFY OR DISTRIBUTE THE PROGRAM OR ITS DERIVATIVE
36WORKS. THESE ACTIONS ARE PROHIBITED BY LAW. IF YOU DO NOT ACCEPT THESE
37TERMS AND CONDITIONS, DO NOT MODIFY OR DISTRIBUTE THE PROGRAM.
38
39-----------------------------------------------------------------------
40                  Addendum Fri Jun 21 17:06:33 PDT 2002
41
42If you wish  to distribute the LPRng source code or binaries of any
43of the programs in the LPRng packages under terms of the GNU license,
44then when any package or portion of the LPRng is configured to use
45any facility or utility of the OpenSSL distribution, the additional
46following clause will be applied, as recommended in the OpenSSL
470.9.6c release FAQ:
48
49"This program is released under the GPL with the additional exemption that
50compiling, linking, and/or using OpenSSL is allowed."
51
52-----------------------------------------------------------------------
53
54            GNU GENERAL PUBLIC LICENSE
55               Version 2, June 1991
56
57 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
58  675 Mass Ave, Cambridge, MA 02139, USA
59 Everyone is permitted to copy and distribute verbatim copies
60 of this license document, but changing it is not allowed.
61
62                Preamble
63
64  The licenses for most software are designed to take away your
65freedom to share and change it.  By contrast, the GNU General Public
66License is intended to guarantee your freedom to share and change free
67software--to make sure the software is free for all its users.  This
68General Public License applies to most of the Free Software
69Foundation's software and to any other program whose authors commit to
70using it.  (Some other Free Software Foundation software is covered by
71the GNU Library General Public License instead.)  You can apply it to
72your programs, too.
73
74  When we speak of free software, we are referring to freedom, not
75price.  Our General Public Licenses are designed to make sure that you
76have the freedom to distribute copies of free software (and charge for
77this service if you wish), that you receive source code or can get it
78if you want it, that you can change the software or use pieces of it
79in new free programs; and that you know you can do these things.
80
81  To protect your rights, we need to make restrictions that forbid
82anyone to deny you these rights or to ask you to surrender the rights.
83These restrictions translate to certain responsibilities for you if you
84distribute copies of the software, or if you modify it.
85
86  For example, if you distribute copies of such a program, whether
87gratis or for a fee, you must give the recipients all the rights that
88you have.  You must make sure that they, too, receive or can get the
89source code.  And you must show them these terms so they know their
90rights.
91
92  We protect your rights with two steps: (1) copyright the software, and
93(2) offer you this license which gives you legal permission to copy,
94distribute and/or modify the software.
95
96  Also, for each author's protection and ours, we want to make certain
97that everyone understands that there is no warranty for this free
98software.  If the software is modified by someone else and passed on, we
99want its recipients to know that what they have is not the original, so
100that any problems introduced by others will not reflect on the original
101authors' reputations.
102
103  Finally, any free program is threatened constantly by software
104patents.  We wish to avoid the danger that redistributors of a free
105program will individually obtain patent licenses, in effect making the
106program proprietary.  To prevent this, we have made it clear that any
107patent must be licensed for everyone's free use or not licensed at all.
108
109  The precise terms and conditions for copying, distribution and
110modification follow.
111
112            GNU GENERAL PUBLIC LICENSE
113   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
114
115  0. This License applies to any program or other work which contains
116a notice placed by the copyright holder saying it may be distributed
117under the terms of this General Public License.  The "Program", below,
118refers to any such program or work, and a "work based on the Program"
119means either the Program or any derivative work under copyright law:
120that is to say, a work containing the Program or a portion of it,
121either verbatim or with modifications and/or translated into another
122language.  (Hereinafter, translation is included without limitation in
123the term "modification".)  Each licensee is addressed as "you".
124
125Activities other than copying, distribution and modification are not
126covered by this License; they are outside its scope.  The act of
127running the Program is not restricted, and the output from the Program
128is covered only if its contents constitute a work based on the
129Program (independent of having been made by running the Program).
130Whether that is true depends on what the Program does.
131
132  1. You may copy and distribute verbatim copies of the Program's
133source code as you receive it, in any medium, provided that you
134conspicuously and appropriately publish on each copy an appropriate
135copyright notice and disclaimer of warranty; keep intact all the
136notices that refer to this License and to the absence of any warranty;
137and give any other recipients of the Program a copy of this License
138along with the Program.
139
140You may charge a fee for the physical act of transferring a copy, and
141you may at your option offer warranty protection in exchange for a fee.
142
143  2. You may modify your copy or copies of the Program or any portion
144of it, thus forming a work based on the Program, and copy and
145distribute such modifications or work under the terms of Section 1
146above, provided that you also meet all of these conditions:
147
148    a) You must cause the modified files to carry prominent notices
149    stating that you changed the files and the date of any change.
150
151    b) You must cause any work that you distribute or publish, that in
152    whole or in part contains or is derived from the Program or any
153    part thereof, to be licensed as a whole at no charge to all third
154    parties under the terms of this License.
155
156    c) If the modified program normally reads commands interactively
157    when run, you must cause it, when started running for such
158    interactive use in the most ordinary way, to print or display an
159    announcement including an appropriate copyright notice and a
160    notice that there is no warranty (or else, saying that you provide
161    a warranty) and that users may redistribute the program under
162    these conditions, and telling the user how to view a copy of this
163    License.  (Exception: if the Program itself is interactive but
164    does not normally print such an announcement, your work based on
165    the Program is not required to print an announcement.)
166
167These requirements apply to the modified work as a whole.  If
168identifiable sections of that work are not derived from the Program,
169and can be reasonably considered independent and separate works in
170themselves, then this License, and its terms, do not apply to those
171sections when you distribute them as separate works.  But when you
172distribute the same sections as part of a whole which is a work based
173on the Program, the distribution of the whole must be on the terms of
174this License, whose permissions for other licensees extend to the
175entire whole, and thus to each and every part regardless of who wrote it.
176
177Thus, it is not the intent of this section to claim rights or contest
178your rights to work written entirely by you; rather, the intent is to
179exercise the right to control the distribution of derivative or
180collective works based on the Program.
181
182In addition, mere aggregation of another work not based on the Program
183with the Program (or with a work based on the Program) on a volume of
184a storage or distribution medium does not bring the other work under
185the scope of this License.
186
187  3. You may copy and distribute the Program (or a work based on it,
188under Section 2) in object code or executable form under the terms of
189Sections 1 and 2 above provided that you also do one of the following:
190
191    a) Accompany it with the complete corresponding machine-readable
192    source code, which must be distributed under the terms of Sections
193    1 and 2 above on a medium customarily used for software interchange; or,
194
195    b) Accompany it with a written offer, valid for at least three
196    years, to give any third party, for a charge no more than your
197    cost of physically performing source distribution, a complete
198    machine-readable copy of the corresponding source code, to be
199    distributed under the terms of Sections 1 and 2 above on a medium
200    customarily used for software interchange; or,
201
202    c) Accompany it with the information you received as to the offer
203    to distribute corresponding source code.  (This alternative is
204    allowed only for noncommercial distribution and only if you
205    received the program in object code or executable form with such
206    an offer, in accord with Subsection b above.)
207
208The source code for a work means the preferred form of the work for
209making modifications to it.  For an executable work, complete source
210code means all the source code for all modules it contains, plus any
211associated interface definition files, plus the scripts used to
212control compilation and installation of the executable.  However, as a
213special exception, the source code distributed need not include
214anything that is normally distributed (in either source or binary
215form) with the major components (compiler, kernel, and so on) of the
216operating system on which the executable runs, unless that component
217itself accompanies the executable.
218
219If distribution of executable or object code is made by offering
220access to copy from a designated place, then offering equivalent
221access to copy the source code from the same place counts as
222distribution of the source code, even though third parties are not
223compelled to copy the source along with the object code.
224
225  4. You may not copy, modify, sublicense, or distribute the Program
226except as expressly provided under this License.  Any attempt
227otherwise to copy, modify, sublicense or distribute the Program is
228void, and will automatically terminate your rights under this License.
229However, parties who have received copies, or rights, from you under
230this License will not have their licenses terminated so long as such
231parties remain in full compliance.
232
233  5. You are not required to accept this License, since you have not
234signed it.  However, nothing else grants you permission to modify or
235distribute the Program or its derivative works.  These actions are
236prohibited by law if you do not accept this License.  Therefore, by
237modifying or distributing the Program (or any work based on the
238Program), you indicate your acceptance of this License to do so, and
239all its terms and conditions for copying, distributing or modifying
240the Program or works based on it.
241
242  6. Each time you redistribute the Program (or any work based on the
243Program), the recipient automatically receives a license from the
244original licensor to copy, distribute or modify the Program subject to
245these terms and conditions.  You may not impose any further
246restrictions on the recipients' exercise of the rights granted herein.
247You are not responsible for enforcing compliance by third parties to
248this License.
249
250  7. If, as a consequence of a court judgment or allegation of patent
251infringement or for any other reason (not limited to patent issues),
252conditions are imposed on you (whether by court order, agreement or
253otherwise) that contradict the conditions of this License, they do not
254excuse you from the conditions of this License.  If you cannot
255distribute so as to satisfy simultaneously your obligations under this
256License and any other pertinent obligations, then as a consequence you
257may not distribute the Program at all.  For example, if a patent
258license would not permit royalty-free redistribution of the Program by
259all those who receive copies directly or indirectly through you, then
260the only way you could satisfy both it and this License would be to
261refrain entirely from distribution of the Program.
262
263If any portion of this section is held invalid or unenforceable under
264any particular circumstance, the balance of the section is intended to
265apply and the section as a whole is intended to apply in other
266circumstances.
267
268It is not the purpose of this section to induce you to infringe any
269patents or other property right claims or to contest validity of any
270such claims; this section has the sole purpose of protecting the
271integrity of the free software distribution system, which is
272implemented by public license practices.  Many people have made
273generous contributions to the wide range of software distributed
274through that system in reliance on consistent application of that
275system; it is up to the author/donor to decide if he or she is willing
276to distribute software through any other system and a licensee cannot
277impose that choice.
278
279This section is intended to make thoroughly clear what is believed to
280be a consequence of the rest of this License.
281
282  8. If the distribution and/or use of the Program is restricted in
283certain countries either by patents or by copyrighted interfaces, the
284original copyright holder who places the Program under this License
285may add an explicit geographical distribution limitation excluding
286those countries, so that distribution is permitted only in or among
287countries not thus excluded.  In such case, this License incorporates
288the limitation as if written in the body of this License.
289
290  9. The Free Software Foundation may publish revised and/or new versions
291of the General Public License from time to time.  Such new versions will
292be similar in spirit to the present version, but may differ in detail to
293address new problems or concerns.
294
295Each version is given a distinguishing version number.  If the Program
296specifies a version number of this License which applies to it and "any
297later version", you have the option of following the terms and conditions
298either of that version or of any later version published by the Free
299Software Foundation.  If the Program does not specify a version number of
300this License, you may choose any version ever published by the Free Software
301Foundation.
302
303  10. If you wish to incorporate parts of the Program into other free
304programs whose distribution conditions are different, write to the author
305to ask for permission.  For software which is copyrighted by the Free
306Software Foundation, write to the Free Software Foundation; we sometimes
307make exceptions for this.  Our decision will be guided by the two goals
308of preserving the free status of all derivatives of our free software and
309of promoting the sharing and reuse of software generally.
310
311                NO WARRANTY
312
313  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
314FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
315OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
316PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
317OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
318MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
319TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
320PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
321REPAIR OR CORRECTION.
322
323  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
324WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
325REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
326INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
327OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
328TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
329YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
330PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
331POSSIBILITY OF SUCH DAMAGES.
332
333             END OF TERMS AND CONDITIONS
334
335    Appendix: How to Apply These Terms to Your New Programs
336
337  If you develop a new program, and you want it to be of the greatest
338possible use to the public, the best way to achieve this is to make it
339free software which everyone can redistribute and change under these terms.
340
341  To do so, attach the following notices to the program.  It is safest
342to attach them to the start of each source file to most effectively
343convey the exclusion of warranty; and each file should have at least
344the "copyright" line and a pointer to where the full notice is found.
345
346    <one line to give the program's name and a brief idea of what it does.>
347    Copyright (C) 19yy  <name of author>
348
349    This program is free software; you can redistribute it and/or modify
350    it under the terms of the GNU General Public License as published by
351    the Free Software Foundation; either version 2 of the License, or
352    (at your option) any later version.
353
354    This program is distributed in the hope that it will be useful,
355    but WITHOUT ANY WARRANTY; without even the implied warranty of
356    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
357    GNU General Public License for more details.
358
359    You should have received a copy of the GNU General Public License
360    along with this program; if not, write to the Free Software
361    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
362
363Also add information on how to contact you by electronic and paper mail.
364
365If the program is interactive, make it output a short notice like this
366when it starts in an interactive mode:
367
368    Gnomovision version 69, Copyright (C) 19yy name of author
369    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
370    This is free software, and you are welcome to redistribute it
371    under certain conditions; type `show c' for details.
372
373The hypothetical commands `show w' and `show c' should show the appropriate
374parts of the General Public License.  Of course, the commands you use may
375be called something other than `show w' and `show c'; they could even be
376mouse-clicks or menu items--whatever suits your program.
377
378You should also get your employer (if you work as a programmer) or your
379school, if any, to sign a "copyright disclaimer" for the program, if
380necessary.  Here is a sample; alter the names:
381
382  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
383  `Gnomovision' (which makes passes at compilers) written by James Hacker.
384
385  <signature of Ty Coon>, 1 April 1989
386  Ty Coon, President of Vice
387
388This General Public License does not permit incorporating your program into
389proprietary programs.  If your program is a subroutine library, you may
390consider it more useful to permit linking proprietary applications with the
391library.  If this is what you want to do, use the GNU Library General
392Public License instead of this License.
393
394--------------------------------------------------------------------------------------------
395
396From http://www.opensource.org  - The Artistic License
397Version as of 28 Aug, 2003
398
399                        The Artistic License
400
401Preamble
402
403The intent of this document is to state the conditions under which
404a Package may be copied, such that the Copyright Holder maintains
405some semblance of artistic control over the development of the
406package, while giving the users of the package the right to use and
407distribute the Package in a more-or-less customary fashion, plus
408the right to make reasonable modifications.
409
410Definitions:
411
412"Package" refers to the collection of files distributed by the
413Copyright Holder, and derivatives of that collection of files created
414through textual modification.
415
416"Standard Version" refers to such a Package if it has not been
417modified, or has been modified in accordance with the wishes of the
418Copyright Holder.
419
420"Copyright Holder" is whoever is named in the copyright or copyrights
421for the package.
422
423"You" is you, if you're thinking about copying or distributing this
424Package.
425
426"Reasonable copying fee" is whatever you can justify on the basis
427of media cost, duplication charges, time of people involved, and
428so on. (You will not be required to justify it to the Copyright
429Holder, but only to the computing community at large as a market
430that must bear the fee.)
431
432"Freely Available" means that no fee is charged for the item itself,
433though there may be fees involved in handling the item. It also
434means that recipients of the item may redistribute it under the
435same conditions they received it.
436
4371. You may make and give away verbatim copies of the source form
438of the Standard Version of this Package without restriction, provided
439that you duplicate all of the original copyright notices and
440associated disclaimers.
441
4422. You may apply bug fixes, portability fixes and other modifications
443derived from the Public Domain or from the Copyright Holder. A
444Package modified in such a way shall still be considered the Standard
445Version.
446
4473. You may otherwise modify your copy of this Package in any way,
448provided that you insert a prominent notice in each changed file
449stating how and when you changed that file, and provided that you
450do at least ONE of the following:
451
452a) place your modifications in the Public Domain or otherwise make
453them Freely Available, such as by posting said modifications to
454Usenet or an equivalent medium, or placing the modifications on a
455major archive site such as ftp.uu.net, or by allowing the Copyright
456Holder to include your modifications in the Standard Version of the
457Package.
458
459b) use the modified Package only within your corporation or
460organization.
461
462c) rename any non-standard executables so the names do not conflict
463with standard executables, which must also be provided, and provide
464a separate manual page for each non-standard executable that clearly
465documents how it differs from the Standard Version.
466
467d) make other distribution arrangements with the Copyright Holder.
468
4694. You may distribute the programs of this Package in object code
470or executable form, provided that you do at least ONE of the
471following:
472
473a) distribute a Standard Version of the executables and library
474files, together with instructions (in the manual page or equivalent)
475on where to get the Standard Version.
476
477b) accompany the distribution with the machine-readable source of
478the Package with your modifications.
479
480c) accompany any non-standard executables with their corresponding
481Standard Version executables, giving the non-standard executables
482non-standard names, and clearly documenting the differences in
483manual pages (or equivalent), together with instructions on where
484to get the Standard Version.
485
486d) make other distribution arrangements with the Copyright Holder.
487
4885. You may charge a reasonable copying fee for any distribution of
489this Package. You may charge any fee you choose for support of this
490Package. You may not charge a fee for this Package itself. However,
491you may distribute this Package in aggregate with other (possibly
492commercial) programs as part of a larger (possibly commercial)
493software distribution provided that you do not advertise this Package
494as a product of your own.
495
4966. The scripts and library files supplied as input to or produced
497as output from the programs of this Package do not automatically
498fall under the copyright of this Package, but belong to whomever
499generated them, and may be sold commercially, and may be aggregated
500with this Package.
501
5027. C or perl subroutines supplied by you and linked into this Package
503shall not be considered part of this Package.
504
5058. The name of the Copyright Holder may not be used to endorse or
506promote products derived from this software without specific prior
507written permission.
508
5099. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
510IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
511WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
512]]>
513