pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/arm-trusted-firmware-fiptool arm-trusted-firm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7c548e632bc
branches:  trunk
changeset: 328419:b7c548e632bc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 20 17:39:05 2019 +0000

description:
arm-trusted-firmware-fiptool: fix make fetch.

Simplify package, distname, honor LDFLAGS (fixes RELRO), pkglint cleanup.

Bump PKGREVISION

diffstat:

 sysutils/arm-trusted-firmware-fiptool/Makefile               |  18 ++++++------
 sysutils/arm-trusted-firmware-fiptool/distinfo               |  11 ++++---
 sysutils/arm-trusted-firmware-fiptool/patches/patch-Makefile |  15 ++++++++++
 3 files changed, 30 insertions(+), 14 deletions(-)

diffs (70 lines):

diff -r 0dfbea10431a -r b7c548e632bc sysutils/arm-trusted-firmware-fiptool/Makefile
--- a/sysutils/arm-trusted-firmware-fiptool/Makefile    Sun Jan 20 17:12:31 2019 +0000
+++ b/sysutils/arm-trusted-firmware-fiptool/Makefile    Sun Jan 20 17:39:05 2019 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2019/01/16 14:51:35 martin Exp $
+# $NetBSD: Makefile,v 1.3 2019/01/20 17:39:05 wiz Exp $
 
-VERSION=       2.0
 GITHUB_PROJECT=        arm-trusted-firmware
-# GITHUB_TAG=  ?
-
-PKGNAME=       ${GITHUB_PROJECT}-fiptool-${VERSION}
-DISTNAME=      ${PKGNAME:S/-${VERSION}$/-v${VERSION}/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      arm-trusted-firmware-2.0
+PKGNAME=       ${DISTNAME:S/firmware/firmware-fiptool/}
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ARM-software/}
 EXTRACT_SUFX=  .zip
@@ -16,10 +15,11 @@
 LICENSE=       modified-bsd
 
 USE_TOOLS+=    gmake
-WRKSRC=                ${WRKDIR}/${PKGNAME:S:-fiptool::}/tools/fiptool
-       
+WRKSRC=                ${WRKDIR}/${DISTNAME}/tools/fiptool
+
+INSTALLATION_DIRS=     bin
+
 do-install:
-       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKSRC}/fiptool ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"
diff -r 0dfbea10431a -r b7c548e632bc sysutils/arm-trusted-firmware-fiptool/distinfo
--- a/sysutils/arm-trusted-firmware-fiptool/distinfo    Sun Jan 20 17:12:31 2019 +0000
+++ b/sysutils/arm-trusted-firmware-fiptool/distinfo    Sun Jan 20 17:39:05 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/01/16 14:34:04 martin Exp $
+$NetBSD: distinfo,v 1.2 2019/01/20 17:39:05 wiz Exp $
 
-SHA1 (arm-trusted-firmware-fiptool-v2.0.zip) = d789e7aac0e987d8524a11587cc598bf5d894581
-RMD160 (arm-trusted-firmware-fiptool-v2.0.zip) = a7a49da9b0e27c45df867ea1de4809cb89d9b8cc
-SHA512 (arm-trusted-firmware-fiptool-v2.0.zip) = 39180d12be7532b742949f162759793e97c0a6ac835d66aaf857bd3c1d9c0ab10b7ccd5e6a47831ad909a92b4727e181c82a74c90b5d941e469f3a5cf66b0e7c
-Size (arm-trusted-firmware-fiptool-v2.0.zip) = 3949049 bytes
+SHA1 (arm-trusted-firmware-2.0.zip) = d789e7aac0e987d8524a11587cc598bf5d894581
+RMD160 (arm-trusted-firmware-2.0.zip) = a7a49da9b0e27c45df867ea1de4809cb89d9b8cc
+SHA512 (arm-trusted-firmware-2.0.zip) = 39180d12be7532b742949f162759793e97c0a6ac835d66aaf857bd3c1d9c0ab10b7ccd5e6a47831ad909a92b4727e181c82a74c90b5d941e469f3a5cf66b0e7c
+Size (arm-trusted-firmware-2.0.zip) = 3949049 bytes
+SHA1 (patch-Makefile) = b5c27e44135e6a99c1a598daec91db58d6ff894d
diff -r 0dfbea10431a -r b7c548e632bc sysutils/arm-trusted-firmware-fiptool/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/arm-trusted-firmware-fiptool/patches/patch-Makefile      Sun Jan 20 17:39:05 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2019/01/20 17:39:05 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.orig      2018-10-02 13:13:37.000000000 +0000
++++ Makefile
+@@ -37,7 +37,7 @@ all: ${PROJECT}
+ 
+ ${PROJECT}: ${OBJECTS} Makefile
+       @echo "  LD      $@"
+-      ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDLIBS}
++      ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDFLAGS} ${LDLIBS}
+       @${ECHO_BLANK_LINE}
+       @echo "Built $@ successfully"
+       @${ECHO_BLANK_LINE}



Home | Main Index | Thread Index | Old Index