Commit 2091e53b authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Add snf-image-{host,helper}/debian directories

Add snf-image-{host,helper}/debian directories for Debian packaging.
parent d984217b
snf-image-helper (0.1.2-1) UNRELEASED; urgency=low
* New upstream version
-- Constantinos Venetsanopoulos <cven@grnet.gr> Thu, 20 Oct 2011 13:24:28 +0300
snf-image-helper (0.1.1-1) UNRELEASED; urgency=low
* New upstream version (bugfix)
-- Constantinos Venetsanopoulos <cven@grnet.gr> Mon, 17 Oct 2011 13:24:28 +0300
snf-image-helper (0.1-1) unstable; urgency=low
* Initial release
-- Constantinos Venetsanopoulos <cven@grnet.gr> Tue, 04 Oct 2011 13:04:28 +0300
Source: snf-image-helper
Section: admin
Priority: extra
Maintainer: Constantinos Venetsanopoulos <cven@grnet.gr>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, automake
Standards-Version: 3.9.1
Homepage: https://code.grnet.gr/projects/snf-image
Vcs-Git: git://code.grnet.gr/git/snf-image
Vcs-Browser: https://code.grnet.gr/git/snf-image
Package: snf-image-helper
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, xmlstarlet,
e2fsprogs (>= 1.41.12), ntfs-3g, ntfsprogs
Breaks: ganeti (<< 1.2.7)
Replaces: snf-ganeti-instance-image
Enhances: ganeti
Description: Requisite for the snf-image Ganeti OS Provider
This package needs to be installed in the Helper VM that is
used by the snf-image-host Ganeti OS Provider. It implements the
communication between the OS Provider and the VM that customizes
the newly created Image.
.
The snf-image-host package should be installed on the host machine.
The snf-image-helper package should be installed inside the VM,
which is used by the snf-image-host package to customize the Image.
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
Upstream-Name: snf-image-helper
Upstream-Contact: Nikos Skalkotos <skalkoto@grnet.gr>
Source: https://code.grnet.gr/projects/snf-image
Files: *
Copyright: Copyright (C) 2011 Greek Research and Technology Network
Licence: GPL-2
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 program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
config.status: configure
configure:
dh_testdir
./autogen.sh
./configure $(CROSS) --prefix=/usr --localstatedir=/var --sysconfdir=/etc
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#docbook-to-man debian/ganeti-instance-image.sgml > ganeti-instance-image.1
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
rm -f config.sub config.guess
rm -rf aclocal.m4 autotools configure Makefile.in
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/ganeti-instance-image.
$(MAKE) DESTDIR=$(CURDIR)/debian/snf-image-helper install
# Remove duplicate COPYING file. It already exists
# under /usr/share/common-licences/ in debian systems
rm $(CURDIR)/debian/snf-image-helper/usr/share/doc/snf-image-helper/COPYING
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_python2
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
snf-image-host (0.1.2-1) UNRELEASED; urgency=low
* New upstream version (bugfix)
-- Constantinos Venetsanopoulos <cven@grnet.gr> Thu, 20 Oct 2011 13:24:28 +0300
snf-image-host (0.1.1-1) UNRELEASED; urgency=low
* New upstream version (bugfix)
-- Constantinos Venetsanopoulos <cven@grnet.gr> Mon, 17 Oct 2011 13:24:28 +0300
snf-image-host (0.1-1) unstable; urgency=low
* Initial release
-- Constantinos Venetsanopoulos <cven@grnet.gr> Tue, 04 Oct 2011 13:04:28 +0300
Source: snf-image-host
Section: admin
Priority: extra
Maintainer: Constantinos Venetsanopoulos <cven@grnet.gr>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, automake
Standards-Version: 3.9.1
Homepage: https://code.grnet.gr/projects/snf-image
Vcs-Git: git://code.grnet.gr/git/snf-image
Vcs-Browser: https://code.grnet.gr/git/snf-image
Package: snf-image-host
Architecture: all
Depends: ${misc:Depends}, kpartx, debootstrap, timelimit, curl,
qemu-kvm (>= 0.11), qemu-utils, mbr
Breaks: ganeti (<< 1.2.7)
Replaces: snf-ganeti-instance-image
Enhances: ganeti
Description: Image Based Ganeti OS Provider
Ganeti is a cluster virtual server management software tool built on
top of existing virtualization technologies such as Xen or KVM and
other Open Source software. Once installed, the tool will take over
the management part of the virtual instances.
.
This package provides an OS Provider for Ganeti, that allows the
installation of predefined or custom Images. It is the main provider
of the Synnefo Cloud Management Software.
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
Upstream-Name: snf-image
Upstream-Contact: Nikos Skalkotos <skalkoto@grnet.gr>
Source: https://code.grnet.gr/projects/snf-image
Files: *
Copyright: Copyright (C) 2011 Greek Research and Technology Network
Licence: GPL-2
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 program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
/var/lib/snf-image/helper
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
config.status: configure
configure:
dh_testdir
./autogen.sh
./configure $(CROSS) --prefix=/usr --localstatedir=/var --sysconfdir=/etc
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#docbook-to-man debian/ganeti-instance-image.sgml > ganeti-instance-image.1
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
rm -f config.sub config.guess
rm -rf aclocal.m4 autotools configure Makefile.in
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/ganeti-instance-image.
mkdir -p $(CURDIR)/debian/snf-image-host/etc/default
cp defaults $(CURDIR)/debian/snf-image-host/etc/default/snf-image
$(MAKE) DESTDIR=$(CURDIR)/debian/snf-image-host install
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment