2004-09-09 09:35:17 +00:00
|
|
|
# Version of ssh-askpass
|
|
|
|
%define aversion 1.1.0
|
|
|
|
|
|
|
|
# Do we want to disable building of x11-askpass? (1=yes 0=no)
|
|
|
|
%define no_x11_askpass 0
|
|
|
|
|
|
|
|
# Do we want to disable building of gnome-askpass? (1=yes 0=no)
|
|
|
|
%define no_gnome_askpass 0
|
|
|
|
|
2004-09-09 09:35:01 +00:00
|
|
|
Summary: OpenSSH free Secure Shell (SSH) implementation
|
|
|
|
Name: openssh
|
2004-09-09 09:35:17 +00:00
|
|
|
Version: 2.3.0p1
|
|
|
|
Release: 4
|
2004-09-09 09:35:01 +00:00
|
|
|
URL: http://www.openssh.com/portable.html
|
|
|
|
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
Source1: http://www.ntrnet.net/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
|
2004-09-09 09:35:17 +00:00
|
|
|
%endif
|
2004-09-09 09:35:10 +00:00
|
|
|
Source2: openssh.init
|
|
|
|
Source3: gnome-ssh-askpass.sh
|
|
|
|
Source4: gnome-ssh-askpass.csh
|
2004-09-09 09:35:17 +00:00
|
|
|
Source5: openssh.primes
|
|
|
|
Patch0: openssh-2.3.0p1-redhat.patch
|
2004-09-09 09:35:10 +00:00
|
|
|
Patch1: openssh-2.2.0p1-agent.patch
|
2004-09-09 09:35:17 +00:00
|
|
|
Patch2: openssh-2.2.0p1-keygen-dsa.patch
|
|
|
|
Patch3: openssh-2.2.0p1-authpriv.patch
|
|
|
|
Patch4: openssh-2.3.0p1-path.patch
|
2004-09-09 09:35:01 +00:00
|
|
|
Copyright: BSD
|
|
|
|
Group: Applications/Internet
|
|
|
|
BuildRoot: %{_tmppath}/openssh-%{version}-buildroot
|
|
|
|
Obsoletes: ssh
|
2004-09-09 09:35:17 +00:00
|
|
|
PreReq: dev, openssl >= 0.9.5a, initscripts >= 5.20
|
2004-09-09 09:35:01 +00:00
|
|
|
Requires: openssl >= 0.9.5a
|
2004-09-09 09:35:17 +00:00
|
|
|
BuildPreReq: perl, openssl-devel, tcp_wrappers
|
2004-09-09 09:35:10 +00:00
|
|
|
BuildPreReq: /bin/login, /usr/bin/rsh, /usr/include/security/pam_appl.h
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
|
|
|
BuildPreReq: XFree86-devel
|
|
|
|
%endif
|
|
|
|
%if ! %{no_gnome_askpass}
|
|
|
|
BuildPreReq: gnome-libs-devel
|
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
|
|
|
%package clients
|
|
|
|
Summary: OpenSSH Secure Shell protocol clients
|
2004-09-09 09:35:10 +00:00
|
|
|
Requires: openssh = %{version}-%{release}
|
2004-09-09 09:35:01 +00:00
|
|
|
Group: Applications/Internet
|
|
|
|
Obsoletes: ssh-clients
|
|
|
|
|
|
|
|
%package server
|
|
|
|
Summary: OpenSSH Secure Shell protocol server (sshd)
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
Obsoletes: ssh-server
|
2004-09-09 09:35:10 +00:00
|
|
|
PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9
|
2004-09-09 09:35:01 +00:00
|
|
|
Requires: /etc/pam.d/system-auth
|
|
|
|
|
|
|
|
%package askpass
|
|
|
|
Summary: OpenSSH X11 passphrase dialog
|
|
|
|
Group: Applications/Internet
|
2004-09-09 09:35:10 +00:00
|
|
|
Requires: openssh = %{version}-%{release}
|
2004-09-09 09:35:01 +00:00
|
|
|
Obsoletes: ssh-extras
|
|
|
|
|
|
|
|
%package askpass-gnome
|
|
|
|
Summary: OpenSSH GNOME passphrase dialog
|
|
|
|
Group: Applications/Internet
|
2004-09-09 09:35:10 +00:00
|
|
|
Requires: openssh = %{version}-%{release}
|
2004-09-09 09:35:01 +00:00
|
|
|
Obsoletes: ssh-extras
|
|
|
|
|
|
|
|
%description
|
|
|
|
Ssh (Secure Shell) a program for logging into a remote machine and for
|
|
|
|
executing commands in a remote machine. It is intended to replace
|
|
|
|
rlogin and rsh, and provide secure encrypted communications between
|
|
|
|
two untrusted hosts over an insecure network. X11 connections and
|
|
|
|
arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
|
|
|
|
|
|
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
|
|
|
up to date in terms of security and features, as well as removing all
|
|
|
|
patented algorithms to separate libraries (OpenSSL).
|
|
|
|
|
|
|
|
This package includes the core files necessary for both the OpenSSH
|
|
|
|
client and server. To make this package useful, you should also
|
|
|
|
install openssh-clients, openssh-server, or both.
|
|
|
|
|
|
|
|
%description clients
|
|
|
|
Ssh (Secure Shell) a program for logging into a remote machine and for
|
|
|
|
executing commands in a remote machine. It is intended to replace
|
|
|
|
rlogin and rsh, and provide secure encrypted communications between
|
|
|
|
two untrusted hosts over an insecure network. X11 connections and
|
|
|
|
arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
|
|
|
|
|
|
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
|
|
|
up to date in terms of security and features, as well as removing all
|
|
|
|
patented algorithms to separate libraries (OpenSSL).
|
|
|
|
|
|
|
|
This package includes the clients necessary to make encrypted connections
|
|
|
|
to SSH servers.
|
|
|
|
|
|
|
|
%description server
|
|
|
|
Ssh (Secure Shell) a program for logging into a remote machine and for
|
|
|
|
executing commands in a remote machine. It is intended to replace
|
|
|
|
rlogin and rsh, and provide secure encrypted communications between
|
|
|
|
two untrusted hosts over an insecure network. X11 connections and
|
|
|
|
arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
|
|
|
|
|
|
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
|
|
|
up to date in terms of security and features, as well as removing all
|
|
|
|
patented algorithms to separate libraries (OpenSSL).
|
|
|
|
|
|
|
|
This package contains the secure shell daemon. The sshd is the server
|
|
|
|
part of the secure shell protocol and allows ssh clients to connect to
|
|
|
|
your host.
|
|
|
|
|
|
|
|
%description askpass
|
|
|
|
Ssh (Secure Shell) a program for logging into a remote machine and for
|
|
|
|
executing commands in a remote machine. It is intended to replace
|
|
|
|
rlogin and rsh, and provide secure encrypted communications between
|
|
|
|
two untrusted hosts over an insecure network. X11 connections and
|
|
|
|
arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
|
|
|
|
|
|
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
|
|
|
up to date in terms of security and features, as well as removing all
|
|
|
|
patented algorithms to separate libraries (OpenSSL).
|
|
|
|
|
|
|
|
This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase
|
|
|
|
dialog.
|
|
|
|
|
|
|
|
%description askpass-gnome
|
|
|
|
Ssh (Secure Shell) a program for logging into a remote machine and for
|
|
|
|
executing commands in a remote machine. It is intended to replace
|
|
|
|
rlogin and rsh, and provide secure encrypted communications between
|
|
|
|
two untrusted hosts over an insecure network. X11 connections and
|
|
|
|
arbitrary TCP/IP ports can also be forwarded over the secure channel.
|
|
|
|
|
|
|
|
OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
|
|
|
|
up to date in terms of security and features, as well as removing all
|
|
|
|
patented algorithms to separate libraries (OpenSSL).
|
|
|
|
|
|
|
|
This package contains the GNOME passphrase dialog.
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 09:35:17 +00:00
|
|
|
* Tue Nov 21 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Use DESTDIR instead of %%makeinstall.
|
|
|
|
- Remove /usr/X11R6/bin from the path-fixing patch.
|
|
|
|
|
|
|
|
* Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Add the primes file from the latest snapshot to the main package (#20884).
|
|
|
|
- Add the dev package to the prereq list (#19984).
|
|
|
|
- Remove the default path and mimic login's behavior in the server itself.
|
|
|
|
|
|
|
|
* Fri Nov 17 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Resync with conditional options in Damien Miller's .spec file for an errata.
|
|
|
|
- Change libexecdir from %%{_libexecdir}/ssh to %%{_libexecdir}/openssh.
|
|
|
|
|
|
|
|
* Tue Nov 7 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to OpenSSH 2.3.0p1.
|
|
|
|
- Update to x11-askpass 1.1.0.
|
|
|
|
- Enable keyboard-interactive authentication.
|
|
|
|
|
|
|
|
* Mon Oct 30 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to ssh-askpass-x11 1.0.3.
|
|
|
|
- Change authentication related messages to be private (#19966).
|
|
|
|
|
|
|
|
* Tue Oct 10 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Patch ssh-keygen to be able to list signatures for DSA public key files
|
|
|
|
it generates.
|
|
|
|
|
2004-09-09 09:35:10 +00:00
|
|
|
* Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Add BuildPreReq on /usr/include/security/pam_appl.h to be sure we always
|
|
|
|
build PAM authentication in.
|
|
|
|
- Try setting SSH_ASKPASS if gnome-ssh-askpass is installed.
|
|
|
|
- Clean out no-longer-used patches.
|
|
|
|
- Patch ssh-add to try to add both identity and id_dsa, and to error only
|
|
|
|
when neither exists.
|
|
|
|
|
|
|
|
* Mon Oct 2 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update x11-askpass to 1.0.2. (#17835)
|
|
|
|
- Add BuildPreReqs for /bin/login and /usr/bin/rsh so that configure will
|
|
|
|
always find them in the right place. (#17909)
|
|
|
|
- Set the default path to be the same as the one supplied by /bin/login, but
|
|
|
|
add /usr/X11R6/bin. (#17909)
|
|
|
|
- Try to handle obsoletion of ssh-server more cleanly. Package names
|
|
|
|
are different, but init script name isn't. (#17865)
|
|
|
|
|
|
|
|
* Wed Sep 6 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 2.2.0p1. (#17835)
|
|
|
|
- Tweak the init script to allow proper restarting. (#18023)
|
|
|
|
|
|
|
|
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 20000823 snapshot.
|
|
|
|
- Change subpackage requirements from %%{version} to %%{version}-%%{release}
|
|
|
|
- Back out the pipe patch.
|
|
|
|
|
2004-09-09 09:35:01 +00:00
|
|
|
* Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 2.1.1p4, which includes fixes for config file parsing problems.
|
|
|
|
- Move the init script back.
|
|
|
|
- Add Damien's quick fix for wackiness.
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 2.1.1p3, which includes fixes for X11 forwarding and strtok().
|
|
|
|
|
|
|
|
* Thu Jul 6 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Move condrestart to server postun.
|
|
|
|
- Move key generation to init script.
|
|
|
|
- Actually use the right patch for moving the key generation to the init script.
|
|
|
|
- Clean up the init script a bit.
|
|
|
|
|
|
|
|
* Wed Jul 5 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Fix X11 forwarding, from mail post by Chan Shih-Ping Richard.
|
|
|
|
|
|
|
|
* Sun Jul 2 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 2.1.1p2.
|
|
|
|
- Use of strtok() considered harmful.
|
|
|
|
|
|
|
|
* Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Get the build root out of the man pages.
|
|
|
|
|
|
|
|
* Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Add and use condrestart support in the init script.
|
|
|
|
- Add newer initscripts as a prereq.
|
|
|
|
|
|
|
|
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Build in new environment (release 2)
|
|
|
|
- Move -clients subpackage to Applications/Internet group
|
|
|
|
|
|
|
|
* Fri Jun 9 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Update to 2.2.1p1
|
|
|
|
|
|
|
|
* Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- Patch to build with neither RSA nor RSAref.
|
|
|
|
- Miscellaneous FHS-compliance tweaks.
|
|
|
|
- Fix for possibly-compressed man pages.
|
|
|
|
|
|
|
|
* Wed Mar 15 2000 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Updated for new location
|
|
|
|
- Updated for new gnome-ssh-askpass build
|
|
|
|
|
|
|
|
* Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
|
|
|
|
- Added Jim Knoble's <jmknoble@pobox.com> askpass
|
|
|
|
|
|
|
|
* Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
|
|
|
|
- Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
|
|
|
|
|
|
|
|
* Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
|
|
|
|
- Added 'Obsoletes' directives
|
|
|
|
|
|
|
|
* Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Use make install
|
|
|
|
- Subpackages
|
|
|
|
|
|
|
|
* Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Added links for slogin
|
|
|
|
- Fixed perms on manpages
|
|
|
|
|
|
|
|
* Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Renamed init script
|
|
|
|
|
|
|
|
* Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Back to old binary names
|
|
|
|
|
|
|
|
* Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Use autoconf
|
|
|
|
- New binary names
|
|
|
|
|
|
|
|
* Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
|
|
|
|
- Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.
|
|
|
|
|
|
|
|
%prep
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
%setup -q -a 1
|
2004-09-09 09:35:17 +00:00
|
|
|
%else
|
|
|
|
%setup -q
|
|
|
|
%endif
|
2004-09-09 09:35:10 +00:00
|
|
|
%patch0 -p1 -b .redhat
|
|
|
|
%patch1 -p1 -b .agent
|
2004-09-09 09:35:17 +00:00
|
|
|
%patch2 -p1 -b .keygen-dsa
|
|
|
|
%patch3 -p1 -b .authpriv
|
|
|
|
%patch4 -p1 -b .path
|
2004-09-09 09:35:01 +00:00
|
|
|
autoconf
|
|
|
|
|
|
|
|
%build
|
2004-09-09 09:35:17 +00:00
|
|
|
|
2004-09-09 09:35:10 +00:00
|
|
|
%configure \
|
|
|
|
--sysconfdir=%{_sysconfdir}/ssh \
|
2004-09-09 09:35:17 +00:00
|
|
|
--libexecdir=%{_libexecdir}/openssh \
|
2004-09-09 09:35:10 +00:00
|
|
|
--with-tcp-wrappers \
|
|
|
|
--with-ipv4-default \
|
2004-09-09 09:35:17 +00:00
|
|
|
--with-md5-passwords \
|
|
|
|
--with-rsh=/usr/bin/rsh
|
2004-09-09 09:35:01 +00:00
|
|
|
make
|
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
pushd x11-ssh-askpass-%{aversion}
|
|
|
|
xmkmf -a
|
|
|
|
make
|
|
|
|
popd
|
2004-09-09 09:35:17 +00:00
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_gnome_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
pushd contrib
|
|
|
|
gcc -O -g `gnome-config --cflags gnome gnomeui` \
|
|
|
|
gnome-ssh-askpass.c -o gnome-ssh-askpass \
|
|
|
|
`gnome-config --libs gnome gnomeui`
|
|
|
|
popd
|
2004-09-09 09:35:17 +00:00
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 09:35:17 +00:00
|
|
|
mkdir -p -m755 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}/ssh
|
|
|
|
mkdir -p -m755 sysconfdir=$RPM_BUILD_ROOT%{_libexecdir}/openssh
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 09:35:01 +00:00
|
|
|
|
|
|
|
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
|
|
|
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
|
2004-09-09 09:35:17 +00:00
|
|
|
install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh
|
2004-09-09 09:35:01 +00:00
|
|
|
install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
|
2004-09-09 09:35:10 +00:00
|
|
|
install -m755 $RPM_SOURCE_DIR/openssh.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
|
2004-09-09 09:35:17 +00:00
|
|
|
install -m600 $RPM_SOURCE_DIR/openssh.primes $RPM_BUILD_ROOT%{_sysconfdir}/ssh/primes
|
2004-09-09 09:35:01 +00:00
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
|
|
|
install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass
|
|
|
|
ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass
|
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_gnome_askpass}
|
|
|
|
install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
|
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
2004-09-09 09:35:10 +00:00
|
|
|
install -d $RPM_BUILD_ROOT/etc/profile.d/
|
|
|
|
install -m 755 %{SOURCE3} %{SOURCE4} $RPM_BUILD_ROOT/etc/profile.d/
|
|
|
|
|
2004-09-09 09:35:01 +00:00
|
|
|
perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 09:35:10 +00:00
|
|
|
%triggerun server -- ssh-server
|
|
|
|
if [ "$1" != 0 -a -r /var/run/sshd.pid ] ; then
|
|
|
|
touch /var/run/sshd.restart
|
|
|
|
fi
|
|
|
|
|
|
|
|
%triggerpostun server -- ssh-server
|
|
|
|
if [ "$1" != 0 ] ; then
|
|
|
|
/sbin/chkconfig --add sshd
|
|
|
|
if test -f /var/run/sshd.restart ; then
|
|
|
|
rm -f /var/run/sshd.restart
|
2004-09-09 09:35:17 +00:00
|
|
|
/sbin/service sshd start > /dev/null 2>&1 || :
|
2004-09-09 09:35:10 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2004-09-09 09:35:01 +00:00
|
|
|
%post server
|
|
|
|
/sbin/chkconfig --add sshd
|
|
|
|
|
|
|
|
%postun server
|
2004-09-09 09:35:10 +00:00
|
|
|
/sbin/service sshd condrestart > /dev/null 2>&1 || :
|
2004-09-09 09:35:01 +00:00
|
|
|
|
|
|
|
%preun server
|
|
|
|
if [ "$1" = 0 ]
|
|
|
|
then
|
2004-09-09 09:35:17 +00:00
|
|
|
/sbin/service sshd stop > /dev/null 2>&1 || :
|
2004-09-09 09:35:01 +00:00
|
|
|
/sbin/chkconfig --del sshd
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 09:35:17 +00:00
|
|
|
%doc COPYING* CREDITS ChangeLog INSTALL LICENCE OVERVIEW RFC* TODO WARNING*
|
|
|
|
|
2004-09-09 09:35:01 +00:00
|
|
|
%attr(0755,root,root) %{_bindir}/ssh-keygen
|
|
|
|
%attr(0755,root,root) %{_bindir}/scp
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1*
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/scp.1*
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/ssh
|
|
|
|
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/primes
|
|
|
|
%attr(0755,root,root) %dir %{_libexecdir}/openssh
|
2004-09-09 09:35:01 +00:00
|
|
|
|
|
|
|
%files clients
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(4755,root,root) %{_bindir}/ssh
|
|
|
|
%attr(0755,root,root) %{_bindir}/ssh-agent
|
|
|
|
%attr(0755,root,root) %{_bindir}/ssh-add
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/ssh.1*
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/ssh-agent.1*
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/ssh-add.1*
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
|
2004-09-09 09:35:01 +00:00
|
|
|
%attr(-,root,root) %{_bindir}/slogin
|
|
|
|
%attr(-,root,root) %{_mandir}/man1/slogin.1*
|
|
|
|
|
|
|
|
%files server
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(0755,root,root) %{_sbindir}/sshd
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0755,root,root) %{_libexecdir}/openssh/sftp-server
|
2004-09-09 09:35:01 +00:00
|
|
|
%attr(0644,root,root) %{_mandir}/man8/sshd.8*
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
|
|
|
|
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
|
2004-09-09 09:35:01 +00:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
|
|
|
|
%attr(0755,root,root) %config /etc/rc.d/init.d/sshd
|
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_x11_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
%files askpass
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc x11-ssh-askpass-%{aversion}/README
|
|
|
|
%doc x11-ssh-askpass-%{aversion}/ChangeLog
|
|
|
|
%doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0755,root,root) %{_libexecdir}/openssh/ssh-askpass
|
|
|
|
%attr(0755,root,root) %{_libexecdir}/openssh/x11-ssh-askpass
|
|
|
|
%endif
|
2004-09-09 09:35:01 +00:00
|
|
|
|
2004-09-09 09:35:17 +00:00
|
|
|
%if ! %{no_gnome_askpass}
|
2004-09-09 09:35:01 +00:00
|
|
|
%files askpass-gnome
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 09:35:10 +00:00
|
|
|
%attr(0755,root,root) %{_sysconfdir}/profile.d/gnome-ssh-askpass.*
|
2004-09-09 09:35:17 +00:00
|
|
|
%attr(0755,root,root) %{_libexecdir}/openssh/gnome-ssh-askpass
|
|
|
|
%endif
|