0
|
1 # install the Distributed Checksum Clearinghouse sample white list CGI files |
|
2 |
|
3 # Copyright (c) 2008 by Rhyolite Software, LLC |
|
4 # |
|
5 # This agreement is not applicable to any entity which sells anti-spam |
|
6 # solutions to others or provides an anti-spam solution as part of a |
|
7 # security solution sold to other entities, or to a private network |
|
8 # which employs the DCC or uses data provided by operation of the DCC |
|
9 # but does not provide corresponding data to other users. |
|
10 # |
|
11 # Permission to use, copy, modify, and distribute this software without |
|
12 # changes for any purpose with or without fee is hereby granted, provided |
|
13 # that the above copyright notice and this permission notice appear in all |
|
14 # copies and any distributed versions or copies are either unchanged |
|
15 # or not called anything similar to "DCC" or "Distributed Checksum |
|
16 # Clearinghouse". |
|
17 # |
|
18 # Parties not eligible to receive a license under this agreement can |
|
19 # obtain a commercial license to use DCC by contacting Rhyolite Software |
|
20 # at sales@rhyolite.com. |
|
21 # |
|
22 # A commercial license would be for Distributed Checksum and Reputation |
|
23 # Clearinghouse software. That software includes additional features. This |
|
24 # free license for Distributed ChecksumClearinghouse Software does not in any |
|
25 # way grant permision to use Distributed Checksum and Reputation Clearinghouse |
|
26 # software |
|
27 # |
|
28 # THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE, LLC DISCLAIMS ALL |
|
29 # WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES |
|
30 # OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE, LLC |
|
31 # BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES |
|
32 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, |
|
33 # WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
|
34 # ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS |
|
35 # SOFTWARE. |
|
36 |
|
37 # Rhyolite Software DCC 1.3.103-1.15 $Revision$ |
|
38 # @configure_input@ |
|
39 |
|
40 # Install only the CGI scripts in the cgi-bin directory to minimize |
|
41 # the risks of letting Apache execute files in it. Install the other |
|
42 # scripts in the usual DCC libexec directory. |
|
43 |
|
44 DEPTH =.. |
|
45 CSCRIPTS=chgpasswd edit-whiteclnt list-log list-msg http2https webuser-notify |
|
46 OFILES =README common |
|
47 LOCFILES=header footer |
|
48 |
|
49 @MAKE_PROG@ |
|
50 @MAKE_INC2@ |
|
51 |
|
52 INST_BINDIR=@installroot@@cgibin@ |
|
53 |
|
54 all: |
|
55 @: |
|
56 |
|
57 install: |
|
58 $(INSTALL) -d $(SET_BINOWN) -m 755 $(INST_BINDIR) |
|
59 for NM in $(CSCRIPTS); do $(INSTALL) $(SET_BINOWN) \ |
|
60 -m $(BINMODE) -c $$NM $(INST_BINDIR)/$$NM; done |
|
61 for NM in $(OFILES); do $(INSTALL) $(SET_BINOWN) \ |
|
62 -m 644 -c $$NM $(INST_BINDIR)/$$NM; done |
|
63 for NM in $(LOCFILES); do \ |
|
64 if test ! -f $(INST_BINDIR)/$$NM; then \ |
|
65 $(INSTALL) $(SET_BINOWN) -m 644 -c $$NM $(INST_BINDIR)/$$NM; \ |
|
66 fi; done |
|
67 |
|
68 deinstall: |
|
69 -if test -d $(INST_BINDIR); then\ |
|
70 (cd $(INST_BINDIR); rm -f $(OFILES) $(CSCRIPTS));\ |
|
71 rmdir $(INST_BINDIR);\ |
|
72 fi |