comparison Makefile.in @ 288:c02c4eb95f95 noffle

[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user and noffle-group configs. * src/configfile.c,src/fetch.c,src/fetchlist.c,src/protocol.c, src/server.c: Replace strcpy() with Utl_cpyStr() where appropriate. See Debian bug 168128. * src/control.c,src/configfile.c,src/noffle.c: Replace [s]scanf("%s") with [s]scanf(MAXCHAR_FMT). * src/noffle.c: Log warning if noffle.conf is world readable. * src/noffle.c: Restrict most options to news admins; i.e. those who are root or news on running Noffle. * Makefile.in,acconfig.h,aclocal.m4,config.h.in,configure,configure.in, docs/Makefile.in,docs/noffle.conf.5,packages/Makefile.in, packages/redhat/Makefile.in,src/Makefile.am,src/Makefile.in, src/authenticate.c,src/authenticate.h,src/noffle.c,src/server.c: Add basic authentication using either Noffle-specific user file or authenticating via PAM (service 'noffle'). PAM authentication needs to run as root, so a Noffle server that needs PAM must be started by root. Helpful (?) error messages will be logged if not. Noffle will switch ruid and euid to 'news' (or whatever is configured) ASAP. * src/noffle.c: Add uid checking.
author bears
date Fri, 10 Jan 2003 23:25:45 +0000
parents a0497ffac49b
children a6e3b57fb035
comparison
equal deleted inserted replaced
287:01755687c565 288:c02c4eb95f95
1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am 1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
2 2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation 4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it, 5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved. 6 # with or without modifications, as long as this notice is preserved.
7 7
8 # This program is distributed in the hope that it will be useful, 8 # This program is distributed in the hope that it will be useful,
60 PRE_UNINSTALL = : 60 PRE_UNINSTALL = :
61 POST_UNINSTALL = : 61 POST_UNINSTALL = :
62 CC = @CC@ 62 CC = @CC@
63 CONFIGFILE = @CONFIGFILE@ 63 CONFIGFILE = @CONFIGFILE@
64 DOCDIR = @DOCDIR@ 64 DOCDIR = @DOCDIR@
65 LIBPAM = @LIBPAM@
65 MAKEINFO = @MAKEINFO@ 66 MAKEINFO = @MAKEINFO@
66 PACKAGE = @PACKAGE@ 67 PACKAGE = @PACKAGE@
67 SENDMAILPROG = @SENDMAILPROG@ 68 SENDMAILPROG = @SENDMAILPROG@
68 SPOOLDIR = @SPOOLDIR@ 69 SPOOLDIR = @SPOOLDIR@
70 USERSFILE = @USERSFILE@
69 VERSION = @VERSION@ 71 VERSION = @VERSION@
70 72
71 SUBDIRS = src docs packages 73 SUBDIRS = src docs packages
72 74
73 EXTRA_DIST = $(PACKAGE).conf.example 75 EXTRA_DIST = $(PACKAGE).conf.example
94 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 96 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
95 97
96 $(ACLOCAL_M4): configure.in 98 $(ACLOCAL_M4): configure.in
97 cd $(srcdir) && $(ACLOCAL) 99 cd $(srcdir) && $(ACLOCAL)
98 100
99 config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) 101 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
100 $(SHELL) ./config.status --recheck 102 $(SHELL) ./config.status --recheck
101 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 103 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
102 cd $(srcdir) && $(AUTOCONF) 104 cd $(srcdir) && $(AUTOCONF)
103 105
104 config.h: stamp-h 106 config.h: stamp-h
163 maintainer-clean-recursive: 165 maintainer-clean-recursive:
164 @set fnord $(MAKEFLAGS); amf=$$2; \ 166 @set fnord $(MAKEFLAGS); amf=$$2; \
165 dot_seen=no; \ 167 dot_seen=no; \
166 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ 168 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
167 rev="$$subdir $$rev"; \ 169 rev="$$subdir $$rev"; \
168 test "$$subdir" = "." && dot_seen=yes; \ 170 test "$$subdir" != "." || dot_seen=yes; \
169 done; \ 171 done; \
170 test "$$dot_seen" = "no" && rev=". $$rev"; \ 172 test "$$dot_seen" = "no" && rev=". $$rev"; \
171 target=`echo $@ | sed s/-recursive//`; \ 173 target=`echo $@ | sed s/-recursive//`; \
172 for subdir in $$rev; do \ 174 for subdir in $$rev; do \
173 echo "Making $$target in $$subdir"; \ 175 echo "Making $$target in $$subdir"; \
205 list='$(SOURCES) $(HEADERS)'; \ 207 list='$(SOURCES) $(HEADERS)'; \
206 unique=`for i in $$list; do echo $$i; done | \ 208 unique=`for i in $$list; do echo $$i; done | \
207 awk ' { files[$$0] = 1; } \ 209 awk ' { files[$$0] = 1; } \
208 END { for (i in files) print i; }'`; \ 210 END { for (i in files) print i; }'`; \
209 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 211 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
210 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 212 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
211 213
212 mostlyclean-tags: 214 mostlyclean-tags:
213 215
214 clean-tags: 216 clean-tags:
215 217
355 installdirs mostlyclean-generic distclean-generic clean-generic \ 357 installdirs mostlyclean-generic distclean-generic clean-generic \
356 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 358 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
357 359
358 360
359 install-data-local: 361 install-data-local:
360 $(INSTALL) -m 2755 -o news -g news -d $(DESTDIR)$(SPOOLDIR) 362 $(INSTALL) -m 06755 -o news -g news -d $(DESTDIR)$(SPOOLDIR)
361 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/data 363 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/data
362 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/lock 364 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/lock
363 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/requested 365 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/requested
364 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/outgoing 366 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/outgoing
365 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/overview 367 $(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/overview
366 chown -R news.news $(DESTDIR)$(SPOOLDIR) 368 chown -R news.news $(DESTDIR)$(SPOOLDIR)
367 $(INSTALL) -m 755 -o 0 -g 0 -d $(DESTDIR)$(DOCDIR) 369 $(INSTALL) -m 0755 -o 0 -g 0 -d $(DESTDIR)$(DOCDIR)
368 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DESTDIR)$(DOCDIR) 370 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DESTDIR)$(DOCDIR)
369 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DESTDIR)$(DOCDIR) 371 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DESTDIR)$(DOCDIR)
370 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DESTDIR)$(DOCDIR) 372 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DESTDIR)$(DOCDIR)
371 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/INSTALL $(DESTDIR)$(DOCDIR) 373 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/INSTALL $(DESTDIR)$(DOCDIR)
372 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NEWS $(DESTDIR)$(DOCDIR) 374 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NEWS $(DESTDIR)$(DOCDIR)
373 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DESTDIR)$(DOCDIR) 375 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DESTDIR)$(DOCDIR)
374 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DESTDIR)$(DOCDIR) 376 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DESTDIR)$(DOCDIR)
375 $(INSTALL_DATA) -D -o 0 -g 0 $(srcdir)/noffle.conf.example \ 377 $(INSTALL_DATA) -D -o 0 -g 0 $(srcdir)/noffle.conf.example \
376 $(DESTDIR)$(CONFIGFILE).example 378 $(DESTDIR)$(CONFIGFILE).example
377 chown news.news $(DESTDIR)$(CONFIGFILE).example 379 chown news.news $(DESTDIR)$(CONFIGFILE).example
378 chmod 600 $(DESTDIR)$(CONFIGFILE).example 380 chmod 0640 $(DESTDIR)$(CONFIGFILE).example
379 @echo 381 @echo
380 @echo "****************************************************************" 382 @echo "****************************************************************"
381 @echo "You should now copy $(DESTDIR)$(CONFIGFILE).example to $(CONFIGFILE)" 383 @echo "You should now copy $(DESTDIR)$(CONFIGFILE).example to $(CONFIGFILE)"
382 @echo "and edit that copy." 384 @echo "and edit that copy."
383 @echo "****************************************************************" 385 @echo "****************************************************************"
384 @echo 386 @echo
385 387
386 install-exec-local: 388 install-exec-local:
387 chown news.news $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'` 389 chown news.news $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
388 chmod 4755 $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'` 390 chmod 06755 $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
389 391
390 uninstall-local: 392 uninstall-local:
391 rm -f $(DESTDIR)$(DOCDIR)/AUTHORS 393 rm -f $(DESTDIR)$(DOCDIR)/AUTHORS
392 rm -f $(DESTDIR)$(DOCDIR)/COPYING 394 rm -f $(DESTDIR)$(DOCDIR)/COPYING
393 rm -f $(DESTDIR)$(DOCDIR)/ChangeLog 395 rm -f $(DESTDIR)$(DOCDIR)/ChangeLog