summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-12 18:15:49 +1000
committerDamien Miller <djm@mindrot.org>2003-05-12 18:15:49 +1000
commit75d3b05c57e8284389f77d6105ebc29d00875b17 (patch)
treea1f2e64948f09a6760acb0ae16ec030b259cb2b2
parent0d8b792931b32442b66b9300e8678e425446ae3b (diff)
- (djm) Redhat spec: Don't install profile.d scripts when not
building with GNOME/GTK askpass (patch from bet@rahul.net)
-rw-r--r--ChangeLog6
-rw-r--r--contrib/redhat/openssh.spec8
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 25492fd67..bc1fb1387 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120030512
2 - (djm) Redhat spec: Don't install profile.d scripts when not
3 building with GNOME/GTK askpass (patch from bet@rahul.net)
4
120030510 520030510
2 - (dtucker) Bug #318: Create ssh_prng_cmds.out during "make" rather than 6 - (dtucker) Bug #318: Create ssh_prng_cmds.out during "make" rather than
3 "make install". Patch by roth@feep.net. 7 "make install". Patch by roth@feep.net.
@@ -1380,4 +1384,4 @@
1380 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1384 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1381 ok provos@ 1385 ok provos@
1382 1386
1383$Id: ChangeLog,v 1.2674 2003/05/10 13:42:12 djm Exp $ 1387$Id: ChangeLog,v 1.2675 2003/05/12 08:15:49 djm Exp $
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 8809ded70..623cfa6d6 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,5 +1,5 @@
1%define ver 3.6.1p2 1%define ver 3.6.1p2
2%define rel 1 2%define rel 2
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
5%define sshd_uid 74 5%define sshd_uid 74
@@ -274,9 +274,11 @@ install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome
274 rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin 274 rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin
275%endif 275%endif
276 276
277%if ! %{no_gnome_askpass}
277install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ 278install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
278install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ 279install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
279install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ 280install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
281%endif
280 282
281perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/* 283perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
282 284
@@ -400,6 +402,10 @@ fi
400%endif 402%endif
401 403
402%changelog 404%changelog
405* Mon May 12 2003 Damien Miller <djm@mindrot.org>
406- Don't install profile.d scripts when not building with GNOME/GTK askpass
407 (patch from bet@rahul.net)
408
403* Wed Oct 01 2002 Damien Miller <djm@mindrot.org> 409* Wed Oct 01 2002 Damien Miller <djm@mindrot.org>
404- Install ssh-agent setgid nobody to prevent ptrace() key theft attacks 410- Install ssh-agent setgid nobody to prevent ptrace() key theft attacks
405 411