Mercurial > noffle
annotate packages/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 |
rev | line source |
---|---|
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am |
225 | 2 |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. |
225 | 4 # This Makefile.in is free software; the Free Software Foundation |
5 # gives unlimited permission to copy and/or distribute it, | |
6 # with or without modifications, as long as this notice is preserved. | |
7 | |
8 # This program is distributed in the hope that it will be useful, | |
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
11 # PARTICULAR PURPOSE. | |
12 | |
13 # Process this file with automake to produce Makefile.in | |
14 | |
15 | |
16 SHELL = @SHELL@ | |
17 | |
18 srcdir = @srcdir@ | |
19 top_srcdir = @top_srcdir@ | |
20 VPATH = @srcdir@ | |
21 prefix = @prefix@ | |
22 exec_prefix = @exec_prefix@ | |
23 | |
24 bindir = @bindir@ | |
25 sbindir = @sbindir@ | |
26 libexecdir = @libexecdir@ | |
27 datadir = @datadir@ | |
28 sysconfdir = @sysconfdir@ | |
29 sharedstatedir = @sharedstatedir@ | |
30 localstatedir = @localstatedir@ | |
31 libdir = @libdir@ | |
32 infodir = @infodir@ | |
33 mandir = @mandir@ | |
34 includedir = @includedir@ | |
35 oldincludedir = /usr/include | |
36 | |
37 DESTDIR = | |
38 | |
39 pkgdatadir = $(datadir)/@PACKAGE@ | |
40 pkglibdir = $(libdir)/@PACKAGE@ | |
41 pkgincludedir = $(includedir)/@PACKAGE@ | |
42 | |
43 top_builddir = .. | |
44 | |
45 ACLOCAL = @ACLOCAL@ | |
46 AUTOCONF = @AUTOCONF@ | |
47 AUTOMAKE = @AUTOMAKE@ | |
48 AUTOHEADER = @AUTOHEADER@ | |
49 | |
50 INSTALL = @INSTALL@ | |
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) | |
52 INSTALL_DATA = @INSTALL_DATA@ | |
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
54 transform = @program_transform_name@ | |
55 | |
56 NORMAL_INSTALL = : | |
57 PRE_INSTALL = : | |
58 POST_INSTALL = : | |
59 NORMAL_UNINSTALL = : | |
60 PRE_UNINSTALL = : | |
61 POST_UNINSTALL = : | |
62 CC = @CC@ | |
63 CONFIGFILE = @CONFIGFILE@ | |
64 DOCDIR = @DOCDIR@ | |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
65 LIBPAM = @LIBPAM@ |
225 | 66 MAKEINFO = @MAKEINFO@ |
67 PACKAGE = @PACKAGE@ | |
68 SENDMAILPROG = @SENDMAILPROG@ | |
69 SPOOLDIR = @SPOOLDIR@ | |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
70 USERSFILE = @USERSFILE@ |
225 | 71 VERSION = @VERSION@ |
72 | |
73 SUBDIRS = redhat | |
74 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
75 CONFIG_HEADER = ../config.h | |
76 CONFIG_CLEAN_FILES = | |
77 DIST_COMMON = Makefile.am Makefile.in | |
78 | |
79 | |
80 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
81 | |
82 TAR = tar | |
83 GZIP_ENV = --best | |
84 all: all-redirect | |
85 .SUFFIXES: | |
86 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
87 cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/Makefile | |
88 | |
89 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) | |
90 cd $(top_builddir) \ | |
91 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
92 | |
93 | |
94 # This directory's subdirectories are mostly independent; you can cd | |
95 # into them and run `make' without going through this Makefile. | |
96 # To change the values of `make' variables: instead of editing Makefiles, | |
97 # (1) if the variable is set in `config.status', edit `config.status' | |
98 # (which will cause the Makefiles to be regenerated when you run `make'); | |
99 # (2) otherwise, pass the desired values on the `make' command line. | |
100 | |
101 @SET_MAKE@ | |
102 | |
103 all-recursive install-data-recursive install-exec-recursive \ | |
104 installdirs-recursive install-recursive uninstall-recursive \ | |
105 check-recursive installcheck-recursive info-recursive dvi-recursive: | |
106 @set fnord $(MAKEFLAGS); amf=$$2; \ | |
107 dot_seen=no; \ | |
108 target=`echo $@ | sed s/-recursive//`; \ | |
109 list='$(SUBDIRS)'; for subdir in $$list; do \ | |
110 echo "Making $$target in $$subdir"; \ | |
111 if test "$$subdir" = "."; then \ | |
112 dot_seen=yes; \ | |
113 local_target="$$target-am"; \ | |
114 else \ | |
115 local_target="$$target"; \ | |
116 fi; \ | |
117 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
118 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ | |
119 done; \ | |
120 if test "$$dot_seen" = "no"; then \ | |
121 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | |
122 fi; test -z "$$fail" | |
123 | |
124 mostlyclean-recursive clean-recursive distclean-recursive \ | |
125 maintainer-clean-recursive: | |
126 @set fnord $(MAKEFLAGS); amf=$$2; \ | |
127 dot_seen=no; \ | |
128 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ | |
129 rev="$$subdir $$rev"; \ | |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
130 test "$$subdir" != "." || dot_seen=yes; \ |
225 | 131 done; \ |
132 test "$$dot_seen" = "no" && rev=". $$rev"; \ | |
133 target=`echo $@ | sed s/-recursive//`; \ | |
134 for subdir in $$rev; do \ | |
135 echo "Making $$target in $$subdir"; \ | |
136 if test "$$subdir" = "."; then \ | |
137 local_target="$$target-am"; \ | |
138 else \ | |
139 local_target="$$target"; \ | |
140 fi; \ | |
141 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | |
142 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ | |
143 done && test -z "$$fail" | |
144 tags-recursive: | |
145 list='$(SUBDIRS)'; for subdir in $$list; do \ | |
146 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | |
147 done | |
148 | |
149 tags: TAGS | |
150 | |
151 ID: $(HEADERS) $(SOURCES) $(LISP) | |
152 list='$(SOURCES) $(HEADERS)'; \ | |
153 unique=`for i in $$list; do echo $$i; done | \ | |
154 awk ' { files[$$0] = 1; } \ | |
155 END { for (i in files) print i; }'`; \ | |
156 here=`pwd` && cd $(srcdir) \ | |
157 && mkid -f$$here/ID $$unique $(LISP) | |
158 | |
159 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) | |
160 tags=; \ | |
161 here=`pwd`; \ | |
162 list='$(SUBDIRS)'; for subdir in $$list; do \ | |
163 if test "$$subdir" = .; then :; else \ | |
164 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ | |
165 fi; \ | |
166 done; \ | |
167 list='$(SOURCES) $(HEADERS)'; \ | |
168 unique=`for i in $$list; do echo $$i; done | \ | |
169 awk ' { files[$$0] = 1; } \ | |
170 END { for (i in files) print i; }'`; \ | |
171 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ | |
288
c02c4eb95f95
[svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents:
278
diff
changeset
|
172 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) |
225 | 173 |
174 mostlyclean-tags: | |
175 | |
176 clean-tags: | |
177 | |
178 distclean-tags: | |
179 -rm -f TAGS ID | |
180 | |
181 maintainer-clean-tags: | |
182 | |
183 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
184 | |
185 subdir = packages | |
186 | |
187 distdir: $(DISTFILES) | |
188 here=`cd $(top_builddir) && pwd`; \ | |
189 top_distdir=`cd $(top_distdir) && pwd`; \ | |
190 distdir=`cd $(distdir) && pwd`; \ | |
191 cd $(top_srcdir) \ | |
192 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu packages/Makefile | |
193 @for file in $(DISTFILES); do \ | |
194 d=$(srcdir); \ | |
195 if test -d $$d/$$file; then \ | |
196 cp -pr $$d/$$file $(distdir)/$$file; \ | |
197 else \ | |
198 test -f $(distdir)/$$file \ | |
199 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
200 || cp -p $$d/$$file $(distdir)/$$file || :; \ | |
201 fi; \ | |
202 done | |
203 for subdir in $(SUBDIRS); do \ | |
204 if test "$$subdir" = .; then :; else \ | |
205 test -d $(distdir)/$$subdir \ | |
206 || mkdir $(distdir)/$$subdir \ | |
207 || exit 1; \ | |
208 chmod 777 $(distdir)/$$subdir; \ | |
209 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ | |
210 || exit 1; \ | |
211 fi; \ | |
212 done | |
213 info-am: | |
214 info: info-recursive | |
215 dvi-am: | |
216 dvi: dvi-recursive | |
217 check-am: all-am | |
218 check: check-recursive | |
219 installcheck-am: | |
220 installcheck: installcheck-recursive | |
221 install-exec-am: | |
222 install-exec: install-exec-recursive | |
223 | |
224 install-data-am: | |
225 install-data: install-data-recursive | |
226 | |
227 install-am: all-am | |
228 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
229 install: install-recursive | |
230 uninstall-am: | |
231 uninstall: uninstall-recursive | |
232 all-am: Makefile | |
233 all-redirect: all-recursive | |
234 install-strip: | |
235 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install | |
236 installdirs: installdirs-recursive | |
237 installdirs-am: | |
238 | |
239 | |
240 mostlyclean-generic: | |
241 | |
242 clean-generic: | |
243 | |
244 distclean-generic: | |
245 -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
246 -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
247 | |
248 maintainer-clean-generic: | |
249 mostlyclean-am: mostlyclean-tags mostlyclean-generic | |
250 | |
251 mostlyclean: mostlyclean-recursive | |
252 | |
253 clean-am: clean-tags clean-generic mostlyclean-am | |
254 | |
255 clean: clean-recursive | |
256 | |
257 distclean-am: distclean-tags distclean-generic clean-am | |
258 | |
259 distclean: distclean-recursive | |
260 | |
261 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ | |
262 distclean-am | |
263 @echo "This command is intended for maintainers to use;" | |
264 @echo "it deletes files that may require special tools to rebuild." | |
265 | |
266 maintainer-clean: maintainer-clean-recursive | |
267 | |
268 .PHONY: install-data-recursive uninstall-data-recursive \ | |
269 install-exec-recursive uninstall-exec-recursive installdirs-recursive \ | |
270 uninstalldirs-recursive all-recursive check-recursive \ | |
271 installcheck-recursive info-recursive dvi-recursive \ | |
272 mostlyclean-recursive distclean-recursive clean-recursive \ | |
273 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ | |
274 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ | |
275 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ | |
276 install-exec install-data-am install-data install-am install \ | |
277 uninstall-am uninstall all-redirect all-am all installdirs-am \ | |
278 installdirs mostlyclean-generic distclean-generic clean-generic \ | |
279 maintainer-clean-generic clean mostlyclean distclean maintainer-clean | |
280 | |
281 | |
282 # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
283 # Otherwise a system limit (for SysV at least) may be exceeded. | |
284 .NOEXPORT: |