09/02/2020: This week in KISS (#10)
More package manager goodies this week.
Package Manager build hooks
It is now possible to hook into specific "events" in the package
manager with a script. Right now only
supported though I expect to see this list expand as users need them.
KISS_HOOK environment variable takes the path to a shellscript
which is then executed with three additional environment variables
defined. Rather than needing a separate script per event, a single
script is all that is required.
The following three environment variables are defined:
$PKG: The name of the package.
$TYPE: The event type (valid: pre-build, post-build).
$DEST: The path to where 'make install', etc will put the package.
A simple script to set different
CFLAGS for specific flags could look
case $TYPE in pre-build) case $PKG in zlib) export CFLAGS="-Os -static" ;; curl) export CFLAGS="-O3" ;; esac ;;
post-build) # post-build code here. ;; esac
This paves the way for finer tuning of compilation settings for LTO and more aggressive compiler options. See: /r/kisslinux post
The package manager now performs a 3-way "handshake" to determine how
it should handle the installation of files in
/etc. In short, when a
file cannot be overwritten due to user modifications it is installed as
This is very similar to how Arch Linux handles
/etc and it's a really
nice way of doing things.
A new opt-in feature has been added which will open a scrollable
of every modified file for a system update. This was implemented to
allow users to easily get a deeper insight as to what will happen
The repositories themselves are
git repositories so this is simply a
git diff call post-fetch.
To enable this feature set
GCC static-pie fix
To revert to the previous behavior the following
$CFLAGS can be used
Changes to non-root Xorg
Our default non-root Xorg configuration required the user be in the
input group to function correctly. This is no longer a requirement and
you may now remove yourself from the group.
Instead, our Xorg is now
setgid input which limits the permissions to
/dev/input solely to Xorg. Any applications spawned under Xorg will
not be able to read
This is a nicer and more secure default configuration.
GNU tar and BSD tar (libarchive) support added to the package manager
tar implementations are now supported in the package manager
further reducing the dependence on
busybox. I have found these to be
faster than busybox's
tar for those large source tarballs.
- Dylan Araps:
f1db1cfcryptsetup: bump to 5.67.0
a9b34e1libinput: bump to 1.15.1
f86714cbusybox: Fix mdev.run. Closes #140
eb4160fopendoas: bump to 6.6.1
0751732glib: bump to 2.63.5
2679adclibarchive: new package at 3.4.1
87629a8busybox: fix checksums
2a1127ckiss: bump to 1.2.0
b9df4fakiss-utils: bump to 1.2.0
6447193baseinit: bump to 0.4
696613acmake: bump to 3.16.4
287bee5kiss: bump to 1.2.1
b476d52kiss-utils: bump to 1.2.1
2969c8ckiss: bump to 1.2.2
dc2ee5ckiss-utils: bump to 1.2.2
e486531nodejs: bump to 13.8.0
ba246dfxorg-server: Run setgid. input group no longer needed per-user.
ef7f7fclibinput: Remove post-install message
e951a27vim: don't link to util-linux
662f59dkiss: bump to 1.3.0
891344bkiss-utils: bump to 1.3.0
5611459baseinit: bump to 0.4.1
1316592libSM: Remove util-linux dependency
1fa3519vim: remove unused flag
d4c1ea6glib: Remove util-linux dependency
ccf9ffbgdk-pixbuf: Don't build tests
84e7d60gtk+3: Don't install tests
5901fbfpython: remove util-linux dependency
bbec1d1kiss: bump to 1.3.1
5ea31f6kiss-utils: bump to 1.3.1
3a38408nss: bump to 3.50
66c8f14meta: Move non-xorg related packages out of xorg/
3d47a77xorg: Drop www. from sources
99d840eeiwd: move to extra
5ea359fgdk-pixbuf: Remove shared-mime-info dependency
dcacfe9gtk+3: Remove shared-mime-info dependency
7621366gtk+2: remove shared-mime-info dependency
8c7acc6e2fsprogs: Remove util-linux dependency
96ad6fbgcc: bump version for libgomp and static-pie fixes.
cbbbf9bkiss: bump to 1.4.0
1dc1377kiss-utils: bump to 1.4.0
b2a5d52json-c: fix depends. Closes #143 by @artemkobets
0cbdf32xf86-video-ati: Fix rootless xorg
e67a209extra-cmake-modules: bump to 5.67.0
6e64fb7kiss: bump to 1.4.1
cfbe193kiss-utils: bump to 1.4.1
1a9ada8opendoas: added new doas.conf for latest kiss
eecc3f2grub: Fix build after GCC changes
- Adam Schaefers:
a915d2dgdb: new package at 8.3.1 (#300)
- Artem Kobets:
- Cem Keylan:
- Dylan Araps:
- M. Herdiansyah:
795969amawk: new package at 1.3.4-20200120 (#313)
- Owen Rafferty:
- Will Eccles:
The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a worldwide basis.
© Dylan Araps 2019-2020