PORTNAME=	authoscope
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.1
PORTREVISION=	29
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=	adler-1.0.2 \
		ahash-0.7.6 \
		aho-corasick-0.7.18 \
		ansi_term-0.12.1 \
		anyhow-1.0.56 \
		arrayvec-0.4.12 \
		arrayvec-0.7.2 \
		async-trait-0.1.52 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		base64-0.13.0 \
		bcrypt-0.9.0 \
		bigdecimal-0.3.0 \
		bindgen-0.59.2 \
		bitflags-1.3.2 \
		bitvec-0.22.3 \
		block-buffer-0.9.0 \
		block-buffer-0.10.2 \
		block-padding-0.2.1 \
		blowfish-0.7.0 \
		bufstream-0.1.4 \
		bumpalo-3.9.1 \
		byteorder-1.4.3 \
		bytes-1.1.0 \
		cc-1.0.73 \
		cexpr-0.6.0 \
		cfg-if-1.0.0 \
		cipher-0.2.5 \
		clang-sys-1.3.1 \
		clap-2.34.0 \
		cmake-0.1.48 \
		colored-2.0.0 \
		convert_case-0.4.0 \
		core-foundation-0.9.3 \
		core-foundation-sys-0.8.3 \
		cpufeatures-0.2.2 \
		crc32fast-1.3.2 \
		crossbeam-0.8.1 \
		crossbeam-channel-0.5.4 \
		crossbeam-deque-0.8.1 \
		crossbeam-epoch-0.9.8 \
		crossbeam-queue-0.3.5 \
		crossbeam-utils-0.8.8 \
		crypto-common-0.1.3 \
		crypto-mac-0.11.1 \
		cssparser-0.27.2 \
		cssparser-macros-0.6.0 \
		derive_more-0.99.17 \
		derive_utils-0.11.2 \
		digest-0.9.0 \
		digest-0.10.3 \
		dirs-4.0.0 \
		dirs-sys-0.3.7 \
		dtoa-0.4.8 \
		dtoa-short-0.3.3 \
		encoding_rs-0.8.30 \
		env_logger-0.9.0 \
		fastrand-1.7.0 \
		flate2-1.0.22 \
		fnv-1.0.7 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.0.1 \
		frunk-0.4.0 \
		frunk_core-0.4.0 \
		frunk_derives-0.4.0 \
		frunk_proc_macro_helpers-0.1.0 \
		frunk_proc_macros-0.1.0 \
		frunk_proc_macros_impl-0.1.0 \
		funty-1.2.0 \
		futf-0.1.5 \
		futures-0.3.21 \
		futures-channel-0.3.21 \
		futures-core-0.3.21 \
		futures-executor-0.3.21 \
		futures-io-0.3.21 \
		futures-macro-0.3.21 \
		futures-sink-0.3.21 \
		futures-task-0.3.21 \
		futures-util-0.3.21 \
		fxhash-0.2.1 \
		generic-array-0.14.5 \
		getch-0.3.1 \
		getrandom-0.1.16 \
		getrandom-0.2.5 \
		glob-0.3.0 \
		h2-0.3.12 \
		hashbrown-0.11.2 \
		heck-0.3.3 \
		hermit-abi-0.1.19 \
		hlua-badtouch-0.4.2 \
		hmac-0.11.0 \
		html5ever-0.25.1 \
		http-0.2.6 \
		http-body-0.4.4 \
		httparse-1.6.0 \
		httpdate-1.0.2 \
		humantime-2.1.0 \
		hyper-0.14.18 \
		hyper-tls-0.5.0 \
		idna-0.2.3 \
		indexmap-1.8.0 \
		instant-0.1.12 \
		io-enum-1.0.1 \
		ipnet-2.4.0 \
		itoa-0.4.8 \
		itoa-1.0.1 \
		js-sys-0.3.56 \
		keccak-0.1.0 \
		kuchiki-0.8.1 \
		lazy_static-1.4.0 \
		lazycell-1.3.0 \
		lber-0.3.0 \
		ldap3-0.10.2 \
		lexical-6.1.0 \
		lexical-core-0.8.3 \
		lexical-parse-float-0.8.3 \
		lexical-parse-integer-0.8.3 \
		lexical-util-0.8.3 \
		lexical-write-float-0.8.4 \
		lexical-write-integer-0.8.3 \
		libc-0.2.121 \
		libloading-0.7.3 \
		libz-sys-1.1.5 \
		lock_api-0.4.6 \
		log-0.4.16 \
		lru-0.7.3 \
		lua52-sys-0.1.2 \
		mac-0.1.1 \
		maplit-1.0.2 \
		markup5ever-0.10.1 \
		matches-0.1.9 \
		md-5-0.9.1 \
		memchr-2.4.1 \
		memoffset-0.6.5 \
		mime-0.3.16 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.4.4 \
		mio-0.8.2 \
		miow-0.3.7 \
		mysql-22.1.0 \
		mysql_common-0.28.2 \
		named_pipe-0.4.1 \
		native-tls-0.2.8 \
		new_debug_unreachable-1.0.4 \
		nix-0.23.1 \
		nodrop-0.1.14 \
		nom-2.2.1 \
		nom-7.1.1 \
		ntapi-0.3.7 \
		num-bigint-0.4.3 \
		num-format-0.4.0 \
		num-integer-0.1.44 \
		num-traits-0.2.14 \
		num_cpus-1.13.1 \
		num_threads-0.1.5 \
		once_cell-1.10.0 \
		opaque-debug-0.3.0 \
		openssl-0.10.38 \
		openssl-probe-0.1.5 \
		openssl-sys-0.9.72 \
		parking_lot-0.11.2 \
		parking_lot_core-0.8.5 \
		pbr-1.0.4 \
		peeking_take_while-0.1.2 \
		pem-1.0.2 \
		percent-encoding-2.1.0 \
		phf-0.8.0 \
		phf_codegen-0.8.0 \
		phf_generator-0.8.0 \
		phf_macros-0.8.0 \
		phf_shared-0.8.0 \
		phf_shared-0.10.0 \
		pin-project-lite-0.2.8 \
		pin-utils-0.1.0 \
		pkg-config-0.3.24 \
		ppv-lite86-0.2.16 \
		precomputed-hash-0.1.1 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro-hack-0.5.19 \
		proc-macro2-1.0.36 \
		quote-1.0.16 \
		radium-0.6.2 \
		rand-0.7.3 \
		rand-0.8.5 \
		rand_chacha-0.2.2 \
		rand_chacha-0.3.1 \
		rand_core-0.5.1 \
		rand_core-0.6.3 \
		rand_hc-0.2.0 \
		rand_pcg-0.2.1 \
		redox_syscall-0.2.11 \
		redox_users-0.4.2 \
		regex-1.5.5 \
		regex-syntax-0.6.25 \
		remove_dir_all-0.5.3 \
		reqwest-0.11.10 \
		rlimit-0.7.0 \
		rust_decimal-1.22.0 \
		rustc-hash-1.1.0 \
		rustc_version-0.4.0 \
		ryu-1.0.9 \
		saturating-0.1.0 \
		schannel-0.1.19 \
		scopeguard-1.1.0 \
		security-framework-2.6.1 \
		security-framework-sys-2.6.1 \
		selectors-0.22.0 \
		semver-1.0.6 \
		serde-1.0.136 \
		serde_derive-1.0.136 \
		serde_json-1.0.79 \
		serde_urlencoded-0.7.1 \
		servo_arc-0.1.1 \
		sha-1-0.9.8 \
		sha-1-0.10.0 \
		sha2-0.9.9 \
		sha2-0.10.2 \
		sha3-0.9.1 \
		shlex-1.1.0 \
		siphasher-0.3.10 \
		slab-0.4.5 \
		smallvec-1.8.0 \
		socket2-0.4.4 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		string_cache-0.8.3 \
		string_cache_codegen-0.5.1 \
		strsim-0.8.0 \
		structopt-0.3.26 \
		structopt-derive-0.4.18 \
		subprocess-0.2.8 \
		subtle-2.4.1 \
		syn-1.0.89 \
		tap-1.0.1 \
		tempfile-3.3.0 \
		tendril-0.4.2 \
		termcolor-1.1.3 \
		termios-0.3.3 \
		textwrap-0.11.0 \
		thin-slice-0.1.1 \
		thiserror-1.0.30 \
		thiserror-impl-1.0.30 \
		threadpool-1.8.1 \
		time-0.1.43 \
		time-0.3.9 \
		tinyvec-1.5.1 \
		tinyvec_macros-0.1.0 \
		tokio-1.17.0 \
		tokio-macros-1.7.0 \
		tokio-native-tls-0.3.0 \
		tokio-stream-0.1.8 \
		tokio-util-0.6.9 \
		tokio-util-0.7.0 \
		toml-0.5.8 \
		tower-service-0.3.1 \
		tracing-0.1.32 \
		tracing-core-0.1.23 \
		try-lock-0.2.3 \
		twox-hash-1.6.2 \
		typenum-1.15.0 \
		unicode-bidi-0.3.7 \
		unicode-normalization-0.1.19 \
		unicode-segmentation-1.9.0 \
		unicode-width-0.1.9 \
		unicode-xid-0.2.2 \
		url-2.2.2 \
		utf-8-0.7.6 \
		uuid-0.8.2 \
		vcpkg-0.2.15 \
		vec_map-0.8.2 \
		version_check-0.9.4 \
		want-0.3.0 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		wasi-0.10.2+wasi-snapshot-preview1 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.79 \
		wasm-bindgen-backend-0.2.79 \
		wasm-bindgen-futures-0.4.29 \
		wasm-bindgen-macro-0.2.79 \
		wasm-bindgen-macro-support-0.2.79 \
		wasm-bindgen-shared-0.2.79 \
		web-sys-0.3.56 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.5 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		winreg-0.10.1 \
		wyz-0.4.0

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

PLIST_FILES=	bin/${PORTNAME} \
		bin/badtouch

.include <bsd.port.mk>
