diff options
Diffstat (limited to 'net-mgmt/zabbix2-agent')
-rw-r--r-- | net-mgmt/zabbix2-agent/Makefile | 43 | ||||
-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, 127 deletions
diff --git a/net-mgmt/zabbix2-agent/Makefile b/net-mgmt/zabbix2-agent/Makefile deleted file mode 100644 index 144df088f315..000000000000 --- a/net-mgmt/zabbix2-agent/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# Ports collection makefile for: zabbix-agent -# Date created: Jun 18 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= zabbix -PORTVERSION= 1.4.2 -PORTEPOCH= 1 -CATEGORIES= net-mgmt -MASTER_SITES= SF -PKGNAMESUFFIX= -agent - -MAINTAINER= ports@FreeBSD.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 - -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 fc172025f3ac..000000000000 --- a/net-mgmt/zabbix2-agent/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (zabbix-1.4.2.tar.gz) = 1a89f3b8b0925c6373379b4c5dd3138b -SHA256 (zabbix-1.4.2.tar.gz) = 8dd0455e8a723cc9f31f0d41e7fbefa4d72088727c470c918e29de94c71c99bd -SIZE (zabbix-1.4.2.tar.gz) = 3302530 diff --git a/net-mgmt/zabbix2-agent/files/patch-configure b/net-mgmt/zabbix2-agent/files/patch-configure deleted file mode 100644 index ca3fbf1c242a..000000000000 --- a/net-mgmt/zabbix2-agent/files/patch-configure +++ /dev/null @@ -1,12 +0,0 @@ ---- ./configure.orig Sat Jan 27 20:39:51 2007 -+++ ./configure Sat Jan 27 20:48:34 2007 -@@ -275,6 +275,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> - #if 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 |