syncthing: install ufw rules

This commit is contained in:
Kristupas Savickas 2019-09-25 14:39:31 +03:00 committed by Helmut Pozimski
parent d880881e95
commit 37f8b66339

View file

@ -1,7 +1,7 @@
# Template file for 'syncthing' # Template file for 'syncthing'
pkgname=syncthing pkgname=syncthing
version=1.2.2 version=1.2.2
revision=1 revision=2
build_style=go build_style=go
go_import_path="github.com/syncthing/syncthing" go_import_path="github.com/syncthing/syncthing"
go_package="${go_import_path}/cmd/strelaysrv ${go_import_path}/cmd/syncthing" go_package="${go_import_path}/cmd/strelaysrv ${go_import_path}/cmd/syncthing"
@ -21,6 +21,7 @@ pre_build() {
} }
post_install() { post_install() {
vinstall etc/firewall-ufw/syncthing 644 etc/ufw/applications.d
vlicense LICENSE vlicense LICENSE
vdoc README.md vdoc README.md
} }