Bug#135244: apache-ssl: TERMCAP entry break unset `env | sed s/=.*//` from init.d/apache-ssl
Package: apache-ssl
Version: 1.3.22.1+1.44-1
Severity: normal
Tags: patch
The TERMCAP entry on this box causes bogus unset commands in the apache-ssl
init script. grepping out lines that begin with spaces fixes it.
$ diff /tmp/apache-ssl.lh /etc/init.d/apache-ssl
7c7
< unset `env | grep ^[^[:space:]] | sed s/=.*//`
---
> unset `env | sed s/=.*//`
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux wolle 2.2.19-reiserfs #1 SMP Sat Apr 14 08:47:15 EDT 2001 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache-ssl depends on:
ii apache-common 1.3.22-5 Support files for all Apache webse
ii libc6 2.2.4-7 GNU C Library: Shared libraries an
ii libdb2 2:2.7.7.0-2 The Berkeley database routines (ru
ii libexpat1 1.95.2-6 XML parsing C library - runtime li
ii libssl0.9.6 0.9.6b-4 SSL shared libraries
ii mime-support 3.13-3 MIME files 'mime.types' & 'mailcap
ii openssl 0.9.6b-4 Secure Socket Layer (SSL) binary a
ii perl 5.6.1-6 Larry Wall's Practical Extraction
ii perl [perl5] 5.6.1-6 Larry Wall's Practical Extraction
Reply to: