This file is indexed.

/usr/share/doc/nethack-console/copyright is in nethack-console 3.4.3-14.

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
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: nethack
Source: http://sourceforge.net/projects/nethack/files/

Files: *
Copyright: 1985-2003 Stichting Mathematisch Centrum and M. Stephenson
License: Nethack-General-Public-License

Files: include/winlisp.h
       src/windows.c
       win/tty/termcap.c
       win/lisp/ChangeLog
       win/lisp/winlisp.c
Copyright: 2003-2005 Shawn Betts <sabetts@vcn.bc.ca>
           2003-2005 Ryan Yeske <rcyeske@gmail.com>
License: BSD-3-clause

Files: debian/*
Copyright: 1996-1997 Paul Haggart <phaggart@debian.org>
           1997-2003 Ben Gertzfield <che@debian.org>
           2003-2009 Joshua Kwan <joshk@triplehelix.org>
           2012 Vincent Cheng <Vincentc1208@gmail.com>
License: GPL-2.0+

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
     * Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
     * 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.
     * Neither the name of the <organization> 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 COPYRIGHT HOLDERS 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 <COPYRIGHT HOLDER> 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.

License: GPL-2.0+
 This package is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This package 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 General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 .
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: Nethack-General-Public-License
                    NETHACK GENERAL PUBLIC LICENSE
                    (Copyright 1989 M. Stephenson)
 .
               (Based on the BISON general public license,
                   copyright 1988 Richard M. Stallman)
 .
 Everyone is permitted to copy and distribute verbatim copies of this
 license, but changing it is not allowed.  You can also use this wording to
 make the terms for other programs.
 .
 The license agreements of most software companies keep you at the mercy of
 those companies.  By contrast, our general public license is intended to give
 everyone the right to share NetHack.  To make sure that you get the rights we
 want you to have, we need to make restrictions that forbid anyone to deny you
 these rights or to ask you to surrender the rights.  Hence this license
 agreement.
 .
 Specifically, we want to make sure that you have the right to give away
 copies of NetHack, that you receive source code or else can get it if you
 want it, that you can change NetHack or use pieces of it in new free
 programs, and that you know you can do these things.
 .
 To make sure that everyone has such rights, we have to forbid you to
 deprive anyone else of these rights.  For example, if you distribute copies
 of NetHack, you must give the recipients all the rights that you have.  You
 must make sure that they, too, receive or can get the source code.  And you
 must tell them their rights.
 .
 Also, for our own protection, we must make certain that everyone finds out
 that there is no warranty for NetHack.  If NetHack is modified by someone
 else and passed on, we want its recipients to know that what they have is
 not what we distributed.
 .
 Therefore we (Mike Stephenson and other holders of NetHack copyrights) make
 the following terms which say what you must do to be allowed to distribute or
 change NetHack.
 .
 .
                        COPYING POLICIES
 .
 1. You may copy and distribute verbatim copies of NetHack source code as
 you receive it, in any medium, provided that you keep intact the notices on
 all files that refer to copyrights, to this License Agreement, and to the
 absence of any warranty; and give any other recipients of the NetHack
 program a copy of this License Agreement along with the program.
 .
 2. You may modify your copy or copies of NetHack or any portion of it, and
 copy and distribute such modifications under the terms of Paragraph 1 above
 (including distributing this License Agreement), provided that you also do the
 following:
 .
    a) cause the modified files to carry prominent notices stating that you
    changed the files and the date of any change; and
 .
    b) cause the whole of any work that you distribute or publish, that in
    whole or in part contains or is a derivative of NetHack or any part
    thereof, to be licensed at no charge to all third parties on terms
    identical to those contained in this License Agreement (except that you
    may choose to grant more extensive warranty protection to some or all
    third parties, at your option)
 .
    c) You may charge a distribution fee for the physical act of
    transferring a copy, and you may at your option offer warranty protection
    in exchange for a fee.
 .
 3. You may copy and distribute NetHack (or a portion or derivative of it,
 under Paragraph 2) in object code or executable form under the terms of
 Paragraphs 1 and 2 above provided that you also do one of the following:
 .
    a) accompany it with the complete machine-readable source code, which
    must be distributed under the terms of Paragraphs 1 and 2 above; or,
 .
    b) accompany it with full information as to how to obtain the complete
    machine-readable source code from an appropriate archive site.  (This
    alternative is allowed only for noncommercial distribution.)
 .
 For these purposes, complete source code means either the full source
 distribution as originally released over Usenet or updated copies of the
 files in this distribution used to create the object code or executable.
 .
 4. You may not copy, sublicense, distribute or transfer NetHack except as
 expressly provided under this License Agreement.  Any attempt otherwise to
 copy, sublicense, distribute or transfer NetHack is void and your rights to
 use the program under this License agreement shall be automatically
 terminated.  However, parties who have received computer software programs
 from you with this License Agreement will not have their licenses terminated
 so long as such parties remain in full compliance.
 .
 Stated plainly:  You are prohibited by the terms of this License Agreement
 from using NetHack for gainful purposes.  You are permitted to modify
 NetHack, or otherwise use parts of NetHack, provided that you comply with
 the conditions specified above; in particular, your modified NetHack or
 program containing parts of NetHack must remain freely available as provided
 in this License Agreement.  In other words, go ahead and share NetHack, but
 don't try to stop anyone else from sharing it farther.