From owner-freebsd-ports Mon Feb 26 23:20:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 58C9337B71A for ; Mon, 26 Feb 2001 23:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1R7K3I94463; Mon, 26 Feb 2001 23:20:03 -0800 (PST) (envelope-from gnats) Received: from hamster.kyne.com.au (kyneso.lnk.telstra.net [139.130.137.83]) by hub.freebsd.org (Postfix) with ESMTP id 4339A37B719 for ; Mon, 26 Feb 2001 23:12:44 -0800 (PST) (envelope-from mark@aeris.kyne.com.au) Received: from aeris.kyne.com.au (root@aeris.kyne.com.au [203.38.180.166]) by hamster.kyne.com.au (8.9.3/8.9.3) with ESMTP id RAA24799 for ; Tue, 27 Feb 2001 17:42:41 +1030 Received: (from mark@localhost) by aeris.kyne.com.au (8.11.1/8.11.1) id f1R7FGw44541; Tue, 27 Feb 2001 17:45:16 +1030 (CST) (envelope-from mark) Message-Id: <200102270715.f1R7FGw44541@aeris.kyne.com.au> Date: Tue, 27 Feb 2001 17:45:16 +1030 (CST) From: mark@kyne.com.au Reply-To: mark@kyne.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/25406: New Port: net/satellite: A system for tracking machines with dynamic IP addresses Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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