This file is indexed.

/usr/share/doc/libbeidlib3-dev/copyright is in libbeidlib3-dev 3.5.2.dfsg-10ubuntu3.

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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
This package was debianized by Wouter Verhelst <wouter@debian.org> in
2009. It was downloaded from http://code.google.com/p/eid-mw/

The copyright of this software was assigned to FedIct, the ICT services of the
Belgian Federal government.

As of version 3.5.2 of the software, the license is as follows:

/* ****************************************************************************

 * eID Middleware Project.
 * Copyright (C) 2008-2009 FedICT.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License version
 * 3.0 as published by the Free Software Foundation.
 *
 * This software 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, see
 * http://www.gnu.org/licenses/.

**************************************************************************** */

On Debian systems, a copy of the LGPL version 3 can be found in the file
/usr/share/common-licenses/LGPL-3

Note that the upstream source ships some compiled (windows/macos)
versions of the software, but the source is shipped right next to
them...

The old 2.6 version, parts of which are shipped in the packages
'beid-tools', 'libbeid2', and 'libbeidlibopensc2', and the corresponding
-dev and -dbg packages, consists of a slightly modified OpenSC and some
additional code specifically written for the Belgian electronic ID card.
The upstream authors of the OpenSC code are:

OpenSC developers <opensc-devel@opensc.org>
Juha Yrjölä <juha.yrjola@iki.fi>
Antti Tapaninen <aet@cc.hut.fi>
Timo Teräs <timo.teras@iki.fi>
Olaf Kirch <okir@caldera.de>

With additional modifications made by Zetes NV, the copyright of which
is owned by FedICT.

The copyright license on the 2.6 parts of the code is as follows:

-------------------------------------------------------------------------------
IMPORTANT -- READ CAREFULLY BEFORE USING THIS SOFTWARE: Do not install,
download or use the eID Toolkit software until you have read and
accepted this Agreement (including its Exhibit). By clicking on the
"Accept" button, installing, downloading or otherwise using the eID
Toolkit you agree to to be bound by the terms of this Agreement
(including its Exhibit). If you do not agree to the terms of this
Agreement (and/or its Exhibit), click on the "cancel" button and/or do
not install the eID Toolkit software.

eID Toolkit Software License

Whereas this eID Toolkit software is released in a final version;

Whereas this eID Toolkit is being provided by Fedict for no fee and for
wide use by any third party under the terms and conditions of this
Agreement;

Whereas this Agreement refers to an open-source library, being itself
based on open-source software, the terms and conditions of which are
included in the Exhibit, which need to be complied with by any party
using, reproducing, copying, modifying, displaying and distributing the
eID Toolkit;

Whereas this Agreement does not take away your freedom to share the eID
Toolkit and change it in order to enable its widest possible roll-out to
other potential users, provided that such use in relation to the eID
Toolkit complies with the terms and conditions set out in this Agreement
(including its Exhibit).


Article 1: Grant of license

