summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--packages/redhat/openssh.spec37
2 files changed, 0 insertions, 39 deletions
diff --git a/ChangeLog b/ChangeLog
index 78a909076..4a1810a93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,8 +3,6 @@
3 - Cleanup sshd.c PAM a little more 3 - Cleanup sshd.c PAM a little more
4 - Revised RPM package to include Jim Knoble's <jmknoble@pobox.com> 4 - Revised RPM package to include Jim Knoble's <jmknoble@pobox.com>
5 X11 ssh-askpass program. 5 X11 ssh-askpass program.
6 - Revised RPM package to use conditional building of gnome and X11
7 askpass packages.
8 6
919991225 719991225
10 - More fixes from Andre Lucas <andre.lucas@dial.pipex.com> 8 - More fixes from Andre Lucas <andre.lucas@dial.pipex.com>
diff --git a/packages/redhat/openssh.spec b/packages/redhat/openssh.spec
index 0a2f69ebe..b0173aa43 100644
--- a/packages/redhat/openssh.spec
+++ b/packages/redhat/openssh.spec
@@ -4,21 +4,13 @@
4# Version of ssh-askpass 4# Version of ssh-askpass
5%define aversion 0.99 5%define aversion 0.99
6 6
7# Define if you want to build x11-ssh-askpass
8#%define BUILD_X11_ASKPASS
9
10# Define if you want to build gnome-askpass
11#%define BUILD_GNOME_ASKPASS
12
13Summary: OpenSSH free Secure Shell (SSH) implementation 7Summary: OpenSSH free Secure Shell (SSH) implementation
14Name: openssh 8Name: openssh
15Version: %{oversion} 9Version: %{oversion}
16Release: 1 10Release: 1
17Packager: Damien Miller <djm@ibs.com.au> 11Packager: Damien Miller <djm@ibs.com.au>
18Source0: http://violet.ibs.com.au/openssh/files/openssh-%{oversion}.tar.gz 12Source0: http://violet.ibs.com.au/openssh/files/openssh-%{oversion}.tar.gz
19%ifdef BUILD_X11_ASKPASS
20Source1: http://www.pobox.com/~jmknoble/jmk/x11-ssh-askpass-%{aversion}.tar.gz 13Source1: http://www.pobox.com/~jmknoble/jmk/x11-ssh-askpass-%{aversion}.tar.gz
21%endif
22Copyright: BSD 14Copyright: BSD
23Group: Applications/Internet 15Group: Applications/Internet
24BuildRoot: /tmp/openssh-%{version}-buildroot 16BuildRoot: /tmp/openssh-%{version}-buildroot
@@ -27,10 +19,7 @@ Requires: openssl
27PreReq: openssl 19PreReq: openssl
28BuildPreReq: openssl-devel 20BuildPreReq: openssl-devel
29BuildPreReq: tcp_wrappers 21BuildPreReq: tcp_wrappers
30
31%ifdef BUILD_GNOME_ASKPASS
32BuildPreReq: gnome-libs-devel 22BuildPreReq: gnome-libs-devel
33%endif
34 23
35%package clients 24%package clients
36Summary: OpenSSH Secure Shell protocol clients 25Summary: OpenSSH Secure Shell protocol clients
@@ -44,21 +33,17 @@ Requires: openssh chkconfig >= 0.9
44Group: System Environment/Daemons 33Group: System Environment/Daemons
45Obsoletes: ssh-server 34Obsoletes: ssh-server
46 35
47%ifdef BUILD_X11_ASKPASS
48%package askpass 36%package askpass
49Summary: OpenSSH X11 passphrase dialog 37Summary: OpenSSH X11 passphrase dialog
50Group: Applications/Internet 38Group: Applications/Internet
51Requires: openssh 39Requires: openssh
52Obsoletes: ssh-extras 40Obsoletes: ssh-extras
53%endif
54 41
55%ifdef BUILD_GNOME_ASKPASS
56%package askpass-gnome 42%package askpass-gnome
57Summary: OpenSSH GNOME passphrase dialog 43Summary: OpenSSH GNOME passphrase dialog
58Group: Applications/Internet 44Group: Applications/Internet
59Requires: openssh 45Requires: openssh
60Obsoletes: ssh-extras 46Obsoletes: ssh-extras
61%endif
62 47
63%description 48%description
64Ssh (Secure Shell) a program for logging into a remote machine and for 49Ssh (Secure Shell) a program for logging into a remote machine and for
@@ -104,7 +89,6 @@ This package contains the secure shell daemon. The sshd is the server
104part of the secure shell protocol and allows ssh clients to connect to 89part of the secure shell protocol and allows ssh clients to connect to
105your host. 90your host.
106 91
107%ifdef BUILD_X11_ASKPASS
108%package askpass-gnome 92%package askpass-gnome
109%description askpass 93%description askpass
110Ssh (Secure Shell) a program for logging into a remote machine and for 94Ssh (Secure Shell) a program for logging into a remote machine and for
@@ -119,9 +103,7 @@ patented algorithms to seperate libraries (OpenSSL).
119 103
120This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase 104This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase
121dialog. 105dialog.
122%endif
123 106
124%ifdef BUILD_GNOME_ASKPASS
125%package askpass-gnome 107%package askpass-gnome
126%description askpass 108%description askpass
127Ssh (Secure Shell) a program for logging into a remote machine and for 109Ssh (Secure Shell) a program for logging into a remote machine and for
@@ -135,12 +117,10 @@ up to date in terms of security and features, as well as removing all
135patented algorithms to seperate libraries (OpenSSL). 117patented algorithms to seperate libraries (OpenSSL).
136 118
137This package contains the GNOME passphrase dialog. 119This package contains the GNOME passphrase dialog.
138%endif
139 120
140%changelog 121%changelog
141* Sun Dec 26 1999 Damien Miller <djm@mindrot.org> 122* Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
142- Added Jim Knoble's <jmknoble@pobox.com> askpass 123- Added Jim Knoble's <jmknoble@pobox.com> askpass
143- Made subpackage building conditional
144* Mon Nov 15 1999 Damien Miller <djm@mindrot.org> 124* Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
145- Split subpackages further based on patch from jim knoble <jmknoble@pobox.com> 125- Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
146* Sat Nov 13 1999 Damien Miller <djm@mindrot.org> 126* Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
@@ -163,31 +143,20 @@ This package contains the GNOME passphrase dialog.
163 143
164%prep 144%prep
165 145
166%ifdef BUILD_X11_ASKPASS
167%setup -a 1 146%setup -a 1
168%else
169%setup
170%endif
171 147
172%build 148%build
173 149
174%ifdef BUILD_GNOME_ASKPASS
175CFLAGS="$RPM_OPT_FLAGS" \ 150CFLAGS="$RPM_OPT_FLAGS" \
176 ./configure --prefix=/usr --sysconfdir=/etc/ssh \ 151 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
177 --with-gnome-askpass --with-tcp-wrappers 152 --with-gnome-askpass --with-tcp-wrappers
178%else
179CFLAGS="$RPM_OPT_FLAGS" \
180 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-tcp-wrappers
181%endif
182 153
183make 154make
184 155
185%ifdef BUILD_X11_ASKPASS
186cd x11-ssh-askpass-%{aversion} 156cd x11-ssh-askpass-%{aversion}
187xmkmf -a 157xmkmf -a
188make 158make
189cd .. 159cd ..
190%endif
191 160
192%install 161%install
193rm -rf $RPM_BUILD_ROOT 162rm -rf $RPM_BUILD_ROOT
@@ -201,10 +170,8 @@ install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
201install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config 170install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
202install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config 171install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
203 172
204%ifdef BUILD_X11_ASKPASS
205install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass 173install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
206ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass 174ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
207%endif
208 175
209%clean 176%clean
210rm -rf $RPM_BUILD_ROOT 177rm -rf $RPM_BUILD_ROOT
@@ -256,15 +223,11 @@ fi
256%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd 223%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
257%attr(0755,root,root) %config /etc/rc.d/init.d/sshd 224%attr(0755,root,root) %config /etc/rc.d/init.d/sshd
258 225
259%ifdef BUILD_X11_ASKPASS
260%files askpass 226%files askpass
261%defattr(-,root,root) 227%defattr(-,root,root)
262%attr(0755,root,root) /usr/libexec/ssh/ssh-askpass 228%attr(0755,root,root) /usr/libexec/ssh/ssh-askpass
263%attr(0755,root,root) /usr/libexec/ssh/x11-ssh-askpass 229%attr(0755,root,root) /usr/libexec/ssh/x11-ssh-askpass
264%endif
265 230
266%ifdef BUILD_GNOME_ASKPASS
267%files askpass-gnome 231%files askpass-gnome
268%defattr(-,root,root) 232%defattr(-,root,root)
269%attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass 233%attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass
270%endif