Package: gitolite3
Version: 3.6.1-2+deb8u1
Severity: minor
Tags: upstream
Dear Maintainer,
following the instructions for installing the http access to a gitolite3
installation, I see warnings about unitialized $soc in the
/usr/share/gitolite3/gitolite-shell script.
Around line 35 I put:
# sanity...
if (defined(my $soc = $ENV{SSH_ORIGINAL_COMMAND})) {
$soc =~ s/[\n\r]+/<<newline>>/g;
_die "I don't like newlines in the command: '$soc'\n" if
$ENV{SSH_ORIGINAL_COMMAND} ne $soc;
}
instead of
# sanity
my $soc = $ENV{SSH_ORIGINAL_COMMAND};
$soc =~ s/[\n\r]+/<<newline>>/g;
_die "I don't like newlines in the command: '$soc'\n" if
$ENV{SSH_ORIGINAL_COMMAND} ne $soc;
This supresses the warnings.
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gitolite3 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.56
ii git [git-core] 1:2.1.4-2.1+deb8u2
ii openssh-server [ssh-server] 1:6.7p1-5+deb8u2
ii perl 5.20.2-3+deb8u5
gitolite3 recommends no packages.
Versions of packages gitolite3 suggests:
pn git-daemon-run <none>
pn gitweb <none>
-- debconf information excluded