]> andersk Git - openssh.git/commitdiff
- (djm) Redhat spec: Don't install profile.d scripts when not
authordjm <djm>
Mon, 12 May 2003 08:15:49 +0000 (08:15 +0000)
committerdjm <djm>
Mon, 12 May 2003 08:15:49 +0000 (08:15 +0000)
   building with GNOME/GTK askpass (patch from bet@rahul.net)

ChangeLog
contrib/redhat/openssh.spec

index 8cb15daff3cb264ecac2d2f8398e83e7f16e6a5e..1775dad06b934c5e54492075b8ae3b4df38d9619 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20030512
+ - (djm) Redhat spec: Don't install profile.d scripts when not 
+   building with GNOME/GTK askpass (patch from bet@rahul.net)
+
 20030510
  - (dtucker) Bug #318: Create ssh_prng_cmds.out during "make" rather than
    "make install".  Patch by roth@feep.net.
index 8809ded7094ae7c574db1894dc8da318ce4f1184..623cfa6d634c65a1ed12a3571b30c76ebf092768 100644 (file)
@@ -1,5 +1,5 @@
 %define ver 3.6.1p2
-%define rel 1
+%define rel 2
 
 # OpenSSH privilege separation requires a user & group ID
 %define sshd_uid    74
@@ -274,9 +274,11 @@ install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome
         rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin
 %endif
 
+%if ! %{no_gnome_askpass}
 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
 install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
 install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+%endif
 
 perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
 
@@ -400,6 +402,10 @@ fi
 %endif
 
 %changelog
+* Mon May 12 2003 Damien Miller <djm@mindrot.org>
+- Don't install profile.d scripts when not building with GNOME/GTK askpass
+  (patch from bet@rahul.net)
+
 * Wed Oct 01 2002 Damien Miller <djm@mindrot.org>
 - Install ssh-agent setgid nobody to prevent ptrace() key theft attacks
 
This page took 0.111303 seconds and 5 git commands to generate.