Files @ 4aeb4b25b2f2
Branch filter:

Location: Copyleft/guide/GPL-LGPL/filter-doc.plx

bkuhn
compliance-guide.tex was originally downloaded from the following URL:
http://softwarefreedom.org/resources/2008/compliance-guide.tex

Since I am herein committing an Adaptation of this compliance-guide.tex work
(this commit includes a one-line change made from the version as downloaded
above), this is now an Adaptation as defined by CC-By-SA-3.0-Unported §1(a).

I am thus hereby permitted, per CC-By-SA-3.0-Unported §4(b)(ii), to relicense
this work under CC-By-SA-4.0, because CC-By-SA has the same License Elements
as CC-By-SA-3.0-Unported. (Therefore, in this case, §4(b)(ii) defines the
"Applicable License" as CC-By-SA-4.0.)

Specifically, the following license text appears in compliance-guide.tex:

Copyright \copyright{} 2008, Software Freedom Law Center. Licensed
\href{http://creativecommons.org/licenses/by-sa/3.0/us/legalcode}{CC-BY-SA
3.0 unported}.

Here are the actions I took to comply with CC-By-SA-3.0-Unported §4(b)(ii):

§4(b)(I): Since the Applicable License is CC-By-SA-4.0, I've now included
the URI and reference to the copy of CC-By-SA-4.0 in this
repository as well.

§4(b)(II): No additional conditions are imposed.

§4(b)(III): This term is confusing. It claims I must "keep intact all
notices that refer to the Applicable License". Of course, the
Applicable License is now the new version of the license, so it
seems reasonable to interpret this clause as to allow, and
almost instruct, a change in reference to the 3.0 license to
the 4.0 license. However, that's not explicitly allowed for in
this section, but I can't come to any reasonable interpretation
of the clause other than updating the notice to refer to the
new license.

§4(b)(IV): No technological measures are imposed.
#!/usr/bin/perl -w
# Copyright (C) 200, 2001  Bradley M. Kuhn
#
#    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 2 of the License, 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 (in the file, "COPYING"; if not, write to the Free
#    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
#    02111-1307 USA


use strict;
use warnings;

my $type = $ARGV[0];

unless (defined $type) {
  print STDERR "usage: $0 TYPE\n";
  exit 1;
}
my $extraType;

if ($type eq "PS" || $type eq "HTML") {
  $extraType = "PS_HTML";
}

while (my $line = <STDIN>) {
  if ($line =~ /^\s*%+\s*FILTER[_\s]+$type\s*:\s+(.*)\s*$/) {
    $line = "$1\n";
  }
  if (defined $extraType and
      $line =~ /^\s*%+\s*FILTER[_\s]+$extraType\s*:\s+(.*)\s*$/) {
    $line = "$1\n";
  }
  print $line;
}