Commit Graph

94 Commits

Author SHA1 Message Date
sthen
9c6e9626b9 s/PERMIT_PACKAGE_CDROM/PERMIT_PACKAGE/ and some light whitespace tidying
in ports which I maintain
2019-06-03 16:06:50 +00:00
sthen
a1af532884 update to librenms-1.52 2019-05-28 14:18:31 +00:00
sthen
59b9d5d0ef - switch librenms, roundcube and related ports to php 7.3
- mention in rcube-sieverules/pkg/DESCR that it's unmaintained upstream
(suggest using the bundled Managesieve plugin instead)
2019-05-20 13:23:44 +00:00
sthen
c4291514c2 update to librenms-1.51 2019-04-30 15:25:50 +00:00
sthen
53defd7102 remove more PKG_ARCH=* with pyc in PLIST 2019-04-27 23:55:04 +00:00
sthen
1c009f9e0e update to librenms-1.50.1
- Affects users of webservers not using .htaccess:

Moved php files outside of public html directory (Apache was protected
by .htaccess)

Some files could be accessed directly, leaking some information, like
the version in about.inc.php but not statistics because it doesn't have
DB access.

- Affects all users:

Some files did not check for authentication and could disclose some info.
Better checks before including files from user input

Fix unescaped variables in ajax_search.php
2019-04-18 17:20:51 +00:00
sthen
8cb44b246c update to librenms-1.50 2019-04-01 13:52:45 +00:00
sthen
1d05beb7b7 librenms/cache dir should be writable 2019-03-19 13:55:47 +00:00
sthen
05d8d8e9e2 Mention in the pkg-readme how to convert alert templates from old-style
to new (if you see messages with keywords like "Severity: %severity" you
need to do this) - at present there's a built-in converter but this won't
stay around forever.
2019-03-17 22:44:22 +00:00
sthen
c6f6f6b011 update to librenms-1.49 2019-03-06 15:08:24 +00:00
sthen
b3acab9eae use UPDATE_PLIST_ARGS += -i MODPHP_VERSION to prevent bad subst's creeping back in 2019-02-08 10:18:49 +00:00
sthen
6faa6fd495 fix bad ${MODPHP_VERSION} subst (no pkg change) 2019-02-07 22:47:43 +00:00
sthen
d897ded9f6 update to librenms-1.48.1 2019-02-01 12:57:44 +00:00
sthen
6bd627d28f update to LibreNMS 1.48 2019-01-29 22:20:37 +00:00
sthen
ac2bb9b5e3 update to librenms-1.47 2019-01-04 13:43:35 +00:00
sthen
34509d6a9d update to librenms-1.46 2018-12-03 18:41:36 +00:00
sthen
12e10d5793 update to librenms-1.45 2018-11-29 23:49:03 +00:00
sthen
55067c0145 update to librenms-1.44 2018-10-17 20:24:38 +00:00
sthen
44f8a14fd9 switch default php version from 7.0 to 7.1 (not 7.2 yet as some things are still
using mcrypt).
2018-10-17 14:15:55 +00:00
sthen
63025870b7 add comments about py3 and (beta) librenms-service.py, no pkg change 2018-10-17 13:40:04 +00:00
sthen
f566485483 fixup yet another path to the php binary, this time in poller-service.py
and written as "'/usr/bin/env', 'php'" so the existing subst's didn't find it.
2018-09-26 22:51:28 +00:00
sthen
87be482f48 update to librenms-1.43 2018-09-10 18:53:00 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
sthen
851d308314 update to librenms-1.42.01 2018-08-21 15:36:35 +00:00
sthen
e8932541e7 update to LibreNMS 1.41
- fix the local change to uses crontab's new -n feature instead of cronic
in the sample additions for /etc/crontab. it had extra whitespace between
the username and the command which is not permitted syntax.
2018-07-01 21:49:17 +00:00
sthen
e9d3e040bc - use the new "-n" functionality rather than cronic in crontab sample lines
- tweak 1.40 upgrade notes in README (after I upgraded another machine and
ran into problems that I probably ran into last time as well)
2018-06-28 18:42:56 +00:00
jasper
ce3c67e873 add missing RDEP on php-pdo_mysql
ok sthen@ (MAINTAINER)
2018-06-12 19:08:40 +00:00
sthen
27607e4bbe update to LibreNMS 1.40 - note the new addition to the pkg-readme,
repeated below.

