|
|
@ -7,18 +7,19 @@ pkgdesc="OpenNebula Server and Scheduler (Community Edition)" |
|
|
|
url="https://opennebula.io/" |
|
|
|
url="https://opennebula.io/" |
|
|
|
arch="x86_64" |
|
|
|
arch="x86_64" |
|
|
|
license="Apache" |
|
|
|
license="Apache" |
|
|
|
depends="libvncserver |
|
|
|
depends="g++ |
|
|
|
gnutls |
|
|
|
gnutls |
|
|
|
|
|
|
|
libvncserver |
|
|
|
|
|
|
|
shadow |
|
|
|
libnsl |
|
|
|
libnsl |
|
|
|
alpine-sdk |
|
|
|
logrotate |
|
|
|
linux-headers |
|
|
|
|
|
|
|
npm |
|
|
|
npm |
|
|
|
ronn |
|
|
|
ronn |
|
|
|
mariadb-server-utils |
|
|
|
mariadb |
|
|
|
mariadb-client |
|
|
|
mariadb-client |
|
|
|
|
|
|
|
mariadb-server-utils |
|
|
|
libxml2 |
|
|
|
libxml2 |
|
|
|
xmlrpc-c |
|
|
|
xmlrpc-c |
|
|
|
g++ |
|
|
|
|
|
|
|
ruby-nokogiri |
|
|
|
ruby-nokogiri |
|
|
|
ruby-rexml |
|
|
|
ruby-rexml |
|
|
|
ruby-xmlrpc |
|
|
|
ruby-xmlrpc |
|
|
@ -26,9 +27,11 @@ depends="libvncserver |
|
|
|
ruby-pg |
|
|
|
ruby-pg |
|
|
|
ruby-augeas |
|
|
|
ruby-augeas |
|
|
|
libpg_query" |
|
|
|
libpg_query" |
|
|
|
makedepends="bash |
|
|
|
makedepends="alpine-sdk |
|
|
|
|
|
|
|
bash |
|
|
|
python2 |
|
|
|
python2 |
|
|
|
libvncserver-dev |
|
|
|
libvncserver-dev |
|
|
|
|
|
|
|
linux-headers |
|
|
|
gnutls-dev |
|
|
|
gnutls-dev |
|
|
|
libnsl-dev |
|
|
|
libnsl-dev |
|
|
|
openssl-dev |
|
|
|
openssl-dev |
|
|
@ -58,13 +61,15 @@ source="https://github.com/OpenNebula/one/archive/release-${pkgver}.tar.gz |
|
|
|
opennebula-flow |
|
|
|
opennebula-flow |
|
|
|
opennebula-gate |
|
|
|
opennebula-gate |
|
|
|
opennebula-ssh-agent |
|
|
|
opennebula-ssh-agent |
|
|
|
opennebula.logrotate |
|
|
|
opennebula.logrotate" |
|
|
|
" |
|
|
|
|
|
|
|
builddir="$srcdir/" |
|
|
|
builddir="$srcdir/" |
|
|
|
|
|
|
|
|
|
|
|
prepare() { |
|
|
|
prepare() { |
|
|
|
cd "one-release-${pkgver}" |
|
|
|
cd "one-release-${pkgver}" |
|
|
|
patch -p0 < "${srcdir}/svn.patch" |
|
|
|
patch -p0 < "${srcdir}/svn.patch" |
|
|
|
|
|
|
|
npm config set prefix '~/.local/' |
|
|
|
|
|
|
|
prefix=~/.local/ |
|
|
|
npm config set python python2.7 |
|
|
|
npm config set python python2.7 |
|
|
|
npm install bower grunt -g |
|
|
|
npm install bower grunt -g |
|
|
|
} |
|
|
|
} |
|
|
@ -77,14 +82,14 @@ build() { |
|
|
|
package() { |
|
|
|
package() { |
|
|
|
cd "one-release-${pkgver}" |
|
|
|
cd "one-release-${pkgver}" |
|
|
|
|
|
|
|
|
|
|
|
install -D -m644 "${srcdir}/opennebula" "${pkgdir}/etc/init.d/opennebula" |
|
|
|
install -D -m755 "${srcdir}/opennebula" "${pkgdir}/etc/init.d/opennebula" |
|
|
|
install -D -m644 "${srcdir}/opennebula-scheduler" "${pkgdir}/etc/init.d/opennebula-scheduler" |
|
|
|
install -D -m755 "${srcdir}/opennebula-scheduler" "${pkgdir}/etc/init.d/opennebula-scheduler" |
|
|
|
install -D -m644 "${srcdir}/opennebula-novnc" "${pkgdir}/etc/init.d/opennebula-novnc" |
|
|
|
install -D -m755 "${srcdir}/opennebula-novnc" "${pkgdir}/etc/init.d/opennebula-novnc" |
|
|
|
install -D -m644 "${srcdir}/opennebula-sunstone" "${pkgdir}/etc/init.d/opennebula-sunstone" |
|
|
|
install -D -m755 "${srcdir}/opennebula-sunstone" "${pkgdir}/etc/init.d/opennebula-sunstone" |
|
|
|
install -D -m644 "${srcdir}/opennebula-hem" "${pkgdir}/etc/init.d/opennebula-hem" |
|
|
|
install -D -m755 "${srcdir}/opennebula-hem" "${pkgdir}/etc/init.d/opennebula-hem" |
|
|
|
install -D -m644 "${srcdir}/opennebula-flow" "${pkgdir}/etc/init.d/opennebula-flow" |
|
|
|
install -D -m755 "${srcdir}/opennebula-flow" "${pkgdir}/etc/init.d/opennebula-flow" |
|
|
|
install -D -m644 "${srcdir}/opennebula-gate" "${pkgdir}/etc/init.d/opennebula-gate" |
|
|
|
install -D -m755 "${srcdir}/opennebula-gate" "${pkgdir}/etc/init.d/opennebula-gate" |
|
|
|
install -D -m644 "${srcdir}/opennebula-ssh-agent" "${pkgdir}/etc/init.d/opennebula-ssh-agent" |
|
|
|
install -D -m755 "${srcdir}/opennebula-ssh-agent" "${pkgdir}/etc/init.d/opennebula-ssh-agent" |
|
|
|
install -D -m644 "${srcdir}/opennebula.logrotate" "${pkgdir}/etc/logrotate.d/opennebula.logrotate" |
|
|
|
install -D -m644 "${srcdir}/opennebula.logrotate" "${pkgdir}/etc/logrotate.d/opennebula.logrotate" |
|
|
|
|
|
|
|
|
|
|
|
DESTDIR="${pkgdir}" ./install.sh -u oneadmin -g cloud |
|
|
|
DESTDIR="${pkgdir}" ./install.sh -u oneadmin -g cloud |
|
|
|