diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-10-05 01:14:57 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-10-05 01:14:57 +0200 |
commit | 6b8816922a25a1a88562460ab964d45a34fe448d (patch) | |
tree | c58c426057c3edf6e17b3e107370dee7fa620230 /dev-libs | |
parent | dev-libs/botan: x86 stable (bug #632104) (diff) | |
download | gentoo-6b8816922a25a1a88562460ab964d45a34fe448d.tar.gz gentoo-6b8816922a25a1a88562460ab964d45a34fe448d.tar.bz2 gentoo-6b8816922a25a1a88562460ab964d45a34fe448d.zip |
dev-libs/liblognorm: Bump to v2.0.4
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/liblognorm/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/liblognorm/liblognorm-2.0.4.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/liblognorm/Manifest b/dev-libs/liblognorm/Manifest index 55696d33fe0e..0062c736feb6 100644 --- a/dev-libs/liblognorm/Manifest +++ b/dev-libs/liblognorm/Manifest @@ -3,3 +3,4 @@ DIST liblognorm-1.1.2.tar.gz 547224 SHA256 935a112fb5310877aaa5046ac8bd2ec7d0e9f DIST liblognorm-2.0.1.tar.gz 657390 SHA256 6a7fda0da2791a87c808fbfde1af20e6463e3ff73496aae7756e3440f3bc5b75 SHA512 557ba4180d764c04edabe6292a44f5340c5b1f7ac2390a4068711be4ad6da7429e651bc2230d6ff9cc6c58cd6a6c59149f20083de8cf4d8239d95f86db39565f WHIRLPOOL ae89d7f34b673f14103574966e72b508d69a00e7f8d13eb5e9665c83303606da729001d7bb0712f96de8c4df63b3c75df90f52ec937b793a503d0062912acd6a DIST liblognorm-2.0.2.tar.gz 658976 SHA256 1689453feb4fa5343475cc08379d9e3f0f4c767a3669aa6adb553905d14447db SHA512 7cb1e20c895859072b9d6f0b3c2dd89874192dce6d11878a4c3eb0b0d9f1691d97205a61290e9cd07deeaa71c58f5fb6a4c1f14bd206119d690cf84c107ccbe4 WHIRLPOOL 46484771236067fd903d71ab17f25a513378f5aba0f59a8b3f563873aa5b56908f23ff668dfe2a4f30ade415cc7dc26b12934ccf2bad5d2521bcf6505d45a8e8 DIST liblognorm-2.0.3.tar.gz 660680 SHA256 a0c670b1f4ad0cb79dba0a4c16d9c3e8109596b5cdd744990e2924b79fd3dab3 SHA512 8f343f3029c506a9c060b1b55e478da9ceedc1fbf27ca53a991ffbddb397383adfee2d79beb174a6c997599ee3c0fa4bbc9925fa850e5bf4f4d7b181ddae7cdb WHIRLPOOL cef991d499ad893e67c0bd7c98b35ed41bf729104ec1d7d3cf7c23b0f59cadc3b95722cab7e487b09ba376f14b400cadc2f5b7731800f7da9cd1ad4b7c8b83eb +DIST liblognorm-2.0.4.tar.gz 665898 SHA256 730175b6e4e8818c31a60f614f8ba38aae4f8edbeb50d0e34236749e5d20b3a3 SHA512 3c7cbf0c8c320708615218009354d198ba0893632ca464a07270f59d137753dfc7ad6dae66b565660f14e9285f9c8964824d36070b1872b6c633589b4996ba02 WHIRLPOOL 369d8d037155a19f4b70859d0bc3cc356cdf60e38ef0d153815fa33ecb690e67feff0e0cd79a5c870ed455f7d969d037c0aaf82728e5e0fe72f3a100469cf0d5 diff --git a/dev-libs/liblognorm/liblognorm-2.0.4.ebuild b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild new file mode 100644 index 000000000000..35c8f1f974c0 --- /dev/null +++ b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="Fast samples-based log normalization library" +HOMEPAGE="http://www.liblognorm.com" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git" + + inherit git-r3 +else + SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux" +fi + +LICENSE="LGPL-2.1 Apache-2.0" +SLOT="0/5.1.0" +IUSE="debug doc static-libs test" + +RDEPEND=" + >=dev-libs/libestr-0.1.3 + >=dev-libs/libfastjson-0.99.2:= +" + +DEPEND=" + ${RDEPEND} + >=sys-devel/autoconf-archive-2015.02.04 + virtual/pkgconfig + doc? ( >=dev-python/sphinx-1.2.2 ) +" + +DOCS=( ChangeLog ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # regexp disabled due to https://github.com/rsyslog/liblognorm/issues/143 + local myeconfargs=( + --enable-compile-warnings=yes + --disable-Werror + $(use_enable doc docs) + $(use_enable test testbench) + $(use_enable debug) + $(use_enable static-libs static) + --disable-regexp + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # When adding new tests via patches we have to make them executable + einfo "Adjusting permissions of test scripts ..." + find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \ + die "Failed to adjust test scripts permission" + + emake --jobs 1 check +} + +src_install() { + default + + find "${ED}"usr/lib* -name '*.la' -delete || die +} |