Packaging UNFS3

Introduction

UNFS3 is no longer part of the Debian distribution, but I have packaged it; contact me if you would like me to move the package control files to github.

Procedure

Note to myself: I use bs to do this but bs is untimately doing the same as below.

  1. Work in a new directory.
  2. Set some environment variables used by this procedure:
    SRC_VER=0.9.22
    svn ls https://svn.pasta.freemyip.com/main/unfs3.debian/tags
    PKG_VER=3         #  adjust this value based on output of previous command
  3. Download the sources, unpack them, rename the tar file and download the Debian package control files:
    wget -q https://github.com/unfs3/unfs3/archive/unfs3-$SRC_VER.tar.gz
    tar xzf unfs3-$SRC_VER.tar.gz 
    mv unfs3-$SRC_VER.tar.gz unfs3_$SRC_VER.orig.tar.gz
    cd unfs3-unfs3-$SRC_VER
    svn -q co \
        https://svn.pasta.freemyip.com/main/unfs3.debian/tags/$SRC_VER-$PKG_VER/ \
        debian/
  4. Build the package:
    dpkg-buildpackage -us -uc -rfakeroot

    The .deb file will be in the parent directory.

  5. If you see any errors in the package control files then please contact me; if you see any errors in UNFS3 itself then please submit an issue on the project’s github pages.

See also