Menu

Tree [b1b653] main /
 History

HTTPS access


File Date Author Commit
 audio 2026-06-30 lfs lfs [4da5d4] upgrade gstreamer, opus, orc.
 compressors 2026-04-07 lfs lfs [4bd43a] upgrade expat & unrar.
 daemon 2026-05-14 lfs lfs [e15678] upgrade :
 db 2026-08-01 lfs lfs [fcfa0d] upgrade tzdb tzdb-2026c.
 devel 2026-08-17 lfs lfs [387271] add doc and completion glab.
 doc 2026-06-24 lfs lfs [7430d6] upgrade nss & nspr, add lxml, doxygen, wireplum...
 editor 2026-08-01 lfs lfs [2edeb4] add emacs 30.2.
 firmware 2026-01-13 lfs lfs [59e3e5] add ath3k firmware 1.0.
 font 2026-08-21 lfs lfs [e75f3b] add terminus_ttf font.
 icon 2026-03-02 lfs lfs [66f838] add elementary icon, neumenu & hevel.
 kernel 2026-05-02 lfs lfs [72c0c2] add linux 7.0.3.
 lang 7 days ago lfs lfs [c57539] add zig 0.16.0 & upgrade river 0.4.2.c576a58da.
 libs 3 days ago lfs lfs [5c9903] upgrade ncurses 6.6_p20260822.
 lisp 2026-08-10 lfs lfs [c7d596] add cl_unicode 0.1.6.
 lxde 2026-02-27 lfs lfs [262fb0] add patch : fix segmentation fault for obconf -...
 man 2026-04-05 lfs lfs [35da72] adjust documentation and manual.
 media 2026-08-01 lfs lfs [3db69b] upgrade pipewire 1.6.8.
 misc 2026-08-10 lfs lfs [13c251] add stumpwm_contrib cf9bda5dd.
 net 18 hours ago lfs lfs [b1b653] upgrade nss 3.125.
 perl 2026-08-10 lfs lfs [62c586] upgrade perl.
 python 2026-07-03 lfs lfs [dffce5] upgrade cython 3.2.8.
 shell 2026-06-30 lfs lfs [6e880b] upgrade bash.
 sys 2026-08-10 lfs lfs [74ae78] add static config busybox.
 tool 3 days ago lfs lfs [150b47] upgrade sbcl 2.6.8.
 wayland 3 days ago lfs lfs [5a958f] upgrade river_classic 0.3.18.cb1af960e.
 x11 2026-08-10 lfs lfs [226161] add stumpwm 24.11.
 xapps 2026-08-01 lfs lfs [53e403] add dwmblocks commit 8cedd220.
 xfce4 2026-06-30 lfs lfs [49bd34] upgrade libpsl, tmux, xfce4_dev_tools.
 .gitignore 2025-11-29 lidgnulinux lidgnulinux [f37d65] Initial commit
 LICENSE 2025-11-29 lidgnulinux lidgnulinux [f37d65] Initial commit
 Makefile.empty 2026-08-03 lfs lfs [05e94c] Edit Makefile template and remove darcs mirrors.
 README.md 6 days ago lfs lfs [19efbc] add codeberg alternative mirror.
 WRITE.md 2026-04-16 lfs lfs [109664] Add zig type build support.
 _cgitrc 2026-08-24 lfs lfs [d6e55f] rename cgitrc, possibly unused.
 lfs.port.mk 2026-08-23 lfs lfs [3da48d] unset make default amount ofjob.
 mk 2026-06-30 lfs lfs [f3075c] add blank line for info target.
 strip.mk 2026-04-16 lfs lfs [109664] Add zig type build support.

Read Me

lfs.ports

What's this ?

Ports package build collection for LFS / linux distro in general. It's a collection of recipe to build package. Using Makefile and bsd.port.mk-like (I call it as lfs.port.mk). If you're familiar with ports from openbsd & freebsd, you would easily recognize it. There are 8 build types :

  1. make.
  2. cmake.
  3. meson.
  4. bmake.
  5. muon.
  6. cargo.
  7. zig.
  8. custom.

How to use it ?

You could easily use it, but before that, you should have these requirements :

  • wget, to download source code. You could change it with your tool downloader.
  • build tools, like compiler (I use gcc mainly), make, meson, cmake, bmake, muon and zig.
  • tar, to create tar.gz package archive.
  • graft, to do grafting.
  • text editor.
  • patch, to do patching (if needed)

After you have those requirements, let's build our package !

  1. Copy lfs.port.mk & strip.mk to /usr/share/mk directory.
  2. Pick a template package, for example iceauth.
  3. Run these commands :

    $ make download $ make extract $ make prepare $ make build $ make package

    Explanation :

    • make download, download source code.
    • make extract, extract source code.
    • make prepare, prepare build, like patching (if needed), edit the source code, etc.
    • make build, build package.
    • make package, create tar.gz package.
  4. Once the package's created, we can install it using mk package manager.

    $ sudo /path/to/mk a P=1 PKG=iceauth-1.0.10-0@xapps.tar.gz

note : For more info about mk, you could read its documentation here.

Main repository & mirrors

Main repository : Github.

Mirrors :