[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/01: Refactor packaging

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Mon Mar 16 12:32:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository virtualbox-ext-pack.

commit 914d5837489f45d3789906fb3fcc081b1cf4bf6b
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Mon Mar 16 13:32:40 2015 +0100

    Refactor packaging
---
 debian/LICENSE                               | 34 ++++++++++++++
 debian/changelog                             |  2 +-
 debian/control                               | 10 ++++
 debian/copyright                             | 70 ++++++++++++----------------
 debian/install                               |  1 +
 debian/postinst                              | 17 +++++--
 debian/source/format                         |  2 +-
 debian/virtualbox-ext-pack.lintian-overrides |  2 -
 8 files changed, 90 insertions(+), 48 deletions(-)

diff --git a/debian/LICENSE b/debian/LICENSE
new file mode 100644
index 0000000..14d0131
--- /dev/null
+++ b/debian/LICENSE
@@ -0,0 +1,34 @@
+VirtualBox Personal Use and Evaluation License (PUEL)
+
+License version 9, December 13, 2010
+
+ORACLE CORPORATION (“ORACLE”) IS WILLING TO LICENSE THE EXTENSION PACK (AS DEFINED IN § 1 BELOW) TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS VIRTUALBOX PERSONAL USE AND EVALUATION LICENSE AGREEMENT (“AGREEMENT”). PLEASE READ THE AGREEMENT CAREFULLY. BY DOWNLOADING OR INSTALLING THE EXTENSION PACK, YOU ACCEPT THE FULL TERMS OF THIS AGREEMENT.
+
+IF YOU ARE AGREEING TO THIS LICENSE ON BEHALF OF AN ENTITY OTHER THAN AN INDIVIDUAL PERSON, YOU REPRESENT THAT YOU ARE BINDING AND HAVE THE RIGHT TO BIND THE ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
+
+§ 1 Subject of Agreement. “Extension Pack”, as referred to in this Agreement, shall be the binary software package “Oracle VM VirtualBox Extension Pack”, an extension of the open-source VirtualBox virtualization software. VirtualBox allows for creating multiple virtual computers, each with different operating systems (“Guest Computers”), on a physical computer with a specific operating system (“Host Computer”) and for installing and executing these Guest Computers simultaneously. The Ext [...]
+
+§ 2 Grant of license. Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Extension Pack on a Host Computer for your Personal Use, Educational Use, or Evaluation. “Personal Use” requires that you use the Extension Pack on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers r [...]
+
+§ 3 Restrictions and Reservation of Rights. (1) Any use beyond the provisions of § 2 is prohibited. The Extension Pack and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. Oracle reserves all copyrights and other intellectual property rights. This includes, but is not limited to, the right to modify, make available or public, rent out, lease, lend or otherwise distribute the Extension Pack. This does not apply as far as applica [...]
+
+(2) You may not do any of the following: (a) modify the Extension Pack. However if the documentation accompanying the Extension Pack lists specific portions of the Extension Pack, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the documentation; (b) rent, lease, lend or encumber the Extension Pack; (c) remove or alter any proprietary legends or notices contained in the Extensio [...]
+
+(3) The Extension Pack is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility, and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses.
+
+(4) No right, title or interest in or to any trademark, service mark, logo or trade name of Oracle or its licensors is granted under this Agreement.
+
+§ 4 Termination. The Agreement is effective on the Date you receive the Extension Pack and remains effective until terminated. Your rights under this Agreement will terminate immediately without notice from Oracle if you materially breach it or take any action in derogation of Oracle's and/or its licensors' rights to the Extension Pack. Oracle may terminate this Agreement should any product become, or in Oracle's reasonable opinion likely to become, the subject of a claim of intellectual [...]
+
+§ 5 Disclaimer of Warranty. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, ORACLE PROVIDES THE EXTENSION PACK “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. The entire risk as to the quality and performance of the Extension Pack is with you. Should it prove defective [...]
+
+§ 6 Limitation of Liability. TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL ORACLE OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE EXTENSION PACK, EVEN IF ORACLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Oracle's liability to you, whether in  [...]
+
+§ 7 Third Party Code. Portions of the Extension Pack may be provided with notices and open source licenses from communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations You may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all the Extension Pack.
+
+§ 8 Export Regulations. The Extension Pack and all documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you.
+
+§ 9 U.S. Government Restricted Rights. If the Extension Pack is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in the Extension Pack and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions).
+
+§ 10 Miscellaneous. This Agreement is the entire agreement between you and Oracle relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in  [...]
+
diff --git a/debian/changelog b/debian/changelog
index f8d885e..26cf65a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-virtualbox-ext-pack (4.3.24-1) UNRELEASED; urgency=medium
+virtualbox-ext-pack (4.3.24) UNRELEASED; urgency=medium
 
   * Initial release
 
