FiLiS, to FreeBSD
@FiLiS@mastodon.social avatar

'ing a ~10GB package directory /usr/local/poudriere/data/packages/foo elsewhere gets me a ~130GB target directory? What am I missing?
compression is turned on for both and compressratio is not really great, so that's not it. Using rsync -a, so nothing really special

kzimmermann, to FreeBSD
@kzimmermann@fosstodon.org avatar

% freebsd-version -ku
14.0-RELEASE
14.0-RELEASE
% uname -rms
FreeBSD 14.0-RELEASE arm64

Hello, 14 :freebsd:

Update was smooth, if a little time-consuming on the Pi, and everything seems to be working correctly, which is awesome! Let's do more testing and find out :)

kzimmermann,
@kzimmermann@fosstodon.org avatar

@kta well pointed! So that's why seems to be such a popular topic in discussions. I guess I don't have the same scope as an enterprise environment to me to do, but it's interesting to know. Perhaps I'll play a little more with building things from source using the ports sometime in the future, but for now usually pkg works for me :) thanks for the pointers!

dwarmstrong, to FreeBSD
@dwarmstrong@fosstodon.org avatar

Day 3-30

Learn about the distinction between (binary) packages and (source) ports. Installed a few extra console applications courtesy of the pkg package manager. Apparently you are not supposed to mix using packages and ports on the same system? I'll dig into that a bit deeper when the issue arises where I want to compile something from the ports tree.
https://docs.freebsd.org/en/books/handbook/ports/

#30DaysOfFreeBSD #FreeBSD

grahamperrin,
@grahamperrin@bsd.cafe avatar

@thindil @dwarmstrong

An answer to Daniel's question should have been in the rewrite of frequently asked questions.

<https://docs.freebsd.org/en/books/faq/>

I use poudriere,

<https://old.reddit.com/r/freebsd/comments/vab4yt/getting_started_with_poudriere_with_latest/>

Note to self: update for 14.0-RELEASE, and review the pkg+http stuff.

#FAQ #FreeBSD #ports #packages #pkg #latest #quarterly #poudriere

nixCraft, (edited ) to linux
@nixCraft@mastodon.social avatar

Poll: How frequently do you apply security patches and software updates to your , , or server or desktop? Please boost for reach. TIA. 🙏

zirias,
@zirias@techhub.social avatar

@nixCraft user on both desktop and server (incl. firewall) as well as maintainer here:

My answer (ASAP) is an approximation.

For the base system, I read the published ASAP. I decide whether I'm affected, and how exposed my different machines are. If necessary, I rebuild base from source and update all machines needing the update ASAP.

For ports, I try to keep an eye on "exposed services" (like e.g. my MTA) for servers and at least browsers for desktops. Actually installing an update can take two or three days because I'm building my own package repository using .

ramin_hal9001, to FreeBSD
@ramin_hal9001@emacs.ch avatar

WTF? You can use on now?!?!

It's the sysutils/nix package... er, "port" or whatever. This could be awesome, because I would be able to have reproducible builds an an operating system that provides support, which on is possible but still a bit experimental. And also you can make use of "jails" or "zones" as app containers, which on is not possible at all. (And no Docker doesn't even come close to providing the isolation and security features that BSD jails provides.)

But still, so many questions...

  • so when you install stuff using Nix, does it still build it using the Clang compiler that FreeBSD uses for the rest of it's stuff? Or does it force you to use the from Nix Packages?
  • Is there an easy way to configure which compiler you want to use for building all of your stuff?
  • Or (and I hope this is not the case, but) does it make use of some kind of BSD comparability layer for Linux kind of like what WSL2 does on Windows? I wouldn't think so, but it is possible that this is how it works.
  • Is it possible to build Nix packages into BSD jail? I know Nix provides support for creating Docker containers, but is there support for jails?
  • Is there a Nix expression that can construct a Nix derivation from a BSD "port" itself? I would assume so, but then, not necessarily.
zirias,
@zirias@techhub.social avatar

@ramin_hal9001 This commit history doesn't look promising. First the original maintainer abandoned it, later someone else marked it broken.

But talking about reproducible builds, you get that with (enabling a few options that avoid surpising sources of inconsistencies) and the tree as well. Poudriere builds every package in a clean that only gets the named dependencies installed. Official packages are built that way.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • modclub
  • magazineikmin
  • Youngstown
  • osvaldo12
  • rosin
  • slotface
  • khanakhh
  • mdbf
  • GTA5RPClips
  • provamag3
  • tacticalgear
  • InstantRegret
  • cubers
  • tester
  • ethstaker
  • everett
  • Durango
  • cisconetworking
  • normalnudes
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines