-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #249 from binbat/test
use nfpm build package deb
- Loading branch information
Showing
7 changed files
with
162 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,48 +96,3 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } | |
webui = ["liveion/webui", "liveman/webui"] | ||
net4mqtt = ["liveion/net4mqtt", "liveman/net4mqtt"] | ||
|
||
# cargo install cargo-deb | ||
# Reference: https://github.com/kornelski/cargo-deb | ||
[package.metadata.deb] | ||
maintainer = "Metal A-Wing <[email protected]>" | ||
copyright = "BinBat LTD <[email protected]>" | ||
license-file = ["LICENSE"] | ||
extended-description = """\ | ||
A very simple, high performance, edge WebRTC SFU.\ | ||
Real-time video streaming for the `WHIP`/`WHEP` as first protocol.\ | ||
""" | ||
depends = "libc6 systemd" | ||
section = "utility" | ||
priority = "optional" | ||
assets = [ | ||
[ | ||
"target/release/live777", | ||
"usr/bin/", | ||
"755", | ||
], | ||
[ | ||
"target/release/whipinto", | ||
"usr/bin/", | ||
"755", | ||
], | ||
[ | ||
"target/release/whepfrom", | ||
"usr/bin/", | ||
"755", | ||
], | ||
[ | ||
"config-dist.toml", | ||
"etc/live777/config.toml", | ||
"644", | ||
], | ||
[ | ||
"live777.service", | ||
"usr/lib/systemd/system/live777.service", | ||
"644", | ||
], | ||
[ | ||
"README.md", | ||
"usr/share/doc/live777/README", | ||
"644", | ||
], | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "live777" | ||
arch: "${NFPM_ARCH}" | ||
platform: "linux" | ||
version: "${NFPM_VERSION}" | ||
section: "utility" | ||
priority: "optional" | ||
maintainer: "Max A-wing <[email protected]>" | ||
description: | | ||
A very simple, high performance, edge WebRTC SFU. | ||
Real-time video streaming for the `WHIP`/`WHEP` as first protocol. | ||
vendor: "BinBat" | ||
homepage: "http://live777.binbat.com" | ||
license: "MPL-2.0" | ||
contents: | ||
- src: ./target/${NFPM_TARGET}/release/live777 | ||
dst: /usr/bin/live777 | ||
- src: ./conf/live777.service | ||
dst: /usr/lib/systemd/system/live777.service | ||
- src: ./conf/live777.toml | ||
dst: /etc/live777/live777.toml | ||
type: config | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "liveman" | ||
arch: "${NFPM_ARCH}" | ||
platform: "linux" | ||
version: "${NFPM_VERSION}" | ||
section: "utility" | ||
priority: "optional" | ||
maintainer: "Max A-wing <[email protected]>" | ||
description: | | ||
A very simple, high performance, edge WebRTC SFU. | ||
Live777 cluster manager controller | ||
vendor: "BinBat" | ||
homepage: "http://live777.binbat.com" | ||
license: "MPL-2.0" | ||
contents: | ||
- src: ./target/${NFPM_TARGET}/release/liveman | ||
dst: /usr/bin/liveman | ||
- src: ./conf/liveman.service | ||
dst: /usr/lib/systemd/system/liveman.service | ||
- src: ./conf/liveman.toml | ||
dst: /etc/live777/liveman.toml | ||
type: config | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "net4mqtt" | ||
arch: "${NFPM_ARCH}" | ||
platform: "linux" | ||
version: "${NFPM_VERSION}" | ||
section: "utility" | ||
priority: "optional" | ||
maintainer: "Max A-wing <[email protected]>" | ||
description: | | ||
A very simple, high performance, edge WebRTC SFU. | ||
RTP/RTSP to WHIP tool | ||
vendor: "BinBat" | ||
homepage: "http://live777.binbat.com" | ||
license: "MPL-2.0" | ||
contents: | ||
- src: ./target/${NFPM_TARGET}/release/net4mqtt | ||
dst: /usr/bin/net4mqtt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "whepfrom" | ||
arch: "${NFPM_ARCH}" | ||
platform: "linux" | ||
version: "${NFPM_VERSION}" | ||
section: "utility" | ||
priority: "optional" | ||
maintainer: "Max A-wing <[email protected]>" | ||
description: | | ||
A very simple, high performance, edge WebRTC SFU. | ||
WHEP to RTP/RTSP tool | ||
vendor: "BinBat" | ||
homepage: "http://live777.binbat.com" | ||
license: "MPL-2.0" | ||
contents: | ||
- src: ./target/${NFPM_TARGET}/release/whepfrom | ||
dst: /usr/bin/whepfrom | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: "whipinto" | ||
arch: "${NFPM_ARCH}" | ||
platform: "linux" | ||
version: "${NFPM_VERSION}" | ||
section: "utility" | ||
priority: "optional" | ||
maintainer: "Max A-wing <[email protected]>" | ||
description: | | ||
A very simple, high performance, edge WebRTC SFU. | ||
RTP/RTSP to WHIP tool | ||
vendor: "BinBat" | ||
homepage: "http://live777.binbat.com" | ||
license: "MPL-2.0" | ||
contents: | ||
- src: ./target/${NFPM_TARGET}/release/whipinto | ||
dst: /usr/bin/whipinto | ||
|