KeePass2 comes with many exciting features over KeePass 1.x / KeePassX and runs on *X systems with Mono>=2.6. http://keepass.info Installation instructions: http://keepass.info/help/v2/setup.html#mono Debian/Ubuntu have packages now, see http://sourceforge.net/projects/keepass/forums/forum/329220/topic/4503818 Since I have no clue about Mono or ebuild writing I'd like to request an ebuild that makes keepass2 installation easy :) Reproducible: Didn't try
Created attachment 289483 [details] keepass-2.16.ebuild Hi, This is my first idea. I'm sure many things can be perfected - but currently it works for me.
Created attachment 291257 [details] app-admin/keepass-bin-2.17
latest keepass2 version: 2.18 (additionally a version with mono 2.10 workaround) (see http://keepass.info/)
Created attachment 299617 [details] app-admin/keepass-bin-2.18.120116 The new keepass-2.18, in the development-version - containing the mono-2.10 patch (therefore it depends on >=dev-lang/mono-2.10)
Just tried your ebuild. Dependency on mono should be listed with [-minimal], because a minimal build doesn't include GDIPlus, which keepass uses. Furthermore, keepass is unusable, because most strings are empty or reduced to the one letter. I've made some screenshots, see attachments. Does this mean it has further requirements for the mono installation or configuration?
Created attachment 304289 [details] Screenshot of keepass startup (first run)
Created attachment 304291 [details] Screenshot of main keepass window see menu bar for reduced strings
Created attachment 304293 [details] Screenshot of "Open" dialog
Created attachment 304295 [details] Screenshot of open kdb dialog / enter passphrase
Hi, I've put up an ebuild for KeePass 2.19 from sources. It has been reviewed by the good guys of #gentoo-dev-help and #gentoo-sunrise, so I hope it's good in enough. Let me know if you decide to put it in Portage, otherwise I'll submit it to the Sunrise overlay. I've tried to keep patches at the minimum. They should be acceptable from upstream, I've also posted them to the author: https://sourceforge.net/projects/keepass/forums/forum/329220/topic/5411507 I'm willing to keep this ebuild up-to-date if you decide to include it. Thanks! Ale P.S. Sorry for attaching a tar, but I tought that attaching 4 text files could make this bug a mess.
Created attachment 319092 [details] Ebuild for KeePass 2.19 from sources
(In reply to comment #10) > I'm willing to keep this ebuild up-to-date if you decide to include it. Would you be interested in proxy-maintaining this package with me?
Yes. I'm already following the KeePass release RSS.
Created attachment 320186 [details, diff] keepass-2.19.ebuild.patch The attached patch contains some suggested changes: * Drop unused autotype use flag * Make some whitespace changes * Make generated .desktop file validate * Regenerate mime/desktop databases after package removal
Created attachment 320188 [details] metadata.xml Attached is my suggested metadata.xml Let me know what you think of these changes, and I will commit this package.
Your changes look good. Works for me, feel free to commit.
Added to the tree. + 04 Aug 2012; Michael Palimaka <kensington@gentoo.org> + +files/keepass-2.19-skip-sgen-if-unix.patch, + +files/keepass-2.19-xsl-path-detection.patch, +files/keepass.xml, + +keepass-2.19.ebuild, +metadata.xml: + Initial import for bug #371723. Ebuild by Alessandro Di Federico + <ale@clearmind.me>.
I don't know if this is the right place of if I've to open a new bug, but here's the new version of the KeePass ebuild, out some days ago, version 2.20. The patch "keepass-2.19-skip-sgen-if-unix.patch" is not needed anymore as our change has been accepted by upstream. I've attached the new version of the other patch, due to some small changes in the code. Let me know if it's OK.
Created attachment 323456 [details] keepass-2.20.ebuild
Created attachment 323458 [details] Path detection patch for KeePass 2.20
(In reply to comment #18) > I don't know if this is the right place of if I've to open a new bug, but A new bug is better to make it easier to track progress. > here's the new version of the KeePass ebuild, out some days ago, version > 2.20. > The patch "keepass-2.19-skip-sgen-if-unix.patch" is not needed anymore as > our change has been accepted by upstream. I've attached the new version of > the other patch, due to some small changes in the code. > > Let me know if it's OK. Thanks for your work! I have committed the bump to portage. One suggestion: it is customary to submit updated ebuilds as patches against the latest version in the tree. It just makes it easier to see the changes. :)
OK, perfect. Next time I'll open a new bug and post the new ebuild as a patch against the previous version.