Mercurial > noffle
view Makefile.am @ 188:f1bacee93ca6 noffle
[svn] * src/client.c,src/client.h,src/fetch.c,src/noffle.c,src/server.c:
robustness - instead of retruning simple Passed/Failed statuses from
connection functions, return an integer status instead. This allows
Noffle to distinguish between a connection failure, an unrecoverable
protocol error and a recoverable problem. As a concrete instance, Noffle
will no longer abort the connection if a group is removed from the
upstream server. Also beef up error detection a bit.
* src/content.c: instead of overwriting the existing content file(s) when
updating - which leaves a window where Noffle is vulnerable to failure
which will leave the content file corrupted (yes, it happened to me),
write a new content file and rename it over the old file only when it
has been written and closed with no errors reported.
author | bears |
---|---|
date | Wed, 12 Sep 2001 21:33:44 +0100 |
parents | 2842f50feb55 |
children | a34620942998 |
line wrap: on
line source
# Process this file with automake to produce Makefile.in SUBDIRS = src docs EXTRA_DIST = $(PACKAGE).conf.example install-data-local: $(INSTALL) -m 2755 -o news -g news -d $(SPOOLDIR) $(INSTALL) -o news -g news -d $(SPOOLDIR)/data $(INSTALL) -o news -g news -d $(SPOOLDIR)/lock $(INSTALL) -o news -g news -d $(SPOOLDIR)/requested $(INSTALL) -o news -g news -d $(SPOOLDIR)/outgoing $(INSTALL) -o news -g news -d $(SPOOLDIR)/overview chown -R news.news $(SPOOLDIR) $(INSTALL) -m 755 -o 0 -g 0 -d $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/INSTALL $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NEWS $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DOCDIR) $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/noffle.conf.example \ /etc/noffle.conf.example chown news.news /etc/noffle.conf.example chmod 600 /etc/noffle.conf.example @echo @echo "****************************************************************" @echo "You should now copy /etc/noffle.conf.example to /etc/noffle.conf" @echo "and edit that copy." @echo "****************************************************************" @echo install-exec-local: chown news.news $(bindir)/$(PACKAGE) chmod 4755 $(bindir)/$(PACKAGE) uninstall-local: rm -f $(DOCDIR)/AUTHORS rm -f $(DOCDIR)/COPYING rm -f $(DOCDIR)/ChangeLog rm -f $(DOCDIR)/INSTALL rm -f $(DOCDIR)/NEWS rm -f $(DOCDIR)/README rm -f $(DOCDIR)/TODO rm -f /etc/noffle.conf.example @echo @echo "****************************************************************" @echo "The NOFFLE spool directory $(SPOOLDIR) and the configfile" @echo "$(CONFIGFILE) have *not* been removed. Please do this" @echo "manually." @echo "****************************************************************" @echo