]> git.pld-linux.org Git - packages/fam.git/blame - fam-build.patch
- rc-script for FAM
[packages/fam.git] / fam-build.patch
CommitLineData
38e7688f
AM
1diff -u fam-oss-2.6.4/Makefile.am fam-oss-2.6.4-alex/Makefile.am
2--- fam-oss-2.6.4/Makefile.am Sat May 20 06:46:31 2000
3+++ fam-oss-2.6.4-alex/Makefile.am Tue Jun 26 22:43:18 2001
4@@ -7,30 +7,3 @@
5 rpm: dist
6 @cd build && $(MAKE) $(AM_MAKEFLAGS) rpm
7
8-# We proceed even if these commands fail because this might be an install
9-# into $DESTDIR by a non-root user.
10-install-exec-hook:
11- -@if test "no$(LDCONFIG)" != "no"; then \
12-## echo "Adding $(libdir) to ld.so.conf..."; \
13- $(EDITCONF) ld.so.conf add $(DESTDIR)$(libdir) $(DESTDIR)$(libdir); \
14- exec $(LDCONFIG); \
15- fi
16-## @echo "Adding fam to rpc..."
17- -@$(EDITCONF) rpc add 391002 "sgi_fam 391002"
18-## @echo "Adding fam to inetd.conf..."
19- -@$(EDITCONF) inetd.conf add '\b(fam|FAM)\b' \
20- "# fam, the File Alteration Monitor, http://oss.sgi.com/projects/fam/" \
21- "sgi_fam/1-2 stream rpc/tcp wait root $(DESTDIR)$(bindir)/fam fam"
22- @echo "Restarting inetd..."
23- -@killall -HUP inetd
24-
25-# We don't remove $(libdir) from ld.so.conf here because we don't have
26-# a way to tell whether we're the ones who added it, and other things
27-# probably use it as well.
28-uninstall-local:
29-## @echo "Removing fam from rpc..."
30- -@$(EDITCONF) rpc remove 391002
31-## @echo "Removing fam from inetd.conf..."
32- -@$(EDITCONF) inetd.conf remove '\b(fam|FAM)\b'
33- @echo "Restarting inetd..."
34- -@killall -HUP inetd
This page took 0.052829 seconds and 4 git commands to generate.