diff options
author | Damien Miller <djm@mindrot.org> | 2000-09-16 16:30:55 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-09-16 16:30:55 +1100 |
commit | 2efcd3c35426df7f57ab2c5890c1fa3fd5a3e1e4 (patch) | |
tree | 6146c4515d4a2d09d47e003d13b09061feef5d36 /contrib/suse/openssh.spec | |
parent | f3b1c54844f9364b25b343d7399dd1ee5740d28d (diff) |
- (djm) New SuSE spec from Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'contrib/suse/openssh.spec')
-rw-r--r-- | contrib/suse/openssh.spec | 124 |
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 | # |
19 | BuildPrereq: openssl-devel | 19 | BuildPrereq: openssl |
20 | BuildPrereq: nkitb | 20 | BuildPrereq: nkitb |
21 | BuildPrereq: glibdev | 21 | BuildPrereq: glibdev |
22 | BuildPrereq: gtkdev | 22 | BuildPrereq: gtkdev |
23 | BuildPrereq: gnlibsd | 23 | BuildPrereq: gnlibsd |
24 | 24 | ||
25 | %package clients | ||
26 | Summary: OpenSSH Secure Shell protocol clients | ||
27 | Requires: openssh | ||
28 | Group: Applications/Internet | ||
29 | Obsoletes: ssh-clients | ||
30 | |||
31 | %package server | ||
32 | Summary: OpenSSH Secure Shell protocol server (sshd) | ||
33 | Requires: openssh | ||
34 | Group: System Environment/Daemons | ||
35 | PreReq: openssh | ||
36 | Obsoletes: ssh-server | ||
37 | |||
38 | %package askpass | ||
39 | Summary: OpenSSH GNOME passphrase dialog | ||
40 | Group: Applications/Internet | ||
41 | Requires: openssh | ||
42 | Obsoletes: ssh-extras | ||
43 | Obsoletes: ssh-askpass | ||
44 | |||
45 | %description | 25 | %description |
46 | Ssh (Secure Shell) a program for logging into a remote machine and for | 26 | Ssh (Secure Shell) a program for logging into a remote machine and for |
47 | executing commands in a remote machine. It is intended to replace | 27 | executing 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 | |||
53 | up to date in terms of security and features, as well as removing all | 33 | up to date in terms of security and features, as well as removing all |
54 | patented algorithms to seperate libraries (OpenSSL). | 34 | patented algorithms to seperate libraries (OpenSSL). |
55 | 35 | ||
56 | This package includes the core files necessary for both the OpenSSH | 36 | This package includes all files necessary for both the OpenSSH |
57 | client and server. To make this package useful, you should also | 37 | client and server. Additionally, this package contains the GNOME |
58 | install openssh-clients, openssh-server, or both. | 38 | passphrase dialog. |
59 | |||
60 | %description clients | ||
61 | Ssh (Secure Shell) a program for logging into a remote machine and for | ||
62 | executing commands in a remote machine. It is intended to replace | ||
63 | rlogin and rsh, and provide secure encrypted communications between | ||
64 | two untrusted hosts over an insecure network. X11 connections and | ||
65 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | ||
66 | |||
67 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | ||
68 | up to date in terms of security and features, as well as removing all | ||
69 | patented algorithms to seperate libraries (OpenSSL). | ||
70 | |||
71 | This package includes the clients necessary to make encrypted connections | ||
72 | to SSH servers. | ||
73 | |||
74 | %description server | ||
75 | Ssh (Secure Shell) a program for logging into a remote machine and for | ||
76 | executing commands in a remote machine. It is intended to replace | ||
77 | rlogin and rsh, and provide secure encrypted communications between | ||
78 | two untrusted hosts over an insecure network. X11 connections and | ||
79 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | ||
80 | |||
81 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | ||
82 | up to date in terms of security and features, as well as removing all | ||
83 | patented algorithms to seperate libraries (OpenSSL). | ||
84 | |||
85 | This package contains the secure shell daemon. The sshd is the server | ||
86 | part of the secure shell protocol and allows ssh clients to connect to | ||
87 | your host. | ||
88 | |||
89 | %description askpass | ||
90 | Ssh (Secure Shell) a program for logging into a remote machine and for | ||
91 | executing commands in a remote machine. It is intended to replace | ||
92 | rlogin and rsh, and provide secure encrypted communications between | ||
93 | two untrusted hosts over an insecure network. X11 connections and | ||
94 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | ||
95 | |||
96 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | ||
97 | up to date in terms of security and features, as well as removing all | ||
98 | patented algorithms to seperate libraries (OpenSSL). | ||
99 | |||
100 | This 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 |
152 | CFLAGS="$RPM_OPT_FLAGS" \ | 90 | CFLAGS="$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 | ||
156 | make | 93 | make |
157 | 94 | ||
158 | cd contrib | 95 | cd contrib |
@@ -168,19 +105,19 @@ install -d $RPM_BUILD_ROOT/etc/ssh/ | |||
168 | install -d $RPM_BUILD_ROOT/etc/pam.d/ | 105 | install -d $RPM_BUILD_ROOT/etc/pam.d/ |
169 | install -d $RPM_BUILD_ROOT/sbin/init.d/ | 106 | install -d $RPM_BUILD_ROOT/sbin/init.d/ |
170 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates | 107 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates |
171 | install -d $RPM_BUILD_ROOT/usr/libexec/openssh | 108 | install -d $RPM_BUILD_ROOT/usr/lib/ssh |
172 | install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd | 109 | install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd |
173 | install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd | 110 | install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd |
174 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd | 111 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd |
175 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/gnome-ssh-askpass | 112 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/lib/ssh/gnome-ssh-askpass |
176 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/ssh-askpass | 113 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/lib/ssh/ssh-askpass |
177 | install -m744 contrib/suse/rc.config.sshd \ | 114 | install -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 |
181 | rm -rf $RPM_BUILD_ROOT | 118 | rm -rf $RPM_BUILD_ROOT |
182 | 119 | ||
183 | %post server | 120 | %post |
184 | if [ "$1" = 1 ]; then | 121 | if [ "$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 |
211 | fi | 148 | fi |
212 | 149 | ||
213 | %preun server | 150 | %preun |
214 | if [ "$1" = 0 ] | 151 | if [ "$1" = 0 ] |
215 | then | 152 | then |
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 | |||