Dylan's Main Page

Following Stable with Binary Updates

I'm tired of keeping src up to date on all my openbsd boxen, so I'm trying to figure out how to follow the stable branch on one machine and distribute binary packages to all my other machines.


This doesn't really work, but it also kindof does. I recently updated sendmail and used this technique.

I had to make with DESTDIR not set, and then set it during make install. I set it to /tmp/sendmail. Apparently, install won't make parent directories. I would run make install, it would break with a "file or directory not found" error. I'd create the missing target directory, and run make install again. Repeat until done. At one point I found a buggy install command for the subdir doc/op so I edited the Makefile in /usr/src/gnu/usr.sbin/sendmail to comment out that directory. Then I installed the missed files in /tmp/sendmail by hand.

After all that, I just tarred up /tmp/sendmail/ and installed it on the target machines.

Updated Fri Jun 30 10:55:35 PDT 2006

Dylan's Main Page