diff --git a/debian/control b/debian/control
index 9aab905..e0a2bd5 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,16 @@ Package: virtualbox-ext-pack
 Architecture: all
 Pre-Depends: virtualbox (>= 4.3) | virtualbox-4.3
 Depends: ${misc:Depends}
+Conflicts: virtualbox-2.0,
+           virtualbox-2.1,
+           virtualbox-2.2,
+           virtualbox-3.0,
+           virtualbox-3.1,
+           virtualbox-3.2,
+           virtualbox-4.0,
+           virtualbox-4.1,
+           virtualbox-4.2,
+           virtualbox-4.3
 Description: support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards
  VirtualBox requires an extension pack in order to provide support for RDP,
  as well as USB 2.0 and PXE booting for Intel network cards, etc.
diff --git a/debian/copyright b/debian/copyright
index e53f1ca..7351c15 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,40 +1,32 @@
-This package was debianized by Unit 193 <unit193 at ninthfloor.org> on
-Fri, 22 Feb 2013 03:00:32 -0500.
-
- In summary, the VirtualBox PUEL allows you to use VirtualBox free of charge
-
-    for personal use or, alternatively,
-    for product evaluation.
-
-In addition, academic use of VirtualBox is also permitted free of charge by the PUEL.
-
-   VirtualBox Personal Use and Evaluation License (PUEL)
-
-   https://www.virtualbox.org/wiki/VirtualBox_PUEL
-
-
-The Debian packaging is (C) Copyright 2013,
-Unit 193 and is licensed under the BSD license
-
-  Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions
-  are met:
-  1. Redistributions of source code must retain the above copyright
-     notice, this list of conditions and the following disclaimer.
-  2. 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.
-  3. The name of the author may not be used to endorse or promote products
-     derived from this software without specific prior written permission.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright:
+	2015 Unit 193 <unit193 at ubuntu.com>
+	2015 Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
+Comment: the downloaded package is released with a PUEL license.
+	https://www.virtualbox.org/wiki/VirtualBox_PUEL
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the University nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
  .
- THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..375bce5
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/LICENSE usr/share/virtualbox-ext-pack/
diff --git a/debian/postinst b/debian/postinst
index c79976d..6ded323 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -13,11 +13,18 @@ error ()
 
 
 if [ "$1" = "configure" ] ; then
-	cd /usr/share/virtualbox-ext-pack
-	echo "virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/$version/$file"
-	wget -q -N http://download.virtualbox.org/virtualbox/$version/$file
-	echo "$hash  $file" | sha256sum -c > /dev/null 2>&1 || error
-	vboxmanage extpack install --replace $file
+	less usr/share/virtualbox-ext-pack/LICENSE
+	echo -n "**** Do you agree ? [y/n] : "
+	read AGREE_EULA
+	if [ "y" != "${AGREE_EULA}" ] && [ "Y" != "${AGREE_EULA}" ] ; then
+		echo "**** Terminated by user, not installing the package"
+	else
+		cd /usr/share/virtualbox-ext-pack
+		echo "virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/$version/$file"
+		wget -q -N http://download.virtualbox.org/virtualbox/$version/$file
+		echo "$hash  $file" | sha256sum -c > /dev/null 2>&1 || error
+		vboxmanage extpack install --replace $file
+	fi
 fi
 
 #DEBHELPER#
diff --git a/debian/source/format b/debian/source/format
index 163aaf8..89ae9db 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (quilt)
+3.0 (native)
diff --git a/debian/virtualbox-ext-pack.lintian-overrides b/debian/virtualbox-ext-pack.lintian-overrides
index 9c470c4..e69de29 100644
--- a/debian/virtualbox-ext-pack.lintian-overrides
+++ b/debian/virtualbox-ext-pack.lintian-overrides
@@ -1,2 +0,0 @@
-virtualbox-ext-pack: package-contains-empty-directory usr/share/virtualbox-ext-pack/
-virtualbox-ext-pack: empty-binary-package

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git



More information about the Pkg-virtualbox-commits mailing list