diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-06-08 04:21:23 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-06-08 04:21:23 +0000 |
commit | c2ee9ef579837ebd406cf97dd1b4947aaf6a1c45 (patch) | |
tree | bb3841e9986f6bbf72e913f857fe2e6bbc82d446 /devel/fam | |
parent | 487510c5f64894c25d73f8ffa7941d6662bdbb0d (diff) | |
download | ports-c2ee9ef579837ebd406cf97dd1b4947aaf6a1c45.tar.gz ports-c2ee9ef579837ebd406cf97dd1b4947aaf6a1c45.zip |
Notes
Diffstat (limited to 'devel/fam')
-rw-r--r-- | devel/fam/Makefile | 1 | ||||
-rw-r--r-- | devel/fam/files/fam.sh.sample | 3 | ||||
-rw-r--r-- | devel/fam/pkg-message | 24 | ||||
-rw-r--r-- | devel/fam/pkg-plist | 1 |
4 files changed, 27 insertions, 2 deletions
diff --git a/devel/fam/Makefile b/devel/fam/Makefile index 5682ca9e1056..5db30a80704a 100644 --- a/devel/fam/Makefile +++ b/devel/fam/Makefile @@ -7,6 +7,7 @@ PORTNAME= fam PORTVERSION= 2.6.4 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/ DISTNAME= ${PORTNAME}-oss-${PORTVERSION} diff --git a/devel/fam/files/fam.sh.sample b/devel/fam/files/fam.sh.sample index e1c252bdb2a0..3ed1a018563f 100644 --- a/devel/fam/files/fam.sh.sample +++ b/devel/fam/files/fam.sh.sample @@ -7,7 +7,8 @@ fi case "$1" in start) - [ -x ${PREFIX}/bin/fam ] && ( ${PREFIX}/bin/fam & ) && echo -n ' fam' + [ -x ${PREFIX}/bin/fam ] && ( ${PREFIX}/bin/fam -T 0 & ) \ + && echo -n ' fam' ;; stop) killall fam && echo -n ' fam' diff --git a/devel/fam/pkg-message b/devel/fam/pkg-message index d28d68afc971..467f8ba901ef 100644 --- a/devel/fam/pkg-message +++ b/devel/fam/pkg-message @@ -1,8 +1,30 @@ ************************************************************************ -In order to run this port, please add the following line to /etc/rpc if +1. In order to run this port, please add the following line to /etc/rpc if it is not already there: +==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== sgi_fam 391002 +==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== + +2. If you wish to run fam from inetd (the recommended method), then +please add the following lines to /etc/inetd.conf if they are not +already there: + +==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== +# FAM: File Alteration Monitor [devel/fam] +sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam +==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== + +After modifying /etc/inetd.conf, you must (as root) run: + + killall -HUP inetd + +3. If, instead, you wish to run fam as a system daemon, then (as root) +do the following: + + cd /usr/local/etc/rc.d + cp fam.sh.sample fam.sh + /usr/local/etc/rc.d/fam.sh start ************************************************************************ diff --git a/devel/fam/pkg-plist b/devel/fam/pkg-plist index 690e520775d2..a427fd997e05 100644 --- a/devel/fam/pkg-plist +++ b/devel/fam/pkg-plist @@ -7,3 +7,4 @@ lib/libfam.a lib/libfam.so lib/libfam.so.0 @dirrm lib/fam +@unexec rm -f %D/etc/rc.d/fam.sh || true |