PORTNAME=	authoscope
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.0
CATEGORIES=	security

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Scriptable network authentication cracker
WWW=		https://github.com/kpcyrd/authoscope

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo ssl
USE_GITHUB=	yes
GH_ACCOUNT=	kpcyrd

CARGO_CRATES=	ahash-0.8.12 \
		aho-corasick-1.1.5 \
		anstream-1.0.0 \
		anstyle-1.0.14 \
		anstyle-parse-1.0.0 \
		anstyle-query-1.1.5 \
		anstyle-wincon-3.0.11 \
		anyhow-1.0.104 \
		arrayvec-0.7.8 \
		async-trait-0.1.92 \
		autocfg-1.5.1 \
		base64-0.21.7 \
		base64-0.22.1 \
		bcrypt-0.15.1 \
		bigdecimal-0.3.1 \
		bindgen-0.73.2 \
		bitflags-1.3.2 \
		bitflags-2.13.2 \
		bitvec-1.1.1 \
		block-buffer-0.10.4 \
		blowfish-0.9.1 \
		borsh-1.8.1 \
		borsh-derive-1.8.1 \
		bufstream-0.1.4 \
		bumpalo-3.20.3 \
		byteorder-1.5.0 \
		bytes-1.12.1 \
		cc-1.10.0 \
		cexpr-0.6.0 \
		cfg-if-1.0.5 \
		cfg_aliases-0.2.2 \
		cipher-0.4.4 \
		clang-sys-1.9.1 \
		clap-4.6.7 \
		clap_builder-4.6.7 \
		clap_complete-4.6.11 \
		clap_derive-4.6.7 \
		clap_lex-1.1.1 \
		cmake-0.1.58 \
		colorchoice-1.0.5 \
		colored-2.2.0 \
		convert_case-0.4.0 \
		core-foundation-0.9.4 \
		core-foundation-0.10.1 \
		core-foundation-sys-0.8.7 \
		core_detect-1.0.0 \
		cpufeatures-0.2.17 \
		crc32fast-1.5.3 \
		crossbeam-0.8.5 \
		crossbeam-channel-0.5.17 \
		crossbeam-deque-0.8.8 \
		crossbeam-epoch-0.9.21 \
		crossbeam-queue-0.3.14 \
		crossbeam-utils-0.8.23 \
		crypto-common-0.1.7 \
		cssparser-0.27.2 \
		cssparser-macros-0.6.1 \
		darling-0.20.11 \
		darling_core-0.20.11 \
		darling_macro-0.20.11 \
		data-encoding-2.11.1 \
		deranged-0.5.9 \
		derive_more-0.99.20 \
		derive_utils-0.16.0 \
		digest-0.10.7 \
		dirs-5.0.1 \
		dirs-sys-0.4.1 \
		displaydoc-0.2.7 \
		dtoa-1.0.11 \
		dtoa-short-0.3.5 \
		encoding_rs-0.8.42 \
		env_logger-0.10.2 \
		equivalent-1.0.3 \
		errno-0.3.14 \
		fastrand-2.5.0 \
		find-msvc-tools-0.1.15 \
		flate2-1.1.10 \
		fnv-1.0.7 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.2.2 \
		frunk-0.4.4 \
		frunk_core-0.4.4 \
		frunk_core-0.5.0 \
		frunk_derives-0.4.4 \
		frunk_proc_macro_helpers-0.1.5 \
		frunk_proc_macros-0.1.5 \
		funty-2.0.0 \
		futf-0.1.5 \
		futures-0.3.34 \
		futures-channel-0.3.34 \
		futures-core-0.3.34 \
		futures-executor-0.3.34 \
		futures-io-0.3.34 \
		futures-macro-0.3.34 \
		futures-sink-0.3.34 \
		futures-task-0.3.34 \
		futures-util-0.3.34 \
		fxhash-0.2.1 \
		generic-array-0.14.7 \
		getch-0.3.1 \
		getrandom-0.1.16 \
		getrandom-0.2.17 \
		getrandom-0.3.4 \
		getrandom-0.4.3 \
		glob-0.3.4 \
		h2-0.3.27 \
		hashbrown-0.13.2 \
		hashbrown-0.17.1 \
		heck-0.4.1 \
		heck-0.5.0 \
		hermit-abi-0.5.3 \
		hlua-0.4.3 \
		hmac-0.12.1 \
		html5ever-0.25.2 \
		http-0.2.12 \
		http-body-0.4.6 \
		httparse-1.10.1 \
		httpdate-1.0.3 \
		humantime-2.4.0 \
		hyper-0.14.32 \
		hyper-tls-0.5.0 \
		icu_collections-2.4.0 \
		icu_locale_core-2.4.0 \
		icu_normalizer-2.4.0 \
		icu_normalizer_data-2.4.0 \
		icu_properties-2.4.0 \
		icu_properties_data-2.4.0 \
		icu_provider-2.4.0 \
		ident_case-1.0.1 \
		idna-1.1.0 \
		idna_adapter-1.2.2 \
		indexmap-2.14.2 \
		inout-0.1.4 \
		io-enum-1.3.0 \
		ipnet-2.12.2 \
		is-terminal-0.4.17 \
		is_terminal_polyfill-1.70.2 \
		itoa-0.4.8 \
		itoa-1.0.18 \
		js-sys-0.3.106 \
		keccak-0.1.6 \
		kuchiki-0.8.1 \
		lazy_static-1.5.1 \
		lber-0.4.2 \
		ldap3-0.11.5 \
		lexical-6.1.1 \
		lexical-core-0.8.5 \
		lexical-parse-float-0.8.5 \
		lexical-parse-integer-0.8.6 \
		lexical-util-0.8.5 \
		lexical-write-float-0.8.5 \
		lexical-write-integer-0.8.5 \
		libc-0.2.191 \
		libloading-0.8.9 \
		libredox-0.1.25 \
		libz-sys-1.1.30 \
		linux-raw-sys-0.12.1 \
		litemap-0.8.3 \
		lock_api-0.4.14 \
		log-0.4.34 \
		lru-0.10.1 \
		lua52-sys-0.1.3 \
		mac-0.1.1 \
		markup5ever-0.10.1 \
		matches-0.1.10 \
		md-5-0.10.6 \
		memchr-2.8.3 \
		mime-0.3.17 \
		minimal-lexical-0.2.1 \
		mio-1.2.4 \
		multiversion_no_op-1.0.0 \
		mysql-24.0.0 \
		mysql-common-derive-0.30.2 \
		mysql_common-0.30.6 \
		named_pipe-0.4.1 \
		native-tls-0.2.18 \
		new_debug_unreachable-1.0.6 \
		nix-0.31.3 \
		nodrop-0.1.14 \
		nom-7.1.3 \
		num-bigint-0.4.8 \
		num-conv-0.2.2 \
		num-format-0.4.4 \
		num-integer-0.1.47 \
		num-traits-0.2.19 \
		num_cpus-1.17.0 \
		once_cell-1.21.4 \
		once_cell_polyfill-1.70.2 \
		openssl-0.10.81 \
		openssl-macros-0.1.1 \
		openssl-probe-0.2.1 \
		openssl-sys-0.9.117 \
		option-ext-0.2.0 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		pbr-1.1.1 \
		pem-2.0.1 \
		percent-encoding-2.3.2 \
		phf-0.8.0 \
		phf_codegen-0.8.0 \
		phf_generator-0.8.0 \
		phf_generator-0.11.3 \
		phf_macros-0.8.0 \
		phf_shared-0.8.0 \
		phf_shared-0.11.3 \
		pin-project-lite-0.2.17 \
		pkg-config-0.3.34 \
		potential_utf-0.1.6 \
		powerfmt-0.2.1 \
		ppv-lite86-0.2.21 \
		precomputed-hash-0.1.1 \
		proc-macro-crate-1.3.1 \
		proc-macro-crate-3.5.0 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro-hack-0.5.20+deprecated \
		proc-macro2-1.0.107 \
		quote-1.0.47 \
		r-efi-5.3.0 \
		r-efi-6.0.0 \
		radium-0.7.0 \
		rand-0.7.3 \
		rand-0.8.8 \
		rand-0.9.5 \
		rand_chacha-0.2.2 \
		rand_chacha-0.3.1 \
		rand_chacha-0.9.0 \
		rand_core-0.5.1 \
		rand_core-0.6.4 \
		rand_core-0.9.5 \
		rand_hc-0.2.0 \
		rand_pcg-0.2.1 \
		redox_syscall-0.5.18 \
		redox_users-0.4.6 \
		regex-1.13.1 \
		regex-automata-0.4.18 \
		regex-syntax-0.8.11 \
		reqwest-0.11.27 \
		rlimit-0.10.2 \
		rust_decimal-1.43.0 \
		rustc-hash-2.1.3 \
		rustc_version-0.4.1 \
		rustix-1.1.5 \
		rustls-pemfile-1.0.4 \
		rustversion-1.0.23 \
		ryu-1.0.23 \
		saturating-0.1.0 \
		schannel-0.1.30 \
		scopeguard-1.2.0 \
		security-framework-3.7.0 \
		security-framework-sys-2.17.0 \
		selectors-0.22.0 \
		semver-1.0.28 \
		serde-1.0.229 \
		serde_core-1.0.229 \
		serde_derive-1.0.229 \
		serde_json-1.0.154 \
		serde_spanned-1.1.2 \
		serde_urlencoded-0.7.1 \
		servo_arc-0.1.1 \
		sha1-0.10.7 \
		sha2-0.10.9 \
		sha3-0.10.9 \
		shlex-2.0.1 \
		simdutf8-0.1.5 \
		siphasher-0.3.11 \
		siphasher-1.0.4 \
		slab-0.4.12 \
		smallvec-1.16.4 \
		socket2-0.5.10 \
		socket2-0.6.5 \
		stable_deref_trait-1.2.1 \
		static_assertions-1.1.0 \
		string_cache-0.8.9 \
		string_cache_codegen-0.5.4 \
		strsim-0.11.1 \
		subprocess-0.2.15 \
		subtle-2.6.1 \
		syn-1.0.109 \
		syn-2.0.119 \
		syn-3.0.9 \
		sync_wrapper-0.1.2 \
		synstructure-0.14.0 \
		system-configuration-0.5.1 \
		system-configuration-sys-0.5.0 \
		tap-1.0.1 \
		tempfile-3.27.0 \
		tendril-0.4.3 \
		termcolor-1.4.1 \
		termios-0.3.3 \
		thin-slice-0.1.1 \
		thiserror-1.0.69 \
		thiserror-impl-1.0.69 \
		threadpool-1.8.1 \
		time-0.3.55 \
		time-core-0.1.9 \
		time-macros-0.2.32 \
		tinystr-0.8.5 \
		tokio-1.54.1 \
		tokio-macros-2.7.2 \
		tokio-native-tls-0.3.1 \
		tokio-stream-0.1.19 \
		tokio-util-0.7.20 \
		toml-1.1.8+spec-1.1.0 \
		toml_datetime-0.6.11 \
		toml_datetime-1.1.2+spec-1.1.0 \
		toml_edit-0.19.15 \
		toml_edit-0.25.17+spec-1.1.0 \
		toml_parser-1.1.5+spec-1.1.0 \
		toml_writer-1.1.3+spec-1.1.0 \
		tower-service-0.3.3 \
		tracing-0.1.44 \
		tracing-core-0.1.36 \
		try-lock-0.2.5 \
		twox-hash-1.6.3 \
		typenum-1.20.1 \
		unicode-ident-1.0.27 \
		url-2.5.8 \
		utf-8-0.7.6 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		uuid-1.29.0 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		want-0.3.2 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasip2-1.0.4+wasi-0.2.12 \
		wasm-bindgen-0.2.129 \
		wasm-bindgen-futures-0.4.79 \
		wasm-bindgen-macro-0.2.129 \
		wasm-bindgen-macro-support-0.2.129 \
		wasm-bindgen-shared-0.2.129 \
		web-sys-0.3.106 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.11 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-link-0.2.1 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-sys-0.61.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		winnow-0.5.40 \
		winnow-1.0.4 \
		winreg-0.50.0 \
		wit-bindgen-0.57.1 \
		writeable-0.6.4 \
		wyz-0.5.1 \
		yoke-0.8.4 \
		yoke-derive-0.8.4 \
		zerocopy-0.8.63 \
		zerocopy-derive-0.8.63 \
		zerofrom-0.1.8 \
		zerofrom-derive-0.1.8 \
		zeroize-1.9.1 \
		zerotrie-0.2.5 \
		zerovec-0.11.9 \
		zerovec-derive-0.11.7 \
		zmij-1.0.23

OPENSSLINC=	/usr/include
OPENSSLLIB=	/usr/lib

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
