Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
--- /dev/null
+../../../common/openssh
\ No newline at end of file
done
# Stop services
+/etc/init.d/sshd stop
# Extract files
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
include Config
-VER = 6.8p1
+VER = 7.0p1
THISAPP = openssh-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 08f72de6751acfbd0892b5f003922701
+$(DL_FILE)_MD5 = 831883f251ac34f0ab9c812acc24ee69
install : $(TARGET)
-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)