- Timestamp:
- Aug 9, 2017, 3:40:24 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ba861c4
- Parents:
- 1bdb08d
- git-author:
- Joachim Langenbach <joachim.langenbach@…> (08/08/17 14:40:50)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (08/09/17 15:40:24)
- Location:
- debian
- Files:
-
- 7 edited
-
changelog (modified) (1 diff)
-
control (modified) (1 diff)
-
gnuboat-jessie.postinst (modified) (1 diff)
-
gnuboat-puppet.config (modified) (1 diff)
-
gnuboat-puppet.postinst (modified) (1 diff)
-
python3-gnuboat.postinst (modified) (1 diff, 1 prop)
-
python3-gnuboat.prerm (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
debian/changelog
r1bdb08d r90530ec 1 gnuboat (0.4.9) jessie; urgency=low 2 3 * Fixed gnuboat-puppet postinst script 4 5 -- EngSaS - Maintainer <info@engsas.de> Tue, 08 Aug 2017 14:45:00 +0200 1 6 gnuboat (0.4.8) jessie; urgency=low 2 7 -
debian/control
r1bdb08d r90530ec 3 3 Priority: optional 4 4 Maintainer: EngSaS - Maintainer <info@engsas.de> 5 Build-Depends: debhelper (>= 9), lsb-release, dh-python, dh-systemd (>= 1.5), po-debconf, python-all, python3-all, python-all-dbg, python3-all-dbg, python-setuptools, python3-setuptools, python-rrdtool, python-pynmea2, python3-pynmea2, phing, php-pear 5 # Removed po-debconf, as puppet could not be run from postinst script (see gnuboat-puppet.postinst for details) 6 Build-Depends: debhelper (>= 9), lsb-release, dh-python, dh-systemd (>= 1.5), python-all, python3-all, python-all-dbg, python3-all-dbg, python-setuptools, python3-setuptools, python-rrdtool, python-pynmea2, python3-pynmea2, phing, php-pear 6 7 Standards-Version: 3.9.6 7 8 Homepage: https://trac.falaba.de/gnuboat -
debian/gnuboat-jessie.postinst
r1bdb08d r90530ec 1 #!/bin/ bash1 #!/bin/sh 2 2 3 3 set -e -
debian/gnuboat-puppet.config
r1bdb08d r90530ec 4 4 5 5 # Debconf library 6 . /usr/share/debconf/confmodule6 #. /usr/share/debconf/confmodule 7 7 8 db_input medium gnuboat-puppet/runpuppetagent || true9 db_go8 #db_input medium gnuboat-puppet/runpuppetagent || true 9 #db_go 10 10 -
debian/gnuboat-puppet.postinst
r1bdb08d r90530ec 1 2 #!/bin/bash 1 #!/bin/sh 3 2 4 3 set -e 5 4 6 5 # Run puppet, if wanted by the user (in upgrade case) 7 if [ "$1" = configure" ]; then 8 if [ ! -z "$2"]; then 6 # Not possible, as this apt instance locks the database 7 # and therefore the puppet apt instance is hanging 8 #if [ "$1" = configure ]; then 9 # if [ ! -z $2 ]; then 9 10 # it's an upgrade 10 11 # Source debconf library. 11 . /usr/share/debconf/confmodule12 13 db_get gnuboat-puppet/runpuppetagent14 if [ "$RET" = "true" ]; then15 puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/ || true16 fi17 18 fi19 fi 12 # . /usr/share/debconf/confmodule 13 # 14 # db_get gnuboat-puppet/runpuppetagent 15 # if [ "$RET" = "true" ]; then 16 # puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/ || true 17 # fi 18 # fi 19 #fi 20 echo 'To apply the GNUBoat config to your system run "puppet apply --test --config /etc/puppet/gnuboat_puppet.conf --environment gnuboat /etc/puppet/environments/gnuboat/manifests/"' 20 21 21 22 #DEBHELPER# -
debian/python3-gnuboat.postinst
-
Property mode
changed from
120000to100644
r1bdb08d r90530ec 1 python2-gnuboat.postinst 1 #!/bin/sh 2 set -e 3 4 mkdir -p /var/spool/gnuboat 5 mkdir -p /var/lib/gnuboat 6 mkdir -p /var/log/gnuboat 7 chown www-data:www-data /var/spool/gnuboat /var/lib/gnuboat /var/log/gnuboat 8 9 10 #DEBHELPER# 11 12 exit 0 -
Property mode
changed from
-
debian/python3-gnuboat.prerm
-
Property mode
changed from
120000to100644
r1bdb08d r90530ec 1 python2-gnuboat.prerm 1 #!/bin/sh 2 set -e 3 4 DIR_DATA="/var/lib/gnuboat/" 5 DIR_LOG="/var/log/gnuboat/" 6 DIR_SPOOL="/var/spool/gnuboat" 7 8 rm -R "${DIR_SPOLL}" 9 10 if [ "$(ls -A ${DIR_DATA})" ]; then 11 # do not remove the data directory 12 echo "Your data directory (${DIR_DATA}) is not empty. Leaving the data directory untouched!" 13 else 14 rm -R "${DIR_DATA}" 15 fi 16 17 if [ "$(ls -A ${DIR_LOG})" ]; then 18 # do not remove the data directory 19 echo "Your log directory (${DIR_LOG}) is not empty. Leaving the log directory untouched!" 20 else 21 rm -R "${DIR_LOG}" 22 fi 23 24 #DEBHELPER# 25 26 exit 0 -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
