Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453458 - app-crypt/passwordsafe - Popular easy-to-use and secure password manager
Summary: app-crypt/passwordsafe - Popular easy-to-use and secure password manager
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-01-22 01:02 UTC by John R. Graham
Modified: 2016-03-06 15:17 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
passwordsafe-0.9_beta.ebuild (passwordsafe-0.9_beta.ebuild,1.78 KB, text/plain)
2013-01-22 01:02 UTC, John R. Graham
Details
Patch that is applied by the ebuild. (passwordsafe-fix-file-collisions.patch,1.89 KB, patch)
2013-01-22 01:03 UTC, John R. Graham
Details | Diff
passwordsafe ebuild (passwordsafe-0.95.ebuild,2.41 KB, text/plain)
2015-01-13 17:53 UTC, Hendrik v. Raven
Details
passwordsafe-0.95.1_beta.ebuild (passwordsafe-0.95.1_beta.ebuild,2.16 KB, text/plain)
2015-03-27 23:06 UTC, Simone Scanzoni
Details
passwordsafe-0.95.1.ebuild (passwordsafe-0.95.1.ebuild,2.31 KB, text/plain)
2015-04-08 08:09 UTC, Hendrik v. Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2013-01-22 01:02:48 UTC
Created attachment 336416 [details]
passwordsafe-0.9_beta.ebuild

I'm working on an ebuild for Password Safe, a Popular easy-to-use and secure password manager (https://sourceforge.net/projects/passwordsafe/) with the help of the Gentoo Sunrise folks. Suggested category/package is app-crypt/passwordsafe. Provisional (already reviewed) ebuild is attached.
Comment 1 John R. Graham gentoo-dev 2013-01-22 01:03:39 UTC
Created attachment 336418 [details, diff]
Patch that is applied by the ebuild.
Comment 2 Sergey Popov gentoo-dev 2013-01-22 04:32:14 UTC
Comment on attachment 336416 [details]
passwordsafe-0.9_beta.ebuild

>x11-libs/wxGTK

Do this work with ANY wxGTK(both 2.8 and 2.9)? 2.9 is masked for now, but packages, that i have usually seen works only with one wxGTK branch(2.8 or 2.9) but not both. Please check and correct dependency if it is needed
Comment 3 John R. Graham gentoo-dev 2013-01-23 15:43:30 UTC
Thanks for the suggestion. A quick search of the tree shows that almost every wxGTK dependency includes the slot. I hadn't checked prior to your post, but this program compiles and appears to operate properly when built against either 2.8 or 2.9, so I'm going to leave the ebuild alone for now.
Comment 4 Hendrik v. Raven 2015-01-13 17:52:38 UTC
I updated the ebuild to version 0.95 (actually wrote it myself, found this and merged them). Additional features are existing i18n, slotted wxGTK to version 3.0 and yubikey support (which compiles and runs, but is untested due to the lack of hardware). Sadly the build requires c++11 features.

The ebuild itself is not yet reviewed, espacially the c++11 checking code is something I'm not sure about. Maybe it would be better to use -std=c++0x. It enables the same features, but is available in earlier gcc versions.

If some of the devs here would maintain the package I would be thankfull, otherwise I would volunteer to proxy-maintain that package.
Comment 5 Hendrik v. Raven 2015-01-13 17:53:12 UTC
Created attachment 393886 [details]
passwordsafe ebuild
Comment 6 Simone Scanzoni 2015-03-27 23:06:54 UTC
Created attachment 399910 [details]
passwordsafe-0.95.1_beta.ebuild

I tried to improve it.
The main differences are that it uses the wxwidgets eclass, it strips unsafe flags because they made it segfault on my system and removed the "cp src/ui/wxWidgets/version.in src/ui/wxWidgets/version.h" because I had no problem so I think it's not needed any more.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2015-04-04 00:49:23 UTC
Just declare here you're willing to be a proxy maintainer of this package once committed to portage either under my supervision personally and / or under the authority of the proxy-maint project.  Once done, I shall get the ebuild into my local system and runtest.
Comment 8 Hendrik v. Raven 2015-04-08 08:09:20 UTC
Created attachment 400808 [details]
passwordsafe-0.95.1.ebuild

I would proxy-maintain passwordsafe, since I use it regulary. I already proxy-maintain some ebuilds, which are reviewed and commited via xmw, who is a member of proxy-maint and I know him personally.

I've added the ebuild which I currently use personally, which is mostly the ebuild by Simone Scanzoni.
I've dropped the _beta in PV, because all Linux releases are currently called beta, but that has nothing to do with the versioning. I currently have the package under app-admin/, but that's mostly because keepass and keepassx are under app-admin/.
Comment 9 Simone Scanzoni 2015-08-10 21:33:21 UTC
Version 0.96 is out. I just renamed my ebuild and it worked fine.
Comment 10 Manuel Rüger (RETIRED) gentoo-dev 2015-10-13 13:55:11 UTC
0.97 is out, I'll have a look at this (hopefully) later today. 

