• OpenBSD ports wish list

    The src tree is locked so maybe the best time to write a wish list for the next release circle from 6.3 to 6.4. It’s just a personal list, of course.

    The list below includes only alreay existing ports expect qtwebengine which needs updates.

    • graphics/ffmpeg
      • Update to the 3rd branch would be really great. Maybe FFmpeg 3.4.2 “Cantor”. If you want help to update , please talk with the maintainer and kn@. There is also a old openbsd-wip port.
    • multimedia/mpv
      • Depending on graphics/ffmpeg update. Maybe kn@ can help you.
    • math/graphviz
      • Should be reactive easy to update but the tests are weird.
    • devel/cvsweb
      • Be brave.
    • devel/protobuf
      • Dependencies everywhere. All consumers have to be tested.
    • misc/screen
      • I know no one needs screen anymore but an update would be nice.
    • www/drupal7/*
      • Update or nuke it.
    • x11/wxWidgs
      • A lot of fighting here.
    • databases/db/v{3,4}
      • Welcome to hell! All consumers have to be tested.
    • x11/qt5/qtwebengine
      • Anyone who wants to help is welcome. openbsd-wip/x11/qt5/qtwebengine.
    • sysutils/e2fsprogs
    • multimedia/mkvtoolnix
    • x11/vlc

    If you want help us, please connect the maintainer and hack. If you need help, the ports@ mailininglist is happy to help. Of course, you can also write to me personally.

  • How to re-add in openbsd cvs tree

    It’s quite simple but I forget so many times. This short blog post is for all forgetful port monkeys.

    Let’s try to re-add net/ktorrent in four simple steps.

    1. First of all checkout whether your port is already imported or in Attic. The easiest way to do this is by checking webcvs. For example net/ktorrent in cvsweb. If you read (in the Attic), you know it was imported but now it’s deleted.

    2. Make sure you do not have “update -P” in your ~/.cvsrc or a shell alias otherwise you won’t see what cvs(1) tells you.

    3. Initial preparation
      $ cd /usr/ports/
      $ rm -rf net/ktorrent
      $ cvs up -d net/ktorrent
      cvs server: Updating net/ktorrent
      cvs server: Updating net/ktorrent/patches
      cvs server: Updating net/ktorrent/pkg
      

      If you can’t read the cvs(1) server output, you did something wrong in step 2. Be warned! mkdir(1) -p net/ktorrent/pkg would not be sufficient because it would not create the administrative directories net/ktorrent/CVS and net/ktorrent/pkg/CVS.

    4. Re-add
      $ tar -xzvf ~/ktorrent.tar.gz                                                                                                                                               (cvs)-[ports]
      net/ktorrent
      net/ktorrent/Makefile
      net/ktorrent/distinfo
      net/ktorrent/pkg
      net/ktorrent/pkg/PLIST
      net/ktorrent/pkg/DESCR
      $ cd net/ktorrent
      $ cvs add Makefile distinfo pkg/DESCR pkg/PLIST
      cvs server: re-adding file Makefile (in place of dead revision 1.39)
      cvs server: re-adding file distinfo (in place of dead revision 1.8)
      cvs server: re-adding file pkg/DESCR (in place of dead revision 1.2)
      cvs server: re-adding file pkg/PLIST (in place of dead revision 1.12)
      cvs server: use 'cvs commit' to add these files permanently
      

      Now is the best time for a brief, final build and review of the port, to make sure everything works fine.

  • ports tree cleanup functions

    This little ZSH function helps me to clean up my ports tree. I often use this function after a big wip-update task to reinstall my standard applications.

    ports_cleanup () {
    	for name in `pkg_info -P -q`; do
    		cd /usr/ports/${name%,*};
    		make clean=all
    		rm -rf /usr/ports/plist
    		rm -rf /usr/ports/packages
    		rm -rf /usr/ports/pobj
    	done
    }

    My experience taught me, don’t delete the distfiles make distclean unless you need storage. You’ll save so much time.

  • My OpenBSD standard ports

    The following list includes all my standard OpenBSD ports. That’s my absolute minimum, my core desktop system. I use exclusively the ports system for all my 3rd party software on OpenBSD. It takes ~16 hours to build the hole list. More or less, next time I’ll measure it.

    # cat /tmp/PLIST
    
    shells/zsh
    x11/i3
    x11/i3status
    x11/xwallpaper
    editors/vim
    mail/neomutt,gpgme,sasl
    www/mozilla-firefox
    archivers/unrar
    archivers/unzip
    archivers/zip
    security/keepassxc
    devel/git
    devel/jdk/1.8,-jre
    devel/jdk/1.8,-main
    fonts/dina-fonts
    fonts/freefonts
    fonts/hack-fonts
    fonts/msctfonts
    fonts/powerline-fonts
    fonts/roboto-fonts
    fonts/terminus-font
    fonts/ubuntu-fonts
    multimedia/mpv
    net/weechat
    net/lftp
    net/rsync
    sysutils/grive2
    sysutils/sysclean
    textproc/mupdf