Index: inn/INSTALL
diff -c inn/INSTALL:1.44.2.9 inn/INSTALL:1.44.2.15
*** inn/INSTALL:1.44.2.9 Mon Jan 8 16:29:38 2001
--- inn/INSTALL Fri Apr 13 06:03:14 2001
***************
*** 19,25 ****
after building INN and then comparing the new sample configuration files
with your current ones to see if anything has changed. If you take this
route, the old binaries, scripts, and man pages will be saved with an
! extension of .OLD so that you can easily back out.
Supported Systems
--- 19,30 ----
after building INN and then comparing the new sample configuration files
with your current ones to see if anything has changed. If you take this
route, the old binaries, scripts, and man pages will be saved with an
! extension of .OLD so that you can easily back out. Be sure to configure
! INN with the same options that you used previously if you take this
! approach (in particular, INN compiled with --with-largefiles can't read
! the data structures written by INN compiled without that flag and vice
! versa). If you don't remember what options you used but you have your
! old build tree, look at the comments at the beginning of config.status.
Supported Systems
***************
*** 72,93 ****
make to build INN should be sufficient.
* If you want to enable support for authenticated control messages (this
! is NOT required) then you will need to install PGP. Unfortunately,
! the licensing restrictions on PGP inside the United States are
! extremely unclear; it's possible that if you are installing INN for a
! company in the U.S., even if the news server is not part of the
! business of that company, you would need to purchase a commercial
! license for PGP. For an educational or non-profit organization, this
! shouldn't be a problem. See for more
! information about PGP, including the licensing restrictions.
!
! You may also want to look at GnuPG from , a
! free software OpenPGP implementation. Unfortunately, most control
! message signatures are currently PGP 2.6.2-compatible signatures,
! which cannot be handled by stock GnuPG for patent reasons. However,
! there are add-on modules for GnuPG that allow verification of those
! types of signatures, particularly if you are outside the United
! States.
Also, if you want to use either the Tcl or Python embedded hooks, you'll
need to have suitable versions of Tcl and/or Python installed. See
--- 77,98 ----
make to build INN should be sufficient.
* If you want to enable support for authenticated control messages (this
! is not required but is highly recommended) then you will need to
! install some version of PGP. The recommended version is GnuPG, since
! it's actively developed, supports OpenPGP, is freely available and
! free to use for any purpose (including in the US), and (as of version
! 1.0.4 at least) supports RSA signatures used by most current control
! message senders. You need to install both GnuPG and pgpgpg from
! ; a link for pgpgpg is under "Front ends."
!
! Alternately, you can install PGP from or one of
! the international versions of it. Be warned, however, that the
! licensing restrictions on PGP inside the United States are extremely
! unclear; it's possible that if you are installing INN for a company in
! the U.S., even if the news server is not part of the business of that
! company, you would need to purchase a commercial license for PGP. For
! an educational or non-profit organization, this shouldn't be a
! problem.
Also, if you want to use either the Tcl or Python embedded hooks, you'll
need to have suitable versions of Tcl and/or Python installed. See
***************
*** 127,132 ****
--- 132,146 ----
and group. You can change these if you want but these are the defaults
and it's easier to stick with them on a new installation.
+ WARNING: By default, INN installs various configuration files as
+ group-writeable, and in general INN is not hardened from a security
+ standpoint against an attack by someone who is already in the news
+ group. In general, you should consider membership in the news group as
+ equivalent to access to the news account. You should not rely on being
+ able to keep anyone with access to the news GID from converting that
+ into access to the news UID. The recommended configuration is to have
+ the only member of the group "news" be the user "news".
+
Installing INN so that all of its files are under a single directory
tree, rather than scattering binaries, libraries, and man pages
throughout the file system, is strongly recommended. It helps keep
***************
*** 219,228 ****
(but an earlier version may suffice).
--with-python
! Enables support for Python, allowing you to install filter scripts
! written in Python. You will need Python 1.5.2 or later installed on
! your system to enable this option. See README.python_hook for all
! the details.
--with-tcl
Enables support for Tcl, allowing you to install filter scripts
--- 233,245 ----
(but an earlier version may suffice).
--with-python
! Enables support for Python, allowing you to install filter and
! authentication scripts written in Python. You will need Python
! 1.5.2 or later installed on your system to enable this option. See
! README.python_hook and README.python_auth_hook for all the details.
! Note that there is an incompatibility between INN and Python 2.0
! when Python is compiled with cycle garbage collection; this problem
! was reported fixed in Python 2.1a1.
--with-tcl
Enables support for Tcl, allowing you to install filter scripts
***************
*** 258,263 ****
--- 275,296 ----
somewhat longer. See "./configure --help" for the various available
options related to libtool builds.
+ Please note that INN's shared library interface is not stable and
+ may change drastically in future releases. For this reason, it's
+ also not properly versioned and won't be until some degree of
+ stability is guaranteed, and the relevant header files are not
+ installed. Only INN should use INN's shared libraries, and you
+ should only use the shared libraries corresponding to the version of
+ INN that you're installing.
+
+ Also, when updating an existing version of INN, INN tries to save
+ backup copies of all files so that you can revert to the previous
+ installed version. Unfortunately, when using shared libraries, this
+ confuses ldconfig on some systems (such as Linux) and the symbolic
+ links for the libraries may point to the .OLD versions. If this
+ happens, you can either fix the links by hand or remove the .OLD
+ versions and re-run ldconfig.
+
--enable-uucp-rnews
If this option is given to configure, rnews will be installed setuid
root, owned by group uucp, and mode 4550. This will allow the UUCP
***************
*** 1300,1306 ****
news user and not as root. To start INN on system boot, you therefore
want to put something like:
! su news -c /usr/local/news/bin/rc.news
in the system boot scripts. If innd is stopped or killed, you can
restart it by running rc.news by hand as the news user.
--- 1333,1339 ----
news user and not as root. To start INN on system boot, you therefore
want to put something like:
! su - news -c /usr/local/news/bin/rc.news
in the system boot scripts. If innd is stopped or killed, you can
restart it by running rc.news by hand as the news user.
***************
*** 1308,1314 ****
The rc.news script may also be used to shut down INN, with the "stop"
option:
! su news -c '/usr/local/news/bin/rc.news stop'
In the contrib directory of this source tree is a sample init script for
people using System V-style init.d directories.
--- 1341,1347 ----
The rc.news script may also be used to shut down INN, with the "stop"
option:
! su - news -c '/usr/local/news/bin/rc.news stop'
In the contrib directory of this source tree is a sample init script for
people using System V-style init.d directories.
Index: inn/LICENSE
diff -c inn/LICENSE:1.2 inn/LICENSE:1.2.2.1
*** inn/LICENSE:1.2 Thu Apr 6 08:00:32 2000
--- inn/LICENSE Sat Jan 27 19:03:43 2001
***************
*** 2,8 ****
different licenses and/or copyrights is covered by the following copyright
and license:
! Copyright (c) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000
The Internet Software Consortium and Rich Salz
This code is derived from software contributed to the Internet Software
--- 2,8 ----
different licenses and/or copyrights is covered by the following copyright
and license:
! Copyright (c) 1991, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
The Internet Software Consortium and Rich Salz
This code is derived from software contributed to the Internet Software
Index: inn/MANIFEST
diff -c inn/MANIFEST:1.51.2.14 inn/MANIFEST:1.51.2.19
*** inn/MANIFEST:1.51.2.14 Thu Jan 11 14:25:39 2001
--- inn/MANIFEST Sun Apr 22 18:23:17 2001
***************
*** 38,43 ****
--- 38,44 ----
backends/controlchan.in Channel program for control messages
backends/cvtbatch.c Add fields to simple batchfile
backends/filechan.c Split a funnel into separate files
+ backends/gpgverify.in Verify control messages with GnuPG
backends/inndf.c df used for innwatch
backends/innxbatch.c Send batches using XBATCH to remote
backends/innxmit.c Send articles to remote site
***************
*** 114,120 ****
doc/man/expire.ctl.5 Manpage for expire.ctl config file
doc/man/expireover.8 Manpage for expireover
doc/man/expirerm.8 Manpage for expirerm
! doc/man/fastrm.8 Manpage for fastrm utility
doc/man/filechan.8 Manpage for filechan backend
doc/man/getlist.1 Manpage for getlist frontend
doc/man/grephistory.1 Manpage for grephistory
--- 115,121 ----
doc/man/expire.ctl.5 Manpage for expire.ctl config file
doc/man/expireover.8 Manpage for expireover
doc/man/expirerm.8 Manpage for expirerm
! doc/man/fastrm.1 Manpage for fastrm utility
doc/man/filechan.8 Manpage for filechan backend
doc/man/getlist.1 Manpage for getlist frontend
doc/man/grephistory.1 Manpage for grephistory
***************
*** 130,135 ****
--- 131,137 ----
doc/man/inndstart.8 Manpage for inndstart
doc/man/innfeed.1 Manpage for innfeed backend
doc/man/innfeed.conf.5 Manpage for innfeed.conf config file
+ doc/man/innmail.1 Manpage for innmail utility
doc/man/innreport.8 Manpage for innreport
doc/man/innstat.8 Manpage for innstat utility
doc/man/innwatch.8 Manpage for innwatch
***************
*** 179,194 ****
--- 181,199 ----
doc/man/startinnfeed.1 Manpage for startinnfeed
doc/man/storage.conf.5 Manpage for storage.conf config file
doc/man/strcasecmp.3 Manpage for strcasecmp (from BSD)
+ doc/man/subscriptions.5 Manpage for subscriptions list
doc/man/tally.control.8 Manpage for tally.control
doc/man/wildmat.3 Manpage for wildmat library routine
doc/man/writelog.8 Manpage for writelog
doc/pod POD documentation (Directory)
doc/pod/ckpasswd.pod Master file for ckpasswd.1
doc/pod/dbprocs.pod Master file for dbprocs.8
+ doc/pod/fastrm.pod Master file for fastrm.1
doc/pod/hacking.pod Master file for HACKING
doc/pod/hook-perl.pod Master file for README.perl_hook
doc/pod/inn.conf.pod Master file for inn.conf.5
doc/pod/inndstart.pod Master file for inndstart.8
+ doc/pod/innmail.pod Master file for innmail.1
doc/pod/install.pod Master file for INSTALL
doc/pod/makehistory.pod Master file for makehistory.8
doc/pod/news.pod Master file for NEWS
***************
*** 198,203 ****
--- 203,209 ----
doc/pod/readers.conf.pod Master file for readers.conf.5
doc/pod/readme.pod Master file for README
doc/pod/sasl.conf.pod Master file for sasl.conf.5
+ doc/pod/subscriptions.pod Master file for subscriptions.5
doc/sample-control Sample PGP-signed control message
expire Expiration and recovery (Directory)
expire/Makefile Makefile for expiration
***************
*** 237,243 ****
include/config.h.in Template configuration data
include/configdata.h Obsolete header
include/dbz.h Header file for DBZ
- include/inn Installed header files (Directory)
include/innconf.h Header file for inn.conf
include/inndcomm.h innd control channel commands
include/libinn.h INN library declarations
--- 243,248 ----
***************
*** 430,438 ****
samples/motd.news Sample MOTD file
samples/newgroup.in newgroup handler
samples/newgroup.pl newgroup controlchan handler
- samples/newsgroups.minimal Minimal starting newsgroups file
samples/news2mail.cf news2mail config file
samples/newsfeeds.in innd feed configuration
samples/nnrpd.py Python hooks for nnrpd
samples/nnrpd.track Reader tracking configuration
samples/nnrpd_auth.pl.in Sample nnrpd Perl authorization hooks
--- 435,443 ----
samples/motd.news Sample MOTD file
samples/newgroup.in newgroup handler
samples/newgroup.pl newgroup controlchan handler
samples/news2mail.cf news2mail config file
samples/newsfeeds.in innd feed configuration
+ samples/newsgroups.minimal Minimal starting newsgroups file
samples/nnrpd.py Python hooks for nnrpd
samples/nnrpd.track Reader tracking configuration
samples/nnrpd_auth.pl.in Sample nnrpd Perl authorization hooks
***************
*** 456,461 ****
--- 461,467 ----
samples/startup.tcl.in Tcl startup code for innd
samples/startup_innd.pl Perl startup code for innd
samples/storage.conf Sample storage configuration
+ samples/subscriptions Sample default subscriptions list
samples/version.in version handler
samples/version.pl version controlchan handler
scripts Various utilities (Directory)
Index: inn/Makefile.global.in
diff -c inn/Makefile.global.in:1.42.2.2 inn/Makefile.global.in:1.42.2.3
*** inn/Makefile.global.in:1.42.2.2 Mon Aug 21 16:18:38 2000
--- inn/Makefile.global.in Tue Jan 16 22:27:47 2001
***************
*** 1,4 ****
! ## $Id: Makefile.global.in,v 1.42.2.2 2000/08/21 07:18:38 rra Exp $
##
## This file is meant to be the central Makefile that configure works with
## and that all other Makefiles include. No Makefile other than this one
--- 1,4 ----
! ## $Id: Makefile.global.in,v 1.42.2.3 2001/01/16 13:27:47 rra Exp $
##
## This file is meant to be the central Makefile that configure works with
## and that all other Makefiles include. No Makefile other than this one
***************
*** 14,20 ****
## put your own version information in $VERSION_EXTRA. If it's set to
## "CVS prerelease", the build time will be automatically included.
! VERSION = 2.3.1
VERSION_EXTRA = CVS prerelease
## If you want to install INN relative to a root directory other than /,
--- 14,20 ----
## put your own version information in $VERSION_EXTRA. If it's set to
## "CVS prerelease", the build time will be automatically included.
! VERSION = 2.3.2
VERSION_EXTRA = CVS prerelease
## If you want to install INN relative to a root directory other than /,
Index: inn/NEWS
diff -c inn/NEWS:1.11.2.6 inn/NEWS:1.11.2.10
*** inn/NEWS:1.11.2.6 Mon Jan 8 17:07:49 2001
--- inn/NEWS Mon Apr 23 21:29:43 2001
***************
*** 1,3 ****
--- 1,35 ----
+ Changes from 2.3.1 to 2.3.2
+
+ * innxmit can again handle regular filenames as input as well as storage
+ API tokens (allowing it to be used to import an old traditional
+ spool).
+
+ * Several problems with tagged-hash history files have been fixed thanks
+ to the debugging efforts of Andrew Gierth and Sang-yong Suh.
+
+ * A very long-standing (since INN 1.0!) NNTP protocol bug in nnrpd was
+ fixed. The response to an ARTICLE command retrieving a message by
+ message ID should have the message ID as the third word of the
+ response, not the fourth. Fixing this is reported to *possibly* cause
+ problems with some Netscape browsers, but other news servers correctly
+ follow the protocol.
+
+ * Some serious performance problems with expiration of tradspool should
+ now be at least somewhat alleviated. tradspool and timehash now know
+ how to output file names for removal rather than tokens, and fastrm's
+ ability to remove regular files has been restored. This should bring
+ expiration times for tradspool back to within a factor of two of
+ pre-storage-API expiration times.
+
+ * An item that was actually changed in 2.3.0 but wasn't noted in NEWS
+ when it should have been: Users can no longer post articles
+ containing Approved: headers to moderated groups by default; they must
+ be specifically given that permission with the access: parameter in
+ readers.conf. See the man page for more details.
+
+ * Added a sample subscriptions file and documentation for it and
+ innmail.
+
Changes from 2.3.0 to 2.3.1
* inews no longer downloads the active file, no longer tries to send
***************
*** 152,157 ****
--- 184,194 ----
filters, and supports Python authentication hooks.
* There is preliminary support for news reading over SSL, using OpenSSL.
+
+ * Users can no longer post articles containing Approved: headers to
+ moderated groups by default; they must be specifically given that
+ permission with the access: parameter in readers.conf. See the man
+ page for more details.
* To simplify anti-abuse filtering, and to be more compliant with news
standards and proposed standards, INN now treats as control messages
Index: inn/configure
diff -c inn/configure:1.161.2.11 inn/configure:1.161.2.17
*** inn/configure:1.161.2.11 Mon Jan 8 16:30:40 2001
--- inn/configure Mon Mar 5 14:44:12 2001
***************
*** 1,6 ****
#! /bin/sh
! # From configure.in Revision: 1.163.2.10
## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
--- 1,6 ----
#! /bin/sh
! # From configure.in Revision: 1.163.2.16
## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
***************
*** 1078,1109 ****
yes)
echo $ac_n "checking for BerkeleyDB location""... $ac_c" 1>&6
echo "configure:1081: checking for BerkeleyDB location" >&5
! for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2
! do
! for d in /opt /usr /usr/local
! do
! if test -d "$d/$v" ; then
! BERKELEY_DB_DIR="$d/$v"
! fi
! done
done
! if test "$BERKELEY_DB_DIR" = "yes" ; then
! if test -d /usr/local/include/db2 ; then
! BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
! BERKELEY_DB_CFLAGS="-I/usr/local/include/db2"
! BERKELEY_DB_LIB="-ldb2"
! BERKELEY_DB_BINDIR="/usr/local/bin"
! echo "$ac_t""FreeBSD locations" 1>&6
! else
! { echo "configure: error: Can not find BerkeleyDB" 1>&2; exit 1; }
! fi
else
! BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
! BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
! BERKELEY_DB_LIB="-ldb"
! BERKELEY_DB_BINDIR="$BERKELEY_DB_DIR/bin"
! echo "$ac_t""$BERKELEY_DB_DIR" 1>&6
fi
cat >> confdefs.h <<\EOF
#define USE_BERKELEY_DB 1
--- 1078,1120 ----
yes)
echo $ac_n "checking for BerkeleyDB location""... $ac_c" 1>&6
echo "configure:1081: checking for BerkeleyDB location" >&5
! for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 ; do
! for d in /usr /opt /usr/local ; do
! test -d "$d/$v" && BERKELEY_DB_DIR="$d/$v"
! done
done
! if test x"$BERKELEY_DB_DIR" = xyes ; then
! for v in db3 db2 ; do
! if test -d "/usr/local/include/$v" ; then
! BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
! BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
! BERKELEY_DB_LIB="-l$v"
! BERKELEY_DB_BINDIR="/usr/local/bin"
! echo "$ac_t""FreeBSD locations" 1>&6
! break
! fi
! done
! if test x"$BERKELEY_DB_LIB" = x ; then
! for v in db3 db2 ; do
! if test -d "/usr/include/$v" ; then
! BERKELEY_DB_CFLAGS="-I/usr/include/$v"
! BERKELEY_DB_LIB="-l$v"
! BERKELEY_DB_BINDIR="/usr/bin"
! echo "$ac_t""Linux locations" 1>&6
! break
! fi
! done
! if test x"$BERKELEY_DB_LIB" = x ; then
! { echo "configure: error: Cannot find BerkeleyDB" 1>&2; exit 1; }
! fi
! fi
else
! BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
! BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
! BERKELEY_DB_LIB="-ldb"
! BERKELEY_DB_BINDIR="$BERKELEY_DB_DIR/bin"
! echo "$ac_t""$BERKELEY_DB_DIR" 1>&6
fi
cat >> confdefs.h <<\EOF
#define USE_BERKELEY_DB 1
***************
*** 1207,1213 ****
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1211: checking host system type" >&5
host_alias=$host
case "$host_alias" in
--- 1218,1224 ----
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1222: checking host system type" >&5
host_alias=$host
case "$host_alias" in
***************
*** 1228,1234 ****
echo "$ac_t""$host" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:1232: checking build system type" >&5
build_alias=$build
case "$build_alias" in
--- 1239,1245 ----
echo "$ac_t""$host" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:1243: checking build system type" >&5
build_alias=$build
case "$build_alias" in
***************
*** 1248,1254 ****
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1252: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1259,1265 ----
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1263: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1278,1284 ****
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1282: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1289,1295 ----
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1293: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1308,1314 ****
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1312: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1319,1325 ----
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1323: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1359,1365 ****
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1363: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1370,1376 ----
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1374: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1391,1397 ****
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1395: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--- 1402,1408 ----
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1406: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
***************
*** 1402,1413 ****
cat > conftest.$ac_ext << EOF
! #line 1406 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
--- 1413,1424 ----
cat > conftest.$ac_ext << EOF
! #line 1417 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
***************
*** 1433,1444 ****
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1437: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1442: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1444,1455 ----
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1448: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1453: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1447,1453 ****
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 1458,1464 ----
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
***************
*** 1466,1472 ****
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1470: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1477,1483 ----
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1481: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1509,1515 ****
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! echo "configure:1513: checking for ld used by GCC" >&5
ac_prog=`($CC -print-prog-name=ld) 2>&5`
case "$ac_prog" in
# Accept absolute paths.
--- 1520,1526 ----
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! echo "configure:1524: checking for ld used by GCC" >&5
ac_prog=`($CC -print-prog-name=ld) 2>&5`
case "$ac_prog" in
# Accept absolute paths.
***************
*** 1533,1542 ****
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! echo "configure:1537: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! echo "configure:1540: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 1544,1553 ----
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! echo "configure:1548: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! echo "configure:1551: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 1572,1578 ****
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! echo "configure:1576: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1583,1589 ----
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! echo "configure:1587: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1588,1594 ****
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! echo "configure:1592: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1599,1605 ----
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! echo "configure:1603: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1625,1631 ****
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:1629: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1636,1642 ----
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:1640: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1669,1676 ****
case "$host" in
*-*-irix6*)
# Find out which ABI we are using.
! echo '#line 1673 "configure"' > conftest.$ac_ext
! if { (eval echo configure:1674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
--- 1680,1687 ----
case "$host" in
*-*-irix6*)
# Find out which ABI we are using.
! echo '#line 1684 "configure"' > conftest.$ac_ext
! if { (eval echo configure:1685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
***************
*** 1691,1709 ****
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! echo "configure:1695: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
--- 1702,1720 ----
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! echo "configure:1706: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
***************
*** 1816,1822 ****
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1820: checking host system type" >&5
host_alias=$host
case "$host_alias" in
--- 1827,1833 ----
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1831: checking host system type" >&5
host_alias=$host
case "$host_alias" in
***************
*** 1839,1845 ****
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1843: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1850,1856 ----
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1854: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1869,1875 ****
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1873: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1880,1886 ----
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1884: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1920,1926 ****
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1924: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 1931,1937 ----
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1935: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 1952,1958 ****
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--- 1963,1969 ----
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
***************
*** 1963,1974 ****
cat > conftest.$ac_ext << EOF
! #line 1967 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
--- 1974,1985 ----
cat > conftest.$ac_ext << EOF
! #line 1978 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
***************
*** 1994,2005 ****
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1998: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:2003: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2005,2016 ----
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:2009: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:2014: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2008,2014 ****
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 2019,2025 ----
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
***************
*** 2027,2033 ****
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:2031: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2038,2044 ----
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:2042: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2069,2075 ****
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:2073: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
--- 2080,2086 ----
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:2084: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
***************
*** 2084,2096 ****
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 2095,2107 ----
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
***************
*** 2101,2113 ****
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 2112,2124 ----
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
***************
*** 2118,2130 ****
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 2129,2141 ----
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
***************
*** 2150,2162 ****
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
! echo "configure:2154: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <
Autoconf TIOCGETP
--- 2161,2173 ----
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
! echo "configure:2165: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <
Autoconf TIOCGETP
***************
*** 2174,2180 ****
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <
Autoconf TCGETA
--- 2185,2191 ----
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <
Autoconf TCGETA
***************
*** 2198,2204 ****
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2202: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2209,2215 ----
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2213: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2232,2238 ****
*) ac_lib=l ;;
esac
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
! echo "configure:2236: checking for yywrap in -l$ac_lib" >&5
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 2243,2249 ----
*) ac_lib=l ;;
esac
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
! echo "configure:2247: checking for yywrap in -l$ac_lib" >&5
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2240,2246 ****
ac_save_LIBS="$LIBS"
LIBS="-l$ac_lib $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 2262,2268 ----
yywrap()
; return 0; }
EOF
! if { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 2274,2280 ****
fi
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:2278: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 2285,2291 ----
fi
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:2289: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 2303,2309 ****
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2307: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2314,2320 ----
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2318: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2335,2341 ****
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2339: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2346,2352 ----
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2350: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2373,2381 ****
esac
echo $ac_n "checking for AIX""... $ac_c" 1>&6
! echo "configure:2377: checking for AIX" >&5
cat > conftest.$ac_ext <&6
! echo "configure:2388: checking for AIX" >&5
cat > conftest.$ac_ext <&6
! echo "configure:2401: checking for POSIXized ISC" >&5
if test -d /etc/conf/kconfig.d &&
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
--- 2408,2414 ----
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
! echo "configure:2412: checking for POSIXized ISC" >&5
if test -d /etc/conf/kconfig.d &&
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
***************
*** 2442,2448 ****
# Extract the first word of "ctags", so it can be a program name with args.
set dummy ctags; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2446: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2453,2459 ----
# Extract the first word of "ctags", so it can be a program name with args.
set dummy ctags; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2457: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_CTAGS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2485,2491 ****
# Extract the first word of "awk", so it can be a program name with args.
set dummy awk; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2489: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2496,2502 ----
# Extract the first word of "awk", so it can be a program name with args.
set dummy awk; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2500: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2525,2531 ****
# Extract the first word of "egrep", so it can be a program name with args.
set dummy egrep; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2529: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_EGREP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2536,2542 ----
# Extract the first word of "egrep", so it can be a program name with args.
set dummy egrep; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2540: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_EGREP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2565,2571 ****
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2569: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2576,2582 ----
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2580: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2605,2611 ****
# Extract the first word of "sh", so it can be a program name with args.
set dummy sh; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2609: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2616,2622 ----
# Extract the first word of "sh", so it can be a program name with args.
set dummy sh; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2620: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2645,2651 ****
# Extract the first word of "sed", so it can be a program name with args.
set dummy sed; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2649: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SED'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2656,2662 ----
# Extract the first word of "sed", so it can be a program name with args.
set dummy sed; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2660: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SED'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2685,2691 ****
# Extract the first word of "sort", so it can be a program name with args.
set dummy sort; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2689: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SORT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2696,2702 ----
# Extract the first word of "sort", so it can be a program name with args.
set dummy sort; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2700: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_SORT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2727,2733 ****
if test x"$DO_PERL" = xDO ; then
echo $ac_n "checking for Perl version""... $ac_c" 1>&6
! echo "configure:2731: checking for Perl version" >&5
if eval "test \"`echo '$''{'inn_cv_perl_version'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2738,2744 ----
if test x"$DO_PERL" = xDO ; then
echo $ac_n "checking for Perl version""... $ac_c" 1>&6
! echo "configure:2742: checking for Perl version" >&5
if eval "test \"`echo '$''{'inn_cv_perl_version'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2743,2749 ****
echo "$ac_t""$inn_cv_perl_version" 1>&6
else
echo $ac_n "checking for Perl version""... $ac_c" 1>&6
! echo "configure:2747: checking for Perl version" >&5
if eval "test \"`echo '$''{'inn_cv_perl_version'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2754,2760 ----
echo "$ac_t""$inn_cv_perl_version" 1>&6
else
echo $ac_n "checking for Perl version""... $ac_c" 1>&6
! echo "configure:2758: checking for Perl version" >&5
if eval "test \"`echo '$''{'inn_cv_perl_version'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2760,2771 ****
fi
pgpverify=true
! for ac_prog in pgpv pgp
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2769: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PGP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2771,2782 ----
fi
pgpverify=true
! for ac_prog in pgpv pgp pgpgpg
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2780: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PGP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2810,2816 ****
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2814: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GETFTP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2821,2827 ----
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2825: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GETFTP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2853,2859 ****
# Extract the first word of ""$LOG_COMPRESS"", so it can be a program name with args.
set dummy "$LOG_COMPRESS"; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2857: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_LOG_COMPRESS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2864,2870 ----
# Extract the first word of ""$LOG_COMPRESS"", so it can be a program name with args.
set dummy "$LOG_COMPRESS"; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2868: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_LOG_COMPRESS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2893,2899 ****
# Extract the first word of "compress", so it can be a program name with args.
set dummy compress; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2897: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2904,2910 ----
# Extract the first word of "compress", so it can be a program name with args.
set dummy compress; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2908: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2935,2941 ****
# Extract the first word of "gzip", so it can be a program name with args.
set dummy gzip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2939: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2946,2952 ----
# Extract the first word of "gzip", so it can be a program name with args.
set dummy gzip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2950: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 2984,2996 ****
if test "${with_sendmail+set}" = set ; then
echo $ac_n "checking for sendmail""... $ac_c" 1>&6
! echo "configure:2988: checking for sendmail" >&5
echo "$ac_t""$SENDMAIL" 1>&6
else
# Extract the first word of "sendmail", so it can be a program name with args.
set dummy sendmail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2994: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 2995,3007 ----
if test "${with_sendmail+set}" = set ; then
echo $ac_n "checking for sendmail""... $ac_c" 1>&6
! echo "configure:2999: checking for sendmail" >&5
echo "$ac_t""$SENDMAIL" 1>&6
else
# Extract the first word of "sendmail", so it can be a program name with args.
set dummy sendmail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3005: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 3029,3035 ****
# Extract the first word of "sendmail", so it can be a program name with args.
set dummy sendmail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3033: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 3040,3046 ----
# Extract the first word of "sendmail", so it can be a program name with args.
set dummy sendmail; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3044: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 3042,3048 ****
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH:/usr/lib:/usr/sbin:/usr/ucblib"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
--- 3053,3059 ----
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH:/usr/sbin:/usr/lib:/usr/ucblib"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
***************
*** 3074,3080 ****
# Extract the first word of "uustat", so it can be a program name with args.
set dummy uustat; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3078: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_HAVE_UUSTAT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 3085,3091 ----
# Extract the first word of "uustat", so it can be a program name with args.
set dummy uustat; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3089: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_HAVE_UUSTAT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 3108,3114 ****
# Extract the first word of "python", so it can be a program name with args.
set dummy python; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3112: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PYTHON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 3119,3125 ----
# Extract the first word of "python", so it can be a program name with args.
set dummy python; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3123: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path__PATH_PYTHON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 3149,3162 ****
echo $ac_n "checking for library containing crypt""... $ac_c" 1>&6
! echo "configure:3153: checking for library containing crypt" >&5
if eval "test \"`echo '$''{'ac_cv_search_crypt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_crypt="no"
cat > conftest.$ac_ext <&6
! echo "configure:3164: checking for library containing crypt" >&5
if eval "test \"`echo '$''{'ac_cv_search_crypt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_crypt="no"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_crypt="none required"
else
--- 3178,3184 ----
crypt()
; return 0; }
EOF
! if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_crypt="none required"
else
***************
*** 3178,3184 ****
test "$ac_cv_search_crypt" = "no" && for i in crypt; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_crypt="-l$i"
break
--- 3200,3206 ----
crypt()
; return 0; }
EOF
! if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_crypt="-l$i"
break
***************
*** 3212,3225 ****
echo $ac_n "checking for library containing setproctitle""... $ac_c" 1>&6
! echo "configure:3216: checking for library containing setproctitle" >&5
if eval "test \"`echo '$''{'ac_cv_search_setproctitle'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_setproctitle="no"
cat > conftest.$ac_ext <&6
! echo "configure:3227: checking for library containing setproctitle" >&5
if eval "test \"`echo '$''{'ac_cv_search_setproctitle'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_setproctitle="no"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_setproctitle="none required"
else
--- 3241,3247 ----
setproctitle()
; return 0; }
EOF
! if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_setproctitle="none required"
else
***************
*** 3241,3247 ****
test "$ac_cv_search_setproctitle" = "no" && for i in util; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_setproctitle="-l$i"
break
--- 3263,3269 ----
setproctitle()
; return 0; }
EOF
! if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_setproctitle="-l$i"
break
***************
*** 3278,3291 ****
echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6
! echo "configure:3282: checking for library containing gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_gethostbyname="no"
cat > conftest.$ac_ext <&6
! echo "configure:3293: checking for library containing gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_gethostbyname="no"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_gethostbyname="none required"
else
--- 3307,3313 ----
gethostbyname()
; return 0; }
EOF
! if { (eval echo configure:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_gethostbyname="none required"
else
***************
*** 3307,3313 ****
test "$ac_cv_search_gethostbyname" = "no" && for i in nsl; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_gethostbyname="-l$i"
break
--- 3329,3335 ----
gethostbyname()
; return 0; }
EOF
! if { (eval echo configure:3333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_gethostbyname="-l$i"
break
***************
*** 3339,3345 ****
fi
echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
! echo "configure:3343: checking for gethostbyname in -lresolv" >&5
ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3350,3356 ----
fi
echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
! echo "configure:3354: checking for gethostbyname in -lresolv" >&5
ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3347,3353 ****
ac_save_LIBS="$LIBS"
LIBS="-lresolv $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3369,3375 ----
gethostbyname()
; return 0; }
EOF
! if { (eval echo configure:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3379,3390 ****
fi
echo $ac_n "checking for socket""... $ac_c" 1>&6
! echo "configure:3383: checking for socket" >&5
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:3394: checking for socket" >&5
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_socket=yes"
else
--- 3418,3424 ----
; return 0; }
EOF
! if { (eval echo configure:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_socket=yes"
else
***************
*** 3426,3432 ****
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
! echo "configure:3430: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3437,3443 ----
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
! echo "configure:3441: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3434,3440 ****
ac_save_LIBS="$LIBS"
LIBS="-lsocket "$LIBS" $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3456,3462 ----
socket()
; return 0; }
EOF
! if { (eval echo configure:3460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3465,3471 ****
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lnsl""... $ac_c" 1>&6
! echo "configure:3469: checking for socket in -lnsl" >&5
ac_lib_var=`echo nsl'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3476,3482 ----
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lnsl""... $ac_c" 1>&6
! echo "configure:3480: checking for socket in -lnsl" >&5
ac_lib_var=`echo nsl'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3473,3479 ****
ac_save_LIBS="$LIBS"
LIBS="-lnsl -lsocket $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3495,3501 ----
socket()
; return 0; }
EOF
! if { (eval echo configure:3499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3512,3525 ****
echo $ac_n "checking for library containing inet_addr""... $ac_c" 1>&6
! echo "configure:3516: checking for library containing inet_addr" >&5
if eval "test \"`echo '$''{'ac_cv_search_inet_addr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_inet_addr="no"
cat > conftest.$ac_ext <&6
! echo "configure:3527: checking for library containing inet_addr" >&5
if eval "test \"`echo '$''{'ac_cv_search_inet_addr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_inet_addr="no"
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_inet_addr="none required"
else
--- 3541,3547 ----
inet_addr()
; return 0; }
EOF
! if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_inet_addr="none required"
else
***************
*** 3541,3547 ****
test "$ac_cv_search_inet_addr" = "no" && for i in 44bsd; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_inet_addr="-l$i"
break
--- 3563,3569 ----
inet_addr()
; return 0; }
EOF
! if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_inet_addr="-l$i"
break
***************
*** 3574,3580 ****
fi
echo $ac_n "checking for pthread_create in -lthread""... $ac_c" 1>&6
! echo "configure:3578: checking for pthread_create in -lthread" >&5
ac_lib_var=`echo thread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3585,3591 ----
fi
echo $ac_n "checking for pthread_create in -lthread""... $ac_c" 1>&6
! echo "configure:3589: checking for pthread_create in -lthread" >&5
ac_lib_var=`echo thread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3582,3588 ****
ac_save_LIBS="$LIBS"
LIBS="-lthread $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3604,3610 ----
pthread_create()
; return 0; }
EOF
! if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3616,3622 ****
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:3620: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3627,3633 ----
echo "$ac_t""no" 1>&6
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:3631: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3624,3630 ****
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3646,3652 ----
pthread_create()
; return 0; }
EOF
! if { (eval echo configure:3650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3668,3674 ****
echo $ac_n "checking for getspnam in -lshadow""... $ac_c" 1>&6
! echo "configure:3672: checking for getspnam in -lshadow" >&5
ac_lib_var=`echo shadow'_'getspnam | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3679,3685 ----
echo $ac_n "checking for getspnam in -lshadow""... $ac_c" 1>&6
! echo "configure:3683: checking for getspnam in -lshadow" >&5
ac_lib_var=`echo shadow'_'getspnam | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3676,3682 ****
ac_save_LIBS="$LIBS"
LIBS="-lshadow $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3698,3704 ----
getspnam()
; return 0; }
EOF
! if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3716,3722 ****
echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6
! echo "configure:3720: checking for nlist in -lelf" >&5
ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3727,3733 ----
echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6
! echo "configure:3731: checking for nlist in -lelf" >&5
ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3724,3730 ****
ac_save_LIBS="$LIBS"
LIBS="-lelf $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3746,3752 ----
nlist()
; return 0; }
EOF
! if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3764,3770 ****
echo $ac_n "checking for regexec in -lregex""... $ac_c" 1>&6
! echo "configure:3768: checking for regexec in -lregex" >&5
ac_lib_var=`echo regex'_'regexec | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3775,3781 ----
echo $ac_n "checking for regexec in -lregex""... $ac_c" 1>&6
! echo "configure:3779: checking for regexec in -lregex" >&5
ac_lib_var=`echo regex'_'regexec | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3772,3778 ****
ac_save_LIBS="$LIBS"
LIBS="-lregex $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3794,3800 ----
regexec()
; return 0; }
EOF
! if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3812,3818 ****
echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
! echo "configure:3816: checking for dbm_open in -ldbm" >&5
ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3823,3829 ----
echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
! echo "configure:3827: checking for dbm_open in -ldbm" >&5
ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3820,3826 ****
ac_save_LIBS="$LIBS"
LIBS="-ldbm $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3842,3848 ----
dbm_open()
; return 0; }
EOF
! if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3852,3858 ****
fi
echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6
! echo "configure:3856: checking for dbm_open in -lndbm" >&5
ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 3863,3869 ----
fi
echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6
! echo "configure:3867: checking for dbm_open in -lndbm" >&5
ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 3860,3866 ****
ac_save_LIBS="$LIBS"
LIBS="-lndbm $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 3882,3888 ----
dbm_open()
; return 0; }
EOF
! if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 3895,3901 ****
if test x"$DO_PERL" = xDO ; then
echo $ac_n "checking for Perl linkage""... $ac_c" 1>&6
! echo "configure:3899: checking for Perl linkage" >&5
inn_perl_core_path=`$_PATH_PERL -MConfig -e 'print $Config{archlibexp}'`
inn_perl_core_flags=`$_PATH_PERL -MExtUtils::Embed -e ccopts`
inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -1`
--- 3906,3912 ----
if test x"$DO_PERL" = xDO ; then
echo $ac_n "checking for Perl linkage""... $ac_c" 1>&6
! echo "configure:3910: checking for Perl linkage" >&5
inn_perl_core_path=`$_PATH_PERL -MConfig -e 'print $Config{archlibexp}'`
inn_perl_core_flags=`$_PATH_PERL -MExtUtils::Embed -e ccopts`
inn_perl_core_libs=`$_PATH_PERL -MExtUtils::Embed -e ldopts 2>&1 | tail -1`
***************
*** 3921,3927 ****
if test x"$DO_PYTHON" = xdefine ; then
echo $ac_n "checking for Python linkage""... $ac_c" 1>&6
! echo "configure:3925: checking for Python linkage" >&5
py_prefix=`$_PATH_PYTHON -c 'import sys; print sys.prefix'`
py_ver=`$_PATH_PYTHON -c 'import sys; print sys.version[:3]'`
py_libdir="${py_prefix}/lib/python${py_ver}"
--- 3932,3938 ----
if test x"$DO_PYTHON" = xdefine ; then
echo $ac_n "checking for Python linkage""... $ac_c" 1>&6
! echo "configure:3936: checking for Python linkage" >&5
py_prefix=`$_PATH_PYTHON -c 'import sys; print sys.prefix'`
py_ver=`$_PATH_PYTHON -c 'import sys; print sys.version[:3]'`
py_libdir="${py_prefix}/lib/python${py_ver}"
***************
*** 3947,3953 ****
if test x"$DO_LFS" = xDO ; then
echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
! echo "configure:3951: checking for largefile linkage" >&5
case "$host" in
*-aix4.01*)
echo "$ac_t""no" 1>&6
--- 3958,3964 ----
if test x"$DO_LFS" = xDO ; then
echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
! echo "configure:3962: checking for largefile linkage" >&5
case "$host" in
*-aix4.01*)
echo "$ac_t""no" 1>&6
***************
*** 3974,3980 ****
# Extract the first word of "getconf", so it can be a program name with args.
set dummy getconf; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3978: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 3985,3991 ----
# Extract the first word of "getconf", so it can be a program name with args.
set dummy getconf; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3989: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 4059,4075 ****
OPENSSL_DIR="no"
fi
echo $ac_n "checking for openssl""... $ac_c" 1>&6
! echo "configure:4063: checking for openssl" >&5
echo "$ac_t""$OPENSSL_DIR" 1>&6
if test "$OPENSSL_DIR" != "no"; then
SSL_INC="-I${OPENSSL_DIR}/include"
- SSL_LIB="-L${OPENSSL_DIR}/lib -lssl -lcrypto"
SSL_BIN="${OPENSSL_DIR}/bin"
! cat >> confdefs.h <<\EOF
#define HAVE_SSL 1
EOF
else
SSL_LIB=""
SSL_INC=""
SSL_BIN=""
--- 4070,4288 ----
OPENSSL_DIR="no"
fi
echo $ac_n "checking for openssl""... $ac_c" 1>&6
! echo "configure:4074: checking for openssl" >&5
echo "$ac_t""$OPENSSL_DIR" 1>&6
if test "$OPENSSL_DIR" != "no"; then
SSL_INC="-I${OPENSSL_DIR}/include"
SSL_BIN="${OPENSSL_DIR}/bin"
! SSL_LIB="-L${OPENSSL_DIR}/lib"
! echo $ac_n "checking for RSAPublicEncrypt in -lrsaref""... $ac_c" 1>&6
! echo "configure:4081: checking for RSAPublicEncrypt in -lrsaref" >&5
! ac_lib_var=`echo rsaref'_'RSAPublicEncrypt | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-lrsaref $SSL_LIB $LIBS"
! cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! echo $ac_n "checking for RSAPublicEncrypt in -lRSAglue""... $ac_c" 1>&6
! echo "configure:4116: checking for RSAPublicEncrypt in -lRSAglue" >&5
! ac_lib_var=`echo RSAglue'_'RSAPublicEncrypt | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-lRSAglue -lrsaref $SSL_LIB $LIBS"
! cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! SSL_LIB="-lRSAglue -lrsaref ${SSL_LIB}"
! else
! echo "$ac_t""no" 1>&6
! fi
!
!
! else
! echo "$ac_t""no" 1>&6
! fi
!
! echo $ac_n "checking for RSAPublicEncrypt in -lrsaref""... $ac_c" 1>&6
! echo "configure:4161: checking for RSAPublicEncrypt in -lrsaref" >&5
! ac_lib_var=`echo rsaref'_'RSAPublicEncrypt | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-lrsaref $SSL_LIB $LIBS"
! cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! SSL_LIB="${SSL_LIB} -lRSAglue -lrsaref"
! else
! echo "$ac_t""no" 1>&6
! fi
!
! echo $ac_n "checking for BIO_accept in -lcrypto""... $ac_c" 1>&6
! echo "configure:4201: checking for BIO_accept in -lcrypto" >&5
! ac_lib_var=`echo crypto'_'BIO_accept | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-lcrypto $SSL_LIB $LIBS"
! cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! SSL_LIB="-lcrypto ${SSL_LIB}"
! else
! echo "$ac_t""no" 1>&6
! { echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; }
! fi
!
! echo $ac_n "checking for SSL_CTX_new in -lssl""... $ac_c" 1>&6
! echo "configure:4242: checking for SSL_CTX_new in -lssl" >&5
! ac_lib_var=`echo ssl'_'SSL_CTX_new | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-lssl $SSL_LIB $LIBS"
! cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! SSL_LIB="-lssl ${SSL_LIB}";
! cat >> confdefs.h <<\EOF
#define HAVE_SSL 1
EOF
else
+ echo "$ac_t""no" 1>&6
+ { echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; }
+ fi
+
+ else
SSL_LIB=""
SSL_INC=""
SSL_BIN=""
***************
*** 4080,4091 ****
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:4084: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 4293,4304 ----
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:4297: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 4093,4099 ****
#include
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4306,4312 ----
#include
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 4110,4116 ****
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
--- 4323,4329 ----
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
***************
*** 4128,4134 ****
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
--- 4341,4347 ----
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <
EOF
***************
*** 4149,4155 ****
:
else
cat > conftest.$ac_ext <
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
--- 4362,4368 ----
:
else
cat > conftest.$ac_ext <
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
***************
*** 4160,4166 ****
exit (0); }
EOF
! if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
--- 4373,4379 ----
exit (0); }
EOF
! if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
***************
*** 4189,4205 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4193: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4402,4418 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4406: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 4228,4239 ****
for ac_func in memcpy strchr
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4232: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:4445: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 4469,4475 ----
; return 0; }
EOF
! if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 4283,4294 ****
for ac_func in memchr memmove memset
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4287: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:4500: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 4524,4530 ----
; return 0; }
EOF
! if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 4344,4355 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
! echo "configure:4348: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include <$ac_hdr>
--- 4557,4568 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
! echo "configure:4561: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include <$ac_hdr>
***************
*** 4357,4363 ****
DIR *dirp = 0;
; return 0; }
EOF
! if { (eval echo configure:4361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes"
else
--- 4570,4576 ----
DIR *dirp = 0;
; return 0; }
EOF
! if { (eval echo configure:4574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes"
else
***************
*** 4382,4388 ****
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
! echo "configure:4386: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 4595,4601 ----
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
! echo "configure:4599: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 4390,4396 ****
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 4614,4620 ----
opendir()
; return 0; }
EOF
! if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 4423,4429 ****
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
! echo "configure:4427: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 4636,4642 ----
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
! echo "configure:4640: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 4431,4437 ****
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 4655,4661 ----
opendir()
; return 0; }
EOF
! if { (eval echo configure:4659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 4465,4476 ****
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:4469: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 4678,4689 ----
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:4682: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 4479,4485 ****
struct tm *tp;
; return 0; }
EOF
! if { (eval echo configure:4483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
--- 4692,4698 ----
struct tm *tp;
; return 0; }
EOF
! if { (eval echo configure:4696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
***************
*** 4500,4511 ****
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:4504: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 4713,4724 ----
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:4717: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 4521,4527 ****
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:4525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
--- 4734,4740 ----
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:4738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
***************
*** 4548,4564 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4552: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4761,4777 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4765: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 4590,4606 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4594: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4803,4819 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4807: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 4629,4640 ****
fi
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
! echo "configure:4633: checking for st_blksize in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 4842,4853 ----
fi
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
! echo "configure:4846: checking for st_blksize in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 4642,4648 ****
struct stat s; s.st_blksize;
; return 0; }
EOF
! if { (eval echo configure:4646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_st_blksize=yes
else
--- 4855,4861 ----
struct stat s; s.st_blksize;
; return 0; }
EOF
! if { (eval echo configure:4859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_st_blksize=yes
else
***************
*** 4663,4674 ****
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
! echo "configure:4667: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 4876,4887 ----
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
! echo "configure:4880: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 4676,4682 ****
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
! if { (eval echo configure:4680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
--- 4889,4895 ----
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
! if { (eval echo configure:4893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
***************
*** 4697,4708 ****
fi
echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:4701: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:4914: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
--- 4964,4970 ----
; return 0; }
EOF
! if { (eval echo configure:4968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
***************
*** 4772,4783 ****
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:4776: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
--- 4985,4996 ----
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:4989: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
***************
*** 4805,4816 ****
fi
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:4809: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
--- 5018,5029 ----
fi
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:5022: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
***************
*** 4839,4850 ****
fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6
! echo "configure:4843: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
--- 5052,5063 ----
fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6
! echo "configure:5056: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
***************
*** 4872,4883 ****
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:4876: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
--- 5085,5096 ----
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:5089: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
***************
*** 4905,4916 ****
fi
echo $ac_n "checking for caddr_t""... $ac_c" 1>&6
! echo "configure:4909: checking for caddr_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_caddr_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
--- 5118,5129 ----
fi
echo $ac_n "checking for caddr_t""... $ac_c" 1>&6
! echo "configure:5122: checking for caddr_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_caddr_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
***************
*** 4938,4949 ****
fi
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:4942: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
--- 5151,5162 ----
fi
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:5155: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#if STDC_HEADERS
***************
*** 4975,4986 ****
echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6
! echo "configure:4979: checking for sig_atomic_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_sig_atomic_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 5188,5199 ----
echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6
! echo "configure:5192: checking for sig_atomic_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_sig_atomic_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 5012,5023 ****
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5016: checking for socklen_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 5225,5236 ----
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5229: checking for socklen_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 5051,5057 ****
echo $ac_n "checking value of IOV_MAX""... $ac_c" 1>&6
! echo "configure:5055: checking value of IOV_MAX" >&5
if eval "test \"`echo '$''{'inn_cv_macro_iov_max'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 5264,5270 ----
echo $ac_n "checking value of IOV_MAX""... $ac_c" 1>&6
! echo "configure:5268: checking value of IOV_MAX" >&5
if eval "test \"`echo '$''{'inn_cv_macro_iov_max'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 5059,5065 ****
16
else
cat > conftest.$ac_ext <
--- 5272,5278 ----
16
else
cat > conftest.$ac_ext <
***************
*** 5108,5114 ****
}
EOF
! if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
inn_cv_macro_iov_max=`cat conftestval`
else
--- 5321,5327 ----
}
EOF
! if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
inn_cv_macro_iov_max=`cat conftestval`
else
***************
*** 5138,5149 ****
echo $ac_n "checking for SUN_LEN""... $ac_c" 1>&6
! echo "configure:5142: checking for SUN_LEN" >&5
if eval "test \"`echo '$''{'inn_cv_macro_sun_len'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 5351,5362 ----
echo $ac_n "checking for SUN_LEN""... $ac_c" 1>&6
! echo "configure:5355: checking for SUN_LEN" >&5
if eval "test \"`echo '$''{'inn_cv_macro_sun_len'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 5158,5164 ****
; return 0; }
EOF
! if { (eval echo configure:5162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_macro_sun_len=yes
else
--- 5371,5377 ----
; return 0; }
EOF
! if { (eval echo configure:5375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_macro_sun_len=yes
else
***************
*** 5181,5199 ****
echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
! echo "configure:5185: checking for tm_gmtoff in struct tm" >&5
if eval "test \"`echo '$''{'inn_cv_struct_tm_gmtoff'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
struct tm t; t.tm_gmtoff = 3600
; return 0; }
EOF
! if { (eval echo configure:5197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_struct_tm_gmtoff=yes
else
--- 5394,5412 ----
echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
! echo "configure:5398: checking for tm_gmtoff in struct tm" >&5
if eval "test \"`echo '$''{'inn_cv_struct_tm_gmtoff'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
struct tm t; t.tm_gmtoff = 3600
; return 0; }
EOF
! if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_struct_tm_gmtoff=yes
else
***************
*** 5215,5233 ****
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
! echo "configure:5219: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'inn_cv_struct_tm_zone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
struct tm t; t.tm_zone = "UTC"
; return 0; }
EOF
! if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_struct_tm_zone=yes
else
--- 5428,5446 ----
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
! echo "configure:5432: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'inn_cv_struct_tm_zone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
struct tm t; t.tm_zone = "UTC"
; return 0; }
EOF
! if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_struct_tm_zone=yes
else
***************
*** 5249,5267 ****
echo $ac_n "checking for timezone variable""... $ac_c" 1>&6
! echo "configure:5253: checking for timezone variable" >&5
if eval "test \"`echo '$''{'inn_cv_var_timezone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
timezone = 3600; altzone = 7200
; return 0; }
EOF
! if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_var_timezone=yes
else
--- 5462,5480 ----
echo $ac_n "checking for timezone variable""... $ac_c" 1>&6
! echo "configure:5466: checking for timezone variable" >&5
if eval "test \"`echo '$''{'inn_cv_var_timezone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
timezone = 3600; altzone = 7200
; return 0; }
EOF
! if { (eval echo configure:5478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_var_timezone=yes
else
***************
*** 5283,5301 ****
echo $ac_n "checking for tzname variable""... $ac_c" 1>&6
! echo "configure:5287: checking for tzname variable" >&5
if eval "test \"`echo '$''{'inn_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
*tzname = "UTC"
; return 0; }
EOF
! if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_var_tzname=yes
else
--- 5496,5514 ----
echo $ac_n "checking for tzname variable""... $ac_c" 1>&6
! echo "configure:5500: checking for tzname variable" >&5
if eval "test \"`echo '$''{'inn_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
int main() {
*tzname = "UTC"
; return 0; }
EOF
! if { (eval echo configure:5512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_var_tzname=yes
else
***************
*** 5318,5324 ****
echo $ac_n "checking size of int""... $ac_c" 1>&6
! echo "configure:5322: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 5531,5537 ----
echo $ac_n "checking size of int""... $ac_c" 1>&6
! echo "configure:5535: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 5326,5332 ****
ac_cv_sizeof_int=4
else
cat > conftest.$ac_ext <
main()
--- 5539,5545 ----
ac_cv_sizeof_int=4
else
cat > conftest.$ac_ext <
main()
***************
*** 5337,5343 ****
exit(0);
}
EOF
! if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
--- 5550,5556 ----
exit(0);
}
EOF
! if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
***************
*** 5357,5363 ****
else
echo $ac_n "checking size of long""... $ac_c" 1>&6
! echo "configure:5361: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 5570,5576 ----
else
echo $ac_n "checking size of long""... $ac_c" 1>&6
! echo "configure:5574: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 5365,5371 ****
ac_cv_sizeof_long=4
else
cat > conftest.$ac_ext <
main()
--- 5578,5584 ----
ac_cv_sizeof_long=4
else
cat > conftest.$ac_ext <
main()
***************
*** 5376,5382 ****
exit(0);
}
EOF
! if { (eval echo configure:5380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
--- 5589,5595 ----
exit(0);
}
EOF
! if { (eval echo configure:5593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
***************
*** 5396,5402 ****
else
echo $ac_n "checking size of short""... $ac_c" 1>&6
! echo "configure:5400: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 5609,5615 ----
else
echo $ac_n "checking size of short""... $ac_c" 1>&6
! echo "configure:5613: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 5404,5410 ****
ac_cv_sizeof_short=2
else
cat > conftest.$ac_ext <
main()
--- 5617,5623 ----
ac_cv_sizeof_short=2
else
cat > conftest.$ac_ext <
main()
***************
*** 5415,5421 ****
exit(0);
}
EOF
! if { (eval echo configure:5419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_short=`cat conftestval`
else
--- 5628,5634 ----
exit(0);
}
EOF
! if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_short=`cat conftestval`
else
***************
*** 5444,5455 ****
echo $ac_n "checking for int32_t""... $ac_c" 1>&6
! echo "configure:5448: checking for int32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 5657,5668 ----
echo $ac_n "checking for int32_t""... $ac_c" 1>&6
! echo "configure:5661: checking for int32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 5488,5499 ****
echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
! echo "configure:5492: checking for uint32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 5701,5712 ----
echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
! echo "configure:5705: checking for uint32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 5531,5537 ****
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
! echo "configure:5535: checking for 8-bit clean memcmp" >&5
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 5744,5750 ----
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
! echo "configure:5748: checking for 8-bit clean memcmp" >&5
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 5539,5545 ****
ac_cv_func_memcmp_clean=no
else
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_memcmp_clean=yes
else
--- 5762,5768 ----
}
EOF
! if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_memcmp_clean=yes
else
***************
*** 5568,5584 ****
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:5572: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 5781,5797 ----
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:5785: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 5603,5620 ****
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:5607: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:5613: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:5820: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:5826: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
--- 5850,5856 ----
; return 0; }
EOF
! if { (eval echo configure:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
***************
*** 5659,5665 ****
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <
--- 5872,5878 ----
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <
***************
*** 5754,5760 ****
}
}
EOF
! if { (eval echo configure:5758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
--- 5967,5973 ----
}
}
EOF
! if { (eval echo configure:5971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
***************
*** 5777,5788 ****
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:5781: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
--- 5990,6001 ----
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
! echo "configure:5994: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
#include
***************
*** 5799,5805 ****
int i;
; return 0; }
EOF
! if { (eval echo configure:5803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
--- 6012,6018 ----
int i;
; return 0; }
EOF
! if { (eval echo configure:6016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
***************
*** 5824,5835 ****
symlink waitpid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:5828: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6041: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6065,6071 ----
; return 0; }
EOF
! if { (eval echo configure:6069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 5880,5891 ****
for ac_func in seteuid setreuid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:5884: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6097: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6121,6127 ----
; return 0; }
EOF
! if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 5934,5945 ****
echo $ac_n "checking for getrlimit""... $ac_c" 1>&6
! echo "configure:5938: checking for getrlimit" >&5
if eval "test \"`echo '$''{'ac_cv_func_getrlimit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6151: checking for getrlimit" >&5
if eval "test \"`echo '$''{'ac_cv_func_getrlimit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getrlimit=yes"
else
--- 6175,6181 ----
; return 0; }
EOF
! if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getrlimit=yes"
else
***************
*** 5977,5988 ****
if eval "test \"`echo '$ac_cv_func_'getrlimit`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for setrlimit""... $ac_c" 1>&6
! echo "configure:5981: checking for setrlimit" >&5
if eval "test \"`echo '$''{'ac_cv_func_setrlimit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
echo $ac_n "checking for setrlimit""... $ac_c" 1>&6
! echo "configure:6194: checking for setrlimit" >&5
if eval "test \"`echo '$''{'ac_cv_func_setrlimit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setrlimit=yes"
else
--- 6218,6224 ----
; return 0; }
EOF
! if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setrlimit=yes"
else
***************
*** 6035,6046 ****
for ac_func in sysconf getdtablesize ulimit
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6039: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6252: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6276,6282 ----
; return 0; }
EOF
! if { (eval echo configure:6280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 6090,6101 ****
if test x"$ac_cv_func_fcntl" = xno ; then
echo $ac_n "checking for flock""... $ac_c" 1>&6
! echo "configure:6094: checking for flock" >&5
if eval "test \"`echo '$''{'ac_cv_func_flock'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6307: checking for flock" >&5
if eval "test \"`echo '$''{'ac_cv_func_flock'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_flock=yes"
else
--- 6331,6337 ----
; return 0; }
EOF
! if { (eval echo configure:6335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_flock=yes"
else
***************
*** 6139,6145 ****
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for flock in -lbsd""... $ac_c" 1>&6
! echo "configure:6143: checking for flock in -lbsd" >&5
ac_lib_var=`echo bsd'_'flock | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
--- 6352,6358 ----
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for flock in -lbsd""... $ac_c" 1>&6
! echo "configure:6356: checking for flock in -lbsd" >&5
ac_lib_var=`echo bsd'_'flock | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 6147,6153 ****
ac_save_LIBS="$LIBS"
LIBS="-lbsd $LIBS"
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 6371,6377 ----
flock()
; return 0; }
EOF
! if { (eval echo configure:6375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
***************
*** 6183,6194 ****
for ac_func in lockf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6187: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6400: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6424,6430 ----
; return 0; }
EOF
! if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 6245,6256 ****
for ac_func in statfs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6249: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6462: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6486,6492 ----
; return 0; }
EOF
! if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 6301,6317 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:6305: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 6514,6530 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:6518: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 6343,6354 ****
strcasecmp strdup strerror strspn setenv hstrerror
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6347: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6560: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6584,6590 ----
; return 0; }
EOF
! if { (eval echo configure:6588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 6400,6406 ****
if test "$ac_cv_func_fseeko" = no || test "$ac_cv_func_ftello" = no ; then
echo $ac_n "checking for off_t-compatible fpos_t""... $ac_c" 1>&6
! echo "configure:6404: checking for off_t-compatible fpos_t" >&5
if eval "test \"`echo '$''{'inn_cv_type_fpos_t_large'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6613,6619 ----
if test "$ac_cv_func_fseeko" = no || test "$ac_cv_func_ftello" = no ; then
echo $ac_n "checking for off_t-compatible fpos_t""... $ac_c" 1>&6
! echo "configure:6617: checking for off_t-compatible fpos_t" >&5
if eval "test \"`echo '$''{'inn_cv_type_fpos_t_large'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 6408,6414 ****
inn_cv_type_fpos_t_large=no
else
cat > conftest.$ac_ext <
#include
--- 6621,6627 ----
inn_cv_type_fpos_t_large=no
else
cat > conftest.$ac_ext <
#include
***************
*** 6422,6428 ****
exit(off == (off_t) 9223372036854775807ULL ? 0 : 1);
}
EOF
! if { (eval echo configure:6426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
inn_cv_type_fpos_t_large=yes
else
--- 6635,6641 ----
exit(off == (off_t) 9223372036854775807ULL ? 0 : 1);
}
EOF
! if { (eval echo configure:6639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
inn_cv_type_fpos_t_large=yes
else
***************
*** 6459,6470 ****
echo $ac_n "checking if mmap() sees write()s""... $ac_c" 1>&6
! echo "configure:6463: checking if mmap() sees write()s" >&5
if test "$cross_compiling" = yes; then
result="yes"
else
cat > conftest.$ac_ext <
#include
--- 6672,6683 ----
echo $ac_n "checking if mmap() sees write()s""... $ac_c" 1>&6
! echo "configure:6676: checking if mmap() sees write()s" >&5
if test "$cross_compiling" = yes; then
result="yes"
else
cat > conftest.$ac_ext <
#include
***************
*** 6496,6502 ****
}
EOF
! if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
result="yes"
else
--- 6709,6715 ----
}
EOF
! if { (eval echo configure:6713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
result="yes"
else
***************
*** 6520,6526 ****
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:6524: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_shared'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6733,6739 ----
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
! echo "configure:6737: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_shared'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 6528,6534 ****
ac_cv_func_mmap_shared=no
else
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_shared=yes
else
--- 6841,6847 ----
}
EOF
! if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_shared=yes
else
***************
*** 6652,6663 ****
for ac_func in madvise
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:6656: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:6869: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 6893,6899 ----
; return 0; }
EOF
! if { (eval echo configure:6897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 6707,6713 ****
fi
echo $ac_n "checking whether msync is needed""... $ac_c" 1>&6
! echo "configure:6711: checking whether msync is needed" >&5
if eval "test \"`echo '$''{'ac_cv_func_need_msync'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6920,6926 ----
fi
echo $ac_n "checking whether msync is needed""... $ac_c" 1>&6
! echo "configure:6924: checking whether msync is needed" >&5
if eval "test \"`echo '$''{'ac_cv_func_need_msync'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
***************
*** 6715,6721 ****
ac_cv_func_need_msync=no
else
cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_need_msync=yes
else
--- 7040,7046 ----
}
EOF
! if { (eval echo configure:7044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_need_msync=yes
else
***************
*** 6852,6863 ****
if test $ac_cv_lib_regex_regexec = no; then
echo $ac_n "checking for regexec""... $ac_c" 1>&6
! echo "configure:6856: checking for regexec" >&5
if eval "test \"`echo '$''{'ac_cv_func_regexec'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&6
! echo "configure:7069: checking for regexec" >&5
if eval "test \"`echo '$''{'ac_cv_func_regexec'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_regexec=yes"
else
--- 7093,7099 ----
; return 0; }
EOF
! if { (eval echo configure:7097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_regexec=yes"
else
***************
*** 6905,6916 ****
fi
echo $ac_n "checking for three argument msync""... $ac_c" 1>&6
! echo "configure:6909: checking for three argument msync" >&5
if eval "test \"`echo '$''{'inn_cv_func_msync_3_args'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
--- 7118,7129 ----
fi
echo $ac_n "checking for three argument msync""... $ac_c" 1>&6
! echo "configure:7122: checking for three argument msync" >&5
if eval "test \"`echo '$''{'inn_cv_func_msync_3_args'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <
***************
*** 6919,6925 ****
char *p; int psize; msync(p,psize,MS_ASYNC);
; return 0; }
EOF
! if { (eval echo configure:6923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_func_msync_3_args=yes
else
--- 7132,7138 ----
char *p; int psize; msync(p,psize,MS_ASYNC);
; return 0; }
EOF
! if { (eval echo configure:7136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
inn_cv_func_msync_3_args=yes
else
***************
*** 6940,6948 ****
fi
echo $ac_n "checking for Unix domain sockets""... $ac_c" 1>&6
! echo "configure:6944: checking for Unix domain sockets" >&5
cat > conftest.$ac_ext <
--- 7153,7161 ----
fi
echo $ac_n "checking for Unix domain sockets""... $ac_c" 1>&6
! echo "configure:7157: checking for Unix domain sockets" >&5
cat > conftest.$ac_ext <
***************
*** 6968,6977 ****
echo $ac_n "checking log facility for news""... $ac_c" 1>&6
! echo "configure:6972: checking log facility for news" >&5
if test x"$SYSLOG_FACILITY" = xnone ; then
cat > conftest.$ac_ext <
--- 7181,7190 ----
echo $ac_n "checking log facility for news""... $ac_c" 1>&6
! echo "configure:7185: checking log facility for news" >&5
if test x"$SYSLOG_FACILITY" = xnone ; then
cat > conftest.$ac_ext <
Index: inn/configure.in
diff -c inn/configure.in:1.163.2.11 inn/configure.in:1.163.2.17
*** inn/configure.in:1.163.2.11 Mon Jan 8 16:30:39 2001
--- inn/configure.in Mon Mar 5 14:44:17 2001
***************
*** 1,7 ****
dnl Process this file with autoconf to produce a configure script.
! dnl $Id: configure.in,v 1.163.2.11 2001/01/08 07:30:39 rra Exp $
! AC_REVISION($Revision: 1.163.2.11 $)dnl
AC_PREREQ(2.13)
dnl FIXME: The separable tests in this file should be broken out into
--- 1,7 ----
dnl Process this file with autoconf to produce a configure script.
! dnl $Id: configure.in,v 1.163.2.17 2001/03/05 05:44:17 rra Exp $
! AC_REVISION($Revision: 1.163.2.17 $)dnl
AC_PREREQ(2.13)
dnl FIXME: The separable tests in this file should be broken out into
***************
*** 256,287 ****
yes)
AC_MSG_CHECKING(for BerkeleyDB location)
! for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2
! do
! for d in /opt /usr /usr/local
! do
! if test -d "$d/$v" ; then
! BERKELEY_DB_DIR="$d/$v"
! fi
! done
done
! if test "$BERKELEY_DB_DIR" = "yes" ; then
! if test -d /usr/local/include/db2 ; then
! BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
! BERKELEY_DB_CFLAGS="-I/usr/local/include/db2"
! BERKELEY_DB_LIB="-ldb2"
! BERKELEY_DB_BINDIR="/usr/local/bin"
! AC_MSG_RESULT(FreeBSD locations)
! else
! AC_MSG_ERROR(Can not find BerkeleyDB)
! fi
else
! BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
! BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
! BERKELEY_DB_LIB="-ldb"
! BERKELEY_DB_BINDIR="$BERKELEY_DB_DIR/bin"
! AC_MSG_RESULT($BERKELEY_DB_DIR)
fi
AC_DEFINE(USE_BERKELEY_DB)
;;
--- 256,298 ----
yes)
AC_MSG_CHECKING(for BerkeleyDB location)
! for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 ; do
! for d in /usr /opt /usr/local ; do
! test -d "$d/$v" && BERKELEY_DB_DIR="$d/$v"
! done
done
! if test x"$BERKELEY_DB_DIR" = xyes ; then
! for v in db3 db2 ; do
! if test -d "/usr/local/include/$v" ; then
! BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
! BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
! BERKELEY_DB_LIB="-l$v"
! BERKELEY_DB_BINDIR="/usr/local/bin"
! AC_MSG_RESULT(FreeBSD locations)
! break
! fi
! done
! if test x"$BERKELEY_DB_LIB" = x ; then
! for v in db3 db2 ; do
! if test -d "/usr/include/$v" ; then
! BERKELEY_DB_CFLAGS="-I/usr/include/$v"
! BERKELEY_DB_LIB="-l$v"
! BERKELEY_DB_BINDIR="/usr/bin"
! AC_MSG_RESULT(Linux locations)
! break
! fi
! done
! if test x"$BERKELEY_DB_LIB" = x ; then
! AC_MSG_ERROR(Cannot find BerkeleyDB)
! fi
! fi
else
! BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
! BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
! BERKELEY_DB_LIB="-ldb"
! BERKELEY_DB_BINDIR="$BERKELEY_DB_DIR/bin"
! AC_MSG_RESULT($BERKELEY_DB_DIR)
fi
AC_DEFINE(USE_BERKELEY_DB)
;;
***************
*** 415,423 ****
INN_PERL_VERSION(5.003)
fi
! dnl Look for PGP 5.0's pgpv, or pgp if pgpv is not found.
pgpverify=true
! AC_PATH_PROGS(_PATH_PGP, pgpv pgp)
if test -z "$_PATH_PGP" ; then
pgpverify=false
fi
--- 426,434 ----
INN_PERL_VERSION(5.003)
fi
! dnl Look for PGP 5.0's pgpv, or pgp/pgpgpg if pgpv is not found.
pgpverify=true
! AC_PATH_PROGS(_PATH_PGP, pgpv pgp pgpgpg)
if test -z "$_PATH_PGP" ; then
pgpverify=false
fi
***************
*** 478,484 ****
echo 'No sendmail in path. Looking in likely places....'
echo ''
AC_PATH_PROG(SENDMAIL, sendmail, ,
! $PATH:/usr/lib:/usr/sbin:/usr/ucblib)
echo ''
if test -n "$SENDMAIL" ; then
echo "sendmail was found at $SENDMAIL. If this is correct, re-run"
--- 489,495 ----
echo 'No sendmail in path. Looking in likely places....'
echo ''
AC_PATH_PROG(SENDMAIL, sendmail, ,
! $PATH:/usr/sbin:/usr/lib:/usr/ucblib)
echo ''
if test -n "$SENDMAIL" ; then
echo "sendmail was found at $SENDMAIL. If this is correct, re-run"
***************
*** 725,733 ****
AC_MSG_RESULT($OPENSSL_DIR)
if test "$OPENSSL_DIR" != "no"; then
SSL_INC="-I${OPENSSL_DIR}/include"
- SSL_LIB="-L${OPENSSL_DIR}/lib -lssl -lcrypto"
SSL_BIN="${OPENSSL_DIR}/bin"
! AC_DEFINE(HAVE_SSL)
else
SSL_LIB=""
SSL_INC=""
--- 736,758 ----
AC_MSG_RESULT($OPENSSL_DIR)
if test "$OPENSSL_DIR" != "no"; then
SSL_INC="-I${OPENSSL_DIR}/include"
SSL_BIN="${OPENSSL_DIR}/bin"
! SSL_LIB="-L${OPENSSL_DIR}/lib"
! AC_CHECK_LIB(rsaref, RSAPublicEncrypt,
! [AC_CHECK_LIB(RSAglue, RSAPublicEncrypt,
! SSL_LIB="-lRSAglue -lrsaref ${SSL_LIB}",,-lrsaref $SSL_LIB)]
! ,,$SSL_LIB)
! AC_CHECK_LIB(rsaref, RSAPublicEncrypt,
! SSL_LIB="${SSL_LIB} -lRSAglue -lrsaref",,$SSL_LIB)
! AC_CHECK_LIB(crypto,BIO_accept,
! SSL_LIB="-lcrypto ${SSL_LIB}",
! [AC_MSG_ERROR(Can not find OpenSSL)],
! $SSL_LIB)
! AC_CHECK_LIB(ssl, SSL_CTX_new,
! SSL_LIB="-lssl ${SSL_LIB}";
! [AC_DEFINE(HAVE_SSL, 1, [Define if OpenSSL is available.])],
! [AC_MSG_ERROR(Can not find OpenSSL)],
! $SSL_LIB)
else
SSL_LIB=""
SSL_INC=""
Index: inn/backends/Makefile
diff -c inn/backends/Makefile:1.31 inn/backends/Makefile:1.31.2.1
*** inn/backends/Makefile:1.31 Sat Apr 8 13:46:24 2000
--- inn/backends/Makefile Mon Mar 5 14:57:07 2001
***************
*** 1,13 ****
! ## $Id: Makefile,v 1.31 2000/04/08 04:46:24 rra Exp $
include ../Makefile.global
CFLAGS = $(GCFLAGS)
ALL = actmerge actsync actsyncd archive batcher buffchan \
! controlbatch cvtbatch filechan inndf innxmit innxbatch \
! mod-active news2mail nntpget nntpsend overchan send-ihave \
! send-nntp send-uucp sendbatch sendxbatches shlock shrinkfile
EXTRA = controlchan pgpverify
--- 1,14 ----
! ## $Id: Makefile,v 1.31.2.1 2001/03/05 05:57:07 rra Exp $
include ../Makefile.global
CFLAGS = $(GCFLAGS)
ALL = actmerge actsync actsyncd archive batcher buffchan \
! controlbatch cvtbatch filechan gpgverify inndf innxmit \
! innxbatch mod-active news2mail nntpget nntpsend overchan \
! send-ihave send-nntp send-uucp sendbatch sendxbatches \
! shlock shrinkfile
EXTRA = controlchan pgpverify
***************
*** 25,30 ****
--- 26,32 ----
$(D)$(PATHBIN)/controlchan \
$(D)$(PATHBIN)/cvtbatch \
$(D)$(PATHBIN)/filechan \
+ $(D)$(PATHBIN)/gpgverify \
$(D)$(PATHBIN)/inndf \
$(D)$(PATHBIN)/innxmit \
$(D)$(PATHBIN)/innxbatch \
***************
*** 86,91 ****
--- 88,94 ----
actmerge: actmerge.in $(FIX) ; $(FIX) actmerge.in
actsyncd: actsyncd.in $(FIX) ; $(FIX) actsyncd.in
controlbatch: controlbatch.in $(FIX) ; $(FIX) controlbatch.in
+ gpgverify: gpgverify.in $(FIX) ; $(FIX) gpgverify.in
mod-active: mod-active.in $(FIX) ; $(FIX) mod-active.in
news2mail: news2mail.in $(FIX) ; $(FIX) news2mail.in
nntpsend: nntpsend.in $(FIX) ; $(FIX) nntpsend.in
***************
*** 113,118 ****
--- 116,122 ----
$(D)$(PATHBIN)/controlchan: controlchan ; $(CP_XPRI) $? $@
$(D)$(PATHBIN)/cvtbatch: cvtbatch ; $(LI_XPUB) $? $@
$(D)$(PATHBIN)/filechan: filechan ; $(LI_XPUB) $? $@
+ $(D)$(PATHBIN)/gpgverify: gpgverify ; $(CP_XPUB) $? $@
$(D)$(PATHBIN)/inndf: inndf ; $(LI_XPUB) $? $@
$(D)$(PATHBIN)/innxbatch: innxbatch ; $(LI_XPUB) $? $@
$(D)$(PATHBIN)/innxmit: innxmit ; $(LI_XPUB) $? $@
Index: inn/backends/gpgverify.in
diff -c /dev/null inn/backends/gpgverify.in:1.1.2.1
*** /dev/null Fri May 4 05:29:43 2001
--- inn/backends/gpgverify.in Mon Mar 5 14:57:08 2001
***************
*** 0 ****
--- 1,226 ----
+ #!/usr/bin/perl -w
+ # fixscript will replace this line with require innshellvars.pl
+
+ # written April 1996, tale@isc.org (David C Lawrence)
+ # mostly rewritten 2000-22-01 by Marco d'Itri
+ #
+ # requirements:
+ # - GnuPG
+ # - perl 5.004_03
+ # - syslog daemon accessible via unix domain socket
+ #
+ # There is no locking because gpg is supposed to not need it and controlchan
+ # will serialize control messages processing anyway.
+
+ require 5.004_03;
+ use strict;
+
+ # if you keep your keyring somewhere that is not the default used by gpg,
+ # set appropriately the next line.
+ #my $gpghome = '/etc/news/pgp';
+
+ # If you have INN and the script is able to successfully include your
+ # innshellvars.pl file, the value of the next two variables will be
+ # overridden.
+ my $tmpdir = '/var/log/news/';
+ my $syslog_facility = 'news';
+
+ # 1: print PGP output
+ my $debug = 0;
+ #$debug = 1 if -t 1;
+
+ ### Exit value:
+ ### 0 good signature
+ ### 1 no signature
+ ### 2 unknown signature
+ ### 3 bad signature
+ ### 255 problem not directly related to gpg analysis of signature
+
+ ##############################################################################
+ ################ NO USER SERVICEABLE PARTS BELOW THIS COMMENT ################
+ ##############################################################################
+ my $tmp = ($inn::pathtmp ? $inn::pathtmp : $tmpdir) . "/pgp$$";
+ $syslog_facility = $inn::syslog_facility if $inn::syslog_facility;
+
+ my $nntp_format = 0;
+ $0 =~ s#^.*/##; # trim /path/to/prog to prog
+
+ die "Usage: $0 < message\n" if $#ARGV != -1;
+
+ # Path to gpg binary
+ my $gpg;
+ foreach (split(/:/, $ENV{PATH}), qw(/usr/local/bin /opt/gnu/bin)) {
+ if (-x "$_/gpg") {
+ $gpg = "$_/gpg"; last;
+ }
+ }
+ fail('cannot find gpg binary') if not $gpg;
+
+ # this is, by design, case-sensitive with regards to the headers it checks.
+ # it's also insistent about the colon-space rule.
+ my ($label, $value, %dup, %header);
+ while () {
+ # if a header line ends with \r\n, this article is in the encoding
+ # it would be in during an NNTP session. some article storage
+ # managers keep them this way for efficiency.
+ $nntp_format = /\r\n$/ if $. == 1;
+ s/\r?\n$//;
+
+ last if /^$/;
+ if (/^(\S+):[ \t](.+)/) {
+ ($label, $value) = ($1, $2);
+ $dup{$label} = 1 if $header{$label};
+ $header{$label} = $value;
+ } elsif (/^\s/) {
+ fail("non-header at line $.: $_") unless $label;
+ $header{$label} .= "\n$_";
+ } else {
+ fail("non-header at line $.: $_");
+ }
+ }
+
+ my $pgpheader = 'X-PGP-Sig';
+ $_ = $header{$pgpheader};
+ exit 1 if not $_; # no signature
+
+ # the $sep value means the separator between the radix64 signature lines
+ # can have any amount of spaces or tabs, but must have at least one space
+ # or tab, if there is a newline then the space or tab has to follow the
+ # newline. any number of newlines can appear as long as each is followed
+ # by at least one space or tab. *phew*
+ my $sep = "[ \t]*(\n?[ \t]+)+";
+ # match all of the characters in a radix64 string
+ my $r64 = '[a-zA-Z0-9+/]';
+ fail("$pgpheader not in expected format")
+ unless /^(\S+)$sep(\S+)(($sep$r64{64})+$sep$r64+=?=?$sep=$r64{4})$/;
+
+ my ($version, $signed_headers, $signature) = ($1, $3, $4);
+ $signature =~ s/$sep/\n/g;
+
+ my $message = "-----BEGIN PGP SIGNED MESSAGE-----\n\n"
+ . "X-Signed-Headers: $signed_headers\n";
+
+ foreach $label (split(',', $signed_headers)) {
+ fail("duplicate signed $label header, can't verify") if $dup{$label};
+ $message .= "$label: ";
+ $message .= $header{$label} if $header{$label};
+ $message .= "\n";
+ }
+ $message .= "\n"; # end of headers
+
+ while () { # read body lines
+ if ($nntp_format) {
+ # check for end of article; some news servers (eg, Highwind's "Breeze")
+ # include the dot-CRLF of the NNTP protocol in the article data passed
+ # to this script
+ last if $_ eq ".\r\n";
+
+ # remove NNTP encoding
+ s/^\.\./\./;
+ s/\r\n$/\n/;
+ }
+
+ s/^-/- -/; # pgp quote ("ASCII armor") dashes
+ $message .= $_;
+ }
+
+ $message .=
+ "\n-----BEGIN PGP SIGNATURE-----\n" .
+ "Version: $version\n" .
+ $signature .
+ "\n-----END PGP SIGNATURE-----\n";
+
+ open(TMP, ">$tmp") or fail("open $tmp: $!");
+ print TMP $message;
+ close TMP or errmsg("close $tmp: $!");
+
+ my $opts = '--verify --quiet --batch --no-tty --status-fd=1';
+ $opts .= " --homedir=$gpghome" if $gpghome;
+
+ open(PGP, "$gpg $opts < $tmp 2>&1 |") or fail("failed to execute $gpg: $!");
+
+ undef $/;
+ $_ = ;
+
+ unlink $tmp or errmsg("unlink $tmp: $!");
+
+ if (not close PGP) {
+ if ($? >> 8) {
+ my $status = $? >> 8;
+ errmsg("gpg exited status $status") if $status > 1;
+ } else {
+ errmsg('gpg died on signal ' . ($? & 255));
+ }
+ }
+
+ print STDERR $_ if $debug;
+
+ my $ok = 2; # default exit status: unknown signature
+ my $signer;
+ if (/^\[GNUPG:\]\s+BADSIG\s+/m) {
+ $ok = 3;
+ } elsif (/^\[GNUPG:\]\s+GOODSIG\s+\S+\s+(\S+)/m) {
+ $ok = 0;
+ $signer = $1;
+ }
+
+ print "$signer\n" if $signer;
+ exit $ok;
+
+ sub errmsg {
+ my $msg = $_[0];
+
+ eval 'use Sys::Syslog qw(:DEFAULT setlogsock)';
+ die "$0: cannot use Sys::Syslog: $@ [$msg]\n" if $@;
+
+ die "$0: cannot set syslog method [$msg]\n"
+ if not setlogsock('unix') or setlogsock('inet');
+
+ $msg .= " processing $header{'Message-ID'}" if $header{'Message-ID'};
+
+ openlog($0, 'pid', $syslog_facility);
+ syslog('err', '%s', $msg);
+ closelog();
+ }
+
+ sub fail {
+ errmsg($_[0]);
+ unlink $tmp;
+ exit 255;
+ }
+
+ __END__
+
+ # Copyright 2000 by Marco d'Itri
+
+ # License of the original version distributed by David C. Lawrence:
+
+ # Copyright (c) 1996 UUNET Technologies, Inc.
+ # All rights reserved.
+ #
+ # Redistribution and use in source and binary forms, with or without
+ # modification, are permitted provided that the following conditions
+ # are met:
+ # 1. Redistributions of source code must retain the above copyright
+ # notice, this list of conditions and the following disclaimer.
+ # 2. Redistributions in binary form must reproduce the above copyright
+ # notice, this list of conditions and the following disclaimer in the
+ # documentation and/or other materials provided with the distribution.
+ # 3. All advertising materials mentioning features or use of this software
+ # must display the following acknowledgement:
+ # This product includes software developed by UUNET Technologies, Inc.
+ # 4. The name of UUNET Technologies ("UUNET") may not be used to endorse or
+ # promote products derived from this software without specific prior
+ # written permission.
+ #
+ # THIS SOFTWARE IS PROVIDED BY UUNET ``AS IS'' AND ANY EXPRESS OR
+ # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ # ARE DISCLAIMED. IN NO EVENT SHALL UUNET BE LIABLE FOR ANY DIRECT,
+ # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
Index: inn/backends/innxmit.c
diff -c inn/backends/innxmit.c:1.34.2.5 inn/backends/innxmit.c:1.34.2.6
*** inn/backends/innxmit.c:1.34.2.5 Fri Aug 25 07:21:57 2000
--- inn/backends/innxmit.c Sat Mar 17 14:50:29 2001
***************
*** 1,4 ****
! /* $Revision: 1.34.2.5 $
**
** Transmit articles to remote site.
** Modified for NNTP streaming: 3Jan96 Jerry Aguirre
--- 1,4 ----
! /* $Revision: 1.34.2.6 $
**
** Transmit articles to remote site.
** Modified for NNTP streaming: 3Jan96 Jerry Aguirre
***************
*** 127,132 ****
--- 127,137 ----
STATIC double STATrejectedsize;
+ /* Prototypes. */
+ static ARTHANDLE *article_open(const char *path, const char *id);
+ static void article_free(ARTHANDLE *);
+
+
/*
** Find the history file entry for the Message-ID and return a file
** positioned at the third field.
***************
*** 199,205 ****
** Flush and reset the site's output buffer. Return FALSE on error.
*/
STATIC BOOL
! REMflush() {
int i;
if (REMbuffptr == REMbuffer) return TRUE; /* nothing buffered */
--- 204,211 ----
** Flush and reset the site's output buffer. Return FALSE on error.
*/
STATIC BOOL
! REMflush(void)
! {
int i;
if (REMbuffptr == REMbuffer) return TRUE; /* nothing buffered */
***************
*** 288,294 ****
STATIC void
strel(int i) {
if (stbuf[i].art) {
! SMfreearticle(stbuf[i].art);
stbuf[i].art = NULL;
}
if (stbuf[i].st_id) stbuf[i].st_id[0] = '\0';
--- 294,300 ----
STATIC void
strel(int i) {
if (stbuf[i].art) {
! article_free(stbuf[i].art);
stbuf[i].art = NULL;
}
if (stbuf[i].st_id) stbuf[i].st_id[0] = '\0';
***************
*** 377,383 ****
** to be the batchfile.
*/
STATIC void
! CloseAndRename() {
/* Close the files, rename the temporary. */
if (BATCHqp) {
QIOclose(BATCHqp);
--- 383,390 ----
** to be the batchfile.
*/
STATIC void
! CloseAndRename(void)
! {
/* Close the files, rename the temporary. */
if (BATCHqp) {
QIOclose(BATCHqp);
***************
*** 404,410 ****
** a file write error, exit so that the original input is left alone.
*/
STATIC void
! Requeue(char *Article, char *MessageID) {
/* Temp file already open? */
if (BATCHfp == NULL) {
(void)mktemp(BATCHtemp);
--- 411,417 ----
** a file write error, exit so that the original input is left alone.
*/
STATIC void
! Requeue(const char *Article, const char *MessageID) {
/* Temp file already open? */
if (BATCHfp == NULL) {
(void)mktemp(BATCHtemp);
***************
*** 671,679 ****
GetMessageID(ARTHANDLE *art) {
static char *buff;
static int buffsize = 0;
! char *p, *q;
! if ((p = (char *)HeaderFindMem(art->data, art->len, "Message-ID", 10)) == NULL)
return NULL;
for (q = p; q < art->data + art->len; q++) {
if (*q == '\r' || *q == '\n')
--- 678,686 ----
GetMessageID(ARTHANDLE *art) {
static char *buff;
static int buffsize = 0;
! const char *p, *q;
! if ((p = HeaderFindMem(art->data, art->len, "Message-ID", 10)) == NULL)
return NULL;
for (q = p; q < art->data + art->len; q++) {
if (*q == '\r' || *q == '\n')
***************
*** 750,798 ****
STATIC BOOL
takethis(int i) {
char buff[NNTP_STRLEN];
- ARTHANDLE *art;
- TOKEN token;
! if (!IsToken(stbuf[i].st_fname)) {
! strel(i);
! ++STATmissing;
! return FALSE; /* Not an error. Could be canceled or expired */
! }
! token = TextToToken(stbuf[i].st_fname);
! if (!stbuf[i].art) { /* should already be open but ... */
! /* Open the article. */
! if ((art = SMretrieve(token, RETR_ALL)) == NULL) {
! strel(i);
! ++STATmissing;
! return FALSE; /* Not an error. Could be canceled or expired */
! }
! stbuf[i].art = NEW(ARTHANDLE, 1);
! *stbuf[i].art = *art;
! } else if (SMprobe(SELFEXPIRE, &token, NULL)) {
! /* examine if the article still exists */
! if ((art = SMretrieve(token, RETR_STAT)) == NULL) {
! strel(i);
! ++STATmissing;
! return FALSE; /* Not an error. Could be canceled or expired */
! }
! SMfreearticle(art);
}
/* send "takethis " to the other system */
(void)sprintf(buff, "takethis %s", stbuf[i].st_id);
if (!REMwrite(buff, (int)strlen(buff), FALSE)) {
! (void)fprintf(stderr, "Can't send takethis , %s\n",
! strerror(errno));
! return TRUE;
}
if (Debug)
! (void)fprintf(stderr, "> %s\n", buff);
if (GotInterrupt)
! Interrupted((char *)0, (char *)0);
! if (!REMsendarticle(stbuf[i].st_fname, stbuf[i].st_id,
! stbuf[i].art))
! return TRUE;
stbuf[i].st_size = stbuf[i].art->len;
! SMfreearticle(stbuf[i].art); /* should not need file again */
stbuf[i].art = 0; /* so close to free descriptor */
stbuf[i].st_age = 0;
/* That all. Response is checked later by strlisten() */
--- 757,783 ----
STATIC BOOL
takethis(int i) {
char buff[NNTP_STRLEN];
! if (!stbuf[i].art) {
! fprintf(stderr, "Internal error: null article for %s in takethis\n",
! stbuf[i].st_fname);
! return TRUE;
}
/* send "takethis " to the other system */
(void)sprintf(buff, "takethis %s", stbuf[i].st_id);
if (!REMwrite(buff, (int)strlen(buff), FALSE)) {
! (void)fprintf(stderr, "Can't send takethis , %s\n",
! strerror(errno));
! return TRUE;
}
if (Debug)
! (void)fprintf(stderr, "> %s\n", buff);
if (GotInterrupt)
! Interrupted((char *)0, (char *)0);
! if (!REMsendarticle(stbuf[i].st_fname, stbuf[i].st_id, stbuf[i].art))
! return TRUE;
stbuf[i].st_size = stbuf[i].art->len;
! article_free(stbuf[i].art); /* should not need file again */
stbuf[i].art = 0; /* so close to free descriptor */
stbuf[i].st_age = 0;
/* That all. Response is checked later by strlisten() */
***************
*** 805,811 ****
** return TRUE on failure.
*/
STATIC BOOL
! strlisten() {
int resp;
int i;
char *id, *p;
--- 790,797 ----
** return TRUE on failure.
*/
STATIC BOOL
! strlisten(void)
! {
int resp;
int i;
char *id, *p;
***************
*** 910,915 ****
--- 896,984 ----
}
+ /*
+ ** Open an article. If the argument is a token, retrieve the article via
+ ** the storage API. Otherwise, open the file and fake up an ARTHANDLE for
+ ** it. Only fill in those fields that we'll need. Articles not retrieved
+ ** via the storage API will have a type of TOKEN_EMPTY.
+ */
+ static ARTHANDLE *
+ article_open(const char *path, const char *id)
+ {
+ TOKEN token;
+ ARTHANDLE *article;
+ int fd, length;
+ struct stat st;
+ char *p;
+
+ if (IsToken(path)) {
+ token = TextToToken(path);
+ article = SMretrieve(token, RETR_ALL);
+ if (article == NULL) {
+ if (SMerrno == SMERR_NOENT || SMerrno == SMERR_UNINIT)
+ STATmissing++;
+ else {
+ fprintf(stderr, "Requeue %s: %s\n", path, SMerrorstr);
+ Requeue(path, id);
+ }
+ }
+ return article;
+ } else {
+ fd = open(path, O_RDONLY);
+ if (fd < 0)
+ return NULL;
+ if (fstat(fd, &st) < 0) {
+ fprintf(stderr, "Requeue %s: %s\n", path, strerror(errno));
+ Requeue(path, id);
+ return NULL;
+ }
+ article = NEW(ARTHANDLE, 1);
+ article->type = TOKEN_EMPTY;
+ article->len = st.st_size;
+ article->data = NEW(char, article->len);
+ if (xread(fd, article->data, article->len) < 0) {
+ fprintf(stderr, "Requeue %s: %s\n", path, strerror(errno));
+ free(article->data);
+ free(article);
+ close(fd);
+ Requeue(path, id);
+ return NULL;
+ }
+ close(fd);
+ p = memchr(article->data, '\n', article->len);
+ if (p == NULL || p == article->data) {
+ fprintf(stderr, "Requeue %s: can't find headers\n", path);
+ free(article->data);
+ free(article);
+ Requeue(path, id);
+ return NULL;
+ }
+ if (p[-1] != '\r') {
+ p = ToWireFmt(article->data, article->len, &length);
+ free(article->data);
+ article->data = p;
+ article->len = length;
+ }
+ return article;
+ }
+ }
+
+
+ /*
+ ** Free an article, using the type field to determine whether to free it
+ ** via the storage API.
+ */
+ static void
+ article_free(ARTHANDLE *article)
+ {
+ if (article->type == TOKEN_EMPTY) {
+ free(article->data);
+ free(article);
+ } else
+ SMfreearticle(article);
+ }
+
+
int main(int ac, char *av[]) {
static char SKIPPING[] = "Skipping \"%s\" --%s?\n";
int i;
***************
*** 926,932 ****
unsigned int TotalTimeout;
int port = NNTP_PORT;
BOOL val;
- TOKEN token;
(void)openlog("innxmit", L_OPENLOG_FLAGS | LOG_PID, LOG_INN_PROG);
/* Set defaults. */
--- 995,1000 ----
***************
*** 1128,1135 ****
}
}
if (CanStream) {
- int i;
-
for (i = 0; i < STNBUF; i++) { /* reset buffers */
stbuf[i].st_fname = 0;
stbuf[i].st_id = 0;
--- 1196,1201 ----
***************
*** 1216,1252 ****
continue;
}
! /*
! * If the IHAVE plus the "message-id", separating space and trailing
! * CR-NL will exceed the maximum command length permitted by the RFC
! * (i.e. NNTP_STRLEN), then reject the article and continue to avoid
! * overrunning buffers and throwing the server on the recieving end a
! * blow from behind.
! */
! if (MessageID != NULL && (strlen(MessageID) > NNTP_STRLEN - 12)) {
(void)fprintf(stderr, "Dropping article in \"%s\" - long message id \"%s\"\n",
BATCHname, MessageID);
continue;
}
! if (!IsToken(Article))
! continue;
! token = TextToToken(Article);
! /* Open the article. */
! if ((art = SMretrieve(token, RETR_ALL)) == NULL) {
! if ((SMerrno == SMERR_NOENT) || (SMerrno == SMERR_UNINIT)) {
! ++STATmissing;
! continue;
! } else {
! (void)fprintf(stderr, "Requeue \"%s\", %s\n",
! Article, SMerrorstr);
! Requeue(Article, MessageID);
! }
continue;
- }
if (Purging) {
! SMfreearticle(art);
Requeue(Article, MessageID);
continue;
}
--- 1282,1302 ----
continue;
}
! /* Drop articles with a message ID longer than NNTP_MSGID_MAXLEN to
! avoid overrunning buffers and throwing the server on the
! receiving end a blow from behind. */
! if (MessageID != NULL && strlen(MessageID) > NNTP_MSGID_MAXLEN) {
(void)fprintf(stderr, "Dropping article in \"%s\" - long message id \"%s\"\n",
BATCHname, MessageID);
continue;
}
! art = article_open(Article, MessageID);
! if (art == NULL)
continue;
if (Purging) {
! article_free(art);
Requeue(Article, MessageID);
continue;
}
***************
*** 1255,1261 ****
if (MessageID == NULL) {
if ((MessageID = GetMessageID(art)) == NULL) {
(void)fprintf(stderr, SKIPPING, Article, "no Message-ID");
! SMfreearticle(art);
continue;
}
}
--- 1305,1311 ----
if (MessageID == NULL) {
if ((MessageID = GetMessageID(art)) == NULL) {
(void)fprintf(stderr, SKIPPING, Article, "no Message-ID");
! article_free(art);
continue;
}
}
***************
*** 1264,1270 ****
/* Offer the article. */
if (CanStream) {
- int i;
int lim;
int hash;
--- 1314,1319 ----
***************
*** 1273,1279 ****
if (Debug)
(void)fprintf(stderr, "Skipping duplicate ID %s\n",
MessageID);
! SMfreearticle(art);
continue;
}
/* This code tries to optimize by sending a burst of "check"
--- 1322,1328 ----
if (Debug)
(void)fprintf(stderr, "Skipping duplicate ID %s\n",
MessageID);
! article_free(art);
continue;
}
/* This code tries to optimize by sending a burst of "check"
***************
*** 1293,1299 ****
/* save new article in the buffer */
i = stalloc(Article, MessageID, art, hash);
if (i < 0) {
! SMfreearticle(art);
RequeueRestAndExit(Article, MessageID);
}
if (DoCheck && (stnofail < STNC)) {
--- 1342,1348 ----
/* save new article in the buffer */
i = stalloc(Article, MessageID, art, hash);
if (i < 0) {
! article_free(art);
RequeueRestAndExit(Article, MessageID);
}
if (DoCheck && (stnofail < STNC)) {
***************
*** 1330,1336 ****
if (!REMwrite(buff, (int)strlen(buff), FALSE)) {
(void)fprintf(stderr, "Can't offer article, %s\n",
strerror(errno));
! SMfreearticle(art);
RequeueRestAndExit(Article, MessageID);
}
STAToffered++;
--- 1379,1385 ----
if (!REMwrite(buff, (int)strlen(buff), FALSE)) {
(void)fprintf(stderr, "Can't offer article, %s\n",
strerror(errno));
! article_free(art);
RequeueRestAndExit(Article, MessageID);
}
STAToffered++;
***************
*** 1342,1348 ****
/* Does he want it? */
if (!REMread(buff, (int)sizeof buff)) {
(void)fprintf(stderr, "No reply to ihave, %s\n", strerror(errno));
! SMfreearticle(art);
RequeueRestAndExit(Article, MessageID);
}
if (GotInterrupt)
--- 1391,1397 ----
/* Does he want it? */
if (!REMread(buff, (int)sizeof buff)) {
(void)fprintf(stderr, "No reply to ihave, %s\n", strerror(errno));
! article_free(art);
RequeueRestAndExit(Article, MessageID);
}
if (GotInterrupt)
***************
*** 1386,1392 ****
#endif /* defined(NNTP_SENDIT_LATER) */
}
! SMfreearticle(art);
}
if (CanStream) { /* need to wait for rest of ACKs */
while (stnq > 0) {
--- 1435,1441 ----
#endif /* defined(NNTP_SENDIT_LATER) */
}
! article_free(art);
}
if (CanStream) { /* need to wait for rest of ACKs */
while (stnq > 0) {
Index: inn/backends/overchan.c
diff -c inn/backends/overchan.c:1.24.2.2 inn/backends/overchan.c:1.24.2.3
*** inn/backends/overchan.c:1.24.2.2 Wed Aug 9 20:03:56 2000
--- inn/backends/overchan.c Sat Jan 27 22:32:11 2001
***************
*** 1,4 ****
! /* $Revision: 1.24.2.2 $
**
** Parse input to add to news overview database.
*/
--- 1,4 ----
! /* $Revision: 1.24.2.3 $
**
** Parse input to add to news overview database.
*/
***************
*** 106,112 ****
if (ReadInnConf() < 0) exit(1);
(void)umask(NEWSUMASK);
if (innconf->enableoverview && !innconf->useoverchan)
! syslog(L_ERROR, "overchan runs while innd creates overview data(you can ignore this message if you run makehistory '-F')");
ac -= 1;
av += 1;
--- 106,114 ----
if (ReadInnConf() < 0) exit(1);
(void)umask(NEWSUMASK);
if (innconf->enableoverview && !innconf->useoverchan)
! syslog(L_ERROR, "overchan is running while innd is creating"
! " overview data (you can ignore this message if you are"
! " running makehistory -F)");
ac -= 1;
av += 1;
Index: inn/doc/man/Makefile
diff -c inn/doc/man/Makefile:1.14.2.4 inn/doc/man/Makefile:1.14.2.7
*** inn/doc/man/Makefile:1.14.2.4 Mon Nov 6 17:41:11 2000
--- inn/doc/man/Makefile Sat Feb 3 18:52:39 2001
***************
*** 1,13 ****
! ## $Id: Makefile,v 1.14.2.4 2000/11/06 08:41:11 rra Exp $
include ../../Makefile.global
## Edit these if you need to.
MANFLAGS = -c $(OWNER) -m 0444 -B .OLD
! SEC1 = ckpasswd.1 convdate.1 getlist.1 grephistory.1 inews.1 \
! innconfval.1 innfeed.1 nntpget.1 rnews.1 shlock.1 shrinkfile.1 \
! startinnfeed.1 simpleftp.1
## MISSING_MAN installs man pages for standard library functions the system
## didn't have (and which were therefore added to libinn), as detected by
--- 1,13 ----
! ## $Id: Makefile,v 1.14.2.7 2001/02/03 09:52:39 rra Exp $
include ../../Makefile.global
## Edit these if you need to.
MANFLAGS = -c $(OWNER) -m 0444 -B .OLD
! SEC1 = ckpasswd.1 convdate.1 fastrm.1 getlist.1 grephistory.1 inews.1 \
! innconfval.1 innfeed.1 innmail.1 nntpget.1 rnews.1 shlock.1 \
! shrinkfile.1 startinnfeed.1 simpleftp.1
## MISSING_MAN installs man pages for standard library functions the system
## didn't have (and which were therefore added to libinn), as detected by
***************
*** 20,30 ****
distrib.pats.5 expire.ctl.5 history.5 incoming.conf.5 inn.conf.5 \
innfeed.conf.5 innwatch.ctl.5 moderators.5 motd.news.5 newsfeeds.5 \
nnrpd.track.5 newslog.5 nnrp.access.5 nntpsend.ctl.5 ovdb.5 \
! overview.fmt.5 passwd.nntp.5 readers.conf.5 sasl.conf.5 storage.conf.5
SEC8 = actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
cnfsstat.8 controlchan.8 ctlinnd.8 cvtbatch.8 expire.8 expireover.8 \
! expirerm.8 fastrm.8 filechan.8 inncheck.8 innd.8 inndf.8 inndstart.8 \
innreport.8 innstat.8 innwatch.8 innxbatch.8 innxmit.8 mailpost.8 \
makedbz.8 makehistory.8 mod-active.8 news.daily.8 news2mail.8 \
newsrequeue.8 nnrpd.8 nntpsend.8 ovdb_recover.8 ovdb_upgrade.8 \
--- 20,31 ----
distrib.pats.5 expire.ctl.5 history.5 incoming.conf.5 inn.conf.5 \
innfeed.conf.5 innwatch.ctl.5 moderators.5 motd.news.5 newsfeeds.5 \
nnrpd.track.5 newslog.5 nnrp.access.5 nntpsend.ctl.5 ovdb.5 \
! overview.fmt.5 passwd.nntp.5 readers.conf.5 sasl.conf.5 \
! subscriptions.5 storage.conf.5
SEC8 = actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 cnfsheadconf.8 \
cnfsstat.8 controlchan.8 ctlinnd.8 cvtbatch.8 expire.8 expireover.8 \
! expirerm.8 filechan.8 inncheck.8 innd.8 inndf.8 inndstart.8 \
innreport.8 innstat.8 innwatch.8 innxbatch.8 innxmit.8 mailpost.8 \
makedbz.8 makehistory.8 mod-active.8 news.daily.8 news2mail.8 \
newsrequeue.8 nnrpd.8 nntpsend.8 ovdb_recover.8 ovdb_upgrade.8 \
***************
*** 32,40 ****
send-uucp.8 sm.8 tally.control.8 writelog.8 dbprocs.8
INSTALLED_SEC1 = $D$(MAN1)/ckpasswd.1 $D$(MAN1)/convdate.1 \
$D$(MAN1)/getlist.1 $D$(MAN1)/grephistory.1 \
$D$(MAN1)/inews.1 $D$(MAN1)/innconfval.1 \
! $D$(MAN1)/innfeed.1 $D$(MAN1)/nntpget.1 \
$D$(MAN1)/rnews.1 $D$(MAN1)/shlock.1 \
$D$(MAN1)/shrinkfile.1 $D$(MAN1)/startinnfeed.1 \
$D$(MAN1)/simpleftp.1
--- 33,43 ----
send-uucp.8 sm.8 tally.control.8 writelog.8 dbprocs.8
INSTALLED_SEC1 = $D$(MAN1)/ckpasswd.1 $D$(MAN1)/convdate.1 \
+ $D$(MAN1)/fastrm.1 \
$D$(MAN1)/getlist.1 $D$(MAN1)/grephistory.1 \
$D$(MAN1)/inews.1 $D$(MAN1)/innconfval.1 \
! $D$(MAN1)/innfeed.1 $D$(MAN1)/innmail.1 \
! $D$(MAN1)/nntpget.1 \
$D$(MAN1)/rnews.1 $D$(MAN1)/shlock.1 \
$D$(MAN1)/shrinkfile.1 $D$(MAN1)/startinnfeed.1 \
$D$(MAN1)/simpleftp.1
***************
*** 56,62 ****
$D$(MAN5)/nntpsend.ctl.5 $D$(MAN5)/ovdb.5 \
$D$(MAN5)/overview.fmt.5 $D$(MAN5)/passwd.nntp.5 \
$D$(MAN5)/readers.conf.5 $D$(MAN5)/sasl.conf.5 \
! $D$(MAN5)/storage.conf.5
INSTALLED_SEC8 = $D$(MAN8)/actsync.8 $D$(MAN8)/actsyncd.8 \
$D$(MAN8)/archive.8 $D$(MAN8)/batcher.8 \
--- 59,65 ----
$D$(MAN5)/nntpsend.ctl.5 $D$(MAN5)/ovdb.5 \
$D$(MAN5)/overview.fmt.5 $D$(MAN5)/passwd.nntp.5 \
$D$(MAN5)/readers.conf.5 $D$(MAN5)/sasl.conf.5 \
! $D$(MAN5)/subscriptions.5 $D$(MAN5)/storage.conf.5
INSTALLED_SEC8 = $D$(MAN8)/actsync.8 $D$(MAN8)/actsyncd.8 \
$D$(MAN8)/archive.8 $D$(MAN8)/batcher.8 \
***************
*** 64,70 ****
$D$(MAN8)/cnfsstat.8 $D$(MAN8)/controlchan.8 \
$D$(MAN8)/ctlinnd.8 $D$(MAN8)/cvtbatch.8 \
$D$(MAN8)/expire.8 $D$(MAN8)/expireover.8 \
! $D$(MAN8)/expirerm.8 $D$(MAN8)/fastrm.8 \
$D$(MAN8)/filechan.8 $D$(MAN8)/inncheck.8 \
$D$(MAN8)/innd.8 $D$(MAN8)/inndf.8 \
$D$(MAN8)/inndstart.8 $D$(MAN8)/innreport.8 \
--- 67,73 ----
$D$(MAN8)/cnfsstat.8 $D$(MAN8)/controlchan.8 \
$D$(MAN8)/ctlinnd.8 $D$(MAN8)/cvtbatch.8 \
$D$(MAN8)/expire.8 $D$(MAN8)/expireover.8 \
! $D$(MAN8)/expirerm.8 \
$D$(MAN8)/filechan.8 $D$(MAN8)/inncheck.8 \
$D$(MAN8)/innd.8 $D$(MAN8)/inndf.8 \
$D$(MAN8)/inndstart.8 $D$(MAN8)/innreport.8 \
***************
*** 113,123 ****
--- 116,128 ----
$D$(MAN1)/ckpasswd.1: ckpasswd.1 ; $(COPY) $? $@
$D$(MAN1)/convdate.1: convdate.1 ; $(COPY) $? $@
+ $D$(MAN1)/fastrm.1: fastrm.1 ; $(COPY) $? $@
$D$(MAN1)/getlist.1: getlist.1 ; $(COPY) $? $@
$D$(MAN1)/grephistory.1: grephistory.1 ; $(COPY) $? $@
$D$(MAN1)/inews.1: inews.1 ; $(COPY) $? $@
$D$(MAN1)/innconfval.1: innconfval.1 ; $(COPY) $? $@
$D$(MAN1)/innfeed.1: innfeed.1 ; $(COPY) $? $@
+ $D$(MAN1)/innmail.1: innmail.1 ; $(COPY) $? $@
$D$(MAN1)/nntpget.1: nntpget.1 ; $(COPY) $? $@
$D$(MAN1)/rnews.1: rnews.1 ; $(COPY) $? $@
$D$(MAN1)/shlock.1: shlock.1 ; $(COPY) $? $@
***************
*** 157,162 ****
--- 162,168 ----
$D$(MAN5)/passwd.nntp.5: passwd.nntp.5 ; $(COPY) $? $@
$D$(MAN5)/readers.conf.5: readers.conf.5 ; $(COPY) $? $@
$D$(MAN5)/sasl.conf.5: sasl.conf.5 ; $(COPY) $? $@
+ $D$(MAN5)/subscriptions.5: subscriptions.5 ; $(COPY) $? $@
$D$(MAN5)/storage.conf.5: storage.conf.5 ; $(COPY) $? $@
$D$(MAN8)/actsync.8: actsync.8 ; $(COPY) $? $@
***************
*** 173,179 ****
$D$(MAN8)/expire.8: expire.8 ; $(COPY) $? $@
$D$(MAN8)/expireover.8: expireover.8 ; $(COPY) $? $@
$D$(MAN8)/expirerm.8: expirerm.8 ; $(COPY) $? $@
- $D$(MAN8)/fastrm.8: fastrm.8 ; $(COPY) $? $@
$D$(MAN8)/filechan.8: filechan.8 ; $(COPY) $? $@
$D$(MAN8)/inncheck.8: inncheck.8 ; $(COPY) $? $@
$D$(MAN8)/innd.8: innd.8 ; $(COPY) $? $@
--- 179,184 ----
Index: inn/doc/man/ctlinnd.8
diff -c inn/doc/man/ctlinnd.8:1.16.2.2 inn/doc/man/ctlinnd.8:1.16.2.3
*** inn/doc/man/ctlinnd.8:1.16.2.2 Thu Aug 17 22:32:04 2000
--- inn/doc/man/ctlinnd.8 Sun Mar 11 22:42:49 2001
***************
*** 1,4 ****
! .\" $Revision: 1.16.2.2 $
.TH CTLINND 8
.SH NAME
ctlinnd \- control the InterNetNews daemon
--- 1,4 ----
! .\" $Revision: 1.16.2.3 $
.TH CTLINND 8
.SH NAME
ctlinnd \- control the InterNetNews daemon
***************
*** 575,580 ****
--- 575,583 ----
If it starts with the letter ``n'' then future
.IR nnrpd 's
will or will not have the ``\-t'' flag enabled, as appropriate.
+ \&``n'' does not affect to
+ .I nnrpd
+ with ``-D'' (running as a daemon).
.TP
.BI xabort " reason"
The server logs the specified
***************
*** 617,623 ****
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: ctlinnd.8,v 1.16.2.2 2000/08/17 13:32:04 kondou Exp $
.SH "SEE ALSO"
active(5),
expire(8),
--- 620,626 ----
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: ctlinnd.8,v 1.16.2.3 2001/03/11 13:42:49 kondou Exp $
.SH "SEE ALSO"
active(5),
expire(8),
Index: inn/doc/man/fastrm.1
diff -c /dev/null inn/doc/man/fastrm.1:1.1.2.1
*** /dev/null Fri May 4 05:29:44 2001
--- inn/doc/man/fastrm.1 Sat Feb 3 16:38:44 2001
***************
*** 0 ****
--- 1,304 ----
+ .\" Automatically generated by Pod::Man version 1.14
+ .\" Fri Feb 2 22:44:34 2001
+ .\"
+ .\" Standard preamble:
+ .\" ======================================================================
+ .de Sh \" Subsection heading
+ .br
+ .if t .Sp
+ .ne 5
+ .PP
+ \fB\\$1\fR
+ .PP
+ ..
+ .de Sp \" Vertical space (when we can't use .PP)
+ .if t .sp .5v
+ .if n .sp
+ ..
+ .de Ip \" List item
+ .br
+ .ie \\n(.$>=3 .ne \\$3
+ .el .ne 3
+ .IP "\\$1" \\$2
+ ..
+ .de Vb \" Begin verbatim text
+ .ft CW
+ .nf
+ .ne \\$1
+ ..
+ .de Ve \" End verbatim text
+ .ft R
+
+ .fi
+ ..
+ .\" Set up some character translations and predefined strings. \*(-- will
+ .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+ .\" double quote, and \*(R" will give a right double quote. | will give a
+ .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
+ .\" to do unbreakable dashes and therefore won't be available. \*(C` and
+ .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
+ .tr \(*W-|\(bv\*(Tr
+ .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+ .ie n \{\
+ . ds -- \(*W-
+ . ds PI pi
+ . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+ . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+ . ds L" ""
+ . ds R" ""
+ . ds C` ""
+ . ds C' ""
+ 'br\}
+ .el\{\
+ . ds -- \|\(em\|
+ . ds PI \(*p
+ . ds L" ``
+ . ds R" ''
+ 'br\}
+ .\"
+ .\" If the F register is turned on, we'll generate index entries on stderr
+ .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
+ .\" index entries marked with X<> in POD. Of course, you'll have to process
+ .\" the output yourself in some meaningful fashion.
+ .if \nF \{\
+ . de IX
+ . tm Index:\\$1\t\\n%\t"\\$2"
+ ..
+ . nr % 0
+ . rr F
+ .\}
+ .\"
+ .\" For nroff, turn off justification. Always turn off hyphenation; it
+ .\" makes way too many mistakes in technical documents.
+ .hy 0
+ .if n .na
+ .\"
+ .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+ .\" Fear. Run. Save yourself. No user-serviceable parts.
+ .bd B 3
+ . \" fudge factors for nroff and troff
+ .if n \{\
+ . ds #H 0
+ . ds #V .8m
+ . ds #F .3m
+ . ds #[ \f1
+ . ds #] \fP
+ .\}
+ .if t \{\
+ . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+ . ds #V .6m
+ . ds #F 0
+ . ds #[ \&
+ . ds #] \&
+ .\}
+ . \" simple accents for nroff and troff
+ .if n \{\
+ . ds ' \&
+ . ds ` \&
+ . ds ^ \&
+ . ds , \&
+ . ds ~ ~
+ . ds /
+ .\}
+ .if t \{\
+ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+ . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+ . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+ . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+ . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+ . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+ .\}
+ . \" troff and (daisy-wheel) nroff accents
+ .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+ .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+ .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+ .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+ .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+ .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+ .ds ae a\h'-(\w'a'u*4/10)'e
+ .ds Ae A\h'-(\w'A'u*4/10)'E
+ . \" corrections for vroff
+ .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+ .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+ . \" for low resolution devices (crt and lpr)
+ .if \n(.H>23 .if \n(.V>19 \
+ \{\
+ . ds : e
+ . ds 8 ss
+ . ds o a
+ . ds d- d\h'-1'\(ga
+ . ds D- D\h'-1'\(hy
+ . ds th \o'bp'
+ . ds Th \o'LP'
+ . ds ae ae
+ . ds Ae AE
+ .\}
+ .rm #[ #] #H #V #F C
+ .\" ======================================================================
+ .\"
+ .IX Title "FASTRM 1"
+ .TH FASTRM 1 "INN 2.3.2" "2001-02-02" "InterNetNews Documentation"
+ .UC
+ .SH "NAME"
+ fastrm \- Quickly remove a list of files
+ .SH "SYNOPSIS"
+ .IX Header "SYNOPSIS"
+ \&\fBfastrm\fR [\fB\-de\fR] [\fB\-u\fR|\fB\-u\fR\fIN\fR] [\fB\-s\fR|\fB\-s\fR\fIM\fR] [\fB\-c\fR|\fB\-c\fR\fII\fR]
+ \&\fIbase-directory\fR
+ .SH "DESCRIPTION"
+ .IX Header "DESCRIPTION"
+ \&\fBfastrm\fR reads a list of either file names or storage \s-1API\s0 tokens, one per
+ line, from its standard input and removes them. Storage \s-1API\s0 tokens are
+ removed via the \fISMcancel()\fR interface.
+ .PP
+ If a file name is not an absolute path name, it is considered to be
+ relative to \fIbase-directory\fR as given on the command line. The
+ \&\fIbase-directory\fR parameter must be a simple absolute pathname (it must
+ not contain multiple consecutive slashes or references to the special
+ directories \f(CW\*(C`.\*(C'\fR or \f(CW\*(C`..\*(C'\fR).
+ .PP
+ \&\fBfastrm\fR is designed to be faster than the typical \f(CW\*(C`| xargs rm\*(C'\fR pipeline
+ when given a sorted list of file names as input. For example, \fBfastrm\fR
+ will usually \fIchdir\fR\|(2) into a directory before removing files from it,
+ meaning that if its input is sorted, most names passed to \fIunlink\fR\|(2) will
+ be simple names. This can substantially reduce the operating system
+ overhead from directory lookups.
+ .PP
+ \&\fBfastrm\fR assumes that its input is valid and that it is safe to call
+ \&\fIunlink\fR\|(2) on every file name it is given. As a safety measure, however,
+ \&\fBfastrm\fR when running as root will check with \fIstat\fR\|(2) that a file name
+ doesn't specify a directory before removing it. (In some operating
+ systems, root is allowed to unlink directories, even directories which
+ aren't empty, which can cause file system corruption.)
+ .PP
+ The input to \fBfastrm\fR should always be sorted \*(-- or even better be in the
+ order file names are output by \fIfind\fR\|(1) \*(-- if speed is an issue and the
+ input isn't solely storage \s-1API\s0 tokens. (It deals fine with unsorted
+ input, but is unlikely to be any faster in that case than a simple \f(CW\*(C`xargs
+ rm\*(C'\fR command.) Sorting may even slightly speed up the removal of storage
+ \&\s-1API\s0 tokens due to caching effects, since sorting will tend to keep all of
+ the tokens from a particular storage method together.
+ .PP
+ Various additional optimizations for removing files can be turned on
+ and/or tuned with options (see below). Which options will be most
+ effective depends heavily on the underlying structure of the file system,
+ the way in which directories are stored and searched, and similar often
+ underdocumented operating system implementation details. The more
+ sophisticated the underlying operating system and file system, the more
+ likely that it will already perform the equivalent of these optimizations
+ internally.
+ .SH "OPTIONS"
+ .IX Header "OPTIONS"
+ .Ip "\fB\-d\fR" 4
+ .IX Item "-d"
+ Don't remove any files. Instead, print a list of the files that would be
+ removed to standard output. Each line contains either the current
+ directory of \fBfastrm\fR at the time it would do the unlink and the relative
+ path name it would pass to \fIunlink\fR\|(2) as two fields separated by whitespace
+ and a \f(CW\*(C`/\*(C'\fR, the absolute path name (as a single field) that would be
+ passed to \fIunlink\fR\|(2), or the string \f(CW\*(C`Token\*(C'\fR and the storage \s-1API\s0 token that
+ would be removed.
+ .Ip "\fB\-e\fR" 4
+ .IX Item "-e"
+ Treat an empty input file as an error. This is most useful when \fBfastrm\fR
+ is last in a pipeline after a preceding \fIsort\fR\|(1) command, ensuring that
+ \&\fBfastrm\fR will fail if the sort fails.
+ .Ip "\fB\-c\fR\fII\fR" 4
+ .IX Item "-cI"
+ Controls when \fBfastrm\fR calls \fIchdir\fR\|(2). If the number of files to be
+ unlinked from a given directory is at least \fII\fR, then \fBfastrm\fR will
+ change to that directory before unlinking those files. Otherwise, it will
+ use either the absolute path names or a path name relative to the current
+ directory (whichever is likely more efficient). The \fII\fR parameter is
+ optional; if just \fB\-c\fR is given, \fB\-c1\fR is assumed, which will cause
+ \&\fBfastrm\fR to always chdir before calling \fIunlink\fR\|(2). The default is
+ \&\fB\-c3\fR. Use \fB\-c0\fR to prevent \fBfastrm\fR from ever using \fIchdir\fR\|(2).
+ .Ip "\fB\-s\fR\fIM\fR" 4
+ .IX Item "-sM"
+ When \fB\-s\fR is given and the number of files to remove in a directory is
+ greater than \fIM\fR, rather than remove files in the order given, \fBfastrm\fR
+ will open the directory and read it, unlinking files in the order that
+ they appear in the directory. On systems with a per-process directory
+ cache or that use a linear search to find files in a directory, this
+ should make directory lookups faster. The \fIM\fR parameter is optional; if
+ just \fB\-s\fR is given, \fB\-s5\fR is assumed.
+ .Sp
+ When this option is in effect, \fBfastrm\fR won't attempt to remove files
+ that it doesn't see in the directory, possibly significantly speeding it
+ up if most of the files to be removed have already been deleted. However,
+ using this option requires \fBfastrm\fR to do more internal work and it also
+ assumes that the order of directory listings is stable in the presence of
+ calls to \fIunlink\fR\|(2) between calls to \fIreaddir\fR\|(3). This may be a dangerous
+ assumption with some sophisticated file systems (and in general this
+ option is only useful with file systems that use unindexed linear searches
+ to find files in directories or when most of the files to be removed have
+ already been deleted).
+ .Sp
+ This optimization is off by default.
+ .Ip "\fB\-u\fR\fIN\fR" 4
+ .IX Item "-uN"
+ Specifying this option promises that there are no symbolic links in the
+ directory tree from which files are being removed. This allows \fBfastrm\fR
+ to make an additional optimization to its calls to \fIchdir\fR\|(2), constructing
+ a relative path using \f(CW\*(C`../..\*(C'\fR and the like to pass to \fIchdir\fR\|(2) rather
+ than always using absolute paths. Since this reduces the number of
+ directory lookups needed with deeply nested directory structures (such as
+ that typically created by traditional news spool storage), it can be a
+ significant optimization, but it breaks horribly in the presence of
+ symbolic links to directories.
+ .Sp
+ When \fB\-u\fR is given, \fBfastrm\fR will use at most \fIN\fR levels of \f(CW\*(C`..\*(C'\fR
+ segments to construct paths. \fIN\fR is optional; if just \fB\-u\fR is given,
+ \&\fB\-u1\fR is assumed.
+ .Sp
+ This optimization is off by default.
+ .PP
+ \&\fBfastrm\fR also accepts \fB\-a\fR and \fB\-r\fR options, which do nothing at all
+ except allow you to say \f(CW\*(C`fastrm \-usa\*(C'\fR, \f(CW\*(C`fastrm \-ussr\*(C'\fR, or \f(CW\*(C`fastrm
+ \&\-user\*(C'\fR. These happen to often be convenient sets of options to use.
+ .SH "EXIT STATUS"
+ .IX Header "EXIT STATUS"
+ \&\fBfastrm\fR exits with a status of zero if there were no problems, and an
+ exit status of 1 if something went wrong. Attempting to remove a file
+ that does not exist is not considered a problem.
+ .SH "EXAMPLES"
+ .IX Header "EXAMPLES"
+ \&\fBfastrm\fR is typically invoked by \s-1INN\s0 via \fIexpirerm\fR\|(8) using a command
+ like:
+ .PP
+ .Vb 1
+ \& fastrm -e /usr/local/news/spool/articles < expire.list
+ .Ve
+ To enable all optimizations and see the affect on the order of removal
+ caused by \fB\-s\fR, use:
+ .PP
+ .Vb 1
+ \& fastrm -d -s -e -u ~news/spool/articles < expire.list
+ .Ve
+ If your file system has indexed directory lookups, but you have a deeply
+ nested directory structure, you may want to use a set of flags like:
+ .PP
+ .Vb 1
+ \& fastrm -e -u3 ~news/spool/articles < expire.list
+ .Ve
+ to strongly prefer relative paths but not to use \fIreaddir\fR\|(2) to order the
+ calls to \fIunlink\fR\|(2).
+ .PP
+ You may want to edit \fIexpirerm\fR\|(8) to change the flags passed to \fBfastrm\fR.
+ .SH "NOTES"
+ .IX Header "NOTES"
+ \&\fBfastrm\fR defers opening the storage subsystem or attempting to parse any
+ \&\s-1INN\s0 configuration files until it encounters a token in the list of files
+ to remove. It's therefore possible to use \fBfastrm\fR outside of \s-1INN\s0 as a
+ general fast file removal program.
+ .SH "HISTORY"
+ .IX Header "HISTORY"
+ \&\fBfastrm\fR was originally written by kre@munnari.oz.au. This manual page
+ rewritten in \s-1POD\s0 by Russ Allbery for
+ InterNetNews.
+ .PP
+ $Id: fastrm.1,v 1.1.2.1 2001/02/03 07:38:44 rra Exp $
+ .SH "SEE ALSO"
+ .IX Header "SEE ALSO"
+ \&\fIexpirerm\fR\|(8)
Index: inn/doc/man/fastrm.8
diff -c inn/doc/man/fastrm.8:1.3.2.1 inn/doc/man/fastrm.8:removed
*** inn/doc/man/fastrm.8:1.3.2.1 Wed Oct 11 06:35:54 2000
--- inn/doc/man/fastrm.8 Fri May 4 05:29:44 2001
***************
*** 1,37 ****
- .\" $Revision $
- .TH FASTRM 1
- .SH NAME
- fastrm \- quickly remove a set of files
- .SH SYNOPSIS
- .B fastrm
- [
- .B \-e
- ]
- .SH DESCRIPTION
- .I Fastrm
- reads a list of article tokens, one per line,
- from its standard input and removes them.
- .SH OPTIONS
- .TP
- .B \-e
- If the ``\fB\-e\fP'' flag is used,
- .I fastrm
- will treat an empty input file (\fBstdin\fP) as an error.
- This is most useful when
- .I fastrm
- is last in a pipeline after a preceding
- .BR sort (1)
- as if the sort fails, there will usually be no output to become
- input of
- .IR fastrm .
- .SH "EXIT STATUS"
- .PP
- .I Fastrm
- exits with a status of zero if there were no problems, or one if something
- went wrong.
- Attempting to remove a file that does not exist is not considered a problem.
- .SH HISTORY
- .de R$
- This is revision \\$3, dated \\$4.
- ..
- .R$ $Id: fastrm.8,v 1.3.2.1 2000/10/10 21:35:54 kondou Exp $
--- 0 ----
Index: inn/doc/man/incoming.conf.5
diff -c inn/doc/man/incoming.conf.5:1.11.2.2 inn/doc/man/incoming.conf.5:1.11.2.3
*** inn/doc/man/incoming.conf.5:1.11.2.2 Thu Aug 17 22:32:07 2000
--- inn/doc/man/incoming.conf.5 Sat Jan 13 01:59:45 2001
***************
*** 1,4 ****
! .\" $Revision: 1.11.2.2 $
.TH INCOMING.CONF 5
.SH NAME
incoming.conf \- names and addresses that feed us news
--- 1,4 ----
! .\" $Revision: 1.11.2.3 $
.TH INCOMING.CONF 5
.SH NAME
incoming.conf \- names and addresses that feed us news
***************
*** 165,175 ****
from another peer. This can be useful for peers that resend messages
right away, as innfeed does. (default=false)
.SH HISTORY
! Written by Fabien Tassin for InterNetNews.
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: incoming.conf.5,v 1.11.2.2 2000/08/17 13:32:07 kondou Exp $
.SH "SEE ALSO"
inn.conf(5),
innd(8),
--- 165,175 ----
from another peer. This can be useful for peers that resend messages
right away, as innfeed does. (default=false)
.SH HISTORY
! Written by Fabien Tassin for InterNetNews.
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: incoming.conf.5,v 1.11.2.3 2001/01/12 16:59:45 kondou Exp $
.SH "SEE ALSO"
inn.conf(5),
innd(8),
Index: inn/doc/man/inn.conf.5
diff -c inn/doc/man/inn.conf.5:1.86.2.5 inn/doc/man/inn.conf.5:1.86.2.6
*** inn/doc/man/inn.conf.5:1.86.2.5 Fri Oct 13 16:53:42 2000
--- inn/doc/man/inn.conf.5 Tue Jan 16 23:01:33 2001
***************
*** 1,5 ****
! .\" Automatically generated by Pod::Man version 1.04
! .\" Sun Jul 16 23:44:46 2000
.\"
.\" Standard preamble:
.\" ======================================================================
--- 1,5 ----
! .\" Automatically generated by Pod::Man version 1.14
! .\" Tue Jan 16 06:00:02 2001
.\"
.\" Standard preamble:
.\" ======================================================================
***************
*** 46,53 ****
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
! . ds C` `
! . ds C' '
'br\}
.el\{\
. ds -- \|\(em\|
--- 46,53 ----
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
! . ds C` ""
! . ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
***************
*** 63,69 ****
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
! . .
. nr % 0
. rr F
.\}
--- 63,69 ----
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
! ..
. nr % 0
. rr F
.\}
***************
*** 137,144 ****
.rm #[ #] #H #V #F C
.\" ======================================================================
.\"
! .IX Title "inn.conf 5"
! .TH inn.conf 5 "INN 2.3.0" "2000-07-16" "InterNetNews Documentation"
.UC
.SH "NAME"
inn.conf \- Configuration data for InterNetNews programs
--- 137,144 ----
.rm #[ #] #H #V #F C
.\" ======================================================================
.\"
! .IX Title "INN.CONF 1"
! .TH INN.CONF 1 "INN 2.3" "2001-01-16" "InterNetNews Documentation"
.UC
.SH "NAME"
inn.conf \- Configuration data for InterNetNews programs
***************
*** 170,175 ****
--- 170,181 ----
\&\fIinn.conf\fR; those defaults are noted in the description of each
parameter.
.PP
+ For the time being, it is strongly recommended to include every parameter
+ in \fIinn.conf\fR even if it is set to the default value, since some shell
+ scripts don't correctly handle missing keys that they care about. This is
+ a difficult-to-fix bug in the current parser that will be fixed in future
+ versions of \s-1INN\s0.
+ .PP
Many parameters take a boolean value. For all such parameters, the value
may be specified as \f(CW\*(C`true\*(C'\fR, \f(CW\*(C`yes\*(C'\fR, or \f(CW\*(C`on\*(C'\fR to turn it on and may be any
of \f(CW\*(C`false\*(C'\fR, \f(CW\*(C`no\*(C'\fR, or \f(CW\*(C`off\*(C'\fR to turn it off. The case of these values is
***************
*** 179,185 ****
generally not affect any running programs until they restart. Unlike
nearly every other configuration file, \fIinn.conf\fR cannot be reloaded
dynamically using \fIctlinnd\fR\|(8); \fIinnd\fR\|(8) must be stopped and restarted for
! relevant changes to \fIinn.conf\fR to take effect.
.PP
This documentation is extremely long and organized as a reference manual
rather than as a tutorial. If this is your first exposure to \s-1INN\s0 and
--- 185,192 ----
generally not affect any running programs until they restart. Unlike
nearly every other configuration file, \fIinn.conf\fR cannot be reloaded
dynamically using \fIctlinnd\fR\|(8); \fIinnd\fR\|(8) must be stopped and restarted for
! relevant changes to \fIinn.conf\fR to take effect (\f(CW\*(C`ctlinnd xexec innd\*(C'\fR is
! the fastest way to do this.)
.PP
This documentation is extremely long and organized as a reference manual
rather than as a tutorial. If this is your first exposure to \s-1INN\s0 and
***************
*** 460,475 ****
\&\f(CW\*(C`tradindexed\*(C'\fR, \f(CW\*(C`buffindexed\*(C'\fR, and \f(CW\*(C`ovdb\*(C'\fR. There is no default value;
this parameter must be set if \fIenableoverview\fR is true (the default).
.RS 4
! .Ip "\f(CW\*(C`buffindexed\*(C'\fR" 4
.IX Item "buffindexed"
Stores overview data and index information into buffers, which are
preconfigured files defined in \fIbuffinedexed.conf\fR. \f(CW\*(C`buffindexed\*(C'\fR never
consumes additional disk space beyond that allocated to these buffers.
! .Ip "\f(CW\*(C`tradindexed\*(C'\fR" 4
.IX Item "tradindexed"
Uses two files per newsgroup, one containing the overview data and one
containing the index. Fast for readers, but slow to write to.
! .Ip "\f(CW\*(C`ovdb\*(C'\fR" 4
.IX Item "ovdb"
Stores data into a Berkeley \s-1DB\s0 database. See the \fIovdb\fR\|(5) man page.
.RE
--- 467,485 ----
\&\f(CW\*(C`tradindexed\*(C'\fR, \f(CW\*(C`buffindexed\*(C'\fR, and \f(CW\*(C`ovdb\*(C'\fR. There is no default value;
this parameter must be set if \fIenableoverview\fR is true (the default).
.RS 4
! .if n .Ip "\f(CW""""buffindexed""""\fR" 4
! .el .Ip "\f(CWbuffindexed\fR" 4
.IX Item "buffindexed"
Stores overview data and index information into buffers, which are
preconfigured files defined in \fIbuffinedexed.conf\fR. \f(CW\*(C`buffindexed\*(C'\fR never
consumes additional disk space beyond that allocated to these buffers.
! .if n .Ip "\f(CW""""tradindexed""""\fR" 4
! .el .Ip "\f(CWtradindexed\fR" 4
.IX Item "tradindexed"
Uses two files per newsgroup, one containing the overview data and one
containing the index. Fast for readers, but slow to write to.
! .if n .Ip "\f(CW""""ovdb""""\fR" 4
! .el .Ip "\f(CWovdb\fR" 4
.IX Item "ovdb"
Stores data into a Berkeley \s-1DB\s0 database. See the \fIovdb\fR\|(5) man page.
.RE
***************
*** 1064,1070 ****
Written by Rich \f(CW$alz\fR for InterNetNews and since
modified, updated, and reorganized by innumerable other people.
.PP
! $Id: inn.conf.5,v 1.86.2.5 2000/10/13 07:53:42 kondou Exp $
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIinews\fR\|(1), \fIinnd\fR\|(8), \fIinnwatch\fR\|(8), \fInnrpd\fR\|(8), \fIrnews\fR\|(1).
--- 1074,1080 ----
Written by Rich \f(CW$alz\fR for InterNetNews and since
modified, updated, and reorganized by innumerable other people.
.PP
! $Id: inn.conf.5,v 1.86.2.6 2001/01/16 14:01:33 rra Exp $
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIinews\fR\|(1), \fIinnd\fR\|(8), \fIinnwatch\fR\|(8), \fInnrpd\fR\|(8), \fIrnews\fR\|(1).
Index: inn/doc/man/innfeed.conf.5
diff -c inn/doc/man/innfeed.conf.5:1.9 inn/doc/man/innfeed.conf.5:1.9.2.1
*** inn/doc/man/innfeed.conf.5:1.9 Tue Nov 16 22:50:42 1999
--- inn/doc/man/innfeed.conf.5 Sun Mar 11 15:33:49 2001
***************
*** 4,10 ****
.\" Start Date: Sun, 21 Jan 1996 00:47:37 +1100
.\" Project: INN -- innfeed
.\" File: innfeed.conf.5
! .\" RCSId: $Id: innfeed.conf.5,v 1.9 1999/11/16 13:50:42 kondou Exp $
.\" Description: Man page for innfeed.conf(5)
.\"
.TH innfeed.conf 5
--- 4,10 ----
.\" Start Date: Sun, 21 Jan 1996 00:47:37 +1100
.\" Project: INN -- innfeed
.\" File: innfeed.conf.5
! .\" RCSId: $Id: innfeed.conf.5,v 1.9.2.1 2001/03/11 06:33:49 rra Exp $
.\" Description: Man page for innfeed.conf(5)
.\"
.TH innfeed.conf 5
***************
*** 209,216 ****
.TP
.B backlog-ckpt-period
This key requires a positive integer value. It specifies how many seconds
! between checkpoints of the input backlog file. To small a number will mean
! frequent disk accesses, to large a number will mean after a crash innfeed
will re-offer more already-processed articles than necessary.
.TP
.B backlog-newfile-period
--- 209,216 ----
.TP
.B backlog-ckpt-period
This key requires a positive integer value. It specifies how many seconds
! between checkpoints of the input backlog file. Too small a number will mean
! frequent disk accesses, too large a number will mean after a crash innfeed
will re-offer more already-processed articles than necessary.
.TP
.B backlog-newfile-period
***************
*** 653,658 ****
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: innfeed.conf.5,v 1.9 1999/11/16 13:50:42 kondou Exp $
.SH SEE ALSO
innfeed(1), newsfeeds(5)
--- 653,658 ----
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: innfeed.conf.5,v 1.9.2.1 2001/03/11 06:33:49 rra Exp $
.SH SEE ALSO
innfeed(1), newsfeeds(5)
Index: inn/doc/man/innmail.1
diff -c /dev/null inn/doc/man/innmail.1:1.1.2.1
*** /dev/null Fri May 4 05:29:45 2001
--- inn/doc/man/innmail.1 Sat Feb 3 18:52:39 2001
***************
*** 0 ****
--- 1,196 ----
+ .\" Automatically generated by Pod::Man version 1.14
+ .\" Sat Feb 3 01:50:41 2001
+ .\"
+ .\" Standard preamble:
+ .\" ======================================================================
+ .de Sh \" Subsection heading
+ .br
+ .if t .Sp
+ .ne 5
+ .PP
+ \fB\\$1\fR
+ .PP
+ ..
+ .de Sp \" Vertical space (when we can't use .PP)
+ .if t .sp .5v
+ .if n .sp
+ ..
+ .de Ip \" List item
+ .br
+ .ie \\n(.$>=3 .ne \\$3
+ .el .ne 3
+ .IP "\\$1" \\$2
+ ..
+ .de Vb \" Begin verbatim text
+ .ft CW
+ .nf
+ .ne \\$1
+ ..
+ .de Ve \" End verbatim text
+ .ft R
+
+ .fi
+ ..
+ .\" Set up some character translations and predefined strings. \*(-- will
+ .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+ .\" double quote, and \*(R" will give a right double quote. | will give a
+ .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
+ .\" to do unbreakable dashes and therefore won't be available. \*(C` and
+ .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
+ .tr \(*W-|\(bv\*(Tr
+ .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+ .ie n \{\
+ . ds -- \(*W-
+ . ds PI pi
+ . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+ . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+ . ds L" ""
+ . ds R" ""
+ . ds C` ""
+ . ds C' ""
+ 'br\}
+ .el\{\
+ . ds -- \|\(em\|
+ . ds PI \(*p
+ . ds L" ``
+ . ds R" ''
+ 'br\}
+ .\"
+ .\" If the F register is turned on, we'll generate index entries on stderr
+ .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
+ .\" index entries marked with X<> in POD. Of course, you'll have to process
+ .\" the output yourself in some meaningful fashion.
+ .if \nF \{\
+ . de IX
+ . tm Index:\\$1\t\\n%\t"\\$2"
+ ..
+ . nr % 0
+ . rr F
+ .\}
+ .\"
+ .\" For nroff, turn off justification. Always turn off hyphenation; it
+ .\" makes way too many mistakes in technical documents.
+ .hy 0
+ .if n .na
+ .\"
+ .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+ .\" Fear. Run. Save yourself. No user-serviceable parts.
+ .bd B 3
+ . \" fudge factors for nroff and troff
+ .if n \{\
+ . ds #H 0
+ . ds #V .8m
+ . ds #F .3m
+ . ds #[ \f1
+ . ds #] \fP
+ .\}
+ .if t \{\
+ . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+ . ds #V .6m
+ . ds #F 0
+ . ds #[ \&
+ . ds #] \&
+ .\}
+ . \" simple accents for nroff and troff
+ .if n \{\
+ . ds ' \&
+ . ds ` \&
+ . ds ^ \&
+ . ds , \&
+ . ds ~ ~
+ . ds /
+ .\}
+ .if t \{\
+ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+ . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+ . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+ . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+ . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+ . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+ .\}
+ . \" troff and (daisy-wheel) nroff accents
+ .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+ .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+ .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+ .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+ .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+ .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+ .ds ae a\h'-(\w'a'u*4/10)'e
+ .ds Ae A\h'-(\w'A'u*4/10)'E
+ . \" corrections for vroff
+ .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+ .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+ . \" for low resolution devices (crt and lpr)
+ .if \n(.H>23 .if \n(.V>19 \
+ \{\
+ . ds : e
+ . ds 8 ss
+ . ds o a
+ . ds d- d\h'-1'\(ga
+ . ds D- D\h'-1'\(hy
+ . ds th \o'bp'
+ . ds Th \o'LP'
+ . ds ae ae
+ . ds Ae AE
+ .\}
+ .rm #[ #] #H #V #F C
+ .\" ======================================================================
+ .\"
+ .IX Title "INNMAIL 1"
+ .TH INNMAIL 1 "INN 2.3.2" "2001-02-03" "InterNetNews Documentation"
+ .UC
+ .SH "NAME"
+ innmail \- Simple mail-sending program
+ .SH "SYNOPSIS"
+ .IX Header "SYNOPSIS"
+ \&\fBinnmail\fR [\fB\-h\fR] [\fB\-s\fR \fIsubject\fR] \fIaddress\fR [\fIaddress\fR ...]
+ .SH "DESCRIPTION"
+ .IX Header "DESCRIPTION"
+ \&\fBinnmail\fR is a Perl script intended to provide the non-interactive
+ mail-sending functionality of \fImail\fR\|(1) while avoiding nasty security
+ problems. It takes the body of a mail message on standard input and sends
+ it to the specified addresses by invoking the value of \fImta\fR in
+ \&\fIinn.conf\fR.
+ .PP
+ At least one address (formatted for the \s-1MTA\s0 specified in \fIinn.conf\fR if it
+ matters) is required. \fBinnmail\fR will sanitize the addresses so that they
+ contain only alphanumerics and the symbols \f(CW\*(C`@\*(C'\fR, \f(CW\*(C`.\*(C'\fR, \f(CW\*(C`\-\*(C'\fR, \f(CW\*(C`+\*(C'\fR, \f(CW\*(C`_\*(C'\fR,
+ and \f(CW\*(C`%\*(C'\fR.
+ .PP
+ \&\fBinnmail\fR was written to be suitable for the \fImailcmd\fR setting in
+ \&\fIinn.conf\fR.
+ .SH "OPTIONS"
+ .IX Header "OPTIONS"
+ .Ip "\fB\-h\fR" 4
+ .IX Item "-h"
+ Gives usage information.
+ .Ip "\fB\-s\fR \fIsubject\fR" 4
+ .IX Item "-s subject"
+ Sets the Subject: header of the message. A warning is issued if this
+ option is omitted.
+ .SH "EXAMPLES"
+ .IX Header "EXAMPLES"
+ This sends a one-line message to the local user \f(CW\*(C`joe\*(C'\fR:
+ .PP
+ .Vb 1
+ \& echo "A one-line message." | innmail -s "Simple message" joe
+ .Ve
+ \&\fBinnmail\fR by default is used by \s-1INN\s0 for sending nightly reports and
+ control message reports.
+ .SH "BUGS"
+ .IX Header "BUGS"
+ \&\fBinnmail\fR fails on addresses that begin with \f(CW\*(C`\-\*(C'\fR, although one might
+ hope that the news server will not need to contact any such addresses.
+ .PP
+ There are many \*(L"correct\*(R" addresses that will be silently modified by the
+ sanitization process. A news administrator should be careful to use
+ particularly sane addresses if they may be passed to \fBinnmail\fR.
+ .SH "HISTORY"
+ .IX Header "HISTORY"
+ \&\fBinnmail\fR was written by James Brister for
+ InterNetNews. This manual page was originally written by Jeffrey
+ M. Vinocur.
+ .SH "SEE ALSO"
+ .IX Header "SEE ALSO"
+ \&\fIinn.conf\fR\|(5), \fImail\fR\|(1).
Index: inn/doc/man/innreport.8
diff -c inn/doc/man/innreport.8:1.1 inn/doc/man/innreport.8:1.1.6.1
*** inn/doc/man/innreport.8:1.1 Mon Mar 23 23:18:09 1998
--- inn/doc/man/innreport.8 Sat Jan 13 01:59:46 2001
***************
*** 23,33 ****
There are lots of 'em. Run innreport with ``\-h'' or ``\-help'' to get full
details.
.SH HISTORY
! Written by Fabien Tassin for InterNetNews.
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: innreport.8,v 1.1 1998/03/23 14:18:09 mibsoft Exp $
.SH "SEE ALSO"
innd(8),
--- 23,33 ----
There are lots of 'em. Run innreport with ``\-h'' or ``\-help'' to get full
details.
.SH HISTORY
! Written by Fabien Tassin for InterNetNews.
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: innreport.8,v 1.1.6.1 2001/01/12 16:59:46 kondou Exp $
.SH "SEE ALSO"
innd(8),
Index: inn/doc/man/readers.conf.5
diff -c inn/doc/man/readers.conf.5:1.5.2.3 inn/doc/man/readers.conf.5:1.5.2.8
*** inn/doc/man/readers.conf.5:1.5.2.3 Sat Jun 24 18:52:41 2000
--- inn/doc/man/readers.conf.5 Sat Mar 3 16:57:56 2001
***************
*** 1,5 ****
! .\" Automatically generated by Pod::Man version 1.04
! .\" Sat Jun 24 02:51:20 2000
.\"
.\" Standard preamble:
.\" ======================================================================
--- 1,5 ----
! .\" Automatically generated by Pod::Man version 1.15
! .\" Fri Mar 2 23:56:46 2001
.\"
.\" Standard preamble:
.\" ======================================================================
***************
*** 46,53 ****
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
! . ds C` `
! . ds C' '
'br\}
.el\{\
. ds -- \|\(em\|
--- 46,53 ----
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
! . ds C` ""
! . ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
***************
*** 63,69 ****
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
! . .
. nr % 0
. rr F
.\}
--- 63,69 ----
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
! ..
. nr % 0
. rr F
.\}
***************
*** 138,144 ****
.\" ======================================================================
.\"
.IX Title "readers.conf 5"
! .TH readers.conf 5 "INN 2.3" "2000-06-24" "InterNetNews Documentation"
.UC
.SH "NAME"
readers.conf \- Access control and configuration for nnrpd
--- 138,144 ----
.\" ======================================================================
.\"
.IX Title "readers.conf 5"
! .TH readers.conf 5 "INN 2.3.2" "2001-03-02" "InterNetNews Documentation"
.UC
.SH "NAME"
readers.conf \- Access control and configuration for nnrpd
***************
*** 268,274 ****
Just like with auth groups, when matching access groups the last matching
one in the file is used to determine the user's permissions.
.PP
! There is one additional special case to be aware of. First, when forming
particularly complex authentication and authorization rules, it is
sometimes useful for the identities provided by a given auth group to only
apply to particular access groups; in other words, rather than checking
--- 268,274 ----
Just like with auth groups, when matching access groups the last matching
one in the file is used to determine the user's permissions.
.PP
! There is one additional special case to be aware of. When forming
particularly complex authentication and authorization rules, it is
sometimes useful for the identities provided by a given auth group to only
apply to particular access groups; in other words, rather than checking
***************
*** 324,329 ****
--- 324,331 ----
break that auth group into multiple auth groups, each with a portion of
the hosts listed in its hosts: parameter, and each assigning the same user
identity.
+ .Sp
+ All hosts match if this parameter does not exist.
.Ip "\fBres:\fR" 4
.IX Item "res:"
A command line for a user resolver. The program executed must be located
***************
*** 371,381 ****
.IX Item "users:"
The privileges given by this access group apply to any user identity which
matches this comma-separated list of wildmat patterns. If this parameter
! isn't given, the access group applies to all users. Note that the absence
! of this parameter is not the same as \f(CW\*(C`users: *\*(C'\fR; the latter will match
! all successful authentications and any client matching an auth group with
! a default: parameter, but the former will match any client including one
! that failed authentication and is in an auth group without a default.
.Ip "\fBnewsgroups:\fR" 4
.IX Item "newsgroups:"
Users that match this access group are allowed to read and post to all
--- 373,380 ----
.IX Item "users:"
The privileges given by this access group apply to any user identity which
matches this comma-separated list of wildmat patterns. If this parameter
! isn't given, the access group applies to all users (and is essentially
! equivalent to \f(CW\*(C`users: *\*(C'\fR).
.Ip "\fBnewsgroups:\fR" 4
.IX Item "newsgroups:"
Users that match this access group are allowed to read and post to all
***************
*** 389,395 ****
.Ip "\fBpost:\fR" 4
.IX Item "post:"
Like the newsgroups: parameter, but the client is only given permission to
! post to the matching newsgroups. This parameter is often used with post:
(above) to define the patterns for reading and posting separately (usually
to give the user permission to read more newsgroups than they're permitted
to post to). It cannot be used in the same access group with a
--- 388,394 ----
.Ip "\fBpost:\fR" 4
.IX Item "post:"
Like the newsgroups: parameter, but the client is only given permission to
! post to the matching newsgroups. This parameter is often used with read:
(above) to define the patterns for reading and posting separately (usually
to give the user permission to read more newsgroups than they're permitted
to post to). It cannot be used in the same access group with a
***************
*** 405,410 ****
--- 404,414 ----
.Ip "P" 3
.IX Item "P"
The client may post articles.
+ .Ip "A" 3
+ .IX Item "A"
+ The client may post articles with Approved: headers (in other words, may
+ approve articles for moderated newsgroups). By default, this is not
+ allowed.
.Ip "N" 3
.IX Item "N"
The client may use the \s-1NEWNEWS\s0 command, overriding the global setting.
***************
*** 415,420 ****
--- 419,430 ----
.RE
.RS 4
.Sp
+ Note that if this parameter is given, \fIallownewnews\fR in \fIinn.conf\fR\|(5) is
+ ignored for connections matching this access group and the ability of the
+ client to use \s-1NEWNEWS\s0 is entirely determined by the presence of \f(CW\*(C`N\*(C'\fR in
+ the access string. If you want to support \s-1NEWNEWS\s0, make sure to include
+ \&\f(CW\*(C`N\*(C'\fR in the access string when you use this parameter.
+ .Sp
Note that if this parameter is given and \f(CW\*(C`R\*(C'\fR isn't present in the access
string, the client cannot read regardless of newsgroups: or read:
parameters. Similarly, if this parameter is given and \f(CW\*(C`P\*(C'\fR isn't present,
***************
*** 474,479 ****
--- 484,516 ----
fromhost, localmaxartsize, moderatormailer, nnrpdauthsender,
nnrpdcheckart, nnrpdoverstats, nnrpdposthost, nnrpdpostport, organization,
pathhost, readertrack, spoolfirst, and strippostcc.
+ .SH "SUMMARY"
+ .IX Header "SUMMARY"
+ Here's a basic summary of what happens when a client connects:
+ .Ip "\(bu" 2
+ All auth groups are scanned and the ones that don't match the client \s-1IP\s0
+ address are eliminated.
+ .Ip "\(bu" 2
+ Each remaining auth group is scanned from the last to the first, and an
+ attempt is made to apply it to the current connection. This means running
+ res: programs, if any, and otherwise applying default:. The first auth
+ group to return a valid user is kept as the active auth group.
+ .Ip "\(bu" 2
+ If no auth groups yield a valid user (none have default: parameters or
+ successful res: programs) but some of the auth groups have auth: lines
+ (indicating a possibility that the user can authenticate and then obtain
+ permissions), the connection is considered to have no valid auth group
+ (which means that the access groups are ignored completely) but the
+ connection isn't closed. Instead, 480 is returned for everything until
+ the user authenticates.
+ .Ip "\(bu" 2
+ When the user authenticates, all auth groups with auth: lines are then
+ checked from the bottom up and the first one that returns a valid user is
+ kept as the default auth group.
+ .Ip "\(bu" 2
+ Regardless of how an auth group is established, as soon as one is, the
+ user permissions are granted by scanning the access groups from bottom up
+ and finding the first match.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
Here is probably the simplest useful example of a complete readers.conf.
***************
*** 514,520 ****
\& }
.Ve
If those are put in the file after the above example, they'll take
! precedent (because they're later in the file) for any user coming from a
machine in the lab.example.com domain, and those users will only have read
access, not posting access.
.PP
--- 551,557 ----
\& }
.Ve
If those are put in the file after the above example, they'll take
! precedence (because they're later in the file) for any user coming from a
machine in the lab.example.com domain, and those users will only have read
access, not posting access.
.PP
***************
*** 529,562 ****
\& auth: "ckpasswd -s"
\& }
.Ve
- .Vb 3
- \& access fail {
- \& newsgroups: !*
- \& }
- .Ve
.Vb 4
\& access full {
\& users: *
\& newsgroups: *
\& }
.Ve
! Note the use of two separate access groups. When the user first connects,
! there are no res: keys and no default, so they get an empty identity. An
! empty identity can't match a users: parameter, so they fall into the first
! access group and receive no access.
.PP
If they then later authenticate, the username and password are checked
first by running \fBckpasswd\fR with the \fB\-d\fR option for an external dbm
file of encrypted passwords, and then with the \fB\-s\fR option to check the
shadow password database (note that ckpasswd may have to be setgid to a
shadow group to use this option). If both of those fail, the user will
! keep the empty identity; otherwise, they will acquire some other identity
! string (whatever username they specified, since the password was valid)
! and the first access group will match, giving them full access.
! .PP
! Note that the order of the access groups is significant. If the fail
! access group were last, it would always match, and no one would ever get
! access regardless of whether they authenticated.
.PP
Finally, here's a very complicated example. This is for an organization
that has an internal hierarchy example.* only available to local shell
--- 566,590 ----
\& auth: "ckpasswd -s"
\& }
.Ve
.Vb 4
\& access full {
\& users: *
\& newsgroups: *
\& }
.Ve
! When the user first connects, there are no res: keys and no default, so
! they don't receive any valid identity and the connection won't match any
! access groups (even ones with \f(CW\*(C`users: *\*(C'\fR). Such users receive nothing
! but authentication required responses from nnrpd until they authenticate.
.PP
If they then later authenticate, the username and password are checked
first by running \fBckpasswd\fR with the \fB\-d\fR option for an external dbm
file of encrypted passwords, and then with the \fB\-s\fR option to check the
shadow password database (note that ckpasswd may have to be setgid to a
shadow group to use this option). If both of those fail, the user will
! continue to have no identity; otherwise, they will acquire some other
! identity string (whatever username they specified, since the password was
! valid) and the access group will match, giving them full access.
.PP
Finally, here's a very complicated example. This is for an organization
that has an internal hierarchy example.* only available to local shell
***************
*** 654,660 ****
Written by Aidan Cully for InterNetNews. Substantially
expanded by Russ Allbery .
.PP
! $Id: readers.conf.5,v 1.5.2.3 2000/06/24 09:52:41 rra Exp $
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fInewsfeeds\fR\|(5), \fInnrpd\fR\|(8), \fIwildmat\fR\|(3).
--- 682,688 ----
Written by Aidan Cully for InterNetNews. Substantially
expanded by Russ Allbery .
.PP
! $Id: readers.conf.5,v 1.5.2.8 2001/03/03 07:57:56 rra Exp $
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fInewsfeeds\fR\|(5), \fInnrpd\fR\|(8), \fIwildmat\fR\|(3).
Index: inn/doc/man/storage.conf.5
diff -c inn/doc/man/storage.conf.5:1.7.2.1 inn/doc/man/storage.conf.5:1.7.2.2
*** inn/doc/man/storage.conf.5:1.7.2.1 Wed Sep 6 08:21:41 2000
--- inn/doc/man/storage.conf.5 Wed Apr 18 06:53:23 2001
***************
*** 1,4 ****
! .\" $Revision: 1.7.2.1 $
.TH STORAGE.CONF 5
.SH NAME
storage.conf \- configuration file for storage manager
--- 1,4 ----
! .\" $Revision: 1.7.2.2 $
.TH STORAGE.CONF 5
.SH NAME
storage.conf \- configuration file for storage manager
***************
*** 72,78 ****
\&``newsgroups: *''.
.TP
.B size
! A range of article sizes that should be stored using this storage method.
If is ``0'' or not given, the upper size of articles is limited
only by ``maxartsize'' in
.IR inn.conf (5).
--- 72,79 ----
\&``newsgroups: *''.
.TP
.B size
! A range of article sizes (in bytes) that should be stored using this
! storage method.
If is ``0'' or not given, the upper size of articles is limited
only by ``maxartsize'' in
.IR inn.conf (5).
***************
*** 255,261 ****
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: storage.conf.5,v 1.7.2.1 2000/09/05 23:21:41 kondou Exp $
.SH "SEE ALSO"
cycbuff.conf(5),
expire.ctl(5),
--- 256,262 ----
.de R$
This is revision \\$3, dated \\$4.
..
! .R$ $Id: storage.conf.5,v 1.7.2.2 2001/04/17 21:53:23 rra Exp $
.SH "SEE ALSO"
cycbuff.conf(5),
expire.ctl(5),
Index: inn/doc/man/subscriptions.5
diff -c /dev/null inn/doc/man/subscriptions.5:1.1.2.1
*** /dev/null Fri May 4 05:29:45 2001
--- inn/doc/man/subscriptions.5 Sat Feb 3 18:43:15 2001
***************
*** 0 ****
--- 1,185 ----
+ .\" Automatically generated by Pod::Man version 1.14
+ .\" Sat Feb 3 01:40:31 2001
+ .\"
+ .\" Standard preamble:
+ .\" ======================================================================
+ .de Sh \" Subsection heading
+ .br
+ .if t .Sp
+ .ne 5
+ .PP
+ \fB\\$1\fR
+ .PP
+ ..
+ .de Sp \" Vertical space (when we can't use .PP)
+ .if t .sp .5v
+ .if n .sp
+ ..
+ .de Ip \" List item
+ .br
+ .ie \\n(.$>=3 .ne \\$3
+ .el .ne 3
+ .IP "\\$1" \\$2
+ ..
+ .de Vb \" Begin verbatim text
+ .ft CW
+ .nf
+ .ne \\$1
+ ..
+ .de Ve \" End verbatim text
+ .ft R
+
+ .fi
+ ..
+ .\" Set up some character translations and predefined strings. \*(-- will
+ .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+ .\" double quote, and \*(R" will give a right double quote. | will give a
+ .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used
+ .\" to do unbreakable dashes and therefore won't be available. \*(C` and
+ .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<>
+ .tr \(*W-|\(bv\*(Tr
+ .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+ .ie n \{\
+ . ds -- \(*W-
+ . ds PI pi
+ . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+ . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+ . ds L" ""
+ . ds R" ""
+ . ds C` ""
+ . ds C' ""
+ 'br\}
+ .el\{\
+ . ds -- \|\(em\|
+ . ds PI \(*p
+ . ds L" ``
+ . ds R" ''
+ 'br\}
+ .\"
+ .\" If the F register is turned on, we'll generate index entries on stderr
+ .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and
+ .\" index entries marked with X<> in POD. Of course, you'll have to process
+ .\" the output yourself in some meaningful fashion.
+ .if \nF \{\
+ . de IX
+ . tm Index:\\$1\t\\n%\t"\\$2"
+ ..
+ . nr % 0
+ . rr F
+ .\}
+ .\"
+ .\" For nroff, turn off justification. Always turn off hyphenation; it
+ .\" makes way too many mistakes in technical documents.
+ .hy 0
+ .if n .na
+ .\"
+ .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+ .\" Fear. Run. Save yourself. No user-serviceable parts.
+ .bd B 3
+ . \" fudge factors for nroff and troff
+ .if n \{\
+ . ds #H 0
+ . ds #V .8m
+ . ds #F .3m
+ . ds #[ \f1
+ . ds #] \fP
+ .\}
+ .if t \{\
+ . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+ . ds #V .6m
+ . ds #F 0
+ . ds #[ \&
+ . ds #] \&
+ .\}
+ . \" simple accents for nroff and troff
+ .if n \{\
+ . ds ' \&
+ . ds ` \&
+ . ds ^ \&
+ . ds , \&
+ . ds ~ ~
+ . ds /
+ .\}
+ .if t \{\
+ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+ . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+ . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+ . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+ . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+ . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+ .\}
+ . \" troff and (daisy-wheel) nroff accents
+ .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+ .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+ .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+ .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+ .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+ .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+ .ds ae a\h'-(\w'a'u*4/10)'e
+ .ds Ae A\h'-(\w'A'u*4/10)'E
+ . \" corrections for vroff
+ .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+ .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+ . \" for low resolution devices (crt and lpr)
+ .if \n(.H>23 .if \n(.V>19 \
+ \{\
+ . ds : e
+ . ds 8 ss
+ . ds o a
+ . ds d- d\h'-1'\(ga
+ . ds D- D\h'-1'\(hy
+ . ds th \o'bp'
+ . ds Th \o'LP'
+ . ds ae ae
+ . ds Ae AE
+ .\}
+ .rm #[ #] #H #V #F C
+ .\" ======================================================================
+ .\"
+ .IX Title "subscriptions 5"
+ .TH subscriptions 5 "INN 2.3.2" "2001-02-03" "InterNetNews Documentation"
+ .UC
+ .SH "NAME"
+ subscriptions \- Default recommended subscriptions
+ .SH "DESCRIPTION"
+ .IX Header "DESCRIPTION"
+ The \fIpathetc\fR/\fIsubscriptions\fR file contains a list of newsgroups that is
+ returned by the \s-1NNTP\s0 command \s-1LIST\s0 \s-1SUBSCRIPTIONS\s0.
+ .PP
+ Clients that support this command and send it the first time they connect
+ to a new news server use the returned list to initialize the list of
+ subscribed newsgroups. The \fIsubscriptions\fR file therefore should contain
+ groups intented for new users, for testing, or that contain FAQs and other
+ useful information for first-time Usenet users.
+ .PP
+ The syntax of the \fIsubscriptions\fR file is trivial; it is a simple list of
+ newsgroup names, one per line. The order of newsgroups may be
+ significant; the news reading client may present the groups in that order
+ to the user.
+ .SH "EXAMPLE"
+ .IX Header "EXAMPLE"
+ A typical \fIsubscriptions\fR file may look like:
+ .PP
+ .Vb 9
+ \& news.announce.newusers
+ \& news.newusers.questions
+ \& local.test
+ \& local.general
+ \& local.talk
+ \& misc.test
+ \& misc.test.moderated
+ \& news.answers
+ \& news.announce.newgroups
+ .Ve
+ This gives the client the FAQs and question newsgroup for new users first,
+ then a local newsgroup for testing and various commonly-read local
+ discussion groups, followed by the world-wide test groups, all the FAQs,
+ and announcements of new world-wide newsgroups. If there is a local new
+ users group, one might want to list it first.
+ .SH "HISTORY"
+ .IX Header "HISTORY"
+ Written by Bettina Fink for InterNetNews.
+ .SH "SEE ALSO"
+ .IX Header "SEE ALSO"
+ \&\fInnrpd\fR\|(8).
Index: inn/doc/pod/fastrm.pod
diff -c /dev/null inn/doc/pod/fastrm.pod:1.1.2.1
*** /dev/null Fri May 4 05:29:45 2001
--- inn/doc/pod/fastrm.pod Sat Feb 3 16:38:44 2001
***************
*** 0 ****
--- 1,178 ----
+ =head1 NAME
+
+ fastrm - Quickly remove a list of files
+
+ =head1 SYNOPSIS
+
+ B [B<-de>] [B<-u>|B<-u>I] [B<-s>|B<-s>I] [B<-c>|B<-c>I]
+ I
+
+ =head1 DESCRIPTION
+
+ B reads a list of either file names or storage API tokens, one per
+ line, from its standard input and removes them. Storage API tokens are
+ removed via the SMcancel() interface.
+
+ If a file name is not an absolute path name, it is considered to be
+ relative to I as given on the command line. The
+ I parameter must be a simple absolute pathname (it must
+ not contain multiple consecutive slashes or references to the special
+ directories C<.> or C<..>).
+
+ B is designed to be faster than the typical C<| xargs rm> pipeline
+ when given a sorted list of file names as input. For example, B
+ will usually chdir(2) into a directory before removing files from it,
+ meaning that if its input is sorted, most names passed to unlink(2) will
+ be simple names. This can substantially reduce the operating system
+ overhead from directory lookups.
+
+ B assumes that its input is valid and that it is safe to call
+ unlink(2) on every file name it is given. As a safety measure, however,
+ B when running as root will check with stat(2) that a file name
+ doesn't specify a directory before removing it. (In some operating
+ systems, root is allowed to unlink directories, even directories which
+ aren't empty, which can cause file system corruption.)
+
+ The input to B should always be sorted -- or even better be in the
+ order file names are output by find(1) -- if speed is an issue and the
+ input isn't solely storage API tokens. (It deals fine with unsorted
+ input, but is unlikely to be any faster in that case than a simple C command.) Sorting may even slightly speed up the removal of storage
+ API tokens due to caching effects, since sorting will tend to keep all of
+ the tokens from a particular storage method together.
+
+ Various additional optimizations for removing files can be turned on
+ and/or tuned with options (see below). Which options will be most
+ effective depends heavily on the underlying structure of the file system,
+ the way in which directories are stored and searched, and similar often
+ underdocumented operating system implementation details. The more
+ sophisticated the underlying operating system and file system, the more
+ likely that it will already perform the equivalent of these optimizations
+ internally.
+
+ =head1 OPTIONS
+
+ =over 4
+
+ =item B<-d>
+
+ Don't remove any files. Instead, print a list of the files that would be
+ removed to standard output. Each line contains either the current
+ directory of B at the time it would do the unlink and the relative
+ path name it would pass to unlink(2) as two fields separated by whitespace
+ and a C>, the absolute path name (as a single field) that would be
+ passed to unlink(2), or the string C and the storage API token that
+ would be removed.
+
+ =item B<-e>
+
+ Treat an empty input file as an error. This is most useful when B
+ is last in a pipeline after a preceding sort(1) command, ensuring that
+ B will fail if the sort fails.
+
+ =item B<-c>I
+
+ Controls when B calls chdir(2). If the number of files to be
+ unlinked from a given directory is at least I, then B will
+ change to that directory before unlinking those files. Otherwise, it will
+ use either the absolute path names or a path name relative to the current
+ directory (whichever is likely more efficient). The I parameter is
+ optional; if just B<-c> is given, B<-c1> is assumed, which will cause
+ B to always chdir before calling unlink(2). The default is
+ B<-c3>. Use B<-c0> to prevent B from ever using chdir(2).
+
+ =item B<-s>I
+
+ When B<-s> is given and the number of files to remove in a directory is
+ greater than I, rather than remove files in the order given, B
+ will open the directory and read it, unlinking files in the order that
+ they appear in the directory. On systems with a per-process directory
+ cache or that use a linear search to find files in a directory, this
+ should make directory lookups faster. The I parameter is optional; if
+ just B<-s> is given, B<-s5> is assumed.
+
+ When this option is in effect, B won't attempt to remove files
+ that it doesn't see in the directory, possibly significantly speeding it
+ up if most of the files to be removed have already been deleted. However,
+ using this option requires B to do more internal work and it also
+ assumes that the order of directory listings is stable in the presence of
+ calls to unlink(2) between calls to readdir(3). This may be a dangerous
+ assumption with some sophisticated file systems (and in general this
+ option is only useful with file systems that use unindexed linear searches
+ to find files in directories or when most of the files to be removed have
+ already been deleted).
+
+ This optimization is off by default.
+
+ =item B<-u>I
+
+ Specifying this option promises that there are no symbolic links in the
+ directory tree from which files are being removed. This allows B