View | Details | Raw Unified | Return to bug 293829 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-p2p/go-ethereum/Makefile (-6 / +5 lines)
Lines 1-7 Link Here
1
PORTNAME=	go-ethereum
1
PORTNAME=	go-ethereum
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	1.16.8
3
DISTVERSION=	1.17.2
4
PORTREVISION=	3
5
CATEGORIES=	net-p2p
4
CATEGORIES=	net-p2p
6
5
7
MAINTAINER=	me@enriquefynn.com
6
MAINTAINER=	me@enriquefynn.com
Lines 11-18 WWW= https://github.com/ethereum/go-ethereum Link Here
11
LICENSE=	GPLv3
10
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/COPYING
11
LICENSE_FILE=	${WRKSRC}/COPYING
13
12
14
LIB_DEPENDS=	libiconv.so:converters/libiconv \
13
LIB_DEPENDS=	libhidapi.so:comms/hidapi \
15
		libhidapi.so:comms/hidapi
14
		libiconv.so:converters/libiconv
16
15
17
USES=		cpe go:modules
16
USES=		cpe go:modules
18
CPE_VENDOR=	ethereum
17
CPE_VENDOR=	ethereum
Lines 22-34 GO_MODULE= github.com/ethereum/go-ethereum Link Here
22
21
23
CGO_LDFLAGS=	-liconv
22
CGO_LDFLAGS=	-liconv
24
23
25
TMPDIR=	${WRKDIR}
24
TMPDIR=		${WRKDIR}
26
25
27
OPTIONS_DEFINE=	DEVTOOLS
26
OPTIONS_DEFINE=	DEVTOOLS
28
OPTIONS_SUB=	yes
27
OPTIONS_SUB=	yes
29
DEVTOOLS_DESC=	Ethereum developer tools
28
DEVTOOLS_DESC=	Ethereum developer tools
30
29
31
DEVTOOLS_VARS=		GO_TARGET="./cmd/geth ./cmd/abigen ./cmd/evm ./cmd/rlpdump ./cmd/clef"
30
DEVTOOLS_VARS=		GO_TARGET="./cmd/geth ./cmd/abigen ./cmd/evm ./cmd/rlpdump ./cmd/clef ./cmd/ethkey ./cmd/blsync ./cmd/era"
32
DEVTOOLS_VARS_OFF=	GO_TARGET=./cmd/geth
31
DEVTOOLS_VARS_OFF=	GO_TARGET=./cmd/geth
33
32
34
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)b/net-p2p/go-ethereum/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1770233730
1
TIMESTAMP = 1775931555
2
SHA256 (go/net-p2p_go-ethereum/go-ethereum-v1.16.8/v1.16.8.mod) = 1d074633a25a2488327fb9a629d35118e472d6d4fd7903a4ec25877ca403f0b1
2
SHA256 (go/net-p2p_go-ethereum/go-ethereum-v1.17.2/v1.17.2.mod) = 82ed3bdb0efc7392f913361c306af3cd11089fa9c9815815ee6dbcc99966fe06
3
SIZE (go/net-p2p_go-ethereum/go-ethereum-v1.16.8/v1.16.8.mod) = 7139
3
SIZE (go/net-p2p_go-ethereum/go-ethereum-v1.17.2/v1.17.2.mod) = 7891
4
SHA256 (go/net-p2p_go-ethereum/go-ethereum-v1.16.8/v1.16.8.zip) = aefb8134bf81b4332e5c3a82e81bd8a920adc4a786b91c91f85f25dd2a4c442a
4
SHA256 (go/net-p2p_go-ethereum/go-ethereum-v1.17.2/v1.17.2.zip) = c5f5c0a1bd98e174cea63bc88634dc9ef9f4d582fcb4f063873d4904df994916
5
SIZE (go/net-p2p_go-ethereum/go-ethereum-v1.16.8/v1.16.8.zip) = 22906212
5
SIZE (go/net-p2p_go-ethereum/go-ethereum-v1.17.2/v1.17.2.zip) = 23590148
(-)a/net-p2p/go-ethereum/files/patch-vendor_github.com_karalabe_hid_hid__enabled.go (-23 lines)
Removed Link Here
1
--- vendor/github.com/karalabe/hid/hid_enabled.go.orig	2026-02-04 22:48:45 UTC
2
+++ vendor/github.com/karalabe/hid/hid_enabled.go
3
@@ -31,7 +31,7 @@ specifically for the linux platform, below.
4
 #cgo windows LDFLAGS: -lsetupapi
5
 
6
 #cgo freebsd CFLAGS: -DOS_FREEBSD
7
-#cgo freebsd LDFLAGS: -lusb
8
+#cgo freebsd LDFLAGS: -lhidapi -lusb
9
 
10
 #cgo openbsd CFLAGS: -DOS_OPENBSD
11
 
12
@@ -64,8 +64,9 @@ specifically for the linux platform, below.
13
 #elif OS_WINDOWS
14
 	#include "hidapi/windows/hid.c"
15
 #elif OS_FREEBSD
16
-	#include <libusb.h>
17
-	#include "hidapi/libusb/hid.c"
18
+	#include <stdlib.h>
19
+	#include <wchar.h>
20
+	#include <hidapi/hidapi.h>
21
 #elif DOS_OPENBSD
22
 	#include "hidapi/libusb/hid.c"
23
 #endif
(-)b/net-p2p/go-ethereum/pkg-plist (-2 / +4 lines)
Lines 1-5 Link Here
1
bin/geth
1
bin/geth
2
%%DEVTOOLS%%bin/abigen
2
%%DEVTOOLS%%bin/abigen
3
%%DEVTOOLS%%bin/blsync
4
%%DEVTOOLS%%bin/clef
5
%%DEVTOOLS%%bin/era
6
%%DEVTOOLS%%bin/ethkey
3
%%DEVTOOLS%%bin/evm
7
%%DEVTOOLS%%bin/evm
4
%%DEVTOOLS%%bin/rlpdump
8
%%DEVTOOLS%%bin/rlpdump
5
%%DEVTOOLS%%bin/clef
6
- 

Return to bug 293829