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

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

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

Revision 1.3 Revision 1.5
1# Copyright 1999-2009 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-r3.ebuild,v 1.3 2009/02/08 17:14:24 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/Attic/openssh-5.1_p1-r3.ebuild,v 1.5 2009/08/13 06:30:33 vapier Exp $
4 4
5inherit eutils flag-o-matic 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.
72 72
73 sed -i \ 73 sed -i \
74 -e '/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:/usr/bin/xauth:' \ 74 -e '/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:/usr/bin/xauth:' \
75 pathnames.h || die 75 pathnames.h || die
76 76
77 use X509 && epatch "${DISTDIR}"/${X509_PATCH} "${FILESDIR}"/${PN}-5.1_p1-x509-hpn-glue.patch 77 use X509 && epatch "${DISTDIR}"/${X509_PATCH} "${FILESDIR}"/${PN}-5.1_p1-x509-{headers,hpn-glue}.patch
78 use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch 78 use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch
79 if ! use X509 ; then 79 if ! use X509 ; then
80 if [[ -n ${LDAP_PATCH} ]] && use ldap ; then 80 if [[ -n ${LDAP_PATCH} ]] && use ldap ; then
81 # The patch for bug 210110 64-bit stuff is now included. 81 # The patch for bug 210110 64-bit stuff is now included.
82 epatch "${DISTDIR}"/${LDAP_PATCH} 82 epatch "${DISTDIR}"/${LDAP_PATCH}
169 # help fix broken perms caused by older ebuilds. 169 # help fix broken perms caused by older ebuilds.
170 # can probably cut this after the next stage release. 170 # can probably cut this after the next stage release.
171 chmod u+x "${ROOT}"/etc/skel/.ssh >& /dev/null 171 chmod u+x "${ROOT}"/etc/skel/.ssh >& /dev/null
172 172
173 ewarn "Remember to merge your config files in /etc/ssh/ and then" 173 ewarn "Remember to merge your config files in /etc/ssh/ and then"
174 ewarn "restart sshd: '/etc/init.d/sshd restart'." 174 ewarn "reload sshd: '/etc/init.d/sshd reload'."
175 if use pam ; then 175 if use pam ; then
176 echo 176 echo
177 ewarn "Please be aware users need a valid shell in /etc/passwd" 177 ewarn "Please be aware users need a valid shell in /etc/passwd"
178 ewarn "in order to be allowed to login." 178 ewarn "in order to be allowed to login."
179 fi 179 fi

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20