Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 703016
Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +4 lines)
Line  Link Here
0
-- net-misc/openssh/openssh-8.1_p1-r1.ebuild
0
++ net-misc/openssh/openssh-8.1_p1-r1.ebuild
Lines 3-9 Link Here
3
3
4
EAPI=7
4
EAPI=7
5
5
6
inherit user flag-o-matic multilib autotools pam systemd
6
inherit flag-o-matic multilib autotools pam systemd
7
7
8
# Make it more portable between straight releases
8
# Make it more portable between straight releases
9
# and _p? releases.
9
# and _p? releases.
Lines 76-82 Link Here
76
RDEPEND="${RDEPEND}
76
RDEPEND="${RDEPEND}
77
	pam? ( >=sys-auth/pambase-20081028 )
77
	pam? ( >=sys-auth/pambase-20081028 )
78
	userland_GNU? ( virtual/shadow )
78
	userland_GNU? ( virtual/shadow )
79
	X? ( x11-apps/xauth )"
79
	X? ( x11-apps/xauth )
80
	acct-user/sshd"
80
BDEPEND="
81
BDEPEND="
81
	virtual/pkgconfig
82
	virtual/pkgconfig
82
	sys-devel/autoconf"
83
	sys-devel/autoconf"
Lines 400-416 Link Here
400
	diropts -m 0700
401
	diropts -m 0700
401
	dodir /etc/skel/.ssh
402
	dodir /etc/skel/.ssh
402
403
403
	keepdir /var/empty
404
405
	systemd_dounit "${FILESDIR}"/sshd.{service,socket}
404
	systemd_dounit "${FILESDIR}"/sshd.{service,socket}
406
	systemd_newunit "${FILESDIR}"/sshd_at.service 'sshd@.service'
405
	systemd_newunit "${FILESDIR}"/sshd_at.service 'sshd@.service'
407
}
406
}
408
407
409
pkg_preinst() {
410
	enewgroup sshd 22
411
	enewuser sshd 22 -1 /var/empty sshd
412
}
413
414
pkg_postinst() {
408
pkg_postinst() {
415
	if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
409
	if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
416
		elog "Starting with openssh-5.8p1, the server will default to a newer key"
410
		elog "Starting with openssh-5.8p1, the server will default to a newer key"

Return to bug 703016