mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-crypt/libu2f-server: bump to 1.1.0, introduce a subslot
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libu2f-server-1.0.1.tar.xz 268648 BLAKE2B 9c6c2e5bafb2a95fcc5c2773de49b4db197ee6283e90cf0e4e62ff3982bdde8a51635cd9771e4dd35d27c71634367197d3b01b9c26d8a3847fccf1daf676f04b SHA512 51020722f49f787c793808b667e91923bde46e9137bfe5065106f83bcdb678e8d11cca12cb605d9622cafc15a9794c9080cf08e2a704293a791ab6f27ac47f47
|
||||
DIST libu2f-server-1.1.0.tar.xz 269128 BLAKE2B 084b177a878e8216f2ee5af9eeee11e691edcd12b7ed1b1c57f74bcc45f0418a0d44a9e72423c41b4104aa9f69807a0289172d08d21d168c6be5b36ee8c70bc3 SHA512 ebdb7c8c20727f37f4e31d8f16df7966603374f78478ada723a7b9bec1b0b0622caf6d12a65067ac8651f6088aaad61b2ad6ed51b9d6ef0dc45f031c974d8ff9
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
Reverted, removed the second hunk about dev-libs/check, and further
|
||||
adjusted. The tarball already contains the man page and gengetopt
|
||||
generated command line parsing, so these checks are useless to us.
|
||||
|
||||
From fbd340d1c777e23b66ef27ce1c03c4eb3bafc511 Mon Sep 17 00:00:00 2001
|
||||
From: Thordur Bjornsson <thorduri@yubico.com>
|
||||
Date: Thu, 12 Jan 2017 14:28:31 +0100
|
||||
Subject: [PATCH] auto: Check for help2man/gengetopt, and bail out if not
|
||||
found.
|
||||
|
||||
Both are required to build.
|
||||
|
||||
While here, if `--enable-tests` passed, check for `check` and
|
||||
if not found, bail out as well.
|
||||
---
|
||||
configure.ac | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ad409a2..6decb78 100644
|
||||
--- b/configure.ac
|
||||
+++ a/configure.ac
|
||||
@@ -43,14 +43,7 @@
|
||||
LT_INIT([win32-dll])
|
||||
|
||||
AM_MISSING_PROG(HELP2ADOC, help2adoc, $missing_dir)
|
||||
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
|
||||
-if ! which help2man >/dev/null ; then
|
||||
- AC_MSG_ERROR([help2man missing])
|
||||
-fi
|
||||
-if ! which gengetopt >/dev/null ; then
|
||||
- AC_MSG_ERROR([gengetopt missing])
|
||||
-fi
|
||||
-
|
||||
gl_LD_VERSION_SCRIPT
|
||||
|
||||
PKG_CHECK_MODULES([LIBJSON], [json-c], [], [
|
||||
51
app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild
Normal file
51
app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Yubico Universal 2nd Factor (U2F) server C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libu2f-server/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/0.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
|
||||
dev-libs/hidapi[${MULTILIB_USEDEP}]
|
||||
dev-libs/json-c:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-disable-help2man-gengetopt-checks.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
touch man/u2f-server.1 || die # do not rebuild the man page
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
myeconfargs=(
|
||||
--disable-h2a # tarball already contains the manpage
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -9,4 +9,7 @@
|
||||
<email>gokturk@gentoo.org</email>
|
||||
<name>Göktürk Yüksek</name>
|
||||
</maintainer>
|
||||
<slots>
|
||||
<subslots>Reflects ABI compatibility for libu2f-server.so</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user