C - (djm) Redhat spec file cleanups from Pekka Savola <pekkas@netcore.fi> and

Redhat
VS: ----------------------------------------------------------------------
This commit is contained in:
Damien Miller 2001-09-15 21:01:41 +10:00
parent 69e00a18a5
commit 0c217b74e2
2 changed files with 39 additions and 69 deletions

View File

@ -1,6 +1,8 @@
20010915 20010915
- (djm) Make do_pre_login static to avoid prototype #ifdef hell - (djm) Make do_pre_login static to avoid prototype #ifdef hell
- (djm) Sync scard/ stuff - (djm) Sync scard/ stuff
- (djm) Redhat spec file cleanups from Pekka Savola <pekkas@netcore.fi> and
Redhat
20010914 20010914
- (bal) OpenBSD CVS Sync - (bal) OpenBSD CVS Sync
@ -6432,4 +6434,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1516 2001/09/15 10:58:46 djm Exp $ $Id: ChangeLog,v 1.1517 2001/09/15 11:01:41 djm Exp $

View File

@ -31,23 +31,26 @@
%define exact_openssl_version %(rpm -q openssl | cut -d - -f 2) %define exact_openssl_version %(rpm -q openssl | cut -d - -f 2)
Summary: OpenSSH free Secure Shell (SSH) implementation Summary: The OpenSSH implementation of SSH.
Name: openssh Name: openssh
Version: %{oversion} Version: %{oversion}
Release: 1 Release: 1
Packager: Damien Miller <djm@mindrot.org> Packager: Damien Miller <djm@mindrot.org>
URL: http://www.openssh.com/ URL: http://www.openssh.com/portable.html
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz
%if ! %{no_x11_askpass} %if ! %{no_x11_askpass}
Source1: http://www.jmknoble.cx/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz Source1: http://www.pobox.com/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
%endif %endif
Copyright: BSD License: BSD
Group: Applications/Internet Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: ssh Obsoletes: ssh
BuildPreReq: perl, openssl-devel, tcp_wrappers BuildPreReq: perl, openssl-devel, tcp_wrappers
BuildPreReq: /bin/login, /usr/include/security/pam_appl.h BuildPreReq: /bin/login, /usr/include/security/pam_appl.h
BuildPreReq: rpm >= 3.0.5 BuildPreReq: rpm >= 3.0.5
%if ! %{no_x11_askpass}
BuildPreReq: XFree86-devel
%endif
%if ! %{no_gnome_askpass} %if ! %{no_gnome_askpass}
BuildPreReq: gnome-libs-devel BuildPreReq: gnome-libs-devel
%endif %endif
@ -59,13 +62,13 @@ Requires: openssl >= 0.9.5a
Requires: rpm >= 3.0.5 Requires: rpm >= 3.0.5
%package clients %package clients
Summary: OpenSSH Secure Shell protocol clients Summary: OpenSSH clients.
Requires: openssh = %{version}-%{release} Requires: openssh = %{version}-%{release}
Group: Applications/Internet Group: Applications/Internet
Obsoletes: ssh-clients Obsoletes: ssh-clients
%package server %package server
Summary: OpenSSH Secure Shell protocol server (sshd) Summary: The OpenSSH server daemon.
Group: System Environment/Daemons Group: System Environment/Daemons
Obsoletes: ssh-server Obsoletes: ssh-server
PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9 PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9
@ -74,87 +77,55 @@ Requires: /etc/pam.d/system-auth
%endif %endif
%package askpass %package askpass
Summary: OpenSSH X11 passphrase dialog Summary: A passphrase dialog for OpenSSH and X.
Group: Applications/Internet Group: Applications/Internet
Requires: openssh = %{version}-%{release} Requires: openssh = %{version}-%{release}
Obsoletes: ssh-extras Obsoletes: ssh-extras
%package askpass-gnome %package askpass-gnome
Summary: OpenSSH GNOME passphrase dialog Summary: A passphrase dialog for OpenSSH, X, and GNOME.
Group: Applications/Internet Group: Applications/Internet
Requires: openssh = %{version}-%{release} Requires: openssh = %{version}-%{release}
Obsoletes: ssh-extras Obsoletes: ssh-extras
%description %description
Ssh (Secure Shell) a program for logging into a remote machine and for SSH (Secure SHell) is a program for logging into and executing
executing commands in a remote machine. It is intended to replace commands on a remote machine. SSH is intended to replace rlogin and
rlogin and rsh, and provide secure encrypted communications between rsh, and to provide secure encrypted communications between two
two untrusted hosts over an insecure network. X11 connections and untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel. 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 OpenSSH is OpenBSD's version of the last free version of SSH, bringing
up to date in terms of security and features, as well as removing all it up to date in terms of security and features, as well as removing
patented algorithms to separate libraries (OpenSSL). all patented algorithms to separate libraries.
This package includes the core files necessary for both the OpenSSH This package includes the core files necessary for both the OpenSSH
client and server. To make this package useful, you should also client and server. To make this package useful, you should also
install openssh-clients, openssh-server, or both. install openssh-clients, openssh-server, or both.
%description clients %description clients
Ssh (Secure Shell) a program for logging into a remote machine and for OpenSSH is a free version of SSH (Secure SHell), a program for logging
executing commands in a remote machine. It is intended to replace into and executing commands on a remote machine. This package includes
rlogin and rsh, and provide secure encrypted communications between the clients necessary to make encrypted connections to SSH servers.
two untrusted hosts over an insecure network. X11 connections and You'll also need to install the openssh package on OpenSSH clients.
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 %description server
Ssh (Secure Shell) a program for logging into a remote machine and for OpenSSH is a free version of SSH (Secure SHell), a program for logging
executing commands in a remote machine. It is intended to replace into and executing commands on a remote machine. This package contains
rlogin and rsh, and provide secure encrypted communications between the secure shell daemon (sshd). The sshd daemon allows SSH clients to
two untrusted hosts over an insecure network. X11 connections and securely connect to your SSH server. You also need to have the openssh
arbitrary TCP/IP ports can also be forwarded over the secure channel. package installed.
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 %description askpass
Ssh (Secure Shell) a program for logging into a remote machine and for OpenSSH is a free version of SSH (Secure SHell), a program for logging
executing commands in a remote machine. It is intended to replace into and executing commands on a remote machine. This package contains
rlogin and rsh, and provide secure encrypted communications between an X11 passphrase dialog for OpenSSH.
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@jmknoble.cx> X11 passphrase
dialog.
%description askpass-gnome %description askpass-gnome
Ssh (Secure Shell) a program for logging into a remote machine and for OpenSSH is a free version of SSH (Secure SHell), a program for logging
executing commands in a remote machine. It is intended to replace into and executing commands on a remote machine. This package contains
rlogin and rsh, and provide secure encrypted communications between an X11 passphrase dialog for OpenSSH and the GNOME GUI desktop
two untrusted hosts over an insecure network. X11 connections and environment.
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.
%prep %prep
@ -242,13 +213,10 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog OVERVIEW README* INSTALL %doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* RFC* TODO WARNING*
%doc CREDITS LICENCE
%attr(0755,root,root) %{_bindir}/ssh-keygen %attr(0755,root,root) %{_bindir}/ssh-keygen
%attr(0755,root,root) %{_bindir}/scp %attr(0755,root,root) %{_bindir}/scp
%attr(0755,root,root) %{_bindir}/ssh-keyscan
%attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1* %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1*
%attr(0644,root,root) %{_mandir}/man1/ssh-keyscan.1*
%attr(0644,root,root) %{_mandir}/man1/scp.1* %attr(0644,root,root) %{_mandir}/man1/scp.1*
%attr(0755,root,root) %dir %{_sysconfdir} %attr(0755,root,root) %dir %{_sysconfdir}
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/moduli %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/moduli