-Source: ruby-opennebula
+Source: ruby-opennebula-4.4
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: František Dvořák <valtri@civ.zcu.cz>
Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~)
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-opennebula.git
#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-opennebula.git;a=summary
Homepage: http://opennebula.org
XS-Ruby-Versions: all
-Package: ruby-opennebula
+Package: ruby-opennebula-4.4
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-json, ruby-nokogiri
# nokogiri (>= 0), json (>= 0)
-Description: OpenNebula Client API
- Libraries needed to talk to OpenNebula
+Provides: ruby-logstash-event
+Conflicts: ruby-logstash-event
+Description: OpenNebula Client API (OCA)
+ OpenNebula is an open source virtual infrastructure engine that enables the
+ dynamic deployment and re-placement of virtual machines on a pool of physical
+ resources.
+ .
+ ONE (OpenNebula) extends the benefits of virtualization platforms from a
+ single physical resource to a pool of resources, decoupling the server not
+ only from the physical infrastructure but also from the physical location.
+ .
+ This package provides the OpenNebula Cloud API (OCA) Ruby bindings.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: opennebula
-Source: FIXME <http://example.com/>
+Upstream-Name: OpenNebula
+Upstream-Contact: OpenNebula Project Leads (OpenNebula.org)
+Source: http://dev.opennebula.org/projects/opennebula/repository
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2010-2013, C12G Labs S.L
+ 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs
+License: Apache 2.0
Files: debian/*
Copyright: 2014 František Dvořák <valtri@civ.zcu.cz>
-License: GPL-2+ (FIXME)
+License: Apache 2.0
Comment: the Debian packaging is licensed under the same terms as the original package.
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+License: Apache 2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
.
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See the GNU General Public License for more
- details.
+ http://www.apache.org/licenses/LICENSE-2.0
.
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA 02110-1301 USA
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
.
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ On Debian systems, the full text of the Apache Software License version 2 can
+ be found in the file `/usr/share/common-licenses/Apache-2.0'.
--- /dev/null
+diff --git a/lib/opennebula.rb b/lib/opennebula.rb
+index 13e5b5b..12f46b8 100644
+--- a/lib/opennebula.rb
++++ b/lib/opennebula.rb
+@@ -15,8 +15,7 @@
+ #--------------------------------------------------------------------------- #
+
+
+-begin # require 'rubygems'
+- require 'rubygems'
++begin
+ rescue Exception
+ end
+
+diff --git a/lib/opennebula/ldap_auth.rb b/lib/opennebula/ldap_auth.rb
+index b6d965f..2b4f759 100644
+--- a/lib/opennebula/ldap_auth.rb
++++ b/lib/opennebula/ldap_auth.rb
+@@ -14,7 +14,6 @@
+ # limitations under the License. #
+ # ---------------------------------------------------------------------------- #
+
+-require 'rubygems'
+ require 'net/ldap'
+
+ module OpenNebula; end