(upstream's normal setup these days is to provide only their own code
and rely on composer to fetch the dependencies. this isn't suitable for
OS packaging so I'm pregenerating a separate distfile with dependencies
instead. unfortunately the hook to copy across existing config to the
.env file is done from composer, so that doesn't work for us, so you
have to copy it yourself.)

Updating from 1.39 or earlier
=============================
As of 1.40, LibreNMS now uses the Laravel framework which requires some
additional setup. Upstream has code to copy this across from an existing
configuration initially, but it's not functional in this packaged
environment.

Generate an APP_KEY:

# cd /var/www/librenms
# doas -u _librenms /usr/local/bin/php-7.0 artisan key:generate

Copy this to the clipboard, then edit /var/www/librenms/.env and fill in the
relevant details.

It may also be necessary to raise max_connections in /etc/my.cnf;
https://community.librenms.org/t/new-requirements-for-1-40/4057
suggests doubling this value.
2018-05-31 20:40:41 +00:00
sthen
1cd7e295e8 drop MODPHP_VERSION=7.0 for ports which switched early 2018-05-22 08:19:06 +00:00
sthen
ddc2046492 flip librenms over to PHP 7.0, I've been using it like this for ages 2018-05-17 08:27:43 +00:00
sthen
4a0faa1b67 update to librenms-1.39 2018-05-09 20:24:21 +00:00
sthen
6f57f5bbae update to librenms-1.38 2018-04-23 11:00:08 +00:00
sthen
a1c67fab64 unbreak do-install, extra librenms/ in rm path. reported by naddy@ 2018-02-28 15:01:08 +00:00
sthen
3ad2086259 update to librenms-1.37. dependencies have been removed upstream in favour
of scripts to fetch via composer - the port switches to a locally produced
tar with pre-fetched dependencies, a port cannot go to the net and fetch
files at build time.
2018-02-27 15:17:39 +00:00
sthen
08ee273f72 fix typo; reported by naddy@ nigel@ 2018-02-14 14:04:34 +00:00
sthen
783c60af9b update to librenms-1.36.01 2018-02-12 23:27:18 +00:00
sthen
37d7194011 update to LibreNMS 1.35 2018-01-05 14:51:42 +00:00
sthen
a3fc5ad9b6 librenms tweak: use sed instead of patching to replace username in
sample crontab entries, drop some other minor changes that are no longer
needed/wanted.
2017-12-13 16:25:15 +00:00
sthen
4654b6d668 librenms: avoid gnuism, trying to call rm -v. (why doesn't it just use php
unlink anyway though?)
2017-12-13 15:56:07 +00:00
sthen
ecf046c6f9 librenms tweaks:
- replace more hardcoded php binary names with ${MODPHP_BIN}, unbreaks some
scripts as we include the PHP release branch in the string (php-5.6 etc).

- drop php-mysql dependency, no longer required.
2017-12-13 15:30:43 +00:00
sthen
1ee3a09ff7 update to LibreNMS 1.34 2017-11-27 17:41:36 +00:00
sthen
93e239d08e update to librenms-1.33.01, regression fix for ping-only devices 2017-11-02 13:13:54 +00:00
sthen
7a73a20904 update to librenms-1.33 2017-11-02 12:49:42 +00:00
sthen
bbb0c4e072 update to librenms-1.32.01 2017-10-19 23:04:18 +00:00
sthen
b652eb0839 update to LibreNMS 1.32 2017-10-04 20:47:14 +00:00
sthen
7b8c0988b5 bugfix update to librenms-1.31.03v0 2017-09-01 13:24:58 +00:00
sthen
47926ed8b4 update to librenms-1.31.02 2017-08-31 12:16:31 +00:00
sthen
6c427e2cfd bugfix update to librenms-1.31.01 2017-08-29 11:43:55 +00:00
sthen
d08d8f0817 update to librenms-1.31 2017-08-28 11:47:03 +00:00
sthen
11547a3283 update to librenms-1.30.01 2017-08-22 10:16:22 +00:00