Wednesday, March 03, 2021

Re: Unplug all hs-* ports for removal

On 2021/03/02 20:38, Greg Steuck wrote:
> OK?
>
> From 031382ca1f95499e8d4e9b08cd51396197e048dc Mon Sep 17 00:00:00 2001
> From: Greg Steuck <greg@lenny.nest.cx>
> Date: Tue, 2 Mar 2021 20:30:58 -0800
> Subject: [PATCH] Unplug all hs-* ports for removal
>
> Validated to be reasonable by building devel/sqlports. I take the
> success of sqlport rebuild as evidence that no dependency edges are
> left hanging.

I don't think sqlports cares that a port is unhooked when calculating
dependencies, if the directory exists it can enter it.

> I ran this query to confirm no hs- ports are left:
>
> % sqlite3 /usr/local/share/sqlports
> sqlite3 /usr/local/share/sqlports
> SQLite version 3.34.1 2021-01-20 14:10:07
> Enter ".help" for usage hints.
> sqlite> SELECT FULLPKGNAME,COMMENT FROM Ports WHERE FULLPKGNAME LIKE 'hs%';
> SELECT FULLPKGNAME,COMMENT FROM Ports WHERE FULLPKGNAME LIKE 'hs%';

Can you check this?

select distinct fullpkgpath from depends where dependspath like "%/hs%"

No comments:

Post a Comment