This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gowebrpc. from 375c8c7 debian/copyright: Typo fix for Alex's mail address. new e4b240e debian/control: Add D: websockify. new d2803d6 debian/x2gowebrpc.{postinst,postrm}: Make sure x2gorpc.cgi is executable for www-data user. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/control | 1 + debian/x2gowebrpc.postinst | 40 ++++++++++++++++++++++++++++++++++++++++ debian/x2gowebrpc.postrm | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100755 debian/x2gowebrpc.postinst create mode 100755 debian/x2gowebrpc.postrm -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gowebrpc.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gowebrpc. commit e4b240e968b0acd7136e697debbf16950c814e3a Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Jun 21 18:41:01 2021 +0200 debian/control: Add D: websockify. --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 32e2ff7..126c5c1 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Depends: libencode-perl, libexpect-perl, libjson-perl, + websockify, ${misc:Depends}, Description: X2Go HTML5 Client (Web RPC CGI Script) X2Go is a server based computing environment with -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gowebrpc.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gowebrpc. commit d2803d687b8ba4e79d0bed46280a7d97c9ae6c3a Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon Jun 21 18:41:42 2021 +0200 debian/x2gowebrpc.{postinst,postrm}: Make sure x2gorpc.cgi is executable for www-data user. --- debian/x2gowebrpc.postinst | 40 ++++++++++++++++++++++++++++++++++++++++ debian/x2gowebrpc.postrm | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/debian/x2gowebrpc.postinst b/debian/x2gowebrpc.postinst new file mode 100755 index 0000000..e651f84 --- /dev/null +++ b/debian/x2gowebrpc.postinst @@ -0,0 +1,40 @@ +#!/bin/sh +# postinst script for x2gowebrpc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "${1}" in + 'configure') + # www-data may execute (and read) x2gorpc.cgi, but not modify + if ! dpkg-statoverride --list '/usr/lib/cgi-bin/x2gorpc.cgi' >'/dev/null'; then + dpkg-statoverride --add --update 'www-data' 'root' '0560' '/usr/lib/cgi-bin/x2gorpc.cgi' + fi + ;; + 'abort-upgrade'|'abort-remove'|'abort-deconfigure') + ;; + *) + echo "postinst called with unknown argument '${1}'" >&2 + exit '1' + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit '0' diff --git a/debian/x2gowebrpc.postrm b/debian/x2gowebrpc.postrm new file mode 100755 index 0000000..0b16f2c --- /dev/null +++ b/debian/x2gowebrpc.postrm @@ -0,0 +1,38 @@ +#! /bin/sh +# postrm script for x2gowebrpc + +set -e + +# see: dh_installdeb(1) +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see /usr/share/doc/packaging-manual/ + +case "${1}" in + 'purge') + if dpkg-statoverride --list '/usr/lib/cgi-bin/x2gorpc.cgi' >'/dev/null'; then + dpkg-statoverride --remove '/usr/lib/cgi-bin/x2gorpc.cgi' + fi + ;; + 'remove'|'upgrade'|'failed-upgrade'|'abort-install'|'abort-upgrade'|'disappear') + ;; + *) + echo "postrm called with unknown argument '${1}'" >&2 + exit '1' + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit '0' -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gowebrpc.git