pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/kalibrate-hackrf



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Feb  7 14:03:22 UTC 2019

Added Files:
        pkgsrc/ham/kalibrate-hackrf: DESCR Makefile PLIST distinfo
        pkgsrc/ham/kalibrate-hackrf/patches: patch-src_kal.cc

Log Message:
ham/kalibrate-hackrf: import kalibrate-hackrf-20160704

kalibrate, or kal, can scan for GSM base stations in a given frequency band
and can use those GSM base stations to calculate the local oscillator
frequency offset.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/kalibrate-hackrf/DESCR \
    pkgsrc/ham/kalibrate-hackrf/Makefile pkgsrc/ham/kalibrate-hackrf/PLIST \
    pkgsrc/ham/kalibrate-hackrf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/ham/kalibrate-hackrf/DESCR
diff -u /dev/null pkgsrc/ham/kalibrate-hackrf/DESCR:1.1
--- /dev/null   Thu Feb  7 14:03:22 2019
+++ pkgsrc/ham/kalibrate-hackrf/DESCR   Thu Feb  7 14:03:22 2019
@@ -0,0 +1,3 @@
+kalibrate, or kal, can scan for GSM base stations in a given frequency band
+and can use those GSM base stations to calculate the local oscillator
+frequency offset.
Index: pkgsrc/ham/kalibrate-hackrf/Makefile
diff -u /dev/null pkgsrc/ham/kalibrate-hackrf/Makefile:1.1
--- /dev/null   Thu Feb  7 14:03:22 2019
+++ pkgsrc/ham/kalibrate-hackrf/Makefile        Thu Feb  7 14:03:22 2019
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+DISTNAME=      kalibrate-hackrf-20160704
+CATEGORIES=    ham
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=scateu/}
+GITHUB_TAG=    2492c20822ca6a49dce97967caf394b1d4b2c43e
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/scateu/kalibrate-hackrf/
+COMMENT=       LO frequency offset calibration tool (hackrf fork)
+LICENSE=       2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS=     autoconf automake autoreconf pkg-config
+
+INSTALLATION_DIRS=     bin
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -if
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/kal ${DESTDIR}${PREFIX}/bin/kal-hackrf
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../ham/hackrf/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/ham/kalibrate-hackrf/PLIST
diff -u /dev/null pkgsrc/ham/kalibrate-hackrf/PLIST:1.1
--- /dev/null   Thu Feb  7 14:03:22 2019
+++ pkgsrc/ham/kalibrate-hackrf/PLIST   Thu Feb  7 14:03:22 2019
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/07 14:03:22 tnn Exp $
+bin/kal-hackrf
Index: pkgsrc/ham/kalibrate-hackrf/distinfo
diff -u /dev/null pkgsrc/ham/kalibrate-hackrf/distinfo:1.1
--- /dev/null   Thu Feb  7 14:03:22 2019
+++ pkgsrc/ham/kalibrate-hackrf/distinfo        Thu Feb  7 14:03:22 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+SHA1 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = bc9143c46722daa0f1488f85eca869e89a472b76
+RMD160 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 3b9d6b5e9c65774a637d2a2c1a71894f116c8403
+SHA512 (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 
0e2f54f9423c9250903ea9b53e11aee47b84c40fbb2f488b048617f128d4f1b77bcf39a3fe5c133526f51a2d613185cfdbae1b1586f11c87a004b23f24737092
+Size (kalibrate-hackrf-20160704-2492c20822ca6a49dce97967caf394b1d4b2c43e.tar.gz) = 21631 bytes
+SHA1 (patch-src_kal.cc) = b5ec464fb0d1ef2df4106119572dc8393b846692

Index: pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc
diff -u /dev/null pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc:1.1
--- /dev/null   Thu Feb  7 14:03:22 2019
+++ pkgsrc/ham/kalibrate-hackrf/patches/patch-src_kal.cc        Thu Feb  7 14:03:22 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_kal.cc,v 1.1 2019/02/07 14:03:22 tnn Exp $
+
+for basename(3)
+
+--- src/kal.cc.orig    2016-07-04 03:55:59.000000000 +0000
++++ src/kal.cc
+@@ -48,9 +48,7 @@
+ #include <unistd.h>
+ #include <sys/time.h>
+ #endif
+-#ifdef D_HOST_OSX
+ #include <libgen.h>
+-#endif /* D_HOST_OSX */
+ #include <string.h>
+ 
+ #include <errno.h>



Home | Main Index | Thread Index | Old Index