2014-07-05 10:03:05 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2014/07/05 10:03:05 sthen Exp $
|
2013-08-15 14:45:34 +00:00
|
|
|
|
NSH consolidates configuration for interfaces, bridging, routing, PF
packet filtering, NAT, queueing, BGP, OSPF, RIP, IPsec, DHCP, DVMRP,
SNMP, relayd, sshd, inetd, ftp-proxy, resolv.conf and NTP. It presents
the user with a vaguely cisco-like interface with all configuration in
one easy to read text list.
some improvements from, and OK, sthen@
2012-09-17 13:51:51 +00:00
|
|
|
COMMENT = network switch style shell
|
|
|
|
|
2013-08-15 14:45:34 +00:00
|
|
|
DISTNAME = nsh-1.0
|
2014-07-05 10:03:05 +00:00
|
|
|
REVISION = 4
|
NSH consolidates configuration for interfaces, bridging, routing, PF
packet filtering, NAT, queueing, BGP, OSPF, RIP, IPsec, DHCP, DVMRP,
SNMP, relayd, sshd, inetd, ftp-proxy, resolv.conf and NTP. It presents
the user with a vaguely cisco-like interface with all configuration in
one easy to read text list.
some improvements from, and OK, sthen@
2012-09-17 13:51:51 +00:00
|
|
|
|
|
|
|
CATEGORIES = shells net
|
|
|
|
HOMEPAGE = http://www.nmedia.net/nsh/
|
|
|
|
|
|
|
|
# 3 & 2 clause BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2013-02-12 16:23:33 +00:00
|
|
|
WANTLIB += c edit termcap sqlite3
|
NSH consolidates configuration for interfaces, bridging, routing, PF
packet filtering, NAT, queueing, BGP, OSPF, RIP, IPsec, DHCP, DVMRP,
SNMP, relayd, sshd, inetd, ftp-proxy, resolv.conf and NTP. It presents
the user with a vaguely cisco-like interface with all configuration in
one easy to read text list.
some improvements from, and OK, sthen@
2012-09-17 13:51:51 +00:00
|
|
|
|
|
|
|
MASTER_SITES = ftp://ftp.nmedia.net/pub/nsh/
|
|
|
|
WRKDIST = ${WRKDIR}/nsh
|
|
|
|
MAKE_FLAGS = CC="${CC}"
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/nsh ${PREFIX}/bin
|
|
|
|
.for i in save-ro.sh save-rw.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/${i} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
ln -s ${TRUEPREFIX}/bin/save-rw.sh ${PREFIX}/bin/save.sh
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nsh
|
|
|
|
.for i in MANUAL README TODO COPYRIGHT ChangeLog
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/${i} ${PREFIX}/share/doc/nsh/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|