Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Roll back a FreeBSD port with svnlite

    Sometimes I’m too hasty with updating ported applications, and I need to roll them back to a working version. Since I use svnlite to manage my ports tree, this is relatively easy. But since it is different than I’m used to (since I mostly use git), I thought I would document it here for convenience.

  2. Install ntpsec on FreeBSD

    A short article on how to install ntpsec on FreeBSD. Tested with 0.9.7 and 1.0.0.

    Note

    There is/was a bug in the ntpdate implementation that set the clock to a completely bogus value. So I’ve since written a simple script that runs from cron to fetch the time from a near NTP server.

  3. Building gphoto2-ffi on FreeBSD

    Download

    Clone the repository from https://github.com/jbaiter/gphoto2-cffi.

    > cd ~/github
    > git clone https://github.com/jbaiter/gphoto2-cffi
    

    Build …

  4. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation from ahupp/python-magic in Github feels more natural.


Page 1 / 3 Page 2 →