Diff kismet-2022.08.1-r2 with a kismet-2023.07.1

/usr/portage/net-wireless/kismet/kismet-2023.07.1.ebuild 2023-10-09 14:52:34.784368484 +0300
18 18
	S=${WORKDIR}/${MY_P/BETA/beta}
19 19

  
20 20
	#normally we want an official release
21
	SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz"
21
	SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz
22
		https://dev.gentoo.org/~zerochaos/distfiles/${P}-stdint-fix.patch"
22 23

  
23 24
	#but sometimes we want a git commit
24 25
	#COMMIT="9ca7e469cf115469f392db7436816151867e1654"
25 26
	#SRC_URI="https://github.com/kismetwireless/kismet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
26 27
	#S="${WORKDIR}/${PN}-${COMMIT}"
27 28

  
28
	KEYWORDS="amd64 arm ~arm64 ~ppc x86"
29
	PATCHES=( "${DISTDIR}/${P}-stdint-fix.patch" )
30

  
31
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
29 32
fi
30 33

  
31 34
DESCRIPTION="IEEE 802.11 wireless LAN sniffer"
......
43 46
	networkmanager? ( net-misc/networkmanager )
44 47
	dev-libs/glib:2
45 48
	dev-libs/elfutils
49
	dev-libs/openssl:=
46 50
	sys-libs/zlib:=
47 51
	dev-db/sqlite:3
48 52
	net-libs/libwebsockets:=[client,lejp]
......
58 62
		dev-python/websockets[${PYTHON_USEDEP}]
59 63
	')
60 64
	lm-sensors? ( sys-apps/lm-sensors:= )
61
	pcre? ( dev-libs/libpcre )
65
	pcre? ( dev-libs/libpcre2:= )
62 66
	suid? ( sys-libs/libcap )
63 67
	ubertooth? ( net-wireless/ubertooth )
64 68
	"
......
74 78
	)
75 79
	selinux? ( sec-policy/selinux-kismet )
76 80
"
77
#switched back to bundled libfmt-8
78
#https://bugs.gentoo.org/895252
79
#<dev-libs/libfmt-9
80 81
DEPEND="${CDEPEND}
81 82
	dev-libs/boost
83
	=dev-libs/libfmt-9*
82 84
	sys-libs/libcap
83 85
"
84 86
BDEPEND="virtual/pkgconfig"
85 87

  
86
# https://bugs.gentoo.org/872608
87
# drop after 2022.08*
88
PATCHES=( "${FILESDIR}/${P}-sandbox-fix.patch" )
89

  
90 88
src_prepare() {
91 89
	#sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
92 90
	#	conf/kismet_logging.conf || die
......
97 95
	#sed -i -e 's#root#kismet#g' packaging/systemd/kismet.service.in
98 96

  
99 97
	rm -r boost || die
100
	#switched back to bundled libfmt-8
101
	#https://bugs.gentoo.org/895252
102
	#rm -r fmt || die
98
	rm -r fmt || die
103 99

  
104 100
	#dev-libs/jsoncpp
105 101
	#rm -r json || die
......
110 106
	#	log_tools/kismetdb_to_wiglecsv.cc trackedcomponent.h \
111 107
	#	trackedelement.h trackedelement_workers.h
112 108

  
113
	eapply_user
109
	default
114 110

  
115 111
	if [ "${PV}" = "9999" ]; then
116 112
		eautoreconf
117 113
	fi
118
	# drop after 2022.08*
119
	# VERSION was incorrectly removed in 4e490cf0b49a287e964df9c5e5c4067f6918909e upstream
120
	# https://github.com/kismetwireless/kismet/issues/427
121
	# https://bugs.gentoo.org/864298
122
	echo "${PV}" > VERSION
123 114
}
124 115

  
125 116
src_configure() {
126 117
	econf \
127 118
		$(use_enable libusb libusb) \
119
		$(use_enable libusb wifi-coconut) \
128 120
		$(use_enable pcre) \
121
		$(use_enable pcre require-pcre2) \
129 122
		$(use_enable lm-sensors lmsensors) \
130 123
		$(use_enable networkmanager libnm) \
131 124
		$(use_enable ubertooth) \
Thank you!