[Sourcebo-commits] jlbec commits r86 - trunk

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jun 21 16:06:28 PDT 2007


Author: jlbec
Date: 2007-06-21 16:06:27 -0700 (Thu, 21 Jun 2007)
New Revision: 86

Modified:
   trunk/sb_gen_index
Log:

Make the licenses that are configured point to local files (/licences/NAME).
This way we can't get linkjacked.



Modified: trunk/sb_gen_index
===================================================================
--- trunk/sb_gen_index	2007-02-08 20:03:35 UTC (rev 85)
+++ trunk/sb_gen_index	2007-06-21 23:06:27 UTC (rev 86)
@@ -885,12 +885,17 @@
     return 0
 
 valid_licenses = {
-  'GPL': 'http://www.gnu.org/licenses/gpl.html',
-  'LGPL': 'http://www.gnu.org/licenses/lgpl.html',
-  'FDL': 'http://www.gnu.org/licenses/fdl.html',
-  'BSD': 'http://www.debian.org/misc/bsd.license',
-  'MPL': 'http://www.mozilla.org/MPL/',
-  'ARTISTIC': 'http://www.perl.com/pub/a/language/misc/Artistic.html'
+  'GPL': '/licenses/GPL-2',
+  'GPL-2': '/licenses/GPL-2',
+  'LGPL': '/licenses/LGPL-2.1',
+  'LGPL-2.1': '/licenses/LGPL-2.1',
+  'LGPL-2': '/licenses/LGPL-2',
+  'FDL': '/licenses/GFDL-1.2',
+  'GFDL': '/licenses/GFDL-1.2',
+  'GFDL-1.2': '/licenses/GFDL-1.2',
+  'BSD': '/licenses/BSD',
+  'MPL': '/licenses/MPL',
+  'ARTISTIC': '/licenses/Artistic'
 }
 
 def scan_home():




More information about the Sourcebo-commits mailing list