RPM: Add copyright files to rpms

Adds rule to package toplevel LICENSE and NOTICE files to the doc path.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
Exit code needs to be captured post nc output. Don't exec as cmd
debian: Have cloud-server depend on cloud-scripts
cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider.
find local storage based on name label
fix /root/.ssh directory creation for KVM
Since /root is r-x permissions, Java fails to mkdir /root/.ssh (even
though the agent is running as root) because it looks for the writable
permission. This patch modifies the 'chmod 700 /root/.ssh' shell command
that we already use into 'mkdir -m 700 /root/.ssh', to be able to create
the directory as root even though write permissions are not set on
/root. This seemed cleaner/safer than adding writable to /root.

Signed-off-by: Edison Su <sudison@gmail.com>
rpm: Have cloud-server depend on cloud-scripts
debian: Bump the version number to beta1
debian: Do not have cloud-agent depend on python

It depends on cloud-python and that depends on python already
debian: Do not have cloud-agent depend on libcommons-httpclient

Already done by cloud-agent-libs
debian: Fix dependencies around libcommons*java

Packages like cloud-agent were depending on various libcommons* packages
which are only used in the server and utils.

Correct the dependency for this
debian: Add docs to packages
debian: Don't have cloud-agent depend on libservlet2.5-java
debian: Fix version number for beta1

dpkg thought it was a downgrade from rc2 to beta1, add a epoch at the front
Avoid m2e complaining about unsupported plugins (according to http://s.apache.org/lZ0)
cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData.
KVM: Storage Pool collisions on ISOs due to using random UUID on pool
create

The code is unable to detect an existing pool, because we use a random
UUID each time. New Libvirt doesn't allow multiple pools to be defined
to the same storage.  This patch generates a UUID based on the storage
path, so that it can be detected as existing and reused. It also cleans
up no-op code and adjusts the naming of a few things to clean up any
confusion.

Signed-off-by: Edison Su <sudison@gmail.com>
CS-16400: Fix LB service using port 8080

Also added license header for passwd_server_ip

Ported from:

commit 1072ec7ae36911ed794c182a1146025a0e969ea9
Author: Sheng Yang <sheng.yang@citrix.com>
Date:   Wed Sep 12 11:15:33 2012 -0700

    CS-16318: Update the fix with some tweak

    1. The old fix run cloud-passwd-srvr twice because cloud-passwd-srvr is
still in the list of enabled_svcs

    2. The lock should be applied on serve_password.sh, which controlled the
accessing to the password. Applied on the MASTER/BACKUP switch is useless, two
instance of serve_password.sh would still able to access the password file at
the same time.

    3. Password service is a part of redundant router state transition process
now, so if the service failed to start, then the transition failed.

    4. Restart password service should be put before restart dnsmasq, which
would sent out DHCP offer to the user vms. If user VMs got the DHCP offer first
but failed to get password, there would be an issue.

    Reviewed-by: Anthony Xu

commit fa94da114099da357df7daa1aad3c327868393ca
Author: Jayapal Reddy <jayapalreddy.uradi@citrix.com>
Date:   Wed Sep 12 17:57:03 2012 +0530

    Bug:CS-16318 Starting password server on the both IPs in RRVM
    Reviewed-by: Abhi

Conflicts:

	patches/systemvm/debian/config/opt/cloud/bin/passwd_server
CS-15094: Fix multiply vlan of redundang router

This fix would work because:
1. When booting up the router, there is possible that no ip information have
been set for the interface(CS would do it after confirm router is up), so the
interface isn't associate with any ip, then ifconfig cannot work. We have to use
ifup, this is especially true for the first router become master.

2. After booting up phase, the ip would be associated with interfaces, then we
can use ifconfig to bring them up.
Revert "find local storage based on name label"

This reverts commit a95a9dc07c4edcfd1ef4c3ece955ce13f2223b79.