Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
d66dea9c
Commit
d66dea9c
authored
2 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
community/opennebula: upgrade to 6.4.0
parent
a3244c05
No related branches found
No related tags found
1 merge request
!41506
community/opennebula: upgrade to 6.4.0
Pipeline
#144279
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/opennebula/APKBUILD
+19
-13
19 additions, 13 deletions
community/opennebula/APKBUILD
with
19 additions
and
13 deletions
community/opennebula/APKBUILD
+
19
−
13
View file @
d66dea9c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# TODO: Add server components.
# TODO: Add server components.
pkgname
=
opennebula
pkgname
=
opennebula
pkgver
=
5.12.12
pkgver
=
6.4.0
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"OpenNebula (currenty empty, install opennebula-tools instead)"
pkgdesc
=
"OpenNebula (currenty empty, install opennebula-tools instead)"
url
=
"https://opennebula.io"
url
=
"https://opennebula.io"
...
@@ -10,22 +10,30 @@ arch="noarch !s390x" # blocked by ruby-rbvmomi
...
@@ -10,22 +10,30 @@ arch="noarch !s390x" # blocked by ruby-rbvmomi
license
=
"Apache-2.0"
license
=
"Apache-2.0"
_depends_ruby
=
"
_depends_ruby
=
"
ruby
ruby
ruby-ipaddress
ruby-nokogiri
ruby-nokogiri
ruby-parse-cron
ruby-rbvmomi
ruby-rbvmomi
ruby-rexml
ruby-rexml
ruby-treetop
ruby-xmlrpc
ruby-xmlrpc
"
"
_depends_tools
=
"
_depends_tools
=
"
ruby
ruby
ruby-nokogiri
ruby-activesupport
ruby-opennebula=
$pkgver
-r
$pkgrel
"
makedepends
=
"
$_depends_ruby
$_depends_tools
bash
"
"
makedepends
=
"
$_depends_ruby
$_depends_tools
bash"
# The subpackages reflect names of the official Debian/Ubuntu packages.
# The subpackages reflect names of the official Debian/Ubuntu packages.
subpackages
=
"
subpackages
=
"
ruby-
$pkgname
:rubylibs:noarch
ruby-
$pkgname
:rubylibs:noarch
$pkgname
-tools::noarch
$pkgname
-tools::noarch
"
"
source
=
"https://github.com/OpenNebula/one/archive/release-
$pkgver
/
$pkgname
-
$pkgver
.tar.gz"
source
=
"https://github.com/OpenNebula/one/archive/release-
$pkgver
/
opennebula
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/one-release-
$pkgver
"
builddir
=
"
$srcdir
/one-release-
$pkgver
"
options
=
"!check"
# no tests provided
options
=
"!check"
# no tests provided
...
@@ -47,17 +55,16 @@ rubylibs() {
...
@@ -47,17 +55,16 @@ rubylibs() {
tools
()
{
tools
()
{
pkgdesc
=
"Command Line interface for OpenNebula"
pkgdesc
=
"Command Line interface for OpenNebula"
depends
=
"
$_depends_tools
ruby-opennebula=
$pkgver
-r
$pkgrel
"
depends
=
"
$_depends_tools
"
cd
"
$builddir
"
cd
"
$builddir
"
_gem_install opennebula-cli
_gem_install opennebula-cli
mkdir
-p
"
$subpkgdir
"
/etc/one/cli
install
-D
-m644
src/cli/etc/
*
.yaml
-t
"
$subpkgdir
"
/etc/one/cli/
install
-m
644
-t
"
$subpkgdir
"
/etc/one/cli src/cli/etc/
*
.yaml
}
}
_gem_install
()
{
_gem_install
()
{
local
gemname
=
$1
local
gemname
=
"
$1
"
local
gemdir
=
"
$subpkgdir
/
$(
ruby
-e
'puts Gem.default_dir'
)
"
local
gemdir
=
"
$subpkgdir
/
$(
ruby
-e
'puts Gem.default_dir'
)
"
local
geminstdir
=
"
$gemdir
/gems/
$gemname
-
$pkgver
"
local
geminstdir
=
"
$gemdir
/gems/
$gemname
-
$pkgver
"
...
@@ -70,12 +77,11 @@ _gem_install() {
...
@@ -70,12 +77,11 @@ _gem_install() {
--verbose
\
--verbose
\
./
$gemname
-
$pkgver
.gem
./
$gemname
-
$pkgver
.gem
rm
-rf
"
$gemdir
"
/cache
\
# Remove unnecessary files and rubbish...
"
$gemdir
"
/doc
\
(
cd
"
$gemdir
"
&&
rm
-r
cache build_info doc extensions plugins
)
"
$geminstdir
"
/LICENSE
\
(
cd
"
$geminstdir
"
&&
rm
-f
LICENSE NOTICE
)
"
$geminstdir
"
/NOTICE
}
}
sha512sums
=
"
sha512sums
=
"
7888c4acd994707ccaece464f9bd3d93dd668da73a1d0656b0440b7f46f53ea016555dca8f940d2d3afa88ac3361a0149f0a8529a6c9d0f04ad9baa029f5a9ae
opennebula-
5.12.12
.tar.gz
df1466a360dfe6e2ae1e22fe952830166d4069a88bd6171cc1951a8d56d3eead5ac65cf7e43a6021e687fd0bd836df81a367a2670b50ea0ca554d543c903da82
opennebula-
6.4.0
.tar.gz
"
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment