From owner-svn-ports-all@freebsd.org Wed Apr 11 06:45:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A829F9CA00; Wed, 11 Apr 2018 06:45:25 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3CB67F95C; Wed, 11 Apr 2018 06:45:24 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE26A18BDD; Wed, 11 Apr 2018 06:45:24 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3B6jOs9094080; Wed, 11 Apr 2018 06:45:24 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3B6jOgs094072; Wed, 11 Apr 2018 06:45:24 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201804110645.w3B6jOgs094072@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Wed, 11 Apr 2018 06:45:24 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/devel: . heimdall heimdall/files X-SVN-Commit-Revision: 467027 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 06:45:25 -0000 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 +# $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 + +# 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 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