public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
@ 2015-10-27  0:08 Manuel Rüger
  0 siblings, 0 replies; 4+ messages in thread
From: Manuel Rüger @ 2015-10-27  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     b139b20520f9a194501c4894f5d9dd9429a08b70
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 00:08:23 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 00:08:23 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b139b205

app-admin/passwordsafe: Initial version.

Original ebuild by John R. Graham, Simone Scanzoni and Hendrik v. Raven.

Gentoo-Bug: #453458

Package-Manager: portage-2.2.23

 app-admin/passwordsafe/Manifest                    |  1 +
 app-admin/passwordsafe/metadata.xml                | 12 +++
 .../passwordsafe/passwordsafe-0.97_beta.ebuild     | 98 ++++++++++++++++++++++
 3 files changed, 111 insertions(+)

diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
new file mode 100644
index 0000000..8d1437c
--- /dev/null
+++ b/app-admin/passwordsafe/Manifest
@@ -0,0 +1 @@
+DIST passwordsafe-0.97_beta.tar.gz 13732972 SHA256 c19a7fff668d0459f304d83e6ddb75f52760d10ad2d015e5bb3446a920d88bd9 SHA512 f507fb3a3b3646c707be589a89442e58da47cc11f3675b6cedb6f57d40178ff5eb3ec9ba6443be6aec708ebbfbfb412fa7b641436c0b42d2e42b4238b3fbcae0 WHIRLPOOL dd344efca6625cc5cb8c0df1396ccfa1610c77c6636d459ad50088b749badba48fd67d688ca150a6f8e102542a01939a6514acd75ebaa3cec987bb2bd178bcf3

diff --git a/app-admin/passwordsafe/metadata.xml b/app-admin/passwordsafe/metadata.xml
new file mode 100644
index 0000000..a0ac2db
--- /dev/null
+++ b/app-admin/passwordsafe/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+	<use>
+		<flag name="minimal">Avoid collision with app-misc/pwsafe</flag>
+		<flag name="yubikey">Enable support for Yubikey</flag>
+	</use>
+</pkgmetadata>

