Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.9_p1-r4.ebuild,v 1.1 2012/03/15 03:06:21 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.9_p1-r4.ebuild,v 1.1 2012/03/15 03:06:21 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="2" |
6 |
inherit eutils flag-o-matic multilib autotools pam systemd |
6 |
inherit eutils flag-o-matic multilib autotools pam systemd versionator |
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 149-159
Link Here
|
149 |
} |
149 |
} |
150 |
|
150 |
|
151 |
src_configure() { |
151 |
src_configure() { |
|
|
152 |
local myconf |
152 |
addwrite /dev/ptmx |
153 |
addwrite /dev/ptmx |
153 |
addpredict /etc/skey/skeykeys #skey configure code triggers this |
154 |
addpredict /etc/skey/skeykeys #skey configure code triggers this |
154 |
|
155 |
|
155 |
use static && append-ldflags -static |
156 |
use static && append-ldflags -static |
156 |
|
157 |
|
|
|
158 |
# Special settings for Gentoo/FreeBSD 9.0 or later (see bug #391011) |
159 |
if use elibc_FreeBSD && version_is_at_least 9.0 "$(uname -r|sed 's/\(.\..\).*/\1/')" ; then |
160 |
myconf="${myconf} --disable-utmp --disable-wtmp --disable-wtmpx" |
161 |
append-ldflags -lutil |
162 |
fi |
163 |
|
157 |
econf \ |
164 |
econf \ |
158 |
--with-ldflags="${LDFLAGS}" \ |
165 |
--with-ldflags="${LDFLAGS}" \ |
159 |
--disable-strip \ |
166 |
--disable-strip \ |
Lines 170-176
Link Here
|
170 |
$(use_with libedit) \ |
177 |
$(use_with libedit) \ |
171 |
$(use_with selinux) \ |
178 |
$(use_with selinux) \ |
172 |
$(use_with skey) \ |
179 |
$(use_with skey) \ |
173 |
$(use_with tcpd tcp-wrappers) |
180 |
$(use_with tcpd tcp-wrappers) \ |
|
|
181 |
${myconf} |
174 |
} |
182 |
} |
175 |
|
183 |
|
176 |
src_install() { |
184 |
src_install() { |