Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a daemon that manages network configuration of FreeBSD. The daemon can manage: - some system network parameters - interfaces - routes - wireless networks (using wpa_supplicant) nmdaemon should be started as root, it opens a unix socket where clients can connect. The permissions of the unix socket are managed by nmdaemon and provided by it's configuration file. To communicate with nmdaemon one should use JSON formatted commands, nmdaemon answers with JSON formatted data too. The syntax and examples of the commands can be found in commands.md. The Makefile and pkg-descr files have been made compliant with FreeBSD conventions by me (pkg-descr is derived from README.md). Pull Request: #224
- Loading branch information
Showing
5 changed files
with
47 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PORTNAME= nmdaemon | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.2 | ||
CATEGORIES= sysutils | ||
|
||
MAINTAINER= peter@flytrace.com | ||
COMMENT= FreeBSD network manager daemon | ||
WWW= https://github.com/Peter2121/nmdaemon | ||
|
||
LICENSE= BSD3CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${LOCALBASE}/lib/libasync++.a:devel/asyncplusplus \ | ||
${LOCALBASE}/lib/libsockpp.a:net/libsockpp | ||
|
||
USES= cmake compiler:c++20-lang | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= Peter2121 | ||
GH_PROJECT= nmdaemon | ||
|
||
CONFIGURE_ENV= VERSION=${DISTVERSION} | ||
|
||
.include <bsd.port.mk> |
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,3 @@ | ||
TIMESTAMP = 1706385613 | ||
SHA256 (Peter2121-nmdaemon-v0.2_GH0.tar.gz) = ffd1dbbbed96c16b2d737f540b8a68e3df04a91546ba72355d5558803ac79f5a | ||
SIZE (Peter2121-nmdaemon-v0.2_GH0.tar.gz) = 247518 |
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,15 @@ | ||
This is a daemon that manages network configuration of FreeBSD. | ||
|
||
The daemon can manage: | ||
- some system network parameters | ||
- interfaces | ||
- routes | ||
- wireless networks (using wpa_supplicant) | ||
|
||
nmdaemon should be started as root, it opens a unix socket where | ||
clients can connect. The permissions of the unix socket are managed | ||
by nmdaemon and provided by it's configuration file. | ||
|
||
To communicate with nmdaemon one should use JSON formatted commands, | ||
nmdaemon answers with JSON formatted data too. | ||
The syntax and examples of the commands can be found in commands.md. |
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,5 @@ | ||
bin/nmdaemon | ||
@sample etc/nmdaemon.conf.sample | ||
etc/rc.d/nmdaemon | ||
%%DATADIR%%/commands.md | ||
%%DATADIR%%/commands.txt |