]> TLD Linux GIT Repositories - packages/openssh.git/commitdiff
- TLDize
authorMarcin Krol <hawk@tld-linux.org>
Wed, 5 Feb 2014 13:09:37 +0000 (13:09 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 5 Feb 2014 13:09:37 +0000 (13:09 +0000)
openssh.spec

index efd56880ae0aa94cb5b73e774c9876c215acfba8..fcf19310bb894c16efa2a9fddb100363d1af023d 100644 (file)
 # gtk2-based gnome-askpass means no gnome1-based
 %{?with_gtk:%undefine with_gnome}
 
-%if "%{pld_release}" == "ac"
-%define                pam_ver 0.79.0
-%else
 %define                pam_ver 1:1.1.5-5
-%endif
 Summary:       OpenSSH free Secure Shell (SSH) implementation
 Summary(de.UTF-8):     OpenSSH - freie Implementation der Secure Shell (SSH)
 Summary(es.UTF-8):     Implementación libre de SSH
@@ -94,15 +90,10 @@ BuildRequires:      rpmbuild(macros) >= 1.627
 BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel >= 1.2.3
 Requires:      zlib >= 1.2.3
-%if "%{pld_release}" == "ac"
-Requires:      filesystem >= 2.0-1
-Requires:      pam >= 0.79.0
-%else
 Requires:      filesystem >= 3.0-11
 Requires:      pam >= %{pam_ver}
 Suggests:      openssh-blacklist
 Suggests:      xorg-app-xauth
-%endif
 Obsoletes:     ssh
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -548,11 +539,6 @@ openldap-a.
 %patch14 -p1
 %{!?with_ldap:%patch15 -p1}
 
-%if "%{pld_release}" == "ac"
-# fix for missing x11.pc
-%{__sed} -i -e '/pkg-config/s/ x11//' contrib/Makefile
-%endif
-
 # hack since arc4random from openbsd-compat needs symbols from libssh and vice versa
 sed -i -e 's#-lssh -lopenbsd-compat#-lssh -lopenbsd-compat -lssh#g' Makefile*
 
@@ -584,11 +570,7 @@ CPPFLAGS="-DCHROOT"
        --with-sandbox=seccomp_filter \
        %{?with_selinux:--with-selinux} \
        --with-tcp-wrappers \
-%if "%{pld_release}" == "ac"
-       --with-xauth=/usr/X11R6/bin/xauth
-%else
        --with-xauth=%{_bindir}/xauth
-%endif
 
 echo '#define LOGIN_PROGRAM               "/bin/login"' >>config.h
 
@@ -620,13 +602,6 @@ bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 cp -p %{SOURCE3} sshd.pam
 install -p %{SOURCE2} sshd.init
 
-%if "%{pld_release}" == "ac"
-# not present in ac, no point searching it
-%{__sed} -i -e '/pam_keyinit.so/d' sshd.pam
-# openssl on ac does not have OPENSSL_HAS_ECC
-%{__sed} -i -e '/ecdsa/d' sshd.init
-%endif
-
 %if %{without audit}
 # remove recording user's login uid to the process attribute
 %{__sed} -i -e '/pam_loginuid.so/d' sshd.pam