From 53b3a77bbc491a8333ade373e01e49db7a21dc0e Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Thu, 24 Feb 2022 21:07:31 -0600 Subject: [PATCH] New package: NetAuth-sftpgo-hook-0.1.0. --- srcpkgs/NetAuth-sftpgo-hook/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/NetAuth-sftpgo-hook/template diff --git a/srcpkgs/NetAuth-sftpgo-hook/template b/srcpkgs/NetAuth-sftpgo-hook/template new file mode 100644 index 00000000000..5dbe3a15818 --- /dev/null +++ b/srcpkgs/NetAuth-sftpgo-hook/template @@ -0,0 +1,20 @@ +# Template file for 'NetAuth-sftpgo-hook' +pkgname=NetAuth-sftpgo-hook +version=0.1.0 +revision=1 +wrksrc=sftpgo-hook-$version +build_style=go +go_import_path=github.com/netauth/sftpgo-hook +hostmakedepends="git" +depends="sftpgo" +short_desc="External authorization hook for SFTPGo using NetAuth" +maintainer="Michael Aldridge " +license="MIT" +homepage="https://github.com/netauth/sftpgo-hook" +distfiles="https://github.com/netauth/sftpgo-hook/archive/refs/tags/v$version.tar.gz" +checksum=8ec42f159d6b84fbc19cbc76f695de324384092c80d96e6a876c14da6aca110f + +do_install() { + vlicense LICENSE + vinstall sftpgo-hook usr/libexec/sftpgo/netauth-hook +}