--- yui-2.8.2r1~squeeze.orig/debian/README.Debian-source
+++ yui-2.8.2r1~squeeze/debian/README.Debian-source
@@ -0,0 +1,8 @@
+Upstream distributes a zip archive, so you need to repackage it to .tar.gz:
+
+uscan --repack --rename
+
+Afterwards import the new upstream tarball:
+
+git-import-orig --pristine-tar ../yui_2.8.0r4.orig.tar.gz
+
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui-doc.doc-base.yui-as-docs
+++ yui-2.8.2r1~squeeze/debian/libjs-yui-doc.doc-base.yui-as-docs
@@ -0,0 +1,9 @@
+Document: yui-as-docs
+Title: YUI Flash component documentation
+Author: Yahoo! Inc.
+Abstract: ActionScript class reference for YUI Flash components.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjs-yui-doc/as-docs/index.html
+Files: /usr/share/doc/libjs-yui-doc/as-docs/*.html
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui.install
+++ yui-2.8.2r1~squeeze/debian/libjs-yui.install
@@ -0,0 +1,3 @@
+build/* /usr/share/javascript/yui
+assets/* /usr/share/javascript/yui/assets
+releasenotes /usr/share/doc/libjs-yui
--- yui-2.8.2r1~squeeze.orig/debian/rules
+++ yui-2.8.2r1~squeeze/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ dh_clean
+
+build:
+
+install:
+
+binary: binary-indep
+
+binary-arch:
+
+binary-indep:
+ dh_testdir -i
+ dh_testroot -i
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_install -i
+
+ # Adjusting file locations
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc/examples -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../../../assets\E#/javascript/yui/assets#g;'
+
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc/examples -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../assets\E#/javascript/yui/assets#g;'
+
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc/examples -name "*.html" | \
+ xargs perl -pi -e 's#\Q../assets\E#/javascript/yui/assets#g;'
+
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc/examples -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../../2.x/build\E#/javascript/yui#g;'
+
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../build\E#/javascript/yui#g;'
+
+ find debian/libjs-yui-doc/usr/share/doc/libjs-yui-doc/examples -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../docs#/doc/libjs-yui-doc\E#g;'
+
+ find debian/libjs-yui/usr/share/javascript/yui -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../../../assets\E#/javascript/yui/assets#g;'
+
+ find debian/libjs-yui/usr/share/javascript/yui -name "*.html" | \
+ xargs perl -pi -e 's#\Q../../build\E#/javascript/yui#g;'
+
+ dh_lintian -i
+ dh_compress -i -X.js -X-js -X.json -X.php
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+.PHONY: clean build install binary binary-arch binary-indep
--- yui-2.8.2r1~squeeze.orig/debian/compat
+++ yui-2.8.2r1~squeeze/debian/compat
@@ -0,0 +1 @@
+7
--- yui-2.8.2r1~squeeze.orig/debian/control
+++ yui-2.8.2r1~squeeze/debian/control
@@ -0,0 +1,42 @@
+Source: yui
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
+Uploaders: Jaldhar H. Vyas <jaldhar@debian.org>,
+ Marcelo Jorge Vieira (metal) <metal@debian.org>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.9.1
+Homepage: http://developer.yahoo.com/yui/
+Vcs-Browser: http://git.debian.org/?p=pkg-javascript/yui.git
+Vcs-Git: git://git.debian.org/git/pkg-javascript/yui.git
+DM-Upload-Allowed: yes
+
+Package: libjs-yui
+Section: web
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: Yahoo User Interface Library
+ A collection of HTML, CSS, and JavaScript components for creating AJAX web
+ pages. The library currently includes:
+ .
+ * utility classes for animation, browser history, AJAX, cookies,
+ drag and drop. safe cross-site data retrieval, dynamic script/css loading,
+ image loading, selectors, JSON, resizing elements, DOM and browser events.
+ * Autocomplete, button, calendar, carousel, charts, color picker,
+ data table, file upload, image crop, menu, paginator, layout manager,
+ rich text editor, slider, tabview and treeview controls and a container
+ control that can be used for tooltips, panels, dialog boxes etc.
+ * A logging framework.
+ * A profiler
+ * A test framework
+ * Cascading stylesheets for browser-independent grids and fonts.
+
+Package: libjs-yui-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libjs-yui2 (= ${binary:Version})
+Description: Documentation and examples for the Yahoo User Interface Library
+ This package contains documentation and over 200 examples for the Yahoo
+ User Interface JavaScript library.
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui-doc.docs
+++ yui-2.8.2r1~squeeze/debian/libjs-yui-doc.docs
@@ -0,0 +1,2 @@
+docs/*
+as-docs/
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui.dirs
+++ yui-2.8.2r1~squeeze/debian/libjs-yui.dirs
@@ -0,0 +1 @@
+/usr/share/javascript/yui
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui.lintian-overrides
+++ yui-2.8.2r1~squeeze/debian/libjs-yui.lintian-overrides
@@ -0,0 +1 @@
+libjs-yui binary: embedded-javascript-library
--- yui-2.8.2r1~squeeze.orig/debian/changelog
+++ yui-2.8.2r1~squeeze/debian/changelog
@@ -0,0 +1,147 @@
+yui (2.8.2r1~squeeze-1) unstable; urgency=high
+
+ * New upstream version targeted at squeeze.
+ * This version updates the flash files included in the package to
+ address the issues in CVE-2010-4207, CVE-2010-4208, and CVE-2010-4209
+ (Closes: #603513, #601604)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 09 Dec 2010 06:58:09 -0500
+
+yui (2.8.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Mon, 10 May 2010 07:39:26 -0400
+
+yui (2.8.0r4-1) unstable; urgency=low
+
+ [ Thomas Koch ]
+ * New upstream version 2.8.0r4
+ * Removed Suggests: php. No reason to favour PHP here.
+ * Made dependency of libjs-yui-doc on libjs-yui a recommends.
+ * Added a lintian override for "embedded-javascript-library".
+ * Added libjs-yui.dirs to make sure /usr/share/javascript exists.
+
+ [ Jaldhar H. Vyas ]
+ * SECURITY] yui was mentioned in CVE-2007-2385 however the library
+ itself is not responsible for XSS issues. This is more to do with
+ the way applications are coded. (Closes: #557745)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Fri, 27 Nov 2009 01:19:47 -0500
+
+yui (2.7.0b-1) unstable; urgency=low
+
+ * New upstream version packaged at last. (Closes: #516259)
+ * Moved from experimental to unstable.
+ * Thanks Thomas Koch. <Thomas@koch.ro> for the following changes:
+ + delete *.orig files from upstream source
+ + Added release notes dir to debian/libjs-yui.install
+ + top-level README doesn't exist anymore. Removed it.
+ * Don't need lintian overrides anymore.
+ * Standards version bumped up to 3.8.1
+ * Updated description in debian/control
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Sun, 03 May 2009 22:47:20 -0400
+
+yui (2.6.0-2) experimental; urgency=low
+
+ * Split out the documentation and examples into a new package,
+ libjs-yui-doc (Closes: #510168)
+ * Updated README.Debian to rearrange information a bit, remove a mistaken
+ reference to prototype and give notice of the new package.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 29 Jan 2009 14:55:56 -0500
+
+yui (2.6.0-1) experimental; urgency=low
+
+ * Replacing obsolete dh_clean -k with dh_prep.
+ * Merging upstream version 2.6.0 (Closes: #500980).
+ * Removing useless whitespaces in debian/*.
+ * Rather than removing tree.css.orig from upstream sources through diff.gz,
+ we're just not removing it from the binary package instead.
+ * Upgrading package to debhelper 7.
+ * Sorting vcs fields in control.
+ * Removing useless ${shlibs:Depends} in control.
+ * Removing conflicts/replaces/provides yui, not required anymore.
+ * Downgrading depends to javascript-common to recommends as with the other
+ pkg-javascript packages.
+ * Removing double spaces and properly wrapping package long description in
+ control.
+ * Removing libjs-yui.dirs, not needed since we have libjs-yui.install already.
+ * Prefixing README.Debian with package name.
+ * Rewriting copyright file in machine-interpretable format.
+ * Using tabs rather than spaces in debhelper install file.
+ * Correcting package name in README.Debian.
+ * Correcting date string in REAMDE.Debian.
+ * Reordering README.Debian content.
+ * Rewriting rules file.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 10 Jan 2009 14:26:00 -0500
+
+yui (2.5.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * Package name, maintainer address and file locations changed to fit
+ proposed javascript policy. Please read
+ /usr/share/doc/libjs-yui/README.Debian
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Wed, 23 Jul 2008 11:04:35 -0400
+
+yui (2.5.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Wed, 26 Mar 2008 00:37:33 -0400
+
+yui (2.5.0-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Wed, 20 Feb 2008 18:12:24 -0500
+
+yui (2.4.1-2) unstable; urgency=low
+
+ * Oops, the symlink in /var/www had been left out.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Sat, 29 Dec 2007 12:47:11 -0500
+
+yui (2.4.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Sun, 23 Dec 2007 23:28:07 -0500
+
+yui (2.3.1-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fixed up all the url references so they point to the right files. Thus
+ a custom Apache configuration shouldn't be needed. (Closes: #410468)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 20 Sep 2007 00:35:11 -0400
+
+yui (2.2.2-1) unstable; urgency=low
+
+ * New upstream version.
+ * Suggest php5 | php4
+ * Update README.Debian to clarify the locations and default URLs of the
+ files
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Fri, 1 Jun 2007 16:58:12 -0400
+
+yui (2.2.0a-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Fri, 6 Apr 2007 14:46:56 -0400
+
+yui (0.12.2-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 8 Feb 2007 21:24:37 -0500
+
+yui (0.12.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #401815)
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Sun, 7 Jan 2007 00:20:35 -0500
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui.README.Debian
+++ yui-2.8.2r1~squeeze/debian/libjs-yui.README.Debian
@@ -0,0 +1,16 @@
+libjs-yui for Debian
+--------------------
+
+ * The documentation, examples, and ActionScript class references from the
+ upstream docs/ examples/ and as-docs/ directories which were formerly
+ contained in this package can now be found in the libjs-yui-doc package.
+
+ * The actual library files themselves (from the build/ and assets/ directories
+ upstream) are in:
+
+ /usr/share/javascript/yui
+
+ In order to make use of them in your html, use the URL
+ /javascript/yui/<filename>
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 29 Jan 2009 14:55:56 -0500
--- yui-2.8.2r1~squeeze.orig/debian/watch
+++ yui-2.8.2r1~squeeze/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://yuilibrary.com/downloads/ .*yui2/yui_(.*).zip
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui-doc.README.Debian
+++ yui-2.8.2r1~squeeze/debian/libjs-yui-doc.README.Debian
@@ -0,0 +1,23 @@
+File Locations/URLs
+-------------------
+
+ * The documentation in the upstream docs/ directory is in:
+
+ /usr/share/doc/libjs-yui-doc
+
+ You can access it at http://localhost/doc/libjs-yui-doc
+
+ * The examples are in
+
+ /usr/share/doc/libjs-yui-doc/examples
+
+ You can access them at http://localhost/doc/libjs-yui-doc/examples
+
+ * The ActionScript class references for the uploader and charts components
+ are in
+
+ /usr/share/doc/libjs-yui-doc/as-docs
+
+ You can access them at http://localhost/doc/libjs-yui-doc/as-docs
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 29 Jan 2009 10:46:00 -0400
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui.NEWS.Debian
+++ yui-2.8.2r1~squeeze/debian/libjs-yui.NEWS.Debian
@@ -0,0 +1,6 @@
+yui (2.6.0-2) experimental; urgency=low
+
+ The documentation and examples which used to be in this package have been
+ split out into a new package called libjs-yui-doc.
+
+ -- Jaldhar H. Vyas <jaldhar@debian.org> Thu, 29 Jan 2009 14:55:56 -0500
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui-doc.examples
+++ yui-2.8.2r1~squeeze/debian/libjs-yui-doc.examples
@@ -0,0 +1 @@
+examples/*
--- yui-2.8.2r1~squeeze.orig/debian/libjs-yui-doc.doc-base.yui-api
+++ yui-2.8.2r1~squeeze/debian/libjs-yui-doc.doc-base.yui-api
@@ -0,0 +1,9 @@
+Document: yui-api
+Title: YUI API documentation
+Author: Yahoo! Inc.
+Abstract: Explains how to use the Yahoo! User Interface Library in your own web sites.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjs-yui-doc/index.html
+Files: /usr/share/doc/libjs-yui-doc/*.html
--- yui-2.8.2r1~squeeze.orig/debian/copyright
+++ yui-2.8.2r1~squeeze/debian/copyright
@@ -0,0 +1,62 @@
+Author: Yahoo! Inc. http://groups.yahoo.com/group/ydn-javascript/
+Download: http://developer.yahoo.com/yui/
+
+Files: *
+Copyright: (C) 2006-2008 Yahoo! Inc.
+License: BSD
+ Redistribution and use of this software in source and binary forms,
+ with or without modification, are permitted provided that the
+ following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ * Neither the name of Yahoo! Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission of Yahoo! Inc.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: (C) 2007-2008 Jaldhar H. Vyas <jaldhar@debian.org>
+License: BSD
+ Redistribution and use of this software in source and binary forms,
+ with or without modification, are permitted provided that the
+ following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ * Neither the name of Yahoo! Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission of Yahoo! Inc.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.