add passwordsafe ebuild

This commit is contained in:
Jörg Deckert 2013-09-24 12:09:34 +02:00
parent c7fd3800aa
commit 572b91d72d
5 changed files with 208 additions and 0 deletions

6
README Normal file
View File

@ -0,0 +1,6 @@
Das ist das Gentoo Portage Overlay der Unitas Network GmbH.
Dieses enthält überwiegend EBuilds für unsere interne Nutzung,
es wird keinerlei Garantie für die fehlerfreiheit übernommen.
Die Installation erfolgt mittels:

View File

@ -0,0 +1,3 @@
AUX passwordsafe-3.31.diff 4215 SHA256 d1d46ce22e431aa3c72601a08dfd193477da576b717bd775abb34b16f6712b25 SHA512 aebda1e1c2ab96e2242460bed2fb45d6406404ba381eaf868e88bd60f98e0da8b671ce182447915037deb3563665c351a822ff36867493b17f343aa82f3ed3d2 WHIRLPOOL a8c763a20a89196e99709ffdaad96be8021f7573212b695e3a8e8604da9febf4917c90e8cfb216b74fef92bda7b123d709790aa6405710b284c378fe63ff6e5d
DIST pwsafe-3.31Y-src.zip 16792748 SHA256 344b69de26dce0ca45d5ff777282077cf6d18eda1e189a1e06d8de2e21c1866f SHA512 e6e193025ec90685120b6b9d2a67b56f4b44b31089f56bf4e561e80c76ab044d96079e26ddc957ebf632673a7e4f28c3bf51890388da123b8257da9d51964e4b WHIRLPOOL 0380b530c75ccab90123ee94d168e56a022ceab6360a2230fba33650eba60a0f56c761b790d8d32885a2f4f60aa4f1848837487d88353923de1774ab9be4132c
EBUILD passwordsafe-3.31.ebuild 1602 SHA256 2da8408604ebb9cfa194bcc7bfac573e808abc130f4fa1443ff4bbb28fb944f4 SHA512 dde81b22abe3dbef4c4e136c69435b749b494d248d3fa39787ffc93ae38c3551be0f63c932056d8c286d9bce96a0432ad4e87435d87d1809c677d6f239d3f306 WHIRLPOOL e15788286811d0a8e0f001bbd5d663ae1f0c9d3b4707e008d2a55ac0c0bb7e854ed5ecd081fc36af47d334f94151b18e6ee2137ef2360265b440ec14317cec8c

View File

