220 Commits

Author SHA1 Message Date
Felix Geyer
f1301a2c5d Swap maven3 | maven build-dependency.
maven3 is not a package in Debian and buildds look only at the
first alternative.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:52 +01:00
Rohit Yadav
b9f705f238 debian: remove old cache after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d4ead2c72ad8d761b87e1672552a67c7cfeff51b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:39:43 +05:30
Wei Zhou
6fb9746e5e CLOUDSTACK-7316: usage server cannot start due to missing key in /etc/cloudstack/usage/ in Ubuntu setup 2014-12-15 09:22:52 +01:00
Rohit Yadav
518853ab43 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:04:30 +05:30
Hugo Trippaers
80846ba98a Bump debian package version to 4.6.0-SNAPSHOT as well 2014-11-03 10:36:13 +01:00
Rohit Yadav
4179ccbf55 debian: stop tomcat6 after installing cloudstack-management
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:34:44 +02:00
Rohit Yadav
28ad34e31e CLOUDSTACK-7038: Add mysql client dependency for mgmt server, rpms and debs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6a26e77514b955e5c9cbb00e51183ec74d3887a3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-20 12:17:34 +02:00
Wido den Hollander
097b2d711f debian: Do not depend on tomcat for building
No need for Tomcat when building the packages
2014-08-19 00:00:15 +02:00
Wido den Hollander
aac8b91cbe debian: Depend on qemu-system-x86 or qemu-kvm
The qemu-kvm package has become deprecated in Ubuntu 14.04 and
the right package to install would be qemu-system-x86

To maintain backwards compatibility for older Ubuntu LTS releases
we depend on qemu-system-x86 or qemu-kvm
2014-08-15 16:13:49 +02:00
Rohit Yadav
47625af7c3 CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6
Since we've agreed to use JDK/JRE 1.7, this enforces that for Ubuntu builds
- this fix remove usage of 1.6 paths in JDK_DIR for cloud-{agent, management, usage}.
- adds oracle jdk 1.7 path (in case a user is using that)
- adds mysql-connector-java path to CLASSPATH for usage server
- adds libmysql-java pkg dependency (tested and available for precise and trusty)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 96d6a2a03734ebbb9f41196d56c409d544a268ea)

Conflicts:
	packaging/debian/init/cloud-usage
Adds pessimistic logic to try the hard coded paths if Rajani's logic fails
2014-08-08 14:26:47 +02:00
Wido den Hollander
3d497f620b debian: Do not restart libvirt after agent upgrade.
This causes NFS storage pools to be lost and that can cause
problems in certain situations.
2014-03-26 16:50:54 +01:00
Wido den Hollander
b141641528 debian: cloudstack-management requires libmysql-java for SQL connection 2014-03-25 21:13:15 +01:00
Marcus Sorensen
d638d04cbf CLOUDSTACK-6181: Merge of resize root feature (resize-root branch) 2014-03-14 07:17:33 -06:00
Hugo Trippaers
4402685e11 Update master to 4.5.0-SNAPSHOT 2014-03-14 14:55:26 +01:00
Wido den Hollander
49a29ce0cf Switch to Java 7
We now require at least Java 7 to build and run CloudStack.

Both the DEB and RPM packaging now also require Java 7 during installation
of the packages.
2014-01-27 11:54:43 +01:00
Hugo Trippaers
b689e615c5 Bump the debian package version to 4.4.0-snapshot 2013-11-21 21:03:16 +01:00
Wei Zhou
eb4c52ebca Remove cloudmanagementserver.keystore from installation
(cherry picked from commit 38559223780fa0471f9b497102c3c727ae47382f)
2013-11-11 18:11:06 +01:00
Wei Zhou
57ba367f3c CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it (cherry picked from commit de448ec4792eda5b47d79b26e9cb8ce96a2b22f4) 2013-11-08 09:00:29 +01:00
Wei Zhou
7cdd2ef6ba add iptables/ethtool requirement on Agent in debian/control 2013-10-24 11:33:49 +02:00
Darren Shepherd
8f25ea8c0f Removing spring context files from debian build 2013-10-23 19:41:29 -07:00
Hugo Trippaers
ff336c3e9c Fix typo 2013-10-05 01:12:16 +02:00
Hugo Trippaers
2b47611c5d Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets 2013-10-04 18:12:57 +02:00
Wido den Hollander
e6fd794ca0 packaging: Do not depend on JNA and don't include it in the classpath
It's now packaged with maven due to libvirt 0.5.1 and will be included
in the classpath automatically.
2013-09-29 12:22:46 +02:00
Wei Zhou
a6bfd96021 add missing cloudstack-agent-upgrade in cloudstack-agent debian packages 2013-09-27 10:31:54 +02:00
Wei Zhou
522860c03d fix silly typo 2013-09-26 22:47:23 +02:00
ynojima
daec10e37a fix rpm/deb build error caused by moving systemvm to its own maven project 2013-09-24 10:51:01 -04:00
Wei Zhou
164e3e33b4 CLOUDSTACK-4405: change rpm and debian packaging to support automatic update (KVM upgrade)
Including following steps:
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
(cherry picked from commit a0988780ad88bb56becb0a13efedcd79c1bee142)

Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:35 +02:00
Wei Zhou
ff5ac2676e CLOUDSTACK-4533: fix two usage issues (db.properties and log4j-cloud.xml)
(1) Replacing db.properties with management server db.properties
(2) Rename log4j-cloud_usage.xml to log4j-cloud.xml
(cherry picked from commit fb97e8e617393ac86924304f2765e933cfa30a6a)
2013-09-06 08:06:39 +02:00
Wido den Hollander
97da9e70f5 debian: Remove .snapshot from version number to fix package build 2013-08-02 13:22:33 +02:00
Chip Childers
61cba68083 Updaging deb changelog 2013-08-01 10:37:47 -04:00
Rene Diepstraten
211b180d55 Replaced virsh() by python-libvirt functions
Signed-off-by: Rene Diepstraten <rene@renediepstraten.nl>
2013-07-25 18:10:58 +02:00
Wido den Hollander
6758d727a4 debian: Package server.xml and tomcat6.conf
This are symlinks to server-nonssl.xml and tomcat6-nonssl.conf, but
they are required for starting the management server.

