pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

u-boot-tools: prefix tool names with u-boot-.



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Sat Jun 22 19:14:23 2024 -0600
Changeset:	b5cb3a031bc6d5876ab846400fbb4e650861f4af

Modified Files:
	u-boot-tools/Makefile
	u-boot-tools/PLIST

Log Message:
u-boot-tools: prefix tool names with u-boot-.

The u-boot tools include a mkimage program, which has the same name as
a native NetBSD program (although the latter is not installed).  This
creates at least the possibility of a conflict and in any case is not
a very specific, informative name.  For the purposes of this package,
change the names to be more informative by adding a u-boot- prefix.
This seems to have been the consensus of the discussion on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/08/28/msg028077.html.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5cb3a031bc6d5876ab846400fbb4e650861f4af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 u-boot-tools/Makefile | 8 ++++----
 u-boot-tools/PLIST    | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs:
diff --git a/u-boot-tools/Makefile b/u-boot-tools/Makefile
index fbc623a5d2..6c663a3fab 100644
--- a/u-boot-tools/Makefile
+++ b/u-boot-tools/Makefile
@@ -21,10 +21,10 @@ MAKE_ENV+=	HOSTLDLIBS=-L${PREFIX}/lib
 INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
 
 do-install:
-	${INSTALL} ${WRKSRC}/tools/dumpimage ${DESTDIR}${PREFIX}/bin
-	${INSTALL} ${WRKSRC}/tools/mkimage ${DESTDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/doc/dumpimage.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-	${INSTALL_DATA} ${WRKSRC}/doc/mkimage.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+	${INSTALL} ${WRKSRC}/tools/dumpimage ${DESTDIR}${PREFIX}/bin/u-boot-dumpimage
+	${INSTALL} ${WRKSRC}/tools/mkimage ${DESTDIR}${PREFIX}/bin/u-boot-mkimage
+	${INSTALL_DATA} ${WRKSRC}/doc/dumpimage.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/u-boot-dumpimage.1
+	${INSTALL_DATA} ${WRKSRC}/doc/mkimage.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/u-boot-mkimage.1
 
 do-test:
 	${WRKSRC}/tools/dumpimage -h
diff --git a/u-boot-tools/PLIST b/u-boot-tools/PLIST
index 1bc5eedc07..338a69da36 100644
--- a/u-boot-tools/PLIST
+++ b/u-boot-tools/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/dumpimage
-bin/mkimage
-man/man1/dumpimage.1
-man/man1/mkimage.1
+bin/u-boot-dumpimage
+bin/u-boot-mkimage
+man/man1/u-boot-dumpimage.1
+man/man1/u-boot-mkimage.1


Home | Main Index | Thread Index | Old Index