Move out packaging to a seperate repo
Change-Id: I8bf303c3f6e3e55eee32e33d5af5b5667f0e8602
This commit is contained in:
committed by
Andrew Hutchings
parent
b635d8e9e9
commit
b870fd69d6
5
debian/changelog
vendored
5
debian/changelog
vendored
@@ -1,5 +0,0 @@
|
||||
libra (1.0-1) UNRELEASED; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Andrew Hutchings <andrew@linuxjedi.co.uk> Thu, 16 Nov 2012 14:26:59 +0000
|
||||
1
debian/compat
vendored
1
debian/compat
vendored
@@ -1 +0,0 @@
|
||||
9
|
||||
16
debian/control
vendored
16
debian/control
vendored
@@ -1,16 +0,0 @@
|
||||
Source: libra
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Andrew Hutchings (LinuxJedi)
|
||||
Build-Depends: debhelper (>=9), python-support (>=1.0), cdbs (>=0.4.111), python-all-dev, python-eventlet (>=0.9), python-gearman (>=2.0), python-daemon (>=1.5), python-novaclient (>=2.9), python-requests (>=0.12)
|
||||
Build-Depends-Indep: python-sphinx (>=1.0), rst2pdf (>=0.16)
|
||||
Standards-Version: 3.9.4
|
||||
Homepage: https://launchpad.net/libra
|
||||
|
||||
Package: libra
|
||||
Architecture: all
|
||||
XB-Python-Version: ${python-Versions}
|
||||
Depends: ${misc:Depends}, ${python:Depends}
|
||||
Provides: ${python:Provides}
|
||||
Description: Tools for an Openstack Load Balancer as a Service
|
||||
|
||||
21
debian/copyright
vendored
21
debian/copyright
vendored
@@ -1,21 +0,0 @@
|
||||
Format: http://dep.debian.net/deps/dep5
|
||||
Upstream-Name: libra
|
||||
Source: https://launchpad.net/libra/
|
||||
|
||||
Files: *
|
||||
Copyright: 2012 Hewlett-Packard Development Company, L.P.
|
||||
License: Apache 2.0
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
.
|
||||
On Debian systems, the complete text of the Apache License 2.0 can
|
||||
be found in "/usr/share/common-licenses/Apache-2.0"
|
||||
25
debian/libra.postinst
vendored
25
debian/libra.postinst
vendored
@@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
if [ -z "`id -u libra 2> /dev/null`" ]; then
|
||||
adduser --system --group --home /usr/lib/libra --gecos "Libra load balancer" \
|
||||
--no-create-home --disabled-password --quiet libra || true
|
||||
fi
|
||||
|
||||
ucf --three-way /usr/share/libra/sample_libra.cfg /etc/libra.cfg
|
||||
|
||||
if [ ! -d /var/log/libra ]; then
|
||||
mkdir /var/log/libra
|
||||
chown libra:libra /var/log/libra
|
||||
fi
|
||||
|
||||
if [ ! -d /var/run/libra ]; then
|
||||
mkdir /var/run/libra
|
||||
chown libra:libra /var/run/libra
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
12
debian/libra_pool_mgm.upstart
vendored
12
debian/libra_pool_mgm.upstart
vendored
@@ -1,12 +0,0 @@
|
||||
description "pool_mgm"
|
||||
|
||||
start on (net-device-up
|
||||
and local-filesystems
|
||||
and runlevel [2345])
|
||||
stop on runlevel [!2345]
|
||||
|
||||
script
|
||||
libra_pool_mgm -c /etc/libra.cfg
|
||||
|
||||
end script
|
||||
|
||||
12
debian/libra_statsd.upstart
vendored
12
debian/libra_statsd.upstart
vendored
@@ -1,12 +0,0 @@
|
||||
description "statsd"
|
||||
|
||||
start on (net-device-up
|
||||
and local-filesystems
|
||||
and runlevel [2345])
|
||||
stop on runlevel [!2345]
|
||||
|
||||
script
|
||||
libra_statsd -c /etc/libra.cfg
|
||||
|
||||
end script
|
||||
|
||||
12
debian/libra_worker.upstart
vendored
12
debian/libra_worker.upstart
vendored
@@ -1,12 +0,0 @@
|
||||
description "libra_worker"
|
||||
|
||||
start on (net-device-up
|
||||
and local-filesystems
|
||||
and runlevel [2345])
|
||||
stop on runlevel [!2345]
|
||||
|
||||
script
|
||||
libra_worker -c /etc/libra.cfg
|
||||
|
||||
end script
|
||||
|
||||
1
debian/pyversions
vendored
1
debian/pyversions
vendored
@@ -1 +0,0 @@
|
||||
2.7-
|
||||
12
debian/rules
vendored
12
debian/rules
vendored
@@ -1,12 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
|
||||
|
||||
%:
|
||||
dh $@ ${WITH_PYTHON2}
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=libra_worker
|
||||
dh_installinit --name=libra_pool_mgm --no-start
|
||||
dh_installinit --name=libra_statsd --no-start
|
||||
Reference in New Issue
Block a user