The terms of this License Agreement (“License Agreement”) between
you, the licensee, and the Belgian Federal Government (“Fedict"), the
licensor, allow you, subject to the terms and limits set forth in this
License Agreement and its Exhibit (collectively "Agreement"), to receive
from Fedict a world-wide, royalty-free, non-exclusive, perpetual and
transferable right of using, reproducing, copying, modifying, displaying
and distributing the software set out in the Exhibit ("eID Toolkit ").


Article 2: Warranties of Licensor and Disclaimers

2.1. Since the eID Toolkit has not specifically been created and
tailored to address, and has not been based on, your specific needs,
Fedict does not warrant that the eID Toolkit will meet your specific
requirements or that the operation of the eID Toolkit will operate in
the specific combinations which you may select for use. As no software
is error-free, Fedict cannot guarantee that the eID Toolkit will operate
without interruption or be error free. 

2.2. Without prejudice to the above paragraph, this eID Toolkit is
provided by Fedict "AS IS" and any expressed or implied warranties other
than those laid down in provision 2.1, including, but not limited to,
the implied warranties of merchantability and fitness for a particular
purpose are disclaimed. 

2.3 This Agreement does not entitle you to receive any maintenance,
support (be it telephone, fax or email) or any other assistance with
respect to the eID Toolkit or with respect to any alteration made on the
eID Toolkit in any form whatsoever, including, but not limited to
additions, upgrades, improvements to the substance and structure of the
software ("Modifications").

Article 3: Licensee obligations

3.1. Any use, including, but not limited to, reproduction, copy,
modification, display and distribution, is subject to compliance with
the terms of this Agreement. You warrant that you will comply with the
terms of this Agreement including the licenses governing the libraries
or codes developed (and protected by intellectual property rights as the
case may be) by third parties, which have been used wholly or in part
for the development of the eID Toolkit, being embedded in the eID
application, linked to, being integrated into or compiled with other
libraries and codes to form the eID Toolkit ("Third-Party Work").

3.2. You may not copy, modify, sublicense, or distribute the eID Toolkit
otherwise than as expressly provided under this Agreement. Any attempt
otherwise to copy, modify, sublicense or distribute the eID Toolkit is
void, and will automatically terminate your rights under this Agreement.

3.3. Redistributions in source and binary forms, with our without
modification, must reproduce this Agreement including the licenses
governing the libraries or codes developed by third parties, which have
been used wholly or in part for the development of the eID Toolkit.

3.4. The name of Fedict may not be used to endorse or promote products
derived from this eID Toolkit without specific prior written permission.

3.5. Third parties who have received copies, or rights, from you under
this Agreement will not have their licenses terminated if you infringe
the terms of this Agreement, so long as such parties remain in full
compliance with these terms. 

Article 4: Liability

4.1. Under this Agreement, Fedict shall under no circumstances, except
for fraud or wilful misconduct, be liable for any indirect, special,
incidental or consequential damages, or for any loss of profits, loss of
data, loss of savings or business opportunity, trading losses, staff
costs or costs of staff turnover, computer failure or malfunction, IT
system break-down, business interruption or other technical or
operational damage of any dimension whatever, or other indirect,
consequential or punitive damages arising from or in connection with the
use of the eID Toolkit or of any modified or derivative work, or for any
other commercial damages or losses arising from the use of it. 

4.2. Fedict shall not be liable to indemnify you for any claims of
intellectual property right infringement, including contributory
infringement or inducement to infringe, of any intellectual property
claimed in the eID Toolkit by the authors of the Third-Party Works as
identified in the special notices in the Exhibit. You agree to
indemnify, defend and hold harmless Fedict against any and all claims,
demands, penalties, proceedings, losses, liabilities, damages of
whatsoever nature, costs, fees and expenses of any kind relating to in
any way directly or indirectly out of Modifications and/or the use of
the eID Toolkit alone or in combination with other devices, products,
software, services and/or materials, provided that Fedict notifies you
in writing of the claim and allows you to control and reasonably
cooperates with you in the defense of the claim and any related
settlement negotiations.  

4.3. Fedict shall not be responsible for (i) the consequences of
modifying the eID Toolkit, integrating the eID Toolkit in proprietary
products, or using the eID Toolkit in combination with other devices,
products, software, services and/or materials or (ii) determining
whether you require a license to or additonal rights from any of the
Third Party Works, obtaining any such license on its behalf, or paying
any fees relating to any such licenses, to the extent that such Third
Party Works are claimed to be open source products.

Article 5: Termination

5.1 The Agreement and all licenses granted by the Licensor hereunder
shall automatically terminate by law if you breach this Agreement. 

5.2 Upon termination of the Agreement, you shall cease all use of the
eID Toolkit and shall destroy all copies of the eID Toolkit within your
possession or control.

Article 6: General

6.1 If any term or provision of this Agreement is determined to be
illegal or unenforceable, such term or provision shall be deemed
stricken, and all other terms and provisions shall remain in full force
and effect. Each such provision shall be modified by the parties to the
extent necessary to make it valid, legal and enforceable whilst
preserving the intent of and balance between the parties. 

6.2 This Agreement constitutes the entire understanding and agreement
with respect to the eID Toolkit and supersedes all prior oral and
written communications.

6.3 This Agreement shall be governed by the laws of Belgium. Any dispute
that cannot be settled amicably shall be subject to the courts of
Brussels. 
Exhibit

Belgian eID Toolkit Specifications



This software package contains components from the following Open Source
projects:
- OpenSC (see http://www.opensc.org)
  license: GNU LESSER GENERAL PUBLIC LICENSE, version 2.1)
- OpenSSL (see http://www.openssl.org)
  license: OpenSSL en SSLeay)

The original license texts are available below.

		  GNU LESSER GENERAL PUBLIC LICENSE
		       Version 2.1, February 1999

[On Debian systems, the text of the LGPL version 2 is available under
/usr/share/common-licenses/LGPL-2]

------------------------------------------------------------------------



  LICENSE ISSUES
  ==============

  The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the OpenSSL License and the original SSLeay license apply to the toolkit.
  See below for the actual license texts. Actually both licenses are BSD-style Open Source licenses. In case of any license issues related to OpenSSL please contact openssl-core@openssl.org.

  OpenSSL License
  ---------------

/* ====================================================================
 * Copyright (c) 1998-2002 The OpenSSL Project.  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. All advertising materials mentioning features or use of this
 *    software must display the following acknowledgment:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
 *
 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please contact
 *    openssl-core@openssl.org.
 *
 * 5. Products derived from this software may not be called "OpenSSL"
 *    nor may "OpenSSL" appear in their names without prior written
 *    permission of the OpenSSL Project.
 *
 * 6. Redistributions of any form whatsoever must retain the following
 *    acknowledgment:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
 *
 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
 * EXPRESSED 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 OpenSSL PROJECT OR
 * ITS 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.
 * ====================================================================
 *
 * This product includes cryptographic software written by Eric Young
 * (eay@cryptsoft.com).  This product includes software written by Tim
 * Hudson (tjh@cryptsoft.com).
 *
 */

 Original SSLeay License
 -----------------------

/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
 * All rights reserved.
 *
 * This package is an SSL implementation written
 * by Eric Young (eay@cryptsoft.com).
 * The implementation was written so as to conform with Netscapes SSL.
 * 
 * This library is free for commercial and non-commercial use as long as
 * the following conditions are aheared to.  The following conditions
 * apply to all code found in this distribution, be it the RC4, RSA,
 * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
 * included with this distribution is covered by the same copyright terms
 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
 * 
 * Copyright remains Eric Young's, and as such any Copyright notices in
 * the code are not to be removed.
 * If this package is used in a product, Eric Young should be given attribution
 * as the author of the parts of the library used.
 * This can be in the form of a textual message at program startup or
 * in documentation (online or textual) provided with the package.
 * 
 * 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 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. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *    "This product includes cryptographic software written by
 *     Eric Young (eay@cryptsoft.com)"
 *    The word 'cryptographic' can be left out if the rouines from the library
 *    being used are not cryptographic related :-).
 * 4. If you include any Windows specific code (or a derivative thereof) from 
 *    the apps directory (application code) you must include an acknowledgement:
 *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
 * 
 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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.
 * 
 * The licence and distribution terms for any publically available version or
 * derivative of this code cannot be changed.  i.e. this code cannot simply be
 * copied and put under another distribution licence
 * [including the GNU Public Licence.]
 */

-------------------------------------------------------------------