Fix mtree problem reported by Bento.

This commit is contained in:
Mark Pulford 2001-06-12 10:17:21 +00:00
parent c889820fe0
commit 043fe06cfd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43887
8 changed files with 42 additions and 48 deletions

View File

@ -26,6 +26,6 @@ pre-install:
@${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
@${SH} pkg-install ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
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.
and alert an admin immediately when a site comes online or needs
attention.
WWW: http://www.kyne.com.au/~mark/software/satellite.php

View File

@ -1,8 +1,5 @@
#!/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
@ -12,24 +9,6 @@ case "$2" in
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"

View File

@ -0,0 +1,18 @@
If you are planning to use the Satellite server (not the client) on
this machine you must complete several additional steps, substituting
your installation prefix (usually /usr/local) for PREFIX:
1) Create the Satellite configuration file:
# PREFIX/sbin/satcfg -L
# chown satellite PREFIX/etc/satellite.db
# chmod 600 PREFIX/etc/satellite.db
2) Create the Satellite log file:
# touch /var/log/satellite
# chown satellite /var/log/satellite
3) Add Satellite to /etc/services with the line:
satellite 1764/tcp
4) Add Satellite to /etc/inetd.conf with the line:
satellite stream tcp nowait satellite PREFIX/sbin/satellited satellited -v

View File

@ -26,6 +26,6 @@ pre-install:
@${SH} pkg-install ${PKGNAME} PRE-INSTALL
post-install:
@${SH} pkg-install ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
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.
and alert an admin immediately when a site comes online or needs
attention.
WWW: http://www.kyne.com.au/~mark/software/satellite.php

View File

@ -1,8 +1,5 @@
#!/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
@ -12,24 +9,6 @@ case "$2" in
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"

18
net/satellite/pkg-message Normal file
View File

@ -0,0 +1,18 @@
If you are planning to use the Satellite server (not the client) on
this machine you must complete several additional steps, substituting
your installation prefix (usually /usr/local) for PREFIX:
1) Create the Satellite configuration file:
# PREFIX/sbin/satcfg -L
# chown satellite PREFIX/etc/satellite.db
# chmod 600 PREFIX/etc/satellite.db
2) Create the Satellite log file:
# touch /var/log/satellite
# chown satellite /var/log/satellite
3) Add Satellite to /etc/services with the line:
satellite 1764/tcp
4) Add Satellite to /etc/inetd.conf with the line:
satellite stream tcp nowait satellite PREFIX/sbin/satellited satellited -v