1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
Commit Graph

62 Commits

Author SHA1 Message Date
Dan Langille
1151b7be9e Update to 1.70.1
https://github.com/librenms/librenms/releases/tag/1.70.1
2020-12-20 19:30:52 +00:00
Dan Langille
f2489a91c0 add mysql to requires for rc.d script
PR:		251012
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
2020-11-16 16:34:23 +00:00
Dan Langille
bcc3dc8a78 Update to 1.66
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.
2020-08-12 17:36:52 +00:00
Dan Langille
a513913a39 Add more comments into the config.php.default patches so it is clear to the
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.
2020-07-30 16:43:38 +00:00
Dan Langille
538b425cc3 Fix double logging
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>
2020-07-26 17:48:41 +00:00
Dan Langille
eb55cb33ae Add lang/pyton3 recommendation to pkg-message
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>
2020-07-25 19:15:49 +00:00
Dan Langille
aab2a6b0ce Update to 1.65.1
This upgrade disables polling via cronjob.
You must now use the Dispatcher.  See UPDATING
2020-07-20 21:35:34 +00:00
Dan Langille
e0510744da fix log file creation in rc script
disable allowance of multiple instances (-m in rc.d script)

PR:		246160
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
2020-05-05 15:22:17 +00:00
Dan Langille
830eec636e Add support for polling as a service
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>
2020-05-03 19:31:28 +00:00
Dan Langille
986e559d2c Update to 1.63
re: https://github.com/librenms/librenms/releases/tag/1.63
2020-04-30 15:28:48 +00:00
Dan Langille
e306253d4a Fixed broken hash for librenms-vendor-1.62.2.tar.gz
Reported by:	pkg-fallout
2020-04-05 21:20:03 +00:00
Dan Langille
5eda1fb070 Update to 1.62.2
skipping 1.62 & 1.62.1

* https://github.com/librenms/librenms/releases/tag/1.62
* https://github.com/librenms/librenms/releases/tag/1.62.1
* https://github.com/librenms/librenms/releases/tag/1.62.2
2020-04-04 17:41:54 +00:00
Dan Langille
333989a01f With recent versions of LibreNMS, the .env file may need to contain secrets.
Install .env.example with chmod o=

Add notice to pkg-message. The file is populated manually.
2020-03-26 15:27:03 +00:00
Dan Langille
6d40a7d6fe Update to 1.61
While here, adjust the webserver options (see PR)

NOTE: upgrading existing installations will break unless you read UPGRADING
and follow the instructions.

In short:

* Apache / mod_php is no longer an option
* config.php needs entries added manually

We are jumping a few versions here:

* https://github.com/librenms/librenms/releases/tag/1.61
* https://github.com/librenms/librenms/releases/tag/1.60
* https://github.com/librenms/librenms/releases/tag/1.59
* https://github.com/librenms/librenms/releases/tag/1.58.1
* https://github.com/librenms/librenms/releases/tag/1.58

