summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-05 22:17:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-05 22:17:29 +0000
commit25f80e90e5d33ce6a296ae3f9b50c59d37db91e8 (patch)
tree8ba43364cd086854746b7d393f61ce0925afb14d
parentGlue selinux and X509 support #125108 by Alon Bar-Lev. (diff)
downloadhistorical-25f80e90e5d33ce6a296ae3f9b50c59d37db91e8.tar.gz
historical-25f80e90e5d33ce6a296ae3f9b50c59d37db91e8.tar.bz2
historical-25f80e90e5d33ce6a296ae3f9b50c59d37db91e8.zip
old
Package-Manager: portage-2.1_pre5-r4
-rw-r--r--net-misc/openssh/Manifest18
-rw-r--r--net-misc/openssh/files/digest-openssh-4.2_p115
-rw-r--r--net-misc/openssh/files/digest-openssh-4.3_p25
-rw-r--r--net-misc/openssh/openssh-4.2_p1.ebuild164
-rw-r--r--net-misc/openssh/openssh-4.3_p2.ebuild162
5 files changed, 3 insertions, 361 deletions
diff --git a/net-misc/openssh/Manifest b/net-misc/openssh/Manifest
index 720c58d2380b..764d9f4c8059 100644
--- a/net-misc/openssh/Manifest
+++ b/net-misc/openssh/Manifest
@@ -13,18 +13,12 @@ SHA256 9e4b3809079f00669bacfc5008b2a4b202cceb109f8637289341a6f8c1a1eb38 files/di
MD5 9da4e1a777f8baaa5caffb5084a68ed4 files/digest-openssh-4.1_p1-r1 360
RMD160 a3054e3e2288050a7cbbfbd8ef5c89d46acfc646 files/digest-openssh-4.1_p1-r1 360
SHA256 e41a62b5c48fd3b561dc03f2e4d0ef782ec2f70d3eaa71866292ec7f4fac3070 files/digest-openssh-4.1_p1-r1 360
-MD5 2c543bcea78a9b958429a3d5b64729e5 files/digest-openssh-4.2_p1 1310
-RMD160 b1518ca5306f376c35ffff7c9ade799ba32e83be files/digest-openssh-4.2_p1 1310
-SHA256 0f2f32fc675c159248a12086122b8c04d4ca3925b1ea1c88442573b968a5a434 files/digest-openssh-4.2_p1 1310
MD5 594aa58909853e6c3f0be598f8928ae5 files/digest-openssh-4.2_p1-r1 360
RMD160 e3ff0fde2596b692959dcefb62650d60aa8266e6 files/digest-openssh-4.2_p1-r1 360
SHA256 627d1524ba20e4714611168bb567b29afd621e7b1fe7c8b4f2f29ad73adef6dc files/digest-openssh-4.2_p1-r1 360
MD5 4dc2c4e3aea10bc17bee5eacdc1009a8 files/digest-openssh-4.3_p1 281
RMD160 1c84f03cc4c044d443c3f4f00914cea6977f7ad0 files/digest-openssh-4.3_p1 281
SHA256 24e247e83b6165e86655fa7e1cf7ccc9e9d6840c7fcedf87cb6b3bbf15a9f9ae files/digest-openssh-4.3_p1 281
-MD5 d8bcee45204677e9c9180e209a021067 files/digest-openssh-4.3_p2 359
-RMD160 5bb8208617ebb5b90910d92ee2f069100042e989 files/digest-openssh-4.3_p2 359
-SHA256 d70fe365d290c5d79b434004dbbfedf32577ad92983d56646e916deab7599aad files/digest-openssh-4.3_p2 359
MD5 d8bcee45204677e9c9180e209a021067 files/digest-openssh-4.3_p2-r1 359
RMD160 5bb8208617ebb5b90910d92ee2f069100042e989 files/digest-openssh-4.3_p2-r1 359
SHA256 d70fe365d290c5d79b434004dbbfedf32577ad92983d56646e916deab7599aad files/digest-openssh-4.3_p2-r1 359
@@ -124,22 +118,16 @@ SHA256 b2d45cf55c08e2030ef74b28f8439d3e4e5aae749e1a12e862a4c86e90f46315 openssh-
MD5 a9d7923f3909976222c24efd31c147f5 openssh-4.2_p1-r1.ebuild 5416
RMD160 bf795a39a239ed3bb00deed091a4ab1fbe383c81 openssh-4.2_p1-r1.ebuild 5416
SHA256 36869f415923667f3f0d68c708ed0a8b6f65ee8e1a8520630bc8e018c31883c2 openssh-4.2_p1-r1.ebuild 5416
-MD5 0123e9e036a3a2a83d279f4edb18f2bd openssh-4.2_p1.ebuild 5349
-RMD160 845d8635b7065e51097b7b8ca2d3170ab33d3cf0 openssh-4.2_p1.ebuild 5349
-SHA256 27defefc8b7f32748b4cb44b346eeca9497f5c226d95401a2febba663eb0b9b2 openssh-4.2_p1.ebuild 5349
MD5 0b99218db7cc0b6078f40a5a325badac openssh-4.3_p1.ebuild 5229
RMD160 3486ceba7d1e52f89f8b40942fb8c10c8bdc6d88 openssh-4.3_p1.ebuild 5229
SHA256 193a602d8068a27ad7f8ecc5b0cb3c193521c182c682b2c2d657760374a889a5 openssh-4.3_p1.ebuild 5229
MD5 f519f198cb07a3bfe5e668701117ba95 openssh-4.3_p2-r1.ebuild 5477
RMD160 796b6d7e1ccf04417b74b6e2040da2fa3fc2f910 openssh-4.3_p2-r1.ebuild 5477
SHA256 5337d1aed6d478b03a730c328f972698b84f753cd8d966d1bf2a301b2a21116e openssh-4.3_p2-r1.ebuild 5477
-MD5 269c2306d09d8eb07b1ff2e5339dc9c8 openssh-4.3_p2.ebuild 5297
-RMD160 604110f3f589e1d76851a557ffaedcd31a8a51d2 openssh-4.3_p2.ebuild 5297
-SHA256 01f549d0f1a4324b9d873a58a257731b9c463965ea11bea42439420296f52cdd openssh-4.3_p2.ebuild 5297
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFEC2N12+ySkm8kpY0RAtOcAKC/jb2kgrExlIMiVzkkBc9ymrZS4QCfUEMc
-pukwJooBU9dIiw6tYdra8y0=
-=nyN7
+iD8DBQFEC2PA2+ySkm8kpY0RAs8DAJ9Jh1fEk7pMSGJjEnh1TneHzcrsEgCbBDGE
+1d/qZdMM8FTs3yM4qIZ06F0=
+=asIp
-----END PGP SIGNATURE-----
diff --git a/net-misc/openssh/files/digest-openssh-4.2_p1 b/net-misc/openssh/files/digest-openssh-4.2_p1
deleted file mode 100644
index 76dfc949aeeb..000000000000
--- a/net-misc/openssh/files/digest-openssh-4.2_p1
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 6c89525f43b93fb2671af345dd85783b openssh-4.2p1+SecurID_v1.3.2.patch 616248
-RMD160 71edbd3bd63b81d65ca7e755d0d89d631e77bb36 openssh-4.2p1+SecurID_v1.3.2.patch 616248
-SHA256 272429d32e0d5e4188faac605e730d70ee507d10700ab06bf627ef88ae0e3e36 openssh-4.2p1+SecurID_v1.3.2.patch 616248
-MD5 bd234f201844fac2c4c44ffadd396741 openssh-4.2p1+x509-5.3.diff.gz 128507
-RMD160 61b0ee827fd12c7f30fd7abf1d0b93ffafe510e2 openssh-4.2p1+x509-5.3.diff.gz 128507
-SHA256 e5a84e17d5939d1d36a3607eb3107565d81ce19110dba8d2aa7ade6752db30ca openssh-4.2p1+x509-5.3.diff.gz 128507
-MD5 4b8f0befa09f234d6e7f1a5849b86197 openssh-4.2p1-hpn11.diff 14765
-RMD160 c3cd4cbb53094fb1f248a780c3e5a05af2585f88 openssh-4.2p1-hpn11.diff 14765
-SHA256 0819c71dd48805ae0015b1744d9da746a71df4fac11b88cac227e7d9a991e46a openssh-4.2p1-hpn11.diff 14765
-MD5 df899194a340c933944b193477c628fa openssh-4.2p1.tar.gz 914165
-RMD160 e1f45333e66d0afceb9934ab73401b4ca06f03a6 openssh-4.2p1.tar.gz 914165
-SHA256 2a61e84b36958c0af19e4f6f9f3e27f8ed432a5188d654e26602402fd4047f6d openssh-4.2p1.tar.gz 914165
-MD5 b779906d657d63794144cabe2bf978b8 openssh-lpk-4.1p1-0.3.6.patch 60312
-RMD160 489d8be3b66ad5dad4b23fa61b9423be43e891ad openssh-lpk-4.1p1-0.3.6.patch 60312
-SHA256 318d8b70e423c014069157535eecb2c943f42fec4b14d3f6a65350c1edd66540 openssh-lpk-4.1p1-0.3.6.patch 60312
diff --git a/net-misc/openssh/files/digest-openssh-4.3_p2 b/net-misc/openssh/files/digest-openssh-4.3_p2
deleted file mode 100644
index 46d6491e42fd..000000000000
--- a/net-misc/openssh/files/digest-openssh-4.3_p2
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 7dd2a6716b81da33af4ca960185fdd1b openssh-4.3p1-hpn11.diff 11024
-MD5 3611a21a0098c32416d4b8f75232c796 openssh-4.3p2+SecurID_v1.3.2.patch 47650
-MD5 c60e16b0bdf3a825f2a2b501b34cdef4 openssh-4.3p2+x509-5.3.diff.gz 131147
-MD5 7e9880ac20a9b9db0d3fea30a9ff3d46 openssh-4.3p2.tar.gz 941455
-MD5 f01af3895c2399c9fd12bfd8e3119732 openssh-lpk-4.3p1-0.3.7.patch 60597
diff --git a/net-misc/openssh/openssh-4.2_p1.ebuild b/net-misc/openssh/openssh-4.2_p1.ebuild
deleted file mode 100644
index 7bb3f32cdb70..000000000000
--- a/net-misc/openssh/openssh-4.2_p1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-4.2_p1.ebuild,v 1.20 2006/02/04 17:49:30 vapier Exp $
-
-inherit eutils flag-o-matic ccc pam
-
-# Make it more portable between straight releases
-# and _p? releases.
-PARCH=${P/_/}
-
-X509_PATCH="${PARCH}+x509-5.3.diff.gz"
-SECURID_PATCH="${PARCH}+SecurID_v1.3.2.patch"
-LDAP_PATCH="${PARCH/-4.2/-lpk-4.1}-0.3.6.patch"
-HPN_PATCH="${PARCH}-hpn11.diff"
-
-DESCRIPTION="Port of OpenBSD's free SSH release"
-HOMEPAGE="http://www.openssh.com/"
-SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
- ldap? ( http://www.opendarwin.org/en/projects/openssh-lpk/files/${LDAP_PATCH} )
- X509? ( http://roumenpetrov.info/openssh/x509-5.3/${X509_PATCH} )
- hpn? ( http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )
- smartcard? ( http://www.omniti.com/~jesus/projects/${SECURID_PATCH} )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="ipv6 static pam tcpd kerberos skey selinux chroot X509 ldap smartcard sftplogging hpn libedit"
-
-RDEPEND="pam? ( virtual/pam )
- kerberos? ( virtual/krb5 )
- selinux? ( sys-libs/libselinux )
- skey? ( >=app-admin/skey-1.1.5-r1 )
- ldap? ( net-nds/openldap )
- libedit? ( dev-libs/libedit )
- >=dev-libs/openssl-0.9.6d
- >=sys-libs/zlib-1.2.3
- smartcard? ( dev-libs/opensc )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-DEPEND="${RDEPEND}
- virtual/os-headers
- sys-devel/autoconf"
-PROVIDE="virtual/ssh"
-
-S=${WORKDIR}/${PARCH}
-
-src_unpack() {
- unpack ${PARCH}.tar.gz
- cd "${S}"
-
- sed -i \
- -e '/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:/usr/bin/xauth:' \
- pathnames.h || die
-
- epatch "${FILESDIR}"/openssh-4.2_p1-kerberos-detection.patch #80811
- epatch "${FILESDIR}"/openssh-4.2_p1-cross-compile.patch #120567
-
- use X509 && epatch "${DISTDIR}"/${X509_PATCH}
- use sftplogging && epatch "${FILESDIR}"/openssh-4.2_p1-sftplogging-1.4-gentoo.patch.bz2
- use chroot && epatch "${FILESDIR}"/openssh-3.9_p1-chroot.patch
- epatch "${FILESDIR}"/openssh-4.2_p1-selinux.patch
- use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch
- if ! use X509 ; then
- if [[ -n ${SECURID_PATCH} ]] && use smartcard ; then
- epatch "${DISTDIR}"/${SECURID_PATCH}
- use ldap && epatch "${FILESDIR}"/openssh-4.0_p1-smartcard-ldap-happy.patch
- fi
- if use ldap ; then
- use sftplogging \
- && ewarn "Sorry, sftplogging and ldap don't get along, disabling ldap" \
- || epatch "${DISTDIR}"/${LDAP_PATCH}
- fi
- elif [[ -n ${SECURID_PATCH} ]] && use smartcard || use ldap ; then
- ewarn "Sorry, x509 and smartcard/ldap don't get along"
- fi
- [[ -n ${HPN_PATCH} ]] && use hpn && epatch "${DISTDIR}"/${HPN_PATCH}
-
- sed -i '/LD.*ssh-keysign/s:$: '$(bindnow-flags)':' Makefile.in || die "setuid"
-
- autoconf || die "autoconf failed"
-}
-
-src_compile() {
- addwrite /dev/ptmx
- addpredict /etc/skey/skeykeys #skey configure code triggers this
-
- local myconf
- # make sure .sbss is large enough
- use skey && use alpha && append-ldflags -mlarge-data
- if use ldap ; then
- filter-flags -funroll-loops
- myconf="${myconf} --with-ldap"
- fi
- use selinux && append-flags -DWITH_SELINUX && append-ldflags -lselinux
-
- if use static ; then
- append-ldflags -static
- use pam && ewarn "Disabling pam support becuse of static flag"
- myconf="${myconf} --without-pam"
- else
- myconf="${myconf} $(use_with pam)"
- fi
-
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- econf \
- --with-ldflags="${LDFLAGS}" \
- --disable-strip \
- --sysconfdir=/etc/ssh \
- --libexecdir=/usr/$(get_libdir)/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- $(use_with libedit) \
- $(use_with kerberos kerberos5 /usr) \
- $(use_with tcpd tcp-wrappers) \
- $(use_with skey) \
- $(use_with smartcard opensc) \
- ${myconf} \
- || die "bad configure"
-
- emake || die "compile problem"
-}
-
-src_install() {
- make install-nokeys DESTDIR="${D}" || die
- fperms 600 /etc/ssh/sshd_config
- dobin contrib/ssh-copy-id
- newinitd "${FILESDIR}"/sshd.rc6 sshd
- newconfd "${FILESDIR}"/sshd.confd sshd
- keepdir /var/empty
-
- newpamd "${FILESDIR}"/sshd.pam_include sshd
- dosed "/^#Protocol /s:.*:Protocol 2:" /etc/ssh/sshd_config
- use pam \
- && dosed "/^#UsePAM /s:.*:UsePAM yes:" /etc/ssh/sshd_config \
- && dosed "/^#PasswordAuthentication /s:.*:PasswordAuthentication no:" /etc/ssh/sshd_config
-
- doman contrib/ssh-copy-id.1
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
-}
-
-pkg_postinst() {
- enewgroup sshd 22
- enewuser sshd 22 -1 /var/empty sshd
-
- ewarn "Remember to merge your config files in /etc/ssh/ and then"
- ewarn "restart sshd: '/etc/init.d/sshd restart'."
- ewarn
- 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-4.3_p2.ebuild b/net-misc/openssh/openssh-4.3_p2.ebuild
deleted file mode 100644
index 8b350ccd8a6e..000000000000
--- a/net-misc/openssh/openssh-4.3_p2.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-4.3_p2.ebuild,v 1.2 2006/03/05 14:54:55 lcars Exp $
-
-inherit eutils flag-o-matic ccc pam
-
-# Make it more portable between straight releases
-# and _p? releases.
-PARCH=${P/_/}
-
-X509_PATCH="${PARCH}+x509-5.3.diff.gz"
-SECURID_PATCH="${PARCH}+SecurID_v1.3.2.patch"
-LDAP_PATCH="${PARCH/-4.3p2/-lpk-4.3p1}-0.3.7.patch"
-HPN_PATCH="${PARCH/p2/p1}-hpn11.diff"
-
-DESCRIPTION="Port of OpenBSD's free SSH release"
-HOMEPAGE="http://www.openssh.com/"
-SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
- hpn? ( http://www.psc.edu/networking/projects/hpn-ssh/${HPN_PATCH} )
- X509? ( http://roumenpetrov.info/openssh/x509-5.3/${X509_PATCH} )
- smartcard? ( http://www.omniti.com/~jesus/projects/${SECURID_PATCH} )
- ldap? ( http://www.opendarwin.org/en/projects/openssh-lpk/files/${LDAP_PATCH} )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="ipv6 static pam tcpd kerberos skey selinux chroot X509 ldap smartcard sftplogging hpn libedit"
-
-RDEPEND="pam? ( virtual/pam )
- kerberos? ( virtual/krb5 )
- selinux? ( sys-libs/libselinux )
- skey? ( >=app-admin/skey-1.1.5-r1 )
- ldap? ( net-nds/openldap )
- libedit? ( dev-libs/libedit )
- >=dev-libs/openssl-0.9.6d
- >=sys-libs/zlib-1.2.3
- smartcard? ( dev-libs/opensc )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
-DEPEND="${RDEPEND}
- virtual/os-headers
- sys-devel/autoconf"
-PROVIDE="virtual/ssh"
-
-S=${WORKDIR}/${PARCH}
-
-src_unpack() {
- unpack ${PARCH}.tar.gz
- cd "${S}"
-
- sed -i \
- -e '/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:/usr/bin/xauth:' \
- pathnames.h || die
-
- epatch "${FILESDIR}"/openssh-4.3_p1-krb5-typos.patch #124494
- use X509 && epatch "${DISTDIR}"/${X509_PATCH}
- use sftplogging && epatch "${FILESDIR}"/openssh-4.2_p1-sftplogging-1.4-gentoo.patch.bz2
- use chroot && epatch "${FILESDIR}"/openssh-3.9_p1-chroot.patch
- epatch "${FILESDIR}"/openssh-4.2_p1-selinux.patch
- use smartcard && epatch "${FILESDIR}"/openssh-3.9_p1-opensc.patch
- if ! use X509 ; then
- if [[ -n ${SECURID_PATCH} ]] && use smartcard ; then
- epatch "${DISTDIR}"/${SECURID_PATCH}
- use ldap && epatch "${FILESDIR}"/openssh-4.0_p1-smartcard-ldap-happy.patch
- fi
- if use ldap ; then
- use sftplogging \
- && ewarn "Sorry, sftplogging and ldap don't get along, disabling ldap" \
- || epatch "${DISTDIR}"/${LDAP_PATCH}
- fi
- elif [[ -n ${SECURID_PATCH} ]] && use smartcard || use ldap ; then
- ewarn "Sorry, x509 and smartcard/ldap don't get along"
- fi
- [[ -n ${HPN_PATCH} ]] && use hpn && epatch "${DISTDIR}"/${HPN_PATCH}
-
- sed -i '/LD.*ssh-keysign/s:$: '$(bindnow-flags)':' Makefile.in || die "setuid"
-
- autoconf || die "autoconf failed"
-}
-
-src_compile() {
- addwrite /dev/ptmx
- addpredict /etc/skey/skeykeys #skey configure code triggers this
-
- local myconf
- # make sure .sbss is large enough
- use skey && use alpha && append-ldflags -mlarge-data
- if use ldap ; then
- filter-flags -funroll-loops
- myconf="${myconf} --with-ldap"
- fi
- use selinux && append-flags -DWITH_SELINUX && append-ldflags -lselinux
-
- if use static ; then
- append-ldflags -static
- use pam && ewarn "Disabling pam support becuse of static flag"
- myconf="${myconf} --without-pam"
- else
- myconf="${myconf} $(use_with pam)"
- fi
-
- use ipv6 || myconf="${myconf} --with-ipv4-default"
-
- econf \
- --with-ldflags="${LDFLAGS}" \
- --disable-strip \
- --sysconfdir=/etc/ssh \
- --libexecdir=/usr/$(get_libdir)/misc \
- --datadir=/usr/share/openssh \
- --disable-suid-ssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- $(use_with libedit) \
- $(use_with kerberos kerberos5 /usr) \
- $(use_with tcpd tcp-wrappers) \
- $(use_with skey) \
- $(use_with smartcard opensc) \
- ${myconf} \
- || die "bad configure"
-
- emake || die "compile problem"
-}
-
-src_install() {
- make install-nokeys DESTDIR="${D}" || die
- fperms 600 /etc/ssh/sshd_config
- dobin contrib/ssh-copy-id
- newinitd "${FILESDIR}"/sshd.rc6 sshd
- newconfd "${FILESDIR}"/sshd.confd sshd
- keepdir /var/empty
-
- newpamd "${FILESDIR}"/sshd.pam_include sshd
- dosed "/^#Protocol /s:.*:Protocol 2:" /etc/ssh/sshd_config
- use pam \
- && dosed "/^#UsePAM /s:.*:UsePAM yes:" /etc/ssh/sshd_config \
- && dosed "/^#PasswordAuthentication /s:.*:PasswordAuthentication no:" /etc/ssh/sshd_config
-
- doman contrib/ssh-copy-id.1
- dodoc ChangeLog CREDITS OVERVIEW README* TODO sshd_config
-}
-
-pkg_postinst() {
- enewgroup sshd 22
- enewuser sshd 22 -1 /var/empty sshd
-
- ewarn "Remember to merge your config files in /etc/ssh/ and then"
- ewarn "restart sshd: '/etc/init.d/sshd restart'."
- ewarn
- 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
-}