summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Brindle <method@gentoo.org>2003-03-20 23:41:41 +0000
committerJoshua Brindle <method@gentoo.org>2003-03-20 23:41:41 +0000
commit24638a2d4fb576092191b6934684dc8443f06c6f (patch)
treea4d32abe34b422a63e8024add40c38e5d0b38fe6 /net-misc
parentoops changelog formatting (diff)
downloadgentoo-2-24638a2d4fb576092191b6934684dc8443f06c6f.tar.gz
gentoo-2-24638a2d4fb576092191b6934684dc8443f06c6f.tar.bz2
gentoo-2-24638a2d4fb576092191b6934684dc8443f06c6f.zip
added selinux support
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openssh/ChangeLog5
-rw-r--r--net-misc/openssh/files/digest-openssh-3.5_p1-r11
-rw-r--r--net-misc/openssh/openssh-3.5_p1-r1.ebuild14
3 files changed, 15 insertions, 5 deletions
diff --git a/net-misc/openssh/ChangeLog b/net-misc/openssh/ChangeLog
index 8d45b5ae4709..153f212750c2 100644
--- a/net-misc/openssh/ChangeLog
+++ b/net-misc/openssh/ChangeLog
@@ -1,12 +1,15 @@
# ChangeLog for net-misc/openssh
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/ChangeLog,v 1.34 2003/03/15 18:53:44 tuxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/ChangeLog,v 1.35 2003/03/20 23:41:41 method Exp $
09 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
Added hppa to keywords.
*openssh-3.5_p1-r1 (20 Jan 2003)
+ 20 Mar 2003; Joshua Brindle <method@gentoo.org> openssh-3.5_p1-r1.ebuild:
+ added selinux support
+
15 Mar 2003; Jan Seidel <tuxus@gentoo.org> :
Added mips to KEYWORDS
diff --git a/net-misc/openssh/files/digest-openssh-3.5_p1-r1 b/net-misc/openssh/files/digest-openssh-3.5_p1-r1
index e24f781804e4..e343647cc782 100644
--- a/net-misc/openssh/files/digest-openssh-3.5_p1-r1
+++ b/net-misc/openssh/files/digest-openssh-3.5_p1-r1
@@ -1 +1,2 @@
MD5 42bd78508d208b55843c84dd54dea848 openssh-3.5p1.tar.gz 851486
+MD5 03c080bfe302f8eb7c6d4d79f5994310 openssh_3.5p1-5.se1.diff.gz 60431
diff --git a/net-misc/openssh/openssh-3.5_p1-r1.ebuild b/net-misc/openssh/openssh-3.5_p1-r1.ebuild
index 9ce56570bd72..25f843bab0d9 100644
--- a/net-misc/openssh/openssh-3.5_p1-r1.ebuild
+++ b/net-misc/openssh/openssh-3.5_p1-r1.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.5_p1-r1.ebuild,v 1.9 2003/03/15 18:53:44 tuxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.5_p1-r1.ebuild,v 1.10 2003/03/20 23:41:41 method Exp $
-IUSE="ipv6 static pam tcpd kerberos"
+inherit eutils
+
+IUSE="ipv6 static pam tcpd kerberos selinux"
# Make it more portable between straight releases
# and _p? releases.
@@ -10,13 +12,15 @@ PARCH=${P/_/}
S=${WORKDIR}/${PARCH}
DESCRIPTION="Port of OpenBSD's free SSH release"
HOMEPAGE="http://www.openssh.com/"
-SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${PARCH}.tar.gz"
+SRC_URI="ftp://ftp.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/${PARCH}.tar.gz
+ selinux? http://www.coker.com.au/selinux/ssh/openssh_3.5p1-5.se1.diff.gz"
# openssh recognizes when openssl has been slightly upgraded and refuses to run.
# This new rev will use the new openssl.
RDEPEND="virtual/glibc
pam? ( >=sys-libs/pam-0.73 >=sys-apps/shadow-4.0.2-r2 )
kerberos? ( app-crypt/krb5 )
+ selinux? ( sys-apps/selinux-small )
>=dev-libs/openssl-0.9.6d
sys-libs/zlib"
@@ -33,8 +37,10 @@ KEYWORDS="~x86 ~ppc ~sparc alpha mips ~hppa arm"
src_unpack() {
unpack ${A}
cd ${S}
+ use selinux && epatch ${DISTDIR}/openssh_3.5p1-5.se1.diff.gz
+
if [ `use alpha` ]; then
- patch < ${FILESDIR}/${P}-gentoo-sshd-gcc3.patch || die
+ epatch ${FILESDIR}/${P}-gentoo-sshd-gcc3.patch || die
fi
}