From nobody Tue Nov 29 16:32:58 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NM7DV4Tn3z4jDgl; Tue, 29 Nov 2022 16:32:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NM7DV3vbbz4RTg; Tue, 29 Nov 2022 16:32:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669739578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/diKeNPe6g0DrCyn6tsHAOLjZFdhuiic4AVkm09mdw=; b=pdw+IfReRe7G2lcjKWT02QKgDyCejwwscbKOC9ZIVj/JWvBbFa/4PNO3lcQZ8lFYeUh2zj /kiKB7AErthO0Ctc/0NrtBI/45ZdlqdqcTYTtBP7GcRHSy5+WBEtrw9tV9z8zizYYUkGXd 7DpbAFbtFpoWPFuA4iS1SgLiHjhpB18qePWCrougJ1803ffJcmANMl6q8JQdh1OvHFSnnM zuMf71H9nHcDMqe298ydXCmKUx5cYWgRrOzOaxrT7n/P6Z4cUDnPnUTclfMNt5ufC2c3Xp dFuzxONYlQVCOwmKi7WaW3uwTjsU27VT3QrmPliXB6uKK5VhabKv8LW7af4GiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669739578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J/diKeNPe6g0DrCyn6tsHAOLjZFdhuiic4AVkm09mdw=; b=xsndFibSj1RG+Mq/Xs4CeWRW0NZhFNbeqXeFCqOp3WF6L4zOh8LF1JMcDVAVmYsdOTwLfh iKUfEcVn5KXZR3yb7SzfZ1HejEivW+d7FEyO2mekgLYRPah0eI0ZPRGmyLpS6I2fGgTYGg Ak/624tJeWyPAQviwPbh/drYQlO3Ab6Ws8S6yLKJMIlswonEui49JUOSLU8WZzfb43+/1E DSHnqHyrq6sowv8+dHIn6kUbHTZ5ABhA9cWcdJzy4kUlkm8pyyxnNTKNz6idq+9i9cNc2t ZbB0tjzzbM3RybDuP4gyBhf7L8gTAnjT9z1GsdodYMSpf/etQGapSDBwvHqUkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669739578; a=rsa-sha256; cv=none; b=CvzVExUGxTNFudzw6e1UsjGT0OTBYaSKzi+ZI+AU2lQMbDP3/+ly47iqAXra6nSV2WzWjV QHjCnMncXMCJe7LTVZE6DfouVu16Kr0gaygslLOWBmXaJnKGNIvP4iNajnbltJ+DVtC5Z+ my3ujjYiOrbeQawft4XMW1GTnlLXAbhckaPGazOxtFBzHWeb4LYybee2NVhmF4AmKpJhoS cxAMGGS2ZhrGI5iGHr4J7LQbqnXltR0YweU1e+QIXN0qZ/y6E8GZYA4DiSE8nDw4PRZAIj LT4nYMgQKQaUgEDe2PMohrUXvsLeZ+jYx1FTH6+BZNbg/GxAMUeuUOh/nQwidg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NM7DV2dLPzPCf; Tue, 29 Nov 2022 16:32:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ATGWwAP057492; Tue, 29 Nov 2022 16:32:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ATGWwY2057491; Tue, 29 Nov 2022 16:32:58 GMT (envelope-from git) Date: Tue, 29 Nov 2022 16:32:58 GMT Message-Id: <202211291632.2ATGWwY2057491@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: cd29c27d5a1f - main - devel/elfio: Update to 3.11 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cd29c27d5a1f46a9f86ba5bd3cf6c7b4645d8351 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd29c27d5a1f46a9f86ba5bd3cf6c7b4645d8351 commit cd29c27d5a1f46a9f86ba5bd3cf6c7b4645d8351 Author: James Wright AuthorDate: 2022-11-29 12:24:53 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-11-29 16:29:04 +0000 devel/elfio: Update to 3.11 PR: 268049 Reported by: james.wright@digital-chaos.com --- devel/elfio/Makefile | 17 ++++++++------- devel/elfio/distinfo | 6 +++--- devel/elfio/files/patch-CMakeLists.txt | 11 ++++++++++ devel/elfio/pkg-plist | 38 ++++++++++++++++++++-------------- 4 files changed, 46 insertions(+), 26 deletions(-) diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile index 8de261e91e04..9b6534bcc886 100644 --- a/devel/elfio/Makefile +++ b/devel/elfio/Makefile @@ -1,5 +1,5 @@ PORTNAME= elfio -PORTVERSION= 3.10 +PORTVERSION= 3.11 CATEGORIES= devel MASTER_SITES= SF/elfio/ELFIO-sources/ELFIO-${PORTVERSION} @@ -8,23 +8,24 @@ COMMENT= Small C++ library for reading and generating ELF files WWW= http://elfio.sourceforge.net/ LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= compiler:c++11-lang - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --bindir=${EXAMPLESDIR} +USES= cmake ninja compiler:c++11-lang OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes +EXAMPLES_CMAKE_BOOL= ELFIO_BUILD_EXAMPLES + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/elfio.pdf ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${FIND} ${WRKSRC}/examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \ - ${STAGEDIR}${EXAMPLESDIR}/ \; + (cd ${WRKSRC}/examples && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name *.txt") + (cd ${BUILD_WRKSRC}/examples && \ + ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR} "-type f -perm -a=x") .include diff --git a/devel/elfio/distinfo b/devel/elfio/distinfo index 34a6a93947ad..fc7a363f6190 100644 --- a/devel/elfio/distinfo +++ b/devel/elfio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645222927 -SHA256 (elfio-3.10.tar.gz) = cdc6362ede2e0c8d1d6db15d7da4b526f461d9cfae6f6337369e416a8bc60234 -SIZE (elfio-3.10.tar.gz) = 530003 +TIMESTAMP = 1669588370 +SHA256 (elfio-3.11.tar.gz) = 3307b104c205399786edbba203906de9517e36297709fe747faf9478d55fbb91 +SIZE (elfio-3.11.tar.gz) = 429788 diff --git a/devel/elfio/files/patch-CMakeLists.txt b/devel/elfio/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..94d80e11e9f1 --- /dev/null +++ b/devel/elfio/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-11-28 05:02:09 UTC ++++ CMakeLists.txt +@@ -140,7 +140,7 @@ if(IS_TOP_PROJECT) + set(CPACK_SOURCE_IGNORE_FILES "/.git/;/.github/;/.vscode/;/build;/.clang-format;/.gitignore;/.travis.yml;/doc/images/;/doc/site;/doc/elfio.docx;/examples/sudo_gdb.sh;/tests") + + install(FILES ${CPACK_RESOURCE_FILE_README} ${CPACK_RESOURCE_FILE_LICENSE} +- DESTINATION share/docs/${PROJECT_NAME}) ++ DESTINATION share/doc/${PROJECT_NAME}) + + include(CPack) + endif() diff --git a/devel/elfio/pkg-plist b/devel/elfio/pkg-plist index c66772c20796..3b41da38c92e 100644 --- a/devel/elfio/pkg-plist +++ b/devel/elfio/pkg-plist @@ -4,8 +4,8 @@ include/elfio/elfio_array.hpp include/elfio/elfio_dump.hpp include/elfio/elfio_dynamic.hpp include/elfio/elfio_header.hpp -include/elfio/elfio_note.hpp include/elfio/elfio_modinfo.hpp +include/elfio/elfio_note.hpp include/elfio/elfio_relocation.hpp include/elfio/elfio_section.hpp include/elfio/elfio_segment.hpp @@ -14,18 +14,26 @@ include/elfio/elfio_symbols.hpp include/elfio/elfio_utils.hpp include/elfio/elfio_version.hpp include/elfio/elfio_versym.hpp +%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt +%%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/elfio.pdf -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfio_c_wrapper.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proc_mem.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj.cpp -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer.cpp +%%DATADIR%%/cmake/elfioConfig.cmake +%%DATADIR%%/cmake/elfioConfigVersion.cmake +%%DATADIR%%/cmake/elfioTargets.cmake +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section/add_section +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_section/add_section.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer/anonymizer +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/anonymizer/anonymizer.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/c_example.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/elfio_c_wrapper.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_wrapper/elfio_c_wrapper.h +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump/elfdump +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/elfdump/elfdump.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proc_mem/proc_mem +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proc_mem/proc_mem.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial/tutorial +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tutorial/tutorial.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj/write_obj +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write_obj/write_obj.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer/writer +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/writer/writer.cpp