git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30583 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-06-05 05:39:36 +00:00
parent 5ecda2b311
commit c7146cba51
2 changed files with 25 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2010-06-05 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/Makefile.postamble: Fix breakage of instalation of gdomap
(was installing setuid to wrong user ID!).
2010-06-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: revert change of order of sources for zone

View file

@ -50,7 +50,7 @@ after-install::
for file in $(MAN1_PAGES) __done; do \
if [ $$file != __done ]; then \
$(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man1/$$file; \
which gzip > /dev/null && rm -f $(GNUSTEP_DOC_MAN)/man1/$$file.gz \
which gzip && rm -f $(GNUSTEP_DOC_MAN)/man1/$$file.gz \
&& gzip -9 $(GNUSTEP_DOC_MAN)/man1/$$file; \
fi; \
done; \
@ -59,7 +59,7 @@ after-install::
fi; \
for file in $(MAN8_PAGES); do \
$(INSTALL_DATA) $$file $(GNUSTEP_DOC_MAN)/man8/$$file; \
which gzip > /dev/null && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \
which gzip && rm -f $(GNUSTEP_DOC_MAN)/man8/$$file.gz \
&& gzip -9 $(GNUSTEP_DOC_MAN)/man8/$$file; \
done$(END_ECHO)
ifeq ($(GNUSTEP_INSTALL_GDOMAP_AS_SETUID),no)
@ -70,11 +70,23 @@ ifeq ($(GNUSTEP_INSTALL_GDOMAP_AS_SETUID),no)
echo ""$(END_ECHO)
else
$(ECHO_NOTHING)echo ""; \
echo "WARNING: Making gdomap in $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR) setuid to root"; \
echo "WARNING: if possible, you should remove the setuid flag and"; \
echo "WARNING: have gdomap started by root at machine boot time."; \
echo ""; \
$(INSTALL) -m 05755 $(GNUSTEP_OBJ_DIR)/gdomap $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR); \
if [ "`$(WHOAMI)`" != "root" ]; then \
echo ""; \
echo "************************************************************"; \
echo "WARNING: gdomap has not been made setuid to root ..."; \
echo "NOTE: Unless gdomap is started as root at system boot time,"; \
echo "it MUST either be installed owned by root and with the"; \
echo "'s-bit' or you must have defined 'GDOMAP_PORT_OVERRIDE' in"; \
echo "gdomap.h before compiling gdomap.c and NSPortNameServer.m"; \
echo "If either of those cases applies, ignore this message."; \
echo "************************************************************"; \
echo ""; \
else \
echo "Making gdomap in $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR) setuid to root"; \
echo "WARNING: if possible, you should remove the setuid flag and"; \
echo "WARNING: have gdomap started as root at machine boot time."; \
$(INSTALL) -m 05755 $(GNUSTEP_OBJ_DIR)/gdomap $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR); \
fi; \
echo "************************************************************"; \
echo "WARNING: if gdomap is started automatically, it will probe"; \
echo "all machines on your network periodically so that it can make"; \
@ -84,7 +96,7 @@ else
echo "remote systems should be probed), and you should add this"; \
echo "startup command to your system boot scripts!"; \
echo "************************************************************"; \
echo ""$(END_ECHO)
$(END_ECHO)
endif
# Things to do before uninstalling