[package] name = "seqknock-proxycmd" version = "0.2.0" authors = ["Jonas Eriksson "] edition = "2018" description = "TCP Sequence number-based knocking; OpenSSH-style proxycmd implementation" license = "GPL-2.0 OR Apache-2.0" readme = "README.md" homepage = "https://git.sr.ht/~upto/seqknock/" repository = "https://git.sr.ht/~upto/seqknock/" [dependencies] async-std = "1.12.0" log = "0.4" log4rs = "1.2" [dependencies.seqknock-common] #path = "../seqknock-common" version = "0.1" features = ["async"] [dependencies.clap] version = "3.2" features = ["derive"] [dependencies.tokio] version = "1" features = ["rt"] [package.metadata.generate-rpm] post_install_script = """set -eo pipefail if ! getent group seqknock-proxycmd &> /dev/null; then groupadd --system seqknock-proxycmd fi """ assets = [ { source = "target/release/seqknock-proxycmd", dest = "/usr/bin/seqknock-proxycmd", mode = "755" }, { source = "seqknock-proxycmd/files/50-seqknock-proxycmd-rules", dest = "/etc/sudoers.d/50-seqknock-proxycmd-rules", mode = "600" }, { source = "target/man-out/seqknock-proxycmd.1.gz", dest = "/usr/share/man/man1/seqknock-nftables-proxycmd.1.gz", mode = "644" }, ] [package.metadata.deb] depends = "nftables" assets = [ ["target/release/seqknock-proxycmd", "usr/bin/", "755"], ["files/50-seqknock-proxycmd-rules", "etc/sudoers.d/", "600"], ["target/man-out/seqknock-proxycmd.1.gz", "share/man/man1/", "644"], ]