From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/yaz/Manifest | 4 ++ dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch | 25 ++++++++++ dev-libs/yaz/metadata.xml | 8 ++++ dev-libs/yaz/yaz-3.0.53.ebuild | 56 +++++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 dev-libs/yaz/Manifest create mode 100644 dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch create mode 100644 dev-libs/yaz/metadata.xml create mode 100644 dev-libs/yaz/yaz-3.0.53.ebuild (limited to 'dev-libs/yaz') diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest new file mode 100644 index 000000000000..9621e2512cc1 --- /dev/null +++ b/dev-libs/yaz/Manifest @@ -0,0 +1,4 @@ +AUX yaz-3.0.47-icu-automagic.patch 899 BLAKE2B b6eafa42b369a76f085efb0b89424c4c182c1604a68bebd7f8fee47a925fdc859973bfceab912b8aeeef2aab288f326fadc0ba2fb63e6e13d047c9811ea326d4 SHA512 55185162a381ae3cb7a880568b2a0a04c1b2f7d8e579e1494df0c2047d021648bce15d223f99a36f59e8b1a14fea161a128a2c01ea7f0e5b2e167e09cf6f856e +DIST yaz-3.0.53.tar.gz 2164681 BLAKE2B e42a97d63e031f14234258c7c44735a615ebc83774c1532d7e1b50f1f231dc933168e41a1b35a139ec193e694f6253336a666daad627a4aae9a0c7ffe34ca360 SHA512 537d54757e401c1b29ad2120209b2cd038f26ff7f43ffc3c1e22808e12a1580aedee3880478e951fd4b3057ca9af4a34afa2a64c0b8ffcbec24f76deb83ddc89 +EBUILD yaz-3.0.53.ebuild 1437 BLAKE2B b4187ddd63305758e9061ceeda4a587a5977cbc6c55748fd69260f786c6088676e87344f00b721f88dd1bda374dcfbcd628d1c1fdf3d181e111880bcd2ef985b SHA512 4b904ed96171ef485e2a9134add44ed368a7acfde4878933b0fd3b5ac607ee69815390a0a43790375cfce0e21e5364aee42dac5066d1dbb65163ae3b18d05282 +MISC metadata.xml 256 BLAKE2B 318bf6f45e4874d05ebcc06bd5a382e319a403f7b22f1b51bf1e04da415cafa199ce19e824b373cd38ad831c20d3ca3696d61cb68bda85b4c5c17d60ce32194d SHA512 60f3694b1a080bbe91b43f5164f21459526f0901618d68c8d77f942813ef8338b31cfbc585a73e56cbc5d8ab18f91ec9ad97814f6b98f6443b5ccf06fd68f4d5 diff --git a/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch new file mode 100644 index 000000000000..a0aedfe05105 --- /dev/null +++ b/dev-libs/yaz/files/yaz-3.0.47-icu-automagic.patch @@ -0,0 +1,25 @@ +--- yaz-3.0.47/configure.ac.orig 2009-07-08 04:58:43.000000000 -0700 ++++ yaz-3.0.47/configure.ac 2009-07-31 01:46:21.764545198 -0700 +@@ -367,14 +367,14 @@ + + dnl + dnl +-AC_CHECK_ICU([3.4],[ +- if test "$xml_enabled" = "true"; then +- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1" +- else +- ICU_CPPFLAGS="" +- AC_MSG_WARN([ICU support disabled because XML support is unavailable]) +- fi +-]) ++dnl ------ ICU ++AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no]) ++if test "$enable_icu" = "yes"; then ++ AC_CHECK_ICU([3.4],[ ++ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[ ++ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar]) ++ ]) ++fi + dnl + dnl ------ Memory debugging + AC_ARG_ENABLE([memdebug],[ --enable-memdebug enable memory debugging],[enable_memdebug=$enableval],[enable_memdebug=none]) diff --git a/dev-libs/yaz/metadata.xml b/dev-libs/yaz/metadata.xml new file mode 100644 index 000000000000..aeb6974da125 --- /dev/null +++ b/dev-libs/yaz/metadata.xml @@ -0,0 +1,8 @@ + + + + + + Install ziffy, a promiscuous Z39.50 APDU sniffer + + diff --git a/dev-libs/yaz/yaz-3.0.53.ebuild b/dev-libs/yaz/yaz-3.0.53.ebuild new file mode 100644 index 000000000000..66af93b48754 --- /dev/null +++ b/dev-libs/yaz/yaz-3.0.53.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" +HOMEPAGE="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86" +IUSE="debug icu libressl tcpd ziffy" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + icu? ( dev-libs/icu:= ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/tcl:0 + >=sys-devel/libtool-2" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --enable-static \ + --enable-shared \ + $(use_enable debug memdebug) \ + $(use_enable icu) \ + $(use_enable tcpd tcpd /usr) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed" + + dodir ${docdir}/html + mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc ChangeLog NEWS README +} -- cgit v1.2.3