summaryrefslogtreecommitdiff
path: root/net-misc/dpibreak/dpibreak-0.5.1.ebuild
blob: f6966c44a4ea2c8e716a7390807434ded2f83a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

CRATES="
	aho-corasick@1.1.4
	alloca@0.4.0
	anes@0.1.6
	anstyle@1.0.13
	anyhow@1.0.102
	arrayvec@0.7.6
	autocfg@1.5.0
	bitflags@2.11.0
	block2@0.6.2
	bumpalo@3.20.2
	bytes@1.11.1
	cast@0.3.0
	cc@1.2.56
	cfg-if@1.0.4
	cfg_aliases@0.2.1
	ciborium-io@0.2.2
	ciborium-ll@0.2.2
	ciborium@0.2.2
	clap@4.5.60
	clap_builder@4.5.60
	clap_lex@1.0.0
	criterion-plot@0.8.2
	criterion@0.8.2
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	crunchy@0.2.4
	ctrlc@3.5.2
	daemonize@0.5.0
	dispatch2@0.3.1
	either@1.15.0
	etherparse@0.13.0
	etherparse@0.18.2
	find-msvc-tools@0.1.9
	half@2.7.1
	itertools@0.13.0
	itoa@1.0.17
	js-sys@0.3.91
	libc@0.2.183
	memchr@2.8.0
	nfq-updated@0.2.6
	nix@0.27.1
	nix@0.31.2
	num-traits@0.2.19
	objc2-encode@4.1.0
	objc2@0.6.4
	once_cell@1.21.3
	oorandom@11.1.5
	page_size@0.6.0
	plotters-backend@0.3.7
	plotters-svg@0.3.7
	plotters@0.3.7
	proc-macro2@1.0.106
	quote@1.0.45
	rayon-core@1.13.0
	rayon@1.11.0
	regex-automata@0.4.14
	regex-syntax@0.8.10
	regex@1.12.3
	rustversion@1.0.22
	same-file@1.0.6
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_json@1.0.149
	shlex@1.3.0
	socket2@0.6.3
	syn@2.0.117
	thiserror-impl@1.0.69
	thiserror@1.0.69
	tinytemplate@1.2.1
	toml@0.5.11
	unicode-ident@1.0.24
	walkdir@2.5.0
	wasm-bindgen-macro-support@0.2.114
	wasm-bindgen-macro@0.2.114
	wasm-bindgen-shared@0.2.114
	wasm-bindgen@0.2.114
	web-sys@0.3.91
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.11
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windivert-sys@0.10.0
	windivert@0.6.0
	windows-link@0.2.1
	windows-services@0.26.1
	windows-sys@0.61.2
	windows-targets@0.48.5
	windows@0.48.0
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_msvc@0.48.5
	windows_i686_gnu@0.48.5
	windows_i686_msvc@0.48.5
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_msvc@0.48.5
	winres@0.1.12
	zerocopy-derive@0.8.42
	zerocopy@0.8.42
	zmij@1.0.21
"

RUST_MIN_VER="1.92"

inherit cargo

DESCRIPTION="fast and easy-to-use DPI circumvention tool in Rust"
HOMEPAGE="https://github.com/dilluti0n/dpibreak"
SRC_URI="
	https://github.com/dilluti0n/dpibreak/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="GPL-3+"
# Dependent crate licenses
LICENSE+=" Apache-2.0 LGPL-3+ MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	|| ( net-firewall/nftables net-firewall/iptables )
"

DEPEND="
	net-libs/libnetfilter_queue
	net-libs/libnfnetlink
"

IUSE="doc"

QA_FLAGS_IGNORED="usr/bin/dpibreak"

src_install() {
	cargo_src_install
	doman dpibreak.1

	if use doc; then
		dodoc README.md CHANGELOG.md
	fi
}