svn commit: r364788 - in head/net-mgmt: . lg
Mathieu Arnold
mat at FreeBSD.org
Wed Aug 13 14:34:39 UTC 2014
Author: mat
Date: Wed Aug 13 14:34:37 2014
New Revision: 364788
URL: http://svnweb.freebsd.org/changeset/ports/364788
QAT: https://qat.redports.org/buildarchive/r364788/
Log:
Add LG, a Looking Glass written in Perl as a CGI script.
Sponsored by: Absolight
Added:
head/net-mgmt/lg/
head/net-mgmt/lg/Makefile (contents, props changed)
head/net-mgmt/lg/distinfo (contents, props changed)
head/net-mgmt/lg/pkg-descr (contents, props changed)
head/net-mgmt/lg/pkg-plist (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Wed Aug 13 14:14:35 2014 (r364787)
+++ head/net-mgmt/Makefile Wed Aug 13 14:34:37 2014 (r364788)
@@ -105,6 +105,7 @@
SUBDIR += jnettop
SUBDIR += kismet
SUBDIR += lanmap
+ SUBDIR += lg
SUBDIR += libsmi
SUBDIR += macroscope
SUBDIR += mbrowse
Added: head/net-mgmt/lg/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/lg/Makefile Wed Aug 13 14:34:37 2014 (r364788)
@@ -0,0 +1,35 @@
+# Created by: Mathieu Arnold <mat at freebsd.org>
+# $FreeBSD$
+
+PORTNAME= lg
+PORTVERSION= 1.9.s20140622
+MASTER_SITES= LOCAL/mat/lg GH GHC
+CATEGORIES= net-mgmt perl5
+
+MAINTAINER= mat at freebsd.org
+COMMENT= Looking Glass written in Perl as a CGI script
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_GITHUB= yes
+GH_ACCOUNT= Cougar
+GH_COMMIT= 0d53e4b
+GH_TAGNAME= ${GH_COMMIT}
+
+USES= perl5
+USE_PERL5= run
+
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${WWWDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/lg.cgi ${STAGEDIR}${WWWDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} lg.conf favicon.ico ${STAGEDIR}${WWWDIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} makeaslist.pl makedb.pl ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} as.txt communities.txt ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG COPYING README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/net-mgmt/lg/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/lg/distinfo Wed Aug 13 14:34:37 2014 (r364788)
@@ -0,0 +1,2 @@
+SHA256 (lg-1.9.s20140622.tar.gz) = cef9f6f3d8c36d15933999f383bef74d6f3b5f60677987fec731166a34ff587a
+SIZE (lg-1.9.s20140622.tar.gz) = 44239
Added: head/net-mgmt/lg/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/lg/pkg-descr Wed Aug 13 14:34:37 2014 (r364788)
@@ -0,0 +1,7 @@
+LG is a Looking Glass written in Perl as a CGI script. It can execute almost
+all BGP-related commands and do ping and traceroute in routers or relay these
+queries to other looking glasses. It supports both IPv4 and IPv6 commands, and
+is tested with Cisco, Zebra and Juniper. It can connect to router using either
+SSH, telnet or rsh protocol.
+
+WWW: http://wiki.version6.net/LG
Added: head/net-mgmt/lg/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/lg/pkg-plist Wed Aug 13 14:34:37 2014 (r364788)
@@ -0,0 +1,13 @@
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/as.txt
+%%DATADIR%%/communities.txt
+%%DATADIR%%/makeaslist.pl
+%%DATADIR%%/makedb.pl
+%%WWWDIR%%/favicon.ico
+%%WWWDIR%%/lg.cgi
+%%WWWDIR%%/lg.conf
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+ at dirrmtry %%DATADIR%%
+ at dirrmtry %%WWWDIR%%
More information about the svn-ports-all
mailing list