Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 562515) +++ head/comms/Makefile (revision 562516) @@ -1,221 +1,222 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += digiham SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += ebusd SUBDIR += echolinux SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flmsg SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf + SUBDIR += hackrf-devel SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += libconcord SUBDIR += libfap SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += o2sms SUBDIR += obexapp SUBDIR += opencbm SUBDIR += opencbm-kmod SUBDIR += opencbm-plugin-xa1541 SUBDIR += openobex SUBDIR += openzwave SUBDIR += openzwave-devel SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-adafruit-ampy SUBDIR += py-esptool SUBDIR += py-hidapi SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-pyserial SUBDIR += py-qt5-sensors SUBDIR += py-qt5-serialport SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr-wspr SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uhd SUBDIR += uird SUBDIR += ujprog SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zssh .include Index: head/comms/hackrf/Makefile =================================================================== --- head/comms/hackrf/Makefile (revision 562515) +++ head/comms/hackrf/Makefile (revision 562516) @@ -1,23 +1,25 @@ # Created by: Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info) # $FreeBSD$ PORTNAME= hackrf PORTVERSION= 2017.02.1 CATEGORIES= comms devel hamradio science security MAINTAINER= cederom@tlen.pl COMMENT= Low cost open source hardware software radio platform LICENSE= GPLv2 +CONFLICTS= hackrf-devel + USE_GITHUB= YES GH_ACCOUNT= mossmann GH_TAGNAME= 31a37bd USES= cmake CMAKE_SOURCE_PATH= ${WRKSRC}/host CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so USE_LDCONFIG= yes .include Index: head/comms/hackrf-devel/Makefile =================================================================== --- head/comms/hackrf-devel/Makefile (nonexistent) +++ head/comms/hackrf-devel/Makefile (revision 562516) @@ -0,0 +1,28 @@ +# Created by: Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info) +# $FreeBSD$ + +PORTNAME= hackrf +PORTVERSION= g${GIT_SRC_DATE} +CATEGORIES= comms devel hamradio science security +PKGNAMESUFFIX= -devel + +MAINTAINER= mr@freebsd.org +COMMENT= Low cost open source hardware software radio platform + +LICENSE= GPLv2 + +CONFLICTS= hackrf + +USE_GITHUB= YES +GH_ACCOUNT= mossmann +GH_TAGNAME= ${GIT_SRC_HASH} + +USES= cmake +CMAKE_SOURCE_PATH= ${WRKSRC}/host +CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so + +USE_LDCONFIG= yes + +.include "Makefile.git_rev" + +.include Property changes on: head/comms/hackrf-devel/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/Makefile.git_rev =================================================================== --- head/comms/hackrf-devel/Makefile.git_rev (nonexistent) +++ head/comms/hackrf-devel/Makefile.git_rev (revision 562516) @@ -0,0 +1,3 @@ +# $FreeBSD$ +GIT_SRC_HASH= ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3 +GIT_SRC_DATE= 2021.01.24 Property changes on: head/comms/hackrf-devel/Makefile.git_rev ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/distinfo =================================================================== --- head/comms/hackrf-devel/distinfo (nonexistent) +++ head/comms/hackrf-devel/distinfo (revision 562516) @@ -0,0 +1,3 @@ +TIMESTAMP = 1611498095 +SHA256 (mossmann-hackrf-g2021.01.24-ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3_GH0.tar.gz) = d558885810aaa6ed087239d49c8160446887fccb0b8e14a06d80851eef0f2fc0 +SIZE (mossmann-hackrf-g2021.01.24-ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3_GH0.tar.gz) = 15208743 Property changes on: head/comms/hackrf-devel/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/files/newVersion.sh =================================================================== --- head/comms/hackrf-devel/files/newVersion.sh (nonexistent) +++ head/comms/hackrf-devel/files/newVersion.sh (revision 562516) @@ -0,0 +1,22 @@ +#!/bin/sh + +CURDIR=`pwd` +WRKDIR=`pwd`/work +#mkdir -p "${WRKDIR}" + +if [ \! -d "${CURDIR}/kicad-repo" ]; then + git clone https://github.com/mossmann/hackrf.git -b master "${CURDIR}/hackrf-repo"; +else + cd "${CURDIR}/hackrf-repo" + git pull https://github.com/mossmann/hackrf.git; +fi + +cd "${CURDIR}/hackrf-repo" +GIT_SRC_HASH=`git log -n 1 --pretty=format:"%H"`; +GIT_SRC_DATE=`git log -n 1 --date=iso-local -n 1 --pretty=format:"%cd" | \ + cut -c '1-10' | sed -e 's,-,.,g' ` + +echo "$GIT_SRC_HASH, $GIT_SRC_DATE" +echo "GIT_SRC_HASH= ${GIT_SRC_HASH}" > ${CURDIR}/Makefile.git_rev +echo "GIT_SRC_DATE= ${GIT_SRC_DATE}" >> ${CURDIR}/Makefile.git_rev + Property changes on: head/comms/hackrf-devel/files/newVersion.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt =================================================================== --- head/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt (nonexistent) +++ head/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt (revision 562516) @@ -0,0 +1,11 @@ +--- host/hackrf-tools/CMakeLists.txt.orig 2020-10-13 21:46:30 UTC ++++ host/hackrf-tools/CMakeLists.txt +@@ -33,7 +33,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) Property changes on: head/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt =================================================================== --- head/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt (nonexistent) +++ head/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt (revision 562516) @@ -0,0 +1,11 @@ +--- host/libhackrf/CMakeLists.txt.orig 2020-10-13 21:46:30 UTC ++++ host/libhackrf/CMakeLists.txt +@@ -37,7 +37,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) Property changes on: head/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/pkg-plist =================================================================== --- head/comms/hackrf-devel/pkg-plist (nonexistent) +++ head/comms/hackrf-devel/pkg-plist (revision 562516) @@ -0,0 +1,14 @@ +bin/hackrf_clock +bin/hackrf_cpldjtag +bin/hackrf_debug +bin/hackrf_info +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.5.0 +libdata/pkgconfig/libhackrf.pc Property changes on: head/comms/hackrf-devel/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf-devel/pkg-descr =================================================================== --- head/comms/hackrf-devel/pkg-descr (nonexistent) +++ head/comms/hackrf-devel/pkg-descr (revision 562516) @@ -0,0 +1,7 @@ +HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral +capable of transmission or reception of radio signals from 10 MHz to 6 GHz. +Designed to enable test and development of modern and next generation radio +technologies, HackRF One is an open source hardware platform that can +be used as a USB peripheral or programmed for stand-alone operation. + +WWW: https://greatscottgadgets.com/hackrf/ Property changes on: head/comms/hackrf-devel/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property