new port added

PR:		25406
Submitted by:	mark@kyne.com.au
This commit is contained in:
Dirk Meyer 2001-03-10 07:39:29 +00:00
parent ce02590168
commit 42d20a384b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39401
12 changed files with 168 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# New ports collection makefile for: satellite
# Date created: 24 Feb 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= satellite
PORTVERSION= 1.0.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/network
MAINTAINER= mark@kyne.com.au
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
CONFIGURE_ARGS+= --localstatedir=/var/log
MAN8= satcfg.8 satellite.8 satellited.8 satwatch.8
pre-install:
@${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
@${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (satellite-1.0.2.tar.gz) = 7a6ed7d10ebf864b6b9dde0cbcc478d7

View file

@ -0,0 +1 @@
A system for tracking machines with dynamic IP addresses

View file

@ -0,0 +1,9 @@
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

View file

@ -0,0 +1,38 @@
#!/bin/sh
[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}"
[ "${PREFIX}" ] || PREFIX=/usr/local
case "$2" in
PRE-INSTALL)
if ! pw user show satellite >/dev/null 2>&1
then
echo "===> Creating user satellite"
pw add user -n satellite -c 'Satellite system user' -s /sbin/nologin -h - -d /
fi
;;
POST-INSTALL)
if [ ! -f "${PREFIX}/etc/satellite.db" ]
then
echo "===> Creating ${PREFIX}/etc/satellite.db configuration file"
${PREFIX}/sbin/satcfg -L
chown satellite ${PREFIX}/etc/satellite.db
chmod 600 ${PREFIX}/etc/satellite.db
fi
if [ ! -f "/var/log/satellite" ]
then
echo "===> Creating initial log file /var/log/satellite"
touch /var/log/satellite
chown satellite /var/log/satellite
fi
echo "===> To run the satellited server you will need to change a few files."
echo "===> Please add the following line to /etc/services"
echo "satellite 1764/tcp"
echo "===> Please add the following line to /etc/inetd.conf and restart inetd"
echo "satellite stream tcp nowait satellite ${PREFIX}/sbin/satellited satellited -v"
;;
*)
echo "Incorrect parameter"
exit 1
;;
esac

View file

@ -0,0 +1,4 @@
sbin/satcfg
sbin/satellite
sbin/satellited
sbin/satwatch

31
net/satellite/Makefile Normal file
View file

@ -0,0 +1,31 @@
# New ports collection makefile for: satellite
# Date created: 24 Feb 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= satellite
PORTVERSION= 1.0.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/network
MAINTAINER= mark@kyne.com.au
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
CONFIGURE_ARGS+= --localstatedir=/var/log
MAN8= satcfg.8 satellite.8 satellited.8 satwatch.8
pre-install:
@${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
@${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

1
net/satellite/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (satellite-1.0.2.tar.gz) = 7a6ed7d10ebf864b6b9dde0cbcc478d7

View file

@ -0,0 +1 @@
A system for tracking machines with dynamic IP addresses

9
net/satellite/pkg-descr Normal file
View file

@ -0,0 +1,9 @@
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

38
net/satellite/pkg-install Normal file
View file

@ -0,0 +1,38 @@
#!/bin/sh
[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}"
[ "${PREFIX}" ] || PREFIX=/usr/local
case "$2" in
PRE-INSTALL)
if ! pw user show satellite >/dev/null 2>&1
then
echo "===> Creating user satellite"
pw add user -n satellite -c 'Satellite system user' -s /sbin/nologin -h - -d /
fi
;;
POST-INSTALL)
if [ ! -f "${PREFIX}/etc/satellite.db" ]
then
echo "===> Creating ${PREFIX}/etc/satellite.db configuration file"
${PREFIX}/sbin/satcfg -L
chown satellite ${PREFIX}/etc/satellite.db
chmod 600 ${PREFIX}/etc/satellite.db
fi
if [ ! -f "/var/log/satellite" ]
then
echo "===> Creating initial log file /var/log/satellite"
touch /var/log/satellite
chown satellite /var/log/satellite
fi
echo "===> To run the satellited server you will need to change a few files."
echo "===> Please add the following line to /etc/services"
echo "satellite 1764/tcp"
echo "===> Please add the following line to /etc/inetd.conf and restart inetd"
echo "satellite stream tcp nowait satellite ${PREFIX}/sbin/satellited satellited -v"
;;
*)
echo "Incorrect parameter"
exit 1
;;
esac

4
net/satellite/pkg-plist Normal file
View file

@ -0,0 +1,4 @@
sbin/satcfg
sbin/satellite
sbin/satellited
sbin/satwatch