From owner-svn-ports-all@FreeBSD.ORG Tue Oct 30 20:27:11 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 583ABAEE; Tue, 30 Oct 2012 20:27:11 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E8AD8FC14; Tue, 30 Oct 2012 20:27:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9UKRBMp068745; Tue, 30 Oct 2012 20:27:11 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9UKRAdf068736; Tue, 30 Oct 2012 20:27:10 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201210302027.q9UKRAdf068736@svn.freebsd.org> From: Chris Rees Date: Tue, 30 Oct 2012 20:27:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306707 - in head/net-mgmt: . netmagis-common netmagis-common/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2012 20:27:11 -0000 Author: crees Date: Tue Oct 30 20:27:10 2012 New Revision: 306707 URL: http://svn.freebsd.org/changeset/ports/306707 Log: Netmagis is a network management information system, which allows a network administrator to: - manage data for your BIND DNS and ISC DHCPD server, - delegate DNS management, - automatically generate network maps, - assign VLAN to equipment interfaces via a Web interface, - generate traffic graphs. WWW: http://www.netmagis.org/ PR: ports/169509 Submitted by: Pierre David , Jean Benoit Feature safe: yes Added: head/net-mgmt/netmagis-common/ head/net-mgmt/netmagis-common/Makefile (contents, props changed) head/net-mgmt/netmagis-common/distinfo (contents, props changed) head/net-mgmt/netmagis-common/files/ head/net-mgmt/netmagis-common/files/topographd.in (contents, props changed) head/net-mgmt/netmagis-common/files/toposendd.in (contents, props changed) head/net-mgmt/netmagis-common/pkg-descr (contents, props changed) head/net-mgmt/netmagis-common/pkg-message (contents, props changed) head/net-mgmt/netmagis-common/pkg-plist (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Tue Oct 30 19:48:15 2012 (r306706) +++ head/net-mgmt/Makefile Tue Oct 30 20:27:10 2012 (r306707) @@ -161,6 +161,7 @@ SUBDIR += netdisco-mibs SUBDIR += netdot SUBDIR += netleak + SUBDIR += netmagis-common SUBDIR += netmask SUBDIR += netmond SUBDIR += netspoc Added: head/net-mgmt/netmagis-common/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/Makefile Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,73 @@ +# Created by: Pierre David , Jean Benoit +# $FreeBSD$ + +PORTNAME?= netmagis +DISTVERSION?= 2.1.0 +PORTREVISION?= 1 +CATEGORIES?= net-mgmt +MASTER_SITES= http://netmagis.org/files/ +PKGNAMESUFFIX?= -common + +MAINTAINER?= pdagog@gmail.com +COMMENT?= Netmagis common infrastructure + +USE_TCL= 85+ + +USE_PGSQL= pgtcl +WANT_PGSQL_VER= 91+ + +RUN_DEPENDS+= dtplite:${PORTSDIR}/devel/tcllib + +.if ${PKGNAMESUFFIX} != -common +RUN_DEPENDS+= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common +.endif + +.if ${PKGNAMESUFFIX} == -database +RUN_DEPENDS+= pwgen:${PORTSDIR}/sysutils/pwgen +USE_PGSQL+= server pltcl +.endif + +.if ${PKGNAMESUFFIX} == -www +USE_APACHE= 22+ +RUN_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base \ + dot:${PORTSDIR}/graphics/graphviz \ + pwgen:${PORTSDIR}/sysutils/pwgen \ + ${LOCALBASE}/libexec/apache22/mod_auth_pgsql.so:${PORTSDIR}/www/mod_auth_pgsql2/ +# FIXME compile apache22 with option mod_auth_ldap +# FIXME add ap22-mod_auth_cas +.endif + +.if ${PKGNAMESUFFIX} == -topo +USE_RC_SUBR= topographd toposendd +SUB_LIST= TCLSH=${TCLSH} +RUN_DEPENDS+= rancid-run:${PORTSDIR}/net-mgmt/rancid \ + fping:${PORTSDIR}/net/fping +.endif + +.if ${PKGNAMESUFFIX} == -metro +USE_PERL5= yes + +RUN_DEPENDS+= p5-DBD-Pg>0:${PORTSDIR}/databases/p5-DBD-Pg \ + p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ + p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ + p5-RRDTool-OO>=0:${PORTSDIR}/devel/p5-RRDTool-OO +.endif + +# Variables used in netmagis Makefiles +MAKE_ARGS+= DESTDIR=${DESTDIR} PREFIX=${PREFIX} +MAKE_ARGS+= TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh + +.if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www +ALL_TARGET=build${PKGNAMESUFFIX?=} +.else +ALL_TARGET=nothing +.endif + +INSTALL_TARGET= install${PKGNAMESUFFIX} + +.if !target(post-install) +post-install: + @if [ -f ${PKGMESSAGE} ] ; then ${CAT} ${PKGMESSAGE} ; fi +.endif + +.include Added: head/net-mgmt/netmagis-common/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/distinfo Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,2 @@ +SHA256 (netmagis-2.1.0.tar.gz) = 2b6042aa8906ee318987f5604c49dd5bb3554fb06cf7908080d2a4a362216103 +SIZE (netmagis-2.1.0.tar.gz) = 593154 Added: head/net-mgmt/netmagis-common/files/topographd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/files/topographd.in Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,34 @@ +#! /bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: topographd +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# +# Add the following lines to /etc/rc.conf to enable topographd: +# +# topographd_enable="YES" +# +# # Optionnal variables: +# topographd_flags="" +# topographd_user="rancid" +# + +. /etc/rc.subr + +name=topographd +rcvar=topographd_enable + +load_rc_config $name + +: ${topographd_enable:=NO} +: ${topographd_user:=rancid} + +command_interpreter=%%TCLSH%% + +command=%%PREFIX%%/sbin/topographd + +run_rc_command $1 Added: head/net-mgmt/netmagis-common/files/toposendd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/files/toposendd.in Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,33 @@ +#! /bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: toposendd +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# +# Add the following lines to /etc/rc.conf to enable toposendd: +# +# toposendd_enable="YES" +# +# # Optionnal variables: +# toposendd_flags="" +# toposendd_user="rancid" +# + +. /etc/rc.subr + +name=toposendd +rcvar=toposendd_enable + +load_rc_config $name + +: ${toposendd_enable:=NO} +: ${toposendd_user:=rancid} + +command_interpreter=%%TCLSH%% +command=%%PREFIX%%/sbin/toposendd + +run_rc_command $1 Added: head/net-mgmt/netmagis-common/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/pkg-descr Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,9 @@ +Netmagis is a network management information system, +which allows a network administrator to: + - manage data for your BIND DNS and ISC DHCPD server, + - delegate DNS management, + - automatically generate network maps, + - assign VLAN to equipment interfaces via a Web interface, + - generate traffic graphs. + +WWW: http://www.netmagis.org/ Added: head/net-mgmt/netmagis-common/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/pkg-message Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,5 @@ +================================================================= + +For installation instructions, see http://www.netmagis.org/doc.html + +================================================================= Added: head/net-mgmt/netmagis-common/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/netmagis-common/pkg-plist Tue Oct 30 20:27:10 2012 (r306707) @@ -0,0 +1,16 @@ +bin/netmagis-config +etc/netmagis.conf.sample +lib/netmagis/libnetmagis.tcl +lib/netmagis/msgs/C.msg +lib/netmagis/msgs/en.msg +lib/netmagis/msgs/fr.msg +lib/netmagis/pkgtcl/arrgen.n +lib/netmagis/pkgtcl/arrgen.tcl +lib/netmagis/pkgtcl/pgsql.n +lib/netmagis/pkgtcl/pgsql.tcl +lib/netmagis/pkgtcl/pkgIndex.tcl +lib/netmagis/pkgtcl/webapp.n +lib/netmagis/pkgtcl/webapp.tcl +@dirrm lib/netmagis/pkgtcl +@dirrm lib/netmagis/msgs +@dirrm lib/netmagis