mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
openssh: Update to 7.0p1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/94/filelists/openssh
Symbolic link
1
config/rootfiles/core/94/filelists/openssh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openssh
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user