- (djm) Add --with-pam to RPM spec files
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index 3191c67..d0546f2 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -142,6 +142,7 @@
--prefix=/usr \
--sysconfdir=/etc/ssh \
--libexecdir=%{_libexecdir}/openssh \
+ --with-pam \
--with-tcp-wrappers \
--with-ipv4-default \
--with-rsh=/usr/bin/rsh
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 7603d08..731fb04 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -142,10 +142,11 @@
%configure \
--libexecdir=%{_libexecdir}/openssh \
+ --with-pam \
--with-tcp-wrappers \
--with-ipv4-default \
--with-rsh=/usr/bin/rsh \
- --with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
+ --with-default-path=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
make
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 4578647..04625f6 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -88,8 +88,13 @@
%build
CFLAGS="$RPM_OPT_FLAGS" \
-./configure --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \
- --with-tcp-wrappers --with-ipv4-default --libexecdir=/usr/lib/ssh
+./configure --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --with-pam \
+ --with-gnome-askpass \
+ --with-tcp-wrappers \
+ --with-ipv4-default \
+ --libexecdir=/usr/lib/ssh
make
cd contrib