|
|
@ -7,64 +7,69 @@ 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 |
|
|
|
libnsl |
|
|
|
libvncserver |
|
|
|
alpine-sdk |
|
|
|
shadow |
|
|
|
linux-headers |
|
|
|
libnsl |
|
|
|
npm |
|
|
|
logrotate |
|
|
|
ronn |
|
|
|
npm |
|
|
|
mariadb-server-utils |
|
|
|
ronn |
|
|
|
mariadb-client |
|
|
|
mariadb |
|
|
|
libxml2 |
|
|
|
mariadb-client |
|
|
|
xmlrpc-c |
|
|
|
mariadb-server-utils |
|
|
|
g++ |
|
|
|
libxml2 |
|
|
|
ruby-nokogiri |
|
|
|
xmlrpc-c |
|
|
|
ruby-rexml |
|
|
|
ruby-nokogiri |
|
|
|
ruby-xmlrpc |
|
|
|
ruby-rexml |
|
|
|
ruby-bundler |
|
|
|
ruby-xmlrpc |
|
|
|
ruby-pg |
|
|
|
ruby-bundler |
|
|
|
ruby-augeas |
|
|
|
ruby-pg |
|
|
|
libpg_query" |
|
|
|
ruby-augeas |
|
|
|
makedepends="bash |
|
|
|
libpg_query" |
|
|
|
python2 |
|
|
|
makedepends="alpine-sdk |
|
|
|
libvncserver-dev |
|
|
|
bash |
|
|
|
gnutls-dev |
|
|
|
python2 |
|
|
|
libnsl-dev |
|
|
|
libvncserver-dev |
|
|
|
openssl-dev |
|
|
|
linux-headers |
|
|
|
sqlite-dev |
|
|
|
gnutls-dev |
|
|
|
czmq-dev |
|
|
|
libnsl-dev |
|
|
|
mariadb-dev |
|
|
|
openssl-dev |
|
|
|
ruby-dev |
|
|
|
sqlite-dev |
|
|
|
libxml2-dev |
|
|
|
czmq-dev |
|
|
|
xmlrpc-c-dev |
|
|
|
mariadb-dev |
|
|
|
scons |
|
|
|
ruby-dev |
|
|
|
make |
|
|
|
libxml2-dev |
|
|
|
augeas-dev |
|
|
|
xmlrpc-c-dev |
|
|
|
curl-dev |
|
|
|
scons |
|
|
|
libpq-dev" |
|
|
|
make |
|
|
|
|
|
|
|
augeas-dev |
|
|
|
|
|
|
|
curl-dev |
|
|
|
|
|
|
|
libpq-dev" |
|
|
|
install="${pkgname}.pre-install |
|
|
|
install="${pkgname}.pre-install |
|
|
|
${pkgname}.post-install |
|
|
|
${pkgname}.post-install |
|
|
|
${pkgname}.post-upgrade |
|
|
|
${pkgname}.post-upgrade |
|
|
|
${pkgname}.pre-deinstall |
|
|
|
${pkgname}.pre-deinstall |
|
|
|
${pkgname}.post-deinstall" |
|
|
|
${pkgname}.post-deinstall" |
|
|
|
source="https://github.com/OpenNebula/one/archive/release-${pkgver}.tar.gz |
|
|
|
source="https://github.com/OpenNebula/one/archive/release-${pkgver}.tar.gz |
|
|
|
svn.patch |
|
|
|
svn.patch |
|
|
|
opennebula |
|
|
|
opennebula |
|
|
|
opennebula-scheduler |
|
|
|
opennebula-scheduler |
|
|
|
opennebula-novnc |
|
|
|
opennebula-novnc |
|
|
|
opennebula-sunstone |
|
|
|
opennebula-sunstone |
|
|
|
opennebula-hem |
|
|
|
opennebula-hem |
|
|
|
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 |
|
|
|