replace non-free snprintf in sane-backends-extras
Fix leny2010/package-helpers#7 Bug 11795
This commit is contained in:
parent
b21dfd99d8
commit
6aa595c4e0
3 changed files with 1214 additions and 0 deletions
65
helpers/DATA/sane-backends-extras/copyright.snprintf
Normal file
65
helpers/DATA/sane-backends-extras/copyright.snprintf
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
Files: lib/snprintf.c
|
||||||
|
Copyright: 1993-2004 Patrick Powell, San Diego, CA <papowell@lprng.com>
|
||||||
|
License: GPL2+ with OpenSSL exception or Artistic License
|
||||||
|
|
||||||
|
License: GPL2+ with OpenSSL exception
|
||||||
|
.
|
||||||
|
*LPRng, IFHP, and LPRngTool LICENSE*
|
||||||
|
GNU GPL and Artistic License
|
||||||
|
.
|
||||||
|
(Version 5, 28 Aug 2003)
|
||||||
|
.
|
||||||
|
Copyright Patrick Powell, Astart Technologies
|
||||||
|
<papowell@lprng.com>
|
||||||
|
.
|
||||||
|
All rights reserved.
|
||||||
|
.
|
||||||
|
You may use "LPRng" or "IFHP" under either the terms of the GNU
|
||||||
|
GPL License or the Artistc License. These licenses are included
|
||||||
|
below. The licenses were obtained from the http://www.opensource.org
|
||||||
|
web site on 28 Aug 2003.
|
||||||
|
.
|
||||||
|
These Licenses apply to the computer software packages known as
|
||||||
|
"LPRng", "IFHP", and associated files. The "Package" or "Program"
|
||||||
|
below refers to the programs, files, and associated software which
|
||||||
|
are distributed as the package.
|
||||||
|
.
|
||||||
|
The "LPRng" Software Package is a copyrighted work whose copyright
|
||||||
|
is held by Patrick Powell.
|
||||||
|
.
|
||||||
|
The "IFHP" Software Package is a copyrighted work whose copyright
|
||||||
|
is held by Patrick Powell.
|
||||||
|
.
|
||||||
|
The "LPRngTool" Software Package is a copyrighted work whose copyright
|
||||||
|
is held by Patrick Powell.
|
||||||
|
.
|
||||||
|
BY MODIFYING OR DISTRIBUTING THE PROGRAM (OR ANY WORK BASED ON THE
|
||||||
|
PROGRAM), YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE TO DO SO, AND ALL
|
||||||
|
ITS TERMS AND CONDITIONS FOR COPYING, DISTRIBUTING OR MODIFYING THE
|
||||||
|
PROGRAM OR WORKS BASED ON IT. NOTHING OTHER THAN THIS LICENSE GRANTS
|
||||||
|
YOU PERMISSION TO MODIFY OR DISTRIBUTE THE PROGRAM OR ITS DERIVATIVE
|
||||||
|
WORKS. THESE ACTIONS ARE PROHIBITED BY LAW. IF YOU DO NOT ACCEPT THESE
|
||||||
|
TERMS AND CONDITIONS, DO NOT MODIFY OR DISTRIBUTE THE PROGRAM.
|
||||||
|
.
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
Addendum Fri Jun 21 17:06:33 PDT 2002
|
||||||
|
.
|
||||||
|
If you wish to distribute the LPRng source code or binaries of any
|
||||||
|
of the programs in the LPRng packages under terms of the GNU license,
|
||||||
|
then when any package or portion of the LPRng is configured to use
|
||||||
|
any facility or utility of the OpenSSL distribution, the additional
|
||||||
|
following clause will be applied, as recommended in the OpenSSL
|
||||||
|
0.9.6c release FAQ:
|
||||||
|
.
|
||||||
|
"This program is released under the GPL with the additional exemption that
|
||||||
|
compiling, linking, and/or using OpenSSL is allowed."
|
||||||
|
.
|
||||||
|
The complete text of the GNU General Public License
|
||||||
|
can be found in /usr/share/common-licenses/GPL-2 file.
|
||||||
|
|
||||||
|
License: Artistic-1.0
|
||||||
|
The complete text of the Artistic License
|
||||||
|
can be found in /usr/share/common-licenses/Artistic file.
|
||||||
1119
helpers/DATA/sane-backends-extras/snprintf.c
Normal file
1119
helpers/DATA/sane-backends-extras/snprintf.c
Normal file
File diff suppressed because it is too large
Load diff
30
helpers/make-sane-backends-extras
Normal file
30
helpers/make-sane-backends-extras
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 Andrew M. Lindley <andrew@andrewlindley.co.uk>
|
||||||
|
#
|
||||||
|
# This program 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 program 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, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
VERSION=1
|
||||||
|
|
||||||
|
. ./config
|
||||||
|
|
||||||
|
cp $DATA/snprintf.c ./lib/
|
||||||
|
cat $DATA/copyright.snprintf >> debian/copyright
|
||||||
|
|
||||||
|
changelog "Replace non-free snprintf #11795"
|
||||||
|
|
||||||
|
compile
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue