diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2021-03-06 13:13:39 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-06 15:25:20 +0200 |
commit | f8cbcc2bb13920f4a1861d506760a796b02e4f1f (patch) | |
tree | 3d3771a62c8eab645c6b8df55f7282e8f67becab /app-admin/passwordsafe | |
parent | dev-libs/libvoikko: bump 4.3.1 (diff) | |
download | gentoo-f8cbcc2bb13920f4a1861d506760a796b02e4f1f.tar.gz gentoo-f8cbcc2bb13920f4a1861d506760a796b02e4f1f.tar.bz2 gentoo-f8cbcc2bb13920f4a1861d506760a796b02e4f1f.zip |
app-admin/passwordsafe: version bump to 1.13
new version passwordsafe-1.13
drop USE libressl
Closes: https://bugs.gentoo.org/774180
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/19795
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/passwordsafe')
-rw-r--r-- | app-admin/passwordsafe/Manifest | 1 | ||||
-rw-r--r-- | app-admin/passwordsafe/passwordsafe-1.13.0.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest index 93cf11d9d430..75c7ab98ad3a 100644 --- a/app-admin/passwordsafe/Manifest +++ b/app-admin/passwordsafe/Manifest @@ -1 +1,2 @@ DIST passwordsafe-1.12.0.tar.gz 14937705 BLAKE2B 523e4496ffb99f8a53e62252117d43b771af867b3505f3a5b8c8f1119e8365f0661090e410a832abca89e2ce35816d2046d4bff0ba1e0f06c52c01eaac9051b2 SHA512 c20cb754a2174e3b3ab61edf99f2a31c333144550103fac50cc26cea89669fa3574db3bdd59996fcd87b83c7bf6dd1e9d2b087c17615183cd7111f151be5a94a +DIST passwordsafe-1.13.0.tar.gz 15022877 BLAKE2B 353976c22365fc98c034eac339f067061ee659043ab8507bbec174483414619b8442ba4fd7671e888127b83e9865d21587529c7821bd706a55da951c300425d4 SHA512 eb8ae46e9f3e8287b2ad781ed6d6e13026096a35fadc1fd1da1116e5e6b65e16e76090d8e7d1c64be387229ccd1053dcc820acbe7ee97914e46c311ee8ff03b8 diff --git a/app-admin/passwordsafe/passwordsafe-1.13.0.ebuild b/app-admin/passwordsafe/passwordsafe-1.13.0.ebuild new file mode 100644 index 000000000000..a57321cf3d62 --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-1.13.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" + +inherit cmake desktop flag-o-matic optfeature wxwidgets + +MY_PV="${PV/_beta/BETA}" +DESCRIPTION="Password manager with wxGTK based frontend" +HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/" +SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qr test +xml yubikey" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/openssl:0= + net-misc/curl + sys-apps/file + sys-apps/util-linux + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}[X] + qr? ( media-gfx/qrencode ) + xml? ( dev-libs/xerces-c ) + yubikey? ( sys-auth/ykpers )" +RDEPEND="${DEPEND}" +BDEPEND=" + app-arch/zip + sys-devel/gettext + test? ( dev-cpp/gtest )" + +S="${WORKDIR}/pwsafe-${MY_PV}" + +PATCHES=( + "${FILESDIR}/${PN}-1.06_beta-system-gtest.patch" +) + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_configure() { + setup-wxwidgets + + local mycmakeargs=( + -DNO_QR=$(usex !qr) + -DNO_GTEST=$(usex !test) + -DSYSTEM_GTEST=ON + -DXML_XERCESC=$(usex xml) + -DNO_YUBI=$(usex !yubikey) + ) + + cmake_src_configure +} + +src_install() { + pushd "${BUILD_DIR}" || die + + dobin pwsafe + dobin cli/pwsafe-cli + dosym pwsafe /usr/bin/${PN} + dosym pwsafe-cli /usr/bin/${PN}-cli + + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + insinto /usr/share/${PN}/help + doins help/*.zip + + popd || die + + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.md README.LINUX.* SECURITY.md docs/{ReleaseNotes.md,ChangeLog.txt} + + insinto /usr/share/${PN} + doins -r xml + + doicon install/graphics/pwsafe.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +} + +pkg_postinst() { + optfeature "on-screen keyboard for password entry" x11-misc/xvkbd +} |