Skip to main content

XBPS Packages

I have hosted packages under https://voidlinux.jpastuszek.net.

Usage

/etc/xbps.d/jpastuszek.conf
repository=https://voidlinux.jpastuszek.net

Building packages

I keep void-packages repo on GitHub and in private repo:

  1. The master branch is used as base and is kept in sync with official repo.
  2. I create new branches from the master branch for each package.
  3. Each package branch should be rebased on the current master branch.

Building:

# morgana
./xbps-src -j 10 pkg <package>
# aarch64
./xbps-src -j 10 -a aarch64 pkg <package>

Indexing new packages

.ssh/config
Host www
	HostName 192.168.50.159
	ProxyJump igor.lan
	User hxd
repoindex
#!/bin/sh -x
cd public && \
xbps-rindex --privkey ~/.ssh/voidlinux.jpastuszek.net.pem --sign-pkg *.xbps && \
XBPS_TARGET_ARCH=x86_64 xbps-rindex --add *.x86_64.xbps && \
XBPS_TARGET_ARCH=x86_64 xbps-rindex --clean . && \
XBPS_TARGET_ARCH=aarch64 xbps-rindex --add *.aarch64.xbps && \
XBPS_TARGET_ARCH=aarch64 xbps-rindex --clean .
# Mount
exec sshfs www:/var/www ~/net/www/
net/www/voidlinux.jpastuszek.net
cp <package> public/
./repoindex

This needs to be done from morgana since it has the key for indexing: ~/.ssh/voidlinux.jpastuszek.net.pem