Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2023 07:54:16 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1af3908ce612 - main - pkgbase: Create a FreeBSD-elftoolchain package
Message-ID:  <202302080754.3187sGPn038056@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=1af3908ce6121eb091923b3932fe56ab54656093

commit 1af3908ce6121eb091923b3932fe56ab54656093
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-01-27 14:26:06 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-02-08 07:49:12 +0000

    pkgbase: Create a FreeBSD-elftoolchain package
    
    It contain all the binaries and libs from the elftoolchain contrib
    project except for libelf which is used everywhere.
    All of those tools are never used by the average user.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D38224
---
 lib/libelftc/Makefile             | 1 -
 release/packages/Makefile.package | 2 ++
 usr.bin/addr2line/Makefile        | 2 ++
 usr.bin/cxxfilt/Makefile          | 2 ++
 usr.bin/nm/Makefile               | 2 ++
 usr.bin/objcopy/Makefile          | 2 ++
 usr.bin/readelf/Makefile          | 2 ++
 usr.bin/size/Makefile             | 2 ++
 8 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/lib/libelftc/Makefile b/lib/libelftc/Makefile
index e25331cee719..7810add76771 100644
--- a/lib/libelftc/Makefile
+++ b/lib/libelftc/Makefile
@@ -1,7 +1,6 @@
 # $FreeBSD$
 .include <bsd.own.mk>
 
-PACKAGE=lib${LIB}
 INTERNALLIB=
 
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index abfbf02328ed..99097d9a46f9 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -54,6 +54,8 @@ ee_COMMENT= 		Easy Editor Utilities
 ee_DESC= 		Easy Editor Utilities
 efi-tools_COMMENT=	UEFI Utilities
 efi-tools_DESC=		UEFI Utilities
+elftoolchain_COMMENT=	ElfToolchain programs and libraries
+elftoolchain_DESC=	ElfToolchain programs and libraries
 fetch_COMMENT=		Fetch Utility
 fetch_DESC=		Fetch Utility
 ftp_COMMENT=		FTP Utilities
diff --git a/usr.bin/addr2line/Makefile b/usr.bin/addr2line/Makefile
index fe9883f97a73..03e35c82df9c 100644
--- a/usr.bin/addr2line/Makefile
+++ b/usr.bin/addr2line/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 ADDR2LINEDIR=	${ELFTCDIR}/addr2line
 
diff --git a/usr.bin/cxxfilt/Makefile b/usr.bin/cxxfilt/Makefile
index 75f39419bfd2..4d1a6298d25e 100644
--- a/usr.bin/cxxfilt/Makefile
+++ b/usr.bin/cxxfilt/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 SRCDIR=		${ELFTCDIR}/cxxfilt
 
diff --git a/usr.bin/nm/Makefile b/usr.bin/nm/Makefile
index b1b9555962e7..cefe55b7480b 100644
--- a/usr.bin/nm/Makefile
+++ b/usr.bin/nm/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 NMDIR=		${ELFTCDIR}/nm
 
diff --git a/usr.bin/objcopy/Makefile b/usr.bin/objcopy/Makefile
index 87472a4cd848..b40dafefe24f 100644
--- a/usr.bin/objcopy/Makefile
+++ b/usr.bin/objcopy/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 ELFCOPYDIR=	${ELFTCDIR}/elfcopy
 
diff --git a/usr.bin/readelf/Makefile b/usr.bin/readelf/Makefile
index ed4de3b55745..2c7f1155edda 100644
--- a/usr.bin/readelf/Makefile
+++ b/usr.bin/readelf/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 READELFDIR=	${ELFTCDIR}/readelf
 
diff --git a/usr.bin/size/Makefile b/usr.bin/size/Makefile
index 60b62b6c06a8..9622ffd30468 100644
--- a/usr.bin/size/Makefile
+++ b/usr.bin/size/Makefile
@@ -2,6 +2,8 @@
 
 .include <src.opts.mk>
 
+PACKAGE=	elftoolchain
+
 ELFTCDIR=	${SRCTOP}/contrib/elftoolchain
 SIZEDIR=	${ELFTCDIR}/size
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302080754.3187sGPn038056>