Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#3250 closed task (fixed)

Openssh-5.8p2 requires a minor change to the sed script that modifies configure

Reported by: Jeremy Henty Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: minor Keywords: openssh
Cc:

Description

Openssh-5.8p2 builds on my LFS-6.5 system, but the sed command "sed -i.bak 's/ -ldes' configure" mangles some of the configure output:

$ diff configure{.bak,} 28156,28157c28156,28157 < { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 < echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } ---

{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in" >&5

echo $ECHO_N "checking for des_cbc_encrypt in... $ECHO_C" >&6; }

28218c28218 < K5LIBS="$K5LIBS -ldes" ---

K5LIBS="$K5LIBS"

I suggest changing the sed command to "sed -i.bak '/K5LIBS=/s/ -ldes' configure", which alters only the intended lines:

$ diff configure{.bak,} diff configure{.bak,} 28218c28218 < K5LIBS="$K5LIBS -ldes" ---

K5LIBS="$K5LIBS"

Change History (5)

by Jeremy Henty, 14 years ago

Attachment: diff_0.txt added

Diff of the change after the original sed script

by Jeremy Henty, 14 years ago

Attachment: diff_1.txt added

Diff of the change after the modified sed script

in reply to:  description comment:1 by Jeremy Henty, 14 years ago

Replying to jeremy_henty:

Wiki formatting mangled the diff output so I have attached files with the diff outputs.

comment:2 by bdubbs@…, 13 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 8903.

comment:3 by bdubbs@…, 11 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.