ghostbsd / software-properties-station

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Software Properties Station: .conf files at /usr/local/etc/pkg/repos/ #7

Open grahamperrin opened 5 days ago

grahamperrin commented 5 days ago

Maybe out of scope, I ran the app on FreeBSD, with this result:

image

One of the two listings is a symbolic link. This peculiarity is my way of avoiding the vagueness of the FreeBSD name for a repo that does not update FreeBSD:

% file /etc/pkg/FreeBSD-ports.conf 
/etc/pkg/FreeBSD-ports.conf: symbolic link to /etc/pkg/FreeBSD.conf
% 

More significant, perhaps, is the /usr/local/etc/pkg/repos/ path. I don't know whether GhostBSD will ever use this path, but (on FreeBSD) changes to /etc/pkg/ are discouraged.

In my case:

% ls -hln /usr/local/etc/pkg/repos
total 1
-rw-r--r--  1 0 0  145B 26 Jul 12:19 aninstaller.conf
-rw-r--r--  1 0 0  185B 20 Oct 00:45 FreeBSD-base.conf
-rw-r--r--  1 0 0  275B 25 Aug 12:28 FreeBSD-ports.conf
-rw-r--r--  1 0 0  144B 10 Jul 05:47 poudriere.conf
% 

– and:

% pkg repositories -l
pkg: unknown command: repositories

For more information on available commands and options see 'pkg help'.
% pkg -vv | grep -B 1 -e url -e priority
  FreeBSD-ports: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 2,
--
  FreeBSD-base: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest",
    enabled         : yes,
    priority        : 0,
--
  aninstaller: { 
    url             : "file:////media/aninstaller/packages/FreeBSD:14:amd64",
    enabled         : no,
    priority        : 0
--
  local-poudriere: { 
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    priority        : 3
% 

Side note:

ericbsd commented 4 days ago

I am unsure if the tool is fully functional, but we will look at it.