summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-05-15 22:11:08 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-05-15 22:11:08 +0000
commiteb51a54c832594a2f102e4f786de8b8350a0c234 (patch)
tree71375e64fca664987546a757479f7f10d63eef4a /net-misc
parentcleanup (diff)
downloadhistorical-eb51a54c832594a2f102e4f786de8b8350a0c234.tar.gz
historical-eb51a54c832594a2f102e4f786de8b8350a0c234.tar.bz2
historical-eb51a54c832594a2f102e4f786de8b8350a0c234.zip
cleanup
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openssh/Manifest10
-rw-r--r--net-misc/openssh/files/digest-openssh-3.4_p1-r21
-rw-r--r--net-misc/openssh/files/digest-openssh-3.4_p1-r31
-rw-r--r--net-misc/openssh/files/digest-openssh-3.5_p11
-rw-r--r--net-misc/openssh/files/digest-openssh-3.6.1_p16
-rw-r--r--net-misc/openssh/files/digest-openssh-3.6.1_p21
-rw-r--r--net-misc/openssh/files/digest-openssh-3.6_p16
-rw-r--r--net-misc/openssh/openssh-3.4_p1-r2.ebuild100
-rw-r--r--net-misc/openssh/openssh-3.4_p1-r3.ebuild102
-rw-r--r--net-misc/openssh/openssh-3.5_p1.ebuild110
-rw-r--r--net-misc/openssh/openssh-3.6.1_p1.ebuild136
-rw-r--r--net-misc/openssh/openssh-3.6_p1.ebuild136
12 files changed, 0 insertions, 610 deletions
diff --git a/net-misc/openssh/Manifest b/net-misc/openssh/Manifest
index 88f4d752b464..965793e17b76 100644
--- a/net-misc/openssh/Manifest
+++ b/net-misc/openssh/Manifest
@@ -1,18 +1,8 @@
MD5 24bbcfad69e6521ceb930a4624a6f9af ChangeLog 6299
-MD5 c573a0166ba82d929eeb8d0d73870cab openssh-3.4_p1-r2.ebuild 3062
-MD5 af05dc1a564ab582ebf068e4a1a816b5 openssh-3.4_p1-r3.ebuild 3097
MD5 2e57d64ca3b1d0a7f0ed2410f0d512d5 openssh-3.5_p1-r1.ebuild 3956
-MD5 a960ab3dc80828eca72e55a75ab5e775 openssh-3.5_p1.ebuild 3248
-MD5 c0d88403fcde5f94860d74a2dd618f9c openssh-3.6.1_p1.ebuild 3973
-MD5 98042bfd79c1981b532543165f8d08e7 openssh-3.6_p1.ebuild 3971
MD5 5ae5b6ff0286cdf43322c10e9ffbb22f openssh-3.6.1_p2.ebuild 3962
-MD5 03a052d5019248169ef6de9996ae70d3 files/digest-openssh-3.4_p1-r2 65
-MD5 03a052d5019248169ef6de9996ae70d3 files/digest-openssh-3.4_p1-r3 65
-MD5 8f421fd8d19a104dc78150e4b1904a46 files/digest-openssh-3.5_p1 65
MD5 f2472f97f00f203eee538d04a25acac5 files/digest-openssh-3.5_p1-r1 136
MD5 2cb187d8f60994c5e1b5fef2bcb6e85d files/openssh-3.5_p1-gentoo-sshd-gcc3.patch 315
MD5 b86ae0c43a704c4ee2abd2ce5c955f8f files/sshd.pam 294
MD5 e45ff32a9973b347955cba32d6a99d80 files/sshd.rc6 1213
-MD5 7427d83beb6ed1840d3f2a0f61382c2d files/digest-openssh-3.6.1_p1 407
-MD5 8b493a5cd1ebd5df0d31fdd820b175a2 files/digest-openssh-3.6_p1 403
MD5 31789e51878741d2af4b1312db79fa2f files/digest-openssh-3.6.1_p2 67
diff --git a/net-misc/openssh/files/digest-openssh-3.4_p1-r2 b/net-misc/openssh/files/digest-openssh-3.4_p1-r2
deleted file mode 100644
index fae8682e3e76..000000000000
--- a/net-misc/openssh/files/digest-openssh-3.4_p1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 459c1d0262e939d6432f193c7a4ba8a8 openssh-3.4p1.tar.gz 837668
diff --git a/net-misc/openssh/files/digest-openssh-3.4_p1-r3 b/net-misc/openssh/files/digest-openssh-3.4_p1-r3
deleted file mode 100644
index fae8682e3e76..000000000000
--- a/net-misc/openssh/files/digest-openssh-3.4_p1-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 459c1d0262e939d6432f193c7a4ba8a8 openssh-3.4p1.tar.gz 837668
diff --git a/net-misc/openssh/files/digest-openssh-3.5_p1 b/net-misc/openssh/files/digest-openssh-3.5_p1
deleted file mode 100644
index e24f781804e4..000000000000
--- a/net-misc/openssh/files/digest-openssh-3.5_p1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 42bd78508d208b55843c84dd54dea848 openssh-3.5p1.tar.gz 851486
diff --git a/net-misc/openssh/files/digest-openssh-3.6.1_p1 b/net-misc/openssh/files/digest-openssh-3.6.1_p1
deleted file mode 100644
index 2210da1503e6..000000000000
--- a/net-misc/openssh/files/digest-openssh-3.6.1_p1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 2cb187d8f60994c5e1b5fef2bcb6e85d /files/openssh-3.5_p1-gentoo-sshd-gcc3.patch 315
-MD5 b86ae0c43a704c4ee2abd2ce5c955f8f /files/sshd.pam 294
-MD5 e45ff32a9973b347955cba32d6a99d80 /files/sshd.rc6 1213
-MD5 c0d88403fcde5f94860d74a2dd618f9c /openssh-3.6.1_p1.ebuild 3973
-MD5 d4c2c88b883f097fe88e327cbb4b2e2a openssh-3.6.1p1.tar.gz 875806
-MD5 c425e65927b359382bf3618d265d45f1 openssh_3.6p1-5.se1.diff.bz2 54985
diff --git a/net-misc/openssh/files/digest-openssh-3.6.1_p2 b/net-misc/openssh/files/digest-openssh-3.6.1_p2
index 7576198e5d33..70f355454a00 100644
--- a/net-misc/openssh/files/digest-openssh-3.6.1_p2
+++ b/net-misc/openssh/files/digest-openssh-3.6.1_p2
@@ -1,2 +1 @@
MD5 f3879270bffe479e1bd057aa36258696 openssh-3.6.1p2.tar.gz 879629
-MD5 c425e65927b359382bf3618d265d45f1 openssh_3.6p1-5.se1.diff.bz2 54985
diff --git a/net-misc/openssh/files/digest-openssh-3.6_p1 b/net-misc/openssh/files/digest-openssh-3.6_p1
deleted file mode 100644
index cdd0ea6a2439..000000000000
--- a/net-misc/openssh/files/digest-openssh-3.6_p1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 2cb187d8f60994c5e1b5fef2bcb6e85d /files/openssh-3.5_p1-gentoo-sshd-gcc3.patch 315
-MD5 b86ae0c43a704c4ee2abd2ce5c955f8f /files/sshd.pam 294
-MD5 e45ff32a9973b347955cba32d6a99d80 /files/sshd.rc6 1213
-MD5 98042bfd79c1981b532543165f8d08e7 /openssh-3.6_p1.ebuild 3971
-MD5 72ef1134d521cb6926c99256dad17fe0 openssh-3.6p1.tar.gz 875851
-MD5 c425e65927b359382bf3618d265d45f1 openssh_3.6p1-5.se1.diff.bz2 54985
diff --git a/net-misc/openssh/openssh-3.4_p1-r2.ebuild b/net-misc/openssh/openssh-3.4_p1-r2.ebuild
deleted file mode 100644
index 0f81fd245e89..000000000000
--- a/net-misc/openssh/openssh-3.4_p1-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# 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.4_p1-r2.ebuild,v 1.12 2003/03/11 21:11:46 seemant Exp $
-
-IUSE="ipv6 static pam tcpd"
-
-# Make it more portable between straight releases
-# and _p? releases.
-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"
-
-# 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 )
- >=dev-libs/openssl-0.9.6d
- sys-libs/zlib"
-
-DEPEND="${RDEPEND}
- dev-lang/perl
- sys-apps/groff
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="x86 sparc "
-
-src_compile() {
- local myconf
- use tcpd || myconf="${myconf} --without-tcp-wrappers"
- use tcpd && myconf="${myconf} --with-tcp-wrappers"
- use pam || myconf="${myconf} --without-pam"
- use pam && myconf="${myconf} --with-pam"
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --mandir=/usr/share/man \
- --libexecdir=/usr/lib/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --host=${CHOST} ${myconf} || die "bad configure"
-
- if [ "`use static`" ]
- then
- # statically link to libcrypto -- good for the boot cd
- perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
- fi
-
- make || die " compile problem"
-}
-
-src_install() {
- make install-files DESTDIR=${D} || die
- chmod 600 ${D}/etc/ssh/sshd_config
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
- insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
- exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
- touch ${D}/var/empty/.keep
-}
-
-pkg_preinst() {
-
- userdel sshd 2> /dev/null
- if ! groupmod sshd; then
- groupadd -g 90 sshd 2> /dev/null || \
- die "Failed to create sshd group"
- fi
- useradd -u 22 -g sshd -s /dev/null -d /var/empty -c "sshd" sshd || \
- die "Failed to create sshd user"
-
-}
-
-pkg_postinst() {
-
- # empty dir for the new priv separation auth chroot..
- install -d -m0755 -o root -g root ${ROOT}/var/empty
-
- einfo
- einfo "Remember to merge your config files in /etc/ssh!"
- einfo "As of version 3.4 the default is to enable the UsePrivelegeSeparation"
- einfo "functionality, but please ensure that you do not explicitly disable"
- einfo "this in your configuration as disabling it opens security holes"
- einfo
- einfo "This revision has removed your sshd user id and replaced it with a"
- einfo "new one with UID 22. If you have any scripts or programs that"
- einfo "that referenced the old UID directly, you will need to update them."
- einfo
- if use pam; then
- einfo "Please be aware users need a valid shell in /etc/passwd"
- einfo "in order to be allowed to login."
- einfo
- fi
-}
diff --git a/net-misc/openssh/openssh-3.4_p1-r3.ebuild b/net-misc/openssh/openssh-3.4_p1-r3.ebuild
deleted file mode 100644
index 834b230983fa..000000000000
--- a/net-misc/openssh/openssh-3.4_p1-r3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# 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.4_p1-r3.ebuild,v 1.13 2003/03/11 21:11:46 seemant Exp $
-
-IUSE="ipv6 static pam tcpd"
-
-# Make it more portable between straight releases
-# and _p? releases.
-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"
-
-# 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 )
- >=dev-libs/openssl-0.9.6d
- sys-libs/zlib"
-
-DEPEND="${RDEPEND}
- dev-lang/perl
- sys-apps/groff
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ppc sparc alpha"
-
-src_compile() {
- local myconf
- use tcpd || myconf="${myconf} --without-tcp-wrappers"
- use tcpd && myconf="${myconf} --with-tcp-wrappers"
- use pam || myconf="${myconf} --without-pam"
- use pam && myconf="${myconf} --with-pam"
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --mandir=/usr/share/man \
- --libexecdir=/usr/lib/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- --host=${CHOST} ${myconf} || die "bad configure"
-
- if [ "`use static`" ]
- then
- # statically link to libcrypto -- good for the boot cd
- perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
- fi
-
- make || die " compile problem"
-}
-
-src_install() {
- make install-files DESTDIR=${D} || die
- chmod 600 ${D}/etc/ssh/sshd_config
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
- insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
- exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
- touch ${D}/var/empty/.keep
-}
-
-pkg_preinst() {
-
- userdel sshd 2> /dev/null
- if ! groupmod sshd; then
- groupadd -g 90 sshd 2> /dev/null || \
- die "Failed to create sshd group"
- fi
- useradd -u 22 -g sshd -s /dev/null -d /var/empty -c "sshd" sshd || \
- die "Failed to create sshd user"
-
-}
-
-pkg_postinst() {
-
- # empty dir for the new priv separation auth chroot..
- install -d -m0755 -o root -g root ${ROOT}/var/empty
-
- einfo
- einfo "Remember to merge your config files in /etc/ssh!"
- einfo "As of version 3.4 the default is to enable the UsePrivelegeSeparation"
- einfo "functionality, but please ensure that you do not explicitly disable"
- einfo "this in your configuration as disabling it opens security holes"
- einfo
- einfo "This revision has removed your sshd user id and replaced it with a"
- einfo "new one with UID 22. If you have any scripts or programs that"
- einfo "that referenced the old UID directly, you will need to update them."
- einfo
- if use pam; then
- einfo "Please be aware users need a valid shell in /etc/passwd"
- einfo "in order to be allowed to login."
- einfo
- fi
-}
diff --git a/net-misc/openssh/openssh-3.5_p1.ebuild b/net-misc/openssh/openssh-3.5_p1.ebuild
deleted file mode 100644
index ab4bb06b8172..000000000000
--- a/net-misc/openssh/openssh-3.5_p1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# 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.ebuild,v 1.15 2003/03/11 21:11:46 seemant Exp $
-
-IUSE="ipv6 static pam tcpd"
-
-# Make it more portable between straight releases
-# and _p? releases.
-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"
-
-# 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 )
- >=dev-libs/openssl-0.9.6d
- sys-libs/zlib"
-
-DEPEND="${RDEPEND}
- dev-lang/perl
- sys-apps/groff
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ppc sparc alpha mips hppa"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- if [ `use alpha` ]; then
- patch < ${FILESDIR}/${P}-gentoo-sshd-gcc3.patch || die
- fi
-}
-
-src_compile() {
- local myconf
- use tcpd || myconf="${myconf} --without-tcp-wrappers"
- use tcpd && myconf="${myconf} --with-tcp-wrappers"
- use pam || myconf="${myconf} --without-pam"
- use pam && myconf="${myconf} --with-pam"
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --mandir=/usr/share/man \
- --libexecdir=/usr/lib/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- --host=${CHOST} ${myconf} || die "bad configure"
-
- if [ "`use static`" ]
- then
- # statically link to libcrypto -- good for the boot cd
- perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
- fi
-
- make || die " compile problem"
-}
-
-src_install() {
- make install-files DESTDIR=${D} || die
- chmod 600 ${D}/etc/ssh/sshd_config
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
- insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
- exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
- touch ${D}/var/empty/.keep
-}
-
-pkg_preinst() {
-
- userdel sshd 2> /dev/null
- if ! groupmod sshd; then
- groupadd -g 90 sshd 2> /dev/null || \
- die "Failed to create sshd group"
- fi
- useradd -u 22 -g sshd -s /dev/null -d /var/empty -c "sshd" sshd || \
- die "Failed to create sshd user"
-
-}
-
-pkg_postinst() {
-
- # empty dir for the new priv separation auth chroot..
- install -d -m0755 -o root -g root ${ROOT}/var/empty
-
- einfo
- einfo "Remember to merge your config files in /etc/ssh!"
- einfo "As of version 3.4 the default is to enable the UsePrivelegeSeparation"
- einfo "functionality, but please ensure that you do not explicitly disable"
- einfo "this in your configuration as disabling it opens security holes"
- einfo
- einfo "This revision has removed your sshd user id and replaced it with a"
- einfo "new one with UID 22. If you have any scripts or programs that"
- einfo "that referenced the old UID directly, you will need to update them."
- einfo
- if use pam >/dev/null 2>&1; then
- einfo "Please be aware users need a valid shell in /etc/passwd"
- einfo "in order to be allowed to login."
- einfo
- fi
-}
diff --git a/net-misc/openssh/openssh-3.6.1_p1.ebuild b/net-misc/openssh/openssh-3.6.1_p1.ebuild
deleted file mode 100644
index 6002bb42eedc..000000000000
--- a/net-misc/openssh/openssh-3.6.1_p1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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.6.1_p1.ebuild,v 1.1 2003/04/02 18:46:45 lostlogic Exp $
-
-inherit eutils
-
-IUSE="ipv6 static pam tcpd kerberos selinux"
-
-# Make it more portable between straight releases
-# and _p? releases.
-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
- selinux? http://lostlogicx.com/gentoo/openssh_3.6p1-5.se1.diff.bz2"
-
-# 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"
-
-DEPEND="${RDEPEND}
- dev-lang/perl
- sys-apps/groff
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa arm"
-
-src_unpack() {
- unpack ${PARCH}.tar.gz
- cd ${S}
- use selinux && epatch ${DISTDIR}/openssh_3.6p1-5.se1.diff.bz2
-
- if [ `use alpha` ]; then
- epatch ${FILESDIR}/${PN}-3.5_p1-gentoo-sshd-gcc3.patch || die
- fi
-}
-
-src_compile() {
- local myconf
- use tcpd || myconf="${myconf} --without-tcp-wrappers"
- use tcpd && myconf="${myconf} --with-tcp-wrappers"
- use pam || myconf="${myconf} --without-pam"
- use pam && myconf="${myconf} --with-pam"
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- # app-crypt/krb5
- use kerberos && myconf="${myconf} --with-kerberos5"
-
- # app-crypt/kth-krb
- # KTH's implementation of kerberos IV
- # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild
- if [ ! -z $KTH_KRB ]; then
- myconf="${myconf} --with-kerberos4=/usr/athena"
- fi
-
- use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --mandir=/usr/share/man \
- --libexecdir=/usr/lib/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- --host=${CHOST} ${myconf} || die "bad configure"
-
- if [ "`use static`" ]
- then
- # statically link to libcrypto -- good for the boot cd
- perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
- fi
-
- if [ "`use selinux`" ]
- then
- #add -lsecure
- sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new
- mv Makefile.new Makefile
- fi
-
- emake || die "compile problem"
-}
-
-src_install() {
- make install-files DESTDIR=${D} || die
- chmod 600 ${D}/etc/ssh/sshd_config
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
- insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
- exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
- touch ${D}/var/empty/.keep
-}
-
-pkg_preinst() {
-
- userdel sshd 2> /dev/null
- if ! groupmod sshd; then
- groupadd -g 90 sshd 2> /dev/null || \
- die "Failed to create sshd group"
- fi
- useradd -u 22 -g sshd -s /dev/null -d /var/empty -c "sshd" sshd || \
- die "Failed to create sshd user"
-
-}
-
-pkg_postinst() {
-
- # empty dir for the new priv separation auth chroot..
- install -d -m0755 -o root -g root ${ROOT}/var/empty
-
- einfo
- einfo "Remember to merge your config files in /etc/ssh!"
- einfo "As of version 3.4 the default is to enable the UsePrivelegeSeparation"
- einfo "functionality, but please ensure that you do not explicitly disable"
- einfo "this in your configuration as disabling it opens security holes"
- einfo
- einfo "This revision has removed your sshd user id and replaced it with a"
- einfo "new one with UID 22. If you have any scripts or programs that"
- einfo "that referenced the old UID directly, you will need to update them."
- einfo
- if use pam >/dev/null 2>&1; then
- einfo "Please be aware users need a valid shell in /etc/passwd"
- einfo "in order to be allowed to login."
- einfo
- fi
-}
diff --git a/net-misc/openssh/openssh-3.6_p1.ebuild b/net-misc/openssh/openssh-3.6_p1.ebuild
deleted file mode 100644
index 84ad183f4722..000000000000
--- a/net-misc/openssh/openssh-3.6_p1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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.6_p1.ebuild,v 1.1 2003/04/02 06:18:32 lostlogic Exp $
-
-inherit eutils
-
-IUSE="ipv6 static pam tcpd kerberos selinux"
-
-# Make it more portable between straight releases
-# and _p? releases.
-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
- selinux? http://lostlogicx.com/gentoo/openssh_3.6p1-5.se1.diff.bz2"
-
-# 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"
-
-DEPEND="${RDEPEND}
- dev-lang/perl
- sys-apps/groff
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa arm"
-
-src_unpack() {
- unpack ${PARCH}.tar.gz
- cd ${S}
- use selinux && epatch ${DISTDIR}/openssh_3.6p1-5.se1.diff.bz2
-
- if [ `use alpha` ]; then
- epatch ${FILESDIR}/${PN}-3.5_p1-gentoo-sshd-gcc3.patch || die
- fi
-}
-
-src_compile() {
- local myconf
- use tcpd || myconf="${myconf} --without-tcp-wrappers"
- use tcpd && myconf="${myconf} --with-tcp-wrappers"
- use pam || myconf="${myconf} --without-pam"
- use pam && myconf="${myconf} --with-pam"
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- # app-crypt/krb5
- use kerberos && myconf="${myconf} --with-kerberos5"
-
- # app-crypt/kth-krb
- # KTH's implementation of kerberos IV
- # KTH_KRB="yes" emerge openssh-3.5_p1-r1.ebuild
- if [ ! -z $KTH_KRB ]; then
- myconf="${myconf} --with-kerberos4=/usr/athena"
- fi
-
- use selinux && CFLAGS="${CFLAGS} -DWITH_SELINUX"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --mandir=/usr/share/man \
- --libexecdir=/usr/lib/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- --host=${CHOST} ${myconf} || die "bad configure"
-
- if [ "`use static`" ]
- then
- # statically link to libcrypto -- good for the boot cd
- perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile
- fi
-
- if [ "`use selinux`" ]
- then
- #add -lsecure
- sed "s:LIBS=\(.*\):LIBS=\1 -lsecure:" < Makefile > Makefile.new
- mv Makefile.new Makefile
- fi
-
- emake || die "compile problem"
-}
-
-src_install() {
- make install-files DESTDIR=${D} || die
- chmod 600 ${D}/etc/ssh/sshd_config
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
- insinto /etc/pam.d ; newins ${FILESDIR}/sshd.pam sshd
- exeinto /etc/init.d ; newexe ${FILESDIR}/sshd.rc6 sshd
- touch ${D}/var/empty/.keep
-}
-
-pkg_preinst() {
-
- userdel sshd 2> /dev/null
- if ! groupmod sshd; then
- groupadd -g 90 sshd 2> /dev/null || \
- die "Failed to create sshd group"
- fi
- useradd -u 22 -g sshd -s /dev/null -d /var/empty -c "sshd" sshd || \
- die "Failed to create sshd user"
-
-}
-
-pkg_postinst() {
-
- # empty dir for the new priv separation auth chroot..
- install -d -m0755 -o root -g root ${ROOT}/var/empty
-
- einfo
- einfo "Remember to merge your config files in /etc/ssh!"
- einfo "As of version 3.4 the default is to enable the UsePrivelegeSeparation"
- einfo "functionality, but please ensure that you do not explicitly disable"
- einfo "this in your configuration as disabling it opens security holes"
- einfo
- einfo "This revision has removed your sshd user id and replaced it with a"
- einfo "new one with UID 22. If you have any scripts or programs that"
- einfo "that referenced the old UID directly, you will need to update them."
- einfo
- if use pam >/dev/null 2>&1; then
- einfo "Please be aware users need a valid shell in /etc/passwd"
- einfo "in order to be allowed to login."
- einfo
- fi
-}