Lines 11-16
inherit eutils flag-o-matic ccc multilib
Link Here
|
11 |
# and _p? releases. |
11 |
# and _p? releases. |
12 |
PARCH=${P/_/} |
12 |
PARCH=${P/_/} |
13 |
|
13 |
|
|
|
14 |
PKCS11_PATCH="${PARCH}pkcs11-0.16.patch.bz2" |
14 |
X509_PATCH="${PARCH}+x509-5.5.1.diff.gz" |
15 |
X509_PATCH="${PARCH}+x509-5.5.1.diff.gz" |
15 |
SECURID_PATCH="" #${PARCH}+SecurID_v1.3.2.patch" |
16 |
SECURID_PATCH="" #${PARCH}+SecurID_v1.3.2.patch" |
16 |
LDAP_PATCH="${PARCH/-4.4p1/-lpk-4.4p1}-0.3.7.patch" |
17 |
LDAP_PATCH="${PARCH/-4.4p1/-lpk-4.4p1}-0.3.7.patch" |
Lines 19-24
HPN_PATCH="${PARCH}-hpn12v11-gentoo.patc
Link Here
|
19 |
DESCRIPTION="Port of OpenBSD's free SSH release" |
20 |
DESCRIPTION="Port of OpenBSD's free SSH release" |
20 |
HOMEPAGE="http://www.openssh.com/" |
21 |
HOMEPAGE="http://www.openssh.com/" |
21 |
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz |
22 |
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz |
|
|
23 |
pkcs11? ( http://alon.barlev.googlepages.com/${PKCS11_PATCH} ) |
22 |
X509? ( http://roumenpetrov.info/openssh/x509-5.5.1/${X509_PATCH} ) |
24 |
X509? ( http://roumenpetrov.info/openssh/x509-5.5.1/${X509_PATCH} ) |
23 |
ldap? ( http://dev.inversepath.com/openssh-lpk/${LDAP_PATCH} ) |
25 |
ldap? ( http://dev.inversepath.com/openssh-lpk/${LDAP_PATCH} ) |
24 |
hpn? ( mirror://gentoo/${HPN_PATCH} http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )" |
26 |
hpn? ( mirror://gentoo/${HPN_PATCH} http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )" |
Lines 27-33
SRC_URI="mirror://openbsd/OpenSSH/portab
Link Here
|
27 |
LICENSE="as-is" |
29 |
LICENSE="as-is" |
28 |
SLOT="0" |
30 |
SLOT="0" |
29 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
31 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
30 |
IUSE="static pam tcpd kerberos skey selinux chroot X509 ldap smartcard hpn libedit X" |
32 |
IUSE="static pam tcpd kerberos skey selinux chroot pkcs11 X509 ldap smartcard hpn libedit X" |
31 |
|
33 |
|
32 |
RDEPEND="pam? ( virtual/pam ) |
34 |
RDEPEND="pam? ( virtual/pam ) |
33 |
kerberos? ( virtual/krb5 ) |
35 |
kerberos? ( virtual/krb5 ) |
Lines 75-80
src_unpack() {
Link Here
|
75 |
# fix autoconf lib checking for SELinux |
77 |
# fix autoconf lib checking for SELinux |
76 |
epatch "${FILESDIR}/openssh-4.4p1-selinux-ac.diff" |
78 |
epatch "${FILESDIR}/openssh-4.4p1-selinux-ac.diff" |
77 |
|
79 |
|
|
|
80 |
use pkcs11 && epatch "${DISTDIR}"/${PKCS11_PATCH} |
78 |
use X509 && epatch "${DISTDIR}"/${X509_PATCH} |
81 |
use X509 && epatch "${DISTDIR}"/${X509_PATCH} |
79 |
use chroot && epatch "${FILESDIR}"/openssh-4.3_p1-chroot.patch |
82 |
use chroot && epatch "${FILESDIR}"/openssh-4.3_p1-chroot.patch |
80 |
use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch |
83 |
use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch |