From nobody Mon Nov 04 02:39:24 2024 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 4XhbJs2pR7z5bxG7; Mon, 04 Nov 2024 02:39:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhbJs0Xkhz4S5S; Mon, 4 Nov 2024 02:39:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730687965; 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=b1i215T9mlllXpr+EmUdURI1Clq2nPVa0tI25e9nZII=; b=XYDyDHLxd0Mo8f0ij4hvzFf18lFGH+6KlOUcnPmbV5fz39Ng2oASYWTrJ5UAoNs7urBOjV PyOAM9MCY0ziTmVjVzrHUD0/G0Kxstvo3TBhSurGDrYKuCdoT8UgjJXgedGirPalBVwiVe Yjx3KPveNQ/nDgJUqb9LTkylNJ2v0wIV7xAMnQ0odL2ZbORa9li/S8UebMM/OnBf+hLZjm tD3aTBV6CA7kqa+pqCcAY81PmkazBV2XNbJb4LIwE3q6Ls8gZbaLofXhS6JjvnPKQihACS 6adke2nGOWggFcKg0h1vzZnOSprwiD+CPqrjvSvw/mdT67KKXUlSUik3VDpogQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730687965; 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=b1i215T9mlllXpr+EmUdURI1Clq2nPVa0tI25e9nZII=; b=prVl0wLPHXd9k/ihk+4l90so/27cJ2YVDuda07MLEedDNgkW8/q59VcmvZ2NV+On15eEr9 4Q++XtRJAPkyUtwq9B77lAxH2sM0EKaUIpd6VKcCrN6AnPByuAnZ6b+E7EaRGLyE6J5wpv oIlbybLT2LafRrzUz2xzkF6MBtL13xonfSPM4BppOSzxJ9nsvMgGyTEQKqgNweqE2hrOVy u5CQKrsTUpueHM7XOoquDOguesz8A8+RJIwA7c/BInmw9++P6wbsnIG9A8LCSISZyrkbtU Dh8C1qkLtYzft564E5kRch0jMz6d9NM8MavKQTJ7qrCoTJFkBax2bAmoDHta1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730687965; a=rsa-sha256; cv=none; b=Ojlzpy6DSQNlie5T7+5s5ObVJwPJmVik4W/0yA7TT65xE5wuGpynKB5mQmLLDaQgzerCBk 71pGyXVxwED9Uzeoqhat3Zaaplp8nVrRC9Su3P3upilxUMNFYU/uWJO/QPQ4yvBmrXYfh6 8D+akeibM7/YlqEniUIh0gb9lLvPpyNOg+RA823b8snxmtgLhFlTt4mThO314rB4jfjO7y I+jHMin5C74ldXpjS9JMuJB5TBvqjILb4K+CT1L7VHFw0wfZFkyh4wIqBx2L0A8R1mGG8p 9EIeYlXB6DZ/E9gw5Ub5qdpiX7mVB0QUQRs7ifeZ1hqAiRzlMrdg/ZYd12dJ6g== 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 4XhbJr74b8zDvc; Mon, 4 Nov 2024 02:39:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A42dOfk087512; Mon, 4 Nov 2024 02:39:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A42dOWL087509; Mon, 4 Nov 2024 02:39:24 GMT (envelope-from git) Date: Mon, 4 Nov 2024 02:39:24 GMT Message-Id: <202411040239.4A42dOWL087509@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 347be70e149e - main - comms/libfobos: New port: RigExpert Fobos SDR API 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 347be70e149ece69d64772895edd6f2cab6b4e6e Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=347be70e149ece69d64772895edd6f2cab6b4e6e commit 347be70e149ece69d64772895edd6f2cab6b4e6e Author: Yuri Victorovich AuthorDate: 2024-11-04 01:12:50 +0000 Commit: Yuri Victorovich CommitDate: 2024-11-04 02:39:19 +0000 comms/libfobos: New port: RigExpert Fobos SDR API --- comms/Makefile | 1 + comms/libfobos/Makefile | 30 ++++++++++++++++++++++++++++++ comms/libfobos/distinfo | 3 +++ comms/libfobos/files/patch-fobos_fobos.c | 11 +++++++++++ comms/libfobos/pkg-descr | 2 ++ 5 files changed, 47 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index ad3895a04174..5ab14fb48678 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -74,6 +74,7 @@ SUBDIR += libdc SUBDIR += libfap SUBDIR += libfec + SUBDIR += libfobos SUBDIR += libimobiledevice SUBDIR += libimobiledevice-glue SUBDIR += libirman diff --git a/comms/libfobos/Makefile b/comms/libfobos/Makefile new file mode 100644 index 000000000000..e9d08ca9240b --- /dev/null +++ b/comms/libfobos/Makefile @@ -0,0 +1,30 @@ +PORTNAME= libfobos +DISTVERSIONPREFIX= v. +DISTVERSION= 2.3.1 +CATEGORIES= comms hamradio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= RigExpert Fobos SDR API +WWW= https://github.com/AlexandreRouma/SDRPlusPlus + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake dos2unix +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= rigexpert + +DOS2UNIX= fobos/fobos.c + +LDFLAGS+= -lusb + +PLIST_FILES= include/fobos.h \ + lib/libfobos.so \ + libdata/pkgconfig/libfobos.pc + +post-install: + ${RM} -r ${STAGEDIR}/etc + +.include diff --git a/comms/libfobos/distinfo b/comms/libfobos/distinfo new file mode 100644 index 000000000000..6f23fa8e5358 --- /dev/null +++ b/comms/libfobos/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1730682108 +SHA256 (rigexpert-libfobos-v.2.3.1_GH0.tar.gz) = f3ba9561de1b9ede8e1ec0726850020495eaace0bf33f22da31036287a3ce56e +SIZE (rigexpert-libfobos-v.2.3.1_GH0.tar.gz) = 186484 diff --git a/comms/libfobos/files/patch-fobos_fobos.c b/comms/libfobos/files/patch-fobos_fobos.c new file mode 100644 index 000000000000..e2602eb47703 --- /dev/null +++ b/comms/libfobos/files/patch-fobos_fobos.c @@ -0,0 +1,11 @@ +--- fobos/fobos.c.orig 2024-11-04 01:02:42 UTC ++++ fobos/fobos.c +@@ -26,7 +26,7 @@ + #pragma comment(lib, "libusb-1.0.lib") + #define printf_internal _cprintf + #else +-#include ++#include + #include + #endif + #ifndef printf_internal diff --git a/comms/libfobos/pkg-descr b/comms/libfobos/pkg-descr new file mode 100644 index 000000000000..1eb813612228 --- /dev/null +++ b/comms/libfobos/pkg-descr @@ -0,0 +1,2 @@ +libfobos is the Fobos SDR receiver host software API shared library. +It is lightweight and easy to start.