mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/deviceatlas-enterprise-c: Update to 3.2.3
Add patches to correct permissions of installed binaries. Strip installed binaries too. Add post-install-EXAMPLES-on target. Add ssl to USES. Change MAINTAINER's email. Switch to DISTVERSION. PR: 257963 Approved by: submitter is maintainer
This commit is contained in:
parent
947d707e3d
commit
a27ee53ee5
@ -1,9 +1,9 @@
|
|||||||
PORTNAME= deviceatlas-enterprise-c
|
PORTNAME= deviceatlas-enterprise-c
|
||||||
PORTVERSION= 2.3.4
|
DISTVERSION= 3.2.3
|
||||||
CATEGORIES= net devel
|
CATEGORIES= net devel
|
||||||
MASTER_SITES= #
|
MASTER_SITES= #
|
||||||
|
|
||||||
MAINTAINER= dcarlier@afilias.info
|
MAINTAINER= dcarlier@deviceatlas.com
|
||||||
COMMENT= DeviceAtlas Device Detection C API
|
COMMENT= DeviceAtlas Device Detection C API
|
||||||
WWW= https://www.deviceatlas.com
|
WWW= https://www.deviceatlas.com
|
||||||
|
|
||||||
@ -14,13 +14,14 @@ LICENSE_TEXT= The free of charge offering has a restricted use license, for own
|
|||||||
Contact us (http://www.deviceatlas.com/contact-us) to upgrade or to enable usage as part of a service offering.
|
Contact us (http://www.deviceatlas.com/contact-us) to upgrade or to enable usage as part of a service offering.
|
||||||
LICENSE_PERMS= none
|
LICENSE_PERMS= none
|
||||||
|
|
||||||
LIB_DEPENDS= libpcre.so:devel/pcre
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||||
|
libzip.so:archivers/libzip
|
||||||
|
|
||||||
USES= cmake zip
|
USES= cmake ssl zip
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
CMAKE_ARGS= -DDOCSDIR=${DOCSDIR} -DEXAMPLESDIR=${EXAMPLESDIR}
|
CMAKE_ARGS= -DDOCSDIR=${DOCSDIR} -DEXAMPLESDIR=${EXAMPLESDIR}
|
||||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
PLIST_SUB= PORTVERSION=${DISTVERSION}
|
||||||
|
|
||||||
REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module
|
REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module
|
||||||
|
|
||||||
@ -34,6 +35,12 @@ IGNORE?= you must manually fetch the DeviceAtlas Device Detection C API from ${R
|
|||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libda.so \
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libda.so \
|
||||||
${STAGEDIR}${PREFIX}/lib/libci.so
|
${STAGEDIR}${PREFIX}/lib/libci.so \
|
||||||
|
${STAGEDIR}${PREFIX}/bin/dajsonconv \
|
||||||
|
${STAGEDIR}${PREFIX}/bin/dadwsch
|
||||||
|
|
||||||
|
post-install-EXAMPLES-on:
|
||||||
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
|
cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1614369523
|
TIMESTAMP = 1730578098
|
||||||
SHA256 (deviceatlas-enterprise-c-2.3.4.zip) = ccb8200fef9c36b6f95cc06f6e9e7a44c3163f2e5413440548f2679a2c22c021
|
SHA256 (deviceatlas-enterprise-c-3.2.3.zip) = adf04a41158b873c099744d6227c0f4c86285922c6015de53d1baff7f12a51c7
|
||||||
SIZE (deviceatlas-enterprise-c-2.3.4.zip) = 91533
|
SIZE (deviceatlas-enterprise-c-3.2.3.zip) = 755114
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
--- extra-tools/JsonConverter/CMakeLists.txt.orig 2024-11-03 14:28:34 UTC
|
||||||
|
+++ extra-tools/JsonConverter/CMakeLists.txt
|
||||||
|
@@ -9,5 +9,7 @@ if (UNIX)
|
||||||
|
|
||||||
|
if (UNIX)
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
- install(FILES ${CMAKE_BINARY_DIR}/bin/dajsonconv PERMISSIONS WORLD_READ WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
|
||||||
|
+ install(FILES ${CMAKE_BINARY_DIR}/bin/dajsonconv
|
||||||
|
+ PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
|
||||||
|
+ WORLD_READ WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
|
||||||
|
endif()
|
@ -0,0 +1,13 @@
|
|||||||
|
--- extra-tools/Scheduler/CMakeLists.txt.orig 2024-11-03 14:27:43 UTC
|
||||||
|
+++ extra-tools/Scheduler/CMakeLists.txt
|
||||||
|
@@ -16,7 +16,9 @@ if (CURL_FOUND AND (ZLIB_FOUND OR NOT "${ZIPINC}" STRE
|
||||||
|
|
||||||
|
if (UNIX)
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
- install(FILES ${CMAKE_BINARY_DIR}/bin/dadwsch PERMISSIONS WORLD_READ WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
|
||||||
|
+ install(FILES ${CMAKE_BINARY_DIR}/bin/dadwsch PERMISSIONS
|
||||||
|
+ OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
|
||||||
|
+ WORLD_READ WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
message(STATUS "${PROJECT_NAME} needs curl, zlib and/or zip libraries")
|
@ -1,36 +1,55 @@
|
|||||||
|
bin/dadwsch
|
||||||
|
bin/dajsonconv
|
||||||
include/ci.h
|
include/ci.h
|
||||||
include/ci_fwd.h
|
include/ci_fwd.h
|
||||||
include/ci_priv.h
|
include/ci_priv.h
|
||||||
include/dac.h
|
include/dac.h
|
||||||
include/dac_json.h
|
include/dac_json.h
|
||||||
|
include/dacommon.h
|
||||||
|
include/dadwarc.h
|
||||||
|
include/dadwcom.h
|
||||||
|
include/dadwcurl.h
|
||||||
|
include/import/cache.hpp
|
||||||
|
include/import/cache_policy.hpp
|
||||||
|
include/import/lru_cache_policy.hpp
|
||||||
|
include/import/xxhash.h
|
||||||
lib/libci.so
|
lib/libci.so
|
||||||
lib/libci.so.1.1.1
|
lib/libci.so.1
|
||||||
|
lib/libci.so.1.4.1
|
||||||
lib/libda.so
|
lib/libda.so
|
||||||
lib/libda.so.%%PORTVERSION%%
|
lib/libda.so.%%PORTVERSION%%
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/CMakeLists.txt
|
lib/libda.so.3
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/carrier/ci-getproperties/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/carrier/ci-getproperties/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/assets/css/style.css
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/carrier/ci-getproperties/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/assets/js/jquery-3.7.0-min.js
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/daexutil.h
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/assets/js/jquery.tablesorter-2.31.3.min.js
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/dumpjson/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/headers.json
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/dumpjson/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/main.cpp
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/dumpjson/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/templates/main.html
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getproperties/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/analytics/templates/result.html
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getproperties/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ci-getproperties/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getproperties/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ci-getproperties/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getpropertiesclientsideandlanguage/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ci-getproperties/main.c
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getpropertiesclientsideandlanguage/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/daexutil.h
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/getpropertiesclientsideandlanguage/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/downloadjson/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/jsonloads/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/downloadjson/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/jsonloads/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/downloadjson/main.c
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/jsonloads/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpjson/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/processualist/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpjson/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/processualist/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpjson/main.c
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/processualist/list_of_uas.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getproperties/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/processualist/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getproperties/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/uastats/CMakeLists.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getproperties/main.c
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/uastats/README.md
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jsonloads/CMakeLists.txt
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/uastats/list_of_uas.txt
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jsonloads/README.md
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/device/uastats/main.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jsonloads/main.c
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Examples/util.c
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/processualist/CMakeLists.txt
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/processualist/README.md
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/processualist/list_of_uas.txt
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/processualist/main.c
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uastats/CMakeLists.txt
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uastats/README.md
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uastats/list_of_uas.txt
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uastats/main.c
|
||||||
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/util.c
|
||||||
|
Loading…
Reference in New Issue
Block a user