From 88b483af6ff78260dbbd19f74d95776a732b1112 Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Mon, 13 Aug 2007 16:31:54 -0400 Subject: [PATCH] Skeleton CDBS packaging for database packages svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=68 --- debian/compat | 2 +- debian/control | 18 ++++++++-------- debian/control.in | 25 ++++++++++++++++++++++ debian/copyright | 29 +++----------------------- debian/rules | 6 ++---- debian/sipb-xen-database-client-auto.install | 1 + debian/sipb-xen-database-common-auto.install | 1 + debian/sipb-xen-database-server-auto.install | 1 + 8 files changed, 43 insertions(+), 40 deletions(-) create mode 100644 debian/control.in create mode 100644 debian/sipb-xen-database-client-auto.install create mode 100644 debian/sipb-xen-database-common-auto.install create mode 100644 debian/sipb-xen-database-server-auto.install diff --git a/debian/compat b/debian/compat index 7ed6ff8..b8626c4 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +4 diff --git a/debian/control b/debian/control index cf84744..0df6d21 100644 --- a/debian/control +++ b/debian/control @@ -1,12 +1,12 @@ -Source: sipb-xen-database -Section: unknown +Source: sipb-xen-remctl-auto +Section: net Priority: extra -Maintainer: Nelson Elhage -Build-Depends: cdbs, cdbs, debhelper (>= 5) +Maintainer: SIPB Xen Project +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0) Standards-Version: 3.7.2 -Package: sipb-xen-database -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: - +Package: sipb-xen-remctl-auto +Architecture: all +Depends: ${misc:Depends}, remctl-server +Description: Installs the SIPB Xen automatic remctl management system + This is our automatic remctl configuration management system. diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..6248641 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,25 @@ +Source: sipb-xen-database +Section: net +Priority: extra +Maintainer: SIPB Xen Project +Build-Depends: @cdbs@ +Standards-Version: 3.7.2 + +Package: sipb-xen-database-common +Architecture: all +Depends: ${misc:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2 +Description: Installs the SIPB Xen database schema files + This contains the python modules to access the SIPB Xen database + + Package: sipb-xen-database-server +Architecture: all +Depends: ${misc:Depends}, postgresql-8.1, python-sqlalchemy, python-psycopg2, sipb-xen-database-common +Description: Installs the SIPB Xen database server + This tracks all the user VMs and is accessed from the VM host + +Package: sipb-xen-database-client +Architecture: all +Depends: ${misc:Depends}, python-sqlalchemy, python-psycopg2, sipb-xen-database-common +Description: Installs the SIPB Xen database configuration file + This is a python xen configuration script that talks to the database + to dynamically load xen domU configuration information diff --git a/debian/copyright b/debian/copyright index b6ab17f..7bddd1a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,26 +1,3 @@ -This is sipb-xen-database, written and maintained by Nelson Elhage -on Sun, 15 Jul 2007 16:01:16 -0400. - -The original source can always be found at: - ftp://ftp.debian.org/dists/unstable/main/source/ - -Copyright Holder: Nelson Elhage - -License: - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. +This package was created for internal use of the SIPB Xen Project of +the MIT Student Information Processing Board. Ask tabbott@mit.edu if +you have questions about redistribution. diff --git a/debian/rules b/debian/rules index 097bcf4..6bf6850 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,4 @@ #!/usr/bin/make -f - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/makefile.mk -# Add here any variable or target overrides you need. +DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 +include /usr/share/cdbs/1/rules/debhelper.mk diff --git a/debian/sipb-xen-database-client-auto.install b/debian/sipb-xen-database-client-auto.install new file mode 100644 index 0000000..3e1feba --- /dev/null +++ b/debian/sipb-xen-database-client-auto.install @@ -0,0 +1 @@ +client/* . diff --git a/debian/sipb-xen-database-common-auto.install b/debian/sipb-xen-database-common-auto.install new file mode 100644 index 0000000..b7d17a4 --- /dev/null +++ b/debian/sipb-xen-database-common-auto.install @@ -0,0 +1 @@ +common/* . diff --git a/debian/sipb-xen-database-server-auto.install b/debian/sipb-xen-database-server-auto.install new file mode 100644 index 0000000..bf66dce --- /dev/null +++ b/debian/sipb-xen-database-server-auto.install @@ -0,0 +1 @@ +server/* . -- 1.7.9.5