Mercurial > noffle
comparison src/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, |
61 PRE_UNINSTALL = : | 61 PRE_UNINSTALL = : |
62 POST_UNINSTALL = : | 62 POST_UNINSTALL = : |
63 CC = @CC@ | 63 CC = @CC@ |
64 CONFIGFILE = @CONFIGFILE@ | 64 CONFIGFILE = @CONFIGFILE@ |
65 DOCDIR = @DOCDIR@ | 65 DOCDIR = @DOCDIR@ |
66 LIBPAM = @LIBPAM@ | |
66 MAKEINFO = @MAKEINFO@ | 67 MAKEINFO = @MAKEINFO@ |
67 PACKAGE = @PACKAGE@ | 68 PACKAGE = @PACKAGE@ |
68 SENDMAILPROG = @SENDMAILPROG@ | 69 SENDMAILPROG = @SENDMAILPROG@ |
69 SPOOLDIR = @SPOOLDIR@ | 70 SPOOLDIR = @SPOOLDIR@ |
71 USERSFILE = @USERSFILE@ | |
70 VERSION = @VERSION@ | 72 VERSION = @VERSION@ |
71 | 73 |
72 bin_PROGRAMS = noffle | 74 bin_PROGRAMS = noffle |
73 | 75 |
74 noffle_SOURCES = client.c client.h common.h configfile.c configfile.h content.c content.h control.c control.h database.c database.h dynamicstring.c dynamicstring.h expire.c expire.h fetch.c fetch.h fetchlist.c fetchlist.h filter.c filter.h group.c group.h itemlist.c itemlist.h lock.c lock.h log.c log.h noffle.c online.c online.h outgoing.c outgoing.h over.c over.h portable.h post.c post.h protocol.c protocol.h pseudo.c pseudo.h request.c request.h server.c server.h util.c util.h wildmat.c wildmat.h | 76 noffle_SOURCES = authenticate.c authenticate.h client.c client.h common.h configfile.c configfile.h content.c content.h control.c control.h database.c database.h dynamicstring.c dynamicstring.h expire.c expire.h fetch.c fetch.h fetchlist.c fetchlist.h filter.c filter.h group.c group.h itemlist.c itemlist.h lock.c lock.h log.c log.h noffle.c online.c online.h outgoing.c outgoing.h over.c over.h portable.h post.c post.h protocol.c protocol.h pseudo.c pseudo.h request.c request.h server.c server.h util.c util.h wildmat.c wildmat.h |
75 | 77 |
76 | 78 |
77 noffle_LDADD = -lgdbm | 79 noffle_LDADD = -lgdbm $(LIBPAM) |
78 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | 80 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
79 CONFIG_HEADER = ../config.h | 81 CONFIG_HEADER = ../config.h |
80 CONFIG_CLEAN_FILES = | 82 CONFIG_CLEAN_FILES = |
81 PROGRAMS = $(bin_PROGRAMS) | 83 PROGRAMS = $(bin_PROGRAMS) |
82 | 84 |
83 | 85 |
84 DEFS = @DEFS@ -I. -I$(srcdir) -I.. | 86 DEFS = @DEFS@ -I. -I$(srcdir) -I.. |
85 CPPFLAGS = @CPPFLAGS@ | 87 CPPFLAGS = @CPPFLAGS@ |
86 LDFLAGS = @LDFLAGS@ | 88 LDFLAGS = @LDFLAGS@ |
87 LIBS = @LIBS@ | 89 LIBS = @LIBS@ |
88 noffle_OBJECTS = client.o configfile.o content.o control.o database.o \ | 90 noffle_OBJECTS = authenticate.o client.o configfile.o content.o \ |
89 dynamicstring.o expire.o fetch.o fetchlist.o filter.o group.o \ | 91 control.o database.o dynamicstring.o expire.o fetch.o fetchlist.o \ |
90 itemlist.o lock.o log.o noffle.o online.o outgoing.o over.o post.o \ | 92 filter.o group.o itemlist.o lock.o log.o noffle.o online.o outgoing.o \ |
91 protocol.o pseudo.o request.o server.o util.o wildmat.o | 93 over.o post.o protocol.o pseudo.o request.o server.o util.o wildmat.o |
92 noffle_DEPENDENCIES = | 94 noffle_DEPENDENCIES = |
93 noffle_LDFLAGS = | 95 noffle_LDFLAGS = |
94 CFLAGS = @CFLAGS@ | 96 CFLAGS = @CFLAGS@ |
95 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | 97 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
96 CCLD = $(CC) | 98 CCLD = $(CC) |
100 | 102 |
101 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | 103 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
102 | 104 |
103 TAR = tar | 105 TAR = tar |
104 GZIP_ENV = --best | 106 GZIP_ENV = --best |
105 DEP_FILES = .deps/client.P .deps/configfile.P .deps/content.P \ | 107 DEP_FILES = .deps/authenticate.P .deps/client.P .deps/configfile.P \ |
106 .deps/control.P .deps/database.P .deps/dynamicstring.P .deps/expire.P \ | 108 .deps/content.P .deps/control.P .deps/database.P .deps/dynamicstring.P \ |
107 .deps/fetch.P .deps/fetchlist.P .deps/filter.P .deps/group.P \ | 109 .deps/expire.P .deps/fetch.P .deps/fetchlist.P .deps/filter.P \ |
108 .deps/itemlist.P .deps/lock.P .deps/log.P .deps/noffle.P .deps/online.P \ | 110 .deps/group.P .deps/itemlist.P .deps/lock.P .deps/log.P .deps/noffle.P \ |
109 .deps/outgoing.P .deps/over.P .deps/post.P .deps/protocol.P \ | 111 .deps/online.P .deps/outgoing.P .deps/over.P .deps/post.P \ |
110 .deps/pseudo.P .deps/request.P .deps/server.P .deps/util.P \ | 112 .deps/protocol.P .deps/pseudo.P .deps/request.P .deps/server.P \ |
111 .deps/wildmat.P | 113 .deps/util.P .deps/wildmat.P |
112 SOURCES = $(noffle_SOURCES) | 114 SOURCES = $(noffle_SOURCES) |
113 OBJECTS = $(noffle_OBJECTS) | 115 OBJECTS = $(noffle_OBJECTS) |
114 | 116 |
115 all: all-redirect | 117 all: all-redirect |
116 .SUFFIXES: | 118 .SUFFIXES: |
182 list='$(SOURCES) $(HEADERS)'; \ | 184 list='$(SOURCES) $(HEADERS)'; \ |
183 unique=`for i in $$list; do echo $$i; done | \ | 185 unique=`for i in $$list; do echo $$i; done | \ |
184 awk ' { files[$$0] = 1; } \ | 186 awk ' { files[$$0] = 1; } \ |
185 END { for (i in files) print i; }'`; \ | 187 END { for (i in files) print i; }'`; \ |
186 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ | 188 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
187 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) | 189 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) |
188 | 190 |
189 mostlyclean-tags: | 191 mostlyclean-tags: |
190 | 192 |
191 clean-tags: | 193 clean-tags: |
192 | 194 |