/[gentoo-x86]/net-misc/openssh/openssh-5.1_p1-r1.ebuild
Gentoo

Diff of /net-misc/openssh/openssh-5.1_p1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.12
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-5.1_p1-r1.ebuild,v 1.6 2008/10/27 20:00:28 ranger Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-5.1_p1-r1.ebuild,v 1.12 2009/02/08 17:14:24 vapier Exp $
4 4
5inherit eutils flag-o-matic ccc multilib autotools pam 5inherit eutils flag-o-matic multilib autotools pam
6 6
7# Make it more portable between straight releases 7# Make it more portable between straight releases
8# and _p? releases. 8# and _p? releases.
9PARCH=${P/_/} 9PARCH=${P/_/}
10 10
21 ${HPN_PATCH:+hpn? ( http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )}" 21 ${HPN_PATCH:+hpn? ( http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )}"
22 #${LDAP_PATCH:+ldap? ( http://dev.inversepath.com/openssh-lpk/${LDAP_PATCH} )} 22 #${LDAP_PATCH:+ldap? ( http://dev.inversepath.com/openssh-lpk/${LDAP_PATCH} )}
23 23
24LICENSE="as-is" 24LICENSE="as-is"
25SLOT="0" 25SLOT="0"
26KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~sparc-fbsd x86 ~x86-fbsd" 26KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
27IUSE="static pam tcpd kerberos skey selinux X509 ldap smartcard hpn libedit X" 27IUSE="static pam tcpd kerberos skey selinux X509 ldap smartcard hpn libedit X"
28 28
29RDEPEND="pam? ( virtual/pam ) 29RDEPEND="pam? ( virtual/pam )
30 kerberos? ( virtual/krb5 ) 30 kerberos? ( virtual/krb5 )
31 selinux? ( >=sys-libs/libselinux-1.28 ) 31 selinux? ( >=sys-libs/libselinux-1.28 )
87 use ldap && ewarn "Sorry, X509 and ldap don't get along, disabling ldap" 87 use ldap && ewarn "Sorry, X509 and ldap don't get along, disabling ldap"
88 fi 88 fi
89 epatch "${FILESDIR}"/${PN}-4.7_p1-GSSAPI-dns.patch #165444 integrated into gsskex 89 epatch "${FILESDIR}"/${PN}-4.7_p1-GSSAPI-dns.patch #165444 integrated into gsskex
90 [[ -n ${HPN_PATCH} ]] && use hpn && epatch "${DISTDIR}"/${HPN_PATCH} 90 [[ -n ${HPN_PATCH} ]] && use hpn && epatch "${DISTDIR}"/${HPN_PATCH}
91 epatch "${FILESDIR}"/${PN}-4.7p1-selinux.diff #191665 91 epatch "${FILESDIR}"/${PN}-4.7p1-selinux.diff #191665
92 epatch "${FILESDIR}"/${P}-better-ssp-check.patch
92 93
93 sed -i "s:-lcrypto:$(pkg-config --libs openssl):" configure{,.ac} || die 94 sed -i "s:-lcrypto:$(pkg-config --libs openssl):" configure{,.ac} || die
94 95
95 eautoreconf 96 eautoreconf
96} 97}
116 --datadir=/usr/share/openssh \ 117 --datadir=/usr/share/openssh \
117 --with-privsep-path=/var/empty \ 118 --with-privsep-path=/var/empty \
118 --with-privsep-user=sshd \ 119 --with-privsep-user=sshd \
119 --with-md5-passwords \ 120 --with-md5-passwords \
120 --with-ssl-engine \ 121 --with-ssl-engine \
121 $(use ldap && $(use_with ldap)) \ 122 $(use ldap && [ -n "${LDAP_PATCH}" ] && use_with ldap) \
122 $(use_with libedit) \ 123 $(use_with libedit) \
123 $(use_with kerberos kerberos5 /usr) \ 124 $(use_with kerberos kerberos5 /usr) \
124 $(use_with tcpd tcp-wrappers) \ 125 $(use_with tcpd tcp-wrappers) \
125 $(use_with selinux) \ 126 $(use_with selinux) \
126 $(use_with skey) \ 127 $(use_with skey) \

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20