@Hendrik, still interested to proxy maintain this?
Comment 11 Hendrik v. Raven 2015-10-14 11:46:21 UTC
I can proxy-maintain it, even thoug I have switched to keepass in the last time. 

I am still keeping a recent version of passwordsafe in my overlay and my version check is reminds me that a new version is out since a few days. Just haven't had the time to check it yet.

I'm already proxy-maintaining several packages via xmw who I know personally. If it's fine by you I would do it the same way for passwordsafe
Comment 12 Ian Delaney (RETIRED) gentoo-dev 2015-10-15 09:31:29 UTC
oooh I missed  Hendrik v. Raven 2015-04-08 08:09:20 UTC
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2015-10-16 04:01:06 UTC
What we need here is a fully update ebuild for 0.97, In the ines supplied we have


MY_P="pwsafe-${PV}BETA"
DESCRIPTION="Password manager with wxGTK based frontend"
HOMEPAGE="http://pwsafe.org/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tgz"


which are giving us unwanted beta versions.
All deps and config options need be reviewed and updated as required. Then we can get this started.
Comment 14 Manuel Rüger (RETIRED) gentoo-dev 2015-10-27 00:33:36 UTC
I added a slightly updated variant to my overlay for testing: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b139b20520f9a194501c4894f5d9dd9429a08b70
Comment 15 Hendrik v. Raven 2015-12-03 16:22:42 UTC
After some absence I now would take care of the package if no one else volunteers. My Yubikeys have arrived recently and I can confirm that yubikey support is working.

I used the beta builds for my overlay because I assumed they are different in some way. But after diffing 0.97-beta and 3.37 the only difference is that the beta enforces -fPIC and the 3.37 has a Changelog, a windows version.h and a .pot file.

Since -fPIC should be handled by the package manager there is no reason to use the beta builds. But on the other side the ebuild should work fine without any major changes for the regular releases.
Comment 16 Ian Delaney (RETIRED) gentoo-dev 2015-12-17 04:25:33 UTC
Sorry for the delay. Are you saying you'd like to be proxy maintainer of this either under direction of a single developer or the proxy-maintainers project?
Comment 17 Hendrik v. Raven 2015-12-17 08:21:58 UTC
yes I would proxy-maintain this package
Comment 18 Manuel Rüger (RETIRED) gentoo-dev 2015-12-24 12:40:22 UTC
@Hendrik: Probably the easiest way to get this to the tree is to join #gentoo-proxy-maint on freenode irc and talk to idella4 or me (mrueg). Thanks!
Comment 19 Manuel Rüger (RETIRED) gentoo-dev 2016-01-13 22:44:22 UTC
@Hendrick: ping, are you still interested in proxied maintaining?
Comment 20 Hendrik v. Raven 2016-01-14 10:24:51 UTC
Yes I am. Just haven't found the time to visit #proxy-maint for a discussion on which version to use.
As far as I see that there's no difference between the linux-beta tree and the main windows tree. Both are the same branch in the repo, the only difference is the point at which things are marked as a release. Meaning not every time main gets a release beta gets a release and vice-versa. I would tend to package the beta tree (currently 0.97), because it is more consistent with the website and other distros.
Comment 21 Simone Scanzoni 2016-01-14 16:39:14 UTC
(In reply to Hendrik v. Raven from comment #20)
> Yes I am. Just haven't found the time to visit #proxy-maint for a discussion
> on which version to use.
> As far as I see that there's no difference between the linux-beta tree and
> the main windows tree. Both are the same branch in the repo, the only
> difference is the point at which things are marked as a release. Meaning not
> every time main gets a release beta gets a release and vice-versa. I would
> tend to package the beta tree (currently 0.97), because it is more
> consistent with the website and other distros.

I would suggest to package 0.96 because there is a regression in 0.97 which breaks autotyping in some cases:

http://sourceforge.net/p/passwordsafe/bugs/1281/
Comment 22 Manuel Rüger (RETIRED) gentoo-dev 2016-02-03 23:53:26 UTC
Rewrote ebuild to use cmake-utils https://gitweb.gentoo.org/dev/mrueg.git/tree/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
Comment 23 Manuel Rüger (RETIRED) gentoo-dev 2016-03-06 15:17:53 UTC
As I haven't heard back, I'll add myself as the maintainer and add it to the tree.


commit 13ace59cf42bc79837fef1daf078f6946b123b2f
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Sun Mar 6 16:17:32 2016 +0100

    app-admin/passwordsafe: Initial version
    
    Gentoo-Bug: #453458
    
    Package-Manager: portage-2.2.27