rustybird/corridor — pull request #2 by adrelanos (2014-05-29 23:21:35+00:00)
Title: initial debian packaging

Since I got quite some routine packaging simple shell scripts as .deb packages, I thought why not package corridor. Equally simple. It even is deterministic (reproducible with matching checksums)! Hope you like it.

I am not a professional packager yet as debian developers, so I wouldn't know if this package would get accepted into official Debian repository. Sooner or later I probably apply to get one of my own packages into offical Debian repo, and then I'll learn to fix their complaints (which are mostly policy/stylistic, not functional). Nevertheless, the package should be fully functional (untested, but the .deb looks good).

Files have been moved from the root source tarball to `usr/sbin`. Now, if you were to create a file `usr/share/xxx/yyy`, then the file would get installed to `usr/share/xxx/yyy`. Should make moving/adding additional files in usual file hirarchy system pretty simple and the debian packaging as transparent as possible.

Instructions on how to build this package can be found here:
https://www.whonix.org/wiki/Dev/Build_Documentation/apparmor-profile-torbrowser

* When reading that page, simply replace `apparmor-profile-torbrowser` with `corridor`.
* You won't need `config-package-dev` for this package.
* You won't need my signing key / openpgp verify.

I could also aid creating man pages. Using ruby-ronn, using markdown. (Example:
https://github.com/Whonix/sdwdate/blob/master/man/sdwdate.8.ronn) (You could write them, and I would help packaging them.)

I could also help creating an `/etc/init.d` script for autostarting and/or creating a stackable `/etc/corridor.d` .d style config folder.