Lines 169-174
Link Here
|
169 |
) > version.h |
169 |
) > version.h |
170 |
|
170 |
|
171 |
eautoreconf |
171 |
eautoreconf |
|
|
172 |
|
173 |
# don't use /var/run on linux |
174 |
local initd=sshd.rc6.4 |
175 |
|
176 |
if use kernel_linux; then |
177 |
sed 's:/var/run:/run:' "${initd}" > "${T}"/sshd.initd || die "sed of initd failed" |
178 |
else |
179 |
cp -f "${initd}" "${T}"/sshd.initd || die "failed to copy initd file" |
180 |
fi |
172 |
} |
181 |
} |
173 |
|
182 |
|
174 |
src_configure() { |
183 |
src_configure() { |
Lines 218-224
Link Here
|
218 |
emake install-nokeys DESTDIR="${D}" |
227 |
emake install-nokeys DESTDIR="${D}" |
219 |
fperms 600 /etc/ssh/sshd_config |
228 |
fperms 600 /etc/ssh/sshd_config |
220 |
dobin contrib/ssh-copy-id |
229 |
dobin contrib/ssh-copy-id |
221 |
newinitd "${FILESDIR}"/sshd.rc6.4 sshd |
230 |
newinitd "${T}"/sshd.initd sshd |
222 |
newconfd "${FILESDIR}"/sshd.confd sshd |
231 |
newconfd "${FILESDIR}"/sshd.confd sshd |
223 |
keepdir /var/empty |
232 |
keepdir /var/empty |
224 |
|
233 |
|