PR:		235949
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
2020-03-03 16:25:33 +00:00
Dan Langille
1f0867fd61 add dependencies to fix after update of libremns to 1.56
PR:		243875
Submitted by:	Dirk Meyer <dinoex@FreeBSD.org>
2020-02-21 16:31:11 +00:00
Dan Langille
30509ca474 Fix default location of ping and nagios plugins
PR:		242651
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
2019-12-23 17:37:53 +00:00
Dan Langille
0b2ebda569 Update to 1.56
https://github.com/librenms/librenms/releases/tag/1.56
2019-09-30 14:50:26 +00:00
Dan Langille
2a236fe50e Update to 1.55
re: https://github.com/librenms/librenms/releases/tag/1.55
2019-09-26 17:50:43 +00:00
Dan Langille
e4545900f0 Upgrade to 1.54
* MPLS Services (#10421) - vitalisator
* Graylog entry matching device if source is not hostname or primary ip (#10458) - rsys-dev
* Allow filtering of getUserlist LDAP function (#10399) - ifred16

re: https://github.com/librenms/librenms/releases/tag/1.54
2019-09-01 14:40:43 +00:00
Mathieu Arnold
2614c95748 Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.)
2019-08-14 08:48:50 +00:00
Dan Langille
35b065ed34 Upgrade to 1.53.1
release notes:

1.53.1 - https://github.com/librenms/librenms/releases/tag/1.53.1
1.53   - https://github.com/librenms/librenms/releases/tag/1.53
1.52   - https://github.com/librenms/librenms/releases/tag/1.52
2019-07-27 15:03:03 +00:00
Dan Langille
f74ab1336f Upgrade to 1.51
https://github.com/librenms/librenms/releases/tag/1.51
2019-05-12 01:02:56 +00:00
Dan Langille
bd052f5f7f Upgrade to 1.50
https://github.com/librenms/librenms/releases
2019-04-04 20:19:43 +00:00
Dan Langille
3a6233f348 Upgrade to 1.49
https://github.com/librenms/librenms/releases/tag/1.49

As with every LibreNMS upgrade, visit /validate/ to see if you need
run any scripts post-upgrade.
2019-03-04 22:25:33 +00:00
Dan Langille
9c43ac72e7 Upgrade to 1.48.1
Take over as maintainer
in pkg-message:
* Correct the .env.example
* Add ./validate

1.48 was skipped because of time issue

Release notes:
1.48.1  Fix for some OS loading issues.
        https://github.com/librenms/librenms/releases/tag/1.48.1
1.48    https://github.com/librenms/librenms/releases/tag/1.48

PR:		235537
Submitted by:	Laszlo Danielisz <lacibsd@gmail.com>
Approved by:	bofh@FreeBSD.org (maintainer)
2019-02-25 21:48:14 +00:00
Muhammad Moinur Rahman
4975cbead9 net-mgmt/librenms: Update version 1.45=>1.47
PR:		234645
Submitted by:	dvl
Relnotes:	https://github.com/librenms/librenms/releases
2019-01-12 11:14:13 +00:00
Muhammad Moinur Rahman
bb7c943a40 net-mgmtt/librenms: Fix build with EXAMPLES disabled
- Pet portlint

PR:			233202
Submitted by:		pizzamig
2018-12-16 17:37:53 +00:00
Koop Mast
289883b11b Update ImageMagick to 6.9.10.14 [1]
* 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>
2018-11-10 19:57:07 +00:00
Dan Langille
78d0c1ee28 Upgrade to 1.45
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)
2018-11-08 13:32:09 +00:00
Dan Langille
7b23bfbe6d Correct paths for nmap and mtr in patch for includes/defaults.inc.php
Correct user in patch for .env.example

PR:		231089
Submitted by:	Dries Michiels <driesm.michiels@gmail.com>
2018-09-02 14:06:54 +00:00
Dan Langille
fbfa28d8c3 Upgrade to 1.43
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)
2018-09-01 20:42:41 +00:00
Dan Langille
fc81200076 Upgrade to 1.42.01
Approved by:	maintainer (via private email)
Differential Revision:	https://reviews.freebsd.org/D16942
2018-09-01 19:02:13 +00:00
Mathieu Arnold
8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00
Mathieu Arnold
a1993564e0 Introduce PHP flavors.
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
2018-03-08 19:48:41 +00:00
Mark Felder
9025b3c4ce net-mgmt/librenms: Upstream re-rolled the distfile
Only change is the doc/General/Changelog.md file which *removed* the entry
for 1.35.
2018-01-19 14:26:19 +00:00
Mark Felder
f9d8859e01 net-mgmt/librenms: Fix build
Leftover change crept into last commit

MFH:		2018Q1
2018-01-18 20:47:19 +00:00
Mark Felder
4325c04e1b net-mgmt/librenms: Update to 1.35, many improvements
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
2018-01-18 20:21:42 +00:00
Mathieu Arnold
9568a087da databases/py-MySQLdb only supports Python 2, restrict ports that uses it.
Sponsored by:	Absolight
2018-01-08 15:47:40 +00:00
Dan Langille
2751f7e4c6 Set path to rrdtool 2017-11-20 23:33:36 +00:00
Dan Langille
74163d0cd3 Upgrade to 1.33.01 2017-11-20 21:21:13 +00:00
Antoine Brodin
ae498e3328 Fix the context of some patches so that they apply with stricter patch(1)
PR:		223545
With hat:	portmgr
2017-11-11 07:11:37 +00:00
Muhammad Moinur Rahman
9404e62876 net-mgmt/librenms: Update version 1.26=>1.28
- 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]
2017-06-06 13:38:52 +00:00
Muhammad Moinur Rahman
d21e40cdd9 net-mgmt/librenms: Update version 1.25=>1.26
- 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
2017-04-11 22:11:39 +00:00
Muhammad Moinur Rahman
2caeba7bc9 net-mgmt/librenms: Update version 1.24=>1.25 2017-03-11 12:54:20 +00:00
Antoine Brodin
c39891284b Do not override USES when PACKAGE_BUILDING is set, this should fix the
failure reported by package builders
2017-03-10 13:06:23 +00:00
Muhammad Moinur Rahman
c508314de8 net-mgmt/librenms: Update version 1.23=>1.24
- Add PHP 7.0 support [1]
- Pet portlint

PR:		213376[1]
Submitted by:	fredrik.eriksson@loopia.se[1]
2017-02-26 11:01:41 +00:00
Dan Langille
8798967c01 Add more detail about my.cnf changes
Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net>
2017-01-16 14:19:17 +00:00
Dan Langille
de5844a4cf Add patches missing from previous commit.
Add note to pkg-message about my.cnf
Add not to UPGRADING about my.cnf
Bump PORTREVISION

Submitted by: Larry Rosenman <ler@FreeBSD.org>
2017-01-16 03:14:54 +00:00
Dan Langille
903f77b763 Upgrade to 1.23,1
Be sure to set the following in my.cnf:

[mysqld]
innodb_file_per_table=1
sql-mode=""
2017-01-15 21:20:16 +00:00
Muhammad Moinur Rahman
d133e87825 net-mgmt/librenms: Update version 201605=>201607 2016-07-27 20:42:46 +00:00