From 20935750e8b5bb36a3f51eb3ef54c97d2d26aaf5 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:51:14 +0100 Subject: [PATCH] zshrc: Remove apache2-ssl-certificate Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 3 --- etc/zsh/zshrc | 21 --------------------- 2 files changed, 24 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 6cd5b97..aa356b7 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -456,9 +456,6 @@ Sets all ulimit values to "unlimited". : **any()** Lists processes matching given pattern. -: **apache2-ssl-certificate()** -Advices the user how to create self signed certificates. - : **asc()** Login on the host provided as argument using autossh. Then reattach a GNU screen session if a detached session is around or detach a currently attached screen or diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 80a362d..02d91a9 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1642,27 +1642,6 @@ if check_com -c get_3ware ; then } fi -# I hate lacking backward compatibility, so provide an alternative therefore -if ! check_com -c apache2-ssl-certificate ; then - - apache2-ssl-certificate() { - - print 'Debian does not ship apache2-ssl-certificate anymore (see #398520). :(' - print 'You might want to take a look at Debian the package ssl-cert as well.' - print 'To generate a certificate for use with apache2 follow the instructions:' - - echo ' - -export RANDFILE=/dev/random -mkdir /etc/apache2/ssl/ -openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem -chmod 600 /etc/apache2/ssl/apache.pem - -Run "grml-tips ssl-certificate" if you need further instructions. -' - } -fi - # Use hard limits, except for a smaller stack and no core dumps unlimit is425 && limit stack 8192 -- 2.1.4