Sebastien Jodogne pushed to branch master at Debian Med / orthanc-dicomweb
Commits: 9770a892 by jodogne-guest at 2022-01-16T16:56:22+01:00 replace explict restart of Orthanc in postinst/postrm by orthanc-restart-trigger - - - - - da443952 by jodogne-guest at 2022-01-16T16:58:56+01:00 fix lintian overrides - - - - - 3e081c32 by jodogne-guest at 2022-01-16T17:07:14+01:00 Upload to unstable - - - - - 6 changed files: - debian/changelog - debian/control - debian/postinst - − debian/postrm - debian/source.lintian-overrides - + debian/triggers Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +orthanc-dicomweb (1.7+dfsg-2) unstable; urgency=medium + + * Replace explicit restart of Orthanc by orthanc-restart-trigger + + -- Sebastien Jodogne <[email protected]> Sun, 16 Jan 2022 16:53:42 +0100 + orthanc-dicomweb (1.7+dfsg-1) unstable; urgency=medium * New upstream version ===================================== debian/control ===================================== @@ -25,7 +25,7 @@ Package: orthanc-dicomweb Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, - orthanc (>= 1.7.0) + orthanc (>= 1.9.7+dfsg-6) Built-Using: ${orthancframework:Built-Using} Description: Plugin to extend Orthanc with support of WADO and DICOMweb Orthanc DICOMweb is a plugin to Orthanc, the lightweight, RESTful Vendor ===================================== debian/postinst ===================================== @@ -7,23 +7,13 @@ case $1 in # Configure the permissions of the configuration file chown orthanc:orthanc /etc/orthanc/dicomweb.json chmod 0664 /etc/orthanc/dicomweb.json - - # Restart the Orthanc service - # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2 - if [ -x /etc/init.d/orthanc ]; then - if which invoke-rc.d >/dev/null 2>&1; then - invoke-rc.d orthanc restart - else - /etc/init.d/orthanc restart - fi - fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) - echo "prerm called with unknown argument \`$1'" >&2 + echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac ===================================== debian/postrm deleted ===================================== @@ -1,27 +0,0 @@ -#!/bin/sh - -set -e - -case $1 in - purge|remove|upgrade) - # Restart the Orthanc service - # https://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3.2 - if [ -x /etc/init.d/orthanc ]; then - if which invoke-rc.d >/dev/null 2>&1; then - invoke-rc.d orthanc restart - else - /etc/init.d/orthanc restart - fi - fi - ;; - - failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# ===================================== debian/source.lintian-overrides ===================================== @@ -1 +1,2 @@ -orthanc-dicomweb source: source-is-missing debian/ThirdPartyDownloads/babel-polyfill/polyfill.js line length is 480 characters (>256) +orthanc-dicomweb source: source-is-missing debian/ThirdPartyDownloads/babel-polyfill/polyfill.js +orthanc-dicomweb source: source-is-missing debian/ThirdPartyDownloads/bootstrap-vue/bootstrap-vue.js ===================================== debian/triggers ===================================== @@ -0,0 +1,3 @@ +# Restart the Orthanc service with dpkg trigger +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003314 +activate-await orthanc-restart-trigger View it on GitLab: https://salsa.debian.org/med-team/orthanc-dicomweb/-/compare/21a0cb4d01979ec80bc7f3ae0884fec6458b824b...3e081c327798a3b1f8a4f4ec1a26ee8d57abafeb -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-dicomweb/-/compare/21a0cb4d01979ec80bc7f3ae0884fec6458b824b...3e081c327798a3b1f8a4f4ec1a26ee8d57abafeb You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
