diff options
author | flz <flz@FreeBSD.org> | 2005-06-02 07:31:29 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-06-02 07:31:29 +0800 |
commit | 726716171b77b37f6e9b7046d4a2e298b276729c (patch) | |
tree | 4d49bec238d560b2c25c35c6df51f63b1214f286 | |
parent | 4efaa91f917bda17ad322d48be50e522cdaa0c50 (diff) | |
download | freebsd-ports-gnome-726716171b77b37f6e9b7046d4a2e298b276729c.tar.gz freebsd-ports-gnome-726716171b77b37f6e9b7046d4a2e298b276729c.tar.zst freebsd-ports-gnome-726716171b77b37f6e9b7046d4a2e298b276729c.zip |
- Add be_agent, the Veritas Backup Exec (tm) UNIX Agent.
PR: ports/81420
Submitted by: Tony Shadwick <numbski@hksilver.net>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/be_agent/Makefile | 39 | ||||
-rw-r--r-- | sysutils/be_agent/distinfo | 2 | ||||
-rw-r--r-- | sysutils/be_agent/files/be-agent.sh.in | 28 | ||||
-rw-r--r-- | sysutils/be_agent/files/config_example | 16 | ||||
-rw-r--r-- | sysutils/be_agent/files/pkg-message.in | 24 | ||||
-rw-r--r-- | sysutils/be_agent/pkg-descr | 16 |
7 files changed, 126 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 46b6aa447bc8..c8077745935d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -37,6 +37,7 @@ SUBDIR += bbapm SUBDIR += bbsmount SUBDIR += bchunk + SUBDIR += be_agent SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += blimitd diff --git a/sysutils/be_agent/Makefile b/sysutils/be_agent/Makefile new file mode 100644 index 000000000000..db673d196963 --- /dev/null +++ b/sysutils/be_agent/Makefile @@ -0,0 +1,39 @@ +# New ports collection Makefile for: be_agent +# Date created: 20 May 2005 +# Whom: Tony Shadwick <numbski@hksilver.net> +# +# $FreeBSD$ +# + +PORTNAME= be_agent +PORTVERSION= 5.046 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.support.veritas.com/pub/support/products/Backup_Exec_for_WindowsNT/ \ + http://www.numbski.net/downloads/ +DISTNAME= nls_agnt_262592 +EXTRACT_SUFX= .tar + +MAINTAINER= numbski@hksilver.net +COMMENT= VERITAS Backup Exec (tm) UNIX Agent + +RUN_DEPENDS= ${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base + +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 +NO_INSTALL_MANPAGES= yes +USE_REINPLACE= yes +SUB_FILES= pkg-message +USE_RC_SUBR= be-agent.sh +PLIST_FILES= bin/agent.be \ + etc/be-agent.cfg.sample + +do-install: + @${INSTALL_PROGRAM} ${WRKDIR}/common/agent.linux24 ${PREFIX}/bin/agent.be + @${CAT} ${PKGMESSAGE} ${WRKDIR}/english/agent.cfg \ + ${FILESDIR}/config_example >> ${WRKDIR}/be-agent.cfg.sample + @${INSTALL_DATA} ${WRKDIR}/be-agent.cfg.sample ${PREFIX}/etc + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/sysutils/be_agent/distinfo b/sysutils/be_agent/distinfo new file mode 100644 index 000000000000..32c461a0ae7d --- /dev/null +++ b/sysutils/be_agent/distinfo @@ -0,0 +1,2 @@ +MD5 (nls_agnt_262592.tar) = e785997a44f9ec562e2aa90f0132a738 +SIZE (nls_agnt_262592.tar) = 1092608 diff --git a/sysutils/be_agent/files/be-agent.sh.in b/sysutils/be_agent/files/be-agent.sh.in new file mode 100644 index 000000000000..85739b1b324a --- /dev/null +++ b/sysutils/be_agent/files/be-agent.sh.in @@ -0,0 +1,28 @@ +#!/bin/sh +# +# PROVIDE: be-agent +# REQUIRE: LOGIN +# BEFORE: DAEMON +# KEYWORD: FreeBSD shutdown + +# +# Add the following lines to /etc/rc.conf to enable be-agent: +# +#be_agent_enable="YES" +# + +. %%RC_SUBR%% + +name=be_agent +rcvar=`set_rcvar` + +command="%%PREFIX%%/bin/agent.be" + +# set defaults + +be_agent_enable=${be_agent_enable:-"NO"} +be_agent_cfg=${be_agent_cfg:-"%%PREFIX%%/etc/be-agent.cfg"} +be_agent_flags=${be_agent_flags:-"-c ${be_agent_cfg} &"} + +load_rc_config ${name} +run_rc_command "$1" diff --git a/sysutils/be_agent/files/config_example b/sysutils/be_agent/files/config_example new file mode 100644 index 000000000000..6ae5637e4102 --- /dev/null +++ b/sysutils/be_agent/files/config_example @@ -0,0 +1,16 @@ +# +# +# Below is an example configuration. Please use your real hostname. The +# field 'force_address' is only needed if your machine has multiple +# network interfaces and you wish to force it to use a specific one. +# +# name myhostname.mydomainname.com +# force_address 192.168.1.2 +# export /home/myusername as myhome +# tell my_backup_exec_server_hostname +# tell_interval 30 +# +# +# The following are directories tht are excluded from all backups. +exclude_dir /dev +exclude_dir /proc diff --git a/sysutils/be_agent/files/pkg-message.in b/sysutils/be_agent/files/pkg-message.in new file mode 100644 index 000000000000..2ba445b25d67 --- /dev/null +++ b/sysutils/be_agent/files/pkg-message.in @@ -0,0 +1,24 @@ +# This port requires 3 steps in order to enable it. +# +# 1. Edit the config file located at %%PREFIX%%/etc/be-agent.cfg.sample. Be +# sure to enter the hostname of your Backup Exec server, and then make a +# matching entry for it in /etc/hosts: +# +# be-agent.cfg.sample: +# tell my_backup_exec_server_hostname +# +# /etc/hosts: +# 192.168.1.3 my_backup_exec_server_hostname +# +# Save your config file as %%PREFIX%%/etc/be-agent.cfg +# +# 2. Add the following line to your /etc/services: +# +# grfs 6101/tcp # Backup Exec Agent +# +# 3. Add the following lines to /etc/rc.conf +# +# be_agent_enable="YES" +# linux_enable="YES" +# +# diff --git a/sysutils/be_agent/pkg-descr b/sysutils/be_agent/pkg-descr new file mode 100644 index 000000000000..2c6a57ba4333 --- /dev/null +++ b/sysutils/be_agent/pkg-descr @@ -0,0 +1,16 @@ +This is a port of the VERITAS Backup Exec (tm) UNIX Agent. + +This agent can be applied to the following versions of Backup Exec: + +Backup Exec 8.x for Windows NT and Windows 2000 (All Revisions) +Backup Exec 9.0 for Windows Servers (All Revisions) +Backup Exec 9.1 for Windows Servers (All Revisions) +Backup Exec 8.5 for NetWare +Backup Exec 9.0 for NetWare +Backup Exec 9.1 for NetWare + + +WWW: http://seer.support.veritas.com/docs/262592.htm + +- Tony Shadwick +numbski@hksilver.net |