[arch-commits] Commit in licenses/trunk (PKGBUILD w3c.txt)

Dan McGee dan at nymeria.archlinux.org
Sun Feb 3 00:38:36 UTC 2013


    Date: Sunday, February 3, 2013 @ 01:38:36
  Author: dan
Revision: 176952

upgpkg: licenses 20130203-1

* Fix location changes, MD5 sum mismatches, etc.
* Bump version number to date-based
* Add text version of w3c license
* build() -> package()

Added:
  licenses/trunk/w3c.txt
Modified:
  licenses/trunk/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++------------------------------
 w3c.txt  |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+), 38 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-03 00:24:05 UTC (rev 176951)
+++ PKGBUILD	2013-02-03 00:38:36 UTC (rev 176952)
@@ -2,7 +2,7 @@
 # Maintainer: Dan McGee <dan at archlinux.org>
 
 pkgname=licenses
-pkgver=2.9
+pkgver=20130203
 pkgrel=1
 pkgdesc="The standard licenses distribution package"
 arch=('any')
@@ -28,14 +28,14 @@
         http://www.gnu.org/licenses/fdl-1.2.txt
         http://www.gnu.org/licenses/fdl-1.3.txt
         http://www.latex-project.org/lppl.txt
-        http://www.mozilla.org/MPL/MPL-1.1.txt
+        mpl-1.1.txt::http://www.mozilla.org/MPL/1.1/index.txt
         perlartistic.txt
         http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
         php-3.0.txt::http://www.php.net/license/3_0.txt
-        ruby-license.txt::http://www.ruby-lang.org/en/LICENSE.txt
+        ruby-license.txt::http://www.ruby-lang.org/en/about/license.txt
         cpl-1.0.txt
         python-2.txt
-        w3c.html::http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+        w3c.txt
         ZopePublicLicense.txt)
 md5sums=('3b83ef96387f14655fc854ddc3c6bd57'
          'ffb24d1bbf8b83d373f0b8edc3feb0c6'
@@ -59,85 +59,82 @@
          'd09c120ca7db95ef2aeecec0cb08293b'
          'b4a94da2a1f918b217ef5156634fc9e0'
          'a45bb1bbeed9e26b26c5763df1d3913d'
-         '68d59ff8306e3a9f5f1c01462c77a317'
+         'f24b942d957112d759762054b6e7cf34'
          'f083e41c43db25e18f36c91e57750b64'
          'a055911c32fb4ed6e96c453ceaeba857'
-         'ce191478ab78ce8b3b6e3aebf48fe60f'
+         '6f2095b5d61770740852873b195a4d21'
          'dc8502850eab9e1ff330a12d7ca18a19')
 
