Index: head/net-mgmt/netmagis-common/Makefile =================================================================== --- head/net-mgmt/netmagis-common/Makefile (revision 400426) +++ head/net-mgmt/netmagis-common/Makefile (revision 400427) @@ -1,54 +1,53 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME?= netmagis -PORTVERSION?= 2.3.0 +PORTVERSION?= 2.3.2 CATEGORIES?= net-mgmt MASTER_SITES= http://netmagis.org/files/ PKGNAMESUFFIX?= -common MAINTAINER?= pdagog@gmail.com COMMENT?= Netmagis common infrastructure LICENSE= CECILL-B LICENSE_NAME= CeCILL-B Free Software License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS+= dtplite:${PORTSDIR}/devel/tcllib +NO_ARCH?= yes USES+= pgsql:9.1+ tcl:85+ WANT_PGSQL+= pgtcl -SLAVEDIRS= net-mgmt/netmagis-common \ +SLAVEDIRS= net-mgmt/netmagis-common \ net-mgmt/netmagis-database \ net-mgmt/netmagis-detecteq \ net-mgmt/netmagis-metro \ net-mgmt/netmagis-servers \ net-mgmt/netmagis-topo \ net-mgmt/netmagis-utils \ net-mgmt/netmagis-www - -NO_ARCH= yes # Variables used in netmagis Makefiles MAKE_ARGS+= DESTDIR=${STAGEDIR}${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} # Change "cd foo; make" into "$(MAKE) -C foo" to unbreak parallel builds post-patch: @${FIND} ${WRKSRC} -type f -name Makefile -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -E 's,cd(.+) (;|&&) make,$$(MAKE) -C\1,' @${REINPLACE_CMD} -E 's,cd (.+) ; (ln -s en ),\2\1/,' \ ${WRKSRC}/www/Makefile ${REINPLACE_CMD} '/NMVARDIR/s/$$(PREFIX)//' ${WRKSRC}/Makefile .include Index: head/net-mgmt/netmagis-common/distinfo =================================================================== --- head/net-mgmt/netmagis-common/distinfo (revision 400426) +++ head/net-mgmt/netmagis-common/distinfo (revision 400427) @@ -1,2 +1,2 @@ -SHA256 (netmagis-2.3.0.tar.gz) = f79f15fedab8fbfcfd2cf5dae283d21df522f1b5d7036f82c20ef24f9592af88 -SIZE (netmagis-2.3.0.tar.gz) = 670725 +SHA256 (netmagis-2.3.2.tar.gz) = b3265112c3abf1e08e2727884747996c04ea2250b2395710d997014463110bd9 +SIZE (netmagis-2.3.2.tar.gz) = 685535 Index: head/net-mgmt/netmagis-database/Makefile =================================================================== --- head/net-mgmt/netmagis-database/Makefile (revision 400426) +++ head/net-mgmt/netmagis-database/Makefile (revision 400427) @@ -1,23 +1,21 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis PKGNAMESUFFIX= -database COMMENT= Utilities for the netmagis database server RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \ pwgen:${PORTSDIR}/sysutils/pwgen \ tcltls>=1.4.1:${PORTSDIR}/devel/tcltls \ ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss WANT_PGSQL+= server pltcl MASTERDIR= ${.CURDIR}/../netmagis-common -NO_ARCH= yes - PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/netmagis-detecteq/Makefile =================================================================== --- head/net-mgmt/netmagis-detecteq/Makefile (revision 400426) +++ head/net-mgmt/netmagis-detecteq/Makefile (revision 400427) @@ -1,18 +1,16 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis PKGNAMESUFFIX= -detecteq COMMENT= Files for detection of equipment modifications RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common MASTERDIR= ${.CURDIR}/../netmagis-common -NO_ARCH= yes - PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/netmagis-metro/Makefile =================================================================== --- head/net-mgmt/netmagis-metro/Makefile (revision 400426) +++ head/net-mgmt/netmagis-metro/Makefile (revision 400427) @@ -1,28 +1,25 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis -PORTREVISION= 1 PKGNAMESUFFIX= -metro COMMENT= Netmagis metrology module RUN_DEPENDS+= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \ 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 USES= perl5 shebangfix SHEBANG_FILES= metro/bin/metrocreatedb metro/bin/metropoller metro/bin/metropoller-run \ metro/lib/plugins/plugin-ipmac metro/lib/plugins/plugin-portmac \ metro/ws/gengraph MASTERDIR= ${.CURDIR}/../netmagis-common - -NO_ARCH= yes PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/netmagis-topo/Makefile =================================================================== --- head/net-mgmt/netmagis-topo/Makefile (revision 400426) +++ head/net-mgmt/netmagis-topo/Makefile (revision 400427) @@ -1,27 +1,28 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis PKGNAMESUFFIX= -topo COMMENT= Netmagis topology module RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \ rancid-run:${PORTSDIR}/net-mgmt/rancid \ fping:${PORTSDIR}/net/fping +NO_ARCH= # no USE_RC_SUBR= topographd toposendd SUB_LIST= TCLSH=${TCLSH} MASTERDIR= ${.CURDIR}/../netmagis-common FILESDIR= ${.CURDIR}/files PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist ALL_TARGET=build${PKGNAMESUFFIX?=} post-stage: @${MKDIR} ${STAGEDIR}/var/netmagis/eqgen ${STAGEDIR}/var/netmagis/eqvirt .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/netmagis-utils/Makefile =================================================================== --- head/net-mgmt/netmagis-utils/Makefile (revision 400426) +++ head/net-mgmt/netmagis-utils/Makefile (revision 400427) @@ -1,17 +1,15 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis PKGNAMESUFFIX= -utils COMMENT= Netmagis command-line utilities RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common MASTERDIR= ${.CURDIR}/../netmagis-common -NO_ARCH= yes - PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" Index: head/net-mgmt/netmagis-www/Makefile =================================================================== --- head/net-mgmt/netmagis-www/Makefile (revision 400426) +++ head/net-mgmt/netmagis-www/Makefile (revision 400427) @@ -1,23 +1,27 @@ # Created by: Pierre David , Jean Benoit # $FreeBSD$ PORTNAME= netmagis PKGNAMESUFFIX= -www COMMENT= Netmagis web module RUN_DEPENDS= netmagis-config:${PORTSDIR}/net-mgmt/netmagis-common \ dot:${PORTSDIR}/graphics/graphviz \ pwgen:${PORTSDIR}/sysutils/pwgen \ tcltls>=1.4.1:${PORTSDIR}/devel/tcltls \ tDOM>=0.8.0:${PORTSDIR}/www/tdom \ ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +NO_ARCH= # no USE_TEX= full MASTERDIR= ${.CURDIR}/../netmagis-common PKGMESSAGE= ${.CURDIR}/pkg-message PLIST= ${.CURDIR}/pkg-plist + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htgtcl .include "${MASTERDIR}/Makefile"