[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2024-02-29 Thread Yixun Lan
commit: d6da577dc07023478104aef6e02beda92698230e
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar  1 00:19:29 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar  1 00:19:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6da577d

app-admin/keepass: add 2.56

Signed-off-by: Yixun Lan  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.56.ebuild | 116 ++
 2 files changed, 117 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 8c62c49b4e39..1c35ecef078a 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.49-Source.zip 5135190 BLAKE2B 
bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cb782b6628f722a0d564283b943eee6
 SHA512 
7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3
 DIST KeePass-2.53-Source.zip 5201820 BLAKE2B 
a87918278915f1a54d8f6d6b8ef05d5a86f41a58887a1c80a8217112061fd40d59393012ae7b69d6c2110a7b0b36c57ecce4292a68e9161e99e1762b1622192e
 SHA512 
8d35ec83ada7142e91be6a5889eabb98f1d8fe32140a3b904db76d64f42bed0ce1cc0378f38560b7f1307df545f00a398da599ef9fc44474e8c16722433d4e4e
+DIST KeePass-2.56-Source.zip 5231868 BLAKE2B 
d7ed0baf6db6a0398ce9bceb9a61088ef7cc14ba0c5b13a01123f9c7fca37e52bf352c438c3100ba32d59cfcfa90de790a07649684a971224bba6eb554cbed34
 SHA512 
cee9d8569e59a29044760dc94c4ab3ee6f1eb26aaa12d18a36d9e1b87e421291b49a3747fdb340a7af06494d65fe4d37579f16a577b0af2c053504b80e8a1c60

diff --git a/app-admin/keepass/keepass-2.56.ebuild 
b/app-admin/keepass/keepass-2.56.ebuild
new file mode 100644
index ..439e07752469
--- /dev/null
+++ b/app-admin/keepass/keepass-2.56.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature wrapper xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="aot"
+
+BDEPEND="app-arch/unzip"
+DEPEND="dev-lang/mono"
+RDEPEND="
+   ${DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.53-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # bug 704358
+   export LANG=C LC_ALL=C
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2023-09-27 Thread Sam James
commit: b78cc1d92b4fc56af3efd16854a2a301fcec5c73
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 28 04:35:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 28 04:35:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b78cc1d9

app-admin/keepass: Stabilize 2.53 x86, #914229

Signed-off-by: Sam James  gentoo.org>

 app-admin/keepass/keepass-2.53.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.53.ebuild 
b/app-admin/keepass/keepass-2.53.ebuild
index d955231a77ae..465f3b38acb4 100644
--- a/app-admin/keepass/keepass-2.53.ebuild
+++ b/app-admin/keepass/keepass-2.53.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2023-09-27 Thread Arthur Zamarin
commit: ac3d6b4d71bcbda5d2879060f59cd631cc893a62
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Sep 27 13:28:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Sep 27 13:28:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3d6b4d

app-admin/keepass: Stabilize 2.53 amd64, #914229

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-admin/keepass/keepass-2.53.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.53.ebuild 
b/app-admin/keepass/keepass-2.53.ebuild
index 23497c42fb39..d955231a77ae 100644
--- a/app-admin/keepass/keepass-2.53.ebuild
+++ b/app-admin/keepass/keepass-2.53.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/files/

2023-07-16 Thread Sam James
commit: 6a0e94e592d95fe3ce770ac8f77fa2126cf33c65
Author: Tom Gillespie  gmail  com>
AuthorDate: Sun Jul 16 22:54:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 16 23:01:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0e94e5

app-admin/keepass: fix 2.53 patch line endings

Closes: https://bugs.gentoo.org/910439
Signed-off-by: Tom Gillespie  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31918
Signed-off-by: Sam James  gentoo.org>

 .../files/keepass-2.53-xsl-path-detection.patch| 38 +++---
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch 
b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch
index 19701410cae6..3fed7593a1de 100644
--- a/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch
+++ b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch
@@ -1,22 +1,22 @@
 --- a/KeePass/Forms/AboutForm.cs
 +++ b/KeePass/Forms/AboutForm.cs
 @@ -135,7 +135,18 @@
-   m_lvComponents.Columns.Add(strValueColumn, 100);
- 
-   string strExe = WinUtil.GetExecutable();
--  string strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
-+  string strDir = null;
-+  if (KeePassLib.Native.NativeLib.IsUnix())
-+  {
-+  string strBPath = 
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
-+  strBPath = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
-+  strBPath += PwDefs.ShortProductName.ToLower();
-+  strDir = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
-+  }
-+  else
-+  {
-+  strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
-+  }
- 
-   AddComponentItem(PwDefs.ShortProductName, 
strMainVersion, strExe);
- 
+   m_lvComponents.Columns.Add(strValueColumn, 100);
+ 
+   string strExe = WinUtil.GetExecutable();
+-  string strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
++  string strDir = null;
++  if (KeePassLib.Native.NativeLib.IsUnix())
++  {
++  string strBPath = 
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
++  strBPath = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
++  strBPath += PwDefs.ShortProductName.ToLower();
++  strDir = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
++  }
++  else
++  {
++  strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
++  }
+ 
+   AddComponentItem(PwDefs.ShortProductName, 
strMainVersion, strExe);
+ 



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/files/, app-admin/keepass/

2023-07-16 Thread Sam James
commit: 4479023e5819adff874f352c311ac1f074940ae4
Author: Tom Gillespie  gmail  com>
AuthorDate: Thu Jan 26 02:38:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 16 18:36:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4479023e

app-admin/keepass: version bump 2.53 fix xsl patch

Closes: https://bugs.gentoo.org/835662
Signed-off-by: Tom Gillespie  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29273
Signed-off-by: Sam James  gentoo.org>

 app-admin/keepass/Manifest |   1 +
 .../files/keepass-2.53-xsl-path-detection.patch|  22 
 app-admin/keepass/keepass-2.53.ebuild  | 116 +
 3 files changed, 139 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 92b3d0126d99..8c62c49b4e39 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.49-Source.zip 5135190 BLAKE2B 
bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cb782b6628f722a0d564283b943eee6
 SHA512 
7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3
+DIST KeePass-2.53-Source.zip 5201820 BLAKE2B 
a87918278915f1a54d8f6d6b8ef05d5a86f41a58887a1c80a8217112061fd40d59393012ae7b69d6c2110a7b0b36c57ecce4292a68e9161e99e1762b1622192e
 SHA512 
8d35ec83ada7142e91be6a5889eabb98f1d8fe32140a3b904db76d64f42bed0ce1cc0378f38560b7f1307df545f00a398da599ef9fc44474e8c16722433d4e4e

diff --git a/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch 
b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch
new file mode 100644
index ..19701410cae6
--- /dev/null
+++ b/app-admin/keepass/files/keepass-2.53-xsl-path-detection.patch
@@ -0,0 +1,22 @@
+--- a/KeePass/Forms/AboutForm.cs
 b/KeePass/Forms/AboutForm.cs
+@@ -135,7 +135,18 @@
+   m_lvComponents.Columns.Add(strValueColumn, 100);
+ 
+   string strExe = WinUtil.GetExecutable();
+-  string strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
++  string strDir = null;
++  if (KeePassLib.Native.NativeLib.IsUnix())
++  {
++  string strBPath = 
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
++  strBPath = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
++  strBPath += PwDefs.ShortProductName.ToLower();
++  strDir = 
UrlUtil.EnsureTerminatingSeparator(strBPath, false);
++  }
++  else
++  {
++  strDir = UrlUtil.GetFileDirectory(strExe, true, 
false);
++  }
+ 
+   AddComponentItem(PwDefs.ShortProductName, 
strMainVersion, strExe);
+ 

diff --git a/app-admin/keepass/keepass-2.53.ebuild 
b/app-admin/keepass/keepass-2.53.ebuild
new file mode 100644
index ..56499f746e98
--- /dev/null
+++ b/app-admin/keepass/keepass-2.53.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature wrapper xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+BDEPEND="app-arch/unzip"
+DEPEND="dev-lang/mono"
+RDEPEND="
+   ${DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.53-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # bug 704358
+   export LANG=C LC_ALL=C
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2023-07-16 Thread Sam James
commit: e2bc22c27b805253f28ce5867e2e97ba6596c212
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 16 18:37:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 16 18:37:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bc22c2

app-admin/keepass: forward ~arm64

Signed-off-by: Sam James  gentoo.org>

 app-admin/keepass/keepass-2.53.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/keepass/keepass-2.53.ebuild 
b/app-admin/keepass/keepass-2.53.ebuild
index 56499f746e98..23497c42fb39 100644
--- a/app-admin/keepass/keepass-2.53.ebuild
+++ b/app-admin/keepass/keepass-2.53.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2023-05-27 Thread Arthur Zamarin
commit: b8277e72580e633e31d544ee9152b45957709c86
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 27 10:51:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 27 10:51:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8277e72

app-admin/keepass: Keyword 2.49 arm64, #907128

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-admin/keepass/keepass-2.49.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/keepass/keepass-2.49.ebuild 
b/app-admin/keepass/keepass-2.49.ebuild
index 7d5fde39dc39..2e453b7a9ddf 100644
--- a/app-admin/keepass/keepass-2.49.ebuild
+++ b/app-admin/keepass/keepass-2.49.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2022-07-23 Thread Matt Turner
commit: 302c2eea9248a25b356ea4a150b65a24f42d2f19
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Jul 24 01:00:03 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Jul 24 01:00:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302c2eea

app-admin/keepass: Drop inactive proxied maintainer

* Last commit:November 2018
* Last bugzilla activity:  January 2021

Closes: https://bugs.gentoo.org/632996
Signed-off-by: Matt Turner  gentoo.org>

 app-admin/keepass/metadata.xml | 7 ---
 1 file changed, 7 deletions(-)

diff --git a/app-admin/keepass/metadata.xml b/app-admin/keepass/metadata.xml
index cd5c27e13573..0de39b024dc7 100644
--- a/app-admin/keepass/metadata.xml
+++ b/app-admin/keepass/metadata.xml
@@ -1,17 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   a...@clearmind.me
-   

kensing...@gentoo.org
Michael Palimaka

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Generate native code at build time, rather 
than runtime.




[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-12-01 Thread Michael Palimaka
commit: 4fed2d7d53d68fadee3e7a0912a692ddc809602f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Dec  2 06:45:52 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Dec  2 06:45:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fed2d7d

app-admin/keepass: remove 2.48.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest  |   1 -
 app-admin/keepass/keepass-2.48.1.ebuild | 116 
 2 files changed, 117 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index f960bd37e211..92b3d0126d99 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.48.1-Source.zip 5123663 BLAKE2B 
919a109d114a8bc404a02f063a81013581f64e4e97fe0f024e3e0ca7a3da773a6a4af20447ab3641c3a9e82c861b8b7095793f917f0bbd69d8b443d2ce022a9f
 SHA512 
1faa9f770fc7030f884a661d95f9d2d6d50627153fdf56331b7ad2cbaa4648e263697c999ca15e62a9946e0c6d4df45cf004ae21b715d99949967e25f4728d18
 DIST KeePass-2.49-Source.zip 5135190 BLAKE2B 
bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cb782b6628f722a0d564283b943eee6
 SHA512 
7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3

diff --git a/app-admin/keepass/keepass-2.48.1.ebuild 
b/app-admin/keepass/keepass-2.48.1.ebuild
deleted file mode 100644
index afa3624b3df1..
--- a/app-admin/keepass/keepass-2.48.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop optfeature wrapper xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="aot"
-
-BDEPEND="app-arch/unzip"
-DEPEND="dev-lang/mono"
-RDEPEND="
-   ${DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-# bug #687052
-# file generated by mono --aot where *FLAGS don't make sense
-QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # bug 704358
-   export LANG=C LC_ALL=C
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
-}
-
-pkg_postinst() {
-   xdg_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   optfeature "enables 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-12-01 Thread Michael Palimaka
commit: c1c5986ec4feaf39fd82a38e09c25ad991c4bcd3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Dec  2 06:45:31 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Dec  2 06:45:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1c5986e

app-admin/keepass: remove 2.46

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.46.ebuild | 113 --
 2 files changed, 114 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 7782ed6bff6d..f960bd37e211 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1,2 @@
-DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219
 DIST KeePass-2.48.1-Source.zip 5123663 BLAKE2B 
919a109d114a8bc404a02f063a81013581f64e4e97fe0f024e3e0ca7a3da773a6a4af20447ab3641c3a9e82c861b8b7095793f917f0bbd69d8b443d2ce022a9f
 SHA512 
1faa9f770fc7030f884a661d95f9d2d6d50627153fdf56331b7ad2cbaa4648e263697c999ca15e62a9946e0c6d4df45cf004ae21b715d99949967e25f4728d18
 DIST KeePass-2.49-Source.zip 5135190 BLAKE2B 
bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cb782b6628f722a0d564283b943eee6
 SHA512 
7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3

diff --git a/app-admin/keepass/keepass-2.46.ebuild 
b/app-admin/keepass/keepass-2.46.ebuild
deleted file mode 100644
index 550a4da96f43..
--- a/app-admin/keepass/keepass-2.46.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop optfeature wrapper xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-BDEPEND="app-arch/unzip"
-DEPEND="dev-lang/mono"
-RDEPEND="
-   ${DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-# bug #687052
-# file generated by mono --aot where *FLAGS don't make sense
-QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-11-03 Thread Jakov Smolić
commit: 041dfedd648cd3b9d7554e8e5a6abd3336e86d51
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Nov  4 00:42:05 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Nov  4 00:42:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041dfedd

app-admin/keepass: Stabilize 2.49 amd64, #817662

Signed-off-by: Jakov Smolić  gentoo.org>

 app-admin/keepass/keepass-2.49.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.49.ebuild 
b/app-admin/keepass/keepass-2.49.ebuild
index 82cb8e525c4..7d5fde39dc3 100644
--- a/app-admin/keepass/keepass-2.49.ebuild
+++ b/app-admin/keepass/keepass-2.49.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-10-28 Thread Sam James
commit: ff4e9f68a3d6309f3e27934e52d50216e7ac31c5
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 28 06:21:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 28 06:21:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4e9f68

app-admin/keepass: Stabilize 2.49 x86, #817662

Signed-off-by: Sam James  gentoo.org>

 app-admin/keepass/keepass-2.49.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.49.ebuild 
b/app-admin/keepass/keepass-2.49.ebuild
index f603d70fa8c..82cb8e525c4 100644
--- a/app-admin/keepass/keepass-2.49.ebuild
+++ b/app-admin/keepass/keepass-2.49.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="aot"
 
 BDEPEND="app-arch/unzip"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-09-20 Thread Michael Palimaka
commit: 6daf6603c026127a9f77fd5790f2458be5b13109
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Sep 20 08:39:11 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Sep 20 08:48:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6daf6603

app-admin/keepass: remove 2.47

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.47.ebuild | 116 --
 2 files changed, 117 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 4607f0f9414..957ddce5a08 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1,2 @@
 DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219
-DIST KeePass-2.47-Source.zip 515 BLAKE2B 
9a71706efbb734244a0de6e1ba705ebaeb550368a77b1e74eaae47ec5a9c7dd12139740d7502dd5ad40e6b90e179f037ca5eae1650c2659a0a64260a93cd595f
 SHA512 
df0f4dc9702198b4d31e78ac4fa1e85746dc7618529ab5ceaae1f6e1cc68a9a574f7892caff99e767f583fe102d87f0bfaf579f375eb227bf6f28fce6253a8f1
 DIST KeePass-2.48.1-Source.zip 5123663 BLAKE2B 
919a109d114a8bc404a02f063a81013581f64e4e97fe0f024e3e0ca7a3da773a6a4af20447ab3641c3a9e82c861b8b7095793f917f0bbd69d8b443d2ce022a9f
 SHA512 
1faa9f770fc7030f884a661d95f9d2d6d50627153fdf56331b7ad2cbaa4648e263697c999ca15e62a9946e0c6d4df45cf004ae21b715d99949967e25f4728d18

diff --git a/app-admin/keepass/keepass-2.47.ebuild 
b/app-admin/keepass/keepass-2.47.ebuild
deleted file mode 100644
index afa3624b3df..000
--- a/app-admin/keepass/keepass-2.47.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop optfeature wrapper xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="aot"
-
-BDEPEND="app-arch/unzip"
-DEPEND="dev-lang/mono"
-RDEPEND="
-   ${DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-# bug #687052
-# file generated by mono --aot where *FLAGS don't make sense
-QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # bug 704358
-   export LANG=C LC_ALL=C
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-09-20 Thread Michael Palimaka
commit: fcf6ae367f7423ab548d63863df481637f808f9e
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Sep 20 08:45:28 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Sep 20 08:48:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf6ae36

app-admin/keepass: version bump 2.49

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.49.ebuild | 116 ++
 2 files changed, 117 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 957ddce5a08..7782ed6bff6 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219
 DIST KeePass-2.48.1-Source.zip 5123663 BLAKE2B 
919a109d114a8bc404a02f063a81013581f64e4e97fe0f024e3e0ca7a3da773a6a4af20447ab3641c3a9e82c861b8b7095793f917f0bbd69d8b443d2ce022a9f
 SHA512 
1faa9f770fc7030f884a661d95f9d2d6d50627153fdf56331b7ad2cbaa4648e263697c999ca15e62a9946e0c6d4df45cf004ae21b715d99949967e25f4728d18
+DIST KeePass-2.49-Source.zip 5135190 BLAKE2B 
bf5a9aab0065a97545bd1b81a74b5ab113e4c4802873445719ce2a571745b04c69ab5d8be9a67dc59a713947f0955cb782b6628f722a0d564283b943eee6
 SHA512 
7a25de6acb2637bd8820fb70866ab4ced4ece4b3e64172f616c2fb59d2a4e7a2f340435db10731ed3d7e66db7761487925cf1c7941b0bac12e72c5fcd9e8b7d3

diff --git a/app-admin/keepass/keepass-2.49.ebuild 
b/app-admin/keepass/keepass-2.49.ebuild
new file mode 100644
index 000..f603d70fa8c
--- /dev/null
+++ b/app-admin/keepass/keepass-2.49.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature wrapper xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+BDEPEND="app-arch/unzip"
+DEPEND="dev-lang/mono"
+RDEPEND="
+   ${DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # bug 704358
+   export LANG=C LC_ALL=C
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-05-27 Thread Michael Palimaka
commit: 7a5e440b877f5cffc9b11a0eb4f8b16f8dab1780
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu May 27 08:35:15 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu May 27 08:35:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5e440b

app-admin/keepass: version bump 2.48.1

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest  |   1 +
 app-admin/keepass/keepass-2.48.1.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index c67335930b7..4607f0f9414 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219
 DIST KeePass-2.47-Source.zip 515 BLAKE2B 
9a71706efbb734244a0de6e1ba705ebaeb550368a77b1e74eaae47ec5a9c7dd12139740d7502dd5ad40e6b90e179f037ca5eae1650c2659a0a64260a93cd595f
 SHA512 
df0f4dc9702198b4d31e78ac4fa1e85746dc7618529ab5ceaae1f6e1cc68a9a574f7892caff99e767f583fe102d87f0bfaf579f375eb227bf6f28fce6253a8f1
+DIST KeePass-2.48.1-Source.zip 5123663 BLAKE2B 
919a109d114a8bc404a02f063a81013581f64e4e97fe0f024e3e0ca7a3da773a6a4af20447ab3641c3a9e82c861b8b7095793f917f0bbd69d8b443d2ce022a9f
 SHA512 
1faa9f770fc7030f884a661d95f9d2d6d50627153fdf56331b7ad2cbaa4648e263697c999ca15e62a9946e0c6d4df45cf004ae21b715d99949967e25f4728d18

diff --git a/app-admin/keepass/keepass-2.48.1.ebuild 
b/app-admin/keepass/keepass-2.48.1.ebuild
new file mode 100644
index 000..afa3624b3df
--- /dev/null
+++ b/app-admin/keepass/keepass-2.48.1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop optfeature wrapper xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+BDEPEND="app-arch/unzip"
+DEPEND="dev-lang/mono"
+RDEPEND="
+   ${DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # bug 704358
+   export LANG=C LC_ALL=C
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-04-20 Thread Michael Palimaka
commit: cd0e7cad92c1cd674a00cabdd90d42388787b3b5
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Apr 20 11:48:58 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Apr 20 11:48:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0e7cad

app-admin/keepass: force LANG=C

Bug: https://bugs.gentoo.org/704358
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/keepass-2.47.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-admin/keepass/keepass-2.47.ebuild 
b/app-admin/keepass/keepass-2.47.ebuild
index 850250d93e2..afa3624b3df 100644
--- a/app-admin/keepass/keepass-2.47.ebuild
+++ b/app-admin/keepass/keepass-2.47.ebuild
@@ -46,6 +46,9 @@ src_prepare() {
 src_compile() {
export MONO_REGISTRY_PATH=/dev/null # bug 659808
 
+   # bug 704358
+   export LANG=C LC_ALL=C
+
# Build with Release target
xbuild /target:KeePass /property:Configuration=Release || die
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2021-02-23 Thread Michael Palimaka
commit: f566b1cba2ec40f051cb6743e76ab5be0d3351bb
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Feb 24 07:27:46 2021 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Feb 24 07:27:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f566b1cb

app-admin/keepass: version bump 2.47

Closes: https://bugs.gentoo.org/771915
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.47.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index c6e75569a9c..c67335930b7 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219
+DIST KeePass-2.47-Source.zip 515 BLAKE2B 
9a71706efbb734244a0de6e1ba705ebaeb550368a77b1e74eaae47ec5a9c7dd12139740d7502dd5ad40e6b90e179f037ca5eae1650c2659a0a64260a93cd595f
 SHA512 
df0f4dc9702198b4d31e78ac4fa1e85746dc7618529ab5ceaae1f6e1cc68a9a574f7892caff99e767f583fe102d87f0bfaf579f375eb227bf6f28fce6253a8f1

diff --git a/app-admin/keepass/keepass-2.47.ebuild 
b/app-admin/keepass/keepass-2.47.ebuild
new file mode 100644
index 000..af7035cf7b4
--- /dev/null
+++ b/app-admin/keepass/keepass-2.47.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-11-17 Thread Michael Palimaka
commit: 35ec27d71a3948011aa6d47fec8d92adeb57f019
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Nov 17 10:29:23 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Nov 17 10:29:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ec27d7

app-admin/keepass: remove 2.44 and 2.45

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   2 -
 app-admin/keepass/keepass-2.44.ebuild | 117 --
 app-admin/keepass/keepass-2.45.ebuild | 117 --
 3 files changed, 236 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 6ec2cec8abe..c6e75569a9c 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1 @@
-DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 
092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837
 SHA512 
ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e
-DIST KeePass-2.45-Source.zip 5011684 BLAKE2B 
cf7fafb2666f2e0005533e441f1855006aa64aca69b4829fa66117da88f92e6aa65d58b303a099221e796a500bc5abab5c3d0654e6fa53c3fe6f36d3cb18e381
 SHA512 
3f9b14e57fce047f8d8ae7c289fffd954545c5638fa20392e7864301073452a4353f487832730fb600e1729b160c1bce7e66fc8629788e666418a2afbf9a
 DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219

diff --git a/app-admin/keepass/keepass-2.44.ebuild 
b/app-admin/keepass/keepass-2.44.ebuild
deleted file mode 100644
index a42724fe858..000
--- a/app-admin/keepass/keepass-2.44.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop eutils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-# bug #687052
-# file generated by mono --aot where *FLAGS don't make sense
-QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-11-12 Thread Sam James
commit: 0414106ccd299fe6b2c4d4bb2207bcefaba39b16
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 12 12:27:11 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 12 12:27:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0414106c

app-admin/keepass: Stabilize 2.46 amd64, #751826

Signed-off-by: Sam James  gentoo.org>

 app-admin/keepass/keepass-2.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.46.ebuild 
b/app-admin/keepass/keepass-2.46.ebuild
index cc9a5d395e3..a42724fe858 100644
--- a/app-admin/keepass/keepass-2.46.ebuild
+++ b/app-admin/keepass/keepass-2.46.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-10-30 Thread Thomas Deutschmann
commit: f97183faade9684d8b7a7b359c1d226d19b00e7e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 30 22:31:56 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 30 22:32:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97183fa

app-admin/keepass: x86 stable (bug #751826)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-admin/keepass/keepass-2.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.46.ebuild 
b/app-admin/keepass/keepass-2.46.ebuild
index db354f61366..cc9a5d395e3 100644
--- a/app-admin/keepass/keepass-2.46.ebuild
+++ b/app-admin/keepass/keepass-2.46.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-09-18 Thread Michael Palimaka
commit: 6dcba6c6a4cd9da2a67b87e8813997e752a5a78f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Sep 18 09:36:50 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 18 09:38:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dcba6c6

app-admin/keepass: version bump 2.46

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.46.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 847d764b1bc..6ec2cec8abe 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 
092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837
 SHA512 
ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e
 DIST KeePass-2.45-Source.zip 5011684 BLAKE2B 
cf7fafb2666f2e0005533e441f1855006aa64aca69b4829fa66117da88f92e6aa65d58b303a099221e796a500bc5abab5c3d0654e6fa53c3fe6f36d3cb18e381
 SHA512 
3f9b14e57fce047f8d8ae7c289fffd954545c5638fa20392e7864301073452a4353f487832730fb600e1729b160c1bce7e66fc8629788e666418a2afbf9a
+DIST KeePass-2.46-Source.zip 5054069 BLAKE2B 
81567ab4589e53ae5cc1b75fa42cc61d9d0f390edfa8f8d860dd118a95185a8d2ca417b30b29e2b544b1d4eeeb0069fab2f0be7900fd4d7fb87d41c417b99876
 SHA512 
ca045cb7363092f948d72243991fe398836b13183cc2685477d7ce5dd629213b5803b4216134c7ba6451726b79ca43d1e93a1934c9cbff46293fa916b9348219

diff --git a/app-admin/keepass/keepass-2.46.ebuild 
b/app-admin/keepass/keepass-2.46.ebuild
new file mode 100644
index 000..db354f61366
--- /dev/null
+++ b/app-admin/keepass/keepass-2.46.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-06-28 Thread Thomas Deutschmann
commit: 6741be4bbbf03a4d2019d80b5692779140180187
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 28 19:35:04 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 28 20:55:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6741be4b

app-admin/keepass: x86 stable (bug #729574)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-admin/keepass/keepass-2.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.45.ebuild 
b/app-admin/keepass/keepass-2.45.ebuild
index db354f61366..cc9a5d395e3 100644
--- a/app-admin/keepass/keepass-2.45.ebuild
+++ b/app-admin/keepass/keepass-2.45.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-05-11 Thread Michael Palimaka
commit: 0df0bc898208d08011c4cdad1c8321fc859261bf
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon May 11 11:19:35 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon May 11 11:19:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df0bc89

app-admin/keepass: version bump 2.45

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.45.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 022fd5fc18a..847d764b1bc 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 
092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837
 SHA512 
ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e
+DIST KeePass-2.45-Source.zip 5011684 BLAKE2B 
cf7fafb2666f2e0005533e441f1855006aa64aca69b4829fa66117da88f92e6aa65d58b303a099221e796a500bc5abab5c3d0654e6fa53c3fe6f36d3cb18e381
 SHA512 
3f9b14e57fce047f8d8ae7c289fffd954545c5638fa20392e7864301073452a4353f487832730fb600e1729b160c1bce7e66fc8629788e666418a2afbf9a

diff --git a/app-admin/keepass/keepass-2.45.ebuild 
b/app-admin/keepass/keepass-2.45.ebuild
new file mode 100644
index 000..db354f61366
--- /dev/null
+++ b/app-admin/keepass/keepass-2.45.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-03-27 Thread Michael Palimaka
commit: 847c14b427b56c5703b42f684e5a9d8bef37f0d9
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Mar 28 03:05:55 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Mar 28 03:05:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847c14b4

app-admin/keepass: remove 2.43

Package-Manager: Portage-2.3.89, Repoman-2.3.21
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.43.ebuild | 117 --
 2 files changed, 118 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 58a2544fefc..022fd5fc18a 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 
72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0
 SHA512 
c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8
 DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 
092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837
 SHA512 
ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e

diff --git a/app-admin/keepass/keepass-2.43.ebuild 
b/app-admin/keepass/keepass-2.43.ebuild
deleted file mode 100644
index 25c9b9aec3f..000
--- a/app-admin/keepass/keepass-2.43.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-# bug #687052
-# file generated by mono --aot where *FLAGS don't make sense
-QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-03-27 Thread Agostino Sarubbo
commit: 8f57e98706cd17b7250522fb164309cefd1f62d8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 27 16:31:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 27 16:31:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f57e987

app-admin/keepass: x86 stable wrt bug #713352

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.44.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.44.ebuild 
b/app-admin/keepass/keepass-2.44.ebuild
index e90fab3a310..a42724fe858 100644
--- a/app-admin/keepass/keepass-2.44.ebuild
+++ b/app-admin/keepass/keepass-2.44.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-03-22 Thread Mikle Kolyada
commit: 1264176f26295a254797711d8357be6ead56662c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 22 08:45:24 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 22 08:46:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1264176f

app-admin/keepass: amd64 stable wrt bug #713352

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 app-admin/keepass/keepass-2.44.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.44.ebuild 
b/app-admin/keepass/keepass-2.44.ebuild
index db354f61366..e90fab3a310 100644
--- a/app-admin/keepass/keepass-2.44.ebuild
+++ b/app-admin/keepass/keepass-2.44.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-02-10 Thread Michael Palimaka
commit: 9f610f8ea865db7d9a5d131920810cc1fee0b960
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Feb 10 11:11:04 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Feb 10 11:12:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f610f8e

app-admin/keepass: version bump 2.44

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.44.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 0ffc6e2a60a..58a2544fefc 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 
72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0
 SHA512 
c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8
+DIST KeePass-2.44-Source.zip 5182922 BLAKE2B 
092d1b982d748ea1b13f26fe5423a491855cb491c80cae7632429d488f80fd730df5d2f1613bab528d55a3aadcf0cb4f4055a637d2b14b68a468e4baf9ab1837
 SHA512 
ef2ca69e40c0787b63fc30a2b222dd77fd9f0addf8593511dcd0a47580cc8de5e0900c7d4e6f77c0e5a49d1728286cf1b5856cdc65ef175e4acfdd1ffc54b55e

diff --git a/app-admin/keepass/keepass-2.44.ebuild 
b/app-admin/keepass/keepass-2.44.ebuild
new file mode 100644
index 000..db354f61366
--- /dev/null
+++ b/app-admin/keepass/keepass-2.44.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-02-10 Thread Michael Palimaka
commit: 2b35661a1844af25aa5eb03ffadcf5a2debab196
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Feb 10 11:00:49 2020 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Feb 10 11:00:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b35661a

app-admin/keepass: remove 2.42.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest  |   1 -
 app-admin/keepass/keepass-2.42.1.ebuild | 113 
 2 files changed, 114 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 470ee9d4d77..0ffc6e2a60a 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B 
c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f
 SHA512 
c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22
 DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 
72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0
 SHA512 
c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8

diff --git a/app-admin/keepass/keepass-2.42.1.ebuild 
b/app-admin/keepass/keepass-2.42.1.ebuild
deleted file mode 100644
index c5d1b4af359..000
--- a/app-admin/keepass/keepass-2.42.1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  x11-misc/xdotool (enables autotype/autofill)"
-   fi
-
-   elog "Some 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-01-21 Thread Agostino Sarubbo
commit: 81843bbcadf3c3a4e8288bdf57195d901b48f6b3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 21 10:41:23 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 21 10:41:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81843bbc

app-admin/keepass: x86 stable wrt bug #705930

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.43.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.43.ebuild 
b/app-admin/keepass/keepass-2.43.ebuild
index 550025586e7..25c9b9aec3f 100644
--- a/app-admin/keepass/keepass-2.43.ebuild
+++ b/app-admin/keepass/keepass-2.43.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2020-01-20 Thread Agostino Sarubbo
commit: 86e42188aaadc12bfa73c2e3293fd9df6d00b28e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 20 13:03:59 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 20 13:03:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e42188

app-admin/keepass: amd64 stable wrt bug #705930

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.43.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/keepass/keepass-2.43.ebuild 
b/app-admin/keepass/keepass-2.43.ebuild
index 6c256a5a27b..550025586e7 100644
--- a/app-admin/keepass/keepass-2.43.ebuild
+++ b/app-admin/keepass/keepass-2.43.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-11-04 Thread Michael Palimaka
commit: 0382c685c01e9769755eb68f6bb11e56ec61e906
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Nov  5 06:17:49 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Nov  5 06:20:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0382c685

app-admin/keepass: avoid irrelevant warning when built with USE="aot"

Closes: https://bugs.gentoo.org/687052
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/keepass-2.43.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-admin/keepass/keepass-2.43.ebuild 
b/app-admin/keepass/keepass-2.43.ebuild
index 1dc244ea08c..6c256a5a27b 100644
--- a/app-admin/keepass/keepass-2.43.ebuild
+++ b/app-admin/keepass/keepass-2.43.ebuild
@@ -26,6 +26,10 @@ RDEPEND="${COMMON_DEPEND}
 S="${WORKDIR}"
 PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
 
+# bug #687052
+# file generated by mono --aot where *FLAGS don't make sense
+QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
+
 src_prepare() {
# KeePass looks for some XSL files in the same folder as the executable,
# we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-09-23 Thread Michael Palimaka
commit: 18cacf18ab6873e7079731871fd61a23c392c478
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Sep 23 08:46:32 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Sep 23 08:46:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18cacf18

app-admin/keepass: version bump 2.43

Package-Manager: Portage-2.3.69, Repoman-2.3.17
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.43.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index eeae91cd736..470ee9d4d77 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B 
c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f
 SHA512 
c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22
+DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 
72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0
 SHA512 
c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8

diff --git a/app-admin/keepass/keepass-2.43.ebuild 
b/app-admin/keepass/keepass-2.43.ebuild
new file mode 100644
index 000..1dc244ea08c
--- /dev/null
+++ b/app-admin/keepass/keepass-2.43.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog "Some 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-08-06 Thread Michael Palimaka
commit: f41864a826d4a049f4311d77ccacb822134bb5f0
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Aug  6 11:25:07 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Aug  6 11:26:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41864a8

app-admin/keepass: remove 2.41

Package-Manager: Portage-2.3.69, Repoman-2.3.17
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.41.ebuild | 113 --
 2 files changed, 114 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 93678d5edbd..eeae91cd736 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.41-Source.zip 5141195 BLAKE2B 
7f61efa6d73fbfd5de283567a1673f5757619ebb81f3daa3fba82c887874f2cdb15f74221bf389013fe4cf19c83f00f87de2c596d22a22f5f38b5236dab01e44
 SHA512 
0d9398f529e004df6a4d3e0b8e34a1324b1806bf44987e9cb2d7535eaf02192662e72c89f1e41b7da01d23b0d686fbbca7a956ef7873fd8b1948847fbf5d27a5
 DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B 
c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f
 SHA512 
c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22

diff --git a/app-admin/keepass/keepass-2.41.ebuild 
b/app-admin/keepass/keepass-2.41.ebuild
deleted file mode 100644
index c5d1b4af359..000
--- a/app-admin/keepass/keepass-2.41.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  x11-misc/xdotool (enables autotype/autofill)"
-   fi
-
-   elog "Some systems 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-08-06 Thread Agostino Sarubbo
commit: 0648569e4d50ce36985f61b941f69e6b368a9998
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug  6 10:39:44 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug  6 10:39:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0648569e

app-admin/keepass: x86 stable wrt bug #691388

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.42.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.42.1.ebuild 
b/app-admin/keepass/keepass-2.42.1.ebuild
index 9bdebcfa116..c5d1b4af359 100644
--- a/app-admin/keepass/keepass-2.42.1.ebuild
+++ b/app-admin/keepass/keepass-2.42.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-08-06 Thread Agostino Sarubbo
commit: 2e83b8a112a5974c8daa59dfb5e78339da488fa0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug  6 09:37:35 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug  6 09:37:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e83b8a1

app-admin/keepass: amd64 stable wrt bug #691388

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.42.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.42.1.ebuild 
b/app-admin/keepass/keepass-2.42.1.ebuild
index 1dc244ea08c..9bdebcfa116 100644
--- a/app-admin/keepass/keepass-2.42.1.ebuild
+++ b/app-admin/keepass/keepass-2.42.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-05-08 Thread Michael Palimaka
commit: 17307e5b041646355e89b7adcad84f5f8e25d829
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed May  8 11:02:42 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed May  8 11:03:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17307e5b

app-admin/keepass: version bump 2.42.1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest  |   1 +
 app-admin/keepass/keepass-2.42.1.ebuild | 113 
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 909171f8610..93678d5edbd 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.41-Source.zip 5141195 BLAKE2B 
7f61efa6d73fbfd5de283567a1673f5757619ebb81f3daa3fba82c887874f2cdb15f74221bf389013fe4cf19c83f00f87de2c596d22a22f5f38b5236dab01e44
 SHA512 
0d9398f529e004df6a4d3e0b8e34a1324b1806bf44987e9cb2d7535eaf02192662e72c89f1e41b7da01d23b0d686fbbca7a956ef7873fd8b1948847fbf5d27a5
+DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B 
c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f
 SHA512 
c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22

diff --git a/app-admin/keepass/keepass-2.42.1.ebuild 
b/app-admin/keepass/keepass-2.42.1.ebuild
new file mode 100644
index 000..1dc244ea08c
--- /dev/null
+++ b/app-admin/keepass/keepass-2.42.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-02-28 Thread Michael Palimaka
commit: f2b94a957b1dbf98c9ab7265f1df4d6661d4aa21
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Feb 28 12:44:06 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Feb 28 12:45:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b94a95

app-admin/keepass: stabilise 2.41 for amd64/x86

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/keepass-2.41.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.41.ebuild 
b/app-admin/keepass/keepass-2.41.ebuild
index 1dc244ea08c..c5d1b4af359 100644
--- a/app-admin/keepass/keepass-2.41.ebuild
+++ b/app-admin/keepass/keepass-2.41.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-02-28 Thread Michael Palimaka
commit: 7ff419fb65f255464ca0a854146997e407ba85f9
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Feb 28 12:44:34 2019 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Feb 28 12:45:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff419fb

app-admin/keepass: remove 2.40

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest   |   1 -
 app-admin/keepass/keepass-2.40-r1.ebuild | 113 ---
 2 files changed, 114 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 521f2d8ea96..909171f8610 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 
7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73
 SHA512 
222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145
 DIST KeePass-2.41-Source.zip 5141195 BLAKE2B 
7f61efa6d73fbfd5de283567a1673f5757619ebb81f3daa3fba82c887874f2cdb15f74221bf389013fe4cf19c83f00f87de2c596d22a22f5f38b5236dab01e44
 SHA512 
0d9398f529e004df6a4d3e0b8e34a1324b1806bf44987e9cb2d7535eaf02192662e72c89f1e41b7da01d23b0d686fbbca7a956ef7873fd8b1948847fbf5d27a5

diff --git a/app-admin/keepass/keepass-2.40-r1.ebuild 
b/app-admin/keepass/keepass-2.40-r1.ebuild
deleted file mode 100644
index 6a0068dce46..000
--- a/app-admin/keepass/keepass-2.40-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   pushd Build || die
-   source PrepMonoDev.sh || die
-   popd || die
-}
-
-src_compile() {
-   export MONO_REGISTRY_PATH=/dev/null # bug 659808
-
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}"
-   exeinto "/usr/$(get_libdir)/${PN}"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  x11-misc/xdotool (enables autotype/autofill)"
-   fi
-
-   elog "Some 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2019-01-10 Thread Manuel Rüger
commit: b01c1a8aca55b852f1ca0b08549ce9adec69cb71
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Jan 10 11:17:45 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Jan 10 11:18:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01c1a8a

app-admin/keepass: Version bump to 2.41

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.41.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 64419adf1b9..521f2d8ea96 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 
7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73
 SHA512 
222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145
+DIST KeePass-2.41-Source.zip 5141195 BLAKE2B 
7f61efa6d73fbfd5de283567a1673f5757619ebb81f3daa3fba82c887874f2cdb15f74221bf389013fe4cf19c83f00f87de2c596d22a22f5f38b5236dab01e44
 SHA512 
0d9398f529e004df6a4d3e0b8e34a1324b1806bf44987e9cb2d7535eaf02192662e72c89f1e41b7da01d23b0d686fbbca7a956ef7873fd8b1948847fbf5d27a5

diff --git a/app-admin/keepass/keepass-2.41.ebuild 
b/app-admin/keepass/keepass-2.41.ebuild
new file mode 100644
index 000..1dc244ea08c
--- /dev/null
+++ b/app-admin/keepass/keepass-2.41.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog "Some systems may 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-11-16 Thread Michael Palimaka
commit: 929df0fd9b5240d082cce55d451e9930ca5a7965
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Nov 17 07:21:30 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Nov 17 07:24:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929df0fd

app-admin/keepass: remove old

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/Manifest  |   2 -
 app-admin/keepass/keepass-2.38.ebuild   | 111 
 app-admin/keepass/keepass-2.39.1.ebuild | 111 
 app-admin/keepass/keepass-2.40.ebuild   | 111 
 4 files changed, 335 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index af6c4787cba..64419adf1b9 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1 @@
-DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 
22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231
 SHA512 
42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
-DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 
0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c
 SHA512 
9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314
 DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 
7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73
 SHA512 
222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145

diff --git a/app-admin/keepass/keepass-2.38.ebuild 
b/app-admin/keepass/keepass-2.38.ebuild
deleted file mode 100644
index 4b997c59a7e..000
--- a/app-admin/keepass/keepass-2.38.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   cd Build || die
-   source PrepMonoDev.sh || die
-   cd ../ || die
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}/"
-   exeinto "/usr/$(get_libdir)/${PN}/"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages/
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-11-16 Thread Michael Palimaka
commit: 4f0c9d736deb10b47f919d4f1f0684f873c3351d
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Nov 17 07:21:04 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Nov 17 07:24:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0c9d73

app-admin/keepass: stabilise 2.40-r1 for amd64/x86

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/keepass-2.40-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.40-r1.ebuild 
b/app-admin/keepass/keepass-2.40-r1.ebuild
index ef34df76c0b..6a0068dce46 100644
--- a/app-admin/keepass/keepass-2.40-r1.ebuild
+++ b/app-admin/keepass/keepass-2.40-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-11-08 Thread Michael Palimaka
commit: 351c87e04aeb51bf723a4c323967baa33cfa9935
Author: Alessandro Di Federico  clearmind  me>
AuthorDate: Thu Nov  8 13:20:38 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Nov  8 13:22:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351c87e0

app-admin/keepass: fix sandbox violation with mono-5

Closes: https://bugs.gentoo.org/659808
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka  gentoo.org>

 app-admin/keepass/keepass-2.40-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-admin/keepass/keepass-2.40-r1.ebuild 
b/app-admin/keepass/keepass-2.40-r1.ebuild
index 2e9012f8220..ef34df76c0b 100644
--- a/app-admin/keepass/keepass-2.40-r1.ebuild
+++ b/app-admin/keepass/keepass-2.40-r1.ebuild
@@ -41,6 +41,8 @@ src_prepare() {
 }
 
 src_compile() {
+   export MONO_REGISTRY_PATH=/dev/null # bug 659808
+
# Build with Release target
xbuild /target:KeePass /property:Configuration=Release || die
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-10-06 Thread Michael Palimaka
commit: 9c5bb37bf6ebebec1b9990ee9294ada0cd250ce6
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Oct  6 10:31:54 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Oct  6 10:32:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5bb37b

app-admin/keepass: define WMClass in .desktop file

Closes: https://bugs.gentoo.org/626710
Signed-off-by: Michael Palimaka  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-admin/keepass/keepass-2.40-r1.ebuild | 111 +++
 1 file changed, 111 insertions(+)

diff --git a/app-admin/keepass/keepass-2.40-r1.ebuild 
b/app-admin/keepass/keepass-2.40-r1.ebuild
new file mode 100644
index 000..2e9012f8220
--- /dev/null
+++ b/app-admin/keepass/keepass-2.40-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog "Some systems may experience issues with copy and paste 
operations."
+   elog "If you encounter this, please install x11-misc/xsel."
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-09-16 Thread Manuel Rüger
commit: 9766e86d5fa0370212e79bf7417f5d88845bb25b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 16 14:33:56 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 16 14:33:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9766e86d

app-admin/keepass: Version bump to 2.40

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.40.ebuild | 111 ++
 2 files changed, 112 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 66fb3b02e55..af6c4787cba 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 
22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231
 SHA512 
42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
 DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 
0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c
 SHA512 
9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314
+DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 
7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73
 SHA512 
222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145

diff --git a/app-admin/keepass/keepass-2.40.ebuild 
b/app-admin/keepass/keepass-2.40.ebuild
new file mode 100644
index 000..e1e03bb233e
--- /dev/null
+++ b/app-admin/keepass/keepass-2.40.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-05-25 Thread Manuel Rüger
commit: a1d4e70c995ff21aa40a6904d05c1304c1f27554
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat May 26 01:09:41 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat May 26 01:09:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d4e70c

app-admin/keepass: Version bump to 2.39.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-admin/keepass/Manifest  |   1 +
 app-admin/keepass/keepass-2.39.1.ebuild | 111 
 2 files changed, 112 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index bc4630ab04e..66fb3b02e55 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 
22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231
 SHA512 
42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
+DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 
0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c
 SHA512 
9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314

diff --git a/app-admin/keepass/keepass-2.39.1.ebuild 
b/app-admin/keepass/keepass-2.39.1.ebuild
new file mode 100644
index 000..e1e03bb233e
--- /dev/null
+++ b/app-admin/keepass/keepass-2.39.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="https://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   pushd Build || die
+   source PrepMonoDev.sh || die
+   popd || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}"
+   exeinto "/usr/$(get_libdir)/${PN}"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog "Some systems may experience issues with copy and paste 
operations."
+   elog "If you encounter this, please install 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-02-24 Thread Michael Palimaka
commit: ad8cc1aaf802ec36cf4982271f018232ee42cb91
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Feb 25 06:50:19 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Feb 25 06:55:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8cc1aa

app-admin/keepass: stabilise 2.38 for amd64/x86

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-admin/keepass/keepass-2.38.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.38.ebuild 
b/app-admin/keepass/keepass-2.38.ebuild
index 741800f82fd..4b997c59a7e 100644
--- a/app-admin/keepass/keepass-2.38.ebuild
+++ b/app-admin/keepass/keepass-2.38.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-02-24 Thread Michael Palimaka
commit: 551baad72ab8eee610d3093075de8cc1d379406b
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Feb 25 06:50:33 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Feb 25 06:55:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551baad7

app-admin/keepass: remove 2.37

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.37.ebuild | 111 --
 2 files changed, 112 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index a8db08e87e8..bc4630ab04e 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.37-Source.zip 5080663 BLAKE2B 
bf74c93eb732d607fe87dc29d3e429b37f1052b258e980127ce1f687423a790bfe298f06c1c459888c60b066a45053447fbaed730e3d38cd6b6dd48d53fbdc34
 SHA512 
d094793a3216181ae375fb1343a809a20c358786bdf369c0171e5b7ca17a74bada314875cf410d84efaa4fa2b13e199de9be3c60f5f4e2c189241e4fffec8ad8
 DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 
22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231
 SHA512 
42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20

diff --git a/app-admin/keepass/keepass-2.37.ebuild 
b/app-admin/keepass/keepass-2.37.ebuild
deleted file mode 100644
index 4b997c59a7e..000
--- a/app-admin/keepass/keepass-2.37.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="https://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   cd Build || die
-   source PrepMonoDev.sh || die
-   cd ../ || die
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}/"
-   exeinto "/usr/$(get_libdir)/${PN}/"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages/
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  x11-misc/xdotool (enables autotype/autofill)"
-   fi
-
-   elog "Some systems may experience issues with copy and paste 
operations."
-   elog "If you encounter this, please install x11-misc/xsel."
-}
-

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-01-12 Thread Michael Palimaka
commit: 7a78e2bc965148f82513dd5063436dc2b2006e13
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Jan 12 09:03:22 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Jan 12 09:17:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a78e2bc

app-admin/keepass: use https

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 app-admin/keepass/keepass-2.37.ebuild | 4 ++--
 app-admin/keepass/keepass-2.38.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-admin/keepass/keepass-2.37.ebuild 
b/app-admin/keepass/keepass-2.37.ebuild
index 6f098aaf79a..4b997c59a7e 100644
--- a/app-admin/keepass/keepass-2.37.ebuild
+++ b/app-admin/keepass/keepass-2.37.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ inherit eutils gnome2-utils xdg-utils
 
 MY_PN="KeePass"
 DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="http://keepass.info/;
+HOMEPAGE="https://keepass.info/;
 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"

diff --git a/app-admin/keepass/keepass-2.38.ebuild 
b/app-admin/keepass/keepass-2.38.ebuild
index 03c01b537df..741800f82fd 100644
--- a/app-admin/keepass/keepass-2.38.ebuild
+++ b/app-admin/keepass/keepass-2.38.ebuild
@@ -7,7 +7,7 @@ inherit eutils gnome2-utils xdg-utils
 
 MY_PN="KeePass"
 DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="http://keepass.info/;
+HOMEPAGE="https://keepass.info/;
 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2018-01-10 Thread Michael Palimaka
commit: 526e32a4fc7caa0a6f42e997211fcb9334016e1f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Jan 11 07:21:12 2018 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Jan 11 07:30:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526e32a4

app-admin/keepass: version bump 2.38

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.38.ebuild | 111 ++
 2 files changed, 112 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 2f194778bf5..a8db08e87e8 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.37-Source.zip 5080663 BLAKE2B 
bf74c93eb732d607fe87dc29d3e429b37f1052b258e980127ce1f687423a790bfe298f06c1c459888c60b066a45053447fbaed730e3d38cd6b6dd48d53fbdc34
 SHA512 
d094793a3216181ae375fb1343a809a20c358786bdf369c0171e5b7ca17a74bada314875cf410d84efaa4fa2b13e199de9be3c60f5f4e2c189241e4fffec8ad8
+DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 
22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231
 SHA512 
42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20

diff --git a/app-admin/keepass/keepass-2.38.ebuild 
b/app-admin/keepass/keepass-2.38.ebuild
new file mode 100644
index 000..03c01b537df
--- /dev/null
+++ b/app-admin/keepass/keepass-2.38.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   cd Build || die
+   source PrepMonoDev.sh || die
+   cd ../ || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}/"
+   exeinto "/usr/$(get_libdir)/${PN}/"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   elog "Some systems may experience issues with copy and paste 
operations."
+   elog "If you encounter this, please install x11-misc/xsel."
+}
+

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-12-16 Thread Michael Palimaka
commit: a7e97d2a86c5a45b1d12d2c8f4c134f11cf8d55b
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Dec 16 12:07:56 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Dec 16 12:08:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e97d2a

app-admin/keepass: remove 2.36

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.36.ebuild | 111 --
 2 files changed, 112 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 71756432d0d..2f194778bf5 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.36-Source.zip 5063221 BLAKE2B 
75c16a482ff0a4c3a6d4f83e423d2eaae83c767875a53f693c0aa3bcd1cfbdfa46325c28ba957fe85fba3b5b9f8a0a2fd93ba0738051c9229ddea12685854a1b
 SHA512 
16d51ed6bc437172765f69d1d67862afe7219a0898d13b4609198bbd7b5107620f1be418f5ea6ba23a5e3c7ca12d45ba3f0f3778c516eea6b2b953bc291cfe41
 DIST KeePass-2.37-Source.zip 5080663 BLAKE2B 
bf74c93eb732d607fe87dc29d3e429b37f1052b258e980127ce1f687423a790bfe298f06c1c459888c60b066a45053447fbaed730e3d38cd6b6dd48d53fbdc34
 SHA512 
d094793a3216181ae375fb1343a809a20c358786bdf369c0171e5b7ca17a74bada314875cf410d84efaa4fa2b13e199de9be3c60f5f4e2c189241e4fffec8ad8

diff --git a/app-admin/keepass/keepass-2.36.ebuild 
b/app-admin/keepass/keepass-2.36.ebuild
deleted file mode 100644
index 6f098aaf79a..000
--- a/app-admin/keepass/keepass-2.36.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils xdg-utils
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="http://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND="dev-lang/mono"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip
-"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-"
-
-S="${WORKDIR}"
-PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
-
-src_prepare() {
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
-   # This XSL file will not be upstreamed since the KeePass creator said 
that
-   # including this patch would break the Portable USB version of KeePass
-   # (which keeps/looks for xsl files in its own folder)
-   default
-
-   # Switch into build dir so the mono prepration script works correctly
-   cd Build || die
-   source PrepMonoDev.sh || die
-   cd ../ || die
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto "/usr/share/${PN}/XSL"
-   doins Ext/XSL/*
-
-   insinto "/usr/$(get_libdir)/${PN}/"
-   exeinto "/usr/$(get_libdir)/${PN}/"
-
-   doins Ext/KeePass.exe.config
-
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages/
-   doins "${FILESDIR}/${PN}.xml"
-
-   # sed, because patching this really sucks
-   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  x11-misc/xdotool (enables autotype/autofill)"
-   fi
-
-   elog "Some systems may experience issues with copy and paste 
operations."
-   elog "If you encounter this, please install x11-misc/xsel."
-}
-

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-12-16 Thread Michael Palimaka
commit: e3147093bdfa88b62af1d512518ae335bffd8588
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Dec 16 12:07:43 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Dec 16 12:08:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3147093

app-admin/keepass: stabilise 2.37 for amd64/x86

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 app-admin/keepass/keepass-2.37.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.37.ebuild 
b/app-admin/keepass/keepass-2.37.ebuild
index 4cdca74eeb1..6f098aaf79a 100644
--- a/app-admin/keepass/keepass-2.37.ebuild
+++ b/app-admin/keepass/keepass-2.37.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-10-13 Thread Michael Palimaka
commit: 86a7fd50fe2b1cb71074379eee45d2fdd11f4617
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Oct 14 02:41:49 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Oct 14 02:42:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a7fd50

app-admin/keepass: version bump 2.37

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.37.ebuild | 111 ++
 2 files changed, 112 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index f9b9d9129eb..9e12b375465 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.36-Source.zip 5063221 SHA256 
de7e3e9d9bedab13e4d66b0ee941b2ebedaa08d8090f7cd78bd0fc019187d8c8 SHA512 
16d51ed6bc437172765f69d1d67862afe7219a0898d13b4609198bbd7b5107620f1be418f5ea6ba23a5e3c7ca12d45ba3f0f3778c516eea6b2b953bc291cfe41
 WHIRLPOOL 
1d9fbf662757e09c4854010da9f6960fe4bf794eb694b37a9f63d813c1e1d1471257a66f01eac761fed5b06831f659cb81f11eba8858ee4e128cd578a19fcae8
+DIST KeePass-2.37-Source.zip 5080663 SHA256 
1d8ffdd8ce1050939755311994ea3a491052bcb54d772bd7fc748567a5bbcbf1 SHA512 
d094793a3216181ae375fb1343a809a20c358786bdf369c0171e5b7ca17a74bada314875cf410d84efaa4fa2b13e199de9be3c60f5f4e2c189241e4fffec8ad8
 WHIRLPOOL 
341140bf316d5750e0ad02e3edea9254471dbfe9c78e5441687847ed02fc0b4f44ae6ea310f523b7ad1ee6eb1af36f27568e17de9df5fbc38c16070ed20af8bf

diff --git a/app-admin/keepass/keepass-2.37.ebuild 
b/app-admin/keepass/keepass-2.37.ebuild
new file mode 100644
index 000..4cdca74eeb1
--- /dev/null
+++ b/app-admin/keepass/keepass-2.37.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass
+   # (which keeps/looks for xsl files in its own folder)
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   cd Build || die
+   source PrepMonoDev.sh || die
+   cd ../ || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}/"
+   exeinto "/usr/$(get_libdir)/${PN}/"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype/autofill)"
+   fi
+
+   

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-09-04 Thread Jonathan Vasquez
commit: 7bd91ebcbc4c6d89297336125ed5c136641ee532
Author: Jonathan Vasquez  gentoo  org>
AuthorDate: Mon Sep  4 16:01:19 2017 +
Commit: Jonathan Vasquez  gentoo  org>
CommitDate: Mon Sep  4 16:01:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bd91ebc

app-admin/keepass: removing myself from proxy maintainers list.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-admin/keepass/metadata.xml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/app-admin/keepass/metadata.xml b/app-admin/keepass/metadata.xml
index ca860b2b209..1bac3fa32dc 100644
--- a/app-admin/keepass/metadata.xml
+++ b/app-admin/keepass/metadata.xml
@@ -9,11 +9,6 @@
kensing...@gentoo.org
Proxy maintainer. CC him on bugs.

-   
-   fearedbl...@gentoo.org
-   Jonathan Vasquez
-   Proxy maintainer. CC him on bugs.
-   

proxy-ma...@gentoo.org
Proxy Maintainers



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-07-22 Thread Michael Palimaka
commit: 18c1d0ce0d19420d33c9911dd3362687f7033ad1
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jul 23 02:05:09 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jul 23 02:08:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c1d0ce

app-admin/keepass: amd64/x86 stable

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-admin/keepass/keepass-2.36.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.36.ebuild 
b/app-admin/keepass/keepass-2.36.ebuild
index 4cdca74eeb1..6f098aaf79a 100644
--- a/app-admin/keepass/keepass-2.36.ebuild
+++ b/app-admin/keepass/keepass-2.36.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/files/, app-admin/keepass/

2017-07-22 Thread Michael Palimaka
commit: 31d82fd523531c48db76b9aad9790a1fa42321c3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jul 23 02:05:25 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jul 23 02:08:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d82fd5

app-admin/keepass: remove 2.35-r1

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 app-admin/keepass/Manifest |   1 -
 .../files/keepass-2.20-xsl-path-detection.patch|  45 
 .../files/keepass-2.35-new-monoprep-script.sh  |  59 --
 app-admin/keepass/keepass-2.35-r1.ebuild   | 120 -
 4 files changed, 225 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index a40911b337b..f9b9d9129eb 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.35-Source.zip 4840873 SHA256 
5faad9381af2f9d808d65ee3d880ff3bca9352c7ce886fea95d54f9169e863df SHA512 
9f9bb0875c3261e004f655356e8302858afebb7d41a4e4619affaa5e8e5375ffe4fc2b251db10d1d18ef94e07d60dd9bd8812ecedcd5de4c4fbe641c6a37dede
 WHIRLPOOL 
db1d270ac5402021add60739ca4916d9dd81999c53b095d143a34a2886f47c354170e41fee63027be83866c541022c79c3c2a501cd51bafb972e5fe277e2
 DIST KeePass-2.36-Source.zip 5063221 SHA256 
de7e3e9d9bedab13e4d66b0ee941b2ebedaa08d8090f7cd78bd0fc019187d8c8 SHA512 
16d51ed6bc437172765f69d1d67862afe7219a0898d13b4609198bbd7b5107620f1be418f5ea6ba23a5e3c7ca12d45ba3f0f3778c516eea6b2b953bc291cfe41
 WHIRLPOOL 
1d9fbf662757e09c4854010da9f6960fe4bf794eb694b37a9f63d813c1e1d1471257a66f01eac761fed5b06831f659cb81f11eba8858ee4e128cd578a19fcae8

diff --git a/app-admin/keepass/files/keepass-2.20-xsl-path-detection.patch 
b/app-admin/keepass/files/keepass-2.20-xsl-path-detection.patch
deleted file mode 100644
index d3805feb0d9..000
--- a/app-admin/keepass/files/keepass-2.20-xsl-path-detection.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-KeePass looks for some resources (XSL files) in the executable directory,
-however under UNIX system this not a good idea, so we look into the
-CommonApplicationData SpecialFolder, which usually maps to "/usr/share/".
-So the final search path should be "/usr/share/KeePass/XSL/".
-
-diff --git a/KeePass/Forms/AboutForm.cs b/KeePass/Forms/AboutForm.cs
-index 8a04c87..6083c00 100644
 a/KeePass/Forms/AboutForm.cs
-+++ b/KeePass/Forms/AboutForm.cs
-@@ -31,9 +31,11 @@ using KeePass.UI;
- using KeePass.Resources;
- using KeePass.Util;
- using KeePass.DataExchange;
-+using KeePass.Native;
- 
- using KeePassLib;
- using KeePassLib.Utility;
-+using KeePassLib.Native;
- 
- namespace KeePass.Forms
- {
-@@ -92,8 +94,21 @@ namespace KeePass.Forms
-   m_lvComponents.Items.Add(lvi);
- 
-   lvi = new ListViewItem(KPRes.XslStylesheetsKdbx);
--  string strPath = WinUtil.GetExecutable();
--  strPath = UrlUtil.GetFileDirectory(strPath, true, 
false);
-+
-+  string strPath;
-+  if (NativeLib.IsUnix())
-+  {
-+  strPath = 
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
-+  strPath = 
UrlUtil.EnsureTerminatingSeparator(strPath, false);
-+  strPath += PwDefs.ShortProductName.ToLower();
-+  strPath = 
UrlUtil.EnsureTerminatingSeparator(strPath, false);
-+  }
-+  else
-+  {
-+  strPath = WinUtil.GetExecutable();
-+  strPath = UrlUtil.GetFileDirectory(strPath, 
true, false);
-+  }
-+
-   strPath += AppDefs.XslFilesDir;
-   strPath = UrlUtil.EnsureTerminatingSeparator(strPath, 
false);
-   bool bInstalled = File.Exists(strPath + 
AppDefs.XslFileHtmlLite);

diff --git a/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh 
b/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh
deleted file mode 100644
index c6fc41f839c..000
--- a/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-buildDir="$(pwd)"
-keePassRootDir="${buildDir}/.."
-
-copyKeePassIcons()
-{
-cd "${buildDir}"
-cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico ../KeePass/KeePass.ico
-cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico 
../KeePass/Resources/Images/KeePass.ico
-}
-
-sanitizeKeePassProjectFiles()
-{
-cd "${keePassRootDir}/KeePass"
-
-local keePassProjectFile="KeePass.csproj"
-local keePassProjectSolution="KeePass.sln"
-   
-sed -i 
's!true!false!g' 
"${keePassProjectFile}"
-sed -i 's! ToolsVersion="3.5"!!g' "${keePassProjectFile}"
-sed -i '/sgen\.exe/d' "${keePassProjectFile}"
-
-# Update solution .NET format to 11 (This targets Mono 4 rather than 3.5)
-cd 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-06-11 Thread Jonathan Vasquez
commit: 1d2e4547d6b4d6191dde34a6adb28e4213d57286
Author: Jonathan Vasquez  gentoo  org>
AuthorDate: Sun Jun 11 15:13:53 2017 +
Commit: Jonathan Vasquez  gentoo  org>
CommitDate: Sun Jun 11 15:13:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2e4547

app-admin/keepass: Using upstreamed 2.36 PrepMonoDev.sh in 2.36 ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-admin/keepass/keepass-2.36.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git a/app-admin/keepass/keepass-2.36.ebuild 
b/app-admin/keepass/keepass-2.36.ebuild
index 6bf94521c59..4cdca74eeb1 100644
--- a/app-admin/keepass/keepass-2.36.ebuild
+++ b/app-admin/keepass/keepass-2.36.ebuild
@@ -34,13 +34,8 @@ src_prepare() {
# (which keeps/looks for xsl files in its own folder)
default
 
-   # New Mono Prep Script until keepass 2.36+ comes out.
-   # This script has been upstreamed, still waiting for final confirmation.
-   local 
newMonoPrepScript="${FILESDIR}/keepass-2.35-new-monoprep-script.sh"
-
# Switch into build dir so the mono prepration script works correctly
cd Build || die
-   cp -f "${newMonoPrepScript}" PrepMonoDev.sh
source PrepMonoDev.sh || die
cd ../ || die
 }



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/, app-admin/keepass/files/

2017-06-10 Thread Michael Palimaka
commit: c0b70c7fd53f4a633c6ca82c2e829cf9b2f08023
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 11 04:30:35 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 11 04:35:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b70c7f

app-admin/keepass: version bump 2.36

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-admin/keepass/Manifest |   1 +
 .../files/keepass-2.36-xsl-path-detection.patch|  43 
 app-admin/keepass/keepass-2.36.ebuild  | 116 +
 3 files changed, 160 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index c0a32d0328c..a40911b337b 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.35-Source.zip 4840873 SHA256 
5faad9381af2f9d808d65ee3d880ff3bca9352c7ce886fea95d54f9169e863df SHA512 
9f9bb0875c3261e004f655356e8302858afebb7d41a4e4619affaa5e8e5375ffe4fc2b251db10d1d18ef94e07d60dd9bd8812ecedcd5de4c4fbe641c6a37dede
 WHIRLPOOL 
db1d270ac5402021add60739ca4916d9dd81999c53b095d143a34a2886f47c354170e41fee63027be83866c541022c79c3c2a501cd51bafb972e5fe277e2
+DIST KeePass-2.36-Source.zip 5063221 SHA256 
de7e3e9d9bedab13e4d66b0ee941b2ebedaa08d8090f7cd78bd0fc019187d8c8 SHA512 
16d51ed6bc437172765f69d1d67862afe7219a0898d13b4609198bbd7b5107620f1be418f5ea6ba23a5e3c7ca12d45ba3f0f3778c516eea6b2b953bc291cfe41
 WHIRLPOOL 
1d9fbf662757e09c4854010da9f6960fe4bf794eb694b37a9f63d813c1e1d1471257a66f01eac761fed5b06831f659cb81f11eba8858ee4e128cd578a19fcae8

diff --git a/app-admin/keepass/files/keepass-2.36-xsl-path-detection.patch 
b/app-admin/keepass/files/keepass-2.36-xsl-path-detection.patch
new file mode 100644
index 000..c17b654d3f3
--- /dev/null
+++ b/app-admin/keepass/files/keepass-2.36-xsl-path-detection.patch
@@ -0,0 +1,43 @@
+KeePass looks for some resources (XSL files) in the executable directory,
+however under UNIX system this not a good idea, so we look into the
+CommonApplicationData SpecialFolder, which usually maps to "/usr/share/".
+So the final search path should be "/usr/share/KeePass/XSL/".
+
+--- a/KeePass/forms/AboutForm.cs
 b/KeePass/Forms/AboutForm.cs
+@@ -31,9 +31,11 @@
+ using KeePass.Resources;
+ using KeePass.UI;
+ using KeePass.Util;
++using KeePass.Native;
+ 
+ using KeePassLib;
+ using KeePassLib.Utility;
++using KeePassLib.Native;
+ 
+ namespace KeePass.Forms
+ {
+@@ -98,8 +100,21 @@
+   m_lvComponents.Items.Add(lvi);
+ 
+   lvi = new ListViewItem(KPRes.XslStylesheetsKdbx);
+-  string strPath = WinUtil.GetExecutable();
+-  strPath = UrlUtil.GetFileDirectory(strPath, true, 
false);
++
++  string strPath;
++  if (NativeLib.IsUnix())
++  {
++  strPath = 
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
++  strPath = 
UrlUtil.EnsureTerminatingSeparator(strPath, false);
++  strPath += PwDefs.ShortProductName.ToLower();
++  strPath = 
UrlUtil.EnsureTerminatingSeparator(strPath, false);
++  }
++  else
++  {
++  strPath = WinUtil.GetExecutable();
++  strPath = UrlUtil.GetFileDirectory(strPath, 
true, false);
++  }
++
+   strPath += AppDefs.XslFilesDir;
+   strPath = UrlUtil.EnsureTerminatingSeparator(strPath, 
false);
+   bool bInstalled = File.Exists(strPath + 
AppDefs.XslFileHtmlFull);

diff --git a/app-admin/keepass/keepass-2.36.ebuild 
b/app-admin/keepass/keepass-2.36.ebuild
new file mode 100644
index 000..6bf94521c59
--- /dev/null
+++ b/app-admin/keepass/keepass-2.36.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils xdg-utils
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip
+"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   # This XSL file will not be upstreamed since the KeePass creator said 
that
+   # including this patch would break the Portable USB version of KeePass

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/files/, app-admin/keepass/

2017-02-18 Thread Michael Palimaka
commit: 4d6f58a2bf1737925d3131bce369fdcb2fd30679
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Feb 19 03:16:47 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Feb 19 03:16:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6f58a2

app-admin/keepass: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-admin/keepass/Manifest |   1 -
 .../files/keepass-2.31-force-text-grep.patch   |  13 ---
 app-admin/keepass/keepass-2.34-r1.ebuild   | 116 
 app-admin/keepass/keepass-2.34.ebuild  | 113 ---
 app-admin/keepass/keepass-2.35.ebuild  | 120 -
 5 files changed, 363 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index c5f4400261..c0a32d0328 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1 @@
-DIST KeePass-2.34-Source.zip 4744285 SHA256 
e3f184e4deddd1aa5ee2b52e2373c772d3f3975e5eddb2fd729eb27b437011aa SHA512 
a52fe7bb0cee60daa0428cf42cf2d6cfc5798fa52d535b10548880417bfe61458c5357ea3dfdb569571fa8aa958de05369c269e2dbb64af5cfa5c913fad521e0
 WHIRLPOOL 
2aeac242d5f1a342ec338cb442b8083f4dc72635d9bc8b02cd2aad4613ecf9f311cddf0832a3f1ebe03d881dce41d3a77edb097e3853967d467c2ce55b8d33cb
 DIST KeePass-2.35-Source.zip 4840873 SHA256 
5faad9381af2f9d808d65ee3d880ff3bca9352c7ce886fea95d54f9169e863df SHA512 
9f9bb0875c3261e004f655356e8302858afebb7d41a4e4619affaa5e8e5375ffe4fc2b251db10d1d18ef94e07d60dd9bd8812ecedcd5de4c4fbe641c6a37dede
 WHIRLPOOL 
db1d270ac5402021add60739ca4916d9dd81999c53b095d143a34a2886f47c354170e41fee63027be83866c541022c79c3c2a501cd51bafb972e5fe277e2

diff --git a/app-admin/keepass/files/keepass-2.31-force-text-grep.patch 
b/app-admin/keepass/files/keepass-2.31-force-text-grep.patch
deleted file mode 100644
index c1086515f4..00
--- a/app-admin/keepass/files/keepass-2.31-force-text-grep.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Force text mode for >=grep-2.22 (bug #574480).
-
 a/Build/PrepMonoDev.sh
-+++ b/Build/PrepMonoDev.sh
-@@ -3,7 +3,7 @@
- 
- sed 
's!true!false!g' 
../KeePass/KeePass.csproj > ../KeePass/KeePass.csproj.new
- sed 's! ToolsVersion="3.5"!!g' ../KeePass/KeePass.csproj.new > 
../KeePass/KeePass.csproj.new2
--cat ../KeePass/KeePass.csproj.new2 | grep -v 'sgen\.exe' > 
../KeePass/KeePass.csproj
-+cat ../KeePass/KeePass.csproj.new2 | grep -va 'sgen\.exe' > 
../KeePass/KeePass.csproj
- rm -f ../KeePass/KeePass.csproj.new2
- rm -f ../KeePass/KeePass.csproj.new
- 

diff --git a/app-admin/keepass/keepass-2.34-r1.ebuild 
b/app-admin/keepass/keepass-2.34-r1.ebuild
deleted file mode 100644
index 914506310d..00
--- a/app-admin/keepass/keepass-2.34-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils fdo-mime gnome2-utils mono-env multilib
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="http://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="aot"
-
-COMMON_DEPEND=">=dev-lang/mono-2.10.5"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip"
-
-S=${WORKDIR}
-
-src_prepare() {
-   # Force text mode for >grep-2.21 (bug #574480)
-   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
-
-   # Remove Windows-specific things
-   pushd Build > /dev/null || die
-   . PrepMonoDev.sh || die
-   popd > /dev/null || die
-
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass
-   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
-   # bug # 558094
-   if has_version ">=dev-lang/mono-4" ; then
-   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
-   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
-   fi
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto /usr/share/${PN}/XSL
-   doins Ext/XSL/*
-
-   insinto /usr/$(get_libdir)/${PN}/
-   exeinto /usr/$(get_libdir)/${PN}/
-   doins Ext/KeePass.exe.config
-   # Default configuration, simply says to use user-specific configuration
-   doins 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-02-18 Thread Agostino Sarubbo
commit: 0daf5e341e738a0dcf6d249109c85b2ed671
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 18 14:33:25 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 18 14:33:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0daf5e34

app-admin/keepass: x86 stable wrt bug #609634

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.35-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.35-r1.ebuild 
b/app-admin/keepass/keepass-2.35-r1.ebuild
index 5b0a5a9743..99ab9c12a5 100644
--- a/app-admin/keepass/keepass-2.35-r1.ebuild
+++ b/app-admin/keepass/keepass-2.35-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-02-18 Thread Agostino Sarubbo
commit: 57b2dfe3c622a9c4d88283f1c0baa4f72b5c45bb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 18 13:28:47 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 18 13:28:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b2dfe3

app-admin/keepass: amd64 stable wrt bug #609634

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.35-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.35-r1.ebuild 
b/app-admin/keepass/keepass-2.35-r1.ebuild
index 3fbf36b7ad..5b0a5a9743 100644
--- a/app-admin/keepass/keepass-2.35-r1.ebuild
+++ b/app-admin/keepass/keepass-2.35-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND="dev-lang/mono"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/, app-admin/keepass/files/

2017-01-12 Thread Jonathan Vasquez
commit: ef662c29f1f69a26728b371c245e55e13d45c1d3
Author: Jonathan Vasquez  gentoo  org>
AuthorDate: Fri Jan 13 04:08:19 2017 +
Commit: Jonathan Vasquez  gentoo  org>
CommitDate: Fri Jan 13 04:08:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef662c29

app-admin/keepass: including new PrepMonoEnv script and fixing header

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../files/keepass-2.35-new-monoprep-script.sh  | 59 +
 app-admin/keepass/keepass-2.34-r1.ebuild   |  2 +-
 app-admin/keepass/keepass-2.34.ebuild  |  2 +-
 ...epass-2.34-r1.ebuild => keepass-2.35-r1.ebuild} | 73 --
 app-admin/keepass/metadata.xml |  1 +
 5 files changed, 101 insertions(+), 36 deletions(-)

diff --git a/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh 
b/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh
new file mode 100644
index ..c6fc41f
--- /dev/null
+++ b/app-admin/keepass/files/keepass-2.35-new-monoprep-script.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+buildDir="$(pwd)"
+keePassRootDir="${buildDir}/.."
+
+copyKeePassIcons()
+{
+cd "${buildDir}"
+cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico ../KeePass/KeePass.ico
+cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico 
../KeePass/Resources/Images/KeePass.ico
+}
+
+sanitizeKeePassProjectFiles()
+{
+cd "${keePassRootDir}/KeePass"
+
+local keePassProjectFile="KeePass.csproj"
+local keePassProjectSolution="KeePass.sln"
+   
+sed -i 
's!true!false!g' 
"${keePassProjectFile}"
+sed -i 's! ToolsVersion="3.5"!!g' "${keePassProjectFile}"
+sed -i '/sgen\.exe/d' "${keePassProjectFile}"
+
+# Update solution .NET format to 11 (This targets Mono 4 rather than 3.5)
+cd "${keePassRootDir}"
+sed -i 's!Format Version 10.00!Format Version 11.00!g' 
"${keePassProjectSolution}"
+
+cd "${buildDir}"
+}
+
+sanitizeKeePassLibProjectFile()
+{
+cd "${keePassRootDir}/KeePassLib"
+
+local keePassProjectLibFile="KeePassLib.csproj"
+sed -i 
's!true!false!g' 
"${keePassProjectLibFile}"
+sed -i 's! ToolsVersion="3.5"!!g' "${keePassProjectLibFile}"
+
+cd "${buildDir}"
+}
+
+
+sanitizeTrlUtilProjectFile()
+{
+cd "${keePassRootDir}/Translation/TrlUtil"
+
+local trlUtilProjectFile="TrlUtil.csproj"
+sed -i 's! ToolsVersion="3.5"!!g' "${trlUtilProjectFile}"
+
+cd "${buildDir}"
+}
+
+# Start
+copyKeePassIcons
+
+# Remove ToolsVersion 3.5 References so that newer Mono compilers can be used
+sanitizeKeePassProjectFiles
+sanitizeKeePassLibProjectFile
+sanitizeTrlUtilProjectFile

diff --git a/app-admin/keepass/keepass-2.34-r1.ebuild 
b/app-admin/keepass/keepass-2.34-r1.ebuild
index b790b54..9145063 100644
--- a/app-admin/keepass/keepass-2.34-r1.ebuild
+++ b/app-admin/keepass/keepass-2.34-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/app-admin/keepass/keepass-2.34.ebuild 
b/app-admin/keepass/keepass-2.34.ebuild
index 3bc899e..93eb09f 100644
--- a/app-admin/keepass/keepass-2.34.ebuild
+++ b/app-admin/keepass/keepass-2.34.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/app-admin/keepass/keepass-2.34-r1.ebuild 
b/app-admin/keepass/keepass-2.35-r1.ebuild
similarity index 57%
copy from app-admin/keepass/keepass-2.34-r1.ebuild
copy to app-admin/keepass/keepass-2.35-r1.ebuild
index b790b54..3fbf36b 100644
--- a/app-admin/keepass/keepass-2.34-r1.ebuild
+++ b/app-admin/keepass/keepass-2.35-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit eutils fdo-mime gnome2-utils mono-env multilib
+inherit eutils fdo-mime gnome2-utils multilib
 
 MY_PN="KeePass"
 DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
@@ -16,31 +16,32 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="aot"
 
-COMMON_DEPEND=">=dev-lang/mono-2.10.5"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]"
+COMMON_DEPEND="dev-lang/mono"
 DEPEND="${COMMON_DEPEND}
-   app-arch/unzip"
+   app-arch/unzip"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
 
-S=${WORKDIR}
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch" )
 
 src_prepare() {
-   # Force text mode for >grep-2.21 (bug #574480)
-   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
-
-   # Remove Windows-specific things
-   pushd Build > /dev/null || die
-   . PrepMonoDev.sh || die
-   popd > /dev/null || die
-
# KeePass looks for some XSL files in the same folder as the 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2017-01-09 Thread Jonathan Vasquez
commit: 7b369a4d1188979c46bff1f35140d65a2246486a
Author: Jonathan Vasquez  gentoo  org>
AuthorDate: Tue Jan 10 05:47:39 2017 +
Commit: Jonathan Vasquez  gentoo  org>
CommitDate: Tue Jan 10 05:47:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b369a4d

app-admin/keepass: version bump to 2.35

- Updated ebuild to EAPI 6
- Cleaned up ebuild
- Removed some unneeded patches
- One more proxy maintainer has been added

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.35.ebuild | 120 ++
 app-admin/keepass/metadata.xml|   4 ++
 3 files changed, 125 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 5a28563..c5f4400 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.34-Source.zip 4744285 SHA256 
e3f184e4deddd1aa5ee2b52e2373c772d3f3975e5eddb2fd729eb27b437011aa SHA512 
a52fe7bb0cee60daa0428cf42cf2d6cfc5798fa52d535b10548880417bfe61458c5357ea3dfdb569571fa8aa958de05369c269e2dbb64af5cfa5c913fad521e0
 WHIRLPOOL 
2aeac242d5f1a342ec338cb442b8083f4dc72635d9bc8b02cd2aad4613ecf9f311cddf0832a3f1ebe03d881dce41d3a77edb097e3853967d467c2ce55b8d33cb
+DIST KeePass-2.35-Source.zip 4840873 SHA256 
5faad9381af2f9d808d65ee3d880ff3bca9352c7ce886fea95d54f9169e863df SHA512 
9f9bb0875c3261e004f655356e8302858afebb7d41a4e4619affaa5e8e5375ffe4fc2b251db10d1d18ef94e07d60dd9bd8812ecedcd5de4c4fbe641c6a37dede
 WHIRLPOOL 
db1d270ac5402021add60739ca4916d9dd81999c53b095d143a34a2886f47c354170e41fee63027be83866c541022c79c3c2a501cd51bafb972e5fe277e2

diff --git a/app-admin/keepass/keepass-2.35.ebuild 
b/app-admin/keepass/keepass-2.35.ebuild
new file mode 100644
index ..f6ecc51
--- /dev/null
+++ b/app-admin/keepass/keepass-2.35.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils fdo-mime gnome2-utils multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND="dev-lang/mono"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+
+S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch" )
+
+src_prepare() {
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass. Apply patch using base 
function.
+   default
+
+   # Switch into build dir so the mono prepration script works correctly
+   cd Build || die
+   source PrepMonoDev.sh || die
+   cd ../ || die
+
+   # If we are using Mono 4 or newer, Then fix the build. Bug #558094
+   # https://sourceforge.net/p/keepass/discussion/329221/thread/72db1a65/
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto "/usr/share/${PN}/XSL"
+   doins Ext/XSL/*
+
+   insinto "/usr/$(get_libdir)/${PN}/"
+   exeinto "/usr/$(get_libdir)/${PN}/"
+
+   doins Ext/KeePass.exe.config
+
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-12-17 Thread Matt Thode
commit: 9b4f8812a4491a03698aedd0a2e00da1d0f8f697
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Dec 18 01:03:43 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Dec 18 01:03:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4f8812

app-admin/keepass: fixing bug 592130

Package-Manager: portage-2.3.0

 app-admin/keepass/keepass-2.34-r1.ebuild | 116 +++
 1 file changed, 116 insertions(+)

diff --git a/app-admin/keepass/keepass-2.34-r1.ebuild 
b/app-admin/keepass/keepass-2.34-r1.ebuild
new file mode 100644
index ..b790b54
--- /dev/null
+++ b/app-admin/keepass/keepass-2.34-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND=">=dev-lang/mono-2.10.5"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Force text mode for >grep-2.21 (bug #574480)
+   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
+
+   # Remove Windows-specific things
+   pushd Build > /dev/null || die
+   . PrepMonoDev.sh || die
+   popd > /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
+   # bug # 558094
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins "${FILESDIR}/${PN}.xml"
+
+   # sed, because patching this really sucks
+   sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
+}
+
+pkg_preinst() {
+   gnome2_icon_savelist
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   fdo-mime_mime_database_update
+   fdo-mime_desktop_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype)"
+   fi
+
+   elog "Some systems may experience issues with copy and paste 
operations."
+   elog "If you encounter this, please install x11-misc/xsel."
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   fdo-mime_mime_database_update
+   fdo-mime_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-07-17 Thread Michael Palimaka
commit: 47017a2235ac34d18a8effe7fc450a15de736d06
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jul 17 19:01:28 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jul 17 19:16:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47017a22

app-admin/keepass: x86 stable

Gentoo-bug: 585140

Package-Manager: portage-2.3.0

 app-admin/keepass/keepass-2.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.34.ebuild 
b/app-admin/keepass/keepass-2.34.ebuild
index 2f90a71..3bc899e 100644
--- a/app-admin/keepass/keepass-2.34.ebuild
+++ b/app-admin/keepass/keepass-2.34.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND=">=dev-lang/mono-2.10.5"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/files/, app-admin/keepass/

2016-07-17 Thread Michael Palimaka
commit: e2cc446cdd8dc37c09702af5d476b901a9cb7637
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jul 17 19:06:24 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jul 17 19:16:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cc446c

app-admin/keepass: remove old

Package-Manager: portage-2.3.0

 app-admin/keepass/Manifest |   4 -
 .../files/keepass-2.30-mono-4-support.patch|  92 -
 app-admin/keepass/keepass-2.30.ebuild  | 108 
 app-admin/keepass/keepass-2.31.ebuild  | 113 -
 app-admin/keepass/keepass-2.32.ebuild  | 113 -
 app-admin/keepass/keepass-2.33.ebuild  | 113 -
 6 files changed, 543 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 270947d..5a28563 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,5 +1 @@
-DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
-DIST KeePass-2.31-Source.zip 4714301 SHA256 
555b1a30f374f7077bf15906b09ab36b40fd3fc5753673a3c0ee3f30f0ed7881 SHA512 
e2e81e7d60bc58a18ea3b9a82741bdd6e5be88bcfcf447ae587f6177a8ff97e7c82c02fb0695142f8321c7b5f92aa982254629928dd0c12393d659380f46026d
 WHIRLPOOL 
b8b572bd7db7ce9bc67ae0a241c71cd30595753d06bfed85efafece2b3cce4893c5cc213ee44cabd81c6ff12fc2fc98234d845ed94d0068d8111d116ccc39333
-DIST KeePass-2.32-Source.zip 4721787 SHA256 
7c49b62c8de758dee7e9c2d6108c169d468b4e65f21e297649d3dd8c2b757385 SHA512 
6c6345cedc505eaaec28c6e89e225bdad5d5ac169c364a7e04b06bbdef4223829662f6e12a7432a3785f73cbc6798ba578468be04ab1063eb96135346570c7c3
 WHIRLPOOL 
6ba1bff9df311950068e34f9044f5b9e29e6e571e1928093f7ad6dc23c8b7ad26a89371fc425df0f5b41d3781aa29c0c6ad4d8c0c0f077248e4ee7f9022dabe3
-DIST KeePass-2.33-Source.zip 4738822 SHA256 
5120a490289155a8b49c8e6893a2cc4b20fe859b34f815f17a017bae449f9958 SHA512 
acbc226f96783f0d77d8b70b6a223de80ab7fd73bd750cedf0a52a46e60ed5e816281ec0bc168aea03a0fbb9bb2869ea410d208620bc46b30e53829f22644375
 WHIRLPOOL 
1bdcb19e6e15860f5423f5646f4481e4c6f43c474422c096a808bf5fb862268ddd42d22c67096fa2ebd2f41811d30592a69389561bd6619d0cf0c0da7ae74c0a
 DIST KeePass-2.34-Source.zip 4744285 SHA256 
e3f184e4deddd1aa5ee2b52e2373c772d3f3975e5eddb2fd729eb27b437011aa SHA512 
a52fe7bb0cee60daa0428cf42cf2d6cfc5798fa52d535b10548880417bfe61458c5357ea3dfdb569571fa8aa958de05369c269e2dbb64af5cfa5c913fad521e0
 WHIRLPOOL 
2aeac242d5f1a342ec338cb442b8083f4dc72635d9bc8b02cd2aad4613ecf9f311cddf0832a3f1ebe03d881dce41d3a77edb097e3853967d467c2ce55b8d33cb

diff --git a/app-admin/keepass/files/keepass-2.30-mono-4-support.patch 
b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
deleted file mode 100644
index 5794ba0..000
--- a/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-File keepass-2.30-original/.ipc_in is a fifo while file keepass-2.30/.ipc_in 
is a fifo
-File keepass-2.30-original/.ipc_out is a fifo while file keepass-2.30/.ipc_out 
is a fifo
-diff -ur keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln 
keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln
 keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln   2008-09-11 
18:19:14.0 +0200
-+++ keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln2015-09-28 
17:21:23.640007000 +0200
-@@ -1,5 +1,5 @@
- 
--Microsoft Visual Studio Solution File, Format Version 10.00
-+Microsoft Visual Studio Solution File, Format Version 11.00
- # Visual Studio 2008
- Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "KeePassMsi", 
"KeePassMsi.vdproj", "{C4135368-4A84-4924-B5CE-82B18FAADFD4}"
- EndProject
-diff -ur keepass-2.30-original/work/KeePass/KeePass.csproj 
keepass-2.30/work/KeePass/KeePass.csproj
 keepass-2.30-original/work/KeePass/KeePass.csproj  2015-09-28 
17:20:19.828006799 +0200
-+++ keepass-2.30/work/KeePass/KeePass.csproj   2015-09-28 17:21:26.160007008 
+0200
-@@ -1,5 +1,5 @@
--http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="3.5">
--  
-+http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="4.0">
-+  v4.5
- Debug
- AnyCPU
- 9.0.30729
-@@ -1315,6 +1315,6 @@
-   
-   
-   -->
--  
-+  v4.5
-   
- 
-diff -ur keepass-2.30-original/work/KeePassLib/KeePassLib.csproj 
keepass-2.30/work/KeePassLib/KeePassLib.csproj
 keepass-2.30-original/work/KeePassLib/KeePassLib.csproj2015-09-28 
17:20:19.836006799 +0200
-+++ keepass-2.30/work/KeePassLib/KeePassLib.csproj 2015-09-28 
17:21:26.148007008 +0200
-@@ -1,5 +1,5 @@

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-07-09 Thread Agostino Sarubbo
commit: 7d35349e99257cd9b413a933a69b6d3cb2f99a74
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jul  9 17:45:54 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jul  9 17:45:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d35349e

app-admin/keepass: amd64 stable wrt bug #585140

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.34.ebuild 
b/app-admin/keepass/keepass-2.34.ebuild
index d828fcf..2f90a71 100644
--- a/app-admin/keepass/keepass-2.34.ebuild
+++ b/app-admin/keepass/keepass-2.34.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND=">=dev-lang/mono-2.10.5"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-06-11 Thread Michael Palimaka
commit: 6e8059e6ba92d83a257549f6879cea55759aae85
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Jun 11 18:09:21 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Jun 11 18:09:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8059e6

app-admin/keepass: version bump to resolve CVE-2016-5119

Gentoo-bug: 585140

Package-Manager: portage-2.3.0_rc1

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.34.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 5a2a5ca..270947d 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -2,3 +2,4 @@ DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1
 DIST KeePass-2.31-Source.zip 4714301 SHA256 
555b1a30f374f7077bf15906b09ab36b40fd3fc5753673a3c0ee3f30f0ed7881 SHA512 
e2e81e7d60bc58a18ea3b9a82741bdd6e5be88bcfcf447ae587f6177a8ff97e7c82c02fb0695142f8321c7b5f92aa982254629928dd0c12393d659380f46026d
 WHIRLPOOL 
b8b572bd7db7ce9bc67ae0a241c71cd30595753d06bfed85efafece2b3cce4893c5cc213ee44cabd81c6ff12fc2fc98234d845ed94d0068d8111d116ccc39333
 DIST KeePass-2.32-Source.zip 4721787 SHA256 
7c49b62c8de758dee7e9c2d6108c169d468b4e65f21e297649d3dd8c2b757385 SHA512 
6c6345cedc505eaaec28c6e89e225bdad5d5ac169c364a7e04b06bbdef4223829662f6e12a7432a3785f73cbc6798ba578468be04ab1063eb96135346570c7c3
 WHIRLPOOL 
6ba1bff9df311950068e34f9044f5b9e29e6e571e1928093f7ad6dc23c8b7ad26a89371fc425df0f5b41d3781aa29c0c6ad4d8c0c0f077248e4ee7f9022dabe3
 DIST KeePass-2.33-Source.zip 4738822 SHA256 
5120a490289155a8b49c8e6893a2cc4b20fe859b34f815f17a017bae449f9958 SHA512 
acbc226f96783f0d77d8b70b6a223de80ab7fd73bd750cedf0a52a46e60ed5e816281ec0bc168aea03a0fbb9bb2869ea410d208620bc46b30e53829f22644375
 WHIRLPOOL 
1bdcb19e6e15860f5423f5646f4481e4c6f43c474422c096a808bf5fb862268ddd42d22c67096fa2ebd2f41811d30592a69389561bd6619d0cf0c0da7ae74c0a
+DIST KeePass-2.34-Source.zip 4744285 SHA256 
e3f184e4deddd1aa5ee2b52e2373c772d3f3975e5eddb2fd729eb27b437011aa SHA512 
a52fe7bb0cee60daa0428cf42cf2d6cfc5798fa52d535b10548880417bfe61458c5357ea3dfdb569571fa8aa958de05369c269e2dbb64af5cfa5c913fad521e0
 WHIRLPOOL 
2aeac242d5f1a342ec338cb442b8083f4dc72635d9bc8b02cd2aad4613ecf9f311cddf0832a3f1ebe03d881dce41d3a77edb097e3853967d467c2ce55b8d33cb

diff --git a/app-admin/keepass/keepass-2.34.ebuild 
b/app-admin/keepass/keepass-2.34.ebuild
new file mode 100644
index 000..d828fcf
--- /dev/null
+++ b/app-admin/keepass/keepass-2.34.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND=">=dev-lang/mono-2.10.5"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Force text mode for >grep-2.21 (bug #574480)
+   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
+
+   # Remove Windows-specific things
+   pushd Build > /dev/null || die
+   . PrepMonoDev.sh || die
+   popd > /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
+   # bug # 558094
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-05-13 Thread Manuel Rüger
commit: 051ad56052005c12401cfa3cea3b321d9a20f5f6
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri May 13 22:06:25 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri May 13 22:06:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051ad560

app-admin/keepass: Version bump to 2.33

Package-Manager: portage-2.2.28

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.33.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index a80ede3..5a2a5ca 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1,4 @@
 DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
 DIST KeePass-2.31-Source.zip 4714301 SHA256 
555b1a30f374f7077bf15906b09ab36b40fd3fc5753673a3c0ee3f30f0ed7881 SHA512 
e2e81e7d60bc58a18ea3b9a82741bdd6e5be88bcfcf447ae587f6177a8ff97e7c82c02fb0695142f8321c7b5f92aa982254629928dd0c12393d659380f46026d
 WHIRLPOOL 
b8b572bd7db7ce9bc67ae0a241c71cd30595753d06bfed85efafece2b3cce4893c5cc213ee44cabd81c6ff12fc2fc98234d845ed94d0068d8111d116ccc39333
 DIST KeePass-2.32-Source.zip 4721787 SHA256 
7c49b62c8de758dee7e9c2d6108c169d468b4e65f21e297649d3dd8c2b757385 SHA512 
6c6345cedc505eaaec28c6e89e225bdad5d5ac169c364a7e04b06bbdef4223829662f6e12a7432a3785f73cbc6798ba578468be04ab1063eb96135346570c7c3
 WHIRLPOOL 
6ba1bff9df311950068e34f9044f5b9e29e6e571e1928093f7ad6dc23c8b7ad26a89371fc425df0f5b41d3781aa29c0c6ad4d8c0c0f077248e4ee7f9022dabe3
+DIST KeePass-2.33-Source.zip 4738822 SHA256 
5120a490289155a8b49c8e6893a2cc4b20fe859b34f815f17a017bae449f9958 SHA512 
acbc226f96783f0d77d8b70b6a223de80ab7fd73bd750cedf0a52a46e60ed5e816281ec0bc168aea03a0fbb9bb2869ea410d208620bc46b30e53829f22644375
 WHIRLPOOL 
1bdcb19e6e15860f5423f5646f4481e4c6f43c474422c096a808bf5fb862268ddd42d22c67096fa2ebd2f41811d30592a69389561bd6619d0cf0c0da7ae74c0a

diff --git a/app-admin/keepass/keepass-2.33.ebuild 
b/app-admin/keepass/keepass-2.33.ebuild
new file mode 100644
index 000..d828fcf
--- /dev/null
+++ b/app-admin/keepass/keepass-2.33.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND=">=dev-lang/mono-2.10.5"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Force text mode for >grep-2.21 (bug #574480)
+   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
+
+   # Remove Windows-specific things
+   pushd Build > /dev/null || die
+   . PrepMonoDev.sh || die
+   popd > /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
+   # bug # 558094
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+  

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-05-13 Thread Agostino Sarubbo
commit: 5fce5e9a2004cb2e7637d8a631d83e97ce03bcf3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 13 08:40:04 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 13 08:41:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fce5e9a

app-admin/keepass: amd64 stable wrt bug #581354

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.32.ebuild 
b/app-admin/keepass/keepass-2.32.ebuild
index d828fcf..2f90a71 100644
--- a/app-admin/keepass/keepass-2.32.ebuild
+++ b/app-admin/keepass/keepass-2.32.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND=">=dev-lang/mono-2.10.5"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-04-04 Thread Ian Delaney
commit: 7e5f656afc421a3562a47681bf95b6b441f43b36
Author: Ian Delaney  gentoo  org>
AuthorDate: Mon Apr  4 05:58:38 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Apr  4 09:00:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5f656a

app-admin/keepass: Reset description for user maintainer in metadata.xml

Package-Manager: portage-2.2.28

 app-admin/keepass/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/metadata.xml b/app-admin/keepass/metadata.xml
index b324779..e773b9d 100644
--- a/app-admin/keepass/metadata.xml
+++ b/app-admin/keepass/metadata.xml
@@ -3,7 +3,7 @@
 

a...@clearmind.me
-   Maintainer. Assign bugs to him.
+   Proxied maintainer; set to assignee in all 
bugs


kensing...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-03-10 Thread Manuel Rüger
commit: dbfe008993550d22cc43c82833f0cc6afe0395bb
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Mar 10 22:37:11 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Mar 10 22:37:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbfe0089

app-admin/keepass: Version bump

Package-Manager: portage-2.2.27

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.32.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index d0bad8c..a80ede3 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,2 +1,3 @@
 DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
 DIST KeePass-2.31-Source.zip 4714301 SHA256 
555b1a30f374f7077bf15906b09ab36b40fd3fc5753673a3c0ee3f30f0ed7881 SHA512 
e2e81e7d60bc58a18ea3b9a82741bdd6e5be88bcfcf447ae587f6177a8ff97e7c82c02fb0695142f8321c7b5f92aa982254629928dd0c12393d659380f46026d
 WHIRLPOOL 
b8b572bd7db7ce9bc67ae0a241c71cd30595753d06bfed85efafece2b3cce4893c5cc213ee44cabd81c6ff12fc2fc98234d845ed94d0068d8111d116ccc39333
+DIST KeePass-2.32-Source.zip 4721787 SHA256 
7c49b62c8de758dee7e9c2d6108c169d468b4e65f21e297649d3dd8c2b757385 SHA512 
6c6345cedc505eaaec28c6e89e225bdad5d5ac169c364a7e04b06bbdef4223829662f6e12a7432a3785f73cbc6798ba578468be04ab1063eb96135346570c7c3
 WHIRLPOOL 
6ba1bff9df311950068e34f9044f5b9e29e6e571e1928093f7ad6dc23c8b7ad26a89371fc425df0f5b41d3781aa29c0c6ad4d8c0c0f077248e4ee7f9022dabe3

diff --git a/app-admin/keepass/keepass-2.32.ebuild 
b/app-admin/keepass/keepass-2.32.ebuild
new file mode 100644
index 000..d828fcf
--- /dev/null
+++ b/app-admin/keepass/keepass-2.32.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND=">=dev-lang/mono-2.10.5"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Force text mode for >grep-2.21 (bug #574480)
+   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
+
+   # Remove Windows-specific things
+   pushd Build > /dev/null || die
+   . PrepMonoDev.sh || die
+   popd > /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
+   # bug # 558094
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/, app-admin/keepass/files/

2016-02-25 Thread Michael Palimaka
commit: 3a15dfadf94cb3a09f15f483403a144d59f3dc47
Author: Alessandro Di Federico  clearmind  me>
AuthorDate: Thu Feb 25 12:20:12 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Feb 25 12:21:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a15dfad

app-admin/keepass: fix build with >=app-text/grep-2.22

Gentoo-bug: 574480

Package-Manager: portage-2.2.27

 app-admin/keepass/files/keepass-2.31-force-text-grep.patch | 13 +
 app-admin/keepass/keepass-2.31.ebuild  |  3 +++
 2 files changed, 16 insertions(+)

diff --git a/app-admin/keepass/files/keepass-2.31-force-text-grep.patch 
b/app-admin/keepass/files/keepass-2.31-force-text-grep.patch
new file mode 100644
index 000..c108651
--- /dev/null
+++ b/app-admin/keepass/files/keepass-2.31-force-text-grep.patch
@@ -0,0 +1,13 @@
+Force text mode for >=grep-2.22 (bug #574480).
+
+--- a/Build/PrepMonoDev.sh
 b/Build/PrepMonoDev.sh
+@@ -3,7 +3,7 @@
+ 
+ sed 
's!true!false!g' 
../KeePass/KeePass.csproj > ../KeePass/KeePass.csproj.new
+ sed 's! ToolsVersion="3.5"!!g' ../KeePass/KeePass.csproj.new > 
../KeePass/KeePass.csproj.new2
+-cat ../KeePass/KeePass.csproj.new2 | grep -v 'sgen\.exe' > 
../KeePass/KeePass.csproj
++cat ../KeePass/KeePass.csproj.new2 | grep -va 'sgen\.exe' > 
../KeePass/KeePass.csproj
+ rm -f ../KeePass/KeePass.csproj.new2
+ rm -f ../KeePass/KeePass.csproj.new
+ 

diff --git a/app-admin/keepass/keepass-2.31.ebuild 
b/app-admin/keepass/keepass-2.31.ebuild
index cac738e..d828fcf 100644
--- a/app-admin/keepass/keepass-2.31.ebuild
+++ b/app-admin/keepass/keepass-2.31.ebuild
@@ -25,6 +25,9 @@ DEPEND="${COMMON_DEPEND}
 S=${WORKDIR}
 
 src_prepare() {
+   # Force text mode for >grep-2.21 (bug #574480)
+   epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
+
# Remove Windows-specific things
pushd Build > /dev/null || die
. PrepMonoDev.sh || die



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-01-18 Thread Michael Palimaka
commit: b680172d19c1057d783bc1b22ac8c5226d5fc915
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Jan 18 11:12:49 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Jan 18 11:13:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b680172d

app-admin/keepass: avoid dying when building with =dev-lang/mono-4" && \
-   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die && \
+   if has_version ">=dev-lang/mono-4" ; then
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die
sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+   fi
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2016-01-17 Thread Manuel Rüger
commit: 9abbb9fe5c843d7f88ca95aea47147c29246d5b9
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jan 17 15:34:29 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jan 17 15:35:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abbb9fe

app-admin/keepass: Version bump

Gentoo-Bug: 571794

Package-Manager: portage-2.2.26

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.31.ebuild | 109 ++
 2 files changed, 110 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index ccf1481..d0bad8c 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1 +1,2 @@
 DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
+DIST KeePass-2.31-Source.zip 4714301 SHA256 
555b1a30f374f7077bf15906b09ab36b40fd3fc5753673a3c0ee3f30f0ed7881 SHA512 
e2e81e7d60bc58a18ea3b9a82741bdd6e5be88bcfcf447ae587f6177a8ff97e7c82c02fb0695142f8321c7b5f92aa982254629928dd0c12393d659380f46026d
 WHIRLPOOL 
b8b572bd7db7ce9bc67ae0a241c71cd30595753d06bfed85efafece2b3cce4893c5cc213ee44cabd81c6ff12fc2fc98234d845ed94d0068d8111d116ccc39333

diff --git a/app-admin/keepass/keepass-2.31.ebuild 
b/app-admin/keepass/keepass-2.31.ebuild
new file mode 100644
index 000..cc2c785
--- /dev/null
+++ b/app-admin/keepass/keepass-2.31.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN="KeePass"
+DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
+HOMEPAGE="http://keepass.info/;
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aot"
+
+COMMON_DEPEND=">=dev-lang/mono-2.10.5"
+RDEPEND="${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]"
+DEPEND="${COMMON_DEPEND}
+   app-arch/unzip"
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Remove Windows-specific things
+   pushd Build > /dev/null || die
+   . PrepMonoDev.sh || die
+   popd > /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
+   # bug # 558094
+   has_version ">=dev-lang/mono-4" && \
+   sed -i -e 's! ToolsVersion="3.5"!!g' 
Translation/TrlUtil/TrlUtil.csproj || die && \
+   sed -i -e 's/Format Version 10.00/Format Version 11.00/' 
KeePass.sln || die
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png 
"application-x-${PN}2.png"
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" 
"MimeType=application/x-keepass2;"
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins "${FILESDIR}/${PN}.xml"
+}
+
+pkg_preinst() {
+   gnome2_icon_savelist
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   fdo-mime_mime_database_update
+   fdo-mime_desktop_database_update
+
+   if ! has_version x11-misc/xdotool ; then
+   elog "Optional dependencies:"
+   elog "  x11-misc/xdotool (enables autotype)"
+   fi
+
+   elog "Some systems may experience issues with copy and paste 
operations."
+   elog "If you encounter this, please 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2015-12-03 Thread Michael Palimaka
commit: 8f26d62c4fff991e7d08f531814a97283ff9c608
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Dec  3 12:05:34 2015 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Dec  3 12:05:34 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f26d62c

app-admin/keepass: remove old

Package-Manager: portage-2.2.26

 app-admin/keepass/Manifest|   2 -
 app-admin/keepass/keepass-2.28.ebuild | 105 --
 app-admin/keepass/keepass-2.29.ebuild | 105 --
 3 files changed, 212 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 2d47051..ccf1481 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1 @@
-DIST KeePass-2.28-Source.zip 3532385 SHA256 
2bd3291308fbb592ee8da21c42457320f81d00eda189c9ee39f03a12783ff91b SHA512 
3fc1813076f4a205a6d970d3b9d1abfdfb8ea03099523dc8f7d775f5a4210002323bd8cbeba216acecf84032aa8504e752063880b87190935cb45d646badd672
 WHIRLPOOL 
954c677a10dad6bdf470dd29e777896806d1f5137711dea3e9ac7c2fd9ddc98042c9911fd10cf3c0f7838f3eebe40676564b4efcb43e3d2eb8b8d2bb0866fd07
-DIST KeePass-2.29-Source.zip 4762221 SHA256 
b5582eb96611726a70b523c156c89dfb83ae80ce051a4f57bb0b7a6fbf023a14 SHA512 
3a682be8f54fdaad7d299620f5f4821753f27716204f3aceac6e0e078a885dd427e0498ad78f5cdf29946d4821bd29c9f1b6f808d143afa225ffdf975d242047
 WHIRLPOOL 
3a00ad16a7b0c62df142edc1577c8fb04834a799708e744a808e1fefad4cf55ceb52cb0a68f0143eb68600e3c5bb99371a765fa8c5e5c16f8d0ccdd78f5f403b
 DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780

diff --git a/app-admin/keepass/keepass-2.28.ebuild 
b/app-admin/keepass/keepass-2.28.ebuild
deleted file mode 100644
index a7f6372..000
--- a/app-admin/keepass/keepass-2.28.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils fdo-mime gnome2-utils mono-env multilib
-
-MY_PN="KeePass"
-DESCRIPTION="A free, open source, light-weight and easy-to-use password 
manager"
-HOMEPAGE="http://keepass.info/;
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="aot"
-
-COMMON_DEPEND=">=dev-lang/mono-2.10.5"
-RDEPEND="${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]"
-DEPEND="${COMMON_DEPEND}
-   app-arch/unzip"
-
-S=${WORKDIR}
-
-src_prepare() {
-   # Remove Windows-specific things
-   pushd Build > /dev/null || die
-   . PrepMonoDev.sh || die
-   popd > /dev/null || die
-
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass
-   epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
-
-   # Some XSL files
-   insinto /usr/share/${PN}/XSL
-   doins Ext/XSL/*
-
-   insinto /usr/$(get_libdir)/${PN}/
-   exeinto /usr/$(get_libdir)/${PN}/
-   doins Ext/KeePass.exe.config
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons/Finals/plockb.png "${PN}.png"
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png 
"application-x-${PN}2.png"
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" 
"MimeType=application/x-keepass2;"
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages/
-   doins "${FILESDIR}/${PN}.xml"
-}
-
-pkg_preinst() {
-   gnome2_icon_savelist
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   fdo-mime_mime_database_update
-   fdo-mime_desktop_database_update
-
-   if ! has_version x11-misc/xdotool ; then
-   elog "Optional dependencies:"
-   elog "  

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2015-12-03 Thread Agostino Sarubbo
commit: 06de23dcad64fd46d357245297ee9191bc4a7607
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  3 10:41:36 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  3 10:41:36 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06de23dc

app-admin/keepass: x86 stable wrt bug #566110

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-admin/keepass/keepass-2.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.30.ebuild 
b/app-admin/keepass/keepass-2.30.ebuild
index ec72e70..b880fe1 100644
--- a/app-admin/keepass/keepass-2.30.ebuild
+++ b/app-admin/keepass/keepass-2.30.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="aot"
 
 COMMON_DEPEND=">=dev-lang/mono-2.10.5"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2015-11-19 Thread Agostino Sarubbo
commit: 14412dd22ec69579c877089cb5a43145c9f7c887
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 19 10:44:36 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 19 10:44:36 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14412dd2

app-admin/keepass: amd64 stable wrt bug #566110

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 app-admin/keepass/keepass-2.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/keepass/keepass-2.30.ebuild 
b/app-admin/keepass/keepass-2.30.ebuild
index d98b4e7..ec72e70 100644
--- a/app-admin/keepass/keepass-2.30.ebuild
+++ b/app-admin/keepass/keepass-2.30.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="aot"
 
 COMMON_DEPEND=">=dev-lang/mono-2.10.5"



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/, app-admin/keepass/files/

2015-10-04 Thread Ian Delaney
commit: d5094f447a1433978cff63283329e1659b3b1bc4
Author: Ian Delaney  gentoo  org>
AuthorDate: Sun Oct  4 15:58:52 2015 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Sun Oct  4 15:59:34 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5094f44

app-admin/keepass:  patch to build to support >=mono-4

pacthes supplied by maintainer via the gentoo bug

Gentoo bug #558094

Package-Manager: portage-2.2.20.1

 .../files/keepass-2.30-mono-4-support.patch| 92 ++
 app-admin/keepass/keepass-2.30.ebuild  |  3 +
 2 files changed, 95 insertions(+)

diff --git a/app-admin/keepass/files/keepass-2.30-mono-4-support.patch 
b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
new file mode 100644
index 000..5794ba0
--- /dev/null
+++ b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
@@ -0,0 +1,92 @@
+File keepass-2.30-original/.ipc_in is a fifo while file keepass-2.30/.ipc_in 
is a fifo
+File keepass-2.30-original/.ipc_out is a fifo while file keepass-2.30/.ipc_out 
is a fifo
+diff -ur keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln 
keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln
+--- keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln   2008-09-11 
18:19:14.0 +0200
 keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln2015-09-28 
17:21:23.640007000 +0200
+@@ -1,5 +1,5 @@
+ 
+-Microsoft Visual Studio Solution File, Format Version 10.00
++Microsoft Visual Studio Solution File, Format Version 11.00
+ # Visual Studio 2008
+ Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "KeePassMsi", 
"KeePassMsi.vdproj", "{C4135368-4A84-4924-B5CE-82B18FAADFD4}"
+ EndProject
+diff -ur keepass-2.30-original/work/KeePass/KeePass.csproj 
keepass-2.30/work/KeePass/KeePass.csproj
+--- keepass-2.30-original/work/KeePass/KeePass.csproj  2015-09-28 
17:20:19.828006799 +0200
 keepass-2.30/work/KeePass/KeePass.csproj   2015-09-28 17:21:26.160007008 
+0200
+@@ -1,5 +1,5 @@
+-http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="3.5">
+-  
++http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="4.0">
++  v4.5
+ Debug
+ AnyCPU
+ 9.0.30729
+@@ -1315,6 +1315,6 @@
+   
+   
+   -->
+-  
++  v4.5
+   
+ 
+diff -ur keepass-2.30-original/work/KeePassLib/KeePassLib.csproj 
keepass-2.30/work/KeePassLib/KeePassLib.csproj
+--- keepass-2.30-original/work/KeePassLib/KeePassLib.csproj2015-09-28 
17:20:19.836006799 +0200
 keepass-2.30/work/KeePassLib/KeePassLib.csproj 2015-09-28 
17:21:26.148007008 +0200
+@@ -1,5 +1,5 @@
+-http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="3.5">
+-  
++http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="4.0">
++  v4.5
+ Debug
+ AnyCPU
+ 9.0.30729
+diff -ur keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj 
keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj
+--- keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj
2014-05-08 15:00:06.0 +0200
 keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj 2015-09-28 
17:21:26.148007008 +0200
+@@ -1,5 +1,5 @@
+-http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="3.5">
+-  
++http://schemas.microsoft.com/developer/msbuild/2003; ToolsVersion="4.0">
++  v4.5
+ Debug
+ AnyCPU
+ 9.0.30729
+@@ -14,7 +14,7 @@
+ 3C41C503-53EF-4c2a-8DD4-A8217CAD115E
+ 4.20
+ KeePassLibSD
+-v2.0
++
+ 
+ 
+ true
+diff -ur keepass-2.30-original/work/KeePass.sln keepass-2.30/work/KeePass.sln
+--- keepass-2.30-original/work/KeePass.sln 2015-09-28 17:20:19.848006799 
+0200
 keepass-2.30/work/KeePass.sln  2015-09-28 17:21:23.632007000 +0200
+@@ -1,4 +1,4 @@
+-Microsoft Visual Studio Solution File, Format Version 10.00
++Microsoft Visual Studio Solution File, Format Version 11.00
+ # Visual Studio 2008
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeePassLib", 
"KeePassLib\KeePassLib.csproj", "{53573E4E-33CB-4FDB-8698-C95F5E40E7F3}"
+ EndProject
+diff -ur keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln 
keepass-2.30/work/ShInstUtil/ShInstUtil.sln
+--- keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln   2011-09-10 
13:21:28.0 +0200
 keepass-2.30/work/ShInstUtil/ShInstUtil.sln2015-09-28 
17:21:23.636007000 +0200
+@@ -1,5 +1,5 @@
+ 
+-Microsoft Visual Studio Solution File, Format Version 10.00
++Microsoft Visual Studio Solution File, Format Version 11.00
+ # Visual Studio 2008
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShInstUtil", 
"ShInstUtil.vcproj", "{C9FBA6FD-04AC-4B2F-8277-B852B8013DAE}"
+ EndProject
+diff -ur keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj 
keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj
+--- keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj  
2013-07-21 10:06:38.0 +0200
 keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj   2015-09-28 
17:21:26.140007008 +0200
+@@ 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2015-08-19 Thread Michael Palimaka
commit: 8b104600922a9b7f2975862fc25b350edb8c83a5
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Wed Aug 19 10:51:59 2015 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Wed Aug 19 10:51:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b104600

app-admin/keepass: remove old

Package-Manager: portage-2.2.20.1

 app-admin/keepass/Manifest|   1 -
 app-admin/keepass/keepass-2.27.ebuild | 102 --
 2 files changed, 103 deletions(-)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 31e22c7..2d47051 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,4 +1,3 @@
-DIST KeePass-2.27-Source.zip 3531254 SHA256 
f812a7bc2921a491d7dcf4a247373fa53f32843b1df6a34ece488a25d599ca44 SHA512 
9a2ec8b37cd9a4bf4d13585d3d594c766852b64cda8680d2a3ab934e320e1c110e93319d0c74652041198c03ea21209c95995b505e7924a054870d689da6dbe1
 WHIRLPOOL 
aa2f543b83425bbef2ccd6f45f04c2f92b6a8498b45ab0db40d613c318e0b3202056654d3e40a9bad6c169c17b296a81462124732b1d84a535e7d70920d2d36a
 DIST KeePass-2.28-Source.zip 3532385 SHA256 
2bd3291308fbb592ee8da21c42457320f81d00eda189c9ee39f03a12783ff91b SHA512 
3fc1813076f4a205a6d970d3b9d1abfdfb8ea03099523dc8f7d775f5a4210002323bd8cbeba216acecf84032aa8504e752063880b87190935cb45d646badd672
 WHIRLPOOL 
954c677a10dad6bdf470dd29e777896806d1f5137711dea3e9ac7c2fd9ddc98042c9911fd10cf3c0f7838f3eebe40676564b4efcb43e3d2eb8b8d2bb0866fd07
 DIST KeePass-2.29-Source.zip 4762221 SHA256 
b5582eb96611726a70b523c156c89dfb83ae80ce051a4f57bb0b7a6fbf023a14 SHA512 
3a682be8f54fdaad7d299620f5f4821753f27716204f3aceac6e0e078a885dd427e0498ad78f5cdf29946d4821bd29c9f1b6f808d143afa225ffdf975d242047
 WHIRLPOOL 
3a00ad16a7b0c62df142edc1577c8fb04834a799708e744a808e1fefad4cf55ceb52cb0a68f0143eb68600e3c5bb99371a765fa8c5e5c16f8d0ccdd78f5f403b
 DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780

diff --git a/app-admin/keepass/keepass-2.27.ebuild 
b/app-admin/keepass/keepass-2.27.ebuild
deleted file mode 100644
index 237cb38..000
--- a/app-admin/keepass/keepass-2.27.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils fdo-mime gnome2-utils mono-env multilib
-
-MY_PN=KeePass
-DESCRIPTION=A free, open source, light-weight and easy-to-use password 
manager
-HOMEPAGE=http://keepass.info/;
-SRC_URI=mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip
-
-LICENSE=GPL-2
-SLOT=0
-KEYWORDS=~amd64 ~x86
-IUSE=aot
-
-COMMON_DEPEND==dev-lang/mono-2.10.5
-RDEPEND=${COMMON_DEPEND}
-   dev-dotnet/libgdiplus[cairo]
-DEPEND=${COMMON_DEPEND}
-   app-arch/unzip
-
-S=${WORKDIR}
-
-src_prepare() {
-   # Remove Windows-specific things
-   pushd Build  /dev/null || die
-   . PrepMonoDev.sh || die
-   popd  /dev/null || die
-
-   # KeePass looks for some XSL files in the same folder as the executable,
-   # we prefer to have it in /usr/share/KeePass
-   epatch ${FILESDIR}/${PN}-2.20-xsl-path-detection.patch
-}
-
-src_compile() {
-   # Build with Release target
-   xbuild /target:KeePass /property:Configuration=Release || die
-
-   # Run Ahead Of Time compiler on the binary
-   if use aot; then
-   cp Ext/KeePass.exe.config Build/KeePass/Release/
-   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
-   fi
-}
-
-src_install() {
-   # Wrapper script to launch mono
-   make_wrapper ${PN} mono /usr/$(get_libdir)/${PN}/KeePass.exe
-
-   # Some XSL files
-   insinto /usr/share/${PN}/XSL
-   doins Ext/XSL/*
-
-   insinto /usr/$(get_libdir)/${PN}/
-   exeinto /usr/$(get_libdir)/${PN}/
-   doins Ext/KeePass.exe.config
-   # Default configuration, simply says to use user-specific configuration
-   doins Ext/KeePass.config.xml
-
-   # The actual executable
-   doexe Build/KeePass/Release/KeePass.exe
-
-   # Copy the AOT compilation result
-   if use aot; then
-   doexe Build/KeePass/Release/KeePass.exe.so
-   fi
-
-   # Prepare the icons
-   newicon -s 256 Ext/Icons/Finals/plockb.png ${PN}.png
-   newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png 
application-x-${PN}2.png
-
-   # Create a desktop entry and associate it with the KeePass mime type
-   make_desktop_entry ${PN} ${MY_PN} ${PN} System;Security 
MimeType=application/x-keepass2;
-
-   # MIME descriptor for .kdbx files
-   insinto /usr/share/mime/packages/
-   doins ${FILESDIR}/${PN}.xml

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/

2015-08-19 Thread Michael Palimaka
commit: 753e56356b2468ad83795707746562b13eb98d0c
Author: Michael Palimaka kensington AT gentoo DOT org
AuthorDate: Wed Aug 19 10:51:02 2015 +
Commit: Michael Palimaka kensington AT gentoo DOT org
CommitDate: Wed Aug 19 10:51:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=753e5635

app-admin/keepass: version bump

Package-Manager: portage-2.2.20.1

 app-admin/keepass/Manifest|   1 +
 app-admin/keepass/keepass-2.30.ebuild | 105 ++
 2 files changed, 106 insertions(+)

diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
index 6f24d64..31e22c7 100644
--- a/app-admin/keepass/Manifest
+++ b/app-admin/keepass/Manifest
@@ -1,3 +1,4 @@
 DIST KeePass-2.27-Source.zip 3531254 SHA256 
f812a7bc2921a491d7dcf4a247373fa53f32843b1df6a34ece488a25d599ca44 SHA512 
9a2ec8b37cd9a4bf4d13585d3d594c766852b64cda8680d2a3ab934e320e1c110e93319d0c74652041198c03ea21209c95995b505e7924a054870d689da6dbe1
 WHIRLPOOL 
aa2f543b83425bbef2ccd6f45f04c2f92b6a8498b45ab0db40d613c318e0b3202056654d3e40a9bad6c169c17b296a81462124732b1d84a535e7d70920d2d36a
 DIST KeePass-2.28-Source.zip 3532385 SHA256 
2bd3291308fbb592ee8da21c42457320f81d00eda189c9ee39f03a12783ff91b SHA512 
3fc1813076f4a205a6d970d3b9d1abfdfb8ea03099523dc8f7d775f5a4210002323bd8cbeba216acecf84032aa8504e752063880b87190935cb45d646badd672
 WHIRLPOOL 
954c677a10dad6bdf470dd29e777896806d1f5137711dea3e9ac7c2fd9ddc98042c9911fd10cf3c0f7838f3eebe40676564b4efcb43e3d2eb8b8d2bb0866fd07
 DIST KeePass-2.29-Source.zip 4762221 SHA256 
b5582eb96611726a70b523c156c89dfb83ae80ce051a4f57bb0b7a6fbf023a14 SHA512 
3a682be8f54fdaad7d299620f5f4821753f27716204f3aceac6e0e078a885dd427e0498ad78f5cdf29946d4821bd29c9f1b6f808d143afa225ffdf975d242047
 WHIRLPOOL 
3a00ad16a7b0c62df142edc1577c8fb04834a799708e744a808e1fefad4cf55ceb52cb0a68f0143eb68600e3c5bb99371a765fa8c5e5c16f8d0ccdd78f5f403b
+DIST KeePass-2.30-Source.zip 4767753 SHA256 
4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 
05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182
 WHIRLPOOL 
4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780

diff --git a/app-admin/keepass/keepass-2.30.ebuild 
b/app-admin/keepass/keepass-2.30.ebuild
new file mode 100644
index 000..55cdd13
--- /dev/null
+++ b/app-admin/keepass/keepass-2.30.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils fdo-mime gnome2-utils mono-env multilib
+
+MY_PN=KeePass
+DESCRIPTION=A free, open source, light-weight and easy-to-use password 
manager
+HOMEPAGE=http://keepass.info/;
+SRC_URI=mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip
+
+LICENSE=GPL-2
+SLOT=0
+KEYWORDS=~amd64 ~x86
+IUSE=aot
+
+COMMON_DEPEND==dev-lang/mono-2.10.5
+RDEPEND=${COMMON_DEPEND}
+   dev-dotnet/libgdiplus[cairo]
+DEPEND=${COMMON_DEPEND}
+   app-arch/unzip
+
+S=${WORKDIR}
+
+src_prepare() {
+   # Remove Windows-specific things
+   pushd Build  /dev/null || die
+   . PrepMonoDev.sh || die
+   popd  /dev/null || die
+
+   # KeePass looks for some XSL files in the same folder as the executable,
+   # we prefer to have it in /usr/share/KeePass
+   epatch ${FILESDIR}/${PN}-2.20-xsl-path-detection.patch
+}
+
+src_compile() {
+   # Build with Release target
+   xbuild /target:KeePass /property:Configuration=Release || die
+
+   # Run Ahead Of Time compiler on the binary
+   if use aot; then
+   cp Ext/KeePass.exe.config Build/KeePass/Release/
+   mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
+   fi
+}
+
+src_install() {
+   # Wrapper script to launch mono
+   make_wrapper ${PN} mono /usr/$(get_libdir)/${PN}/KeePass.exe
+
+   # Some XSL files
+   insinto /usr/share/${PN}/XSL
+   doins Ext/XSL/*
+
+   insinto /usr/$(get_libdir)/${PN}/
+   exeinto /usr/$(get_libdir)/${PN}/
+   doins Ext/KeePass.exe.config
+   # Default configuration, simply says to use user-specific configuration
+   doins Ext/KeePass.config.xml
+
+   # The actual executable
+   doexe Build/KeePass/Release/KeePass.exe
+
+   # Copy the AOT compilation result
+   if use aot; then
+   doexe Build/KeePass/Release/KeePass.exe.so
+   fi
+
+   # Prepare the icons
+   newicon -s 256 Ext/Icons/Finals/plockb.png ${PN}.png
+   newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png 
application-x-${PN}2.png
+
+   # Create a desktop entry and associate it with the KeePass mime type
+   make_desktop_entry ${PN} ${MY_PN} ${PN} System;Security 
MimeType=application/x-keepass2;
+
+   # MIME descriptor for .kdbx files
+   insinto /usr/share/mime/packages/
+   doins ${FILESDIR}/${PN}.xml