How to Add Patches to xbps-src Packages

Sources are great to make packages out of them. But in some cases they need to be modified or updated to suit our needs. e.g. a package may not have frequent releases but there are changes in the dependencies in the meanwhile that raise errors if not adopted to new changes in the dependencies. This breaks the packages. This calls for a change in the source files to match the new depends.

Continue reading

LUKS Encrypted Void Linux Install

Encryption saves your valuable data from bad people or people who want to get access to your data. LUKS encryption is a low-overhead, lightweight encryption for Linux platform. This one is about how to install Void Linux inside a LUKS encrypted drive. Don’t worry this does not use volume groups and such, so it is easy for starters.

Continue reading

How to Create a New xbps-src Package from Scratch

XBPS is an independent package format created by Void Linux. xbps-src is an utility to create XBPS packages. Those packages can be used for installing and uninstalling programs later on. Similar to PKGBUILDs on Arch Linux, xbps-src takes a script-like file with variables and instructions to grab the source and build it to generate package files. It is like building from source, but automatically.

Continue reading