Index: head/sysutils/munin-common/Makefile =================================================================== --- head/sysutils/munin-common/Makefile (revision 367012) +++ head/sysutils/munin-common/Makefile (revision 367013) @@ -1,40 +1,40 @@ # Created by: Sean Rees # $FreeBSD$ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -common -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mat@FreeBSD.org COMMENT= Common components between a munin node and server BUILD_DEPENDS= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build \ p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay USES= gmake perl5 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.r/rc/} NO_STAGE= yes .include "${.CURDIR}/../munin-common/munin.mk" ALL_TARGET= build-common-prime INSTALL_TARGET= install-common MAN3= Munin::Common::Config.3 \ Munin::Common::Defaults.3 \ Munin::Common::TLS.3 \ Munin::Common::TLSClient.3 \ Munin::Common::TLSServer.3 \ Munin::Common::Timeout.3 post-install: @${MKDIR} ${LOGDIR} ${STATEDIR} ${SPOOLDIR} @${CHOWN} ${USERS}:${GROUPS} ${LOGDIR} ${STADEDIR} ${SPOOLDIR} @(cd ${WRKSRC}/common/blib/libdoc && for man in ${MAN3} ; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \ done) .include Index: head/sysutils/munin-master/Makefile =================================================================== --- head/sysutils/munin-master/Makefile (revision 367012) +++ head/sysutils/munin-master/Makefile (revision 367013) @@ -1,103 +1,103 @@ # Created by: Lupe Christoph # $FreeBSD$ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -master -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mat@FreeBSD.org COMMENT= Collector part of Munin BUILD_DEPENDS= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build \ munin-common>=0:${PORTSDIR}/sysutils/munin-common \ rrdtool>=0:${PORTSDIR}/databases/rrdtool \ p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \ p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm \ p5-DateTime-HiRes>=0:${PORTSDIR}/devel/p5-DateTime-HiRes \ p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \ p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \ p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6 \ p5-Log-Log4perl>=0:${PORTSDIR}/devel/p5-Log-Log4perl \ p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay \ p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \ p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced RUN_DEPENDS= munin-common>=0:${PORTSDIR}/sysutils/munin-common \ rrdtool>=0:${PORTSDIR}/databases/rrdtool \ p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm \ p5-Storable>=0:${PORTSDIR}/devel/p5-Storable \ p5-DateTime-HiRes>=0:${PORTSDIR}/devel/p5-DateTime-HiRes \ p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \ p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \ p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6 \ p5-Log-Log4perl>=0:${PORTSDIR}/devel/p5-Log-Log4perl \ p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay \ p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \ p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced \ p5-URI>=0:${PORTSDIR}/net/p5-URI \ p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \ p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI USES= gmake perl5 PKGMESSAGE= ${WRKDIR}/pkg-message NO_STAGE= yes .include "${.CURDIR}/../munin-common/munin.mk" EXTRA_PATCHES= ${MUNIN_PATCHES} DISTINFO_FILE= ${MUNIN_DISTINFO} ALL_TARGET= infiles build-master build-man INSTALL_TARGET= install-master-prime MAN3= Munin::Master::Config.3 \ Munin::Master::Group.3 \ Munin::Master::GroupRepository.3 \ Munin::Master::HTMLOld.3 \ Munin::Master::Host.3 \ Munin::Master::LimitsOld.3 \ Munin::Master::Logger.3 \ Munin::Master::Node.3 \ Munin::Master::ProcessManager.3 \ Munin::Master::Update.3 \ Munin::Master::UpdateWorker.3 \ Munin::Master::Utils.3 \ Munin::Master::Worker.3 MAN5= munin.conf.5 MAN8= munin-cron.8 \ munin-graph.8 \ munin-html.8 \ munin-limits.8 \ munin-update.8 PLIST_SUB= DBDIR=${DBDIR} SUB_FILES= pkg-message .include pre-install: @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL post-install: @${CHOWN} ${USERS}:${GROUPS} ${DBDIR} ${STATEDIR} ${WWWDIR} @${CHOWN} ${WWWOWN} ${DBDIR}/cgi-tmp @${INSTALL_DATA} ${WRKSRC}/build/master/munin.conf \ ${PREFIX}/etc/munin/munin.conf.sample @(cd ${WRKSRC}/master/blib/libdoc && for man in ${MAN3}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \ done) @(cd ${WRKSRC}/build/doc && for man in ${MAN5}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man5; \ done) @(cd ${WRKSRC}/build/doc && for man in ${MAN8}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man8; \ done) @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} .include Index: head/sysutils/munin-node/Makefile =================================================================== --- head/sysutils/munin-node/Makefile (revision 367012) +++ head/sysutils/munin-node/Makefile (revision 367013) @@ -1,134 +1,134 @@ # Created by: Lupe Christoph # $FreeBSD$ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} PORTREVISION= 1 CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -node -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mat@FreeBSD.org COMMENT= Node-specific part of Munin BUILD_DEPENDS= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build \ p5-DateTime-HiRes>=0:${PORTSDIR}/devel/p5-DateTime-HiRes \ munin-common>=0:${PORTSDIR}/sysutils/munin-common \ p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \ bash:${PORTSDIR}/shells/bash RUN_DEPENDS= p5-Cache-Cache>=0:${PORTSDIR}/devel/p5-Cache-Cache \ p5-DateTime-HiRes>=0:${PORTSDIR}/devel/p5-DateTime-HiRes \ munin-common>=0:${PORTSDIR}/sysutils/munin-common \ p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \ p5-Net-CIDR>=0:${PORTSDIR}/net-mgmt/p5-Net-CIDR \ bash:${PORTSDIR}/shells/bash DISTINFO_FILE= ${MUNIN_DISTINFO} EXTRA_PATCHES+= ${MUNIN_PATCHES} USES= gmake perl5 shebangfix PKGMESSAGE= ${WRKDIR}/pkg-message REINPLACE_ARGS= -i "" SHEBANG_FILES= node/sbin/munin-node NO_STAGE= yes .include "${.CURDIR}/../munin-common/munin.mk" ALL_TARGET= build-node build-plugins INSTALL_TARGET= install-node-prime install-plugins-prime OPTIONS_DEFINE= SNMP OPTIONS_DEFAULT= SNMP SNMP_DESC= Include support for SNMP plugins .include .if ${PORT_OPTIONS:MSNMP} BUILD_DEPENDS+= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP RUN_DEPENDS+= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP .endif MAN1= munin-node-configure.1 \ munin-node.1 \ munin-run.1 \ munin-sched.1 \ munindoc.1 MAN3_NODE= Munin::Node::Config.3 \ Munin::Node::Configure::Debug.3 \ Munin::Node::Configure::History.3 \ Munin::Node::Configure::HostEnumeration.3 \ Munin::Node::Configure::Plugin.3 \ Munin::Node::Configure::PluginList.3 \ Munin::Node::Logger.3 \ Munin::Node::OS.3 \ Munin::Node::ProxySpooler.3 \ Munin::Node::SNMPConfig.3 \ Munin::Node::Server.3 \ Munin::Node::Service.3 \ Munin::Node::Session.3 \ Munin::Node::SpoolReader.3 \ Munin::Node::SpoolWriter.3 \ Munin::Node::Utils.3 MAN3_PLUGIN= Munin::Plugin.3 \ Munin::Plugin::Pgsql.3 \ Munin::Plugin::SNMP.3 MAN3= ${MAN3_NODE} ${MAN3_PLUGIN} MAN5= munin-node.conf.5 MAN8= munin.8 SUB_FILES= pkg-message USE_RC_SUBR= munin-node munin-sched post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/node/sbin/munin-node \ ${WRKSRC}/node/sbin/munin-node-configure \ ${WRKSRC}/node/sbin/munin-run @${REINPLACE_CMD} \ -e 's|^\(BASH[[:space:]]*:=\).*|\1 ${bash_CMD}|' \ -e 's|^\(JAVARUN[[:space:]]*:=\).*|\1 ${java_CMD}|' \ -e 's|^\(PERL[[:space:]]*:=\).*|\1 ${perl_CMD}|' \ -e 's|^\(PYTHON[[:space:]]*:=\).*|\1 ${python_CMD}|' \ -e 's|^\(RUBY[[:space:]]*:=\).*|\1 ${ruby_CMD}|' \ ${WRKSRC}/Makefile.config @${FIND} ${WRKSRC}/node/sbin -type f -name "*.orig" -delete pre-su-install: @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: @${INSTALL_SCRIPT} ${WRKDIR}/munin-node \ ${PREFIX}/etc/rc.d/munin-node @${INSTALL_DATA} ${WRKSRC}/build/node/munin-node.conf \ ${ETCDIR}/munin-node.conf.sample @if [ ! -f ${ETCDIR}/munin-node.conf ]; then \ ${INSTALL_DATA} ${ETCDIR}/munin-node.conf.sample \ ${ETCDIR}/munin-node.conf; \ fi @${INSTALL_DATA} ${FILESDIR}/plugins.conf \ ${ETCDIR}/plugin-conf.d/plugins.conf.sample @if [ ! -f ${ETCDIR}/plugin-conf.d/plugins.conf ]; then \ ${INSTALL_DATA} ${ETCDIR}/plugin-conf.d/plugins.conf.sample \ ${ETCDIR}/plugin-conf.d/plugins.conf; \ fi @(cd ${WRKSRC}/node/blib/bindoc && for man in ${MAN1}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man1; \ done) @(cd ${WRKSRC}/node/blib/libdoc && for man in ${MAN3_NODE}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \ done) @(cd ${WRKSRC}/plugins/blib/libdoc && for man in ${MAN3_PLUGIN}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \ done) @(cd ${WRKSRC}/build/doc && for man in ${MAN5}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man5; \ done) @(cd ${WRKSRC}/build/doc && for man in ${MAN8}; do \ ${INSTALL_MAN} -C $$man ${PREFIX}/man/man8; \ done) @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO} ${PORTVERSION} > /tmp/.munin-node.version @${CAT} ${PKGMESSAGE} .include