New package: up_rewrite-1.1.1

This commit is contained in:
Joel Beckmeyer 2022-02-20 18:37:51 -05:00 committed by Echo
parent ff0ae34f92
commit 0c63f875a2
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1 @@
/usr/bin/vlogger

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec chpst -u _up_rewrite:_up_rewrite up_rewrite -c /etc/up_rewrite/config.toml

View File

@ -0,0 +1,23 @@
# Template file for 'up_rewrite'
pkgname=up_rewrite
version=1.1.1
revision=1
wrksrc="common-proxies-${version}"
build_style=go
go_import_path="github.com/karmanyaahm/up_rewrite"
go_ldflags="-X $go_import_path/config.Version=$version"
short_desc="Rewrite Proxy for UnifiedPush written in Go"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://unifiedpush.org"
distfiles="https://github.com/UnifiedPush/common-proxies/archive/v${version}.tar.gz"
checksum=178d99a053afeeb64bff7149415d14a5f9b809af4d2c081ec4fbfe33ae55428f
conf_files="/etc/up_rewrite/config.toml"
system_accounts="_up_rewrite"
post_install() {
vinstall example-config.toml 644 etc/up_rewrite config.toml
vlicense LICENSE
vsv up_rewrite
}