blob: 7190db4c4e598f712efc6dd32768a412200ee01a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= reticulum
DISTVERSION= 0.5.7
CATEGORIES= net-p2p
MASTER_SITES= PYPI
DISTNAME= rns-${DISTVERSION}
MAINTAINER= cs@FreeBSD.org
COMMENT= Self-configuring, encrypted and resilient mesh networking stack
WWW= https://reticulum.network/
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR}
USES= python pycryptography:run
USE_PYTHON= distutils
USE_RC_SUBR= reticulum
GROUPS= _reticulum
USERS= _reticulum
SUB_LIST= USERS="${USERS}" \
GROUPS="${GROUPS}" \
PYTHON=${PYTHON_CMD}
PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}"
NO_ARCH= yes
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/db/reticulum ${STAGEDIR}/var/run/reticulum ${STAGEDIR}/var/log/reticulum
${INSTALL_DATA} ${PATCHDIR}/config.sample ${STAGEDIR}${ETCDIR}/config.sample
.include <bsd.port.mk>
|