This file is indexed.

/usr/share/doc/zftp/copyright is in zftp 20061220+dfsg3-4.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
This package was debianized by Kevin B. McCarty <kmccarty@debian.org> and 
Lifeng Sun <lifongsun@gmail.com>.  It was downloaded from the URL
http://cernlib.web.cern.ch/cernlib/download/2006_source/tar/2006_src.tar.gz

The very large file 2006_src.tar.gz was split up into individual modules,
from which non-free files were removed, of which the relevant ones have been
recompressed in the "upstream" directory of the cernlib source package.  See
the file debian/README.Debian-source in the source package for a detailed
description of this process.


COPYRIGHT
---------

CERNLIB is copyright (C) CERN and others.  As of this writing (9 January 2008),
the web page http://wwwasd.web.cern.ch/wwwasd/cernlib/conditions.html (which
gives the terms under which CERNLIB may be used) states:

  CERNLIB Availability

  (C) Copyright CERN except where explicitly stated otherwise. Permission to
  use and/or redistribute this work is granted under the terms of the GNU
  General Public License. FLUKA routines included in GEANT3 are joint copyright
  of INFN and CERN and are not licensed under the GPL: permission to use and/or
  redistribute outside GEANT3 should be negotiated. The software and
  documentation made available under the terms of this license are provided
  with no warranty.

  Last modified: 18-March-2004

The aforementioned FLUKA routines have been excised from the CERNLIB source
code and binary packages distributed by Debian.

There is some ambiguity as to whether CERN intended to have CERNLIB available
specifically under GPL version 2 (the current version at the time the above-
mentioned web page was written) or always under the current version.  (The text
"GNU General Public License" in the web page quoted above is a hyperlink to
http://www.gnu.org/copyleft/gpl.html which, as of this writing, references GPL
version 3.)  I have requested clarification from the upstream maintainer.  In
the meantime, it should be noted that the orig.tar.gz files for CERNLIB in
Debian were obtained from the upstream web site prior to the release of GPL
version 3.  It therefore seems to me to be safe to assume that re-distribution
of CERNLIB from the Debian source packages is permissible under the terms
either of GPL version 2 or of the current GPL version, at the re-distributor's
option.

On Debian systems, the complete text of the current version of the GNU General
Public License can be found in the file `/usr/share/common-licenses/GPL-3'.
The text of version 2 can be found at `/usr/share/common-licenses/GPL-2'.


EXCEPTIONS
----------

Some source files of CERNLIB are provided (in parts, or in entirety) under
different licenses which are compatible with the GPL.  See the table and
licenses below for details.  (File paths are relative to the directory
cernlib-$VERSION/src/ after running "debian/rules unpack".)  Most of the
differences in the licenses below are only in the exact wordings.  The
"Package(s)" column lists the binary Debian packages in which each piece of
code is compiled or otherwise included.

Copyright codes are as follows:

LGPL	- Library GPL
BSD	- BSD style license
NO AD	- BSD style license with negative advertising clause

Package codes are as follows:

Dev   = most development packages
Kx    = kxterm
Graf  = libgrafx11-1-gfortran, libgrafx11-1-dev
Pack  = libpacklib1-gfortran, libpacklib1-dev
KuiM  = libpacklib-lesstif1-gfortran, libpacklib-lesstif1-dev

