pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Revise and expand discussion of variables. Avoid t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e905d9398d6
branches:  trunk
changeset: 530696:8e905d9398d6
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Jul 05 18:16:47 2007 +0000

description:
Revise and expand discussion of variables.  Avoid the phrase "the user
accepting the license"; that sounds too close to a contract issue.
Pkgsrc's license framework is merely about not building a package with
a license not on the ok list by accident, and is not intended to have
any contractual effects.

Split comment about 'package user" into separate concepts of
installing binary packages and running programs in packages.

Add XXX about how DEFAULT_ACCEPTABLE_LICENSES relates to the initial
value of ACCEPTABLE_LICENSES.

diffstat:

 mk/license.mk |  37 +++++++++++++++++++++++++++++--------
 1 files changed, 29 insertions(+), 8 deletions(-)

diffs (69 lines):

diff -r dde34e854758 -r 8e905d9398d6 mk/license.mk
--- a/mk/license.mk     Thu Jul 05 16:18:11 2007 +0000
+++ b/mk/license.mk     Thu Jul 05 18:16:47 2007 +0000
@@ -1,17 +1,27 @@
-# $NetBSD: license.mk,v 1.1 2007/07/03 05:08:12 rillig Exp $
+# $NetBSD: license.mk,v 1.2 2007/07/05 18:16:47 gdt Exp $
 #
 # Note: This file is in draft state and not yet actively used.
 #
 # This file handles everything about the LICENSE variable. It is
 # included automatically by bsd.pkg.mk.
 #
+# XXX: Some of this content arguably belongs in the pkgsrc guide
+# instead.
+#
 # === User-settable variables ===
 #
 # ACCEPTABLE_LICENSES
-#      The list of licenses that the package builder is willing to
-#      accept.
+#      If a package declares a license and that license is not a
+#      member of the list defined by this variable, pkgsrc will
+#      refuse to build the package.
 #
-#      XXX: We need a similar feature for the _user_ of the packages.
+#      XXX: pkg_install should also check LICENSE and decline to
+#      install if it is not in ACCEPTABLE_LICENSES.
+#
+#      XXX: Perhaps there should be some mechanism to prevent running
+#      programs that are part of packages that declare LICENSEs that
+#      are not in ACCEPTABLE_LICENSES or some per-user variable.
+#      This is surely controversial and requires discussion.
 #
 # === Package-settable variables ===
 #
@@ -22,9 +32,12 @@
 #      cases. Some packages use an OR-combination, while others use an
 #      AND-combination. Currently, pkgsrc can only handle a single
 #      license per package. For now, add a description of the licensing
-#      to ../doc/TODO, section "Licenses of packages".
+#      to ../doc/TODO, section "Licenses of packages".  Note that in
+#      such casesone can place the text of both licenses in
+#      licenses/foo-license and reference it.
 #
-#      Every package needs to specify its license, even if it is open
+#      Every package should specify its license.  (Prior to July 2007,
+#      Open Source and Free software did not have license tags.)
 #      source or free software.
 #
 #      The common licenses are collected in the licenses/ subdirectory
@@ -43,8 +56,16 @@
 # === Predefined variables ===
 #
 # DEFAULT_ACCEPTABLE_LICENSES
-#      The list of all licenses that did not require explicit tagging in
-#      pkgsrc packages before 2007Q3.
+#      This variable contains a list of licenses that before July,
+#      2007 did not require tagging because they were Open Source or
+#      Free.  The intent is to make it contain licenses that are Open
+#      Source or Free and not controversial, so as to provide a
+#      default that is pleasing to a large number of people.
+#
+#      XXX: Explain whether ACCEPTABLE_LICENSES takes on
+#      DEFAULT_ACCEPTABLE_LICENSES at the start of /etc/mk.conf.
+#      Arguably the new tagging rules should not result in a behavior
+#      change.
 #
 # === See also ===
 #



Home | Main Index | Thread Index | Old Index