Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371723 - Add ebuild for keepass(2) - http://keepass.info
Summary: Add ebuild for keepass(2) - http://keepass.info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Alessandro Di Federico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 09:50 UTC by Sebastian L.
Modified: 2012-09-11 14:50 UTC (History)
6 users (show)

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


Attachments
keepass-2.16.ebuild (keepass-2.16.ebuild,1.12 KB, text/plain)
2011-10-10 21:03 UTC, Nils Andresen
Details
app-admin/keepass-bin-2.17 (keepass-bin-2.17.ebuild,1.06 KB, text/plain)
2011-10-30 18:05 UTC, Nils Andresen
Details
app-admin/keepass-bin-2.18.120116 (keepass-bin-2.18.120116.ebuild,1.15 KB, text/plain)
2012-01-23 13:33 UTC, Nils Andresen
Details
Screenshot of keepass startup (first run) (keepass1.png,20.32 KB, image/png)
2012-03-05 12:24 UTC, Sebastian L.
Details
Screenshot of main keepass window (keepass2.png,18.35 KB, image/png)
2012-03-05 12:25 UTC, Sebastian L.
Details
Screenshot of "Open" dialog (keepass3.png,27.47 KB, image/png)
2012-03-05 12:26 UTC, Sebastian L.
Details
Screenshot of open kdb dialog / enter passphrase (keepass4.png,12.40 KB, image/png)
2012-03-05 12:27 UTC, Sebastian L.
Details
Ebuild for KeePass 2.19 from sources (keepass.tar.xz,3.12 KB, application/x-xz)
2012-07-24 16:26 UTC, Alessandro Di Federico
Details
keepass-2.19.ebuild.patch (keepass-2.19.ebuild.patch,1.62 KB, patch)
2012-08-03 16:07 UTC, Michael Palimaka (kensington)
Details | Diff
metadata.xml (metadata.xml,654 bytes, text/plain)
2012-08-03 16:08 UTC, Michael Palimaka (kensington)
Details
keepass-2.20.ebuild (keepass-2.20.ebuild,2.30 KB, text/plain)
2012-09-10 21:25 UTC, Alessandro Di Federico
Details
Path detection patch for KeePass 2.20 (keepass-2.20-xsl-path-detection.patch,1.29 KB, text/plain)
2012-09-10 21:26 UTC, Alessandro Di Federico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian L. 2011-06-15 09:50:57 UTC
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
Comment 1 Nils Andresen 2011-10-10 21:03:17 UTC
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.
Comment 2 Nils Andresen 2011-10-30 18:05:44 UTC
Created attachment 291257 [details]
app-admin/keepass-bin-2.17
Comment 3 Thomas Jäger 2012-01-22 09:51:46 UTC
latest keepass2 version: 2.18  (additionally a version with mono 2.10 workaround)
(see http://keepass.info/)
Comment 4 Nils Andresen 2012-01-23 13:33:09 UTC
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)
Comment 5 Sebastian L. 2012-03-05 12:23:17 UTC
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?
Comment 6 Sebastian L. 2012-03-05 12:24:35 UTC
Created attachment 304289 [details]
Screenshot of keepass startup (first run)
Comment 7 Sebastian L. 2012-03-05 12:25:23 UTC
Created attachment 304291 [details]
Screenshot of main keepass window

see menu bar for reduced strings
Comment 8 Sebastian L. 2012-03-05 12:26:16 UTC
Created attachment 304293 [details]
Screenshot of "Open" dialog
Comment 9 Sebastian L. 2012-03-05 12:27:18 UTC
Created attachment 304295 [details]
Screenshot of open kdb dialog / enter passphrase
Comment 10 Alessandro Di Federico 2012-07-24 16:21:08 UTC
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.
Comment 11 Alessandro Di Federico 2012-07-24 16:26:05 UTC
Created attachment 319092 [details]
Ebuild for KeePass 2.19 from sources
Comment 12 Michael Palimaka (kensington) gentoo-dev 2012-08-02 14:57:39 UTC
(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?
Comment 13 Alessandro Di Federico 2012-08-02 15:31:32 UTC
Yes. I'm already following the KeePass release RSS.
Comment 14 Michael Palimaka (kensington) gentoo-dev 2012-08-03 16:07:03 UTC
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
Comment 15 Michael Palimaka (kensington) gentoo-dev 2012-08-03 16:08:35 UTC
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.
Comment 16 Alessandro Di Federico 2012-08-03 17:30:21 UTC
Your changes look good. Works for me, feel free to commit.
Comment 17 Michael Palimaka (kensington) gentoo-dev 2012-08-04 14:22:37 UTC
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>.
Comment 18 Alessandro Di Federico 2012-09-10 21:24:08 UTC
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.
Comment 19 Alessandro Di Federico 2012-09-10 21:25:32 UTC
Created attachment 323456 [details]
keepass-2.20.ebuild
Comment 20 Alessandro Di Federico 2012-09-10 21:26:05 UTC
Created attachment 323458 [details]
Path detection patch for KeePass 2.20
Comment 21 Michael Palimaka (kensington) gentoo-dev 2012-09-11 13:32:16 UTC
(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. :)
Comment 22 Alessandro Di Federico 2012-09-11 14:50:13 UTC
OK, perfect. Next time I'll open a new bug and post the new ebuild as a patch against the previous version.