Revision 8fed2fad

/dev/null
1
snf-app (0.7.4-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version.
4

  
5
 -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
/dev/null
1
snf_app.egg-info/*
/dev/null
1
8
/dev/null
1
Source: snf-app
2
Section: python
3
Priority: optional
4
Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
5
Build-Depends: debhelper (>= 8), python-all (>= 2.5), snf-common
6
Standards-Version: 3.9.2
7
XS-Python-Version: >= 2.6
8
Homepage: https://code.grnet.gr/projects/synnefo
9

  
10
Package: snf-app
11
Architecture: all
12
Depends: ${misc:Depends}, ${python:Depends}, snf-common, python-django-south (>= 0.7)
13
Provides: ${python:Provides}
14
XB-Python-Version: ${python:Versions}
15
Description: Synnefo webproject package
16

  
/dev/null
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-app
3
Upstream-Contact: GRNET development team <synnefo@lists.grnet.gr>
4
Source: https://code.grnet.gr/projects/synnefo
5

  
6
Files: *
7
Copyright: Copyright (C) 2011, 2012 GRNET S.A.
8
Licence: BSD-2-clause
9

  
10
Licence: BSD-2-clause
11
 Redistribution and use in source and binary forms, with or
12
 without modification, are permitted provided that the following
13
 conditions are met:
14
 .
15
 1. Redistributions of source code must retain the above
16
    copyright notice, this list of conditions and the following
17
    disclaimer.
18
 .
19
 2. Redistributions in binary form must reproduce the above
20
    copyright notice, this list of conditions and the following
21
    disclaimer in the documentation and/or other materials
22
    provided with the distribution.
23
 .
24
 THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
25
 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
28
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
31
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
 POSSIBILITY OF SUCH DAMAGE.
36
 .
37
 The views and conclusions contained in the software and
38
 documentation are those of the authors and should not be
39
 interpreted as representing official policies, either expressed
40
 or implied, of GRNET S.A.
41
 .
42
 On Debian systems, the full text of the GNU General Public
43
 License version 2 can be found in the file
44
 `/usr/share/common-licenses/BSD'.
/dev/null
1
[DEFAULT]
2
sign-tags = False
3
pristine-tar = False
4

  
5
[git-buildpackage]
6
export-dir = ../../build-area/
7
tarball-dir = ../../tarballs/
8
debian-branch = debian-0.8
9
upstream-branch = master
/dev/null
1
conf/default/snf-dispatcher /etc/default
2
conf/init.d/snf-dispatcher /etc/init.d
/dev/null
1
#!/bin/sh
2
# postinst script for snf-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <postinst> `abort-remove'
14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15
#          <failed-install-package> <version> `removing'
16
#          <conflicting-package> <version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19

  
20

  
21
case "$1" in
22
    configure)
23
        chown www-data:www-data /var/log/synnefo/dispatcher.log
24

  
25
        echo "Updating rc.d links... "
26
        update-rc.d snf-dispatcher defaults
27
        echo "Starting snf-dispatcher...\n"
28
        if [ -x "/usr/sbin/invoke-rc.d" ]; then
29
            invoke-rc.d snf-dispatcher start
30
        else
31
            /etc/init.d/snf-dispatcher start
32
        fi
33
    ;;
34

  
35
    abort-upgrade|abort-remove|abort-deconfigure)
36
    ;;
37

  
38
    *)
39
        echo "postinst called with unknown argument \`$1'" >&2
40
        exit 1
41
    ;;
42
esac
43

  
44
# dh_installdeb will replace this with shell code automatically
45
# generated by other debhelper scripts.
46

  
47
#DEBHELPER#
48

  
49
exit 0
/dev/null
1
#!/bin/sh
2
# postrm script for snf-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <overwriter>
17
#          <overwriter-version>
18
# for details, see http://www.debian.org/doc/debian-policy/ or
19
# the debian-policy package
20

  
21

  
22
case "$1" in
23
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24
    ;;
25

  
26
    purge)
27
        echo "Removing rc.d links..."
28
        update-rc.d snf-dispatcher remove
29
    ;;
30

  
31
    *)
32
        echo "postrm called with unknown argument \`$1'" >&2
33
        exit 1
34
    ;;
35
esac
36

  
37
# dh_installdeb will replace this with shell code automatically
38
# generated by other debhelper scripts.
39

  
40
#DEBHELPER#
41

  
42
exit 0
/dev/null
1
#!/bin/sh
2
# prerm script for snf-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18

  
19

  
20
case "$1" in
21
    remove|upgrade|deconfigure)
22
        echo "Stopping snf-dispatcher..."
23
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
24
            invoke-rc.d snf-dispatcher stop
25
        else
26
            /etc/init.d/snf-dispatcher stop
27
        fi
28
    ;;
29

  
30
    failed-upgrade)
31
    ;;
32

  
33
    *)
34
        echo "prerm called with unknown argument \`$1'" >&2
35
        exit 1
36
    ;;
37
esac
38

  
39
# dh_installdeb will replace this with shell code automatically
40
# generated by other debhelper scripts.
41

  
42
#DEBHELPER#
43

  
44
exit 0
/dev/null
1
Django python-django
2
vncauthproxy vncauthproxy
3
snf-common snf-common
4
snf-pithos-backend snf-pithos-backend
5
IPy python-ipy
/dev/null
1
#!/usr/bin/make -f
2

  
3
%:
4
	dh $@ --with python2
5

  
6
package=snf-app
7
static_dir=debian/$(package)/usr/share/synnefo/static/
8
ui_static_dir=synnefo/ui/static/
9
admin_static_dir=synnefo/admin/static/
10
default_settings_dir=synnefo/app_settings/default/
11
config_lvl=20
12

  
13
override_dh_auto_install:
14
	dh_auto_install
15
	
16
	mkdir -p $(static_dir)ui;
17
	-mv $(ui_static_dir) $(static_dir)ui;
18
	
19
	mkdir -p $(static_dir)admin;
20
	-mv $(admin_static_dir) $(static_dir)admin;
21

  
22
	mkdir -p debian/$(package)/var/log/synnefo
23
	touch debian/$(package)/var/log/synnefo/dispatcher.log
24

  
25
	mkdir -p debian/$(package)/etc/synnefo
26
	for f in api aai backend queues helpdesk invitations plankton ui userdata; do \
27
		cp $(default_settings_dir)$$f.py \
28
			debian/$(package)/etc/synnefo/$(config_lvl)-$(package)-$$f.conf;  \
29
	done;
30
	sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
31

  
32
	for py in $(shell pyversions -vr debian/control); do \
33
		rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
34
	done
35

  
/dev/null
1
3.0 (quilt)
b/snf-cyclades-app/debian/changelog
1
snf-cyclades-app (0.7.4-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version.
4

  
5
 -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
b/snf-cyclades-app/debian/clean
1
snf_app.egg-info/*
b/snf-cyclades-app/debian/compat
1
8
b/snf-cyclades-app/debian/control
1
Source: snf-cyclades-app
2
Section: python
3
Priority: optional
4
Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
5
Build-Depends: debhelper (>= 8), python-all (>= 2.5), snf-common
6
Standards-Version: 3.9.2
7
XS-Python-Version: >= 2.6
8
Homepage: https://code.grnet.gr/projects/synnefo
9

  
10
Package: snf-cyclades-app
11
Architecture: all
12
Depends: ${misc:Depends}, ${python:Depends}, snf-common, python-django-south (>= 0.7)
13
Provides: ${python:Provides}
14
XB-Python-Version: ${python:Versions}
15
Description: Synnefo webproject package
16

  
b/snf-cyclades-app/debian/copyright
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-cyclades-app
3
Upstream-Contact: GRNET development team <synnefo@lists.grnet.gr>
4
Source: https://code.grnet.gr/projects/synnefo
5

  
6
Files: *
7
Copyright: Copyright (C) 2011, 2012 GRNET S.A.
8
Licence: BSD-2-clause
9

  
10
Licence: BSD-2-clause
11
 Redistribution and use in source and binary forms, with or
12
 without modification, are permitted provided that the following
13
 conditions are met:
14
 .
15
 1. Redistributions of source code must retain the above
16
    copyright notice, this list of conditions and the following
17
    disclaimer.
18
 .
19
 2. Redistributions in binary form must reproduce the above
20
    copyright notice, this list of conditions and the following
21
    disclaimer in the documentation and/or other materials
22
    provided with the distribution.
23
 .
24
 THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
25
 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
28
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
31
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
 POSSIBILITY OF SUCH DAMAGE.
36
 .
37
 The views and conclusions contained in the software and
38
 documentation are those of the authors and should not be
39
 interpreted as representing official policies, either expressed
40
 or implied, of GRNET S.A.
41
 .
42
 On Debian systems, the full text of the GNU General Public
43
 License version 2 can be found in the file
44
 `/usr/share/common-licenses/BSD'.
b/snf-cyclades-app/debian/gbp.conf
1
[DEFAULT]
2
sign-tags = False
3
pristine-tar = False
4

  
5
[git-buildpackage]
6
export-dir = ../../build-area/
7
tarball-dir = ../../tarballs/
8
debian-branch = debian-0.8
9
upstream-branch = master
b/snf-cyclades-app/debian/install
1
conf/default/snf-dispatcher /etc/default
2
conf/init.d/snf-dispatcher /etc/init.d
b/snf-cyclades-app/debian/postinst
1
#!/bin/sh
2
# postinst script for snf-cyclades-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <postinst> `abort-remove'
14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15
#          <failed-install-package> <version> `removing'
16
#          <conflicting-package> <version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19

  
20

  
21
case "$1" in
22
    configure)
23
        chown www-data:www-data /var/log/synnefo/dispatcher.log
24

  
25
        echo "Updating rc.d links... "
26
        update-rc.d snf-dispatcher defaults
27
        echo "Starting snf-dispatcher...\n"
28
        if [ -x "/usr/sbin/invoke-rc.d" ]; then
29
            invoke-rc.d snf-dispatcher start
30
        else
31
            /etc/init.d/snf-dispatcher start
32
        fi
33
    ;;
34

  
35
    abort-upgrade|abort-remove|abort-deconfigure)
36
    ;;
37

  
38
    *)
39
        echo "postinst called with unknown argument \`$1'" >&2
40
        exit 1
41
    ;;
42
esac
43

  
44
# dh_installdeb will replace this with shell code automatically
45
# generated by other debhelper scripts.
46

  
47
#DEBHELPER#
48

  
49
exit 0
b/snf-cyclades-app/debian/postrm
1
#!/bin/sh
2
# postrm script for snf-cyclades-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <overwriter>
17
#          <overwriter-version>
18
# for details, see http://www.debian.org/doc/debian-policy/ or
19
# the debian-policy package
20

  
21

  
22
case "$1" in
23
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24
    ;;
25

  
26
    purge)
27
        echo "Removing rc.d links..."
28
        update-rc.d snf-dispatcher remove
29
    ;;
30

  
31
    *)
32
        echo "postrm called with unknown argument \`$1'" >&2
33
        exit 1
34
    ;;
35
esac
36

  
37
# dh_installdeb will replace this with shell code automatically
38
# generated by other debhelper scripts.
39

  
40
#DEBHELPER#
41

  
42
exit 0
b/snf-cyclades-app/debian/prerm
1
#!/bin/sh
2
# prerm script for snf-cyclades-app
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18

  
19

  
20
case "$1" in
21
    remove|upgrade|deconfigure)
22
        echo "Stopping snf-dispatcher..."
23
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
24
            invoke-rc.d snf-dispatcher stop
25
        else
26
            /etc/init.d/snf-dispatcher stop
27
        fi
28
    ;;
29

  
30
    failed-upgrade)
31
    ;;
32

  
33
    *)
34
        echo "prerm called with unknown argument \`$1'" >&2
35
        exit 1
36
    ;;
37
esac
38

  
39
# dh_installdeb will replace this with shell code automatically
40
# generated by other debhelper scripts.
41

  
42
#DEBHELPER#
43

  
44
exit 0
b/snf-cyclades-app/debian/pydist-overrides
1
Django python-django
2
vncauthproxy vncauthproxy
3
snf-common snf-common
4
snf-pithos-backend snf-pithos-backend
5
IPy python-ipy
b/snf-cyclades-app/debian/rules
1
#!/usr/bin/make -f
2

  
3
%:
4
	dh $@ --with python2
5

  
6
package=snf-cyclades-app
7
static_dir=debian/$(package)/usr/share/synnefo/static/
8
ui_static_dir=synnefo/ui/static/
9
admin_static_dir=synnefo/admin/static/
10
default_settings_dir=synnefo/app_settings/default/
11
config_lvl=20
12

  
13
override_dh_auto_install:
14
	dh_auto_install
15
	
16
	mkdir -p $(static_dir)ui;
17
	-mv $(ui_static_dir) $(static_dir)ui;
18
	
19
	mkdir -p $(static_dir)admin;
20
	-mv $(admin_static_dir) $(static_dir)admin;
21

  
22
	mkdir -p debian/$(package)/var/log/synnefo
23
	touch debian/$(package)/var/log/synnefo/dispatcher.log
24

  
25
	mkdir -p debian/$(package)/etc/synnefo
26
	for f in api aai backend queues helpdesk invitations plankton ui userdata; do \
27
		cp $(default_settings_dir)$$f.py \
28
			debian/$(package)/etc/synnefo/$(config_lvl)-$(package)-$$f.conf;  \
29
	done;
30
	sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
31

  
32
	for py in $(shell pyversions -vr debian/control); do \
33
		rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
34
	done
35

  
b/snf-cyclades-app/debian/source/format
1
3.0 (quilt)
b/snf-cyclades-gtools/debian/changelog
1
snf-cyclades-gtools (0.7.4-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version.
4

  
5
 -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 19 Jan 2012 16:44:01 +0300
6

  
7
snf-cyclades-gtools (0.8) UNRELEASED; urgency=low
8

  
9
  * New upstream version.
10

  
11
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
12

  
13
snf-cyclades-gtools (0.7.1) UNRELEASED; urgency=low
14

  
15
  * New upstream version.
16

  
17
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Mon, 17 Oct 2011 10:28:46 +0300
18

  
19
snf-cyclades-gtools (0.7) UNRELEASED; urgency=low
20

  
21
  * New upstream version.
22

  
23
 -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 11 Oct 2011 23:01:46 +0300
24

  
25
snf-cyclades-gtools (0.6) UNRELEASED; urgency=low
26

  
27
  * New upstream version.
28

  
29
 -- Vangelis Koukis <vkoukis@grnet.gr>  Thu, 08 Sep 2011 21:38:24 +0300
30

  
31
snf-cyclades-gtools (0.5.5) UNRELEASED; urgency=low
32

  
33
  * New version, minor bugfixes.
34

  
35
 -- Vangelis Koukis <vkoukis@grnet.gr>  Wed, 31 Aug 2011 17:38:09 +0300
36

  
37
snf-cyclades-gtools (0.5.4-1) UNRELEASED; urgency=low
38

  
39
  * New version, import snf-progress-monitor
40
  * Make synnefo a Python namespace package, move everything below it
41
  * Update bootstrap scripts
42

  
43
 -- Vangelis Koukis <vkoukis@grnet.gr>  Wed, 27 Jul 2011 17:03:14 +0300
44

  
45
snf-cyclades-gtools (0.5-1) UNRELEASED; urgency=low
46

  
47
  * Initial release.
48

  
49
 -- Faidon Liambotis <paravoid@debian.org>  Wed, 29 Jun 2011 18:41:49 +0300
b/snf-cyclades-gtools/debian/clean
1
snf_ganeti_tools.egg-info/*
b/snf-cyclades-gtools/debian/compat
1
8
b/snf-cyclades-gtools/debian/control
1
Source: snf-cyclades-gtools
2
Section: python
3
Priority: optional
4
Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
5
Build-Depends: debhelper (>= 8), python-all (>= 2.5), snf-common
6
Standards-Version: 3.9.2
7
XS-Python-Version: >= 2.6
8
Homepage: https://code.grnet.gr/projects/synnefo
9

  
10
Package: snf-cyclades-gtools
11
Architecture: all
12
Depends: ${misc:Depends}, ${python:Depends}, nfdhcpd, arptables, ganeti2,
13
 snf-common
14
Provides: ${python:Provides}
15
XB-Python-Version: ${python:Versions}
16
Description: Synnefo Ganeti supplementary tools
17
 This package contains the supplementary tools for Ganeti needed
18
 by the synnefo software.
19
 .
20
 Included are:
21
  * snf-ganeti-hook, a Ganeti hook that message the Synnefo queue
22
  * snf-ganeti-eventd, a daemon watching the Ganeti job queue
23
  * snf-progress-monitor, a utility to monitor image deployment and
24
    produce notifications to the Synnefo queue
25
  * kvm-vif-bridge, a shell ifup script for KVM instances brought up by Ganeti
b/snf-cyclades-gtools/debian/copyright
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-cyclades-gtools
3
Upstream-Contact: GRNET development team <synnefo@lists.grnet.gr>
4
Source: https://code.grnet.gr/projects/synnefo
5

  
6
Files: *
7
Copyright: Copyright (C) 2011, 2012 GRNET S.A.
8
Licence: BSD-2-clause
9

  
10
Licence: BSD-2-clause
11
 Redistribution and use in source and binary forms, with or
12
 without modification, are permitted provided that the following
13
 conditions are met:
14
 .
15
 1. Redistributions of source code must retain the above
16
    copyright notice, this list of conditions and the following
17
    disclaimer.
18
 .
19
 2. Redistributions in binary form must reproduce the above
20
    copyright notice, this list of conditions and the following
21
    disclaimer in the documentation and/or other materials
22
    provided with the distribution.
23
 .
24
 THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
25
 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
28
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
31
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
 POSSIBILITY OF SUCH DAMAGE.
36
 .
37
 The views and conclusions contained in the software and
38
 documentation are those of the authors and should not be
39
 interpreted as representing official policies, either expressed
40
 or implied, of GRNET S.A.
41
 .
42
 On Debian systems, the full text of the GNU General Public
43
 License version 2 can be found in the file
44
 `/usr/share/common-licenses/BSD'.
b/snf-cyclades-gtools/debian/dirs
1
usr/sbin
2
etc/synnefo
3
etc/ganeti/hooks/instance-add-post.d
4
etc/ganeti/hooks/instance-modify-post.d
5
etc/ganeti/hooks/instance-reboot-post.d
6
etc/ganeti/hooks/instance-start-post.d
7
etc/ganeti/hooks/instance-stop-post.d
b/snf-cyclades-gtools/debian/examples
1
example.conf
b/snf-cyclades-gtools/debian/gbp.conf
1
[DEFAULT]
2
sign-tags = False
3
pristine-tar = False
4

  
5
[git-buildpackage]
6
export-dir = ../../build-area/
7
tarball-dir = ../../tarballs/
8
debian-branch = debian-0.8
9
upstream-branch = master
b/snf-cyclades-gtools/debian/install
1
kvm-vif-bridge /etc/ganeti
2
conf/default/snf-ganeti-eventd /etc/default
3
conf/init.d/snf-ganeti-eventd /etc/init.d
b/snf-cyclades-gtools/debian/links
1
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-add-post.d/snf-ganeti-hook
2
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-modify-post.d/snf-ganeti-hook
3
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-reboot-post.d/snf-ganeti-hook
4
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-start-post.d/snf-ganeti-hook
5
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-stop-post.d/snf-ganeti-hook
b/snf-cyclades-gtools/debian/postinst
1
#!/bin/sh
2
# postinst script for snf-image-host
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <postinst> `abort-remove'
14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15
#          <failed-install-package> <version> `removing'
16
#          <conflicting-package> <version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19

  
20

  
21
case "$1" in
22
    configure)
23
        echo "Updating rc.d links... "
24
        update-rc.d snf-ganeti-eventd defaults
25
        echo "Starting snf-ganeti-eventd...\n"
26
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
27
            invoke-rc.d snf-ganeti-eventd start
28
        else
29
            /etc/init.d/snf-ganeti-eventd start
30
        fi
31
    ;;
32

  
33
    abort-upgrade|abort-remove|abort-deconfigure)
34
    ;;
35

  
36
    *)
37
        echo "postinst called with unknown argument \`$1'" >&2
38
        exit 1
39
    ;;
40
esac
41

  
42
# dh_installdeb will replace this with shell code automatically
43
# generated by other debhelper scripts.
44

  
45
#DEBHELPER#
46

  
47
exit 0
b/snf-cyclades-gtools/debian/postrm
1
#!/bin/sh
2
# postrm script for snf-cyclades-gtools
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <overwriter>
17
#          <overwriter-version>
18
# for details, see http://www.debian.org/doc/debian-policy/ or
19
# the debian-policy package
20

  
21

  
22
case "$1" in
23
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24
    ;;
25

  
26
    purge)
27
        echo "Removing rc.d links..."
28
        update-rc.d snf-ganeti-eventd remove
29
    ;;
30

  
31
    *)
32
        echo "postrm called with unknown argument \`$1'" >&2
33
        exit 1
34
    ;;
35
esac
36

  
37
# dh_installdeb will replace this with shell code automatically
38
# generated by other debhelper scripts.
39

  
40
#DEBHELPER#
41

  
42
exit 0
b/snf-cyclades-gtools/debian/prerm
1
#!/bin/sh
2
# prerm script for snf-image-host
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18

  
19

  
20
case "$1" in
21
    remove|upgrade|deconfigure)
22
        echo "Stopping snf-ganeti-eventd..."
23
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
24
            invoke-rc.d snf-ganeti-eventd stop
25
        else
26
            /etc/init.d/snf-ganeti-eventd stop
27
        fi
28
    ;;
29

  
30
    failed-upgrade)
31
    ;;
32

  
33
    *)
34
        echo "prerm called with unknown argument \`$1'" >&2
35
        exit 1
36
    ;;
37
esac
38

  
39
# dh_installdeb will replace this with shell code automatically
40
# generated by other debhelper scripts.
41

  
42
#DEBHELPER#
43

  
44
exit 0
b/snf-cyclades-gtools/debian/pydist-overrides
1
ganeti ganeti2
2
daemon python-daemon
3
prctl python-prctl
4
snf-common snf-common
b/snf-cyclades-gtools/debian/rules
1
#!/usr/bin/make -f
2

  
3
%:
4
	dh $@ --with python2
5

  
6
package=snf-cyclades-gtools
7

  
8
override_dh_auto_install:
9
	dh_auto_install
10

  
11
	mkdir -p debian/$(package)/usr/sbin
12
	-mv \
13
	  debian/$(package)/usr/bin/snf-ganeti-eventd \
14
	  debian/$(package)/usr/sbin/snf-ganeti-eventd
15
	-mv \
16
	  debian/$(package)/usr/bin/snf-ganeti-hook \
17
	  debian/$(package)/usr/sbin/snf-ganeti-hook
18
	-mv \
19
	  debian/$(package)/usr/bin/snf-progress-monitor \
20
	  debian/$(package)/usr/sbin/snf-progress-monitor
21
	rmdir debian/$(package)/usr/bin
22

  
23
	mkdir -p debian/$(package)/etc/synnefo
24
	cp synnefo/ganeti/settings.py  \
25
		debian/$(package)/etc/synnefo/10-snf-cyclades-gtools-backend.conf;
26
	sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
27

  
28
	# this package provides the synnefo namespace __init__.py
29
	for py in $(shell pyversions -vr debian/control); do \
30
		rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
31
	done
b/snf-cyclades-gtools/debian/source/format
1
3.0 (quilt)
/dev/null
1
snf-ganeti-tools (0.7.4-1) UNRELEASED; urgency=low
2

  
3
  * New upstream version.
4

  
5
 -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 19 Jan 2012 16:44:01 +0300
6

  
7
snf-ganeti-tools (0.8) UNRELEASED; urgency=low
8

  
9
  * New upstream version.
10

  
11
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
12

  
13
snf-ganeti-tools (0.7.1) UNRELEASED; urgency=low
14

  
15
  * New upstream version.
16

  
17
 -- Constantinos Venetsanopoulos <cven@grnet.gr>  Mon, 17 Oct 2011 10:28:46 +0300
18

  
19
snf-ganeti-tools (0.7) UNRELEASED; urgency=low
20

  
21
  * New upstream version.
22

  
23
 -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 11 Oct 2011 23:01:46 +0300
24

  
25
snf-ganeti-tools (0.6) UNRELEASED; urgency=low
26

  
27
  * New upstream version.
28

  
29
 -- Vangelis Koukis <vkoukis@grnet.gr>  Thu, 08 Sep 2011 21:38:24 +0300
30

  
31
snf-ganeti-tools (0.5.5) UNRELEASED; urgency=low
32

  
33
  * New version, minor bugfixes.
34

  
35
 -- Vangelis Koukis <vkoukis@grnet.gr>  Wed, 31 Aug 2011 17:38:09 +0300
36

  
37
snf-ganeti-tools (0.5.4-1) UNRELEASED; urgency=low
38

  
39
  * New version, import snf-progress-monitor
40
  * Make synnefo a Python namespace package, move everything below it
41
  * Update bootstrap scripts
42

  
43
 -- Vangelis Koukis <vkoukis@grnet.gr>  Wed, 27 Jul 2011 17:03:14 +0300
44

  
45
snf-ganeti-tools (0.5-1) UNRELEASED; urgency=low
46

  
47
  * Initial release.
48

  
49
 -- Faidon Liambotis <paravoid@debian.org>  Wed, 29 Jun 2011 18:41:49 +0300
/dev/null
1
snf_ganeti_tools.egg-info/*
/dev/null
1
8
/dev/null
1
Source: snf-ganeti-tools
2
Section: python
3
Priority: optional
4
Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
5
Build-Depends: debhelper (>= 8), python-all (>= 2.5), snf-common
6
Standards-Version: 3.9.2
7
XS-Python-Version: >= 2.6
8
Homepage: https://code.grnet.gr/projects/synnefo
9

  
10
Package: snf-ganeti-tools
11
Architecture: all
12
Depends: ${misc:Depends}, ${python:Depends}, nfdhcpd, arptables, ganeti2,
13
 snf-common
14
Provides: ${python:Provides}
15
XB-Python-Version: ${python:Versions}
16
Description: Synnefo Ganeti supplementary tools
17
 This package contains the supplementary tools for Ganeti needed
18
 by the synnefo software.
19
 .
20
 Included are:
21
  * snf-ganeti-hook, a Ganeti hook that message the Synnefo queue
22
  * snf-ganeti-eventd, a daemon watching the Ganeti job queue
23
  * snf-progress-monitor, a utility to monitor image deployment and
24
    produce notifications to the Synnefo queue
25
  * kvm-vif-bridge, a shell ifup script for KVM instances brought up by Ganeti
/dev/null
1
Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
2
Upstream-Name: snf-ganeti-tools
3
Upstream-Contact: GRNET development team <synnefo@lists.grnet.gr>
4
Source: https://code.grnet.gr/projects/synnefo
5

  
6
Files: *
7
Copyright: Copyright (C) 2011, 2012 GRNET S.A.
8
Licence: BSD-2-clause
9

  
10
Licence: BSD-2-clause
11
 Redistribution and use in source and binary forms, with or
12
 without modification, are permitted provided that the following
13
 conditions are met:
14
 .
15
 1. Redistributions of source code must retain the above
16
    copyright notice, this list of conditions and the following
17
    disclaimer.
18
 .
19
 2. Redistributions in binary form must reproduce the above
20
    copyright notice, this list of conditions and the following
21
    disclaimer in the documentation and/or other materials
22
    provided with the distribution.
23
 .
24
 THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
25
 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
28
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
31
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34
 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35
 POSSIBILITY OF SUCH DAMAGE.
36
 .
37
 The views and conclusions contained in the software and
38
 documentation are those of the authors and should not be
39
 interpreted as representing official policies, either expressed
40
 or implied, of GRNET S.A.
41
 .
42
 On Debian systems, the full text of the GNU General Public
43
 License version 2 can be found in the file
44
 `/usr/share/common-licenses/BSD'.
/dev/null
1
usr/sbin
2
etc/synnefo
3
etc/ganeti/hooks/instance-add-post.d
4
etc/ganeti/hooks/instance-modify-post.d
5
etc/ganeti/hooks/instance-reboot-post.d
6
etc/ganeti/hooks/instance-start-post.d
7
etc/ganeti/hooks/instance-stop-post.d
/dev/null
1
example.conf
/dev/null
1
[DEFAULT]
2
sign-tags = False
3
pristine-tar = False
4

  
5
[git-buildpackage]
6
export-dir = ../../build-area/
7
tarball-dir = ../../tarballs/
8
debian-branch = debian-0.8
9
upstream-branch = master
/dev/null
1
kvm-vif-bridge /etc/ganeti
2
conf/default/snf-ganeti-eventd /etc/default
3
conf/init.d/snf-ganeti-eventd /etc/init.d
/dev/null
1
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-add-post.d/snf-ganeti-hook
2
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-modify-post.d/snf-ganeti-hook
3
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-reboot-post.d/snf-ganeti-hook
4
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-start-post.d/snf-ganeti-hook
5
usr/sbin/snf-ganeti-hook etc/ganeti/hooks/instance-stop-post.d/snf-ganeti-hook
/dev/null
1
#!/bin/sh
2
# postinst script for snf-image-host
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <postinst> `abort-remove'
14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15
#          <failed-install-package> <version> `removing'
16
#          <conflicting-package> <version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19

  
20

  
21
case "$1" in
22
    configure)
23
        echo "Updating rc.d links... "
24
        update-rc.d snf-ganeti-eventd defaults
25
        echo "Starting snf-ganeti-eventd...\n"
26
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
27
            invoke-rc.d snf-ganeti-eventd start
28
        else
29
            /etc/init.d/snf-ganeti-eventd start
30
        fi
31
    ;;
32

  
33
    abort-upgrade|abort-remove|abort-deconfigure)
34
    ;;
35

  
36
    *)
37
        echo "postinst called with unknown argument \`$1'" >&2
38
        exit 1
39
    ;;
40
esac
41

  
42
# dh_installdeb will replace this with shell code automatically
43
# generated by other debhelper scripts.
44

  
45
#DEBHELPER#
46

  
47
exit 0
/dev/null
1
#!/bin/sh
2
# postrm script for snf-ganeti-tools
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postrm> `remove'
10
#        * <postrm> `purge'
11
#        * <old-postrm> `upgrade' <new-version>
12
#        * <new-postrm> `failed-upgrade' <old-version>
13
#        * <new-postrm> `abort-install'
14
#        * <new-postrm> `abort-install' <old-version>
15
#        * <new-postrm> `abort-upgrade' <old-version>
16
#        * <disappearer's-postrm> `disappear' <overwriter>
17
#          <overwriter-version>
18
# for details, see http://www.debian.org/doc/debian-policy/ or
19
# the debian-policy package
20

  
21

  
22
case "$1" in
23
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24
    ;;
25

  
26
    purge)
27
        echo "Removing rc.d links..."
28
        update-rc.d snf-ganeti-eventd remove
29
    ;;
30

  
31
    *)
32
        echo "postrm called with unknown argument \`$1'" >&2
33
        exit 1
34
    ;;
35
esac
36

  
37
# dh_installdeb will replace this with shell code automatically
38
# generated by other debhelper scripts.
39

  
40
#DEBHELPER#
41

  
42
exit 0
/dev/null
1
#!/bin/sh
2
# prerm script for snf-image-host
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18

  
19

  
20
case "$1" in
21
    remove|upgrade|deconfigure)
22
        echo "Stopping snf-ganeti-eventd..."
23
	if [ -x "/usr/sbin/invoke-rc.d" ]; then
24
            invoke-rc.d snf-ganeti-eventd stop
25
        else
26
            /etc/init.d/snf-ganeti-eventd stop
27
        fi
28
    ;;
29

  
30
    failed-upgrade)
31
    ;;
32

  
33
    *)
34
        echo "prerm called with unknown argument \`$1'" >&2
35
        exit 1
36
    ;;
37
esac
38

  
39
# dh_installdeb will replace this with shell code automatically
40
# generated by other debhelper scripts.
41

  
42
#DEBHELPER#
43

  
44
exit 0
/dev/null
1
ganeti ganeti2
2
daemon python-daemon
3
prctl python-prctl
4
snf-common snf-common
/dev/null
1
#!/usr/bin/make -f
2

  
3
%:
4
	dh $@ --with python2
5

  
6
package=snf-ganeti-tools
7

  
8
override_dh_auto_install:
9
	dh_auto_install
10

  
11
	mkdir -p debian/$(package)/usr/sbin
12
	-mv \
13
	  debian/$(package)/usr/bin/snf-ganeti-eventd \
14
	  debian/$(package)/usr/sbin/snf-ganeti-eventd
15
	-mv \
16
	  debian/$(package)/usr/bin/snf-ganeti-hook \
17
	  debian/$(package)/usr/sbin/snf-ganeti-hook
18
	-mv \
19
	  debian/$(package)/usr/bin/snf-progress-monitor \
20
	  debian/$(package)/usr/sbin/snf-progress-monitor
21
	rmdir debian/$(package)/usr/bin
22

  
23
	mkdir -p debian/$(package)/etc/synnefo
24
	cp synnefo/ganeti/settings.py  \
25
		debian/$(package)/etc/synnefo/10-snf-ganeti-tools-backend.conf;
26
	sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
27

  
28
	# this package provides the synnefo namespace __init__.py
29
	for py in $(shell pyversions -vr debian/control); do \
30
		rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
31
	done
/dev/null
1
3.0 (quilt)
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff