Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 17:45:16 +1030 (CST)
From:      mark@kyne.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25406: New Port: net/satellite: A system for tracking machines with dynamic IP addresses
Message-ID:  <200102270715.f1R7FGw44541@aeris.kyne.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         25406
>Category:       ports
>Synopsis:       New Port: net/satellite: A system for tracking machines with dynamic IP addresses
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 26 23:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark Pulford
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

>Description:

Satellite can track many remote machines with dynamic IP addresses in
situations where public DNS services are inappropriate. It can log
and alert an admin immediately when a site moves around, comes online,
or needs attention.

WWW: http://www.kyne.com.au/~mark/software.html

- Mark Pulford
mark@kyne.com.au

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	port/Makefile
#	port/distinfo
#	port/pkg-comment
#	port/pkg-descr
#	port/pkg-install
#	port/pkg-plist
#
echo x - port/Makefile
sed 's/^X//' >port/Makefile << 'END-of-port/Makefile'
X# New ports collection makefile for:   satellite
X# Date created:        24 Feb 2001
X# Whom:                Mark Pulford <mark@kyne.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       satellite
XPORTVERSION=    1.0.2
XCATEGORIES=     net
XMASTER_SITES=   ${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR= system/network
X
XMAINTAINER=     mark@kyne.com.au
X
XLIB_DEPENDS=    gdbm.2:${PORTSDIR}/databases/gdbm
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ENV=  CPPFLAGS='-I${LOCALBASE}/include' \
X		LDFLAGS='-L${LOCALBASE}/lib'
XCONFIGURE_ARGS+=	--localstatedir=/var/log
X
XMAN8=           satcfg.8 satellite.8 satellited.8 satwatch.8
X
Xpre-install:
X	@${SH} pkg-install ${PKGNAME} PRE-INSTALL
X
Xpost-install:
X	@${SH} pkg-install ${PKGNAME} POST-INSTALL
X
X.include <bsd.port.mk>
END-of-port/Makefile
echo x - port/distinfo
sed 's/^X//' >port/distinfo << 'END-of-port/distinfo'
XMD5 (satellite-1.0.2.tar.gz) = 7a6ed7d10ebf864b6b9dde0cbcc478d7
END-of-port/distinfo
echo x - port/pkg-comment
sed 's/^X//' >port/pkg-comment << 'END-of-port/pkg-comment'
XA system for tracking machines with dynamic IP addresses
END-of-port/pkg-comment
echo x - port/pkg-descr
sed 's/^X//' >port/pkg-descr << 'END-of-port/pkg-descr'
XSatellite can track many remote machines with dynamic IP addresses in
Xsituations where public DNS services are inappropriate.  It can log
Xand alert an admin immediately when a site moves around, comes online,
Xor needs attention.
X
XWWW: http://www.kyne.com.au/~mark/software.html
X
X- Mark Pulford
Xmark@kyne.com.au
END-of-port/pkg-descr
echo x - port/pkg-install
sed 's/^X//' >port/pkg-install << 'END-of-port/pkg-install'
X#!/bin/sh
X
X[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}"
X[ "${PREFIX}" ] || PREFIX=/usr/local
X
Xcase "$2" in
X	PRE-INSTALL)
X		if ! pw user show satellite >/dev/null 2>&1
X		then
X			echo "===>   Creating user satellite"
X			pw add user -n satellite -c 'Satellite system user' -s /sbin/nologin -h - -d /
X		fi
X	;;
X	POST-INSTALL)
X		if [ ! -f "${PREFIX}/etc/satellite.db" ]
X		then
X			echo "===>   Creating ${PREFIX}/etc/satellite.db configuration file"
X			${PREFIX}/sbin/satcfg -L
X			chown satellite ${PREFIX}/etc/satellite.db
X			chmod 600 ${PREFIX}/etc/satellite.db
X		fi
X		if [ ! -f "/var/log/satellite" ]
X		then
X			echo "===>   Creating initial log file /var/log/satellite"
X			touch /var/log/satellite
X			chown satellite /var/log/satellite
X		fi
X		echo "===>   To run the satellited server you will need to change a few files."
X		echo "===>   Please add the following line to /etc/services"
X		echo "satellite       1764/tcp"
X		echo "===>   Please add the following line to /etc/inetd.conf and restart inetd"
X		echo "satellite stream tcp nowait satellite ${PREFIX}/sbin/satellited satellited -v"
X	;;
X	*)
X		echo "Incorrect parameter"
X		exit 1
X	;;
Xesac
END-of-port/pkg-install
echo x - port/pkg-plist
sed 's/^X//' >port/pkg-plist << 'END-of-port/pkg-plist'
Xsbin/satcfg
Xsbin/satellite
Xsbin/satellited
Xsbin/satwatch
END-of-port/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102270715.f1R7FGw44541>