Libressl post upgrade, some packages need to be rebuilt.
- pipewire
- eudev
- cmake
- git
- libarchive
- libevent
- libsrt
- libssh2
| COMMENT = URL retrival utility and library | |
| VERSION = 8.17.0 | |
| REVISION = 0 | |
| CATEGORIES = net | |
| PKGNAME = curl | |
| HOMEPAGE = https://curl.se/ | |
| LINK = https://curl.se/download/curl-${VERSION}.tar.xz | |
| ARCHIVE = curl-${VERSION}.tar.xz | |
| SRCCD = archive | |
| BUILD = make |
| # build.ninja | |
| pkgname = dwl | |
| version = v0.8-dev | |
| rev = 0 | |
| cat = wayland | |
| srcdir = dwl | |
| format = ${pkgname}_${version}_${rev}@${cat} | |
| rule edit |
| # include build.mk | |
| COMMENT = test | |
| V = 0 | |
| PKGNAME = test | |
| REVISION = 0 | |
| CATEGORIES = misc | |
| ARCH = amd64 | |
| BUILDDIR = sources | |
| ARCHIVE = sources.tar.gz |
| COMMENT = Wayland tiling compositor inspired by Ratpoison | |
| V = 3.1.0 | |
| PKGNAME = cagebreak | |
| REVISION = 0 | |
| CATEGORIES = wayland | |
| U = https://github.com/project-repo/cagebreak | |
| SOURCE = $U/archive/$V.tar.gz | |
| ARCHIVE = $V.tar.gz | |
| BUILD = meson | |
| BUILDDIR = cagebreak-3.1.0 |
Libressl post upgrade, some packages need to be rebuilt.
| #!/bin/bash | |
| position=$(xdotool getwindowfocus getwindowgeometry | grep Posit | awk '{print $2}') | |
| ffmpeg -f x11grab \ | |
| -framerate 30 \ | |
| -video_size $1 \ | |
| -i ${DISPLAY}+$position \ | |
| -c:v libx264 \ | |
| -pix_fmt yuv420p \ |
| bwrap --bind /home/lfs/browser / \ | |
| --dev /dev \ | |
| --proc /proc \ | |
| --bind /sys /sys \ | |
| --bind /run /run \ | |
| --bind /home/lfs/.mozilla /home/lfs/.mozilla \ | |
| --bind /home/lfs/Downloads /home/lfs/Downloads \ | |
| --ro-bind /etc/resolv.conf /etc/resolv.conf \ | |
| --ro-bind /etc/passwd /etc/passwd \ | |
| --ro-bind /etc/group /etc/group \ |
I'm using dnscrypt-proxy on main machine and also using firefox inside chroot. I get network working but some site are blocked inside chroot unlike my host.
To unblock them I just figured out a simple trick. Turns out I just need to make the resolv.conf from inside chroot using same nameserver like my host (which is 127.0.0.1).
$ cat /etc/resolv.conf
nameserver 127.0.0.1
After set it up, exit the chroot and reenter.
I've tried some packaging tools / builder on some distros (debian and its based, archlinux, alpine, slackware, crux and dragora). I want to write my own package builder using bash and stow as its manager. It's inspired by slackbuild and qi recipe but I really want to make it really understandable.
These are my static-linked executables I'm building, which I think are interesting.
They consist of tools I use daily. As the name suggest, the static-linked executables don't rely on libraries (CMIIW), so you can just run it (tested in glibc and musl environment).