[Pkg-voip-commits] [ortp] 09/10: Add copyright-check helper tool.

Jonas Smedegaard dr at jones.dk
Thu Apr 27 10:26:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ortp.

commit ad994e3ff25364562d6daa9e82f499e344ad05fd
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Apr 27 12:26:08 2017 +0200

    Add copyright-check helper tool.
---
 debian/copyright       |  7 +++++++
 debian/copyright-check | 29 +++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/debian/copyright b/debian/copyright
index e011a65..539dfe4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -49,12 +49,19 @@ Files: debian/*
 Copyright: 2015 Felix Lechner <felix.lechner at gmail.com>
 License: GPL-2+
 
+Files: debian/copyright-check
+Copyright: 2016-2017, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
 License: LGPL-2.1+
 License-Reference: /usr/share/common-licenses/LGPL-2.1
 
 License: GPL-2+
 License-Reference: /usr/share/common-licenses/GPL-2
 
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
+
 License: BSD-3-Clause~author
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..ada4a70
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Copyright © 2016-2017  Jonas Smedegaard <dr at jones.dk>
+# Description: helper script to update copyright_hints
+#
+# 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 3, 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, see <http://www.gnu.org/licenses/>.
+
+set -eu
+
+# extract metadata from binary media files, and
+# skip binary media files without copyright/licensing metadata
+#export DEB_COPYRIGHT_EXTRACT_EXTS="png"
+#export DEB_COPYRIGHT_CHECK_IGNORE_EXTS="alaw mulaw mjr"
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/ortp.git



More information about the Pkg-voip-commits mailing list