Skip to content

Commit

Permalink
Please see the ChangeLog for 8/2/2000.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriston committed Aug 2, 2000
1 parent a5404cb commit 022e774
Show file tree
Hide file tree
Showing 134 changed files with 1,730 additions and 2,387 deletions.
56 changes: 56 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
2000-08-02 Kriston J. Rehberg <[email protected]>

* Build process is a little more rule-oriented. The cleaning
rules "distclean" and "clobber" were removed. The Tcl libraries
are always distcleaned when "gmake clean" is invoked. Rules that
can be used as dependencies were made for libnsthread and the Tcl
libraries -- their names are "libnsthread," "libtcl76," and
"libtcl8x," respectively. PREFIX is now used as the installation
directory (along with INST), so the more familiar "gmake install
PREFIX=/usr/local/aolserver" will work. Additionally, gmaking in
a subdirectory with dependencies now works.

* nsd/log.c: The sourge of modlog has been removed. All code
included with AOLserver that used Ns_ModLog now doesn't. Many log
statements are now hopefully more standardized. This will be a
continuing improvement over the next several updates. I would
like to use gcc's __FUNCTION__ macro but it doesn't work on native
compilers, but we may start using __LINE__ and __FILE__ instead or
replace Ns_Log with a smart macro that takes care of all this
stuff for us.

* nsd/tclmisc.c (NsTclInfoCmd): ns_info pid added to return the
process id.

2000-08-01 Kriston J. Rehberg <[email protected]>

* nsd/adp.c (Ns_AdpRequest): The enableexpire option was putting
an Expires header even if it already existed.

* nsd/return.c (Ns_ConnReturnNotice): Yikes, /face should have
been /font. No more fonts, colors, etc, on default notice pages.

* nsd/tclsock.c (NsTclSockOpenCmd): Removed spurious Ns_Log Notice
from ns_sockopen.

* tcl/form.tcl (ns_getform): MSIE presents the wrong stuff to the
server when a multipart/formdata POST is redirected. Workaround
contributed by Joseph Bank.

* tcl/fastpath.tcl (_ns_dirlist): base href removed -- links are
now fully-qualified.

* Makefile (install): include and lib dirs are now included in
binary distribution.

* tcl/http.tcl (_ns_http_gets): \n replaced by \r in all but
_ns_http_gets so that arbitrary headers get set correctly.
Contributed by <[email protected]>.

* tcl7.6/generic/tclPosixStr.c (Tcl_SignalMsg): Patch to Tcl 7.6
for Red Hat on SPARC architectures. Contributed by Mike Chan
<[email protected]>

2000-07-13 Kriston J. Rehberg <[email protected]>

* scripts/nsd.tcl: nssslmodule names the nsssl/nsssle binary's
filename. nscp_port tells nscp what port to listen.

* nssock: nssock.c renamed sock.c, SSL support has been merged
back with nssock so that both nsssl and nssock use identical
socket code.
Expand Down
41 changes: 9 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,34 +41,34 @@ MODULES = nssock nscgi nscp nslog nsperm nsext nspd nsftp
#
# AOLserver main executable statically-links the thread and tcl libraries.
#
NSDDIRS = thread tcl7.6 tcl8.3.0 nsd

ALLDIRS = $(NSDDIRS) $(MODULES)
ALLDIRS = nsd $(MODULES)

all:
all: libtcl76 libtcl8x libnsthread
@for i in $(ALLDIRS); do \
$(ECHO) "building \"$$i\""; \
( cd $$i && $(MAKE) all ) || exit 1; \
done
(cd nssock && $(MAKE) SSL=1)

#
# Installation to $(INST) directory
# Installation to $(PREFIX) directory
#
# Note: Dependencies are checked in the individual directories.
#
install:
$(MKDIR) $(INSTBIN)
$(MKDIR) $(INSTLOG)
$(MKDIR) $(INSTTCL)
$(MKDIR) $(INSTLIB)
$(MKDIR) $(INSTSRVMOD)
$(MKDIR) $(INSTSRVPAG)
$(CP) -r tcl $(INSTMOD)
$(CP) scripts/translate-ini $(INSTBIN)
$(CP) scripts/translate-tcl $(INSTBIN)
test -f $(INST)/nsd.tcl \
$(CP) -r include $(INSTINC)
test -f $(INST)/nsd.tcl \
|| $(CP) scripts/nsd.tcl $(INST)
test -f $(INSTSRVPAG)/index.html \
test -f $(INSTSRVPAG)/index.html \
|| $(CP) scripts/index.html $(INSTSRVPAG)
@for i in $(ALLDIRS); do \
$(ECHO) "installing \"$$i\""; \
Expand All @@ -77,34 +77,11 @@ install:
(cd nssock && $(MAKE) SSL=1 install)

#
# Cleaning rules.
# Cleaning
#
# clean: remove objects
# clobber: remove as much cruft as possible
# distclean: clean for non-CVS distribution
#
clean:
clean: libtcl8x-clean libtcl76-clean libnsthread-clean
@for i in $(ALLDIRS); do \
$(ECHO) "cleaning \"$$i\""; \
( cd $$i && $(MAKE) $@) || exit 1; \
done
(cd nssock && $(MAKE) SSL=1 clean)

clobber: clean
$(RM) *~
@for i in $(ALLDIRS); do \
$(ECHO) "clobbering \"$$i\""; \
( cd $$i && $(MAKE) $@) || exit 1; \
done

distclean: clobber
$(RM) TAGS core
@for i in $(ALLDIRS); do \
$(ECHO) "distcleaning \"$$i\""; \
( cd $$i && $(MAKE) $@) || exit 1; \
done
$(FIND) . -name \*~ -exec $(RM) {} \;
$(FIND) . -name CVS -exec $(RM) -r {} \; -prune
$(FIND) . -name .cvsignore -exec $(RM) {} \;
$(FIND) . -name TODO -exec $(RM) {} \;

Loading

0 comments on commit 022e774

Please sign in to comment.