M:Tier Binpatches
Here is my alternative setup for M:Tier binpatches. It differs slightly from offical setup.
I use /etc/pkg.conf
instead of defining a $PKG_PATH
variable.
It looks like:
installpath = http://ftp.spline.de/pub/OpenBSD/%c/packages/%a/ installpath += https://stable.mtier.org/updates/%c/%a
The daily check is performed with /etc/daily.local
instead of
defining cron
entry directly. It also fetches source tree updates.
#!/bin/sh updatesrc() { echo "Updating Source Tree" echo VERSION=OPENBSD_$(uname -r | tr . _) MODULES='src ports' # you may wish to add xenocara too CVSROOT=anoncvs@openbsd.cs.fau.de:/cvs (cd /usr && cvs -qd ${CVSROOT} up -APCd -r${VERSION} ${MODULES}) echo } updatepkg() { echo "Checking package changes" echo pkg_add -sux echo } updatesrc updatepkg
And finaly updating itself is performed as usual with pkg_add -ui
.
PS: don't forget to fetch the current siging key:
cd /etc/signify && ftp https://stable.mtier.org/mtier-59-pkg.pub