summaryrefslogtreecommitdiff
path: root/app-crypt/jitterentropy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-16 21:23:20 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-16 21:23:20 +0100
commitfab849d1daed0ba7f2ac497d07985c3dbb692543 (patch)
tree10baa743a5340b42ad538dd19d48669ccac209b1 /app-crypt/jitterentropy
parent73c318acdaf6f8309d68bd266051e6dd1f1bd787 (diff)
gentoo resync : 16.06.2019
Diffstat (limited to 'app-crypt/jitterentropy')
-rw-r--r--app-crypt/jitterentropy/Manifest4
-rw-r--r--app-crypt/jitterentropy/jitterentropy-2.1.2.ebuild (renamed from app-crypt/jitterentropy/jitterentropy-2.1.1.ebuild)15
2 files changed, 8 insertions, 11 deletions
diff --git a/app-crypt/jitterentropy/Manifest b/app-crypt/jitterentropy/Manifest
index 5e9f6c5f9b6e..30f6d42d145c 100644
--- a/app-crypt/jitterentropy/Manifest
+++ b/app-crypt/jitterentropy/Manifest
@@ -1,4 +1,4 @@
AUX jitterentropy-2.1.1-destdir-fix.patch 1542 BLAKE2B c9ad6221194de1076d14a7c4885d18520383cbb155ff13c3e19e453c7a87b30145950cbc07475d4cdc2a3c7be8710009719820c7634e25b5a53a9dab49616d8d SHA512 25113f85ecc3f2e010906b23a6e70ff616053256ff1a1ce91b9e7210d88bc0938d34696dfce884e381eb7a8993b4787bad6048361b851150c65198bfb8772d80
-DIST jitterentropy-2.1.1.tar.gz 23804 BLAKE2B e208c87b414939485c16c6e94460020164e77089d5ac69f8627f8f1dfb38f211ff985c7fa5d32f647f1b06f065f86dc9070aea9b481e8251ecdecbfb4724ce08 SHA512 fb1b76278e03f425be06c8b66532e3997a07f91645393317f42681b1113bd31dfdf348bd18c92d0dfc153c85b75f8f968fe070e988f1a02e4ef4e09435b6cef8
-EBUILD jitterentropy-2.1.1.ebuild 949 BLAKE2B 99ca327ca1bcfadbae60c43c7c97fbc4ae15586dfe60ceb019760ccf57109c82ac1947e705dd43c8158039b9f4c62fdef72685a496cf2f1939486c3a5aec1484 SHA512 fd5729d9bb41c5b78651a1922791e21de461500f98632df4b55e638c665756ff7c47720751be352641578c1331cdd499fb261f8afaccbc9fc2b8a278b2d67e12
+DIST jitterentropy-2.1.2.tar.gz 24112 BLAKE2B 9328fcc6ac09b79765d53248e4d6d01be47348c6f22f660175de888a884ea9e65253cc2e6fd3620a96f69dd0051b97ea3c46462a24c8e0c94d2bba19afab059e SHA512 b1ba2fe22c6b7d5bca64bb1611f2da3f53f1979e515a16141ccf330e3ca27a6944f0e45f0db57f4e3963a30ea4b34920ce9173f9c4f3ea82b820dc739cbd95f4
+EBUILD jitterentropy-2.1.2.ebuild 960 BLAKE2B a923f83e46c9d6e5b93edd1756a4fff995de18a9fa75e6685cca2632b7d2171e25cc0e10766f2c916bf00589b9c79b306714268d70bb9bb4a52af49b28c58500 SHA512 fe416e73c28054218b59b6e29c17967d6eddf9232262d3aa9f505ccaba425f0167185b093b457d51f22d83e41293522466b160500263ef86c6b25144e3c51127
MISC metadata.xml 666 BLAKE2B 88598964271ee05c8427e8547d25dd50eb50bec1dafcaef064328dbca5140b9221b1d1823a1dc54289b73501556579fb39a85c49a6c25d6447a677e8db0f6252 SHA512 d6baaef1aa2e0958492872e7b0ba2c6c86dfa7e281268b6cb230c2cc2c8132df04e664e0449d24885357a1a791bb354253778e0e5f2436fa612b6e0c509729e0
diff --git a/app-crypt/jitterentropy/jitterentropy-2.1.1.ebuild b/app-crypt/jitterentropy/jitterentropy-2.1.2.ebuild
index 70e643f40806..d33b497f97d7 100644
--- a/app-crypt/jitterentropy/jitterentropy-2.1.1.ebuild
+++ b/app-crypt/jitterentropy/jitterentropy-2.1.2.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=7
@@ -7,15 +7,12 @@ inherit toolchain-funcs
DESCRIPTION="Hardware RNG based on CPU timing jitter"
HOMEPAGE="https://github.com/smuellerDD/jitterentropy-library"
-SRC_URI="https://github.com/gktrk/jitterentropy-library/archive/v2.1.1.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/smuellerDD/jitterentropy-library/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.1.1-destdir-fix.patch
-)
+IUSE="static-libs"
S="${WORKDIR}/${PN}-library-${PV}"
@@ -29,13 +26,13 @@ src_prepare() {
}
src_compile() {
- emake CC="$(tc-getCC)"
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)"
}
src_install() {
+ dodir /usr/include # See: https://github.com/smuellerDD/jitterentropy-library/pull/9
emake PREFIX="${EPREFIX}/usr" \
LIBDIR="$(get_libdir)" \
DESTDIR="${D}" install
- dosym lib${PN}.so.${PV} "/usr/$(get_libdir)"/lib${PN}.so
- doheader ${PN}.h ${PN}-base-user.h
+ use static-libs && dolib.a lib${PN}.a
}