BSD Ports

shells/nsh 1.2.3p1 OpenBSD

network switch style shell

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Tom Smyth <[email protected]>
Last update
Commit
6a0e54e36c
Categories
shells, net

Description

NSH is a CLI intended for OpenBSD-based network appliances. It replaces ifconfig, sysctl and route with its own simple command language, and consolidates configuration and control of other daemons into one place, presenting the user with a vaguely cisco-like interface.

Flavour: static - link statically.

In the other systems

SystemPortVersion
OpenBSDshells/nsh1.2.3p1
FreeBSDshells/nsh0.4.2_45
DragonFlyshells/nsh0.4.2_31

Install

Binary package:

pkg_add nsh

From the ports tree:

cd /usr/ports/shells/nsh && make install

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
6a0e54e36c sthen bump REVISION to pick up bsd.prog.mk changes for _permit_setugid handling add a pre-build to abort if bsd.prog.mk is too old
3af0656520 naddy */*: handle removal of UID_MAX und GID_MAX
The UID_MAX and GID_MAX macros are not portable, their use is prone to errors, and they will be removed from the OpenBSD headers shortly. Correct related mistakes in range handling: UINT_MAX is not a valid user or group ID.