From nobody Sun Oct 2 20:58:12 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MgbsK0Ll0z4d3sf; Sun, 2 Oct 2022 20:58:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgbsJ71RHz3c4l; Sun, 2 Oct 2022 20:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664744293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=obk/P8c+pX7BNh4MKSsbdqkyED+cvX3U9JWFNKk524E=; b=jStxwF6wrcGt2mZuuuyCKpYBGUHm/p6HTfw7mWayGiG53OR04s4BUhoIfUvXnRuAFazam2 CT7LGT3yE6Y4x3qvHuVMom8U5qhvLq1DS6E9boQXTe4to7yTF/RsZBE1urrwpWry7ZWZ2v mJcsBmKYOdeodzlar6YYPXS4zCjt/SwJIeN2CUOEf+1rvtSvMzNIhYHO2DDYYsBu0eq3Bv oAfIz84fxx8vhyTtN0KQfz3HDNF/cvxFhtl+F5D3Yaq95eMV7EvC9x4UZ4w09AXAsUg/TD uVK19n9OwSjAVzBuKvF3DPhFamE3ZTuUz4McNeDDIV6YUo6Ud6D+OVof3DgR0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MgbsJ660jz106h; Sun, 2 Oct 2022 20:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 292KwCLh087316; Sun, 2 Oct 2022 20:58:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 292KwC5A087315; Sun, 2 Oct 2022 20:58:12 GMT (envelope-from git) Date: Sun, 2 Oct 2022 20:58:12 GMT Message-Id: <202210022058.292KwC5A087315@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: b3d5add22274 - main - comms/hackrf: update 2017.02.1 -> 2021.03.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3d5add22274c5015d431369527763b91b407e67 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664744293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=obk/P8c+pX7BNh4MKSsbdqkyED+cvX3U9JWFNKk524E=; b=DTcKs4W30t5UZ/rSk6q2Gm3vCYeFeTqW/C5trbeWKsbW2OpuZTkbC/WwT3aWt3XA6vGKjY zhVSfghL1TkAbIARnq/+otYisrB14dOZB4C6m52aJ9uRdOEFTYAyFq6m/TzcDtcGAqys9y Cyd6+ef9UaFPhlFZur0N3X5zz4O2ZA+Js9joLdFBaPB6zF+6yKu0eV/nlx3yn/13PP+p3w GEQVasRNkytdRvFb/AkfKBFNykKUlUINSkneDC7/r79WiXAlPetC1ZyfpDAvzqlSzqhVt/ fpfDghM/LDQvPl4C+zcOsHQ9xAgIaOb06brlAcqOxu0OFQOz2uw+HelcPsyE4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664744293; a=rsa-sha256; cv=none; b=NoS+r8mE69V9WaZE080ta2OJ1jQK09oLnbG8WuV1cE1kvVxw3ZLbtXXICvzFJ+skTeCJBZ w8GElm0yai1Gry1pmmY3et2opgZyDGUn0aAha2FcS+Is1AijMOITsDI271Rn6i0foZMCZF Ajh0rfnC+ZuRuMFsBFknPGA2Qg7bnmLCWuvor+Zf2grGoAfKsmsruDpOUMkocr01ED14WO gaEzYKPBoB06+s6Y5HPjXDvw11/TDQndL7/WTCIX5UMTj4kU416j7lu/trc68+Zhf/vxIy ebvc8QnBZiWYsP+ol4XPfCfS1vzrWB4zrMqeYopCx3AphloNBCPmsxjn+odmuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3d5add22274c5015d431369527763b91b407e67 commit b3d5add22274c5015d431369527763b91b407e67 Author: Tomek CEDRO AuthorDate: 2022-10-02 20:53:25 +0000 Commit: Kurt Jaeger CommitDate: 2022-10-02 20:57:40 +0000 comms/hackrf: update 2017.02.1 -> 2021.03.1 See https://github.com/greatscottgadgets/hackrf/releases/tag/v2021.03.1 https://github.com/greatscottgadgets/hackrf/releases/tag/v2018.01.1 for changes since 2017.02.1. The latest release 2022.09.1 needs some libusb fixes before it can be build, this is ongoing work. --- comms/hackrf/Makefile | 12 +++++++----- comms/hackrf/distinfo | 6 +++--- comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt | 11 ----------- comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt | 11 ----------- comms/hackrf/pkg-plist | 9 +++++---- 5 files changed, 15 insertions(+), 34 deletions(-) diff --git a/comms/hackrf/Makefile b/comms/hackrf/Makefile index 896d1dfdbc4e..51a319c7b093 100644 --- a/comms/hackrf/Makefile +++ b/comms/hackrf/Makefile @@ -1,20 +1,22 @@ PORTNAME= hackrf -PORTVERSION= 2017.02.1 +PORTVERSION= 2021.03.1 CATEGORIES= comms devel hamradio science security -MAINTAINER= cederom@tlen.pl +MAINTAINER= tomek@cedro.info COMMENT= Low cost open source hardware software radio platform WWW= https://greatscottgadgets.com/hackrf/ LICENSE= GPLv2 -CONFLICTS= hackrf-devel +LIB_DEPENDS= libfftw3.so:math/fftw3 +USES= cmake USE_GITHUB= YES GH_ACCOUNT= mossmann -GH_TAGNAME= 31a37bd +GH_TAGNAME= e6eb4ba + +CONFLICTS= hackrf-devel -USES= cmake CMAKE_SOURCE_PATH= ${WRKSRC}/host CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so diff --git a/comms/hackrf/distinfo b/comms/hackrf/distinfo index 55f8f14b156a..13977bf65442 100644 --- a/comms/hackrf/distinfo +++ b/comms/hackrf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1515609346 -SHA256 (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = df00fd6d4fa7aa6fbd07ffc513c664aeac1824c1e4c2a2616ea167579dd1f797 -SIZE (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = 16939945 +TIMESTAMP = 1664724612 +SHA256 (mossmann-hackrf-2021.03.1-e6eb4ba_GH0.tar.gz) = ebb626db99d442a90e9306bf79ff2fc9e03063997eb3d993b981633668179cc2 +SIZE (mossmann-hackrf-2021.03.1-e6eb4ba_GH0.tar.gz) = 13064632 diff --git a/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt b/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt deleted file mode 100644 index 039c51a9e5f1..000000000000 --- a/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/hackrf-tools/CMakeLists.txt.orig 2015-08-30 19:34:41 UTC -+++ host/hackrf-tools/CMakeLists.txt -@@ -35,7 +35,7 @@ include_directories(getopt) - add_definitions(/D _CRT_SECURE_NO_WARNINGS) - else() - add_definitions(-Wall) --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - endif() - - if(NOT libhackrf_SOURCE_DIR) diff --git a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt b/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt deleted file mode 100644 index b9f65553b607..000000000000 --- a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/libhackrf/CMakeLists.txt.orig 2014-08-28 17:34:30 UTC -+++ host/libhackrf/CMakeLists.txt -@@ -34,7 +34,7 @@ if(MSVC) - set(THREADS_USE_PTHREADS_WIN32 true) - else() - add_definitions(-Wall) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - - INCLUDE(TestBigEndian) - TEST_BIG_ENDIAN(BIGENDIAN) diff --git a/comms/hackrf/pkg-plist b/comms/hackrf/pkg-plist index 1a0f10ef4a16..6acfc4524be9 100644 --- a/comms/hackrf/pkg-plist +++ b/comms/hackrf/pkg-plist @@ -1,13 +1,14 @@ +bin/hackrf_clock bin/hackrf_cpldjtag +bin/hackrf_debug bin/hackrf_info -bin/hackrf_max2837 -bin/hackrf_rffc5071 -bin/hackrf_si5351c +bin/hackrf_operacake bin/hackrf_spiflash +bin/hackrf_sweep bin/hackrf_transfer include/libhackrf/hackrf.h lib/libhackrf.a lib/libhackrf.so lib/libhackrf.so.0 -lib/libhackrf.so.0.4.0 +lib/libhackrf.so.0.6.0 libdata/pkgconfig/libhackrf.pc