new package
This commit is contained in:
47
vpn_node/nfpm.yaml
Normal file
47
vpn_node/nfpm.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
name: "vpn-node"
|
||||
arch: "amd64"
|
||||
platform: "linux"
|
||||
version: "${VERSION}"
|
||||
section: "net"
|
||||
priority: "optional"
|
||||
maintainer: "Your Name <your.email@example.com>"
|
||||
description: |
|
||||
VPN Daemon for managing VPN connections on FreeBSD nodes.
|
||||
Supports L2TP/IPSec, IKEv2, WireGuard, and Amnezia VPN types.
|
||||
vendor: "Your Organization"
|
||||
homepage: "https://github.com/yourusername/vpn-node"
|
||||
license: "MIT"
|
||||
|
||||
contents:
|
||||
- src: ./vpn-node-src/
|
||||
dst: /opt/vpn-node
|
||||
type: dir
|
||||
|
||||
- src: ./systemd/vpn-node.service
|
||||
dst: /etc/systemd/system/vpn-node.service
|
||||
|
||||
- src: ./debian/postinst
|
||||
dst: /var/lib/dpkg/info/vpn-node.postinst
|
||||
file_info:
|
||||
mode: 0755
|
||||
|
||||
scripts:
|
||||
postinstall: /var/lib/dpkg/info/vpn-node.postinst
|
||||
|
||||
overrides:
|
||||
deb:
|
||||
depends:
|
||||
- python3
|
||||
- python3-fastapi
|
||||
- python3-uvicorn
|
||||
- python3-websockets
|
||||
- python3-httptools
|
||||
- python3-uvloop
|
||||
- python3-h11
|
||||
- python3-h2
|
||||
- python3-python-dotenv
|
||||
- python3-pydantic
|
||||
- python3-sqlalchemy
|
||||
- python3-aiosqlite
|
||||
- python3-greenlet
|
||||
- systemd
|
||||
Reference in New Issue
Block a user