From: agb Date: Sat, 2 Aug 2008 03:19:51 +0000 (+0000) Subject: [packages] net/nagios-plugins: Add dependency on libpq (postgresql) and fix headers X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=8f5aa9d109efec6a0b753cb2d158d62cc538d613;p=packages.git [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 --- diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 1c919bfcb..5ef65c714 100644 --- a/net/nagios-plugins/Makefile +++ b/net/nagios-plugins/Makefile @@ -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 diff --git a/net/nagios-plugins/patches/003-pgsl-header-fix.patch b/net/nagios-plugins/patches/003-pgsl-header-fix.patch new file mode 100644 index 000000000..812975487 --- /dev/null +++ b/net/nagios-plugins/patches/003-pgsl-header-fix.patch @@ -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 +-#include ++#include + + #define NAMEDATALEN 64 + #define DEFAULT_DB "template1"