Index | Thread | Search

From:
Lucas Raab <tuftedocelot@fastmail.fm>
Subject:
libreddit -> redlib transition?
To:
ports@openbsd.org
Date:
Sat, 24 Feb 2024 13:45:02 +0000

Download raw body.

Thread
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.

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