summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2018-12-26 09:26:39 -0500
committerReinhard Tartler <siretart@tauware.de>2018-12-26 10:00:14 -0500
commitceb64e04d5d07fc6c98dcef091f4420f5ee8d9e5 (patch)
tree25d5e145dc985a864e06ba279bb82ae997794c73
parent35259e4db4287d3b476ccf3fb4fcb094e337d0f7 (diff)
Add a README.Debian file
-rw-r--r--debian/README.Debian14
-rw-r--r--debian/copyright182
-rw-r--r--debian/slirp4netns.docs1
3 files changed, 180 insertions, 17 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index 39b561b..b53169d 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,6 +1,16 @@
slirp4netns for Debian
---------------------
-<possible notes regarding this package - if none, delete this file>
+On Debian 9 (stretch) system, access to user namespaces is restricted. In
+order to use this package, the following command enables this for all users:
- -- Reinhard Tartler <siretart@tauware.de> Sun, 23 Dec 2018 12:53:15 -0500
+sysctl -w kernel.unprivileged_userns_clone=1
+
+for a permanent solution:
+
+ echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
+ service procps restart
+
+For Debian 10 (buster) and later, this is no longer necessary.
+
+ -- Reinhard Tartler <siretart@tauware.de>, Wed, 26 Dec 2018 09:25:58 -0500
diff --git a/debian/copyright b/debian/copyright
index 64751ef..3fa462e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,20 +1,160 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: slirp4netns
-Source: <url://example.com>
+Source: https://github.com/rootless-containers/slirp4netns
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
- .
- <Including paragraphs>
+Copyright: 2018 Giuseppe Scrivano <gscrivan@redhat.com>
+ Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
+License: GPL-2+
-# If you want to use GPL v2 or later for the /debian/* files use
-# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
-Copyright: 2018 Reinhard Tartler <siretart@tauware.de>
+Copyright: 2018, Reinhard Tartler <siretart@tauware.de>
+License: GPL-2+
+
+Files: qemu/*
+Copyright: 1982, 1986, 1988, 1990-1994, The Regents of the University of California.
+License: BSD-3-clause
+
+Files: qemu/slirp/COPYRIGHT
+Copyright: 1995, 1996
+License: BSD-2-clause
+ Please fill license BSD-2-clause from header of qemu/slirp/COPYRIGHT
+
+Files: qemu/slirp/arp_table.c
+Copyright: 2011, AdaCore
+License: Expat
+
+Files: qemu/slirp/bootp.c
+ qemu/slirp/slirp.c
+Copyright: 2004-2008, Fabrice Bellard
+License: Expat
+
+Files: qemu/slirp/debug.h
+ qemu/slirp/if.c
+ qemu/slirp/if.h
+ qemu/slirp/main.h
+ qemu/slirp/misc.c
+ qemu/slirp/misc.h
+ qemu/slirp/sbuf.c
+ qemu/slirp/sbuf.h
+ qemu/slirp/socket.c
+ qemu/slirp/socket.h
+Copyright: 1995, Danny Gasparovski.
+License: Danny-SLIRP
+
+Files: qemu/slirp/dhcpv6.c
+Copyright: 2016, Thomas Huth, Red Hat Inc.
+License: GPL-2+
+
+Files: qemu/slirp/dhcpv6.h
+Copyright: 2016, Thomas Huth, Red Hat Inc.
+License: GPL-2+
+
+Files: qemu/slirp/dnssearch.c
+Copyright: 2012, Klaus Stengel
+License: Expat
+
+Files: qemu/slirp/ip6.h
+ qemu/slirp/ip6_icmp.c
+ qemu/slirp/ip6_icmp.h
+ qemu/slirp/ip6_input.c
+ qemu/slirp/ip6_output.c
+ qemu/slirp/ndp_table.c
+Copyright: 2013, Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.
+License: Danny-SLIRP
+
+Files: qemu/slirp/mbuf.c
+Copyright: 1995, Danny Gasparovski
+License: Danny-SLIRP
+
+Files: qemu/slirp/udp6.c
+Copyright: 2013, Guillaume Subiron
+License: Danny-SLIRP
+
+Files: rd235_libslirp/src/*
+Copyright: 2016, Renzo Davoli VirtualSquare
+License: LGPL-2.1+
+
+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:
+ 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.
+
+License: Danny-SLIRP
+ Copyright (c) 1995,1996 Danny Gasparovski. 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.
+ .
+ THIS SOFTWARE IS PROVIDED ``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
+ DANNY GASPAROVSKI 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.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+License: GPL-2
+ This software is Copyright (c) 2018 by foo.
+ .
+ This is free software, licensed under:
+ .
+ The GNU General Public License, Version 2, June 1991
+ .
+ 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; version 2 dated June, 1991.
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in '/usr/share/common-licenses/GPL-2'.
+
License: GPL-2+
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
@@ -32,7 +172,19 @@ License: GPL-2+
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid picking licenses with terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
+License: LGPL-2.1+
+ This library is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 2.1 of the License, or
+ (at your option) any later version.
+ .
+ This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
diff --git a/debian/slirp4netns.docs b/debian/slirp4netns.docs
index b43bf86..389dbb9 100644
--- a/debian/slirp4netns.docs
+++ b/debian/slirp4netns.docs
@@ -1 +1,2 @@
README.md
+debian/README.Debian