OpenBSD ports that I made

adnan360 939737df3d Remove veracrypt port 2 years ago
graphics aeb943f418 Add annotator port (not working, segmentation fault) 2 years ago
inputmethods f3d9010994 ibus-m17n: Apply changes suggested by Antoine 2 years ago
www 53332db05e badwolf: Add text on pkg/DESCR 2 years ago
README.md 1a17538f94 Add instructions in readme 2 years ago

README.md

openbsd-ports

Some ports that I made (or probably in the process of finishing).

WARNING: This repo is provided as is, without any warranty, not even implied, that anything will work as expected. Not recommended to be used on a production machine unless tested thoroughly. Please report any bugs in the issues tab.

Install

Basic OpenBSD ports setup:

$ cd /tmp
$ ftp https://cdn.openbsd.org/pub/OpenBSD/$(uname -r)/{ports.tar.gz,SHA256.sig}
$ signify -Cp /etc/signify/openbsd-$(uname -r | cut -c 1,3)-base.pub -x SHA256.sig ports.tar.gz
$ doas -s
# cd /usr
# tar xvzf /tmp/ports.tar.gz

To run builds as normal user:

doas nano /etc/mk.conf

WRKOBJDIR=/usr/obj/ports
DISTDIR=/usr/distfiles
PACKAGE_REPOSITORY=/usr/packages
$ doas mkdir -p /usr/{obj/ports,distfiles,packages}
$ doas chown -R $USER:$USER /usr/{obj,distfiles,packages} # whole /usr/obj!!

Install a port:

git clone --depth=1 https://notabug.org/adnan360/openbsd-ports
cd openbsd-ports
# Copy all ports
find . -not -path '*/\.*' -not -path '\.' -maxdepth 1 -type d -exec doas cp -rv {} /usr/ports \;
# Copy certain port (e.g. badwolf)
doas cp -rv www/badwolf /usr/ports/www/
# Install (e.g. badwolf)
cd /usr/ports/www/badwolf
doas make install