GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:36:40 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot

    porting obsd userland code to run under linux & musl libc...

    * 731c3aa usr.bin/mail: dont use uid_from_user()
    * a37d400 usr.bin/mail: fix yet another implicit use of time.h
    * 7351d56 usr.bin/mail: use ifdef for ALTWERASE
    * 40f5e5e usr.bin/mail: fix another implicit use of time.h
    * f68a55e usr.bin/mail: fix implicit use of <sys/file.h>
    * f07cade usr.bin/mail: fix implicit use of time.h
    * db80de8 usr.bin/mail: import new code from OBSD 7.2
    * 9afee35 usr.bin/indent: import new version via OBSD 7.2

    In conversation Monday, 13-Mar-2023 21:36:40 JST from mas.to permalink
    • Embed this notice
      Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:36:34 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot
      in reply to
      • Paul Marques Mota

      @P Yeah but I like the openbsd code. It's tried and tested, and very efficient.

      I just prefer C to Rust.

      In conversation Monday, 13-Mar-2023 21:36:34 JST permalink
      clacke likes this.
    • Embed this notice
      Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:36:39 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot
      in reply to

      i've had lots of false starts with this but this time i'm confident i'll succeed

      no idea when i'll have something ready though. i'm fixing/updating lobase and bringing that up to date. see:

      https://github.com/Duncaen/lobase

      this does most of what i want, but it's 5 years outdated. i've forked it and i'm gradually importing newer code from modern openbsd

      i want this for linux distros that use busybox, so that they can... not use busybox, because busybox *sucks*

      In conversation Monday, 13-Mar-2023 21:36:39 JST permalink
    • Embed this notice
      Paul Marques Mota (p@masto.pt)'s status on Monday, 13-Mar-2023 21:36:39 JST Paul Marques Mota Paul Marques Mota
      in reply to

      @libreleah hi. Have you looked at the rust port of the coreutils? It's got a much better bus factor.
      https://github.com/uutils/coreutils

      In conversation Monday, 13-Mar-2023 21:36:39 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - uutils/coreutils: Cross-platform Rust rewrite of the GNU coreutils
        Cross-platform Rust rewrite of the GNU coreutils. Contribute to uutils/coreutils development by creating an account on GitHub.
    • Embed this notice
      Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:37:11 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot
      in reply to
      • Stewart X Addison

      @sxa Well, the same problem exists on BSD userlands aswell. For example, FreeBSD's csh and OpenBSD's ksh both provide non-POSIX extensions, as do many of their utilities.

      I'm going to maintain an as-is version of these utils, merely ported to compile and run properly, but then maintain a branch in parallel that removes non-POSIX features, bringing feature parity with busybox.

      What I want is a single-binary setup like busybox, but with openbsd code in it.

      In conversation Monday, 13-Mar-2023 21:37:11 JST permalink
      clacke likes this.
    • Embed this notice
      Stewart X Addison (sxa@fosstodon.org)'s status on Monday, 13-Mar-2023 21:37:14 JST Stewart X Addison Stewart X Addison
      in reply to

      @libreleah I can definitely see a use for this in helping Linux users make their scripts more portable too. Lots of people will write for GNU/Linux and then hit problems moving code to other other UNIX-based OSs because they only run Linux locally...

      In conversation Monday, 13-Mar-2023 21:37:14 JST permalink
      clacke repeated this.
    • Embed this notice
      Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:38:07 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot
      in reply to
      • Daniel Barlow

      @dan the code quality in busybox is awful. it seems small, but a lot of it is calling a bunch of libraries too, and the style is just quite cumbersome, overall it's about the same code size as equivalent openbsd code with non-posix features removed to match busybox functionality

      openbsd code style is very clean, it almost feels like you're reading a book

      compliance/liability issues with busybox code due to GPL license (and from what i've gleaned, conflicting GPL 2/3 licensing depending on use)

      In conversation Monday, 13-Mar-2023 21:38:07 JST permalink
      clacke likes this.
    • Embed this notice
      Daniel Barlow (dan@brvt.telent.net)'s status on Monday, 13-Mar-2023 21:38:09 JST Daniel Barlow Daniel Barlow
      in reply to
      @libreleah I'd be curious to hear more about "busybox sucks" if you have the time. I've not dug into it too deeply, my first impressions are (1) that it pays a heavy maintenance cost for being a multicall binary and (2) it's probably carrying code that was last relevant in about 1996. Will be following your project with interest
      In conversation Monday, 13-Mar-2023 21:38:09 JST permalink
    • Embed this notice
      Leah Rowe is not a Rowebot (libreleah@mas.to)'s status on Monday, 13-Mar-2023 21:38:09 JST Leah Rowe is not a Rowebot Leah Rowe is not a Rowebot
      in reply to
      • Daniel Barlow

      @dan openbsd has a tendency to heavily audit code, and remove useless additions, make it leaner over time

      they do this without sacrificing quality or features. for example, openbsd ksh is about the same code size as busybox ash but is packed full of features - freebsd's sh is much smaller too

      (i don't see the point in stripping openbsd ksh, i'm doing two profiles: small or full and for small i'll adapter freebsd sh for when i want sh)

      openbsd ksh / busybox ash: ~18k sloc

      freebsd sh: 12k sloc

      In conversation Monday, 13-Mar-2023 21:38:09 JST permalink
      clacke likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.