]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh.spec
- release 1: use new %doc packing infrastructure.
[packages/openssh.git] / openssh.spec
index 1feecac51af3c2c5a52ac731f48d1060a6b24ee6..8c2ebb78938cbb6f2e478e7cfdd90ee77d21ff6a 100644 (file)
@@ -1,19 +1,16 @@
 #
-# Conditional build:   
+# Conditional build:
 # _without_gnome - without gnome-askpass utility
-# _without_embed - don't build uClibc version
 
 Summary:       OpenSSH free Secure Shell (SSH) implementation
 Summary(es):   Implementación libre de SSH
 Summary(pl):   Publicznie dostêpna implementacja bezpiecznego shella (SSH)
 Summary(pt_BR):        Implementação livre do SSH
 Name:          openssh
-Version:       3.0.2p1
-Release:       2
+Version:       3.2.2p1
+Release:       1
 License:       BSD
 Group:         Applications/Networking
-Group(de):     Applikationen/Netzwerkwesen
-Group(pl):     Aplikacje/Sieciowe
 Source0:       ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
 Source1:       %{name}d.conf
 Source2:       %{name}.conf
@@ -21,10 +18,9 @@ Source3:     %{name}d.init
 Source4:       %{name}d.pamd
 Source5:       %{name}.sysconfig
 Source6:       passwd.pamd
-Patch0:                %{name}-libwrap.patch
-Patch1:                %{name}-no_libnsl.patch
-Patch2:                %{name}-no-openssl-ver-check.patch
-Patch3:                %{name}-set_12.patch
+Patch0:                %{name}-no_libnsl.patch
+Patch1:                %{name}-set_12.patch
+Patch2:                %{name}-linux-ipv6.patch
 URL:           http://www.openssh.com/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
@@ -35,22 +31,10 @@ BuildRequires:      pam-devel
 BuildRequires: zlib-devel
 BuildRequires: libwrap-devel
 BuildRequires: perl
-%if %{!?_without_embed:1}%{?_without_embed:0}
-BuildRequires: uClibc-devel
-BuildRequires: uClibc-static
-BuildRequires: openssl-devel-embed
-BuildRequires: zlib-devel-embed
-%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Prereq:                openssl
 Obsoletes:     ssh
 
-%define embed_path     /usr/lib/embed
-%define embed_cc       %{_arch}-uclibc-cc
-%define embed_cflags   %{rpmcflags} -Os
-
-%define embed_binaries ssh scp sshd ssh-keygen
-
 %define                _sysconfdir     /etc/ssh
 %define                _libexecdir     %{_libdir}/%{name}
 
@@ -112,8 +96,6 @@ Summary(pl): Klienci protoko
 Summary(pt_BR):        Clientes do OpenSSH
 Requires:      openssh
 Group:         Applications/Networking
-Group(de):     Applikationen/Netzwerkwesen
-Group(pl):     Aplikacje/Sieciowe
 Obsoletes:     ssh-clients
 Requires:      %{name} = %{version}
 
@@ -131,11 +113,11 @@ all patented algorithms to seperate libraries (OpenSSL).
 This package includes the clients necessary to make encrypted
 connections to SSH servers.
 
-%description -l es clients
+%description clients -l es
 Este paquete incluye los clientes que se necesitan para hacer
 conexiones codificadas con servidores SSH.
 
-%description -l pl clients
+%description clients -l pl
 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
@@ -143,7 +125,7 @@ pomiedzy dwoma hostami.
 
 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
 
-%description -l pt_BR clients
+%description clients -l pt_BR
 Esse pacote inclui os clientes necessários para fazer conexões
 encriptadas com servidores SSH.
 
@@ -155,8 +137,6 @@ Summary(pt_BR):     Servidor OpenSSH para comunica
 Requires:      openssh
 Requires:      chkconfig >= 0.9
 Group:         Networking/Daemons
-Group(de):     Netzwerkwesen/Server
-Group(pl):     Sieciowe/Serwery
 Obsoletes:     ssh-server
 Requires:      /bin/login
 Requires:      util-linux
@@ -198,30 +178,12 @@ Esse pacote cont
 protocolo secure shell e permite que clientes ssh se conectem ao seu
 host.
 
