2015-10-17 10:29:04 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2015/10/17 10:29:04 ajacoutot Exp $
|
|
|
|
|
|
|
|
BROKEN = need to be adapted to current pflow(4)
|
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
|
|
|
|
|
2015-10-01 16:28:01 +00:00
|
|
|
DISTNAME = nsh-1.0.20150914
|
2015-10-05 16:29:01 +00:00
|
|
|
REVISION = 0
|
2015-01-10 12:00:07 +00:00
|
|
|
|
|
|
|
GH_ACCOUNT = yellowman
|
|
|
|
GH_PROJECT = nsh
|
2015-10-01 16:28:01 +00:00
|
|
|
GH_COMMIT = d152f0631ad4e9cd40f093f548e771cf7d019286
|
2015-01-10 12:00:07 +00:00
|
|
|
WRKDIST = ${WRKDIR}/nsh-${GH_COMMIT}
|
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
|
|
|
|
|
|
|
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
|
2015-01-10 12:44:01 +00:00
|
|
|
.for i in MANUAL README TODO COPYRIGHT
|
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
|
|
|
${INSTALL_DATA} ${WRKDIST}/${i} ${PREFIX}/share/doc/nsh/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|