>>

OpenBSD ports wishlist

24 Mar 2018

The following list shows some of my personal wishes for the next release circle from 6.3 to 6.4. There are already existing ports 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.
  • misc/screen
    • I know no one needs it but an update would be nice.
  • sysutils/e2fsprogs
  • www/drupal7/*
    • Update or nuke it.
  • multimedia/mkvtoolnix
  • x11/vlc
  • x11/wxWidgs
    • A lot of fighting here!
  • x11/qt5/qtwebengine
    • Anyone who wants to help is welcome. openbsd-wip/x11/qt5/qtwebengine.
  • databases/db/v{3,4}
    • Welcome to hell!

If you want help us, please connect the maintainer 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

18 Feb 2018

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.

  1. 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

15 Oct 2017

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

15 Oct 2017

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