Date: Sun, 15 Jan 2017 17:16:36 -0500 From: Dan Langille <dan@langille.org> To: Larry Rosenman <ler@FreeBSD.org> Cc: Dan Langille <dvl@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r431600 - in head/net-mgmt/librenms: . files Message-ID: <EB8F32F0-48D0-48BE-953C-57BC7AAA701C@langille.org> In-Reply-To: <e823139aadec135a0159cef8ba266ac9@FreeBSD.org> References: <201701152120.v0FLKGAo064017@repo.freebsd.org> <e823139aadec135a0159cef8ba266ac9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Valid point. & pkg-message? Which I think is there but not working I see.=20= --=20 Dan Langille http://langille.org/ > On Jan 15, 2017, at 4:24 PM, Larry Rosenman <ler@FreeBSD.org> wrote: >=20 > UPDATING entry for the my.cnf setting? >=20 >=20 >> On 2017-01-15 15:20, Dan Langille wrote: >> Author: dvl >> Date: Sun Jan 15 21:20:16 2017 >> New Revision: 431600 >> URL: https://svnweb.freebsd.org/changeset/ports/431600 >> Log: >> Upgrade to 1.23,1 >> Be sure to set the following in my.cnf: >> [mysqld] >> innodb_file_per_table=3D1 >> sql-mode=3D"" >> Deleted: >> head/net-mgmt/librenms/files/patch-config.php.default >> Modified: >> head/net-mgmt/librenms/Makefile >> head/net-mgmt/librenms/distinfo >> head/net-mgmt/librenms/files/patch-includes_defaults.inc.php >> Modified: head/net-mgmt/librenms/Makefile >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/net-mgmt/librenms/Makefile Sun Jan 15 21:08:05 2017 (r4315= 99) >> +++ head/net-mgmt/librenms/Makefile Sun Jan 15 21:20:16 2017 (r4316= 00) >> @@ -2,9 +2,13 @@ >> # $FreeBSD$ >> PORTNAME=3D librenms >> -PORTVERSION=3D 201607 >> +PORTVERSION=3D 1.23 >> +PORTEPOCH=3D 1 >> +PORTREVISION=3D 1 >> CATEGORIES=3D net-mgmt >> -MASTER_SITES=3D http://www.librenms.org/ >> + >> +USE_GITHUB=3D yes >> +GH_ACCOUNT=3D librenms >> MAINTAINER=3D bofh@FreeBSD.org >> COMMENT=3D Autodiscovering PHP/MySQL/SNMP based network monitoring >> @@ -15,22 +19,16 @@ USE_GITHUB=3D yes >> GH_ACCOUNT=3D librenms >> USES=3D python shebangfix >> -SHEBANG_FILES=3D html/js/makemini.pl mibs/process.pl scripts/agent-lo= cal/bind \ >> - scripts/agent-local/dmi scripts/agent-local/dpkg \ >> - scripts/agent-local/drbd scripts/agent-local/hddtemp \ >> - scripts/agent-local/memcached scripts/agent-local/mysql \ >> - scripts/agent-local/rpm scripts/agent-local/temperature \ >> - scripts/agent-local/tinydns scripts/apache-stats.py \ >> - scripts/check_mk_agent scripts/cron.sh scripts/cron-hourly.sh \ >> - scripts/cron-minute.sh scripts/get-geshi.sh \ >> - scripts/get-jpgraph.sh scripts/ifAlias \ >> +SHEBANG_FILES=3D html/js/makemini.pl mibs/process.pl \ >> + scripts/cron-hourly.sh scripts/cron-minute.sh \ >> + scripts/cron.sh scripts/deploy-docs.sh scripts/ifAlias \ >> scripts/Migration/Standard_Conversion/convert_no_xml.sh \ >> scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ >> scripts/Migration/Standard_Conversion/mkdir.sh \ >> scripts/Migration/XML_Conversion/convert.sh \ >> scripts/Migration/XML_Conversion/destwork.sh \ >> scripts/Migration/XML_Conversion/mkdir.sh validate.php \ >> - scripts/postfix-queues scripts/removespikes.php \ >> + scripts/removespikes.php scripts/agent-local/nfs-stats.sh \ >> scripts/removespikes.pl scripts/watchmaillog/watchmaillog.pl >> USE_PHP=3D ctype filter gd json mcrypt mysql session snmp tokenizer xm= l >> WANT_PHP_CLI=3D yes >> @@ -78,7 +76,7 @@ ROOT_FILES=3D addhost.php adduser.php aler >> poll-billing.php poller.php poller-service.py poller-wrapper.py >> renamehost.php \ >> snmp-scan.php snmptrap.php syslog.php validate.php >> -ROOT_DIRS=3D contrib html includes lib mibs scripts sql-schema >> +ROOT_DIRS=3D LibreNMS contrib html includes lib mibs scripts sql-sche= ma >> DOCS=3D AUTHORS.md CHANGELOG CONTRIBUTING.md LICENSE.txt README.md= >> PORTDOCS=3D * >> @@ -96,6 +94,8 @@ WANT_PHP_WEB=3D yes >> post-patch: >> ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ >> ${WRKSRC}/poller-wrapper.py ${WRKSRC}/poller.php >> + ${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' \ >> + ${WRKSRC}/includes/common.php >> do-install: >> @${MKDIR} ${STAGEDIR}/${WWWDIR} >> @@ -108,6 +108,7 @@ do-install: >> .endfor >> # Create empty rrd dir writable by www >> @${MKDIR} ${STAGEDIR}/${WWWDIR}/rrd >> + @${CHMOD} 0775 ${STAGEDIR}/${WWWDIR}/rrd >> # Files in scripts dir should be executable >> @${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \;= >> # Ensure PHP and Python scripts are executable >> Modified: head/net-mgmt/librenms/distinfo >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/net-mgmt/librenms/distinfo Sun Jan 15 21:08:05 2017 (r4315= 99) >> +++ head/net-mgmt/librenms/distinfo Sun Jan 15 21:20:16 2017 (r4316= 00) >> @@ -1,3 +1,3 @@ >> -TIMESTAMP =3D 1469519614 >> -SHA256 (librenms-librenms-201607_GH0.tar.gz) =3D >> b044d35824d6179f09d92500b873ba3cecb55dc0882f9f1f24e72b1802ecd5a7 >> -SIZE (librenms-librenms-201607_GH0.tar.gz) =3D 31554157 >> +TIMESTAMP =3D 1483966724 >> +SHA256 (librenms-librenms-1.23_GH0.tar.gz) =3D >> 68ca903e46d4ae62869fabb4ad4e8cb6da2cabdc16095808f29cdee03de2dfc1 >> +SIZE (librenms-librenms-1.23_GH0.tar.gz) =3D 31302664 >> Modified: head/net-mgmt/librenms/files/patch-includes_defaults.inc.php >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/net-mgmt/librenms/files/patch-includes_defaults.inc.php Sun >> Jan 15 21:08:05 2017 (r431599) >> +++ head/net-mgmt/librenms/files/patch-includes_defaults.inc.php Sun >> Jan 15 21:20:16 2017 (r431600) >> @@ -1,17 +1,8 @@ >> ---- includes/defaults.inc.php.orig 2015-10-16 23:09:41 UTC >> -+++ includes/defaults.inc.php >> -@@ -40,7 +40,7 @@ $config['project_name'] =3D 'LibreNMS'; >> - $config['project_id'] =3D strtolower($config['project_name']); >> - >> - $config['temp_dir'] =3D '/tmp'; >> --$config['install_dir'] =3D '/opt/'.$config['project_id']; >> -+$config['install_dir'] =3D '/usr/local/www/'.$config['project_id']; >> - $config['log_dir'] =3D $config['install_dir'].'/logs'; >> - >> - // MySQL extension to use >> -@@ -50,26 +50,26 @@ $config['db']['extension'] =3D 'mysq >> +--- includes/defaults.inc.php.orig 2017-01-01 15:50:41.000000000 +0= 000 >> ++++ includes/defaults.inc.php 2017-01-09 13:24:06.964918000 +0000 >> +@@ -36,26 +36,26 @@ >> $config['own_hostname'] =3D 'localhost'; >> - >> + >> // Location of executables >> -$config['rrdtool'] =3D '/usr/bin/rrdtool'; >> +$config['rrdtool'] =3D '/usr/local/bin/rrdtool'; >> @@ -47,6 +38,6 @@ >> +$config['virsh'] =3D '/usr/local/bin/virsh'; >> +$config['dot'] =3D '/usr/local/bin/dot'; >> +$config['sfdp'] =3D '/usr/local/bin/sfdp'; >> - >> + >> // Memcached - Keep immediate statistics >> $config['memcached']['enable'] =3D false; >=20 > --=20 > Larry Rosenman http://people.freebsd.org/~ler > Phone: +1 214-642-9640 E-Mail: ler@FreeBSD.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB8F32F0-48D0-48BE-953C-57BC7AAA701C>