@ -0,0 +1,131 @@
diff -Naur pwsafe-3.31Y-src-orig/src/ui/wxWidgets/passwordsafeframe.h pwsafe-3.31Y-src/src/ui/wxWidgets/passwordsafeframe.h
--- pwsafe-3.31Y-src-orig/src/ui/wxWidgets/passwordsafeframe.h 2013-06-19 19:49:31.000000000 +0200
+++ pwsafe-3.31Y-src/src/ui/wxWidgets/passwordsafeframe.h 2013-09-19 19:46:28.000000000 +0200
@@ -233,7 +233,7 @@
void OnChangePasswdClick( wxCommandEvent& event );
/// wxEVT_COMMAND_MENU_SELECTED event handler for ID_OPTIONS_M
- void OnOptionsMClick( wxCommandEvent& event );
+ void OnPreferencesClick( wxCommandEvent& event );
/// wxEVT_COMMAND_MENU_SELECTED event handler for ID_PWDPOLSM
void OnPwdPolsMClick( wxCommandEvent& event );
diff -Naur pwsafe-3.31Y-src-orig/src/ui/wxWidgets/safecombinationentry.h pwsafe-3.31Y-src/src/ui/wxWidgets/safecombinationentry.h
--- pwsafe-3.31Y-src-orig/src/ui/wxWidgets/safecombinationentry.h 2013-06-19 19:49:31.000000000 +0200
+++ pwsafe-3.31Y-src/src/ui/wxWidgets/safecombinationentry.h 2013-09-19 19:18:22.000000000 +0200
@@ -70,6 +70,7 @@
DECLARE_EVENT_TABLE()
public:
+ StringX m_password;
/// Constructors
CSafeCombinationEntry(PWScore &core);
CSafeCombinationEntry(wxWindow* parent, PWScore &core,
@@ -125,15 +126,9 @@
////@begin CSafeCombinationEntry member variables
wxStaticText* m_version;
wxComboBox* m_filenameCB;
-<<<<<<< .working
CSafeCombinationCtrl* m_combinationEntry;
wxBitmapButton* m_YubiBtn;
wxStaticText* m_yubiStatusCtrl;
-=======
- CSafeCombinationCtrl* m_combinationEntry;
-private:
- StringX m_password;
->>>>>>> .merge-right.r5197
////@end CSafeCombinationEntry member variables
private:
wxString m_filename;
diff -Naur pwsafe-3.31Y-src-orig/src/ui/wxWidgets/version.in pwsafe-3.31Y-src/src/ui/wxWidgets/version.in
--- pwsafe-3.31Y-src-orig/src/ui/wxWidgets/version.in 2013-06-19 19:49:31.000000000 +0200
+++ pwsafe-3.31Y-src/src/ui/wxWidgets/version.in 2013-09-19 19:42:23.000000000 +0200
@@ -1,44 +1,44 @@
-/*
- * Copyright (c) 2003-2013 Rony Shapiro <ronys@users.sourceforge.net>.
- * All rights reserved. Use of the code is allowed under the
- * Artistic License 2.0 terms, as specified in the LICENSE file
- * distributed with this code, or available from
- * http://www.opensource.org/licenses/artistic-license-2.0.php
- */
-
-/** \file version.h
- *
- */
-
-#ifndef _VERSION_H_
-#define _VERSION_H_
-
-#include <wx/string.h>
-
-#ifdef linux
-#define APPNAME _T("PasswordSafe (linux)")
-#else
-#define APPNAME _T("PasswordSafe (wxWidgets)")
-#endif
-
-#define MAJORVERSION 0
-#define MINORVERSION 91
-#define REVISION 0
-
-// LINUXPRODVER and VCS_VERSION set by mkversion.pl
-// LINUXPRODVER is for Misc/make-latest-xml.pl
-
-#define LINUXPRODVER MAJORVERSION, MINORVERSION, REVISION, VCS_VERSION
-#define VCS_VERSION "VERSTRING"
-
-// define following for custom/experimental versions
-#define SPECIALBUILD _T("beta")
-
-#ifndef SPECIALBUILD
-#define SPECIALBUILD _T("")
-#endif
-
-extern const wxString pwsafeAppName;
-extern const wxString pwsafeVersionString;
-
-#endif /* _VERSION_H_ */
+/*
+ * Copyright (c) 2003-2013 Rony Shapiro <ronys@users.sourceforge.net>.
+ * All rights reserved. Use of the code is allowed under the
+ * Artistic License 2.0 terms, as specified in the LICENSE file
+ * distributed with this code, or available from
+ * http://www.opensource.org/licenses/artistic-license-2.0.php
+ */
+
+/** \file version.h
+ *
+ */
+
+#ifndef _VERSION_H_
+#define _VERSION_H_
+
+#include <wx/string.h>
+
+#ifdef linux
+#define APPNAME _T("PasswordSafe (linux)")
+#else
+#define APPNAME _T("PasswordSafe (wxWidgets)")
+#endif
+
+#define MAJORVERSION 0
+#define MINORVERSION 91
+#define REVISION 0
+#define VCS_VERSION 99
+
+// LINUXPRODVER and VCS_VERSION set by mkversion.pl
+// LINUXPRODVER is for Misc/make-latest-xml.pl
+
+#define LINUXPRODVER MAJORVERSION, MINORVERSION, REVISION, VCS_VERSION
+
+// define following for custom/experimental versions
+#define SPECIALBUILD _T("beta")
+
+#ifndef SPECIALBUILD
+#define SPECIALBUILD _T("")
+#endif
+
+extern const wxString pwsafeAppName;
+extern const wxString pwsafeVersionString;
+
+#endif /* _VERSION_H_ */

View File

@ -0,0 +1,58 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
WX_GTK_VER="2.8"
inherit wxwidgets autotools
DESCRIPTION="Password manager with yubikey support"
HOMEPAGE="http://passwordsafe.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/${PN}/YubiKeyPasswordSafe/${PV}Y/pwsafe-${PV}Y-src.zip"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RDEPEND=">=sys-auth/ykpers-1.11
dev-libs/xerces-c"
DEPEND="${RDEPEND}"
S=${WORKDIR}/pwsafe-${PV}Y-src
src_prepare() {
epatch ${FILESDIR}/${P}.diff || die "epatch failed"
sed -i -e "s:/usr/local/include/ykpers-1:/usr/include/ykpers-1:" src/os/linux/Makefile \
|| die "sed ykpers include failed"
sed -i -e "s:/usr/share/doc/passwordsafe/help/:/usr/share/pwsafe/help/:" src/os/linux/dir.cpp \
|| die "sed helpdir failed"
}
src_compile() {
emake I18N release || die "emake I18N release failed"
emake -C help || die "emake help failed"
}
src_install() {
dobin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe
insinto /usr/share/locale
doins -r src/ui/wxWidgets/I18N/mos/*
insinto /usr/share/pwsafe/xml
doins xml/pwsafe.xsd xml/pwsafe_filter.xsd xml/pwsafe.xsl xml/KPV1_to_PWS.xslt xml/KPV2_to_PWS.xslt
insinto /usr/share/pwsafe/help
doins help/help.zip
domenu install/desktop/pwsafe.desktop
doicon install/graphics/pwsafe.png
doman docs/pwsafe.1
dodoc README.txt docs/ReleaseNotes.txt docs/ChangeLog.txt
}

10
unitas-overlays.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<layman>
<overlay type="git" src="https://office.unitas-network.de/gitblit/git/gentoo/unitas.git" name="unitas" status="unofficial" contact="admin@unitas-network.de">
<description>The gentoo overlay of the Unitas Network GmbH.
It contains ebuilds mainly for internal use without any
warranty.</description>
<link>http://www.unitas-network.de</link>
</overlay>
</layman>