diff options
| author | Olivier Cochard <olivier@FreeBSD.org> | 2026-02-04 14:04:35 +0000 |
|---|---|---|
| committer | Olivier Cochard <olivier@FreeBSD.org> | 2026-02-04 15:47:06 +0000 |
| commit | 52d896dde1b51cb979f08a48754bb8c3bd6556aa (patch) | |
| tree | 4d872a940ae4d353b39dee43b65b5071f0ac67df | |
| parent | a0bd7fc175521a9f65dd1ad89f1255b9f1c82612 (diff) | |
net/frr10: Create the libstatedir
On some customized setup (poudriere-image, nanobsd) /var/lib could be missing
| -rw-r--r-- | net/frr10/Makefile | 1 | ||||
| -rw-r--r-- | net/frr10/files/frr.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/frr10/Makefile b/net/frr10/Makefile index 6dd8897bca83..0df81c2a67d3 100644 --- a/net/frr10/Makefile +++ b/net/frr10/Makefile @@ -1,6 +1,7 @@ PORTNAME= frr DISTVERSIONPREFIX= frr- DISTVERSION= 10.5.1 +PORTREVISION= 1 CATEGORIES= net .if defined(PYTHONTOOLS) PKGNAMESUFFIX= 10-pythontools diff --git a/net/frr10/files/frr.in b/net/frr10/files/frr.in index b17e61233bfc..559fc87a8194 100644 --- a/net/frr10/files/frr.in +++ b/net/frr10/files/frr.in @@ -195,6 +195,8 @@ case "${frr_cmd}" in if [ -x %%PREFIX%%/etc/rc.d/watchfrr ]; then echo "WARNING: Old rc.d/watchfrr detected, this file must be deleted" fi + mkdir -p /var/lib/frr + chown -R frr:frr /var/lib/frr if checkyesno frr_vtysh_boot; then echo "Checking intergrated config..." if ! [ -f %%ETCDIR%%/vtysh.conf ]; then |
