[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 85cd95ec4dd995d66bbd949bcfb97ec9fa34621b Author: David Seifert gentoo org> AuthorDate: Fri May 19 16:27:53 2023 + Commit: David Seifert gentoo org> CommitDate: Fri May 19 16:27:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85cd95ec app-crypt/libnitrokey: drop 3.6 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/Manifest | 1 - app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 55 2 files changed, 56 deletions(-) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index 1d90cd22336e..82dfc8482f38 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1,2 +1 @@ -DIST libnitrokey-3.6.tar.gz 98038 BLAKE2B 27f99e7b6de93548fc7a373f37ce784da0aa50503a5c635b4d90282e6330a5ff4c0dcc03a83a7e57045b8a1aabaab27d76a090d7c49693a6ff1037b81e75ece9 SHA512 a00a6724e5c64715eca688ec254efd979acceb5ff4cad28a205f7128e44db8674a5924634fd7da6c69d589deafca7b28b99e1d05a244c321d5cb429f2e5a3bec DIST libnitrokey-3.8.tar.gz 118197 BLAKE2B 6216229d718e6c1763abc56cc6cea341bcc7c6e1ea1a100a490d72786e5ce88d5784c1452036835a0a2fa104254d807d135efaee4b1696508c9c9d0d865e78a1 SHA512 30f966eed77aa75057b096d18f8e88d6be28a376dfc1888e44aff80347e031a16755d30acf1bca196acc5b922778d90627ac71cba22f5cb002ba3ec058939c90 diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild deleted file mode 100644 index dd6d0126cf31.. --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit udev cmake - -DESCRIPTION="Support library for the Nitrokey" -HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; - - # Disable pulling in bundled dependencies - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64 x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/hidapi:= - virtual/udev" -DEPEND=" - ${RDEPEND} - test? ( >=dev-cpp/catch-2.5.0:0 )" -BDEPEND="virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d - - # actual hardware tests - # 1. require a connected Nitrokey - # 2. may kill data on your Nitrokey - # hence the main testsuite is disabled - -DCOMPILE_TESTS=OFF - -DCOMPILE_OFFLINE_TESTS=$(usex test) - ) - cmake_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 853630e3589a3f7c962282194294c4bfb791114a Author: Sam James gentoo org> AuthorDate: Thu May 18 19:42:12 2023 + Commit: Sam James gentoo org> CommitDate: Thu May 18 19:42:12 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853630e3 app-crypt/libnitrokey: Stabilize 3.8 x86, #906668 Signed-off-by: Sam James gentoo.org> app-crypt/libnitrokey/libnitrokey-3.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.8.ebuild b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild index 30baf42fb7a3..d31d6289f448 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.8.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc64 x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: abebdf3e7365db12c2ed650cc22ff8f871fb6412 Author: Sam James gentoo org> AuthorDate: Thu May 18 19:42:11 2023 + Commit: Sam James gentoo org> CommitDate: Thu May 18 19:42:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abebdf3e app-crypt/libnitrokey: Stabilize 3.8 amd64, #906668 Signed-off-by: Sam James gentoo.org> app-crypt/libnitrokey/libnitrokey-3.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.8.ebuild b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild index b37e5cdbd34f..30baf42fb7a3 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.8.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc64 ~x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 51c1daf62a027c5ee2549369c6ee8a06b3a146f6 Author: David Seifert gentoo org> AuthorDate: Fri Apr 14 23:41:21 2023 + Commit: David Seifert gentoo org> CommitDate: Fri Apr 14 23:41:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c1daf6 app-crypt/libnitrokey: add 3.8 Bug: https://bugs.gentoo.org/856142 Bug: https://bugs.gentoo.org/896248 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/Manifest | 1 + app-crypt/libnitrokey/libnitrokey-3.8.ebuild | 55 2 files changed, 56 insertions(+) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index db77f8d535ce..1d90cd22336e 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1 +1,2 @@ DIST libnitrokey-3.6.tar.gz 98038 BLAKE2B 27f99e7b6de93548fc7a373f37ce784da0aa50503a5c635b4d90282e6330a5ff4c0dcc03a83a7e57045b8a1aabaab27d76a090d7c49693a6ff1037b81e75ece9 SHA512 a00a6724e5c64715eca688ec254efd979acceb5ff4cad28a205f7128e44db8674a5924634fd7da6c69d589deafca7b28b99e1d05a244c321d5cb429f2e5a3bec +DIST libnitrokey-3.8.tar.gz 118197 BLAKE2B 6216229d718e6c1763abc56cc6cea341bcc7c6e1ea1a100a490d72786e5ce88d5784c1452036835a0a2fa104254d807d135efaee4b1696508c9c9d0d865e78a1 SHA512 30f966eed77aa75057b096d18f8e88d6be28a376dfc1888e44aff80347e031a16755d30acf1bca196acc5b922778d90627ac71cba22f5cb002ba3ec058939c90 diff --git a/app-crypt/libnitrokey/libnitrokey-3.8.ebuild b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild new file mode 100644 index ..b37e5cdbd34f --- /dev/null +++ b/app-crypt/libnitrokey/libnitrokey-3.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev cmake + +DESCRIPTION="Support library for the Nitrokey" +HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; + + # Disable pulling in bundled dependencies + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/hidapi:= + virtual/udev" +DEPEND=" + ${RDEPEND} + test? (
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 3c63c7ec561c3693da834b1601168c619c0337f5 Author: David Seifert gentoo org> AuthorDate: Fri Apr 14 23:41:22 2023 + Commit: David Seifert gentoo org> CommitDate: Fri Apr 14 23:41:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c63c7ec app-crypt/libnitrokey: sync live ebuild Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/libnitrokey-.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index a9135e08d5d4..b37e5cdbd34f 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit udev cmake @@ -29,7 +29,7 @@ RDEPEND=" virtual/udev" DEPEND=" ${RDEPEND} - test? ( >=dev-cpp/catch-2.5.0:0 )" + test? (
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 991ac772d4fdcf62a35ba2aafb2d2db9564e566b Author: David Seifert gentoo org> AuthorDate: Sun Jul 3 09:35:30 2022 + Commit: David Seifert gentoo org> CommitDate: Sun Jul 3 09:35:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=991ac772 app-crypt/libnitrokey: call udev_reload in pkg_postinst/pkg_postrm Closes: https://bugs.gentoo.org/854243 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 10 +- app-crypt/libnitrokey/libnitrokey-.ebuild | 10 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild index ecef8c9b5c2d..dd6d0126cf31 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,3 +45,11 @@ src_configure() { ) cmake_src_configure } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index 8687d0d1b4e3..a9135e08d5d4 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -45,3 +45,11 @@ src_configure() { ) cmake_src_configure } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/, app-crypt/libnitrokey/files/
commit: 77ae86b54ac33d5590534eacd066932ed4a7f5fd Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Apr 5 12:54:54 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 25 23:11:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ae86b5 app-crypt/libnitrokey: Drop 3.5 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> app-crypt/libnitrokey/Manifest | 1 - .../libnitrokey-3.5-tests-version-gitless.patch| 18 app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 49 -- 3 files changed, 68 deletions(-) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index 0a7271fec1e..db77f8d535c 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1,2 +1 @@ -DIST libnitrokey-3.5.tar.gz 94356 BLAKE2B 9e53213f309e903d26e0e8e01ab213d6bc42c5b8d720e4b19f27adb607f20ad0c6e1707bf7b55c525efbd6a4fbf7b9c87983decf6b05dab7d03701ae0ea8277f SHA512 d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 DIST libnitrokey-3.6.tar.gz 98038 BLAKE2B 27f99e7b6de93548fc7a373f37ce784da0aa50503a5c635b4d90282e6330a5ff4c0dcc03a83a7e57045b8a1aabaab27d76a090d7c49693a6ff1037b81e75ece9 SHA512 a00a6724e5c64715eca688ec254efd979acceb5ff4cad28a205f7128e44db8674a5924634fd7da6c69d589deafca7b28b99e1d05a244c321d5cb429f2e5a3bec diff --git a/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch b/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch deleted file mode 100644 index 99fc5af0378..000 --- a/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch +++ /dev/null @@ -1,18 +0,0 @@ a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -129,7 +129,14 @@ - ERROR_QUIET - ) - ENDIF() --IF((NOT ${ADD_GIT_INFO}) OR (${PROJECT_VERSION_GIT_RETURN_CODE})) -+# the version.h generation logic is tricky in a number of ways: -+# 1. git describe on a release tarball will always fail with -+#a non-zero return code, usually 128 -+# 2. If git is not installed, PROJECT_VERSION_GIT_RETURN_CODE -+#will contain the string 'No such file or directory' -+# Hence fallback to PROJECT_VERSION when the return code is NOT 0. -+IF((NOT ${ADD_GIT_INFO}) OR (NOT ${PROJECT_VERSION_GIT_RETURN_CODE} STREQUAL "0")) -+ MESSAGE(STATUS "Setting fallback Git library version") - SET(PROJECT_VERSION_GIT "v${PROJECT_VERSION}") - ENDIF() - MESSAGE(STATUS "Setting Git library version to: " ${PROJECT_VERSION_GIT} ) diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild deleted file mode 100644 index ca4417a0c16..000 --- a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils udev - -DESCRIPTION="Support library for the Nitrokey" -HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; - - # Disable pulling in bundled dependencies - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64 x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/hidapi:= - virtual/udev" -DEPEND=" - ${RDEPEND} - test? ( >=dev-cpp/catch-2.5.0:0 )" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-3.5-tests-version-gitless.patch ) - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d - - # actual hardware tests - # 1. require a connected Nitrokey - # 2. may kill data on your Nitrokey - # hence the main testsuite is disabled - -DCOMPILE_TESTS=OFF - -DCOMPILE_OFFLINE_TESTS=$(usex test) - ) - cmake-utils_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 237a1e90e37801d6eb39e63fd995e92874297bef Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Mar 15 01:33:41 2021 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Mar 15 01:33:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237a1e90 app-crypt/libnitrokey: x86 stable (bug #775833) Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild index c7d39350de3..ecef8c9b5c2 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc64 x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 7163c689783691e6908a569b002a896ceae9d062 Author: Sam James gentoo org> AuthorDate: Mon Mar 15 00:52:20 2021 + Commit: Sam James gentoo org> CommitDate: Mon Mar 15 00:52:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7163c689 app-crypt/libnitrokey: Stabilize 3.6 amd64, #775833 Signed-off-by: Sam James gentoo.org> app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild index 8687d0d1b4e..c7d39350de3 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~x86" + KEYWORDS="amd64 ~ppc64 ~x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: c4ad2874f40776743be9efbaf2ab5b33a34482b9 Author: David Seifert gentoo org> AuthorDate: Sun Jan 24 17:28:31 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Jan 24 17:28:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ad2874 app-crypt/libnitrokey: Version bump to 3.6 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/Manifest | 1 + app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 47 2 files changed, 48 insertions(+) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index abed557f993..0a7271fec1e 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1 +1,2 @@ DIST libnitrokey-3.5.tar.gz 94356 BLAKE2B 9e53213f309e903d26e0e8e01ab213d6bc42c5b8d720e4b19f27adb607f20ad0c6e1707bf7b55c525efbd6a4fbf7b9c87983decf6b05dab7d03701ae0ea8277f SHA512 d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 +DIST libnitrokey-3.6.tar.gz 98038 BLAKE2B 27f99e7b6de93548fc7a373f37ce784da0aa50503a5c635b4d90282e6330a5ff4c0dcc03a83a7e57045b8a1aabaab27d76a090d7c49693a6ff1037b81e75ece9 SHA512 a00a6724e5c64715eca688ec254efd979acceb5ff4cad28a205f7128e44db8674a5924634fd7da6c69d589deafca7b28b99e1d05a244c321d5cb429f2e5a3bec diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild new file mode 100644 index 000..8687d0d1b4e --- /dev/null +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev cmake + +DESCRIPTION="Support library for the Nitrokey" +HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; + + # Disable pulling in bundled dependencies + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/hidapi:= + virtual/udev" +DEPEND=" + ${RDEPEND} + test? ( >=dev-cpp/catch-2.5.0:0 )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d + + # actual hardware tests + # 1. require a connected Nitrokey + # 2. may kill data on your Nitrokey + # hence the main testsuite is disabled + -DCOMPILE_TESTS=OFF + -DCOMPILE_OFFLINE_TESTS=$(usex test) + ) + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: b851b801104c4593852c82785d5dcff0d38a0c35 Author: David Seifert gentoo org> AuthorDate: Sun Jan 24 17:28:32 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Jan 24 17:28:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b851b801 app-crypt/libnitrokey: Sync live ebuild Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/libnitrokey-.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index 37864f5ac54..8687d0d1b4e 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils udev +inherit udev cmake DESCRIPTION="Support library for the Nitrokey" HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; @@ -43,5 +43,5 @@ src_configure() { -DCOMPILE_TESTS=OFF -DCOMPILE_OFFLINE_TESTS=$(usex test) ) - cmake-utils_src_configure + cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 767ef995f30791c4ee14e37371ee8f90a3d2c15c Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jan 9 05:44:28 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jan 9 06:17:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767ef995 app-crypt/libnitrokey: keyword on ~ppc64 100% tests passed, 0 tests failed out of 2 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild index 6a74fb21ae1..ca4417a0c16 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.5.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=7 @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" + KEYWORDS="amd64 ~ppc64 x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: ef1c3f29d27ffb1dbcebcbf300b8929c1af301fe Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jan 9 05:45:42 2020 + Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jan 9 06:17:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1c3f29 app-crypt/libnitrokey: sync live ebuild keywords Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> app-crypt/libnitrokey/libnitrokey-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index d3474ddf0dc..37864f5ac54 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.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=7 @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64 ~x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 4e7f172e7c4a89ab68f8f165defba5a2c9cfe440 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 12 08:01:31 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 12 08:01:31 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e7f172e app-crypt/libnitrokey: amd64 stable wrt bug #684368 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild index 78dc29c694d..6a74fb21ae1 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 x86" + KEYWORDS="amd64 x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/, app-crypt/libnitrokey/files/
commit: 35347b119f54654434e1d2f2fec9c07327b3e6e2 Author: David Seifert gentoo org> AuthorDate: Sat Aug 10 20:17:42 2019 + Commit: David Seifert gentoo org> CommitDate: Sat Aug 10 20:17:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35347b11 app-crypt/libnitrokey: Fix tests when git is not installed Closes: https://bugs.gentoo.org/689614 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> .../files/libnitrokey-3.5-tests-version-gitless.patch | 18 ++ app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 2 ++ 2 files changed, 20 insertions(+) diff --git a/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch b/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch new file mode 100644 index 000..99fc5af0378 --- /dev/null +++ b/app-crypt/libnitrokey/files/libnitrokey-3.5-tests-version-gitless.patch @@ -0,0 +1,18 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -129,7 +129,14 @@ + ERROR_QUIET + ) + ENDIF() +-IF((NOT ${ADD_GIT_INFO}) OR (${PROJECT_VERSION_GIT_RETURN_CODE})) ++# the version.h generation logic is tricky in a number of ways: ++# 1. git describe on a release tarball will always fail with ++#a non-zero return code, usually 128 ++# 2. If git is not installed, PROJECT_VERSION_GIT_RETURN_CODE ++#will contain the string 'No such file or directory' ++# Hence fallback to PROJECT_VERSION when the return code is NOT 0. ++IF((NOT ${ADD_GIT_INFO}) OR (NOT ${PROJECT_VERSION_GIT_RETURN_CODE} STREQUAL "0")) ++ MESSAGE(STATUS "Setting fallback Git library version") + SET(PROJECT_VERSION_GIT "v${PROJECT_VERSION}") + ENDIF() + MESSAGE(STATUS "Setting Git library version to: " ${PROJECT_VERSION_GIT} ) diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild index 35712a33722..7d6ebab8f99 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild @@ -32,6 +32,8 @@ DEPEND=" test? ( >=dev-cpp/catch-2.5.0:0 )" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/${PN}-3.5-tests-version-gitless.patch ) + src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: f06cdbd2c4dd2bae70833415500cc60ab432cb00 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Jul 18 14:35:12 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Jul 18 14:35:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06cdbd2 app-crypt/libnitrokey: x86 keyworded (bug #686636) Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann gentoo.org> app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild index d3474ddf0dc..35712a33722 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then EGIT_SUBMODULES=() else SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 850f2821e840be6281d5a2da153b3455766eae56 Author: David Seifert gentoo org> AuthorDate: Mon Jul 8 07:51:12 2019 + Commit: David Seifert gentoo org> CommitDate: Mon Jul 8 07:51:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850f2821 app-crypt/libnitrokey: Remove old Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/Manifest | 1 - app-crypt/libnitrokey/libnitrokey-3.3.ebuild | 50 2 files changed, 51 deletions(-) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index 800ed44bbad..abed557f993 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1,2 +1 @@ -DIST libnitrokey-3.3.tar.gz 76581 BLAKE2B 1a662fb94184355dc5cae2f8e3109fc82a96aed06c726e04c4fcfef3aef0423150ac1f4647e4bf3585de7805e70cd67534d72f1255c9f80b57afa2aec36fc9d3 SHA512 fe3b6c7bdeb78f736fe7aa7475880a293c516119ac049ff47ddbaba626f2d70addee4d0cd3a38ea706b94717f51c4fb56f687d5a9bb9f10895836c5adc98b11b DIST libnitrokey-3.5.tar.gz 94356 BLAKE2B 9e53213f309e903d26e0e8e01ab213d6bc42c5b8d720e4b19f27adb607f20ad0c6e1707bf7b55c525efbd6a4fbf7b9c87983decf6b05dab7d03701ae0ea8277f SHA512 d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 diff --git a/app-crypt/libnitrokey/libnitrokey-3.3.ebuild b/app-crypt/libnitrokey/libnitrokey-3.3.ebuild deleted file mode 100644 index a9e23e36515..000 --- a/app-crypt/libnitrokey/libnitrokey-3.3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} -inherit cmake-utils udev - -DESCRIPTION="Support library for the Nitrokey" -HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; - - # Disable pulling in bundled dependencies - EGIT_SUBMODULES=() -else - SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/hidapi:= - virtual/udev" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig - test? ( >=dev-cpp/catch-2.2.0:0 )" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" - -DBUILD_SHARED_LIBS=ON - - # actual hardware tests - # 1. require a connected Nitrokey - # 2. may kill data on your Nitrokey - # hence the main testsuite is disabled - -DCOMPILE_TESTS=OFF - -DCOMPILE_OFFLINE_TESTS=$(usex test) - ) - cmake-utils_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 4b116f407e82b9081464eefb9566d5c3fd2cd988 Author: David Seifert gentoo org> AuthorDate: Sun Jun 30 20:57:10 2019 + Commit: David Seifert gentoo org> CommitDate: Sun Jun 30 20:57:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b116f40 app-crypt/libnitrokey: Version bump to 3.5 Bug: https://bugs.gentoo.org/686460 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/Manifest | 1 + app-crypt/libnitrokey/libnitrokey-3.5.ebuild | 47 2 files changed, 48 insertions(+) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest index 6579ce86131..800ed44bbad 100644 --- a/app-crypt/libnitrokey/Manifest +++ b/app-crypt/libnitrokey/Manifest @@ -1 +1,2 @@ DIST libnitrokey-3.3.tar.gz 76581 BLAKE2B 1a662fb94184355dc5cae2f8e3109fc82a96aed06c726e04c4fcfef3aef0423150ac1f4647e4bf3585de7805e70cd67534d72f1255c9f80b57afa2aec36fc9d3 SHA512 fe3b6c7bdeb78f736fe7aa7475880a293c516119ac049ff47ddbaba626f2d70addee4d0cd3a38ea706b94717f51c4fb56f687d5a9bb9f10895836c5adc98b11b +DIST libnitrokey-3.5.tar.gz 94356 BLAKE2B 9e53213f309e903d26e0e8e01ab213d6bc42c5b8d720e4b19f27adb607f20ad0c6e1707bf7b55c525efbd6a4fbf7b9c87983decf6b05dab7d03701ae0ea8277f SHA512 d2a95071e92d839c8cde4ac1435158bb469c25662f2988a4e824dbc0dfe83af841e6d04589293deddd77746dbec17b30c50fab69af58cc727ed5e0f2dbd0b5e7 diff --git a/app-crypt/libnitrokey/libnitrokey-3.5.ebuild b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild new file mode 100644 index 000..d3474ddf0dc --- /dev/null +++ b/app-crypt/libnitrokey/libnitrokey-3.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils udev + +DESCRIPTION="Support library for the Nitrokey" +HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; + + # Disable pulling in bundled dependencies + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/hidapi:= + virtual/udev" +DEPEND=" + ${RDEPEND} + test? ( >=dev-cpp/catch-2.5.0:0 )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d + + # actual hardware tests + # 1. require a connected Nitrokey + # 2. may kill data on your Nitrokey + # hence the main testsuite is disabled + -DCOMPILE_TESTS=OFF + -DCOMPILE_OFFLINE_TESTS=$(usex test) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 34c36b60775d7bf632e1c3fd3ac988a4f3133515 Author: David Seifert gentoo org> AuthorDate: Sun Jun 30 20:57:07 2019 + Commit: David Seifert gentoo org> CommitDate: Sun Jun 30 20:57:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c36b60 app-crypt/libnitrokey: Update live ebuild Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/libnitrokey-.ebuild | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index a9e23e36515..d3474ddf0dc 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} inherit cmake-utils udev DESCRIPTION="Support library for the Nitrokey" @@ -30,14 +29,12 @@ RDEPEND=" virtual/udev" DEPEND=" ${RDEPEND} - virtual/pkgconfig - test? ( >=dev-cpp/catch-2.2.0:0 )" + test? ( >=dev-cpp/catch-2.5.0:0 )" +BDEPEND="virtual/pkgconfig" src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d - -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" - -DBUILD_SHARED_LIBS=ON # actual hardware tests # 1. require a connected Nitrokey
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 9414332f4061bdb9a9718b21bd5779bca6431a87 Author: David Seifert gentoo org> AuthorDate: Sat Jan 19 14:20:49 2019 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 19 14:20:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9414332f app-crypt/libnitrokey: Use SLOTed dev-cpp/catch Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: David Seifert gentoo.org> app-crypt/libnitrokey/libnitrokey-3.3.ebuild | 4 ++-- app-crypt/libnitrokey/libnitrokey-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-crypt/libnitrokey/libnitrokey-3.3.ebuild b/app-crypt/libnitrokey/libnitrokey-3.3.ebuild index 32cf1940ee3..a9e23e36515 100644 --- a/app-crypt/libnitrokey/libnitrokey-3.3.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,7 +31,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} virtual/pkgconfig - test? ( >=dev-cpp/catch-2.2.0 )" + test? ( >=dev-cpp/catch-2.2.0:0 )" src_configure() { local mycmakeargs=( diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild index 32cf1940ee3..a9e23e36515 100644 --- a/app-crypt/libnitrokey/libnitrokey-.ebuild +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,7 +31,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} virtual/pkgconfig - test? ( >=dev-cpp/catch-2.2.0 )" + test? ( >=dev-cpp/catch-2.2.0:0 )" src_configure() { local mycmakeargs=(
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: f64c3b6edee0f8a11bb0862712fb59cd9a17e5bb Author: David Seifert gentoo org> AuthorDate: Wed Apr 11 09:36:07 2018 + Commit: David Seifert gentoo org> CommitDate: Wed Apr 11 09:36:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64c3b6e app-crypt/libnitrokey: Add 3.3 release Bug: https://bugs.gentoo.org/634474 Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-crypt/libnitrokey/Manifest | 1 + app-crypt/libnitrokey/libnitrokey-3.3.ebuild | 50 2 files changed, 51 insertions(+) diff --git a/app-crypt/libnitrokey/Manifest b/app-crypt/libnitrokey/Manifest new file mode 100644 index 000..6579ce86131 --- /dev/null +++ b/app-crypt/libnitrokey/Manifest @@ -0,0 +1 @@ +DIST libnitrokey-3.3.tar.gz 76581 BLAKE2B 1a662fb94184355dc5cae2f8e3109fc82a96aed06c726e04c4fcfef3aef0423150ac1f4647e4bf3585de7805e70cd67534d72f1255c9f80b57afa2aec36fc9d3 SHA512 fe3b6c7bdeb78f736fe7aa7475880a293c516119ac049ff47ddbaba626f2d70addee4d0cd3a38ea706b94717f51c4fb56f687d5a9bb9f10895836c5adc98b11b diff --git a/app-crypt/libnitrokey/libnitrokey-3.3.ebuild b/app-crypt/libnitrokey/libnitrokey-3.3.ebuild new file mode 100644 index 000..32cf1940ee3 --- /dev/null +++ b/app-crypt/libnitrokey/libnitrokey-3.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +inherit cmake-utils udev + +DESCRIPTION="Support library for the Nitrokey" +HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; + + # Disable pulling in bundled dependencies + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/hidapi:= + virtual/udev" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( >=dev-cpp/catch-2.2.0 )" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DBUILD_SHARED_LIBS=ON + + # actual hardware tests + # 1. require a connected Nitrokey + # 2. may kill data on your Nitrokey + # hence the main testsuite is disabled + -DCOMPILE_TESTS=OFF + -DCOMPILE_OFFLINE_TESTS=$(usex test) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
commit: 2a697673049e3e0b7f431cca0463e2667bc8eca2 Author: David Seifert gentoo org> AuthorDate: Sun Mar 11 10:40:42 2018 + Commit: David Seifert gentoo org> CommitDate: Sun Mar 11 10:40:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a697673 app-crypt/libnitrokey: Initial addition Bug: https://bugs.gentoo.org/634474 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-crypt/libnitrokey/libnitrokey-.ebuild | 50 +++ app-crypt/libnitrokey/metadata.xml| 12 +++ 2 files changed, 62 insertions(+) diff --git a/app-crypt/libnitrokey/libnitrokey-.ebuild b/app-crypt/libnitrokey/libnitrokey-.ebuild new file mode 100644 index 000..32cf1940ee3 --- /dev/null +++ b/app-crypt/libnitrokey/libnitrokey-.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +inherit cmake-utils udev + +DESCRIPTION="Support library for the Nitrokey" +HOMEPAGE="https://github.com/Nitrokey/libnitrokey"; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nitrokey/libnitrokey.git"; + + # Disable pulling in bundled dependencies + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/hidapi:= + virtual/udev" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( >=dev-cpp/catch-2.2.0 )" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_UDEVRULESDIR="$(get_udevdir)"/rules.d + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DBUILD_SHARED_LIBS=ON + + # actual hardware tests + # 1. require a connected Nitrokey + # 2. may kill data on your Nitrokey + # hence the main testsuite is disabled + -DCOMPILE_TESTS=OFF + -DCOMPILE_OFFLINE_TESTS=$(usex test) + ) + cmake-utils_src_configure +} diff --git a/app-crypt/libnitrokey/metadata.xml b/app-crypt/libnitrokey/metadata.xml new file mode 100644 index 000..bea0c015c76 --- /dev/null +++ b/app-crypt/libnitrokey/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + s...@gentoo.org + David Seifert + + + Nitrokey/libnitrokey + https://github.com/Nitrokey/libnitrokey/issues + +