Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: libreddit -> redlib transition?
To:
Lucas Raab <tuftedocelot@fastmail.fm>
Cc:
ports@openbsd.org
Date:
Wed, 28 Feb 2024 10:38:25 +0000

Download raw body.

Thread
On 2024/02/24 13:45, Lucas Raab wrote:
> Hello,
> 
> libreddit has been more or less abandoned after the API debacle and work
> has been shifted to a new fork named redlib.
> 
> libreddit has its own user which seems to make this a bit tricky. I'm
> not sure what is best between updating in place with a different package
> name or rm libreddit and add redlib. The latter seems the most
> straightforward, but any feedback would be appreciated. In that vein,
> I've attached a new port and added diffs for user.list and quirks.
> 
> In any event, helpfully pointed out by tb@, this update would remove
> another dependent of rust-ring.

I really would like to avoid burning another uid just for this. Nobody
can agree on another range to move into, we absolutely can't bump into
1000, and some people work backwards from 1000 for special users so
we're probably already going to get into trouble at 990 or maybe a bit
less.

Can it stay as user "_libreddit"?

> tested on amd64
> 
> Thoughts?
> 
> Thanks,
> Lucas

> diff /usr/ports
> commit - ce957624eb33e999eae6e2e4bf0583c4d69b9efc
> path + /usr/ports
> blob - 65d9d4225a78195c4f06502c359118f0dffbfed9
> file + devel/quirks/files/Quirks.pm
> --- devel/quirks/files/Quirks.pm
> +++ devel/quirks/files/Quirks.pm
> @@ -809,6 +809,7 @@ my $stem_extensions = {
>  	'py-analyzemft' => 'py3-analyzemft',
>  	'llama' => 'walk',
>  	'py-setuptools-git' => 'py3-setuptools-git',
> +	'libreddit' => 'redlib',
>  };
>  
>  my $obsolete_reason = {};

> diff /usr/ports
> commit - ce957624eb33e999eae6e2e4bf0583c4d69b9efc
> path + /usr/ports
> blob - b42938f202aa5f3563a1fbbd9b4e89d5e7a3d49a
> file + infrastructure/db/user.list
> --- infrastructure/db/user.list
> +++ infrastructure/db/user.list
> @@ -60,7 +60,7 @@ id  user		group		port
>  549 _netplan		_netplan	misc/plan
>  550 _nagios		_nagios		net/nagios
>  551 _gpsd				misc/gpsd
> -552 _libreddit		_libreddit	www/libreddit
> +#552 _libreddit		_libreddit	www/libreddit
>  553 _saned		_saned		graphics/sane-backends
>  554 _avenger				mail/avenger
>  #555			_akpop3d	mail/akpop3d
> @@ -405,3 +405,4 @@ id  user		group		port
>  894 _gonic		_gonic		audio/gonic
>  895 _soju		_soju		net/soju
>  896 _certspotter	_certspotter	security/certspotter
> +897 _redlib		_redlib		www/redlib