-build() {
-  cd $pkgdir
+package() {
+  cd "$pkgdir"
   mkdir -p usr/share/licenses/common
   cd usr/share/licenses/common
 
   mkdir AGPL3
-  cp $srcdir/agpl-3.0.txt AGPL3/license.txt
+  cp "$srcdir"/agpl-3.0.txt AGPL3/license.txt
   ln -s AGPL3 AGPL
 
   mkdir Apache
-  cp $srcdir/apache-2.0.txt Apache/license.txt
+  cp "$srcdir"/apache-2.0.txt Apache/license.txt
   ln -s Apache APACHE
 
   mkdir Artistic2.0
-  cp $srcdir/artistic-2_0.txt Artistic2.0/license.txt
+  cp "$srcdir"/artistic-2_0.txt Artistic2.0/license.txt
 
   mkdir CCPL
-  cp $srcdir/cc-by-3.0.txt CCPL/
-  cp $srcdir/cc-by-nc-3.0.txt CCPL/
-  cp $srcdir/cc-by-nc-nd-3.0.txt CCPL/
-  cp $srcdir/cc-by-nc-sa-3.0.txt CCPL/
-  cp $srcdir/cc-by-nd-3.0.txt CCPL/
-  cp $srcdir/cc-by-sa-3.0.txt CCPL/
-  cp $srcdir/cc-readme.txt CCPL/
+  cp "$srcdir"/cc-by-3.0.txt CCPL/
+  cp "$srcdir"/cc-by-nc-3.0.txt CCPL/
+  cp "$srcdir"/cc-by-nc-nd-3.0.txt CCPL/
+  cp "$srcdir"/cc-by-nc-sa-3.0.txt CCPL/
+  cp "$srcdir"/cc-by-nd-3.0.txt CCPL/
+  cp "$srcdir"/cc-by-sa-3.0.txt CCPL/
+  cp "$srcdir"/cc-readme.txt CCPL/
 
   mkdir CDDL
-  cp $srcdir/cddl-1.0.txt CDDL/license.txt
+  cp "$srcdir"/cddl-1.0.txt CDDL/license.txt
 
   mkdir CPL
-  cp $srcdir/cpl-1.0.txt CPL/license.txt
+  cp "$srcdir"/cpl-1.0.txt CPL/license.txt
 
   mkdir EPL
-  cp $srcdir/eclipse-1.0.txt EPL/license.txt
+  cp "$srcdir"/eclipse-1.0.txt EPL/license.txt
 
   mkdir {GPL2,GPL3}
-  cp $srcdir/gpl-2.0.txt GPL2/license.txt
-  cp $srcdir/gpl-3.0.txt GPL3/license.txt
+  cp "$srcdir"/gpl-2.0.txt GPL2/license.txt
+  cp "$srcdir"/gpl-3.0.txt GPL3/license.txt
   ln -s GPL2 GPL
 
   mkdir {FDL1.2,FDL1.3}
-  cp $srcdir/fdl-1.2.txt FDL1.2/license.txt
-  cp $srcdir/fdl-1.3.txt FDL1.3/license.txt
+  cp "$srcdir"/fdl-1.2.txt FDL1.2/license.txt
+  cp "$srcdir"/fdl-1.3.txt FDL1.3/license.txt
   ln -s FDL1.2 FDL
 
   mkdir {LGPL2.1,LGPL3}
-  cp $srcdir/lgpl-2.1.txt LGPL2.1/license.txt
-  cp $srcdir/lgpl-3.0.txt LGPL3/license.txt
+  cp "$srcdir"/lgpl-2.1.txt LGPL2.1/license.txt
+  cp "$srcdir"/lgpl-3.0.txt LGPL3/license.txt
   ln -s LGPL2.1 LGPL
 
   mkdir LPPL
-  cp $srcdir/lppl.txt LPPL/license.txt
+  cp "$srcdir"/lppl.txt LPPL/license.txt
 
   mkdir MPL
-  cp $srcdir/MPL-1.1.txt MPL/license.txt
+  cp "$srcdir"/mpl-1.1.txt MPL/license.txt
 
   mkdir PerlArtistic
-  cp $srcdir/perlartistic.txt PerlArtistic/license.txt
+  cp "$srcdir"/perlartistic.txt PerlArtistic/license.txt
 
   mkdir PHP
-  cp $srcdir/php-3.0.txt PHP/license.txt
+  cp "$srcdir"/php-3.0.txt PHP/license.txt
   
   mkdir PSF
-  cp $srcdir/python-2.txt PSF/license.txt
+  cp "$srcdir"/python-2.txt PSF/license.txt
 
   mkdir RUBY
-  cp $srcdir/ruby-license.txt RUBY/license.txt
+  cp "$srcdir"/ruby-license.txt RUBY/license.txt
 
   mkdir W3C
-  # Text-ize the HTML version, prune the header and footer garbage
-  links -dump $srcdir/w3c.html |\
-      sed -n -e '/^Footer Navigation/ q' \
-      -e '/^ *W3C Software Notice and License/,$ p'> W3C/license.txt
+  cp "$srcdir"/w3c.txt W3C/license.txt
 
   mkdir ZPL
-  cp $srcdir/ZopePublicLicense.txt ZPL/license.txt
+  cp "$srcdir"/ZopePublicLicense.txt ZPL/license.txt
 }

Added: w3c.txt
===================================================================
--- w3c.txt	                        (rev 0)
+++ w3c.txt	2013-02-03 00:38:36 UTC (rev 176952)
@@ -0,0 +1,76 @@
+W3C Software Notice and License
+
+This work (and included software, documentation such as READMEs, or
+other related items) is being provided by the copyright holders under
+the following license.  
+
+License
+
+By obtaining, using and/or copying this work, you (the licensee) agree
+that you have read, understood, and will comply with the following
+terms and conditions.
+
+Permission to copy, modify, and distribute this software and its
+documentation, with or without modification, for any purpose and
+without fee or royalty is hereby granted, provided that you include
+the following on ALL copies of the software and documentation or
+portions thereof, including modifications:
+
+    - The full text of this NOTICE in a location viewable to users of
+      the redistributed or derivative work.
+
+    - Any pre-existing intellectual property disclaimers, notices, or
+      terms and conditions. If none exist, the W3C Software Short
+      Notice should be included (hypertext is preferred, text is
+      permitted) within the body of any redistributed or derivative
+      code.  
+        *"W3C Software Short Notice" above links to:
+         www.w3.org/Consortium/Legal/2002/copyright-software-short-notice-20021231.html
+
+    - Notice of any changes or modifications to the files, including
+      the date changes were made. (We recommend you provide URIs to
+      the location from which the code is derived.)
+
+Disclaimers
+
+THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
+HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
+DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
+TRADEMARKS OR OTHER RIGHTS.
+
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
+DOCUMENTATION.
+
+The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without specific,
+written prior permission. Title to copyright in this software and any
+associated documentation will at all times remain with copyright
+holders.  Notes
+
+This version:
+http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+
+This formulation of W3C's notice and license became active on December
+31 2002. This version removes the copyright ownership notice such that
+this license can be used with materials other than those owned by the
+W3C, reflects that ERCIM is now a host of the W3C, includes references
+to this specific dated version of the license, and removes the
+ambiguous grant of "use". Otherwise, this version is the same as the
+previous version and is written so as to preserve the Free Software
+Foundation's assessment of GPL compatibility and OSI's certification
+under the Open Source Definition.
+
+      *"previous version" above links to:
+       http://www.w3.org/Consortium/Legal/copyright-software-19980720
+
+      *"Free Software Foundation's assessment of GPL compatibility" links to:
+       http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses
+
+      *"OSI's certification" above links to:
+       http://opensource.org/licenses/W3C.php
+
+      *"Open Source Definition" above links to:
+       http://opensource.org/docs/definition.php




More information about the arch-commits mailing list