diff --git a/app-admin/passwordsafe/passwordsafe-0.97_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.97_beta.ebuild
new file mode 100644
index 0000000..e6f730d
--- /dev/null
+++ b/app-admin/passwordsafe/passwordsafe-0.97_beta.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+
+inherit eutils flag-o-matic wxwidgets
+
+MY_PV="${PV/_beta/BETA}"
+DESCRIPTION="Password manager with wxGTK based frontend"
+HOMEPAGE="http://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"
+IUSE="minimal yubikey"
+
+RDEPEND="dev-libs/xerces-c
+	sys-apps/util-linux
+	sys-devel/gettext
+	x11-libs/libXt
+	x11-libs/libXtst
+	x11-libs/wxGTK:${WX_GTK_VER}[X]
+	!minimal? ( !!app-misc/pwsafe )
+	yubikey? ( sys-auth/ykpers )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/pwsafe-${MY_PV}
+
+pkg_pretend() {
+	einfo "Checking for -std=c++11 support in compiler"
+	test-flags-CXX -std=c++11 > /dev/null || die
+}
+
+src_prepare() {
+	# remove hard coded compilers and compiler flags
+	sed -e '/^export CXXFLAGS/d' -i Makefile.linux || die
+	sed -i src/core/Makefile src/os/linux/Makefile src/ui/wxWidgets/Makefile \
+		-e 's/-O[0-3]\?//g' -e 's/-g(gdb)\?//g' \
+		-e '/^CC=/d' -e '/^CXX=/d' || die
+
+	# generator for the version.h only adds \r breaking the c file
+	cp src/ui/wxWidgets/version.in src/ui/wxWidgets/version.h || die
+
+	# binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
+	# instead. Perform required changes in linking files
+	sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
+	sed -i docs/pwsafe.1 \
+		-e 's/PWSAFE/PASSWORDSAFE/' \
+		-e "s/^.B pwsafe/.B ${PN}/" || die
+}
+
+src_configure() {
+	if ! use yubikey ; then
+		export NO_YUBI=1
+	fi
+
+	need-wxwidgets unicode
+
+	strip-flags
+	append-cxxflags -std=c++11
+}
+
+src_compile() {
+	emake unicoderelease help I18N
+}
+
+src_install() {
+	if use minimal; then
+		newbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe ${PN}
+	else
+		dobin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe
+		dosym pwsafe /usr/bin/${PN}
+	fi
+
+	newman docs/pwsafe.1 ${PN}.1
+
+	dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
+
+	insinto /usr/share/pwsafe/xml
+	doins xml/*
+
+	insinto /usr/share/locale
+	doins -r src/ui/wxWidgets/I18N/mos/*
+
+	# The upstream Makefile builds this .zip file from html source material for
+	# use by the package's internal help system. Must prevent
+	# Portage from applying additional compression.
+	docompress -x /usr/share/doc/${PN}/help
+	insinto /usr/share/doc/${PN}/help
+	doins help/*.zip
+
+	newicon install/graphics/pwsafe.png ${PN}.png
+	newmenu install/desktop/pwsafe.desktop ${PN}.desktop
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
@ 2016-02-02 21:27 Manuel Rüger
  0 siblings, 0 replies; 4+ messages in thread
From: Manuel Rüger @ 2016-02-02 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  2 21:26:57 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 21:26:57 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=a4b005bf

app-admin/passwordsafe: Fix dependencies

Package-Manager: portage-2.2.27

 app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
index dac9adf..51be156 100644
--- a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
+++ b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
@@ -16,17 +16,18 @@ SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
 LICENSE="Artistic-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="minimal yubikey +xml"
+IUSE="minimal test yubikey +xml"
 
 RDEPEND="xml? ( dev-libs/xerces-c )
 	sys-apps/util-linux
-	sys-devel/gettext
 	x11-libs/libXt
 	x11-libs/libXtst
 	x11-libs/wxGTK:${WX_GTK_VER}[X]
 	!minimal? ( !!app-misc/pwsafe )
 	yubikey? ( sys-auth/ykpers )"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+	test? ( dev-cpp/gtest )"
 
 S=${WORKDIR}/pwsafe-${MY_PV}
 
@@ -42,6 +43,8 @@ src_prepare() {
 	sed -i docs/pwsafe.1 \
 		-e 's/PWSAFE/PASSWORDSAFE/' \
 		-e "s/^.B pwsafe/.B ${PN}/" || die
+	use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
+		-e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
 	epatch "${FILESDIR}"/${P}-fix-noyubikey.patch\
 		"${FILESDIR}"/${P}-fix-yubikey.patch
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
@ 2016-03-06 15:02 Manuel Rüger
  0 siblings, 0 replies; 4+ messages in thread
From: Manuel Rüger @ 2016-03-06 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     268fac29de25f23d6c961745b18cd4bd4abf1ab8
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 15:01:43 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 15:01:43 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=268fac29

app-admin/passwordsafe: Version bump

Package-Manager: portage-2.2.27

 app-admin/passwordsafe/Manifest                    |  1 +
 .../passwordsafe/passwordsafe-0.98.1_beta.ebuild   | 88 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
index 38029bd..e82926c 100644
--- a/app-admin/passwordsafe/Manifest
+++ b/app-admin/passwordsafe/Manifest
@@ -1 +1,2 @@
+DIST passwordsafe-0.98.1_beta.tar.gz 13836527 SHA256 d44bd032ac92503b118e59c19d6d8cccae85e4abe3561f72a4ae58bffd33e2a5 SHA512 42eecb9d2f3ccfaab2dff3b4dedee3fcb97645632f7596c724dc0eeacef55d88fad7438b863990cb2964b3fdf6272aec2bb53be53bb185d9fe593eb351a459ab WHIRLPOOL 0303c5c7d092290143925ba8edf6972dfc901e27bdb6f02f2e14a3e234b8dd47eeb131be015356a2378254d6ea76ae2020c04149a9b9c65139b16c48ff78429f
 DIST passwordsafe-0.98_beta.tar.gz 13833262 SHA256 a15afcd6a6b3a13ba9651cd488d7268044fbb9db3bc002972cc845c5ba85ec56 SHA512 dc15906638e71c9feceb68c6e1bf9c2682e26dba8e35e7fc4b64ccb997b8b3d8e97af7938cc224ea9ed7e3910b657f4f7900d3768c6d25ffd26c65e3fd3c9cf9 WHIRLPOOL bdc016a2c0cdda1ba0a96e6118d2e9c28c6cd3ae521377ebed04c7e00cd590059a900b6999d0d30729a45b157c1bc37e3734b08a38a7ee4acc46582b16452c41

diff --git a/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild
new file mode 100644
index 0000000..dc5c0fb
--- /dev/null
+++ b/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+
+inherit eutils flag-o-matic wxwidgets cmake-utils
+
+MY_PV="${PV/_beta/BETA}"
+DESCRIPTION="Password manager with wxGTK based frontend"
+HOMEPAGE="http://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"
+IUSE="minimal test yubikey +xml"
+
+RDEPEND="xml? ( dev-libs/xerces-c )
+	sys-apps/util-linux
+	x11-libs/libXt
+	x11-libs/libXtst
+	x11-libs/wxGTK:${WX_GTK_VER}[X]
+	!minimal? ( !!app-misc/pwsafe )
+	yubikey? ( sys-auth/ykpers )"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+	test? ( dev-cpp/gtest )"
+
+S=${WORKDIR}/pwsafe-${MY_PV}
+
+pkg_pretend() {
+	einfo "Checking for -std=c++11 support in compiler"
+	test-flags-CXX -std=c++11 > /dev/null || die
+}
+
+src_prepare() {
+	# binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
+	# instead. Perform required changes in linking files
+	sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
+	sed -i docs/pwsafe.1 \
+		-e 's/PWSAFE/PASSWORDSAFE/' \
+		-e "s/^.B pwsafe/.B ${PN}/" || die
+	use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
+		-e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
+}
+
+src_configure() {
+	need-wxwidgets unicode
+
+	local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
+		$(usex xml '' '-DNO_XML=ON') )
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	pushd "${BUILD_DIR}" || die
+	if use minimal; then
+		newbin pwsafe ${PN}
+	else
+		dobin pwsafe
+		dosym pwsafe /usr/bin/${PN}
+	fi
+	insinto /usr/share/locale
+	doins -r src/ui/wxWidgets/I18N/mos/*
+
+	# The upstream Makefile builds this .zip file from html source material for
+	# use by the package's internal help system. Must prevent
+	# Portage from applying additional compression.
+	docompress -x /usr/share/doc/${PN}/help
+	insinto /usr/share/doc/${PN}/help
+	doins help/*.zip
+
+	popd || die
+
+	newman docs/pwsafe.1 ${PN}.1
+
+	dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
+
+	insinto /usr/share/pwsafe/xml
+	doins xml/*
+
+	newicon install/graphics/pwsafe.png ${PN}.png
+	newmenu install/desktop/pwsafe.desktop ${PN}.desktop
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
@ 2016-03-06 15:21 Manuel Rüger
  0 siblings, 0 replies; 4+ messages in thread
From: Manuel Rüger @ 2016-03-06 15:21 UTC (permalink / raw
  To: gentoo-commits

commit:     eb9ca48c94fb6aee1510ce7af39349ccac271b0f
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 15:19:05 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 15:19:05 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=eb9ca48c

app-admin/passwordsafe: Moved to the tree

 app-admin/passwordsafe/Manifest                    |  1 -
 app-admin/passwordsafe/metadata.xml                | 13 ----
 .../passwordsafe/passwordsafe-0.98.1_beta.ebuild   | 88 ----------------------
 3 files changed, 102 deletions(-)

diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest
deleted file mode 100644
index 6e8cf27..0000000
--- a/app-admin/passwordsafe/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST passwordsafe-0.98.1_beta.tar.gz 13836527 SHA256 d44bd032ac92503b118e59c19d6d8cccae85e4abe3561f72a4ae58bffd33e2a5 SHA512 42eecb9d2f3ccfaab2dff3b4dedee3fcb97645632f7596c724dc0eeacef55d88fad7438b863990cb2964b3fdf6272aec2bb53be53bb185d9fe593eb351a459ab WHIRLPOOL 0303c5c7d092290143925ba8edf6972dfc901e27bdb6f02f2e14a3e234b8dd47eeb131be015356a2378254d6ea76ae2020c04149a9b9c65139b16c48ff78429f

diff --git a/app-admin/passwordsafe/metadata.xml b/app-admin/passwordsafe/metadata.xml
deleted file mode 100644
index 015554e..0000000
--- a/app-admin/passwordsafe/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer>
-		<email>mrueg@gentoo.org</email>
-		<name>Manuel Rüger</name>
-	</maintainer>
-	<use>
-		<flag name="minimal">Avoid collision with app-misc/pwsafe</flag>
-		<flag name="yubikey">Enable support for Yubikey</flag>
-		<flag name="xml">Enable XML import support</flag>
-	</use>
-</pkgmetadata>

diff --git a/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild
deleted file mode 100644
index dc5c0fb..0000000
--- a/app-admin/passwordsafe/passwordsafe-0.98.1_beta.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-WX_GTK_VER="3.0"
-
-inherit eutils flag-o-matic wxwidgets cmake-utils
-
-MY_PV="${PV/_beta/BETA}"
-DESCRIPTION="Password manager with wxGTK based frontend"
-HOMEPAGE="http://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"
-IUSE="minimal test yubikey +xml"
-
-RDEPEND="xml? ( dev-libs/xerces-c )
-	sys-apps/util-linux
-	x11-libs/libXt
-	x11-libs/libXtst
-	x11-libs/wxGTK:${WX_GTK_VER}[X]
-	!minimal? ( !!app-misc/pwsafe )
-	yubikey? ( sys-auth/ykpers )"
-DEPEND="${RDEPEND}
-	sys-devel/gettext
-	test? ( dev-cpp/gtest )"
-
-S=${WORKDIR}/pwsafe-${MY_PV}
-
-pkg_pretend() {
-	einfo "Checking for -std=c++11 support in compiler"
-	test-flags-CXX -std=c++11 > /dev/null || die
-}
-
-src_prepare() {
-	# binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
-	# instead. Perform required changes in linking files
-	sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
-	sed -i docs/pwsafe.1 \
-		-e 's/PWSAFE/PASSWORDSAFE/' \
-		-e "s/^.B pwsafe/.B ${PN}/" || die
-	use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
-		-e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
-}
-
-src_configure() {
-	need-wxwidgets unicode
-
-	local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
-		$(usex xml '' '-DNO_XML=ON') )
-
-	cmake-utils_src_configure
-}
-
-src_install() {
-	pushd "${BUILD_DIR}" || die
-	if use minimal; then
-		newbin pwsafe ${PN}
-	else
-		dobin pwsafe
-		dosym pwsafe /usr/bin/${PN}
-	fi
-	insinto /usr/share/locale
-	doins -r src/ui/wxWidgets/I18N/mos/*
-
-	# The upstream Makefile builds this .zip file from html source material for
-	# use by the package's internal help system. Must prevent
-	# Portage from applying additional compression.
-	docompress -x /usr/share/doc/${PN}/help
-	insinto /usr/share/doc/${PN}/help
-	doins help/*.zip
-
-	popd || die
-
-	newman docs/pwsafe.1 ${PN}.1
-
-	dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
-
-	insinto /usr/share/pwsafe/xml
-	doins xml/*
-
-	newicon install/graphics/pwsafe.png ${PN}.png
-	newmenu install/desktop/pwsafe.desktop ${PN}.desktop
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-06 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 15:21 [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2016-03-06 15:02 Manuel Rüger
2016-02-02 21:27 Manuel Rüger
2015-10-27  0:08 Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox