Changeset 5512
- Timestamp:
- 10/29/09 16:12:39 (4 weeks ago)
- Location:
- trunk/bcfg2/debian
- Files:
-
- 4 added
- 8 removed
- 2 modified
- 5 moved
-
bcfg2-server.docs (added)
-
bcfg2-server.init (moved) (moved from trunk/bcfg2/debian/buildsys/common/bcfg2-server.init) (2 diffs)
-
bcfg2-server.preinst (added)
-
bcfg2.docs (added)
-
bcfg2.init (moved) (moved from trunk/bcfg2/debian/buildsys/common/bcfg2.init) (1 diff)
-
bcfg2.preinst (added)
-
buildsys-select.sh (deleted)
-
buildsys/2.3/bcfg2-server.init (deleted)
-
buildsys/2.3/bcfg2.init (deleted)
-
buildsys/2.3/compat (deleted)
-
buildsys/2.3/control.in (deleted)
-
buildsys/2.4/control.in (deleted)
-
buildsys/common/pycompat (deleted)
-
changelog (modified) (1 diff)
-
compat (moved) (moved from trunk/bcfg2/debian/buildsys/common/compat)
-
control (moved) (moved from trunk/bcfg2/debian/buildsys/pycentral/control.in) (3 diffs)
-
pycompat (moved) (moved from trunk/bcfg2/debian/buildsys/pycentral/pycompat)
-
rules (modified) (1 diff)
-
version-hacker.sh (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bcfg2/debian/bcfg2-server.init
r4891 r5512 5 5 # chkconfig: 2345 19 81 6 6 # description: bcfg2 server for configuration requests 7 # 7 # 8 8 ### BEGIN INIT INFO 9 9 # Provides: bcfg2-server … … 71 71 fi 72 72 fi 73 73 74 74 log_failure_msg "$BINARY is not running" 75 75 return 3 -
trunk/bcfg2/debian/bcfg2.init
r5125 r5512 120 120 start 121 121 ;; 122 stop) 122 stop) 123 123 stop 124 124 ;; -
trunk/bcfg2/debian/changelog
r5505 r5512 1 bcfg2 (1.0.0rc1-1) unstable; urgency=low 2 3 * Update packaging 4 * Switch to plain debhelper 5 * Switch from pycentral to python-support 6 * Move homepage to the dedicated Homepage field 7 * Update Standards-Version to 3.8.3.0 8 9 -- Sami Haahtinen <ressu@debian.org> Sat, 24 Oct 2009 00:20:51 +0300 10 1 11 bcfg2 (1.0.0rc1-0.1) unstable; urgency=low 2 12 -
trunk/bcfg2/debian/control
r5507 r5512 3 3 Priority: optional 4 4 Maintainer: Sami Haahtinen <ressu@debian.org> 5 Build-Depends: @cdbs@6 Standards-Version: 3. 7.2.05 Build-Depends: debhelper (>= 7.0.50~), python-dev (>= 2.3.5-11), python-support 6 Standards-Version: 3.8.3.0 7 7 XS-Python-Version: >= 2.3 8 8 9 9 Package: bcfg2 10 10 Architecture: all 11 Depends: ${python:Depends}, debsums, python-apt, python-lxml (>= 0.9), ucf, lsb-base (>= 3.1-9), python (>= 2.6) | python-m2crypto (>= 0.17) | python-ssl11 Depends: ${python:Depends}, ${misc:Depends}, debsums, python-apt, python-lxml (>= 0.9), ucf, lsb-base (>= 3.1-9) 12 12 XB-Python-Version: ${python:Versions} 13 Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ 13 14 Description: Configuration management client 14 15 Bcfg2 is a configuration management system that generates configuration sets … … 16 17 bcfg2 is the client portion of bcfg2 system which installs configuration 17 18 images provided by bcfg2-server 18 .19 Homepage: http://trac.mcs.anl.gov/projects/bcfg2/20 19 21 20 Package: bcfg2-server 22 21 Architecture: all 23 Depends: ${python:Depends}, python-lxml (>= 0.9), python-fam | python-gamin, libxml2-utils (>= 2.6.23), gamin | fam, lsb-base (>= 3.1-9), ucf, bcfg2 (= ${Source-Version}), openssl24 Recommends: python-genshi (>= 0.4.4), graphviz , python-profiler22 Depends: ${python:Depends}, ${misc:Depends}, python-lxml (>= 0.9), python-fam | python-gamin, libxml2-utils (>= 2.6.23), gamin | fam, lsb-base (>= 3.1-9), ucf, bcfg2 (= ${Source-Version}), openssl, python-profiler 23 Recommends: python-genshi (>= 0.4.4), graphviz 25 24 XB-Python-Version: ${python:Versions} 25 Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ 26 26 Description: Configuration management server 27 27 Bcfg2 is a configuration management system that generates configuration sets … … 29 29 bcfg2-server is the server for bcfg2 clients, which generates configuration 30 30 sets and stores statistics of client system states. 31 .32 Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ -
trunk/bcfg2/debian/rules
r4453 r5512 1 1 #!/usr/bin/make -f 2 # -*- mode: makefile; coding: utf-8 -*- 2 %: 3 dh --with python-support $@ 3 4 4 # Generate debian/control fron control.in with the following command: 5 # DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean 6 7 # Comment this line if you wish to build without pycentral or pysupport 8 DEB_PYTHON_SYSTEM := pycentral 9 DEB_PYTHON_MODULE_PACKAGE := bcfg2 10 ifdef DEB_PYTHON_SYSTEM 11 DEB_DH_INSTALLINIT_ARGS := -n 12 else 13 DEB_DH_INSTALLINIT_ARGS := --no-start 14 endif 15 DEB_COMPRESS_EXCLUDE :=*.tif 16 17 include /usr/share/cdbs/1/rules/debhelper.mk 18 include /usr/share/cdbs/1/class/python-distutils.mk 19 20 # By default use 2.3 as the python version (follow the original behaviour) 21 # This only affects the build system if built without pycentral or pysupport 22 DEB_PYTHON_VERSIONS = 2.3 23 24 # Since cdbs is able to handle only one python package at once do things here: 25 binary-install/bcfg2-server :: binary-install/%: 26 # Mostly borrowed from /usr/share/cdbs/1/class/python-distutils.mk 27 ifdef DEB_PYTHON_SYSTEM 28 ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) 29 dh_pysupport -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) 30 else 31 dh_pycentral -pbcfg2-server 32 endif 33 endif 34 dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) 35 36 ifdef DEB_PYTHON_SYSTEM 37 # Invoke dh_installinit after compiling python modules 38 binary-install/bcfg2 :: 39 dh_installinit -p$(cdbs_curpkg) -o --no-start 40 41 binary-install/bcfg2-server :: 42 dh_installinit -p$(cdbs_curpkg) -o 43 endif 44 5 override_dh_installinit: 6 # Install bcfg2 initscript without staring it on postinst 7 dh_installinit -p bcfg2 --no-start 8 # Install everything else normally 9 dh_installinit -N bcfg2