summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-06-18 15:31:39 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-06-18 15:31:39 +0000
commit52e6a297ab6c43d6f8848bdfa35956be086d8769 (patch)
treea429b27f0e44e43dd2be7713533467fce043112b /net
parentFix typo. (diff)
- Complete repomove of net/zabbix-agent to net-mgmt/zabbix-agent
PR: ports/113658 Repocopy by: marcus
Notes
Notes: svn path=/head/; revision=193810
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/zabbix-agent/Makefile44
-rw-r--r--net/zabbix-agent/distinfo3
-rw-r--r--net/zabbix-agent/files/patch-configure12
-rw-r--r--net/zabbix-agent/files/zabbix_agentd.in17
-rw-r--r--net/zabbix-agent/pkg-descr8
-rw-r--r--net/zabbix-agent/pkg-install45
7 files changed, 0 insertions, 130 deletions
diff --git a/net/Makefile b/net/Makefile
index 27922c74856d..ae7b997293bb 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -961,7 +961,6 @@
SUBDIR += yazproxy
SUBDIR += yptransitd
SUBDIR += ytalk
- SUBDIR += zabbix-agent
SUBDIR += zebra
SUBDIR += zebra-server
SUBDIR += zillion
diff --git a/net/zabbix-agent/Makefile b/net/zabbix-agent/Makefile
deleted file mode 100644
index d9634ae1e6aa..000000000000
--- a/net/zabbix-agent/Makefile
+++ /dev/null
@@ -1,44 +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
-PORTEPOCH= 1
-CATEGORIES= net
-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|^|etc/zabbix/zabbix_|:S|$|.conf.sample|}
-
-post-patch:
- @${FIND} ${WRKSRC}/src/ -type f|${XARGS} \
- ${REINPLACE_CMD} -Ee 's|(/etc/zabbix)|${PREFIX}\1|;s|/usr/sbin|${LOCALBASE}/sbin|'
-
-do-install:
- @${ECHO_CMD} '@unexec rmdir %D/etc/zabbix 2>/dev/null || true' >> ${TMPPLIST}
- @${INSTALL_PROGRAM} ${ZABBIX_BINFILES:S,^,${WRKSRC}/src/,} ${PREFIX}/bin/
- @${INSTALL} -d ${PREFIX}/etc/zabbix/
-.for FILE in ${ZABBIX_CFGFILES}
- ${INSTALL_DATA} ${WRKSRC}/misc/conf/${FILE} ${PREFIX}/etc/zabbix/${FILE}.sample
-.endfor
- ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
-.include <bsd.port.mk>
diff --git a/net/zabbix-agent/distinfo b/net/zabbix-agent/distinfo
deleted file mode 100644
index 30a3b6723ef4..000000000000
--- a/net/zabbix-agent/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zabbix-1.4.tar.gz) = 29f605d939c10c571dac79a107a7745f
-SHA256 (zabbix-1.4.tar.gz) = ed1cb9437a5bd3d3f81b3969303c7bfb3d395f3e636fd19ddcbc52a1a800ba66
-SIZE (zabbix-1.4.tar.gz) = 3141667
diff --git a/net/zabbix-agent/files/patch-configure b/net/zabbix-agent/files/patch-configure
deleted file mode 100644
index ca3fbf1c242a..000000000000
--- a/net/zabbix-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/zabbix-agent/files/zabbix_agentd.in b/net/zabbix-agent/files/zabbix_agentd.in
deleted file mode 100644
index 0be45c4d2b66..000000000000
--- a/net/zabbix-agent/files/zabbix_agentd.in
+++ /dev/null
@@ -1,17 +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="%%PREFIX%%/etc/zabbix/${name}.conf"
-
-
-run_rc_command "$1"
diff --git a/net/zabbix-agent/pkg-descr b/net/zabbix-agent/pkg-descr
deleted file mode 100644
index 52ecef039fcf..000000000000
--- a/net/zabbix-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/zabbix-agent/pkg-install b/net/zabbix-agent/pkg-install
deleted file mode 100644
index bd120120918d..000000000000
--- a/net/zabbix-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=112
-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