[arch-projects] [devtools] [PATCH] Add a "License:" tag to all code files.

Luke Shumaker lukeshu at parabola.nu
Tue Mar 28 20:13:18 UTC 2017


In cases where there is no license specified, the file is tagged as
"License: Unspecified".  Obviously, that is not ideal, but it
highlights the fact, and I hope that it encourages whoever has the
authority to specify the license to do so.

On that note, to anyone who may have the authority to specify the
license of files in devtools: the current licence of many files is
GPLv2 with no option for later versions; I impore you to re-license
them to have the "or any later version" option.
---
 arch-nspawn.in     | 2 ++
 archbuild.in       | 1 +
 archco.in          | 1 +
 archrelease.in     | 1 +
 archrm.in          | 1 +
 bash_completion.in | 1 +
 checkpkg.in        | 1 +
 commitpkg.in       | 1 +
 crossrepomove.in   | 1 +
 find-libdeps.in    | 1 +
 finddeps.in        | 1 +
 lddd.in            | 1 +
 lib/archroot.sh    | 1 +
 lib/common.sh      | 2 ++
 lib/valid-tags.sh  | 1 +
 makechrootpkg.in   | 2 ++
 mkarchroot.in      | 2 ++
 rebuildpkgs.in     | 2 ++
 zsh_completion.in  | 1 +
 19 files changed, 24 insertions(+)

diff --git a/arch-nspawn.in b/arch-nspawn.in
index 5d5620d..9787415 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -1,4 +1,6 @@
 #!/bin/bash
+# License: GNU GPLv2
+#
 # 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 of the License.
diff --git a/archbuild.in b/archbuild.in
index 4d1b351..bb2577d 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 m4_include(lib/archroot.sh)
diff --git a/archco.in b/archco.in
index 2a58921..6088b8e 100644
--- a/archco.in
+++ b/archco.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/archrelease.in b/archrelease.in
index 6f52dbc..c56367f 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 m4_include(lib/valid-tags.sh)
diff --git a/archrm.in b/archrm.in
index 7c7139b..3173131 100644
--- a/archrm.in
+++ b/archrm.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/bash_completion.in b/bash_completion.in
index 10dad36..f5a3077 100644
--- a/bash_completion.in
+++ b/bash_completion.in
@@ -1,4 +1,5 @@
 #!/hint/bash
+# License: Unspecified
 
 _devtools_compgen() {
   local i r
diff --git a/checkpkg.in b/checkpkg.in
index 467ac74..da69df2 100644
--- a/checkpkg.in
+++ b/checkpkg.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 shopt -s extglob
 
diff --git a/commitpkg.in b/commitpkg.in
index 707a81c..6cf562f 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/crossrepomove.in b/crossrepomove.in
index d0964e3..0d1945c 100644
--- a/crossrepomove.in
+++ b/crossrepomove.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/find-libdeps.in b/find-libdeps.in
index b40f794..5c350a9 100644
--- a/find-libdeps.in
+++ b/find-libdeps.in
@@ -1,4 +1,5 @@
 #!/bin/bash
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/finddeps.in b/finddeps.in
index 7a2a3fb..89ccc41 100644
--- a/finddeps.in
+++ b/finddeps.in
@@ -2,6 +2,7 @@
 #
 # finddeps - find packages that depend on a given depname
 #
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/lddd.in b/lddd.in
index 43aa8c1..663d8ae 100644
--- a/lddd.in
+++ b/lddd.in
@@ -2,6 +2,7 @@
 #
 # lddd - find broken library links on your machine
 #
+# License: Unspecified
 
 m4_include(lib/common.sh)
 
diff --git a/lib/archroot.sh b/lib/archroot.sh
index d8d4a2e..46d4963 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -1,4 +1,5 @@
 #!/hint/bash
+# License: Unspecified
 
 CHROOT_VERSION='v4'
 
diff --git a/lib/common.sh b/lib/common.sh
index e64553b..9303e2e 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -1,5 +1,7 @@
 #!/hint/bash
 
+# License: Unspecified
+
 # Avoid any encoding problems
 export LANG=C
 
diff --git a/lib/valid-tags.sh b/lib/valid-tags.sh
index 9491b0a..e0a3b7c 100644
--- a/lib/valid-tags.sh
+++ b/lib/valid-tags.sh
@@ -1,4 +1,5 @@
 #!/hint/bash
+# License: Unspecified
 
 _arch=(
 	i686
diff --git a/makechrootpkg.in b/makechrootpkg.in
index ad99334..890a359 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -1,4 +1,6 @@
 #!/bin/bash
+# License: GNU GPLv2
+#
 # 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 of the License.
diff --git a/mkarchroot.in b/mkarchroot.in
index 3d7e396..21a7727 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -1,4 +1,6 @@
 #!/bin/bash
+# License: GNU GPLv2
+#
 # 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 of the License.
diff --git a/rebuildpkgs.in b/rebuildpkgs.in
index fb19258..75e7de0 100644
--- a/rebuildpkgs.in
+++ b/rebuildpkgs.in
@@ -1,4 +1,6 @@
 #!/bin/bash
+# License: Unspecified
+#
 # This script rebuilds a list of packages in order
 # and reports anything that fails
 # 
diff --git a/zsh_completion.in b/zsh_completion.in
index 4c6dd99..0f95a4c 100644
--- a/zsh_completion.in
+++ b/zsh_completion.in
@@ -1,4 +1,5 @@
 #compdef archbuild archco arch-nspawn archrelease archrm commitpkg finddeps makechrootpkg mkarchroot rebuildpkgs extrapkg=commitpkg corepkg=commitpkg testingpkg=commitpkg stagingpkg=commitpkg communitypkg=commitpkg community-testingpkg=commitpkg community-stagingpkg=commitpkg multilibpkg=commitpkg multilib-testingpkg=commitpkg extra-i686-build=archbuild extra-x86_64-build=archbuild testing-i686-build=archbuild testing-x86_64-build=archbuild staging-i686-build=archbuild staging-x86_64-build=archbuild multilib-build=archbuild multilib-testing-build=archbuild multilib-staging-build=archbuild kde-unstable-i686-build=archbuild kde-unstable-x86_64-build=archbuild gnome-unstable-i686-build=archbuild gnome-unstable-x86_64-build=archbuild communityco=archco
+# License: Unspecified
 
 m4_include(lib/valid-tags.sh)
 
-- 
2.12.0


More information about the arch-projects mailing list