openssh: Update to 7.0p1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-08-12 14:01:55 +01:00
parent 7383bf2b1b
commit 45b6ea63af
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1 @@
../../../common/openssh

View File

@@ -32,6 +32,7 @@ do
done
# Stop services
/etc/init.d/sshd stop
# Extract files
extract_files
@@ -39,7 +40,12 @@ extract_files
# Update Language cache
/usr/local/bin/update-lang-cache
# Update SSH configuration
sed -i /etc/ssh/sshd_config \
-e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/'
# Start services
/etc/init.d/sshd start
# This update need a reboot...
#touch /var/run/need_reboot

View File

@@ -24,7 +24,7 @@
include Config
VER = 6.8p1
VER = 7.0p1
THISAPP = openssh-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 08f72de6751acfbd0892b5f003922701
$(DL_FILE)_MD5 = 831883f251ac34f0ab9c812acc24ee69
install : $(TARGET)
@@ -90,6 +90,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-e 's/^#\?SyslogFacility AUTH .*$$/SyslogFacility AUTH/' \
-e 's/^#\?LogLevel INFO .*$$/LogLevel INFO/' \
-e 's/^#\?AllowTcpForwarding .*$$/AllowTcpForwarding no/' \
-e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/' \
/etc/ssh/sshd_config
@rm -rf $(DIR_APP)
@$(POSTBUILD)