-%package embed
-Summary:       OpenSSH Secure Shell for embedded applications
-Summary:       OpenSSH Secure Shell dla aplikacji wbudowanych 
-Requires:      openssh
-Group:         Applications/Networking
-Group(de):     Applikationen/Netzwerkwesen
-Group(pl):     Aplikacje/Sieciowe
-Obsoletes:     ssh-clients
-
-%description embed
-OpenSSH for embedded enviroment. Client, server, scp and ssh-keygen.
-
-%description -l pl embed
-OpenSSH dla aplikacji wbudowanych. Klient, serwer, scp i ssh-keygen.
-
-
 %package gnome-askpass
 Summary:       OpenSSH GNOME passphrase dialog
 Summary(es):   Diálogo para introducción de passphrase para GNOME
 Summary(pl):   Odpytywacz has³a OpenSSH dla GNOME
 Summary(pt_BR):        Diálogo para entrada de passphrase para GNOME
 Group:         Applications/Networking
-Group(de):     Applikationen/Netzwerkwesen
-Group(pl):     Aplikacje/Sieciowe
 Requires:      %{name} = %{version}
 Obsoletes:     ssh-extras
 Obsoletes:     ssh-askpass
@@ -240,7 +202,7 @@ all patented algorithms to seperate libraries (OpenSSL).
 
 This package contains the GNOME passphrase dialog.
 
-%description gnome-askpass -l es 
+%description gnome-askpass -l es
 Este paquete contiene un programa que abre una caja de diálogo para
 entrada de passphrase en GNOME.
 
@@ -261,42 +223,11 @@ entrada de passphrase no GNOME.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 aclocal
 autoconf
 
-%if %{!?_without_embed:1}%{?_without_embed:0}
-%configure \
-       --without-gnome-askpass \
-       --without-pam \
-       --without-shadow \
-       --with-mantype=man \
-       --with-md5-passwords \
-       --with-ipaddr-display \
-       --with-4in6 \
-       --disable-suid-ssh \
-       --without-tcp-wrappers \
-       --with-pid-dir=%{_localstatedir}/run \
-       CC=%{embed_cc} CFLAGS="%{embed_cflags}"
-
-echo '#define LOGIN_PROGRAM           "/bin/login"' >>config.h
-%{__make}
-
-for f in %{embed_binaries} ; do
-       mv -f $f $f-embed-shared
-done
-
-%{__make} LDFLAGS="'-static -L. -Lopenbsd-compat/'"
-
-for f in %{embed_binaries} ; do
-       mv -f $f $f-embed-static
-done
-
-%{__make} distclean
-%endif
-
 %configure \
        %{!?_without_gnome:--with-gnome-askpass} \
        --with-pam \
@@ -313,8 +244,8 @@ echo '#define LOGIN_PROGRAM           "/bin/login"' >>config.h
 %{__make}
 
 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
-%{!?_without_gnome:    gnome-ssh-askpass.c -o gnome-ssh-askpass } \
-%{!?_without_gnome:    `gnome-config --libs gnome gnomeui gtk` }
+%{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
+%{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -332,20 +263,10 @@ install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
 
 rm -f  $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
-echo ".so man1/ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
-
-gzip -9nf *.RNG TODO README OVERVIEW CREDITS Change*
+echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
 
 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
 
-%if %{!?_without_embed:1}%{?_without_embed:0}
-install -d $RPM_BUILD_ROOT/%{embed_path}/{shared,static}
-for f in %{embed_binaries} ; do
-       install $f-embed-static $RPM_BUILD_ROOT/%{embed_path}/static/$f
-       install $f-embed-shared $RPM_BUILD_ROOT/%{embed_path}/shared/$f
-done
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -370,7 +291,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc *.RNG TODO README OVERVIEW CREDITS Change*
 %attr(755,root,root) %{_bindir}/ssh-key*
 %{_mandir}/man1/ssh-key*.1*
 %dir %{_sysconfdir}
@@ -409,9 +330,3 @@ fi
 %{!?_without_gnome:%defattr(644,root,root,755)}
 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}
-
-%if %{!?_without_embed:1}%{?_without_embed:0}
-%files embed
-%defattr(644,root,root,755)
-%attr(755,root,root) %{embed_path}/*/*
-%endif
This page took 0.036621 seconds and 4 git commands to generate.