summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2023-02-27 17:58:33 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2023-03-06 10:57:55 +0100
commitd9039b2409e69e651bf0d7ba582dbf528086332d (patch)
treedf09ea4104bfb0fbe13d120cbc536baee72ba7be /apt-pkg
parent5039c586a833b67f00fe5e480bf2f3e074cf7fc5 (diff)
Address statements of public domain
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/cmndline.cc4
-rw-r--r--apt-pkg/contrib/configuration.cc6
-rw-r--r--apt-pkg/contrib/error.cc4
-rw-r--r--apt-pkg/contrib/error.h4
-rw-r--r--apt-pkg/contrib/fileutl.cc8
-rw-r--r--apt-pkg/contrib/fileutl.h4
-rw-r--r--apt-pkg/contrib/macros.h4
-rw-r--r--apt-pkg/contrib/mmap.h6
-rw-r--r--apt-pkg/contrib/netrc.cc4
-rw-r--r--apt-pkg/contrib/netrc.h4
-rw-r--r--apt-pkg/contrib/strutl.cc4
-rw-r--r--apt-pkg/contrib/strutl.h4
12 files changed, 54 insertions, 2 deletions
diff --git a/apt-pkg/contrib/cmndline.cc b/apt-pkg/contrib/cmndline.cc
index b80543c91..998af2fd6 100644
--- a/apt-pkg/contrib/cmndline.cc
+++ b/apt-pkg/contrib/cmndline.cc
@@ -1,9 +1,13 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
Command Line Class - Sophisticated command line parser
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe <jgg@debian.org>.
diff --git a/apt-pkg/contrib/configuration.cc b/apt-pkg/contrib/configuration.cc
index 5a7db1bbf..1134ed667 100644
--- a/apt-pkg/contrib/configuration.cc
+++ b/apt-pkg/contrib/configuration.cc
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -8,9 +9,12 @@
for a tree-oriented configuration environment. All runtime configuration
is stored in here.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe <jgg@debian.org>.
-
+
##################################################################### */
/*}}}*/
// Include files /*{{{*/
diff --git a/apt-pkg/contrib/error.cc b/apt-pkg/contrib/error.cc
index ac53b9648..dd28af16d 100644
--- a/apt-pkg/contrib/error.cc
+++ b/apt-pkg/contrib/error.cc
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -7,6 +8,9 @@
We use a simple STL vector to store each error record. A PendingFlag
is kept which indicates when the vector contains a Sever error.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe.
diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h
index 24eead8d5..dd50b9cc4 100644
--- a/apt-pkg/contrib/error.h
+++ b/apt-pkg/contrib/error.h
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -31,6 +32,9 @@
if (open(..))
return _error->Errno(..);
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe.
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index 10c656301..fad51ded1 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -7,6 +8,9 @@
CopyFile - Buffered copy of a single file
GetLock - dpkg compatible lock file manipulation (fcntl)
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
Most of this source is placed in the Public Domain, do with it what
you will
It was originally written by Jason Gunthorpe <jgg@debian.org>.
@@ -14,6 +18,10 @@
The exception is RunScripts() it is under the GPLv2
+ We believe that this reference to GPLv2 was not meant to exclude later
+ versions as that would have changed the overall project license from GPL-2+
+ to GPL-2.
+
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h
index 6f808ac9b..970b11878 100644
--- a/apt-pkg/contrib/fileutl.h
+++ b/apt-pkg/contrib/fileutl.h
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -12,6 +13,9 @@
The file class is a handy abstraction for various functions+classes
that need to accept filenames.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe.
diff --git a/apt-pkg/contrib/macros.h b/apt-pkg/contrib/macros.h
index f37eb585b..c08cd24d9 100644
--- a/apt-pkg/contrib/macros.h
+++ b/apt-pkg/contrib/macros.h
@@ -1,9 +1,13 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
Macros Header - Various useful macro definitions
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Brian C. White.
diff --git a/apt-pkg/contrib/mmap.h b/apt-pkg/contrib/mmap.h
index 76db7b542..fe834d5ba 100644
--- a/apt-pkg/contrib/mmap.h
+++ b/apt-pkg/contrib/mmap.h
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -16,9 +17,12 @@
generators. It provides a large allocated workspace and members
to allocate space from the workspace in an efficient fashion.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe.
-
+
##################################################################### */
/*}}}*/
#ifndef PKGLIB_MMAP_H
diff --git a/apt-pkg/contrib/netrc.cc b/apt-pkg/contrib/netrc.cc
index a6f408c0e..ec694da75 100644
--- a/apt-pkg/contrib/netrc.cc
+++ b/apt-pkg/contrib/netrc.cc
@@ -1,10 +1,14 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
netrc file parser - returns the login and password of a give host in
a specified netrc-type file
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
Originally written by Daniel Stenberg, <daniel@haxx.se>, et al. and
placed into the Public Domain, do with it what you will.
diff --git a/apt-pkg/contrib/netrc.h b/apt-pkg/contrib/netrc.h
index 444397900..2d202d14b 100644
--- a/apt-pkg/contrib/netrc.h
+++ b/apt-pkg/contrib/netrc.h
@@ -1,10 +1,14 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
netrc file parser - returns the login and password of a give host in
a specified netrc-type file
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
Originally written by Daniel Stenberg, <daniel@haxx.se>, et al. and
placed into the Public Domain, do with it what you will.
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index 3a0a6eaa3..67100f1a2 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -8,6 +9,9 @@
things to strings. They are useful in file parsers, URI handlers and
especially in APT methods.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>
diff --git a/apt-pkg/contrib/strutl.h b/apt-pkg/contrib/strutl.h
index 8439af6fe..1fdc8dc99 100644
--- a/apt-pkg/contrib/strutl.h
+++ b/apt-pkg/contrib/strutl.h
@@ -1,4 +1,5 @@
// -*- mode: cpp; mode: fold -*-
+// SPDX-License-Identifier: GPL-2.0+
// Description /*{{{*/
/* ######################################################################
@@ -7,6 +8,9 @@
_strstrip is a function to remove whitespace from the front and end
of a string.
+ This file had this historic note, but now includes further changes
+ under the GPL-2.0+:
+
This source is placed in the Public Domain, do with it what you will
It was originally written by Jason Gunthorpe <jgg@gpu.srv.ualberta.ca>