As of this release, the package now updates files which were previously
updated by the app. In keeping with not having modified files within
WWWDIR, the following files are now supplied by the package and are
created at the same time the vendor tarball is manually created.
The files in question are located in
* bootstrap/cache
* html/js/lang
These files should now be static and not modified by the application,
which would create them if not found. These files will get updated
with each new release.
user which settings are FreeBSD-specfic.
Also, set $config['update'] = 0; because if you're installing from a package
you don't want the software trying to update itself via git, which it will
attempt from daily.sh, but will fail because git is [usually] not installed.
HEADS UP: See UPDATING for changes affecting your upgrade.
New installs not affected.
This patch adds a new rc_variable: librenms_daemonflags
The -T option is gone as that will force a log to syslog, doubling up on log
entries.
A new APP_LOG setting has been added to the .env file. Please update and
move your logs. See UPDATING.
PR: 246598
Submitted by: Dries Michiels <driesm.michiels@gmail.com>
While here, patch pip3 warnings, which we don't use because we are a
package and we don't do things like that.
PR: 248255
Submitted by: Alexander Moisseev <moiseev@mezonplus.ru>
Two new options
* PYPOLLER - default, deprecated, needs Python 2.7
* PYSERVICE - Dispatcher service, recompile required
HEADS UP HEADS UP
Polling via cron job is now deprecated. Please use the Dispatcher.
LibreNMS will be dropping support for PHP 7.1 and Python 2 in the next release
expected May 31 2020. see https://community.librenms.org/t/dropping-support-for-php-7-1-and-python-2/11851
Your existing crontab entries for the PYPOLLER option will be going away.
You can migrate to the PYSERVICE option of LibreNMS now.
PR: 246105
Submitted by: Dries Michiels <driesm.michiels@gmail.com>
* Add PKGNAMESUFFIX and rename the directory. This was done to show
that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.
Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.
Chase these changes in all the ports that using IM6.
PR: 225102 (based on, only the version update) [1]
Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
https://github.com/librenms/librenms/releases/tag/1.45
* remove mcrypt from depends (no longer used)
* add pdo_mysql (long required but not included)
* remove lib from ROOT_DIRS
* mention sql-mode="" is no longer required
* Make ./validate.php work from a package
PR: 232658
Approved by: maintainer timeout (14 days)
While here, fix a bug in the files/patch-includes_common.php where the
variables for PORTVERSION & RELEASE_TIMESTAMP were not present.
Approved by: maintainer (via private email)
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Improvements:
- All files should be owned root:wheel except logs and rrd which need to be writable by the app
- Add missing php posix extension
- Do not install config.php by default. This breaks the install process which won't run if this file exists
- Clean up automatic PLIST creation: don't install .orig or .bak files, don't add @dir as they aren't needed
- Patch LibreNMS to make /validate/ page not produce warnings about files not being writable (for git updates)
- Remove the Updates validation check altogether as we won't be using git to update
- Patch the User validation check to only check the logs and rrd dir and ensure the correct user owns them
- Change the default user in the generated config to "www"
- Patch the File Lock code to put the lock file in /tmp and not in the WWWDIR which should not be writable
- Update message in installer to use WWWDIR as suggested path for config.php
- Use shebangfix instead of patch where applicable
- Fix APACHEMOD port option and declaration of the USES=php
PR: 225161
MFH: 2018Q1
Differential Revision: https://reviews.freebsd.org/D13907
- Fixed an issue where services-wrapper wasn't working (by adding the PATH
line to the crontab) [1]
- Fixed a permissions issue with some directories [1]
- Added patch to validate.php which allows it to work correctly
(accidentally ommitted from previous commit) [1]
PR: 218608[1]
Submitted by: freebsd@jonathanprice.org[1]
- Fix validate.php
- Created logs dir, used by daily.php
- fixed daily.sh to use sudo (replaces GNU su command)
- made daily.sh executable
- Disabled update checks in daily.sh, as they try to use git
- Updated the username in config.php to www
PR: 218351
Submitted by: freebsd@jonathanprice.org