Commit graph

12 commits

Author SHA1 Message Date
Matthew Seaman
79e32f4fba Upgrade to 2.23.0
Changes: https://github.com/bucardo/check_postgres/releases/tag/2.23.0
2017-11-02 19:07:43 +00:00
Matthew Seaman
a53f6ef795 Update to 2.22
- use OPTIONS_TARGETS

ChangeLog: https://mail.endcrypt.com/pipermail/check_postgres-announce/2015-July/000035.html
2016-01-12 07:48:30 +00:00
Mathieu Arnold
afae652a2a Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2015-09-14 12:19:48 +00:00
Matthew Seaman
e9e322cf8d ${SED} -i.bak is better spelled as ${REINPLACE_CMD}
Submitted by:	danfe
2015-04-08 11:29:32 +00:00
Matthew Seaman
02370bae7a I've had reports from colleagues of check_postgres not finding psql
when run via nrpe.  Hardcode the directory (${LOCALBASE}/bin) expected
to contain the postgres client and other binaries.
2015-04-08 11:18:19 +00:00
Baptiste Daroussin
b1d0ca0c09 Cleanup plist 2015-02-05 15:23:32 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Chris Rees
4cb60faedd Finally retire USE_PGSQL 2014-11-22 20:40:08 +00:00
Matthew Seaman
a3eb52c096 Really fix the typos. 2014-02-26 12:13:30 +00:00
Matthew Seaman
4806700984 Fix yet another typo. 2014-02-26 11:47:30 +00:00
Matthew Seaman
911e8359a3 Fix typo. 2014-02-24 17:28:41 +00:00
Matthew Seaman
7111199bb3 check_postgres.pl - a Postgres monitoring script for Nagios, MRTG,
Cacti, and others

check_postgres.pl is a Perl script that runs many different tests
against one or more Postgres databases. It uses the psql program to
gather the information, and outputs the results in one of three
formats: Nagios, MRTG, or simple.

WWW: http://bucardo.org/wiki/Check_postgres

Submitted by:	Matthew Seaman <matthew@FreeBSD.org>
2014-02-23 22:13:34 +00:00