Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1087 File Collisions in (at least) Gentoo Linux with app-misc/pwsafe

v1.0_(example)
open
nobody
None
1
2013-12-09
2013-01-20
John R. Graham
No

Hi. I'm working to get Password Safe into Gentoo Linux's package repository. Alas, there are file collisions with a Password Safe-comatible command line utility called pwsafe, which is billed as "A Password Safe compatible command-line password manager". There are currently just two collisions at:

  • /usr/bin/pwsafe
  • /usr/share/man/man1/pwsafe.1

As the pwsafe project seems to predate Password Safe's Linux port by a number of years, I wondered if you might be willing to cede the short names to the command line utility. If you're amenable, I can submit a patch.

There are two ways to go:

  • Minimal. Just address the actual collisions and documentation implications.
  • Go large. Consistently rename all directories and affected files to the longer name (and, of course, the source code and documentation changes necessary as well). This would include:
    • /usr/bin/pwsafe ➞ /usr/bin/passwordsafe
    • /usr/share/pwsafe ➞ /usr/share/passwordsafe
    • ~/.pwsafe ➞ ~/.passwordsafe
    • /usr/share/man/man1/pwsafe.1 ➞ /usr/share/man/man1/passwordsafe.1
    • Perhaps /usr/share/doc/passwordsafe/help ➞ /usr/share/passwordsafe/help

I'm currently working with 0.9BETA but I'll check out the trunk shortly. Let me know your thoughts.

- John

Discussion

  • Rony Shapiro
    Rony Shapiro
    2013-02-02

    Ouch. Before doing anything, I'd check if there isn't a 'passwordsafe' project in other distributions, which would be just as bad. Also, if we make such a switch, we need to consider a user upgrading from a 'pwsafe' version to 'passwordsafe'...
    A couple of alternatives:
    1. Make the change as a patch specifically for the Gentoo package.
    2. See if the older pwsafe package is still maintained, and if not get it removed from the repository.

    Rony

     
  • John R. Graham
    John R. Graham
    2013-02-07

    Rony,

    Thanks for the reply. I've already made Gentoo-specific patches in order to make progress. Also, alas, the pwsafe package is actively maintained in Gentoo.

    I'll check a few other distros to see what's out there and report back. Do you have a list in mind? I'm thinking (in no particular order) Ubuntu, Fedora, Debian, and Arch.

    - John

     
  • Rony Shapiro
    Rony Shapiro
    2013-02-07

    You're effort's appreciated. I believe that Debian/Ubuntu covers Mint, which is currently the most popular distro, per distrowatch.
    As PasswordSafe is also used in a lot of corporate environments, OpenSUSE and CentOS are worth looking at as well, if you can spare the time.

    Thanks,

    Rony

     
  • Simon
    Simon
    2013-03-12

    Fedora (and thus Red Hat and it's clones like CentOS) also has the pwsafe utility packaged as pwsafe.

     
  • Philipp Gortan
    Philipp Gortan
    2013-12-09

    John, did you think about simple blocking the "other" pwsafe by adding
    RDEPEND="!!app-misc/pwsafe"
    to your ebuild?
    Furthermore, are you ready to share your ebuild? :)
    Philipp