[packages] net/nagios-plugins: Add dependency on libpq (postgresql) and fix headers
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12070 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
10239ea064
commit
8f5aa9d109
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -24,7 +24,7 @@ define Package/nagios-plugins
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Monitoring
|
||||
DEPENDS:=+uclibcxx
|
||||
DEPENDS:=+uclibcxx +libpq
|
||||
TITLE:=plugins for Nagios checks
|
||||
URL:=http://nagiosplug.sourceforge.net/
|
||||
endef
|
||||
|
11
net/nagios-plugins/patches/003-pgsl-header-fix.patch
Normal file
11
net/nagios-plugins/patches/003-pgsl-header-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- nagios-plugins-1.4.12/plugins/check_pgsql.orig.c 2008-08-01 16:05:51.000000000 -0700
|
||||
+++ nagios-plugins-1.4.12/plugins/check_pgsql.c 2008-08-01 16:06:17.000000000 -0700
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "netutils.h"
|
||||
#include <libpq-fe.h>
|
||||
-#include <pg_config_manual.h>
|
||||
+#include <postgresql/server/pg_config_manual.h>
|
||||
|
||||
#define NAMEDATALEN 64
|
||||
#define DEFAULT_DB "template1"
|
Loading…
x
Reference in New Issue
Block a user