Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 18:53:09 -0800
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Maxim Sobolev <sobomax@freebsd.org>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>, "Conrad E. Meyer" <cem@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r343118 - in head/usr.sbin: . trim
Message-ID:  <201901180253.x0I2r9Jw068957@slippy.cwsent.com>
In-Reply-To: Message from Maxim Sobolev <sobomax@freebsd.org> of "Thu, 17 Jan 2019 14:25:07 -0800." <CAH7qZftZnugWaerpBdjCDapYfwmbm85r4fXQkR0eze02DkcyuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <CAH7qZftZnugWaerpBdjCDapYfwmbm85r4fXQkR0eze02DkcyuQ@mail.gma
il.com>
, Maxim Sobolev writes:
>
> What I think we really need is some way to easily porti-ze useful stuff
> that would otherwise go into /usr/[s]bin, so adding things would be just as
> easy as hooking up SUBDIR into usr.[s]bin/Makefile. Yes, I know, this is
> topic almost as old as the FreeBSD Project itself, but perhaps we just did
> not approach it the right way. It was always the idea that we would just
> move bunch of stuff from src/usr.[s]bin repo into ports/. Which brings
> several important question such as "who is to host the distfile"? "where
> sources hosted", "who is to update the port when changes happen?" etc.

pkgbase might address some of the above. Ports and base might install 
in a homogeneous manner.

>
> Perhaps even by forking the whole ports idea into a smaller closely-guarged
> subset. Something like a new baseports repository, which might have
> structure like baseports/usr.bin/xxx, baseports/usr.sbin/yyy etc. Then add
> some automagic glue to kick in on every commit and transfer this into valid
> ports, which is going to be packaged by the poudriere and such. This way we
> could reduce amount of port-foo average src committer needs in order to
> maintain code. I am almost tempted to sit and write something over the next
> weekend or few of thereofs. Using usr.sbin/trim as an example.

If it's external it should should live in ports and be installed in 
$LOCALBASE. A quasi src repo in ports to install software outside of 
$LOCALBASE doesn't make any sense. ALso see my comment about pkgbase. I 
expect pkgbase to homogenize base and ports into a seamless install.

Alternatively pkgbase and ports could use different package repos. For 
example when I was an MVS sysprog, MVS and JES were installed in one 
repo while CICS and IMS were installed each in their own repos. That 
was site specific but not out of the realm of possibilities here either.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901180253.x0I2r9Jw068957>