[companion-discuss] Code Review Request: Update of GNU sed package
Steve Christensen
steve at smc.vnet.net
Sat Feb 24 00:32:28 PST 2007
Paul -
Here is the reason for the sed vs. gsed in /opt/sfw/bin.
Sed 4.1.5 will not build with /usr/bin/sed, it needs the
GNU version of sed, called sed, not gsed, in its PATH, in this case in
/opt/sfw/bin. If you just put gsed in /opt/sfw/bin, the configure
will not use it. There are two choices. Either patch the configure
to make it also look for gsed, or much more easily, put GNU sed, as sed,
in /opt/sfw/bin. So, I have removed the gsed creating part from the
Makefile.sfw and made sure a version of GNU sed is in /opt/sfw/bin. This
works and if a package for sed 4.1.5 is installed in the future, sed
should build with non of these issues.
I have modified the install-sfw to copy sed to gsed also in
/opt/sfw/bin. Users can keep both sed and gsed there if they like or
remove one or the other.
I have fixed the (c) issues you mention also.
The new webrev is up at
http://companion.sunfreeware.com/downloads/sedwebrev/
as before.
Thanks,
Steve C.
Paul Cunningham wrote:
> Steve,
>
> Initial comment ...
>
> why have you removed the 'g' prefix from the installed file name,
> ie. /opt/sfw/bin/gsed has become /opt/sfw/bin/sed ?
> As a minimum shouldn't it have a link so the old binary name is still
> there ? gsed -> sed
>
> Paul
>
> Steve Christensen wrote:
>> This is a request for a code review for the update of the GNU sed
>> package from version 3.02 to latest version 4.1.5.
>>
>> The webrev is at
>>
>> http://companion.sunfreeware.com/downloads/sedwebrev/
>>
>> The upgrade was straightforward and builds cleanly with no protocmp
>> errors in a nightly build in Nevada 56 on SPARC and x86. A version of
>> the GNU sed program (named sed, not gsed) does need to be in
>> /opt/sfw/bin before a build is done or configure will produce errors.
>>
>> Steve Christensen
>> --
>> This messages posted from opensolaris.org
>> _______________________________________________
>> companion-discuss mailing list
>> companion-discuss at opensolaris.org
>> http://opensolaris.org/mailman/listinfo/companion-discuss
>>
>
More information about the companion-discuss
mailing list