diff options
Diffstat (limited to 'net-mgmt/zabbix2-agent')
-rw-r--r-- | net-mgmt/zabbix2-agent/Makefile | 46 | ||||
-rw-r--r-- | net-mgmt/zabbix2-agent/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/zabbix2-agent/files/patch-configure | 12 | ||||
-rw-r--r-- | net-mgmt/zabbix2-agent/files/zabbix_agentd.in | 16 | ||||
-rw-r--r-- | net-mgmt/zabbix2-agent/pkg-descr | 8 | ||||
-rw-r--r-- | net-mgmt/zabbix2-agent/pkg-install | 45 |
6 files changed, 0 insertions, 130 deletions
diff --git a/net-mgmt/zabbix2-agent/Makefile b/net-mgmt/zabbix2-agent/Makefile deleted file mode 100644 index 9f4fa00d5079..000000000000 --- a/net-mgmt/zabbix2-agent/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# Ports collection makefile for: zabbix-agent -# Date created: Jun 18 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= zabbix -PORTVERSION= 1.6.6 -PORTEPOCH= 2 -CATEGORIES= net-mgmt -MASTER_SITES= SF/${PORTNAME}/ZABBIX%20Latest%20Stable/${PORTVERSION} -PKGNAMESUFFIX= -agent - -MAINTAINER= ports@christianserving.org -COMMENT= Application and network monitoring solution - -USE_GMAKE= yes -USE_RC_SUBR= zabbix_agentd -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-agent --disable-server -MAKE_ARGS= ARCH=freebsd -.ifndef WITHOUT_IPV6 -CONFIGURE_ARGS+=--enable-ipv6 -.endif - -ZABBIX_BIN= agent agentd get sender -ZABBIX_CFG= agent agentd -ZABBIX_BINFILES=${ZABBIX_BIN:S|^|zabbix_|:C|.+|&/&|:S|agentd/|agent/|} -ZABBIX_CFGFILES=${ZABBIX_CFG:S|^|zabbix_|:S|$|.conf|} -PLIST_FILES= ${ZABBIX_BIN:S|^|bin/zabbix_|} \ - ${ZABBIX_CFG:S|^|%%ETCDIR%%/zabbix_|:S|$|.conf.sample|} - -post-patch: - @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \ - ${REINPLACE_CMD} -e 's|/etc/zabbix|${ETCDIR}|;s|/usr/sbin|${LOCALBASE}/sbin|' - -do-install: - @${ECHO_CMD} '@unexec ${RMDIR} %D/${ETCDIR_REL} 2>/dev/null || true' >> ${TMPPLIST} - @${INSTALL_PROGRAM} ${ZABBIX_BINFILES:S,^,${WRKSRC}/src/,} ${PREFIX}/bin/ - @${INSTALL} -d ${ETCDIR}/ - @for i in ${ZABBIX_CFGFILES};do\ - ${INSTALL_DATA} ${WRKSRC}/misc/conf/$$i ${ETCDIR}/$$i.sample;done - @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -.include <bsd.port.mk> diff --git a/net-mgmt/zabbix2-agent/distinfo b/net-mgmt/zabbix2-agent/distinfo deleted file mode 100644 index 086bdcdeffe5..000000000000 --- a/net-mgmt/zabbix2-agent/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (zabbix-1.6.6.tar.gz) = 52779160e71c12d47b97f7336e25c395 -SHA256 (zabbix-1.6.6.tar.gz) = 9eb7bbe99c516c11020d5c95c8f8783fb1dc1123ce9c7e2135db7bfd0ea0aa75 -SIZE (zabbix-1.6.6.tar.gz) = 8255436 diff --git a/net-mgmt/zabbix2-agent/files/patch-configure b/net-mgmt/zabbix2-agent/files/patch-configure deleted file mode 100644 index a1b0bd52a4fe..000000000000 --- a/net-mgmt/zabbix2-agent/files/patch-configure +++ /dev/null @@ -1,12 +0,0 @@ ---- configure.orig 2009-03-28 13:23:22.000000000 -0500 -+++ configure 2009-03-28 13:23:40.000000000 -0500 -@@ -580,6 +580,9 @@ - # Factoring default headers for most tests. - ac_includes_default="\ - #include <stdio.h> -+#include <sys/socket.h> -+#include <sys/param.h> -+#include <netinet/in.h> - #ifdef HAVE_SYS_TYPES_H - # include <sys/types.h> - #endif diff --git a/net-mgmt/zabbix2-agent/files/zabbix_agentd.in b/net-mgmt/zabbix2-agent/files/zabbix_agentd.in deleted file mode 100644 index cc3eeb70286b..000000000000 --- a/net-mgmt/zabbix2-agent/files/zabbix_agentd.in +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# PROVIDE: zabbix_agentd -# REQUIRE: DAEMON -# KEYWORD: shutdown - -. %%RC_SUBR%% - -name="zabbix_agentd" -rcvar=${name}_enable -load_rc_config $name -eval : \${${rcvar}='NO'} - -command="%%PREFIX%%/bin/${name}" -required_files="%%ETCDIR%%/${name}.conf" - -run_rc_command "$1" diff --git a/net-mgmt/zabbix2-agent/pkg-descr b/net-mgmt/zabbix2-agent/pkg-descr deleted file mode 100644 index 52ecef039fcf..000000000000 --- a/net-mgmt/zabbix2-agent/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Zabbix is software for application and network monitoring. -Zabbix supports both polling and trapping techniques to -collect data from monitored hosts. Flexible notification -mechanism allows easy and quckly configure email notifications -for pre-defined events. Zabbix is freely available under the -terms of the GNU General Public License (GPL). - -WWW: http://www.zabbix.com/ diff --git a/net-mgmt/zabbix2-agent/pkg-install b/net-mgmt/zabbix2-agent/pkg-install deleted file mode 100644 index f0b59f76cc4a..000000000000 --- a/net-mgmt/zabbix2-agent/pkg-install +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# Script was taken from mysql323-server port, and modified -# to suit zabbix needs - -[ -n "${PACKAGE_BUILDING}" ] && exit 0 - -[ "${2}" = "POST-INSTALL" ] && exit 0 - -PATH=/bin:/usr/sbin - -USER=zabbix -GROUP=${USER} -UID=122 -GID=${UID} - -if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." -else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi -fi - -if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - if pw usermod ${USER} -d /nonexistent - then - echo "Changed home directory of \"${USER}\" to /nonexistent" - else - echo "Changing home directory of \"${USER}\" to /nonexistent failed..." - exit 1 - fi -else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi -fi |