[cfr] patch to clean up old Linux ports

René Ladan rene at freebsd.org
Sat Mar 9 21:08:11 UTC 2013


On 09-03-2013 12:16, Alexander Leidinger wrote:
> On Fri, 08 Mar 2013 17:04:20 +0100
> René Ladan <rene at freebsd.org> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> I have made a patch to clean up the old Linux ports (those that
>> expired together with FreeBSD 7) at [1]
>>
>> Besides removing expired ports, it:
>> - - de-orbits support for Linux 2.4.2 (is that still available in the
>> kernel?)
> Yes, we can still switch to 2.4.2-emulation in the kernel.
Time to de-orbit that too?
>> [Mk/bsd.linux-apps.mk]
>> - - removes the test to see 'if components from USE_LINUX_APPS exist
>> at _LINUX_26_APPS fro LINUX_DIST_SUFFIX:="" ' (LINUX_DIST_SUFFIX
>> should always be -f10 now)
>> - - removes _FILE definitions for the Fedora Core 4 cases
> Looks OK.
>
>> [bsd.linux-rpm.mk]
>> - - removes a test for OSVERSION < 800076 from bsd.linux-rpm.mk
>> - - default to f10 instead of fc4 (for USE_LINUX=yes)
> Looks OK.
>
>> [bsd.port.mk]
>> - - use graphics/linux-dri74 instead of graphics/linux_dri for
>> _GL_linux_RUN_DEPENDS
> Looks OK.
>
>> [emulators/linux_base-c6]
>> - - remove the unsupported Linux 2.4.2 case
>> - - new Makefile header
>> - - portlint fixes
> I think the "-p" for makedir was placed there on purpose... can't
> remember what the error-case was which triggered this.
If you remember, could you write it down in the Makefile? The -p flag is
the default for ${MKDIR} (see Mk/bsd.commands.mk)
>> [emulators/linux_base-f10]
>> - - remove the unsupported Linux 2.4.2 case
>> - - new Makefile header
>> - - portlint fixes
> Same comment as for c6.
>
>> [emulators/linux_dist-gentoo-stage3 (BROKEN)]
>> - - remove the unsupported Linux 2.4.2 case
>> - - new Makefile header
>> - - portlint fixes
> Looks OK.
>
>> [net-im/linux-ymessenger]
>> - - properly use USE_LINUX=yes and USE_LINUX_APPS instead of manually
>> setting RUN_DEPENDS and STRIP
>> - - new Makefile header
> Did you make a test-install/deinstall to make sure there are no
> sideeffects?
INDEX-9, 'port test', and a sample run (up to the license screen) all go
fine.
>
>> It does not yet:
>> - - correct indentation in Mk/* (this can be done later, but it would
>> obscure the intention of this patch)
>> - - provide a message for users to upgrade to FreeBSD 8+ (no real
>> consensus yet?)
> The EoL announcement made it clear that ports need to be marked broken
> if they don't work on 7, so it means the generic ports framework has no
> hard "doesn't work" (yet). As such I would like to see a message for
> people on 7 which tells that the linux ports don't work anymore
> (seems they are the first ports which "make use of the EoL").
>
> Bye,
> Alexander.
>



More information about the freebsd-emulation mailing list