mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
Added debian/ubuntu package (#307)
This commit is contained in:
1 parent
0238b3fcce
commit
253e5008c4
4 files changed
+67
-2
No files matched your search
+38
-2
@@ -66,9 +66,46 @@ archives:
|
||||
- config/**/*
|
||||
- systemd/*
|
||||
|
||||
nfpms:
|
||||
-
|
||||
id: glider
|
||||
package_name: glider
|
||||
vendor: nadoo
|
||||
homepage: https://github.com/nadoo/glider
|
||||
description: Glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq).
|
||||
license: GPL-3.0 License
|
||||
formats:
|
||||
# - apk
|
||||
- deb
|
||||
# - rpm
|
||||
dependencies:
|
||||
- libsystemd0
|
||||
bindir: /usr/bin
|
||||
release: 1
|
||||
epoch: 1
|
||||
version_metadata: git
|
||||
section: default
|
||||
priority: extra
|
||||
contents:
|
||||
- src: systemd/glider@.service
|
||||
dst: /etc/systemd/system/glider@.service
|
||||
|
||||
- src: config/glider.conf.example
|
||||
dst: /etc/glider/glider.conf
|
||||
|
||||
scripts:
|
||||
postinstall: "systemd/postinstall.sh"
|
||||
preremove: "systemd/preremove.sh"
|
||||
postremove: "systemd/postremove.sh"
|
||||
|
||||
deb:
|
||||
triggers:
|
||||
interest_noawait:
|
||||
- /lib/systemd/systemd
|
||||
|
||||
# https://goreleaser.com/customization/snapshots/
|
||||
snapshot:
|
||||
name_template: "dev@{{.ShortCommit}}"
|
||||
name_template: '{{ incpatch .Version }}-dev'
|
||||
|
||||
# https://goreleaser.com/customization/checksum/
|
||||
checksum:
|
||||
@@ -78,4 +115,3 @@ checksum:
|
||||
release:
|
||||
prerelease: true
|
||||
draft: true
|
||||
|
||||
Reference in new issue
Block a user