[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/, dev-libs/device-atlas-api-c/files/
commit: 3a62c8f41ae56a1f95bae05032d144eae3e110eb Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Nov 17 02:11:12 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Nov 30 13:47:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a62c8f4 dev-libs/device-atlas-api-c: Drop 2.1.3 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/device-atlas-api-c/Manifest | 1 - .../device-atlas-api-c-2.1.3.ebuild| 50 -- .../files/2.1.3-src-cmakelists.patch | 18 3 files changed, 69 deletions(-) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index 036494af0cc..e37d1bb0195 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1,2 +1 @@ -DIST deviceatlas-enterprise-c-2.1.3.tgz 183663 BLAKE2B e190aa8e9a4b9bc90af76e21eb425c0f040ef70e605c8f9e588bd0c859520a82807aaafddd24402d3365e94bcf3b7a875a65804f2b1b3bed6f0703f28a841440 SHA512 364811d42b2c0d937a12f2bbfee760701a1dee4e93bcc84423c8b236d59257a3440111ffc6072a7822b9694ea65986572550f67d0b1e5d68a784d1339b2b70aa DIST deviceatlas-enterprise-c-2.1.4.tgz 51756 BLAKE2B f8dafdf31b608890da07214e14e9b2ec558e2c9c94c394a04c554e915cc1d4e2e886be1c0932353b0a68efaf90f190157696a2575db6ff2a86bbca3b492bc427 SHA512 5ea765738560c6dbc90799426f6bc0e6eb5e7775fa005279f046a68a4a984305ef99ae8b943dd9d32f88d88c1d24b6c09145643fa64a90eb834fc4a6ece05008 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild deleted file mode 100644 index 2177b9530f2..000 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.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 -inherit cmake-multilib - -MY_P="deviceatlas-enterprise-c-${PV/_p/_}" - -DESCRIPTION="API to detect devices based on the User-Agent HTTP header" -HOMEPAGE="https://deviceatlas.com; -SRC_URI="${MY_P}.tgz" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="doc examples" - -RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" -DEPEND=" - ${RDEPEND}" - -RESTRICT="fetch mirror bindist" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PV}-src-cmakelists.patch" -) - -pkg_nofetch() { - eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; - eerror "And download DeviceAtlas C API" - eerror "Save the file as ${MY_P}.tgz in your DISTDIR directory." -} - -multilib_src_install_all() { - if use doc; then - local -a HTML_DOCS=( Documentation ) - fi - - if use examples; then - docinto examples - dodoc Examples/daexutil.h - dodoc Examples/example{0,1,2,3,4}.c - dodoc Examples/util.c - dodoc Examples/EXAMPLES.USAGE - fi - - einstalldocs -} diff --git a/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch deleted file mode 100644 index 6d1f9ff5586..000 --- a/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch +++ /dev/null @@ -1,18 +0,0 @@ a/Src/CMakeLists.txt -+++ b/Src/CMakeLists.txt -@@ -18,6 +18,7 @@ if (NOT MODEL) - set(MODEL 64) - endif() - -+include(GNUInstallDirs) - message(STATUS "${CMAKE_BUILD_TYPE} version") - - include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) -@@ -37,5 +38,5 @@ set (CMAKE_EXE_LINKER_FLAGS -m32) - set (CMAKE_SHARED_LINKER_FLAGS -m32) - endif() - --install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib) --install(FILES dac.h dac_json.h DESTINATION /usr/local/include) -+install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) -+install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/files/, dev-libs/device-atlas-api-c/
commit: 8a1d43f42af52f5e65e4627b69420ae26806c833 Author: David Carlier gmail com> AuthorDate: Wed Apr 3 19:52:13 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Jul 7 06:03:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1d43f4 dev-libs/device-atlas-api-c: bump to version 2.1.4 Signed-off-by: David Carlier gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11580 Signed-off-by: Michał Górny gentoo.org> dev-libs/device-atlas-api-c/Manifest | 1 + .../device-atlas-api-c-2.1.4.ebuild| 48 ++ .../files/2.1.4-src-cmakelists.patch | 25 +++ 3 files changed, 74 insertions(+) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index 742a2d26377..036494af0cc 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1 +1,2 @@ DIST deviceatlas-enterprise-c-2.1.3.tgz 183663 BLAKE2B e190aa8e9a4b9bc90af76e21eb425c0f040ef70e605c8f9e588bd0c859520a82807aaafddd24402d3365e94bcf3b7a875a65804f2b1b3bed6f0703f28a841440 SHA512 364811d42b2c0d937a12f2bbfee760701a1dee4e93bcc84423c8b236d59257a3440111ffc6072a7822b9694ea65986572550f67d0b1e5d68a784d1339b2b70aa +DIST deviceatlas-enterprise-c-2.1.4.tgz 51756 BLAKE2B f8dafdf31b608890da07214e14e9b2ec558e2c9c94c394a04c554e915cc1d4e2e886be1c0932353b0a68efaf90f190157696a2575db6ff2a86bbca3b492bc427 SHA512 5ea765738560c6dbc90799426f6bc0e6eb5e7775fa005279f046a68a4a984305ef99ae8b943dd9d32f88d88c1d24b6c09145643fa64a90eb834fc4a6ece05008 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.4.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.4.ebuild new file mode 100644 index 000..1f91f978318 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com; +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; + eerror "And download DeviceAtlas C API" + eerror "Save the file as ${MY_P}.tgz in your DISTDIR directory." +} + +multilib_src_install_all() { + if use doc; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples; then + docinto examples + dodoc -r Examples/. + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/files/2.1.4-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.4-src-cmakelists.patch new file mode 100644 index 000..d66fdad8e4d --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1.4-src-cmakelists.patch @@ -0,0 +1,25 @@ +--- a/Src/CMakeLists.txt b/Src/CMakeLists.txt +@@ -11,6 +11,7 @@ if (NOT LIBTYPE) + set(LIBTYPE SHARED) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -33,11 +34,11 @@ set_target_properties(ci PROPERTIES SOVERSION ${CI_API_VERSION}) + + if(UNIX) + if(NOT APPLE) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libda.so ${CMAKE_CURRENT_BINARY_DIR}/libda.so.${DA_API_VERSION} DESTINATION /usr/local/lib) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libci.so ${CMAKE_CURRENT_BINARY_DIR}/libci.so.${CI_API_VERSION} DESTINATION /usr/local/lib) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libda.so ${CMAKE_CURRENT_BINARY_DIR}/libda.so.${DA_API_VERSION} DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libci.so ${CMAKE_CURRENT_BINARY_DIR}/libci.so.${CI_API_VERSION} DESTINATION ${CMAKE_INSTALL_LIBDIR}) + else() + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libda.dylib ${CMAKE_CURRENT_BINARY_DIR}/libda.${DA_API_VERSION}.dylib DESTINATION /usr/local/lib) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libci.dylib ${CMAKE_CURRENT_BINARY_DIR}/libci.${CI_API_VERSION}.dylib DESTINATION /usr/local/lib) + endif() +-install(FILES dac.h dac_json.h ci.h ci_priv.h ci_fwd.h DESTINATION /usr/local/include) ++install(FILES dac.h dac_json.h ci.h ci_priv.h ci_fwd.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + endif()
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/
commit: b742ba34a5b9dc5db2e7ab79c2f8e9479909 Author: Ben Kohler gentoo org> AuthorDate: Tue Feb 5 19:48:46 2019 + Commit: Ben Kohler gentoo org> CommitDate: Tue Feb 5 19:51:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b742ba34 dev-libs/device-atlas-api-c: don't reference ${DISTDIR} in pkg_nofetch Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Ben Kohler gentoo.org> dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild index 4679d064f46..2177b9530f2 100644 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.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 @@ -30,7 +30,7 @@ PATCHES=( pkg_nofetch() { eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; eerror "And download DeviceAtlas C API" - eerror "Then place the file in ${DISTDIR}/${MY_P}.tgz" + eerror "Save the file as ${MY_P}.tgz in your DISTDIR directory." } multilib_src_install_all() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/, dev-libs/device-atlas-api-c/files/
commit: 3196a606180dd47584f3277fc126cba869c79177 Author: Michał Górny gentoo org> AuthorDate: Sun Jan 21 21:09:28 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 21 21:10:23 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3196a606 dev-libs/device-atlas-api-c: Remove old Remove the old versions with unfetchable distfiles. Closes: https://bugs.gentoo.org/642874 dev-libs/device-atlas-api-c/Manifest | 3 -- .../device-atlas-api-c-2.1.2_p1.ebuild | 50 -- .../device-atlas-api-c-2.1.2_p2.ebuild | 50 -- .../device-atlas-api-c-2.1.ebuild | 50 -- .../files/2.1-cmake-install.patch | 20 - .../files/2.1.2-src-cmakelists.patch | 18 6 files changed, 191 deletions(-) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index 30cda7ef9e5..742a2d26377 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1,4 +1 @@ -DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738 -DIST deviceatlas-enterprise-c-2.1.2_2.tgz 184368 SHA256 feaa9198a5d6bed125b34742bd626ad0a0fcb862803916cd7d974413f8bdfdce SHA512 46c021b3430c6900f9172c13cdeb26931634345485c2fe0fe7b6911f7c6f6bee46ab3551e4fe11ef5b5caabe66c786c72b51db6875aa9d44aab673056b9debee WHIRLPOOL d85161010cf195eab5ef9c4e83404ad08cc10d607ace5bc6424ffb170ca09a26d5410534279eab1d721615db943f3a447ff908f62f76311ec80c3d95abbb49d4 DIST deviceatlas-enterprise-c-2.1.3.tgz 183663 BLAKE2B e190aa8e9a4b9bc90af76e21eb425c0f040ef70e605c8f9e588bd0c859520a82807aaafddd24402d3365e94bcf3b7a875a65804f2b1b3bed6f0703f28a841440 SHA512 364811d42b2c0d937a12f2bbfee760701a1dee4e93bcc84423c8b236d59257a3440111ffc6072a7822b9694ea65986572550f67d0b1e5d68a784d1339b2b70aa -DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild deleted file mode 100644 index 0cdafeab860..000 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-multilib - -MY_P="deviceatlas-enterprise-c-${PV/_p/_}" - -DESCRIPTION="API to detect devices based on the User-Agent HTTP header" -HOMEPAGE="https://deviceatlas.com; -SRC_URI="${MY_P}.tgz" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="doc examples" - -RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" -DEPEND=" - ${RDEPEND}" - -RESTRICT="fetch mirror bindist" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${PV}-src-cmakelists.patch" -) - -pkg_nofetch() { - eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; - eerror "And download DeviceAtlas C API" - eerror "Then place the file in ${DISTDIR}/${MY_P}.zip" -} - -multilib_src_install_all() { - if use doc ; then - local -a HTML_DOCS=( Documentation ) - fi - - if use examples ; then - insinto /usr/share/doc/${P}/examples - doins examples/daexutil.h - doins examples/example{0,1,2,3}.c - doins examples/util.c - doins examples/EXAMPLES.USAGE - fi - - einstalldocs -} diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild deleted file mode 100644 index 2923dead8a2..000 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit cmake-multilib - -MY_P="deviceatlas-enterprise-c-${PV/_p/_}" - -DESCRIPTION="API to detect devices based on the User-Agent HTTP header" -HOMEPAGE="https://deviceatlas.com; -SRC_URI="${MY_P}.tgz" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="doc examples" - -RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" -DEPEND=" -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/, dev-libs/device-atlas-api-c/files/
commit: 7c52fa4eafbd7f9d759bd6c8d0d95e874a421e13 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Sun Jan 7 16:50:38 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 21 21:07:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c52fa4e dev-libs/device-atlas-api-c: Version bump Closes: https://github.com/gentoo/gentoo/pull/6784 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-libs/device-atlas-api-c/Manifest | 1 + .../device-atlas-api-c-2.1.3.ebuild| 50 ++ .../files/2.1.3-src-cmakelists.patch | 18 3 files changed, 69 insertions(+) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index c1f9518f5e6..30cda7ef9e5 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1,3 +1,4 @@ DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738 DIST deviceatlas-enterprise-c-2.1.2_2.tgz 184368 SHA256 feaa9198a5d6bed125b34742bd626ad0a0fcb862803916cd7d974413f8bdfdce SHA512 46c021b3430c6900f9172c13cdeb26931634345485c2fe0fe7b6911f7c6f6bee46ab3551e4fe11ef5b5caabe66c786c72b51db6875aa9d44aab673056b9debee WHIRLPOOL d85161010cf195eab5ef9c4e83404ad08cc10d607ace5bc6424ffb170ca09a26d5410534279eab1d721615db943f3a447ff908f62f76311ec80c3d95abbb49d4 +DIST deviceatlas-enterprise-c-2.1.3.tgz 183663 BLAKE2B e190aa8e9a4b9bc90af76e21eb425c0f040ef70e605c8f9e588bd0c859520a82807aaafddd24402d3365e94bcf3b7a875a65804f2b1b3bed6f0703f28a841440 SHA512 364811d42b2c0d937a12f2bbfee760701a1dee4e93bcc84423c8b236d59257a3440111ffc6072a7822b9694ea65986572550f67d0b1e5d68a784d1339b2b70aa DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild new file mode 100644 index 000..4679d064f46 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com; +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.tgz" +} + +multilib_src_install_all() { + if use doc; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples; then + docinto examples + dodoc Examples/daexutil.h + dodoc Examples/example{0,1,2,3,4}.c + dodoc Examples/util.c + dodoc Examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch new file mode 100644 index 000..6d1f9ff5586 --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch @@ -0,0 +1,18 @@ +--- a/Src/CMakeLists.txt b/Src/CMakeLists.txt +@@ -18,6 +18,7 @@ if (NOT MODEL) + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -37,5 +38,5 @@ set (CMAKE_EXE_LINKER_FLAGS -m32) + set (CMAKE_SHARED_LINKER_FLAGS -m32) + endif() + +-install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib) +-install(FILES dac.h dac_json.h DESTINATION /usr/local/include) ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/
commit: ac29d20a82575da2cd552f13d5eaa8eb527110f4 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 20 09:35:38 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 21 20:50:29 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac29d20a dev-libs/device-atlas-api-c: Remove stable keywords This proprietary fetch-restricted package does not provide a way of downloading old (stable) versions. As such, it is not really suitable for stable keywords. Closes: https://bugs.gentoo.org/645092 Closes: https://github.com/gentoo/gentoo/pull/6912 dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild | 2 +- dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild index bc28a136dd9..0cdafeab860 100644 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild @@ -12,7 +12,7 @@ SRC_URI="${MY_P}.tgz" LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" +KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="doc examples" RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild index c08e69401d9..db18e64b273 100644 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="${MY_P}.zip" LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="amd64 arm ppc x86" +KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="doc examples" RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/
commit: d04b19f312e924f9203e2993d771230d8ae3c8ba Author: David Carlier gmail com> AuthorDate: Thu Aug 31 19:01:53 2017 + Commit: Patrice Clement gentoo org> CommitDate: Sat Oct 7 15:56:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04b19f3 dev-libs/device-atlas-api-c: version bump to 2.1.2_2. Closes: https://github.com/gentoo/gentoo/pull/5572 dev-libs/device-atlas-api-c/Manifest | 1 + .../device-atlas-api-c-2.1.2_p2.ebuild | 50 ++ 2 files changed, 51 insertions(+) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index de4fbaa478c..c1f9518f5e6 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1,2 +1,3 @@ DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738 +DIST deviceatlas-enterprise-c-2.1.2_2.tgz 184368 SHA256 feaa9198a5d6bed125b34742bd626ad0a0fcb862803916cd7d974413f8bdfdce SHA512 46c021b3430c6900f9172c13cdeb26931634345485c2fe0fe7b6911f7c6f6bee46ab3551e4fe11ef5b5caabe66c786c72b51db6875aa9d44aab673056b9debee WHIRLPOOL d85161010cf195eab5ef9c4e83404ad08cc10d607ace5bc6424ffb170ca09a26d5410534279eab1d721615db943f3a447ff908f62f76311ec80c3d95abbb49d4 DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild new file mode 100644 index 000..2923dead8a2 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com; +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.tgz" +} + +multilib_src_install_all() { + if use doc; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/
commit: 6e4f4fceed7b767dd120a39061f810222070b6eb Author: Markus Meier gentoo org> AuthorDate: Fri Aug 4 04:32:16 2017 + Commit: Markus Meier gentoo org> CommitDate: Fri Aug 4 04:32:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4f4fce dev-libs/device-atlas-api-c: arm stable, bug #611184 Package-Manager: Portage-2.3.6, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild index ddf87047e8c..c08e69401d9 100644 --- a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="${MY_P}.zip" LICENSE="all-rights-reserved" SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" +KEYWORDS="amd64 arm ppc x86" IUSE="doc examples" RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/, dev-libs/device-atlas-api-c/files/
commit: c82166a3230cca521c494896387c507badd75590 Author: David Carlier gmail com> AuthorDate: Fri Mar 24 19:55:57 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 15 06:37:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82166a3 dev-libs/device-atlas-api-c: Bump to 2.1.2_1 version Closes: https://github.com/gentoo/gentoo/pull/4287 dev-libs/device-atlas-api-c/Manifest | 1 + .../device-atlas-api-c-2.1.2_p1.ebuild | 50 ++ .../files/2.1.2-src-cmakelists.patch | 18 3 files changed, 69 insertions(+) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest index 8199f8ea114..de4fbaa478c 100644 --- a/dev-libs/device-atlas-api-c/Manifest +++ b/dev-libs/device-atlas-api-c/Manifest @@ -1 +1,2 @@ +DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738 DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild new file mode 100644 index 000..bc28a136dd9 --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.2_p1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV/_p/_}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com; +SRC_URI="${MY_P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-src-cmakelists.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.zip" +} + +multilib_src_install_all() { + if use doc ; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples ; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch new file mode 100644 index 000..b81768aba64 --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1.2-src-cmakelists.patch @@ -0,0 +1,18 @@ +--- a/Src/CMakeLists.txt.orig 2017-05-20 22:56:14.138401705 +0100 b/Src/CMakeLists.txt 2017-05-20 22:58:11.376354697 +0100 +@@ -18,6 +18,7 @@ + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -37,5 +38,5 @@ + set (CMAKE_SHARED_LINKER_FLAGS -m32) + endif() + +-install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib) +-install(FILES dac.h dac_json.h DESTINATION /usr/local/include) ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
[gentoo-commits] repo/gentoo:master commit in: dev-libs/device-atlas-api-c/files/, dev-libs/device-atlas-api-c/
commit: 2749083e16c416005352bc0634ca2690a0b44f34 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Wed Oct 5 23:45:51 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Sun Jan 22 20:58:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2749083e dev-libs/device-atlas-api-c: API to detect devices based on the User-Agent HTTP header Package-Manager: portage-2.3.0 (cherry picked from commit b9475e94910837345e1ff1e426c0d573a23131aa) Signed-off-by: Robin H. Johnson gentoo.org> dev-libs/device-atlas-api-c/Manifest | 1 + .../device-atlas-api-c-2.1.ebuild | 51 ++ .../files/2.1-cmake-install.patch | 20 + dev-libs/device-atlas-api-c/metadata.xml | 15 +++ 4 files changed, 87 insertions(+) diff --git a/dev-libs/device-atlas-api-c/Manifest b/dev-libs/device-atlas-api-c/Manifest new file mode 100644 index ..8199f8e --- /dev/null +++ b/dev-libs/device-atlas-api-c/Manifest @@ -0,0 +1 @@ +DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4 diff --git a/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild new file mode 100644 index ..f866a8d --- /dev/null +++ b/dev-libs/device-atlas-api-c/device-atlas-api-c-2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit unpacker cmake-multilib + +MY_P="deviceatlas-enterprise-c-${PV}" + +DESCRIPTION="API to detect devices based on the User-Agent HTTP header" +HOMEPAGE="https://deviceatlas.com; +SRC_URI="${MY_P}.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]" +DEPEND="app-arch/unzip + ${RDEPEND}" + +RESTRICT="fetch mirror bindist" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PV}-cmake-install.patch" +) + +pkg_nofetch() { + eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module; + eerror "And download DeviceAtlas C API" + eerror "Then place the file in ${DISTDIR}/${MY_P}.zip" +} + +multilib_src_install_all() { + if use doc ; then + local -a HTML_DOCS=( Documentation ) + fi + + if use examples ; then + insinto /usr/share/doc/${P}/examples + doins examples/daexutil.h + doins examples/example{0,1,2,3}.c + doins examples/util.c + doins examples/EXAMPLES.USAGE + fi + + einstalldocs +} diff --git a/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch new file mode 100644 index ..9f51862 --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1-cmake-install.patch @@ -0,0 +1,20 @@ +--- ./CMakeLists.txt 2016-11-08 22:54:33.351677837 + ./CMakeLists.txt 2016-11-08 23:04:26.737184360 + +@@ -16,6 +16,7 @@ + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -31,6 +32,9 @@ + + add_subdirectory(examples) + ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) ++ + if (EXISTS "${PROJECT_SOURCE_DIR}/tests") + subdirs(tests) + endif() diff --git a/dev-libs/device-atlas-api-c/metadata.xml b/dev-libs/device-atlas-api-c/metadata.xml new file mode 100644 index ..a1a8f31 --- /dev/null +++ b/dev-libs/device-atlas-api-c/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +bertr...@jacquin.bzh +Bertrand Jacquin + + +proxy-ma...@gentoo.org +Proxy Maintainers + + +DeviceAtlas is the de facto standard for device data across the web, telco, advertising and digital marketing sectors. As the only solution that is indexed for both web and mobile operator environments, DeviceAtlas' patented technology provides a common device identifier to understand device traffic across all connected environments. + +