latch-plugin-unix icon indicating copy to clipboard operation
latch-plugin-unix copied to clipboard

Configuration files to generate a Debian package

Open frandieguez opened this issue 11 years ago • 2 comments

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

frandieguez avatar Dec 04 '14 14:12 frandieguez

Any news about merging this?

frandieguez avatar Jan 19 '15 12:01 frandieguez

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.

naviprojects avatar Jan 21 '15 10:01 naviprojects