diff 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
line wrap: on
line diff
--- a/Makefile.in	Fri Jan 10 23:11:43 2003 +0000
+++ b/Makefile.in	Fri Jan 10 23:25:45 2003 +0000
@@ -1,6 +1,6 @@
-# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
 
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -62,10 +62,12 @@
 CC = @CC@
 CONFIGFILE = @CONFIGFILE@
 DOCDIR = @DOCDIR@
+LIBPAM = @LIBPAM@
 MAKEINFO = @MAKEINFO@
 PACKAGE = @PACKAGE@
 SENDMAILPROG = @SENDMAILPROG@
 SPOOLDIR = @SPOOLDIR@
+USERSFILE = @USERSFILE@
 VERSION = @VERSION@
 
 SUBDIRS = src docs packages
@@ -96,7 +98,7 @@
 $(ACLOCAL_M4):  configure.in 
 	cd $(srcdir) && $(ACLOCAL)
 
-config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 	$(SHELL) ./config.status --recheck
 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
 	cd $(srcdir) && $(AUTOCONF)
@@ -165,7 +167,7 @@
 	dot_seen=no; \
 	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
 	  rev="$$subdir $$rev"; \
-	  test "$$subdir" = "." && dot_seen=yes; \
+	  test "$$subdir" != "." || dot_seen=yes; \
 	done; \
 	test "$$dot_seen" = "no" && rev=". $$rev"; \
 	target=`echo $@ | sed s/-recursive//`; \
@@ -207,7 +209,7 @@
 	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
-	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
+	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
 
 mostlyclean-tags:
 
@@ -357,14 +359,14 @@
 
 
 install-data-local:
-	$(INSTALL) -m 2755 -o news -g news -d $(DESTDIR)$(SPOOLDIR)
+	$(INSTALL) -m 06755 -o news -g news -d $(DESTDIR)$(SPOOLDIR)
 	$(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/data
 	$(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/lock
 	$(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/requested
 	$(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/outgoing
 	$(INSTALL) -o news -g news -d $(DESTDIR)$(SPOOLDIR)/overview
 	chown -R news.news $(DESTDIR)$(SPOOLDIR)
-	$(INSTALL) -m 755 -o 0 -g 0 -d $(DESTDIR)$(DOCDIR)
+	$(INSTALL) -m 0755 -o 0 -g 0 -d $(DESTDIR)$(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DESTDIR)$(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DESTDIR)$(DOCDIR)
 	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DESTDIR)$(DOCDIR)
@@ -375,7 +377,7 @@
 	$(INSTALL_DATA) -D -o 0 -g 0 $(srcdir)/noffle.conf.example \
                                   $(DESTDIR)$(CONFIGFILE).example
 	chown news.news $(DESTDIR)$(CONFIGFILE).example
-	chmod 600 $(DESTDIR)$(CONFIGFILE).example
+	chmod 0640 $(DESTDIR)$(CONFIGFILE).example
 	@echo
 	@echo "****************************************************************"
 	@echo "You should now copy $(DESTDIR)$(CONFIGFILE).example to $(CONFIGFILE)"
@@ -385,7 +387,7 @@
 
 install-exec-local:
 	chown news.news $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
-	chmod 4755 $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
+	chmod 06755 $(DESTDIR)$(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
 
 uninstall-local:
 	rm -f $(DESTDIR)$(DOCDIR)/AUTHORS