removing old linux ports

René Ladan rene at freebsd.org
Tue Mar 5 21:41:18 UTC 2013


On 03/05/13 21:21, Alexander Leidinger wrote:
> On Mon, 04 Mar 2013 21:57:08 +0100
> René Ladan <rene at freebsd.org> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 03/04/13 21:42, Alexander Leidinger wrote:
>>> On Mon, 04 Mar 2013 15:11:24 +0100 Ren← Ladan <r.c.ladan at gmail.com>
>>> wrote:
>>>
>>>> On 03/04/13 13:36, Ren← Ladan wrote:
>>>>> Hi,
>>>>>
>>>>> since FreeBSD 7.X has reached its end of life, I plan to remove
>>>>> the expired Linux ports for the old Linuxolator (depending on
>>>>> INDEX build results) after an official annoucement that 7.X has
>>>>> expired has been sent.  From 
>>>>> http://beta.freshports.org/ports-expired.php?sort=expiration_date
>>>>> :
>>>>>
>>>> [snip ports]
>>>>> - office@ textproc/linux-aspell
>>>> [snip more ports]
>>> I just took a quick look at the list, but wasn't able to identify 
>>> something urgently needed (at least for the infrastructure ports 
>>> maintained by emulation@). In general: just look at the expiration
>>> part of the fc4 port (really inside the Makefile) and compare it
>>> with all the ports which you want to remove (at least for the ports
>>> maintained by emulation@), if it matches you can remove.
>>>
>> Thanks.  As expected:
>> % make -C /usr/ports/head/emulators/linux_base-fc4/ -V EXPIRATION_DATE
>> 2013-02-28
> Please look inside the makefile, not at the content of a variable.
> There is a comment: # EXPIRATION_DATE is the EoL of the last 7.x release
> This is what I was referring to.
Ah, now I get it. In this case it boils down to the same value though ;)
>>  >> Removing textproc/linux-aspell resulted in a broken portsnap
>>  >> build,
>>>> which might mean it is still building for 7.X.  I'll also write
>>>> a patch to remove 7.X support from bsd.linux-apps.mk and 
>>>> bsd.linux-rpm.mk.
>> I have re-added textproc/linux-aspell for now.
>>
>>> It would be nice if the patches results in a nice explanation for
>>> the user trying to use some linux stuff on 7.x.
>>>
>> Uhm, like upgrading to 8.X ? (Sorry, no idea what else...)
> "The ports collection does not support linux ports on your FreeBSD
> version anymore, please update to a supported version (see
> http://www.FreeBSD.org/releases/)."
I could propose to add such a message to bsd.port.mk as you suggested
elsewhere.
I indeed didn't think to hard of the poor user.
>> I have attached some *untested* patches for Mk/ , feel free to
>> comment. As one is for bsd.port.mk, they must go through portmgr.
> bsd.linux-apps.mk looks ok.
> bsd.linux-rpm.mk: the indent of the if/else is wrong now. For
> representing what you want to do the patch looks OK, but the real
> commit should fix the indent (up to portmgr if in one commit or two).
> bsd.port.mk looks ok.
OK, I'll look at the indentation.

Regards,
Rene


More information about the freebsd-emulation mailing list