svn commit: r343118 - in head/usr.sbin: . trim

Cy Schubert Cy.Schubert at cschubert.com
Fri Jan 18 02:53:15 UTC 2019


In message <CAH7qZftZnugWaerpBdjCDapYfwmbm85r4fXQkR0eze02DkcyuQ at 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 at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

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




More information about the svn-src-all mailing list