]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
openssh: Fix installation of configuration.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Jan 2010 21:52:29 +0000 (22:52 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Jan 2010 21:52:29 +0000 (22:52 +0100)
pkgs/core/openssh/openssh.nm

index 52bbedd2ce24884dc3e7a92728d5e6c56e033ecb..c5d05146dc33541962365eb0647c1a1055243e0c 100644 (file)
@@ -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