summaryrefslogtreecommitdiff
path: root/contrib/suse
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-16 16:30:55 +1100
committerDamien Miller <djm@mindrot.org>2000-09-16 16:30:55 +1100
commit2efcd3c35426df7f57ab2c5890c1fa3fd5a3e1e4 (patch)
tree6146c4515d4a2d09d47e003d13b09061feef5d36 /contrib/suse
parentf3b1c54844f9364b25b343d7399dd1ee5740d28d (diff)
- (djm) New SuSE spec from Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'contrib/suse')
-rw-r--r--contrib/suse/openssh.spec124
1 files changed, 25 insertions, 99 deletions
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 324d88aea..c26b5d582 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -16,32 +16,12 @@ Obsoletes: ssh
16# TCP Wrappers (nkitb), 16# TCP Wrappers (nkitb),
17# and Gnome (glibdev, gtkdev, and gnlibsd) 17# and Gnome (glibdev, gtkdev, and gnlibsd)
18# 18#
19BuildPrereq: openssl-devel 19BuildPrereq: openssl
20BuildPrereq: nkitb 20BuildPrereq: nkitb
21BuildPrereq: glibdev 21BuildPrereq: glibdev
22BuildPrereq: gtkdev 22BuildPrereq: gtkdev
23BuildPrereq: gnlibsd 23BuildPrereq: gnlibsd
24 24
25%package clients
26Summary: OpenSSH Secure Shell protocol clients
27Requires: openssh
28Group: Applications/Internet
29Obsoletes: ssh-clients
30
31%package server
32Summary: OpenSSH Secure Shell protocol server (sshd)
33Requires: openssh
34Group: System Environment/Daemons
35PreReq: openssh
36Obsoletes: ssh-server
37
38%package askpass
39Summary: OpenSSH GNOME passphrase dialog
40Group: Applications/Internet
41Requires: openssh
42Obsoletes: ssh-extras
43Obsoletes: ssh-askpass
44
45%description 25%description
46Ssh (Secure Shell) a program for logging into a remote machine and for 26Ssh (Secure Shell) a program for logging into a remote machine and for
47executing commands in a remote machine. It is intended to replace 27executing commands in a remote machine. It is intended to replace
@@ -53,51 +33,9 @@ OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
53up to date in terms of security and features, as well as removing all 33up to date in terms of security and features, as well as removing all
54patented algorithms to seperate libraries (OpenSSL). 34patented algorithms to seperate libraries (OpenSSL).
55 35
56This package includes the core files necessary for both the OpenSSH 36This package includes all files necessary for both the OpenSSH
57client and server. To make this package useful, you should also 37client and server. Additionally, this package contains the GNOME
58install openssh-clients, openssh-server, or both. 38passphrase dialog.
59
60%description clients
61Ssh (Secure Shell) a program for logging into a remote machine and for
62executing commands in a remote machine. It is intended to replace
63rlogin and rsh, and provide secure encrypted communications between
64two untrusted hosts over an insecure network. X11 connections and
65arbitrary TCP/IP ports can also be forwarded over the secure channel.
66
67OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
68up to date in terms of security and features, as well as removing all
69patented algorithms to seperate libraries (OpenSSL).
70
71This package includes the clients necessary to make encrypted connections
72to SSH servers.
73
74%description server
75Ssh (Secure Shell) a program for logging into a remote machine and for
76executing commands in a remote machine. It is intended to replace
77rlogin and rsh, and provide secure encrypted communications between
78two untrusted hosts over an insecure network. X11 connections and
79arbitrary TCP/IP ports can also be forwarded over the secure channel.
80
81OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
82up to date in terms of security and features, as well as removing all
83patented algorithms to seperate libraries (OpenSSL).
84
85This package contains the secure shell daemon. The sshd is the server
86part of the secure shell protocol and allows ssh clients to connect to
87your host.
88
89%description askpass
90Ssh (Secure Shell) a program for logging into a remote machine and for
91executing commands in a remote machine. It is intended to replace
92rlogin and rsh, and provide secure encrypted communications between
93two untrusted hosts over an insecure network. X11 connections and
94arbitrary TCP/IP ports can also be forwarded over the secure channel.
95
96OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
97up to date in terms of security and features, as well as removing all
98patented algorithms to seperate libraries (OpenSSL).
99
100This package contains the GNOME passphrase dialog.
101 39
102%changelog 40%changelog
103* Mon Jun 12 2000 Damien Miller <djm@mindrot.org> 41* Mon Jun 12 2000 Damien Miller <djm@mindrot.org>
@@ -150,9 +88,8 @@ This package contains the GNOME passphrase dialog.
150 88
151%build 89%build
152CFLAGS="$RPM_OPT_FLAGS" \ 90CFLAGS="$RPM_OPT_FLAGS" \
153./configure --prefix=/usr --sysconfdir=/etc/ssh \ 91./configure --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \
154 --libexecdir=/usr/libexec/ssh --with-gnome-askpass \ 92 --with-tcp-wrappers --with-ipv4-default --libexecdir=/usr/lib/ssh
155 --with-tcp-wrappers --with-ipv4-default
156make 93make
157 94
158cd contrib 95cd contrib
@@ -168,19 +105,19 @@ install -d $RPM_BUILD_ROOT/etc/ssh/
168install -d $RPM_BUILD_ROOT/etc/pam.d/ 105install -d $RPM_BUILD_ROOT/etc/pam.d/
169install -d $RPM_BUILD_ROOT/sbin/init.d/ 106install -d $RPM_BUILD_ROOT/sbin/init.d/
170install -d $RPM_BUILD_ROOT/var/adm/fillup-templates 107install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
171install -d $RPM_BUILD_ROOT/usr/libexec/openssh 108install -d $RPM_BUILD_ROOT/usr/lib/ssh
172install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd 109install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd
173install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd 110install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd
174ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd 111ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd
175install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/gnome-ssh-askpass 112install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/lib/ssh/gnome-ssh-askpass
176ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/ssh-askpass 113ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/lib/ssh/ssh-askpass
177install -m744 contrib/suse/rc.config.sshd \ 114install -m744 contrib/suse/rc.config.sshd \
178 $RPM_BUILD_ROOT/var/adm/fillup-templates 115 $RPM_BUILD_ROOT/var/adm/fillup-templates
179 116
180%clean 117%clean
181rm -rf $RPM_BUILD_ROOT 118rm -rf $RPM_BUILD_ROOT
182 119
183%post server 120%post
184if [ "$1" = 1 ]; then 121if [ "$1" = 1 ]; then
185 echo "Creating SSH stop/start scripts in the rc directories..." 122 echo "Creating SSH stop/start scripts in the rc directories..."
186 ln -s ../sshd /sbin/init.d/rc2.d/K20sshd 123 ln -s ../sshd /sbin/init.d/rc2.d/K20sshd
@@ -210,7 +147,7 @@ then
210 /usr/sbin/rcsshd restart >&2 147 /usr/sbin/rcsshd restart >&2
211fi 148fi
212 149
213%preun server 150%preun
214if [ "$1" = 0 ] 151if [ "$1" = 0 ]
215then 152then
216 echo "Stopping the SSH daemon..." 153 echo "Stopping the SSH daemon..."
@@ -226,39 +163,28 @@ fi
226%defattr(-,root,root) 163%defattr(-,root,root)
227%doc COPYING.Ylonen ChangeLog OVERVIEW README* 164%doc COPYING.Ylonen ChangeLog OVERVIEW README*
228%doc RFC.nroff TODO UPGRADING CREDITS 165%doc RFC.nroff TODO UPGRADING CREDITS
166%attr(0755,root,root) %dir /etc/ssh
167%attr(0644,root,root) %config /etc/ssh/ssh_config
168%attr(0600,root,root) %config /etc/ssh/sshd_config
169%attr(0644,root,root) %config /etc/pam.d/sshd
170%attr(0755,root,root) %config /sbin/init.d/sshd
229%attr(0755,root,root) /usr/bin/ssh-keygen 171%attr(0755,root,root) /usr/bin/ssh-keygen
230%attr(0755,root,root) /usr/bin/scp 172%attr(0755,root,root) /usr/bin/scp
231%attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1*
232%attr(0644,root,root) %doc /usr/man/man1/scp.1*
233%attr(0755,root,root) %dir /etc/ssh
234%attr(0755,root,root) %dir /usr/libexec/openssh
235
236%files clients
237%defattr(-,root,root)
238%attr(4755,root,root) /usr/bin/ssh 173%attr(4755,root,root) /usr/bin/ssh
174%attr(-,root,root) /usr/bin/slogin
239%attr(0755,root,root) /usr/bin/ssh-agent 175%attr(0755,root,root) /usr/bin/ssh-agent
240%attr(0755,root,root) /usr/bin/ssh-add 176%attr(0755,root,root) /usr/bin/ssh-add
177%attr(0755,root,root) /usr/sbin/sshd
178%attr(-,root,root) /usr/sbin/rcsshd
179%attr(0755,root,root) %dir /usr/lib/ssh
180%attr(0755,root,root) /usr/lib/ssh/ssh-askpass
181%attr(0755,root,root) /usr/lib/ssh/gnome-ssh-askpass
182%attr(0644,root,root) %doc /usr/man/man1/scp.1*
241%attr(0644,root,root) %doc /usr/man/man1/ssh.1* 183%attr(0644,root,root) %doc /usr/man/man1/ssh.1*
184%attr(-,root,root) %doc /usr/man/man1/slogin.1*
242%attr(0644,root,root) %doc /usr/man/man1/ssh-agent.1* 185%attr(0644,root,root) %doc /usr/man/man1/ssh-agent.1*
243%attr(0644,root,root) %doc /usr/man/man1/ssh-add.1* 186%attr(0644,root,root) %doc /usr/man/man1/ssh-add.1*
244%attr(0644,root,root) %config /etc/ssh/ssh_config 187%attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1*
245%attr(-,root,root) /usr/bin/slogin
246%attr(-,root,root) %doc /usr/man/man1/slogin.1*
247
248%files server
249%defattr(-,root,root)
250%attr(0755,root,root) /usr/sbin/sshd
251%attr(0755,root,root) /usr/libexec/openssh/sftp-server
252%attr(0644,root,root) %doc /usr/man/man8/sshd.8* 188%attr(0644,root,root) %doc /usr/man/man8/sshd.8*
253%attr(0644,root,root) %doc /usr/man/man8/sftp-server.8*
254%attr(0600,root,root) %config /etc/ssh/sshd_config
255%attr(0644,root,root) %config /etc/pam.d/sshd
256%attr(0755,root,root) %config /sbin/init.d/sshd
257%attr(-,root,root) /usr/sbin/rcsshd
258%attr(0644,root,root) /var/adm/fillup-templates/rc.config.sshd 189%attr(0644,root,root) /var/adm/fillup-templates/rc.config.sshd
259 190
260%files askpass
261%defattr(-,root,root)
262%attr(0755,root,root) /usr/libexec/openssh/ssh-askpass
263%attr(0755,root,root) /usr/libexec/openssh/gnome-ssh-askpass
264