From owner-svn-ports-head@freebsd.org Wed Jan 10 18:51:10 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3624EE6ED23; Wed, 10 Jan 2018 18:51:10 +0000 (UTC) (envelope-from swills@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 0D4BC144D; Wed, 10 Jan 2018 18:51:10 +0000 (UTC) (envelope-from swills@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 3F1731859; Wed, 10 Jan 2018 18:51:09 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0AIp95U057259; Wed, 10 Jan 2018 18:51:09 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0AIp8kn056657; Wed, 10 Jan 2018 18:51:08 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201801101851.w0AIp8kn056657@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 10 Jan 2018 18:51:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458672 - in head/comms/hackrf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/comms/hackrf: . files X-SVN-Commit-Revision: 458672 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 18:51:10 -0000 Author: swills Date: Wed Jan 10 18:51:08 2018 New Revision: 458672 URL: https://svnweb.freebsd.org/changeset/ports/458672 Log: comms/hackrf: update to 2017.02.1 PR: 224586 Submitted by: phk Approved by: maintainer timeout (cederom@tlen.pl, > 2 weeks) Modified: head/comms/hackrf/Makefile (contents, props changed) head/comms/hackrf/distinfo (contents, props changed) head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt (contents, props changed) head/comms/hackrf/pkg-plist (contents, props changed) Modified: head/comms/hackrf/Makefile ============================================================================== --- head/comms/hackrf/Makefile Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/Makefile Wed Jan 10 18:51:08 2018 (r458672) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= hackrf -PORTVERSION= 2015.07.2 +PORTVERSION= 2017.02.1 CATEGORIES= comms devel hamradio science security MAINTAINER= cederom@tlen.pl @@ -12,7 +12,7 @@ LICENSE= GPLv2 USE_GITHUB= YES GH_ACCOUNT= mossmann -GH_TAGNAME= 69c4997 +GH_TAGNAME= 31a37bd USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/host Modified: head/comms/hackrf/distinfo ============================================================================== --- head/comms/hackrf/distinfo Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/distinfo Wed Jan 10 18:51:08 2018 (r458672) @@ -1,2 +1,3 @@ -SHA256 (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = fa4c18a9108011d306e90b16866e42f908c13f3ddc47db774344c0eb053543e5 -SIZE (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = 15625682 +TIMESTAMP = 1515609346 +SHA256 (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = df00fd6d4fa7aa6fbd07ffc513c664aeac1824c1e4c2a2616ea167579dd1f797 +SIZE (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = 16939945 Modified: head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt ============================================================================== --- head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt Wed Jan 10 18:51:08 2018 (r458672) @@ -9,42 +9,3 @@ INCLUDE(TestBigEndian) TEST_BIG_ENDIAN(BIGENDIAN) -@@ -68,8 +68,13 @@ ENDIF(CMAKE_CROSSCOMPILING) - - set(prefix ${CMAKE_INSTALL_PREFIX}) - set(exec_prefix \${prefix}) --set(libdir \${exec_prefix}/lib) -+set(libdir \${exec_prefix}/lib${LIB_SUFFIX}) - set(includedir \${prefix}/include) -+set(libpkgdata "lib"${LIB_SUFFIX}) -+ -+if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ set(libpkgdata "libdata") -+endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") - - CONFIGURE_FILE( - ${CMAKE_CURRENT_SOURCE_DIR}/libhackrf.pc.in -@@ -78,7 +83,7 @@ CONFIGURE_FILE( - - INSTALL( - FILES ${CMAKE_CURRENT_BINARY_DIR}/libhackrf.pc -- DESTINATION lib/pkgconfig -+ DESTINATION ${libpkgdata}/pkgconfig - ) - - ######################################################################## -@@ -100,9 +105,13 @@ endif() - ######################################################################## - option(INSTALL_UDEV_RULES "Install udev rules for HackRF" OFF) - if (INSTALL_UDEV_RULES) -+ if (NOT UDEV_INSTALL_DIR) -+ set (UDEV_INSTALL_DIR "/etc/udev/rules.d") -+ endif (NOT UDEV_INSTALL_DIR) -+ - install ( - FILES 53-hackrf.rules -- DESTINATION "/etc/udev/rules.d" -+ DESTINATION ${UDEV_INSTALL_DIR} - COMPONENT "udev" - ) - else (INSTALL_UDEV_RULES) Modified: head/comms/hackrf/pkg-plist ============================================================================== --- head/comms/hackrf/pkg-plist Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/pkg-plist Wed Jan 10 18:51:08 2018 (r458672) @@ -9,5 +9,5 @@ include/libhackrf/hackrf.h lib/libhackrf.a lib/libhackrf.so lib/libhackrf.so.0 -lib/libhackrf.so.0.3.0 +lib/libhackrf.so.0.4.0 libdata/pkgconfig/libhackrf.pc