|
From: <dha...@us...> - 2011-10-21 18:21:47
|
Revision: 5223
http://astlinux.svn.sourceforge.net/astlinux/?rev=5223&view=rev
Author: dhartman
Date: 2011-10-21 18:21:41 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
update to zabbix--still needs a little work
Modified Paths:
--------------
branches/1.0/package/zabbix/zabbix-configure.patch
branches/1.0/package/zabbix/zabbix.mk
Removed Paths:
-------------
branches/1.0/package/zabbix/zabbix-getloadave.patch
Modified: branches/1.0/package/zabbix/zabbix-configure.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure.patch 2011-10-20 16:12:19 UTC (rev 5222)
+++ branches/1.0/package/zabbix/zabbix-configure.patch 2011-10-21 18:21:41 UTC (rev 5223)
@@ -1,11 +1,20 @@
---- zabbix-1.4.5/configure 2008-03-26 03:12:39.000000000 -0500
-+++ zabbix-1.4.5/configure-zab 2008-04-04 09:56:25.000000000 -0500
-@@ -4788,7 +4788,7 @@ if test "$cross_compiling" = yes; then
- See \`config.log' for more details." >&5
- echo "$as_me: error: cannot run test program while cross compiling
- See \`config.log' for more details." >&2;}
-- { (exit 1); exit 1; }; }
+*** zabbix-1.8.8/configure.orig 2011-10-21 12:40:33.840598621 -0500
+--- zabbix-1.8.8/configure 2011-10-21 12:41:11.622596475 -0500
+***************
+*** 6791,6798 ****
+ if test "$cross_compiling" = yes; then :
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+- as_fn_error $? "cannot run test program while cross compiling
+- See \`config.log' for more details" "$LINENO" 5 ; }
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+--- 6791,6797 ----
+ if test "$cross_compiling" = yes; then :
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ }
- else
- cat >conftest.$ac_ext <<_ACEOF
-
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
Deleted: branches/1.0/package/zabbix/zabbix-getloadave.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-getloadave.patch 2011-10-20 16:12:19 UTC (rev 5222)
+++ branches/1.0/package/zabbix/zabbix-getloadave.patch 2011-10-21 18:21:41 UTC (rev 5223)
@@ -1,47 +0,0 @@
---- zabbix-1.4.5/src/libs/zbxsysinfo/linux/cpu.c.orig 2008-03-26 03:12:32.000000000 -0500
-+++ zabbix-1.4.5/src/libs/zbxsysinfo/linux/cpu.c 2008-08-27 21:52:32.000000000 -0500
-@@ -22,6 +22,44 @@
- #include "sysinfo.h"
- #include "stats.h"
-
-+/* uclibc and dietlibc do not have this junk -ReneR */
-+#if defined (__UCLIBC__) || defined (__dietlibc__)
-+static int getloadavg (double loadavg[], int nelem)
-+{
-+ int fd;
-+
-+ fd = open ("/proc/loadavg", O_RDONLY);
-+ if (fd < 0)
-+ return -1;
-+ else
-+ {
-+ char buf[65], *p;
-+ ssize_t nread;
-+ int i;
-+
-+ nread = read (fd, buf, sizeof buf - 1);
-+ close (fd);
-+ if (nread <= 0)
-+ return -1;
-+ buf[nread - 1] = '\0';
-+
-+ if (nelem > 3)
-+ nelem = 3;
-+ p = buf;
-+ for (i = 0; i < nelem; ++i)
-+ {
-+ char *endp;
-+ loadavg[i] = strtod (p, &endp);
-+ if (endp == p)
-+ return -1;
-+ p = endp;
-+ }
-+
-+ return i;
-+ }
-+}
-+#endif
-+
- int SYSTEM_CPU_NUM(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result)
- {
- char mode[128];
Modified: branches/1.0/package/zabbix/zabbix.mk
===================================================================
--- branches/1.0/package/zabbix/zabbix.mk 2011-10-20 16:12:19 UTC (rev 5222)
+++ branches/1.0/package/zabbix/zabbix.mk 2011-10-21 18:21:41 UTC (rev 5223)
@@ -4,7 +4,7 @@
#
#############################################################
-ZABBIX_VERSION = 1.6.8
+ZABBIX_VERSION = 1.8.8
ZABBIX_SOURCE = zabbix-$(ZABBIX_VERSION).tar.gz
ZABBIX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/zabbix
@@ -22,7 +22,6 @@
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
- --disable-gtk-doc \
$(ZABBIX_CONF_OPT) \
)
endef
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2011-10-21 19:37:26
|
Revision: 5224
http://astlinux.svn.sourceforge.net/astlinux/?rev=5224&view=rev
Author: abelbeck
Date: 2011-10-21 19:37:18 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
zabbix, redo cross-compile long-long patch
Added Paths:
-----------
branches/1.0/package/zabbix/zabbix-configure-long-long.patch
Removed Paths:
-------------
branches/1.0/package/zabbix/zabbix-configure2.patch
Added: branches/1.0/package/zabbix/zabbix-configure-long-long.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure-long-long.patch (rev 0)
+++ branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2011-10-21 19:37:18 UTC (rev 5224)
@@ -0,0 +1,13 @@
+--- zabbix-1.8.8/configure.in.orig 2011-10-21 14:29:24.000000000 -0500
++++ zabbix-1.8.8/configure.in 2011-10-21 14:30:34.000000000 -0500
+@@ -886,7 +886,9 @@
+ ],
+ AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
+ AC_MSG_RESULT(yes),
+-AC_MSG_RESULT(no))
++AC_MSG_RESULT(no),
++AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
++AC_MSG_RESULT(yes))
+
+ dnl option -rdynamic is needed for readable backtraces
+ AC_MSG_CHECKING(for -rdynamic linking option)
Deleted: branches/1.0/package/zabbix/zabbix-configure2.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure2.patch 2011-10-21 18:21:41 UTC (rev 5223)
+++ branches/1.0/package/zabbix/zabbix-configure2.patch 2011-10-21 19:37:18 UTC (rev 5224)
@@ -1,13 +0,0 @@
---- zabbix-1.4.5.orig/configure.in
-+++ zabbix-1.4.5/configure.in
-@@ -127,7 +127,9 @@ int main()
- ],
- AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
- AC_MSG_RESULT(yes),
--AC_MSG_RESULT(no))
-+AC_MSG_RESULT(no),
-+AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
-+AC_MSG_RESULT(yes))
-
- dnl Check for socklen_t
- AC_MSG_CHECKING(for socklen_t)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-08-28 22:54:07
|
Revision: 5648
http://astlinux.svn.sourceforge.net/astlinux/?rev=5648&view=rev
Author: abelbeck
Date: 2012-08-28 22:54:00 +0000 (Tue, 28 Aug 2012)
Log Message:
-----------
zabbix, more build tweaks
Modified Paths:
--------------
branches/1.0/package/zabbix/Config.in
branches/1.0/package/zabbix/zabbix.mk
Added Paths:
-----------
branches/1.0/package/zabbix/zabbix-configure-long-long.patch
Modified: branches/1.0/package/zabbix/Config.in
===================================================================
--- branches/1.0/package/zabbix/Config.in 2012-08-28 18:02:54 UTC (rev 5647)
+++ branches/1.0/package/zabbix/Config.in 2012-08-28 22:54:00 UTC (rev 5648)
@@ -7,11 +7,12 @@
http://www.zabbix.com
config BR2_PACKAGE_ZABBIX_PROXY
- bool "zabbix_proxy"
+ bool "zabbix_proxy"
+ default n
depends on BR2_PACKAGE_ZABBIX
- default n
- help
- Zabbix proxy to be used with Zabbix Monitoring Solution
+ select BR2_PACKAGE_SQLITE
+ help
+ Zabbix proxy to be used with Zabbix Monitoring Solution
- http://www.zabbix.com
+ http://www.zabbix.com
Added: branches/1.0/package/zabbix/zabbix-configure-long-long.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure-long-long.patch (rev 0)
+++ branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2012-08-28 22:54:00 UTC (rev 5648)
@@ -0,0 +1,27 @@
+--- zabbix-2.0.2/configure.in.orig 2012-08-28 16:44:23.000000000 -0500
++++ zabbix-2.0.2/configure.in 2012-08-28 16:50:02.000000000 -0500
+@@ -802,24 +802,6 @@
+
+ dnl Check for %qu format (FreeBSD 4.x)
+ dnl FreeBSD 4.x does not support %llu
+-AC_MSG_CHECKING(for long long format)
+-AC_TRY_RUN(
+-[
+-#include <sys/types.h>
+-int main()
+-{
+- uint64_t i;
+-
+- sscanf("200000000010020", "%qu", &i);
+-
+- if (i == 200000000010020) return 0;
+- else return -1;
+-}
+-],
+-AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
+-AC_MSG_RESULT(yes),
+-AC_MSG_RESULT(no))
+-
+ dnl option -rdynamic is needed for readable backtraces
+ AC_MSG_CHECKING(for -rdynamic linking option)
+ saved_LDFLAGS="$LDFLAGS"
Modified: branches/1.0/package/zabbix/zabbix.mk
===================================================================
--- branches/1.0/package/zabbix/zabbix.mk 2012-08-28 18:02:54 UTC (rev 5647)
+++ branches/1.0/package/zabbix/zabbix.mk 2012-08-28 22:54:00 UTC (rev 5648)
@@ -7,32 +7,30 @@
ZABBIX_VERSION = 2.0.2
ZABBIX_SOURCE = zabbix-$(ZABBIX_VERSION).tar.gz
ZABBIX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/zabbix
+ZABBIX_AUTORECONF = YES
ZABBIX_CONF_OPT = \
--enable-agent
ifeq ($(strip $(BR2_PACKAGE_ZABBIX_PROXY)),y)
-ZABBIX_CONF_OPT+= \
- --enable-proxy
-endif
+ZABBIX_DEPENDENCIES += sqlite
+ZABBIX_CONF_OPT += \
+ --enable-proxy \
+ --with-sqlite3="$(STAGING_DIR)/usr"
-ifeq ($(strip $(BR2_PACKAGE_CURL)),y)
-ZABBIX_CONF_OPT+= \
- --with-libcurl="$(STAGING_DIR)/usr/bin/curl-config"
-endif
+ ifeq ($(strip $(BR2_PACKAGE_CURL)),y)
+ZABBIX_DEPENDENCIES += libcurl
+ZABBIX_CONF_OPT += \
+ --with-libcurl="$(STAGING_DIR)/usr/bin/curl-config"
+ endif
-ifeq ($(strip $(BR2_PACKAGE_NETSNMP)),y)
-ZABBIX_CONF_OPT+= \
- --with-net-snmp="$(STAGING_DIR)/usr/bin/net-snmp-config"
+ ifeq ($(strip $(BR2_PACKAGE_NETSNMP)),y)
+ZABBIX_DEPENDENCIES += netsnmp
+ZABBIX_CONF_OPT += \
+ --with-net-snmp="$(STAGING_DIR)/usr/bin/net-snmp-config"
+ endif
endif
-
-ifeq ($(strip $(BR2_PACKAGE_SQLITE)),y)
-ZABBIX_CONF_OPT+= \
- --with-sqlite3="$(STAGING_DIR)"
-endif
-
-
define ZABBIX_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_ARGS) \
@@ -50,7 +48,10 @@
define ZABBIX_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/src/zabbix_agent/zabbix_agentd $(TARGET_DIR)/usr/bin/zabbix_agentd
- $(INSTALL) -m 0755 -D $(@D)/src/zabbix_proxy/zabbix_proxy $(TARGET_DIR)/usr/bin/zabbix_proxy
+ if [ -f $(@D)/src/zabbix_proxy/zabbix_proxy ]; then \
+ $(INSTALL) -m 0755 -D $(@D)/src/zabbix_proxy/zabbix_proxy $(TARGET_DIR)/usr/bin/zabbix_proxy ; \
+ ln -sf /tmp/etc/zabbix_proxy.conf $(TARGET_DIR)/etc/zabbix_proxy.conf ; \
+ fi
$(INSTALL) -m 0755 -D package/zabbix/zabbix.init $(TARGET_DIR)/etc/init.d/zabbix
ln -sf /tmp/etc/zabbix_agentd.conf $(TARGET_DIR)/etc/zabbix_agentd.conf
endef
@@ -59,6 +60,8 @@
rm -f $(TARGET_DIR)/usr/bin/zabbix_agentd
rm -f $(TARGET_DIR)/usr/bin/zabbix_proxy
rm -f $(TARGET_DIR)/etc/init.d/zabbix
+ rm -f $(TARGET_DIR)/etc/zabbix_agentd.conf
+ rm -f $(TARGET_DIR)/etc/zabbix_proxy.conf
endef
-$(eval $(call AUTOTARGETS,package,zabbix,zabbix_proxy))
+$(eval $(call AUTOTARGETS,package,zabbix))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-04 16:12:00
|
Revision: 5786
http://astlinux.svn.sourceforge.net/astlinux/?rev=5786&view=rev
Author: abelbeck
Date: 2012-12-04 16:11:53 +0000 (Tue, 04 Dec 2012)
Log Message:
-----------
zabbix, version bump to 2.0.3
Modified Paths:
--------------
branches/1.0/package/zabbix/zabbix.mk
Removed Paths:
-------------
branches/1.0/package/zabbix/zabbix-configure.patch
Deleted: branches/1.0/package/zabbix/zabbix-configure.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure.patch 2012-12-03 19:23:21 UTC (rev 5785)
+++ branches/1.0/package/zabbix/zabbix-configure.patch 2012-12-04 16:11:53 UTC (rev 5786)
@@ -1,12 +0,0 @@
---- zabbix-2.0.2/configure.orig 2012-08-28 09:37:42.195997578 -0500
-+++ zabbix-2.0.2/configure 2012-08-28 09:40:27.803997480 -0500
-@@ -6982,8 +6982,7 @@
- if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
--as_fn_error $? "cannot run test program while cross compiling
--See \`config.log' for more details" "$LINENO" 5; }
-+}
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
Modified: branches/1.0/package/zabbix/zabbix.mk
===================================================================
--- branches/1.0/package/zabbix/zabbix.mk 2012-12-03 19:23:21 UTC (rev 5785)
+++ branches/1.0/package/zabbix/zabbix.mk 2012-12-04 16:11:53 UTC (rev 5786)
@@ -4,7 +4,7 @@
#
#############################################################
-ZABBIX_VERSION = 2.0.2
+ZABBIX_VERSION = 2.0.3
ZABBIX_SOURCE = zabbix-$(ZABBIX_VERSION).tar.gz
ZABBIX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/zabbix
ZABBIX_AUTORECONF = YES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2014-06-19 17:36:15
|
Revision: 6555
http://sourceforge.net/p/astlinux/code/6555
Author: abelbeck
Date: 2014-06-19 17:36:03 +0000 (Thu, 19 Jun 2014)
Log Message:
-----------
zabbix, version bump to 2.2.3. Note: Requires zabbix_server 2.2.x
Modified Paths:
--------------
branches/1.0/package/zabbix/zabbix-configure-long-long.patch
branches/1.0/package/zabbix/zabbix.mk
Modified: branches/1.0/package/zabbix/zabbix-configure-long-long.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2014-06-19 16:24:10 UTC (rev 6554)
+++ branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2014-06-19 17:36:03 UTC (rev 6555)
@@ -1,6 +1,6 @@
---- zabbix-2.0.2/configure.in.orig 2012-08-28 16:44:23.000000000 -0500
-+++ zabbix-2.0.2/configure.in 2012-08-28 16:50:02.000000000 -0500
-@@ -802,24 +802,6 @@
+--- zabbix-2.2.3/configure.ac.orig 2012-08-28 16:44:23.000000000 -0500
++++ zabbix-2.2.3/configure.ac 2012-08-28 16:50:02.000000000 -0500
+@@ -805,24 +805,6 @@
dnl Check for %qu format (FreeBSD 4.x)
dnl FreeBSD 4.x does not support %llu
Modified: branches/1.0/package/zabbix/zabbix.mk
===================================================================
--- branches/1.0/package/zabbix/zabbix.mk 2014-06-19 16:24:10 UTC (rev 6554)
+++ branches/1.0/package/zabbix/zabbix.mk 2014-06-19 17:36:03 UTC (rev 6555)
@@ -4,7 +4,7 @@
#
#############################################################
-ZABBIX_VERSION = 2.0.8
+ZABBIX_VERSION = 2.2.3
ZABBIX_SOURCE = zabbix-$(ZABBIX_VERSION).tar.gz
ZABBIX_SITE = http://downloads.sourceforge.net/sourceforge/zabbix
ZABBIX_AUTORECONF = YES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2014-11-12 18:10:10
|
Revision: 6824
http://sourceforge.net/p/astlinux/code/6824
Author: abelbeck
Date: 2014-11-12 18:10:01 +0000 (Wed, 12 Nov 2014)
Log Message:
-----------
zabbix, version bump to 2.2.7, remove long-long patch and no longer need to AUTORECONF
Modified Paths:
--------------
branches/1.0/package/zabbix/zabbix.mk
Removed Paths:
-------------
branches/1.0/package/zabbix/zabbix-configure-long-long.patch
Deleted: branches/1.0/package/zabbix/zabbix-configure-long-long.patch
===================================================================
--- branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2014-11-12 16:50:09 UTC (rev 6823)
+++ branches/1.0/package/zabbix/zabbix-configure-long-long.patch 2014-11-12 18:10:01 UTC (rev 6824)
@@ -1,27 +0,0 @@
---- zabbix-2.2.3/configure.ac.orig 2012-08-28 16:44:23.000000000 -0500
-+++ zabbix-2.2.3/configure.ac 2012-08-28 16:50:02.000000000 -0500
-@@ -805,24 +805,6 @@
-
- dnl Check for %qu format (FreeBSD 4.x)
- dnl FreeBSD 4.x does not support %llu
--AC_MSG_CHECKING(for long long format)
--AC_TRY_RUN(
--[
--#include <sys/types.h>
--int main()
--{
-- uint64_t i;
--
-- sscanf("200000000010020", "%qu", &i);
--
-- if (i == 200000000010020) return 0;
-- else return -1;
--}
--],
--AC_DEFINE(HAVE_LONG_LONG_QU, 1 ,[Define to 1 if format '%qu' exists.])
--AC_MSG_RESULT(yes),
--AC_MSG_RESULT(no))
--
- dnl option -rdynamic is needed for readable backtraces
- AC_MSG_CHECKING(for -rdynamic linking option)
- saved_LDFLAGS="$LDFLAGS"
Modified: branches/1.0/package/zabbix/zabbix.mk
===================================================================
--- branches/1.0/package/zabbix/zabbix.mk 2014-11-12 16:50:09 UTC (rev 6823)
+++ branches/1.0/package/zabbix/zabbix.mk 2014-11-12 18:10:01 UTC (rev 6824)
@@ -4,10 +4,9 @@
#
#############################################################
-ZABBIX_VERSION = 2.2.4
+ZABBIX_VERSION = 2.2.7
ZABBIX_SOURCE = zabbix-$(ZABBIX_VERSION).tar.gz
ZABBIX_SITE = http://downloads.sourceforge.net/sourceforge/zabbix
-ZABBIX_AUTORECONF = YES
ZABBIX_CONF_OPT = \
--enable-agent \
@@ -22,7 +21,7 @@
ifeq ($(strip $(BR2_PACKAGE_CURL)),y)
ZABBIX_DEPENDENCIES += libcurl
ZABBIX_CONF_OPT += \
- --with-libcurl="$(STAGING_DIR)/usr" LIBCURL_LIBS="-lcurl"
+ --with-libcurl="$(STAGING_DIR)/usr/bin/curl-config"
endif
ifeq ($(strip $(BR2_PACKAGE_NETSNMP)),y)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|