Commit 2db7a4559e64e34b5c707157db240a1be322cb69 broke this.
2013-05-27 09:05:04 +02:00
Hiroaki KAWAI
f854f5df87 fix debian packaging
nfs-common is required for a basic NFS installation both in
management server and agent.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-27 14:54:07 +09:00
Wido den Hollander
2db7a4559e debian: Only package specified configuration files for management
Otherwise we will have duplicate / conflicting files with the AWSAPI package
2013-05-26 12:00:52 +02:00
Hiroaki KAWAI
dc822a83d7 fix debian packaging
*.in files must be processed by ReplaceTokens fliter.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-26 00:45:37 +09:00
Wido den Hollander
2336d478be debian: When building packages run a Maven clean first 2013-05-23 23:19:03 +02:00
Wido den Hollander
37308ebff4 debian: Create the webapps7080 directory 2013-05-21 14:36:03 +02:00
Wido den Hollander
730e6571f6 debian: Packaging fixes for AWSAPI 2013-05-21 13:20:44 +02:00
Wido den Hollander
b5bb9f251c debian: Change the version in the changelog 2013-05-14 15:56:36 +02:00
Chip Childers
207c288958 CLOUDSTACK-2218: Remove applicationContext.xml from the awsapi
installation logic for DEB

Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:

	debian/rules
2013-05-13 16:29:50 +01:00
Chip Childers
9abc21ceb9 Adding an optional env variable for DEB packaging to pick up additional profiles to package
Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:

	debian/rules
2013-04-23 16:39:35 +01:00
Wido den Hollander
15c26195c5 debian: Package the AWSAPI bridge 2013-04-13 11:12:39 +02:00
Wido den Hollander
d5d167cb97 CLOUDSTACK-1980: Add cloudstack-sysvmadm and cloudstack-setup-encryption
To the management server package.

cloudstack-setup-bridge should be a part of the cloudstack-awsapi package
2013-04-09 16:52:15 +02:00
Wido den Hollander
04a7fed35f CLOUDSTACK-1935: Rename tools from cloud-* to cloudstack-* 2013-04-08 17:21:41 +02:00
Wido den Hollander
aa23dcc956 debian: Install the LICENSE and NOTICE files
These will be installed in /usr/share/doc/<package>/
2013-04-05 18:52:48 +02:00
Wido den Hollander
a773ed88b7 debian: Management server packaging fixes
We should be carefull what we package since all configuration should
be in /etc/cloudstack/management

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2013-04-05 16:13:42 +02:00
Wido den Hollander
df48b6531d CLOUDSTACK-1589: Don't depend on chkconfig
Although this package is semi-available under Ubuntu/Debian we don't use it.

It's not used by the packages, so no reason to depend on it.
2013-04-04 21:10:33 +02:00
Wido den Hollander
d80d8d8a67 Remove db-enc.properties
This seemed to be used with Ant, but there is no other reference to this file.

It shouldn't be here and isn't used. It only confuses people.
2013-04-04 08:51:38 +02:00
Wido den Hollander
8ff24fcb18 debian: Copy the SystemVM ISO from a different location 2013-04-03 17:07:00 +02:00
Pradeep Soundararajan
6eac422943 CLOUDSTACK-1689: Adding ipset as part of agent install for debian
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-01 15:33:23 +01:00