mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
New package: glider-0.7.0
This commit is contained in:
parent
018a378373
commit
3d1e263dd2
2 changed files with 26 additions and 0 deletions
2
srcpkgs/glider/files/glider/run
Normal file
2
srcpkgs/glider/files/glider/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -u nobody:nogroup glider -config /etc/glider/config
|
24
srcpkgs/glider/template
Normal file
24
srcpkgs/glider/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'glider'
|
||||||
|
pkgname=glider
|
||||||
|
version=0.7.0
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path=github.com/nadoo/glider
|
||||||
|
hostmakedepends="git"
|
||||||
|
short_desc="Forward proxy with multiple protocols support"
|
||||||
|
maintainer="whoami <whoami@systemli.org>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/nadoo/glider"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=6289b1b202849bfc0b00c74955535522cc1113ae8ccc6614a9493407fcacee35
|
||||||
|
conf_files="/etc/glider/config /etc/glider/rules.d/*"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir etc/glider/rules.d
|
||||||
|
vmkdir usr/share/examples/glider
|
||||||
|
vcopy "config/examples/*" usr/share/examples/glider
|
||||||
|
vcopy config/glider.conf.example etc/glider/config
|
||||||
|
vcopy config/rules.d etc/glider
|
||||||
|
vsv glider
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue