make getpeername() return the original socket address which before it was intercepted
[hband-tools.git] / root-tools / Makefile
blobb6b1229a15dd45ab483b3e2009fad6bde2e9fc90
2 TOOLS_TARGET_DIR = /usr/tool
4 TOOLS = anacron-peruser hidedir nf_condition sshwho swapoff-progress syncifstate noshellinject
6 TOOLS_TARGET_FILES := $(addprefix $(TOOLS_TARGET_DIR)/,$(TOOLS))
9 install-all: $(TOOLS_TARGET_FILES) /usr/sbin/sendmail.cron /usr/sbin/sendmail.atd install-sendmail-smtp
11 $(TOOLS_TARGET_FILES): $(TOOLS_TARGET_DIR)/%: %
12 install $(notdir $@) $(TOOLS_TARGET_DIR)/
13 @echo remove $@ >> uninstall.sh
16 /usr/sbin/sendmail.smtp: sendmail.smtp
17 install $< $(dir $@)
18 @echo remove $@ >> uninstall.sh
20 install-sendmail-smtp: /usr/sbin/sendmail.smtp
21 update-alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.smtp 800
22 @echo update-alternatives --remove sendmail /usr/sbin/sendmail.smtp >> uninstall.sh
24 .PHONY: install-sendmail-smtp
26 /usr/sbin/sendmail.cron: sendmail.cron
27 install $< $(dir $@)
28 @echo remove $@ >> uninstall.sh
30 /usr/sbin/sendmail.atd: sendmail.atd
31 install $< $(dir $@)
32 @echo remove $@ >> uninstall.sh