Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Warner Losh
On Wed, Jan 22, 2025 at 1:23 AM Dave Cottlehuber wrote: > On Tue, 21 Jan 2025, at 21:29, Warner Losh wrote: > >> Do you mean have the "install src" checkbox invoke git clone? > >> That seems like a better idea, at least to me. > > This wouldn't be ideal for small systems or any area with lousy >

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Gleb Smirnoff
On Wed, Jan 22, 2025 at 09:30:09AM -0700, Warner Losh wrote: W> I think what you want is W> W> % git clone https://github.com/freebsd/freebsd-src --depth=1 -b releng/14.2 W> --single-branch fred --bare W> % cd fred W> % mkdir .git W> % mv * .git W> % git config --local core.bare false W> W> This

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Florian Walpen
Gleb, On Tuesday, January 21, 2025 9:09:43 PM CET Gleb Smirnoff wrote: > I have same observations: /usr/src and /usr/ports as is is an atavism. > > I have already once tried this statement at a smaller audience - a > Russian-speaking telegram channel. One meaningful feedback I got > is that peop

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Tomek CEDRO
On Wed, Jan 22, 2025 at 5:49 PM Gleb Smirnoff wrote: > On Wed, Jan 22, 2025 at 09:30:09AM -0700, Warner Losh wrote: > W> I think what you want is > W> > W> % git clone https://github.com/freebsd/freebsd-src --depth=1 -b releng/14.2 > W> --single-branch fred --bare > W> % cd fred > W> % mkdir .git

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Warner Losh
On Wed, Jan 22, 2025, 2:11 PM Tomek CEDRO wrote: > On Wed, Jan 22, 2025 at 5:49 PM Gleb Smirnoff wrote: > > On Wed, Jan 22, 2025 at 09:30:09AM -0700, Warner Losh wrote: > > W> I think what you want is > > W> > > W> % git clone https://github.com/freebsd/freebsd-src --depth=1 -b > releng/14.2 > >

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Tomoaki AOKI
On Thu, 23 Jan 2025 07:40:50 +0900 Tomoaki AOKI wrote: > On Wed, 22 Jan 2025 14:31:56 -0700 > Warner Losh wrote: > > > On Wed, Jan 22, 2025, 2:11 PM Tomek CEDRO wrote: > > > > > On Wed, Jan 22, 2025 at 5:49 PM Gleb Smirnoff wrote: > > > > On Wed, Jan 22, 2025 at 09:30:09AM -0700, Warner Losh

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Warner Losh
On Wed, Jan 22, 2025 at 3:41 PM Tomoaki AOKI wrote: > On Wed, 22 Jan 2025 14:31:56 -0700 > Warner Losh wrote: > > > On Wed, Jan 22, 2025, 2:11 PM Tomek CEDRO wrote: > > > > > On Wed, Jan 22, 2025 at 5:49 PM Gleb Smirnoff > wrote: > > > > On Wed, Jan 22, 2025 at 09:30:09AM -0700, Warner Losh wr

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Tomoaki AOKI
On Wed, 22 Jan 2025 15:46:17 -0700 Warner Losh wrote: > On Wed, Jan 22, 2025 at 3:41 PM Tomoaki AOKI > wrote: > > > On Wed, 22 Jan 2025 14:31:56 -0700 > > Warner Losh wrote: > > > > > On Wed, Jan 22, 2025, 2:11 PM Tomek CEDRO wrote: > > > > > > > On Wed, Jan 22, 2025 at 5:49 PM Gleb Smirnoff

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Gleb Smirnoff
Florian, On Thu, Jan 23, 2025 at 01:03:14AM +0100, Florian Walpen wrote: F> > I have already once tried this statement at a smaller audience - a F> > Russian-speaking telegram channel. One meaningful feedback I got F> > is that people may occasionally build stuff from ports and also F> > some

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Florian Walpen
Gleb, On Thursday, January 23, 2025 2:50:02 AM CET Gleb Smirnoff wrote: > I can't understand why would you need to rebuild anything if you are > running RELEASE and packages? If that ever happened, this is definitely > fault of either someone's merge to stable, or maintainers of drm-kmod. > But th

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Steffen Nurpmeso
Tomoaki AOKI wrote in <20250123074932.170b7959bca443a934599...@dec.sakura.ne.jp>: |On Thu, 23 Jan 2025 07:40:50 +0900 |Tomoaki AOKI wrote: |> On Wed, 22 Jan 2025 14:31:56 -0700 |> Warner Losh wrote: |>> On Wed, Jan 22, 2025, 2:11 PM Tomek CEDRO wrote: |>>> On Wed, Jan 22, 2025 at 5:49 PM

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Daniel Kalchev
> На 23.01.2025 г., в 5:38, Florian Walpen написа: > > The remedy is clearly to build kernel module packages for every minor release, > and there has been an attempt to do this recently, through a separate pkg repo > I think. Either that, or do the kernel module compilation locally. For this y

Re: Playing around with security hardening compiler flags

2025-01-22 Thread Alexander Leidinger
Am 2024-11-17 19:28, schrieb Dimitry Andric: Last but not least, -fstack-clash-protection might be useful, but I think it might need some additional runtime support? E.g. in libc? What I found so far is that the kernel needs to have support for stack guard pages (which we have). https://rev

Re: /usr/src and /usr/ports not git directories ?

2025-01-22 Thread Dave Cottlehuber
On Tue, 21 Jan 2025, at 21:29, Warner Losh wrote: >> Do you mean have the "install src" checkbox invoke git clone? >> That seems like a better idea, at least to me. This wouldn't be ideal for small systems or any area with lousy internet. > I think we should replace the populate /usr/src from a