Author: schoenfeld Date: 2009-12-08 09:02:35 +0000 (Tue, 08 Dec 2009) New Revision: 2048
Modified: trunk/debian/changelog trunk/scripts/licensecheck.pl Log: licensecheck: Add support for some common variants of the WTFPL Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2009-12-01 05:34:19 UTC (rev 2047) +++ trunk/debian/changelog 2009-12-08 09:02:35 UTC (rev 2048) @@ -1,9 +1,13 @@ devscripts (2.10.60) UNRELEASED; urgency=low + [ James Vega ] * NOT RELEASED YET - -- James Vega <[email protected]> Tue, 01 Dec 2009 00:33:13 -0500 + [ Patrick Schoenfeld ] + * licensecheck: Add support for some common variants of the WTFPL + -- Patrick Schoenfeld <[email protected]> Tue, 08 Dec 2009 10:01:04 +0100 + devscripts (2.10.59) unstable; urgency=low [ James Vega ] Modified: trunk/scripts/licensecheck.pl =================================================================== --- trunk/scripts/licensecheck.pl 2009-12-01 05:34:19 UTC (rev 2047) +++ trunk/scripts/licensecheck.pl 2009-12-08 09:02:35 UTC (rev 2048) @@ -518,6 +518,18 @@ $license = "zlib/libpng $license"; } + if ($licensetext =~ /Do What The Fuck You Want To Public License, Version ([^, ]+)/i) { + $license = "WTFPL (v$1)"; + } + + if ($licensetext =~ /Do what The Fuck You Want To Public License/i) { + $license = "WTFPL"; + } + + if ($licensetext =~ /(License WTFPL|Under (the|a) WTFPL)/i) { + $license = "WTFPL"; + } + $license = "UNKNOWN" if (!length($license)); return $license; -- To unsubscribe, send mail to [email protected].
