Date: Wed, 11 Apr 2018 06:45:24 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467027 - in head/devel: . heimdall heimdall/files Message-ID: <201804110645.w3B6jOgs094072@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Wed Apr 11 06:45:23 2018 New Revision: 467027 URL: https://svnweb.freebsd.org/changeset/ports/467027 Log: Add heimdall 1.4.2, tool suite used to flash firmware onto Samsung mobile devices. Added: head/devel/heimdall/ head/devel/heimdall/Makefile (contents, props changed) head/devel/heimdall/distinfo (contents, props changed) head/devel/heimdall/files/ head/devel/heimdall/files/patch-cmake_Findlibusb.cmake (contents, props changed) head/devel/heimdall/files/patch-heimdall_CMakeLists.txt (contents, props changed) head/devel/heimdall/pkg-descr (contents, props changed) head/devel/heimdall/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Apr 11 05:53:33 2018 (r467026) +++ head/devel/Makefile Wed Apr 11 06:45:23 2018 (r467027) @@ -892,6 +892,7 @@ SUBDIR += hadoop2 SUBDIR += hapy SUBDIR += hcs12mem + SUBDIR += heimdall SUBDIR += hexcompare SUBDIR += hexd SUBDIR += hg-git Added: head/devel/heimdall/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/Makefile Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,47 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= heimdall +PORTVERSION= 1.4.2 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Tool suite used to flash firmware onto Samsung mobile devices + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake +USE_GITHUB= yes + +OPTIONS_DEFINE= DOCS GUI +OPTIONS_DEFAULT=GUI +OPTIONS_SUB= yes + +GUI_USE= QT5=buildtools_build,core,gui,qmake_build,widgets +GUI_CMAKE_OFF= -DDISABLE_FRONTEND=YES + +GH_ACCOUNT= Benjamin-Dobell +GH_PROJECT= Heimdall + +PORTDOCS= README + +.include <bsd.port.pre.mk> + +# does not compile with clang 6.0.0 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1101513 +USE_GCC= yes +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/heimdall ${STAGEDIR}${PREFIX}/bin + +do-install-GUI-on: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/heimdall-frontend ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Linux/README ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.post.mk> Added: head/devel/heimdall/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/distinfo Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,3 @@ +TIMESTAMP = 1523305221 +SHA256 (Benjamin-Dobell-Heimdall-v1.4.2_GH0.tar.gz) = 589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8 +SIZE (Benjamin-Dobell-Heimdall-v1.4.2_GH0.tar.gz) = 5486693 Added: head/devel/heimdall/files/patch-cmake_Findlibusb.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/files/patch-cmake_Findlibusb.cmake Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,20 @@ +--- cmake/Findlibusb.cmake.orig 2017-05-11 18:34:25 UTC ++++ cmake/Findlibusb.cmake +@@ -6,7 +6,7 @@ find_path(LIBUSB_INCLUDE_DIR + /opt/local/include + /usr/include + PATH_SUFFIXES +- libusb-1.0 ++ libusb + ) + + if (libusb_USE_STATIC_LIBS AND NOT MSVC) +@@ -19,7 +19,7 @@ endif (libusb_USE_STATIC_LIBS AND NOT MS + + find_library(LIBUSB_LIBRARY + NAMES +- ${LIBUSB_LIB_PREFIX}usb-1.0${LIBUSB_LIB_SUFFIX} ${LIBUSB_LIB_PREFIX}usb${LIBUSB_LIB_SUFFIX} ++ ${LIBUSB_LIB_PREFIX}usb${LIBUSB_LIB_SUFFIX} ${LIBUSB_LIB_PREFIX}usb${LIBUSB_LIB_SUFFIX} + PATHS + /usr/local/lib + /opt/local/lib Added: head/devel/heimdall/files/patch-heimdall_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/files/patch-heimdall_CMakeLists.txt Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,8 @@ +--- heimdall/CMakeLists.txt.orig 2017-05-11 18:34:25 UTC ++++ heimdall/CMakeLists.txt +@@ -45,4 +45,4 @@ use_large_files(heimdall YES) + add_executable(heimdall ${HEIMDALL_SOURCE_FILES}) + + target_link_libraries(heimdall PRIVATE pit) +-target_link_libraries(heimdall PRIVATE usb-1.0) ++target_link_libraries(heimdall PRIVATE usb) Added: head/devel/heimdall/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/pkg-descr Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,7 @@ +Tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices. + +Heimdall connects to a mobile device over USB and interact with software running +on device known as Loke. Loke and Heimdall communicate via the custom +Samsung-developed protocol sometimes referred to as the 'Odin protocol'. + +WWW: https://glassechidna.com.au/heimdall/ Added: head/devel/heimdall/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/pkg-plist Wed Apr 11 06:45:23 2018 (r467027) @@ -0,0 +1,2 @@ +%%GUI%%bin/heimdall-frontend +bin/heimdall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804110645.w3B6jOgs094072>