File(s)					Package(s)	License type	Owner
-------					----------	------------	-----
cfortran/*				Dev		LGPL [1]	[a]
graflib/higz/higzcc/rotated.c		Graf		BSD [3]		[b]
graflib/higz/higzcc/tkhigz.c		Graf		BSD [4]		[c]
packlib/cspack/sysreq/telnet.h		Pack		BSD [2]		[c]
packlib/kuip/code_kuip/getline.c	Pack		BSD [5]		[d]
packlib/kuip/code_motif/icbox.h		KuiM		NO AD [6]	[e]
packlib/kuip/code_motif/icboxp.h	KuiM		NO AD [6]	[e]
packlib/kuip/code_motif/iconbox.c	KuiM		NO AD [6]	[e]
packlib/kuip/code_motif/iconwidget.c	KuiM		NO AD [7]	[f]
packlib/kuip/code_motif/icwid.h		KuiM		NO AD [7]	[f]
packlib/kuip/code_motif/icwidp.h	KuiM		NO AD [7]	[f]
packlib/kuip/code_motif/kuxxt.c		KuiM		NO AD [8]	[g]
packlib/kuip/code_motif/mkuxxt.h	KuiM		NO AD [8]	[g]
packlib/kuip/programs/kxterm/uxxt.c	Kx		NO AD [8]	[g]
packlib/kuip/programs/kxterm/uxxt.h	Kx		NO AD [8]	[g]

Exception copyright holders
---------------------------

[a] Burkhard Burow, <burow@desy.de>,
    http://www-zeus.desy.de/~burow/cfortran/index.htm

[b] Alan Richardson, <mppa3@syma.sussex.ac.uk>, and O. Couet

[c] The Regents of the University of California

[d] Chris Thewalt, <thewalt@ce.berkeley.edu>

[e] Alphonse A. Rademakers, <rdm@cernvm.cern.ch>,
    CN/AS Division
    CERN, European Organization for Nuclear Research
    1123 Geneve, Switzerland

[f] Addison-Wesley Publishing Company

[g] Visual Edge Software Ltd.


Exception license details
-------------------------

[1] On Debian systems, the complete text of the GNU Library General Public
    License can be found in the file `/usr/share/common-licenses/LGPL-2'.

[2] Copyright (c) The Regents of the University of California.
    All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:
    1. Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
    3. Neither the name of the University nor the names of its contributors
       may be used to endorse or promote products derived from this software
       without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    SUCH DAMAGE.

[3] xvertext 5.0, Copyright (c) 1993 Alan Richardson (mppa3@uk.ac.sussex.syma)
    Alignment definition modified by O.Couet.
    Mods IBM/VM by O.Couet.

    Permission to use, copy, modify, and distribute this software and its
    documentation for any purpose and without fee is hereby granted, provided
    that the above copyright notice appear in all copies and that both the
    copyright notice and this permission notice appear in supporting
    documentation.  All work developed as a consequence of the use of
    this program should duly acknowledge such use. No representations are
    made about the suitability of this software for any purpose.  It is
    provided "as is" without express or implied warranty.

[4] Copyright (c) 1991-1993 The Regents of the University of California.
    All rights reserved.

    Permission is hereby granted, without written agreement and without
    license or royalty fees, to use, copy, modify, and distribute this
    software and its documentation for any purpose, provided that the
    above copyright notice and the following two paragraphs appear in
    all copies of this software.

    IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
    DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
    OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
    CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
    ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
    PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

[5] Copyright (C) 1991, 1992 by Chris Thewalt (thewalt@ce.berkeley.edu)

    Permission to use, copy, modify, and distribute this software
    for any purpose and without fee is hereby granted, provided
    that the above copyright notices appear in all copies and that both the
    copyright notice and this permission notice appear in supporting
    documentation.  This software is provided "as is" without express or
    implied warranty.

[6] Copyright 1992 Alphonse A. Rademakers

    Permission to use, copy, modify, distribute, and sell this software
    and its documentation for any purpose is hereby granted without
    fee, provided that the above copyright notice appears in all copies
    and that both that copyright notice and this permission notice
    appear in supporting documentation, and that the name of
    Alphonse A. Rademakers or CERN not be used in advertising or
    publicity pertaining to distribution of the software without
    specific, written prior permission.  Alphonse A. Rademakers and
    CERN make no representations about the suitability of this software
    for any purpose.  It is provided "as is" without express or implied
    warranty.

    Alphonse A. Rademakers and CERN disclaim all warranties with
    regard to this software, including all implied warranties of
    merchantability and fitness, in no event shall
    Alphonse A. Rademakers or CERN be liable for any special, indirect
    or consequential damages or any damages whatsoever resulting from
    loss of use, data or profits, whether in an action of contract,
    negligence or other tortious action, arising out of or in
    connection with the use or performance of this software.

    [Debian maintainer's note: Although the files with this copyright are
    described as "based on ideas by Thomas Berlage" (see next entry), a
    comparison with the original IconBox code of Thomas Berlage, available by
    FTP at (e.g.) ftp://ftp.x.org/R5contrib/berlage.motif.tar.Z , shows that
    they were written from scratch.]

[7] Copyright 1991 Addison-Wesley Publishing Company

    Permission to use, copy, modify, distribute, and sell this software and its
    documentation for any purpose is hereby granted without fee, provided that
    the above copyright notice appear in all copies and that both that
    copyright notice and this permission notice appear in supporting
    documentation, and that the name of Addison-Wesley not be used in
    advertising or publicity pertaining to distribution of the software without
    specific, written prior permission.  Addison-Wesley makes no representations
    about the suitability of this software for any purpose.  It is provided 
    as is" without express or implied warranty.

    ADDISON-WESLEY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
    INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
    SHALL ADDISON-WESLEY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
    DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
    PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
    ACTION, ARISING OUT OF OR IN  CONNECTION WITH THE USE OR PERFORMANCE OF
    THIS SOFTWARE.

    Berlage: OSF/MOTIF: CONCEPTS AND PROGRAMMING

    ISBN 0 201 55792 4

    To order please contact your local Addison-Wesley office.

    [Debian maintainer's note: The COPYRIGHT file referred to by the files
    iconwidget.c, icwid.h, and icwidp.h, and quoted above, is not included in
    the CERNLIB source code.  It, along with the original versions of those
    files (named IconWidget.c, IconWidget.h, and IconWidgetP.h, respectively),
    may be found in the materials distributed with the book _OSF/Motif:
    Concepts and Programming_, by Thomas Berlage, (C) 1991 Addison-Wesley
    Publishing Company, or downloadable by FTP from (e.g.)
    ftp://ftp.x.org/R5contrib/berlage.motif.tar.Z .]

[8] Copyright (c) 1991, Visual Edge Software Ltd.

    ALL  RIGHTS  RESERVED.   Permission to use, copy, modify, and
    distribute  this  software  and its documentation for any purpose
    and  without  fee  is  hereby  granted,  provided  that the above
    copyright  notice  appear  in  all  copies  and  that  both  that
    copyright  notice and this permission notice appear in supporting
    documentation,  and that  the name of Visual Edge Software not be
    used  in advertising  or publicity  pertaining to distribution of
    the software without specific, written prior permission. The year
    included in the notice is the year of the creation of the work.


DELETIA
-------

The following files and directories have been removed from the Debian source
package of CERNLIB due to license ambiguities or incompatibilities with the GPL
(e.g. positive BSD advertising clause).  If needed, they may be found in the
upstream source tarballs.

car/geanf.car
car/geanf321.car
car/jetset74.car
graflib/higz/igold/golini.F
packlib/cspack/sysreq/pwd_vms.h
packlib/cspack/sysreq/sgtty.h
packlib/cspack/vmsc/
packlib/fatmen/scripts/unix/ctab_root.dat
packlib/kernlib/kernbit/z037/astdoc.F
packlib/kernlib/kernbit/z037/fiopat.s