From 8b6e761baac8bb93e631da2e405d3f1e49b01916 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 1 Aug 2006 02:02:08 +0000 Subject: Packaging changes from ressu git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2019 ce84e21b-d406-0410-9b95-82705330c041 --- debian/bcfg2-server.conffiles | 0 debian/bcfg2-server.init | 86 -------------------------------- debian/bcfg2.init | 70 -------------------------- debian/buildsys-select.sh | 64 ++++++++++++++++++++++++ debian/buildsys/2.3/bcfg2-server.init | 44 ++++++++++++++++ debian/buildsys/2.3/bcfg2.init | 37 ++++++++++++++ debian/buildsys/2.3/compat | 1 + debian/buildsys/2.3/control.in | 28 +++++++++++ debian/buildsys/2.4/control.in | 28 +++++++++++ debian/buildsys/common/bcfg2-server.init | 86 ++++++++++++++++++++++++++++++++ debian/buildsys/common/bcfg2.init | 70 ++++++++++++++++++++++++++ debian/buildsys/common/compat | 1 + debian/buildsys/common/pycompat | 1 + debian/buildsys/pycentral/control.in | 31 ++++++++++++ debian/buildsys/pycentral/pycompat | 1 + debian/changelog | 6 +++ debian/compat | 1 - debian/control | 31 ------------ debian/control.in | 31 ------------ debian/copyright | 2 +- debian/pycompat | 1 - debian/rules | 18 +++---- 22 files changed, 408 insertions(+), 230 deletions(-) delete mode 100644 debian/bcfg2-server.conffiles delete mode 100644 debian/bcfg2-server.init delete mode 100644 debian/bcfg2.init create mode 100755 debian/buildsys-select.sh create mode 100644 debian/buildsys/2.3/bcfg2-server.init create mode 100644 debian/buildsys/2.3/bcfg2.init create mode 100644 debian/buildsys/2.3/compat create mode 100644 debian/buildsys/2.3/control.in create mode 100644 debian/buildsys/2.4/control.in create mode 100644 debian/buildsys/common/bcfg2-server.init create mode 100644 debian/buildsys/common/bcfg2.init create mode 100644 debian/buildsys/common/compat create mode 100644 debian/buildsys/common/pycompat create mode 100644 debian/buildsys/pycentral/control.in create mode 100644 debian/buildsys/pycentral/pycompat delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/control.in delete mode 100644 debian/pycompat (limited to 'debian') diff --git a/debian/bcfg2-server.conffiles b/debian/bcfg2-server.conffiles deleted file mode 100644 index e69de29bb..000000000 diff --git a/debian/bcfg2-server.init b/debian/bcfg2-server.init deleted file mode 100644 index 5a51056f2..000000000 --- a/debian/bcfg2-server.init +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh -# -# Bcfg2Server - Bcfg2 configuration daemon -# -# chkconfig: 2345 19 81 -# description: bcfg2 server for configuration requests -# -### BEGIN INIT INFO -# Provides: bcfg2-server -# Required-Start: $network -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: S 0 1 6 -# Short-Description: Configuration management Server -# Description: Bcfg2 is a configuration management system that builds -# installs configuration files served by bcfg2-server -### END INIT INFO - -DAEMON=/usr/sbin/bcfg2-server -PIDFILE=/var/run/bcfg2-server.pid -PARAMS="-D $PIDFILE" - -# Exit if $DAEMON doesn't exist and is not executable -test -x $DAEMON || exit 5 - -# Include lsb functions -. /lib/lsb/init-functions - -# Internal variables -BINARY=$(basename $DAEMON) - -case "$1" in - start) - echo -n "Starting Configuration Management Server: " - start_daemon ${DAEMON} ${PARAMS} - STATUS=$? - if [ "$STATUS" = 0 ] - then - log_success_msg "bcfg2-server" - else - log_failure_msg "bcfg2-server" - fi - exit $STATUS - ;; - stop) - echo -n "Stopping Configuration Management Server: " - killproc ${BINARY} - STATUS=$? - if [ "$STATUS" = 0 ]; then - log_success_msg "bcfg2-server" - exit 0 - else - log_failure_msg "bcfg2-server" - fi - exit $STATUS - ;; - force-reload|restart) - $0 stop - sleep 5 - $0 start - ;; - status) - # Inspired by redhat /etc/init.d/functions status() call - PID=$(pidof -x $BINARY) - if [ -n "$PID" ]; then - echo "$BINARY (pid $PID) is running..." - exit 0 - fi - - if [ -f $PIDFILE ]; then - if [ -n "$PID" ]; then - echo "$BINARY dead but pid file exists..." - exit 1 - fi - fi - - echo "$BINARY is not running" - exit 3 - ;; - *) - log_success_msg "Usage: bcfg2-server {start|stop|restart|force-reload}" - exit 1 - ;; -esac - -exit 0 diff --git a/debian/bcfg2.init b/debian/bcfg2.init deleted file mode 100644 index e7466f18d..000000000 --- a/debian/bcfg2.init +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# Start bcfg2 client on startup -# -# bcfg2 - bcfg2 configuration client -# -# chkconfig: 2345 19 81 -# description: bcfg2 client for configuration requests -# -### BEGIN INIT INFO -# Provides: bcfg2 -# Required-Start: $network $named -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: S 0 1 6 -# Short-Description: Configuration management client -# Description: Bcfg2 is a configuration management system that builds -# installs configuration files served by bcfg2-server -# This is a client that installs the server provided -# Configuration. -### END INIT INFO - -# This might need some better logic -BCFG2=/usr/sbin/bcfg2 - -BCFG2_OPTIONS="-q" - -# Disabled per default -BCFG2_ENABLED=0 - -# Include default startup configuration if exists -test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 - -test "$BCFG2_ENABLED" != "0" || exit 0 - -# Exit if bcfg2 doesn't exist and is not executable -test -x $BCFG2 || exit 5 - -# Include lsb functions -. /lib/lsb/init-functions - -case "$1" in - start) - echo -n "Running configuration management client: " - ${BCFG2} ${BCFG2_OPTIONS} - STATUS=$? - if [ "$STATUS" = 0 ] - then - log_success_msg "bcfg2" - else - log_failure_msg "bcfg2" - fi - exit $STATUS - ;; - restart) - $0 stop - $0 start - ;; - status) - # Since we are always OK, always return OK as status - exit 0 - ;; - stop|force-reload) - true - ;; - *) - echo "Usage: $0 {start|stop|restart|force-reload|status}" - exit 1 -esac - -exit 0 diff --git a/debian/buildsys-select.sh b/debian/buildsys-select.sh new file mode 100755 index 000000000..291d669f6 --- /dev/null +++ b/debian/buildsys-select.sh @@ -0,0 +1,64 @@ +#!/bin/sh +# +# This script will select the build target, which is one of: +# 2.3 - Build for python2.3 +# 2.4 - Build for python2.4 +# pycentral - Build with python-central support + +FILES="control.in bcfg2.init bcfg2-server.init pycompat compat" +SUITE=$1 + +if [ ! -d buildsys ]; then + echo "you need to be in debian/ directory" + exit 1 +fi + +copy_files() { + for i in $FILES; do + if [ -e buildsys/$SUITE/$i ]; then + cp buildsys/$SUITE/$i $i + else + cp buildsys/common/$i $i + fi + done +} + +toggle_DPS() { + case $1 in + enable) + sed -i -e 's/^#DEB_PYTHON_SYSTEM/DEB_PYTHON_SYSTEM/' rules + ;; + disable) + sed -i -e 's/^DEB_PYTHON_SYSTEM/#DEB_PYTHON_SYSTEM/' rules + ;; + *) + echo "internal error!" + exit 1 + ;; + esac +} + +generate_control() { + cp control.in control + if [ "$SUITE" = "pycentral" ]; then + toggle_DPS enable + else + toggle_DPS disable + fi + cd .. && DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +} + +case $SUITE in + 2.3|2.4|pycentral) + copy_files + generate_control + ;; + clean) + rm $FILES control + toggle_DPS enable + echo "removed build files, select a build system to enable build" + ;; + *) + echo "Usage: $0 2.3|2.4|pycentral|clean" + ;; +esac diff --git a/debian/buildsys/2.3/bcfg2-server.init b/debian/buildsys/2.3/bcfg2-server.init new file mode 100644 index 000000000..8025b72cc --- /dev/null +++ b/debian/buildsys/2.3/bcfg2-server.init @@ -0,0 +1,44 @@ +#!/bin/sh +# +# Bcfg2Server - Bcfg2 configuration daemon +# +# chkconfig: 2345 19 81 +# description: bcfg2 server for configuration requests +# + +PIDFILE=/var/tmp/bcfg2-server.pid + +case "$1" in + start) + echo -n "Starting bcfg2-server: " + if [ -f "/etc/debian_version" ] ; then + /sbin/start-stop-daemon --pidfile "${PIDFILE}" --make-pidfile -b -S --startas /usr/sbin/bcfg2-server + else + /usr/sbin/bcfg2-server -D "${PIDFILE}" + fi + echo "bcfg2-server" + ;; + stop) + echo -n "Stopping bcfg2-server: " + if [ -f "/etc/debian_version" ] ; then + /sbin/start-stop-daemon -p "${PIDFILE}" -K /usr/sbin/bcfg2-server + else + kill -INT `cat ${PIDFILE}` + fi + echo done + ;; + restart) + $0 stop + sleep 5 + $0 start + ;; + force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: bcfg2-server {start|stop|restart|force-reload}" + exit 1 +esac + +exit 0 diff --git a/debian/buildsys/2.3/bcfg2.init b/debian/buildsys/2.3/bcfg2.init new file mode 100644 index 000000000..a184297e8 --- /dev/null +++ b/debian/buildsys/2.3/bcfg2.init @@ -0,0 +1,37 @@ +#!/bin/sh +# +# bcfg2 - bcfg2 configuration client +# +# chkconfig: 2345 19 81 +# description: bcfg2 client for configuration requests +# +BCFG2_OPTIONS="-q" +test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 + +case "$1" in + start) + if test -e /etc/donttouchme; then + rm -f /etc/donttouchme + echo "bcfg2 does not need to run." + else + echo -n "Running bcfg: " + /usr/sbin/bcfg2 $BCFG2_OPTIONS + echo "bcfg2" + fi + ;; + stop) + /bin/true + ;; + restart) + $0 stop + $0 start + ;; + force-reload) + true + ;; + *) + echo "Usage: bcfg2 {start|stop|restart}" + exit 1 +esac + +exit 0 diff --git a/debian/buildsys/2.3/compat b/debian/buildsys/2.3/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/debian/buildsys/2.3/compat @@ -0,0 +1 @@ +4 diff --git a/debian/buildsys/2.3/control.in b/debian/buildsys/2.3/control.in new file mode 100644 index 000000000..cf17bddf8 --- /dev/null +++ b/debian/buildsys/2.3/control.in @@ -0,0 +1,28 @@ +Source: bcfg2 +Section: admin +Priority: optional +Maintainer: Sami Haahtinen +Build-Depends: @cdbs@, python2.3-dev, python +Standards-Version: 3.7.2.0 + +Package: bcfg2 +Architecture: all +Depends: ${python:Depends}, debsums, python-apt, python2.3-lxml (>= 0.8), ucf +Description: Configuration management client + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2 is the client portion of bcfg2 system which installs configuration + images provided by bcfg2-server + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ + +Package: bcfg2-server +Architecture: all +Depends: ${python:Depends}, python2.3-lxml (>= 0.8), python2.3-gamin | python2.3-fam , python2.3-pyopenssl, libxml2-utils (>= 2.6.23), gamin | fam, ucf, bcfg2 (= ${Source-Version}) +Description: Configuration management server + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2-server is the server for bcfg2 clients, which generates configuration + sets and stores statistics of client system states. + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ diff --git a/debian/buildsys/2.4/control.in b/debian/buildsys/2.4/control.in new file mode 100644 index 000000000..23e64b1a6 --- /dev/null +++ b/debian/buildsys/2.4/control.in @@ -0,0 +1,28 @@ +Source: bcfg2 +Section: admin +Priority: optional +Maintainer: Sami Haahtinen +Build-Depends: @cdbs@, python2.4-dev +Standards-Version: 3.7.2.0 + +Package: bcfg2 +Architecture: all +Depends: ${python:Depends}, debsums, python2.4-apt, python2.4-lxml (>= 0.8), ucf, lsb-base (>= 3.1) +Description: Configuration management client + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2 is the client portion of bcfg2 system which installs configuration + images provided by bcfg2-server + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ + +Package: bcfg2-server +Architecture: all +Depends: ${python:Depends}, python2.4-lxml (>= 0.8), python2.4-gamin | python2.4-fam, python2.4-pyopenssl, libxml2-utils (>= 2.6.23), gamin | fam, lsb-base (>= 3.1), ucf, bcfg2 (= ${Source-Version}) +Description: Configuration management server + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2-server is the server for bcfg2 clients, which generates configuration + sets and stores statistics of client system states. + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ diff --git a/debian/buildsys/common/bcfg2-server.init b/debian/buildsys/common/bcfg2-server.init new file mode 100644 index 000000000..5a51056f2 --- /dev/null +++ b/debian/buildsys/common/bcfg2-server.init @@ -0,0 +1,86 @@ +#!/bin/sh +# +# Bcfg2Server - Bcfg2 configuration daemon +# +# chkconfig: 2345 19 81 +# description: bcfg2 server for configuration requests +# +### BEGIN INIT INFO +# Provides: bcfg2-server +# Required-Start: $network +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Configuration management Server +# Description: Bcfg2 is a configuration management system that builds +# installs configuration files served by bcfg2-server +### END INIT INFO + +DAEMON=/usr/sbin/bcfg2-server +PIDFILE=/var/run/bcfg2-server.pid +PARAMS="-D $PIDFILE" + +# Exit if $DAEMON doesn't exist and is not executable +test -x $DAEMON || exit 5 + +# Include lsb functions +. /lib/lsb/init-functions + +# Internal variables +BINARY=$(basename $DAEMON) + +case "$1" in + start) + echo -n "Starting Configuration Management Server: " + start_daemon ${DAEMON} ${PARAMS} + STATUS=$? + if [ "$STATUS" = 0 ] + then + log_success_msg "bcfg2-server" + else + log_failure_msg "bcfg2-server" + fi + exit $STATUS + ;; + stop) + echo -n "Stopping Configuration Management Server: " + killproc ${BINARY} + STATUS=$? + if [ "$STATUS" = 0 ]; then + log_success_msg "bcfg2-server" + exit 0 + else + log_failure_msg "bcfg2-server" + fi + exit $STATUS + ;; + force-reload|restart) + $0 stop + sleep 5 + $0 start + ;; + status) + # Inspired by redhat /etc/init.d/functions status() call + PID=$(pidof -x $BINARY) + if [ -n "$PID" ]; then + echo "$BINARY (pid $PID) is running..." + exit 0 + fi + + if [ -f $PIDFILE ]; then + if [ -n "$PID" ]; then + echo "$BINARY dead but pid file exists..." + exit 1 + fi + fi + + echo "$BINARY is not running" + exit 3 + ;; + *) + log_success_msg "Usage: bcfg2-server {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/debian/buildsys/common/bcfg2.init b/debian/buildsys/common/bcfg2.init new file mode 100644 index 000000000..e7466f18d --- /dev/null +++ b/debian/buildsys/common/bcfg2.init @@ -0,0 +1,70 @@ +#!/bin/sh +# Start bcfg2 client on startup +# +# bcfg2 - bcfg2 configuration client +# +# chkconfig: 2345 19 81 +# description: bcfg2 client for configuration requests +# +### BEGIN INIT INFO +# Provides: bcfg2 +# Required-Start: $network $named +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: S 0 1 6 +# Short-Description: Configuration management client +# Description: Bcfg2 is a configuration management system that builds +# installs configuration files served by bcfg2-server +# This is a client that installs the server provided +# Configuration. +### END INIT INFO + +# This might need some better logic +BCFG2=/usr/sbin/bcfg2 + +BCFG2_OPTIONS="-q" + +# Disabled per default +BCFG2_ENABLED=0 + +# Include default startup configuration if exists +test -f "/etc/default/bcfg2" && . /etc/default/bcfg2 + +test "$BCFG2_ENABLED" != "0" || exit 0 + +# Exit if bcfg2 doesn't exist and is not executable +test -x $BCFG2 || exit 5 + +# Include lsb functions +. /lib/lsb/init-functions + +case "$1" in + start) + echo -n "Running configuration management client: " + ${BCFG2} ${BCFG2_OPTIONS} + STATUS=$? + if [ "$STATUS" = 0 ] + then + log_success_msg "bcfg2" + else + log_failure_msg "bcfg2" + fi + exit $STATUS + ;; + restart) + $0 stop + $0 start + ;; + status) + # Since we are always OK, always return OK as status + exit 0 + ;; + stop|force-reload) + true + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload|status}" + exit 1 +esac + +exit 0 diff --git a/debian/buildsys/common/compat b/debian/buildsys/common/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/debian/buildsys/common/compat @@ -0,0 +1 @@ +5 diff --git a/debian/buildsys/common/pycompat b/debian/buildsys/common/pycompat new file mode 100644 index 000000000..d00491fd7 --- /dev/null +++ b/debian/buildsys/common/pycompat @@ -0,0 +1 @@ +1 diff --git a/debian/buildsys/pycentral/control.in b/debian/buildsys/pycentral/control.in new file mode 100644 index 000000000..21f7d9550 --- /dev/null +++ b/debian/buildsys/pycentral/control.in @@ -0,0 +1,31 @@ +Source: bcfg2 +Section: admin +Priority: optional +Maintainer: Sami Haahtinen +Build-Depends: @cdbs@ +Standards-Version: 3.7.2.0 +XS-Python-Version: >= 2.3 + +Package: bcfg2 +Architecture: all +Depends: ${python:Depends}, debsums, python-apt, python-lxml (>= 0.8), ucf, lsb-base (>= 3.1-9) +XB-Python-Version: ${python:Versions} +Description: Configuration management client + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2 is the client portion of bcfg2 system which installs configuration + images provided by bcfg2-server + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ + +Package: bcfg2-server +Architecture: all +Depends: ${python:Depends}, python-lxml (>= 0.8), python-fam | python2.3-gamin | python2.4-gamin , python-pyopenssl, libxml2-utils (>= 2.6.23), fam | gamin, lsb-base (>= 3.1-9), ucf, bcfg2 (= ${Source-Version}) +XB-Python-Version: ${python:Versions} +Description: Configuration management server + Bcfg2 is a configuration management system that generates configuration sets + for clients bound by client profiles. + bcfg2-server is the server for bcfg2 clients, which generates configuration + sets and stores statistics of client system states. + . + Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ diff --git a/debian/buildsys/pycentral/pycompat b/debian/buildsys/pycentral/pycompat new file mode 100644 index 000000000..0cfbf0888 --- /dev/null +++ b/debian/buildsys/pycentral/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/changelog b/debian/changelog index c2f703132..4a934eff1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bcfg2 (0.8.2+svn060731-1) unstable; urgency=low + + * new packaging code + + -- Sami Haahtinen Mon, 31 Jul 2006 20:58:29 -0500 + bcfg2 (0.8.2+svn060725-1) unstable; urgency=low [ Sami Haahtinen ] diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b8626c4cf..000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/debian/control b/debian/control deleted file mode 100644 index e98f836ea..000000000 --- a/debian/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: bcfg2 -Section: admin -Priority: optional -Maintainer: Sami Haahtinen -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-dev (>= 2.3.5-11), python-central (>= 0.5.0) -Standards-Version: 3.7.2.0 -XS-Python-Version: >= 2.3 - -Package: bcfg2 -Architecture: all -Depends: ${python:Depends}, debsums, python-apt, python-lxml (>= 0.8), ucf, lsb-base (>= 3.1-9) -XB-Python-Version: ${python:Versions} -Description: Configuration management client - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2 is the client portion of bcfg2 system which installs configuration - images provided by bcfg2-server - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ - -Package: bcfg2-server -Architecture: all -Depends: ${python:Depends}, python-lxml (>= 0.8), python2.3-fam | python2.4-fam | python-fam | python2.3-gamin | python2.4-gamin , python-pyopenssl, libxml2-utils (>= 2.6.23), fam | gamin, lsb-base (>= 3.1-9), ucf, bcfg2 (= ${source:Version}) -XB-Python-Version: ${python:Versions} -Description: Configuration management server - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2-server is the server for bcfg2 clients, which generates configuration - sets and stores statistics of client system states. - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index 21f7d9550..000000000 --- a/debian/control.in +++ /dev/null @@ -1,31 +0,0 @@ -Source: bcfg2 -Section: admin -Priority: optional -Maintainer: Sami Haahtinen -Build-Depends: @cdbs@ -Standards-Version: 3.7.2.0 -XS-Python-Version: >= 2.3 - -Package: bcfg2 -Architecture: all -Depends: ${python:Depends}, debsums, python-apt, python-lxml (>= 0.8), ucf, lsb-base (>= 3.1-9) -XB-Python-Version: ${python:Versions} -Description: Configuration management client - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2 is the client portion of bcfg2 system which installs configuration - images provided by bcfg2-server - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ - -Package: bcfg2-server -Architecture: all -Depends: ${python:Depends}, python-lxml (>= 0.8), python-fam | python2.3-gamin | python2.4-gamin , python-pyopenssl, libxml2-utils (>= 2.6.23), fam | gamin, lsb-base (>= 3.1-9), ucf, bcfg2 (= ${Source-Version}) -XB-Python-Version: ${python:Versions} -Description: Configuration management server - Bcfg2 is a configuration management system that generates configuration sets - for clients bound by client profiles. - bcfg2-server is the server for bcfg2 clients, which generates configuration - sets and stores statistics of client system states. - . - Homepage: http://trac.mcs.anl.gov/projects/bcfg2/ diff --git a/debian/copyright b/debian/copyright index 38a51bb42..cc6802369 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,7 +5,7 @@ It was downloaded from http://trac.mcs.anl.gov/projects/bcfg2/ Upstream Author: Narayan Desai Copyright: - 1999 - 2006: University of Chicago + 2004 - 2006: University of Chicago License: diff --git a/debian/pycompat b/debian/pycompat deleted file mode 100644 index 0cfbf0888..000000000 --- a/debian/pycompat +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/debian/rules b/debian/rules index bcd55d66c..2cb0ecd74 100755 --- a/debian/rules +++ b/debian/rules @@ -17,13 +17,13 @@ include /usr/share/cdbs/1/class/python-distutils.mk DEB_PYTHON_VERSIONS = 2.3 # Since cdbs is able to handle only one python package at once do things here: -#binary-install/bcfg2-server :: binary-install/%: +binary-install/bcfg2-server :: binary-install/%: # Mostly borrowed from /usr/share/cdbs/1/class/python-distutils.mk -#ifdef _cdbs_rules_debhelper -# ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) -# dh_pysupport -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -# else -# dh_pycentral -pbcfg2-server -# endif -# dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -#endif +ifdef DEB_PYTHON_SYSTEM + ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + dh_pysupport -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) + else + dh_pycentral -pbcfg2-server + endif +endif + dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -- cgit v1.2.3-1-g7c22