latch-plugin-unix
latch-plugin-unix copied to clipboard
Configuration files to generate a Debian package
I've just created the required configuration files to generate a Debian package.
There is tons of possible improvements in the package. Those that I can highlight are:
- There are no manpages for 'latch' and 'latch-shell' binaries, required by UNIX systems
- Previously the compilation was creating a 'test' binary and that binary has a collission with the 'test' binary from coreutils in UNIX systems. I haver temporarly rename it to 'latch-test' but, looking at the sources I think that it could be removed.
- I think that I could improve the configuration process by using pam-auth-update and generating the latch.conf file from a debconf wizard
Any news about merging this?
Hi Fran,
• About 'test' binary you are right. I've already solved it in the latest version. • Manpages are in development. Come in soon. • I don't know how to debconf works at all. I have to study it. Any help is appreciated, and feel free to add some changes.
Some changes are required before we can merge your pull request:
- Permissions should be added in post-installation: binaries = Setuid (4755), conf files = read-write only root-owner (600).
- It is necessary to make multiple packages. There are some systems not PAM compatible (like OpenBSD) and all binaries don't need to be necessary installed. It should be 3 packages: latch, pam-latch and latch-ssh-command.
- Debconf seems not to work properly or I don't understand at all its usefulness.
- Wrong copyrights and authors. It should be LGPL 2.1. and ElevenPaths, respectively.
Thanks, kind regards.
Iván.