Revision 2091e53b

b/snf-image-helper/debian/changelog
1
snf-image-helper (0.1.2-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version
4

  
5
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Thu, 20 Oct 2011 13:24:28 +0300
6

  
7
snf-image-helper (0.1.1-1) UNRELEASED; urgency=low
8

  
9
  * New upstream version (bugfix)
10

  
11
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Mon, 17 Oct 2011 13:24:28 +0300
12

  
13
snf-image-helper (0.1-1) unstable; urgency=low
14

  
15
  * Initial release
16

  
17
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Tue, 04 Oct 2011 13:04:28 +0300
b/snf-image-helper/debian/compat
1
7
b/snf-image-helper/debian/control
1
Source: snf-image-helper
2
Section: admin
3
Priority: extra
4
Maintainer: Constantinos Venetsanopoulos <cven@grnet.gr>
5
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, automake
6
Standards-Version: 3.9.1
7
Homepage: https://code.grnet.gr/projects/snf-image
8
Vcs-Git: git://code.grnet.gr/git/snf-image
9
Vcs-Browser: https://code.grnet.gr/git/snf-image
10

  
11
Package: snf-image-helper
12
Architecture: all
13
Depends: ${python:Depends}, ${misc:Depends}, xmlstarlet,
14
 e2fsprogs (>= 1.41.12), ntfs-3g, ntfsprogs
15
Breaks: ganeti (<< 1.2.7)
16
Replaces: snf-ganeti-instance-image
17
Enhances: ganeti
18
Description: Requisite for the snf-image Ganeti OS Provider
19
 This package needs to be installed in the Helper VM that is
20
 used by the snf-image-host Ganeti OS Provider. It implements the
21
 communication between the OS Provider and the VM that customizes
22
 the newly created Image.
23
 .
24
 The snf-image-host package should be installed on the host machine.
25
 The snf-image-helper package should be installed inside the VM,
26
 which is used by the snf-image-host package to customize the Image. 
b/snf-image-helper/debian/copyright
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-image-helper
3
Upstream-Contact: Nikos Skalkotos <skalkoto@grnet.gr>
4
Source: https://code.grnet.gr/projects/snf-image
5

  
6
Files: *
7
Copyright: Copyright (C) 2011 Greek Research and Technology Network
8
Licence: GPL-2
9
 This program is free software; you can redistribute it and/or modify
10
 it under the terms of the GNU General Public License as published by
11
 the Free Software Foundation; either version 2 of the License, or
12
 (at your option) any later version.
13
 .
14
 This program is distributed in the hope that it will be useful,
15
 but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 GNU General Public License for more details.
18
 .
19
 You should have received a copy of the GNU General Public License along
20
 with this program; if not, write to the Free Software Foundation, Inc.,
21
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
 .
23
 On Debian systems, the full text of the GNU General Public
24
 License version 2 can be found in the file
25
 `/usr/share/common-licenses/GPL-2'.
b/snf-image-helper/debian/rules
1
#!/usr/bin/make -f
2
# -*- makefile -*-
3

  
4
# Uncomment this to turn on verbose mode.
5
#export DH_VERBOSE=1
6

  
7

  
8
config.status: configure
9

  
10
configure:
11
	dh_testdir
12
	./autogen.sh
13
	./configure $(CROSS) --prefix=/usr --localstatedir=/var --sysconfdir=/etc
14

  
15

  
16
build: build-arch build-indep
17

  
18
build-arch: build-stamp
19

  
20
build-indep: build-stamp
21

  
22
build-stamp:  config.status 
23
	dh_testdir
24

  
25
	# Add here commands to compile the package.
26
	$(MAKE)
27
	#docbook-to-man debian/ganeti-instance-image.sgml > ganeti-instance-image.1
28

  
29
	touch $@
30

  
31
clean: 
32
	dh_testdir
33
	dh_testroot
34
	rm -f build-stamp 
35

  
36
	# Add here commands to clean up after the build process.
37
	[ ! -f Makefile ] || $(MAKE) distclean
38
	rm -f config.sub config.guess
39
	rm -rf aclocal.m4 autotools configure Makefile.in
40

  
41
	dh_clean 
42

  
43
install: build
44
	dh_testdir
45
	dh_testroot
46
	dh_prep
47
	dh_installdirs
48

  
49
	# Add here commands to install the package into debian/ganeti-instance-image.
50
	$(MAKE) DESTDIR=$(CURDIR)/debian/snf-image-helper install
51
	# Remove duplicate COPYING file. It already exists
52
	# under /usr/share/common-licences/ in debian systems
53
	rm $(CURDIR)/debian/snf-image-helper/usr/share/doc/snf-image-helper/COPYING
54

  
55

  
56
# Build architecture-independent files here.
57
binary-indep: build install
58
	dh_testdir
59
	dh_testroot
60
	dh_installchangelogs ChangeLog
61
	dh_installdocs
62
	dh_installexamples
63
	dh_install
64
#	dh_installmenu
65
#	dh_installdebconf	
66
#	dh_installlogrotate
67
#	dh_installemacsen
68
#	dh_installpam
69
#	dh_installmime
70
	dh_python2
71
#	dh_installinit
72
#	dh_installcron
73
#	dh_installinfo
74
	dh_installman
75
	dh_link
76
	dh_strip
77
	dh_compress
78
	dh_fixperms
79
#	dh_perl
80
#	dh_makeshlibs
81
	dh_installdeb
82
	dh_shlibdeps
83
	dh_gencontrol
84
	dh_md5sums
85
	dh_builddeb
86

  
87
# Build architecture-dependent files here.
88
binary-arch: build install
89
# We have nothing to do by default.
90

  
91
binary: binary-indep binary-arch
92
.PHONY: build clean binary-indep binary-arch binary install 
b/snf-image-helper/debian/source/format
1
3.0 (quilt)
b/snf-image-host/debian/changelog
1
snf-image-host (0.1.2-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version (bugfix)
4

  
5
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Thu, 20 Oct 2011 13:24:28 +0300
6

  
7
snf-image-host (0.1.1-1) UNRELEASED; urgency=low
8

  
9
  * New upstream version (bugfix)
10

  
11
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Mon, 17 Oct 2011 13:24:28 +0300
12

  
13
snf-image-host (0.1-1) unstable; urgency=low
14

  
15
  * Initial release
16

  
17
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Tue, 04 Oct 2011 13:04:28 +0300
b/snf-image-host/debian/compat
1
7
b/snf-image-host/debian/control
1
Source: snf-image-host
2
Section: admin
3
Priority: extra
4
Maintainer: Constantinos Venetsanopoulos <cven@grnet.gr>
5
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, automake
6
Standards-Version: 3.9.1
7
Homepage: https://code.grnet.gr/projects/snf-image
8
Vcs-Git: git://code.grnet.gr/git/snf-image
9
Vcs-Browser: https://code.grnet.gr/git/snf-image
10

  
11
Package: snf-image-host
12
Architecture: all
13
Depends: ${misc:Depends}, kpartx, debootstrap, timelimit, curl,
14
 qemu-kvm (>= 0.11), qemu-utils, mbr
15
Breaks: ganeti (<< 1.2.7)
16
Replaces: snf-ganeti-instance-image
17
Enhances: ganeti
18
Description: Image Based Ganeti OS Provider
19
 Ganeti is a cluster virtual server management software tool built on 
20
 top of existing virtualization technologies such as Xen or KVM and
21
 other Open Source software. Once installed, the tool will take over
22
 the management part of the virtual instances.
23
 .
24
 This package provides an OS Provider for Ganeti, that allows the
25
 installation of predefined or custom Images. It is the main provider
26
 of the Synnefo Cloud Management Software.
b/snf-image-host/debian/copyright
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-image
3
Upstream-Contact: Nikos Skalkotos <skalkoto@grnet.gr>
4
Source: https://code.grnet.gr/projects/snf-image
5

  
6
Files: *
7
Copyright: Copyright (C) 2011 Greek Research and Technology Network
8
Licence: GPL-2
9
 This program is free software; you can redistribute it and/or modify
10
 it under the terms of the GNU General Public License as published by
11
 the Free Software Foundation; either version 2 of the License, or
12
 (at your option) any later version.
13
 .
14
 This program is distributed in the hope that it will be useful,
15
 but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 GNU General Public License for more details.
18
 .
19
 You should have received a copy of the GNU General Public License along
20
 with this program; if not, write to the Free Software Foundation, Inc.,
21
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
 .
23
 On Debian systems, the full text of the GNU General Public
24
 License version 2 can be found in the file
25
 `/usr/share/common-licenses/GPL-2'.
b/snf-image-host/debian/dirs
1
/var/lib/snf-image/helper
b/snf-image-host/debian/rules
1
#!/usr/bin/make -f
2
# -*- makefile -*-
3

  
4
# Uncomment this to turn on verbose mode.
5
#export DH_VERBOSE=1
6

  
7

  
8
config.status: configure
9

  
10
configure:
11
	dh_testdir
12
	./autogen.sh
13
	./configure $(CROSS) --prefix=/usr --localstatedir=/var --sysconfdir=/etc
14

  
15

  
16
build: build-arch build-indep
17

  
18
build-arch: build-stamp
19

  
20
build-indep: build-stamp
21

  
22
build-stamp:  config.status 
23
	dh_testdir
24

  
25
	# Add here commands to compile the package.
26
	$(MAKE)
27
	#docbook-to-man debian/ganeti-instance-image.sgml > ganeti-instance-image.1
28

  
29
	touch $@
30

  
31
clean: 
32
	dh_testdir
33
	dh_testroot
34
	rm -f build-stamp 
35

  
36
	# Add here commands to clean up after the build process.
37
	[ ! -f Makefile ] || $(MAKE) distclean
38
	rm -f config.sub config.guess
39
	rm -rf aclocal.m4 autotools configure Makefile.in
40

  
41
	dh_clean 
42

  
43
install: build
44
	dh_testdir
45
	dh_testroot
46
	dh_prep
47
	dh_installdirs
48

  
49
	# Add here commands to install the package into debian/ganeti-instance-image.
50
	mkdir -p $(CURDIR)/debian/snf-image-host/etc/default
51
	cp defaults $(CURDIR)/debian/snf-image-host/etc/default/snf-image
52
	$(MAKE) DESTDIR=$(CURDIR)/debian/snf-image-host install
53

  
54

  
55
# Build architecture-independent files here.
56
binary-indep: build install
57
	dh_testdir
58
	dh_testroot
59
	dh_installchangelogs ChangeLog
60
	dh_installdocs
61
	dh_installexamples
62
	dh_install
63
#	dh_installmenu
64
#	dh_installdebconf	
65
#	dh_installlogrotate
66
#	dh_installemacsen
67
#	dh_installpam
68
#	dh_installmime
69
#	dh_python
70
#	dh_installinit
71
#	dh_installcron
72
#	dh_installinfo
73
	dh_installman
74
	dh_link
75
	dh_strip
76
	dh_compress
77
	dh_fixperms
78
#	dh_perl
79
#	dh_makeshlibs
80
	dh_installdeb
81
	dh_shlibdeps
82
	dh_gencontrol
83
	dh_md5sums
84
	dh_builddeb
85

  
86
# Build architecture-dependent files here.
87
binary-arch: build install
88
# We have nothing to do by default.
89

  
90
binary: binary-indep binary-arch
91
.PHONY: build clean binary-indep binary-arch binary install 
b/snf-image-host/debian/source/format
1
3.0 (quilt)

Also available in: Unified diff