From: Michael Tremer Date: Sun, 31 Jan 2010 21:52:29 +0000 (+0100) Subject: openssh: Fix installation of configuration. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b771887db18261b91f55caddae8f418389671ff2;p=ipfire-3.x.git openssh: Fix installation of configuration. --- diff --git a/pkgs/core/openssh/openssh.nm b/pkgs/core/openssh/openssh.nm index 52bbedd2c..c5d05146d 100644 --- a/pkgs/core/openssh/openssh.nm +++ b/pkgs/core/openssh/openssh.nm @@ -48,6 +48,7 @@ PKG_TARBALL = $(THISAPP).tar.gz ############################################################################### # Installation Details ############################################################################### + CONFIGURE_OPTIONS += \ --sysconfdir=/etc/ssh \ --datadir=/usr/share/sshd \ @@ -55,11 +56,11 @@ CONFIGURE_OPTIONS += \ --with-md5-passwords \ --with-privsep-path=/var/lib/sshd \ --with-pam - + define STAGE_INSTALL_CMDS -# sed 's@d/login@d/sshd@g' /etc/pam.d/login > /etc/pam.d/sshd -# chmod 644 /etc/pam.d/sshd -# -# @$(INSTALL_INITSCRIPT) -# cp -vf $(DIR_SOURCE)/$(PKG_NAME)/sshd_config /etc/ssh/sshd_config + -mkdir -pv $(BUILDROOT)/etc/pam.d + cp -vf $(DIR_SOURCE)/sshd.pam $(BUILDROOT)/etc/pam.d/sshd + + -mkdir -pv $(BUILDROOT)/etc/ssh + cp -vf $(DIR_SOURCE)/sshd_config $(BUILDROOT)/etc/ssh/sshd_config endef