From adc18181763951399d44d62185314649d372e7fa Mon Sep 17 00:00:00 2001 From: haarp Date: Tue, 8 Aug 2023 15:48:35 +0200 Subject: Update lastpass-cli Signed-off-by: haarp --- app-admin/lastpass-cli/Manifest | 4 +- app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild | 69 ------------------------ app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild | 69 ++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild create mode 100644 app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild diff --git a/app-admin/lastpass-cli/Manifest b/app-admin/lastpass-cli/Manifest index 26fb527..1f2da15 100644 --- a/app-admin/lastpass-cli/Manifest +++ b/app-admin/lastpass-cli/Manifest @@ -1,5 +1,5 @@ AUX lastpass-cli-1.3.3-gcc10-fix.patch 2855 BLAKE2B 9d20c68d2d1349d557fef3d147e799cca1db7181e767011fcba73d2cb2639f2fa0e6a1f321561f0cffa39dfa365080984c923f10eff8fb9a3eeab19ca11418a3 SHA512 53d8d6842d21fad888597750d4ebef4de351621751befe791a09921210ddae13a2fbeb21e17aca759e60c3c6172ae786fbea42d8e9dbb379386033fe2b3a5bfa -DIST lastpass-cli-1.3.3.tar.gz 116434 BLAKE2B 341f99a7a5edd157c271a0989a004ace8300f2121230b4c0b7c23152643ebc0e3f60717a057b4e6acc802fe641ccd84c770bfcb3d89c505713aea23692d1542b SHA512 9b9274cae1fe4045b7df4402170c522ab5765929739e76141b35a75ce3c8af824acd881e194face45e8721d6ce778bde97ff1a1ac23515de0c6dba28d61a8c7e +DIST lastpass-cli-1.3.4.tar.gz 117306 BLAKE2B e1c9adafc2bda2e090ffa6c879e85addc60385b3f1e6501ea405159d35a01bcb12689bbd86166e4b665bc45a1acc6094c5ce8da81ecd1df87efb84262a2752ca SHA512 2b357b48093a18a7bd355b512477eec223847eead141ca854c421d95670ea865d07890a0b880edc0d19aacf78045f44d9969e32de510bce7065fc8a1fcb16b2f DIST lastpass-cli-man-1.3.1.tar.xz 5700 BLAKE2B 736ab71ad55cfcb657c727f3dc9dc15775dab1a0232d1ffc51b8794e49911531c96a841b4a5ac0b31f0516cd7aa54027ac7d0eb096816730cdfd192c04d99449 SHA512 e60807683ecd681b3937ef447d3e6a487d25418fe99f51ba99e54bf643c5254dd18427a03e7f035198ef34ff578bbb6116baf04eb554f54d85e7d059b6bfed7e -EBUILD lastpass-cli-1.3.3.ebuild 1605 BLAKE2B f3b342f676d0dbd9509aa03089ed6a52fe31de9ff59ae35d7f129ff888fe19f89b8dd05d7ad22f9a1bafe84ced56fb40336e4a4ea50c39a54a175ac83a0c9522 SHA512 6fe16d588af16f77d8522999a211e02e102265b05f4c24a57895cd66664cac9f13aee0fe8c84d206f3028f996fe41d09d9e0e54e78296914fdec0af80048927c +EBUILD lastpass-cli-1.3.4.ebuild 1605 BLAKE2B d6192034339c4aa60e993d3328022bb3a0e808d6b3d5197354ee8b96b51c5ee923aca740d6b20a692f06937b4aaae698f361080f8fae8bb3d72b8d3d7a29d5ea SHA512 5f84c1a15d6924a1b1deabd044968d6bb6c7ad0fd213cf5140f8c284ed0444cdbaa368595b8ca9b3f915aa5b21efafe4fadcb166fb295652aa288215051de9a2 MISC metadata.xml 531 BLAKE2B 71a2bb903891318430242f000c5afd5f8a0babf5a454dfcf8a1427e6a62287f5ca3455910a7de657908bed4927d6a84016fb9970b7e7dcf312dac312cdb88aa3 SHA512 732f3c36464419f9d50dbfe95ade05b46bc8071aedae98b205aa4290ef24bb47ce8622895f03d89b3ccc3477ebad13573a21250aa4b42fe609839543a9985c8b diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild deleted file mode 100644 index f0b8a50..0000000 --- a/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_WARN_UNUSED_CLI=no -inherit cmake bash-completion-r1 - -DESCRIPTION="Interfaces with LastPass.com from the command line." -HOMEPAGE="https://github.com/lastpass/lastpass-cli" -SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz" - -SLOT="0" -LICENSE="GPL-2+ GPL-2+-with-openssl-exception" -KEYWORDS="~amd64 ~x86" -IUSE="X +pinentry test" -RESTRICT="!test? ( test )" - -RDEPEND=" - X? ( || ( x11-misc/xclip x11-misc/xsel ) ) - dev-libs/openssl:0= - net-misc/curl - dev-libs/libxml2 - pinentry? ( app-crypt/pinentry ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/"${PN}"-1.3.3-gcc10-fix.patch -) - -src_configure() { - local mycmakeargs=( - -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile all $(usex test lpass-test '') -} - -src_install() { - cmake_src_install install - - doman "${WORKDIR}"/man/lpass.1 - - # Version 1.3.2 uses automagic detection for bashcomp - # To preserve backwards compatibility, we unconditionally - # install the completion file - newbashcomp contrib/lpass_bash_completion lpass -} - -src_test() { - local myctestargs=( - -j1 # Parallel tests fail - ) - - # The path to lpass-test is hardcoded to "${S}"/build/lpass-test - # which is incorrect for our out-of-source build - sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \ - -i "${S}"/test/include.sh || die - - cmake_src_test -} diff --git a/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild b/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild new file mode 100644 index 0000000..3235c00 --- /dev/null +++ b/app-admin/lastpass-cli/lastpass-cli-1.3.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_WARN_UNUSED_CLI=no +inherit cmake bash-completion-r1 + +DESCRIPTION="Interfaces with LastPass.com from the command line." +HOMEPAGE="https://github.com/lastpass/lastpass-cli" +SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~gokturk/distfiles/app-admin/lastpass-cli/${PN}-man-1.3.1.tar.xz" + +SLOT="0" +LICENSE="GPL-2+ GPL-2+-with-openssl-exception" +KEYWORDS="~amd64 ~x86" +IUSE="X +pinentry test" +RESTRICT="!test? ( test )" + +RDEPEND=" + X? ( || ( x11-misc/xclip x11-misc/xsel ) ) + dev-libs/openssl:0= + net-misc/curl + dev-libs/libxml2 + pinentry? ( app-crypt/pinentry ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/"${PN}"-1.3.3-gcc10-fix.patch +) + +src_configure() { + local mycmakeargs=( + -DBASH_COMPLETION_COMPLETIONSDIR="$(get_bashcompdir)" + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile all $(usex test lpass-test '') +} + +src_install() { + cmake_src_install install + + doman "${WORKDIR}"/man/lpass.1 + + # Version 1.3.2 uses automagic detection for bashcomp + # To preserve backwards compatibility, we unconditionally + # install the completion file + newbashcomp contrib/lpass_bash_completion lpass +} + +src_test() { + local myctestargs=( + -j1 # Parallel tests fail + ) + + # The path to lpass-test is hardcoded to "${S}"/build/lpass-test + # which is incorrect for our out-of-source build + sed -e "s|TEST_LPASS=.*|TEST_LPASS=\"${BUILD_DIR}/lpass-test\"|" \ + -i "${S}"/test/include.sh || die + + cmake_src_test +} -- cgit v1.2.3-65-gdbad