Joachim Breitner's Homepage
As I’m writing this, DebConf 15 is coming to an end. I spend most of my time improving the situation of the Haskell Packages in Debian, by improving the tooling and upgrading our packages to match Stackage 3.0 and build against GHC 7.10. But that is mostly of special interest (see this mail for a partial summary), so I’d like to use this post to advertise a very small and simple package I just uploaded to Debian:
During one of the discussion here I noticed that it is rather tricky to make a locally built package available to
apt-get. The latest version in unstable allows one to install a debian package simply by running
apt-get install on it, but in some cases, e.g. when you want a convenient way to list all packages that you made available for local use, this is insufficient.
So the usual approach is to create a local apt repository with your packages. Which is non-trivial: You can use
reprepro. You need to create the directories, run the commands, add the repository to your local sources. You need to worry about signing it or setting the right options to make apt-get accept it without signing.
It is precisely this work that my new package
local-apt-repository automates for you: Once it is installed, you simply drop the
.deb file into
/srv/local-apt-repository/ and after the next
apt-get update the package can be installed like any other package from the archive.
I chose to use the advanced features that
systemd provides – namely activation upon path changes – so works best with
systemd as the init system.
If you want to contribute, or test it before it passes the NEW queue, check out the git repository.