diff -ruNp inn-2.4.2/CONTRIBUTORS inn-2.4.3/CONTRIBUTORS --- inn-2.4.2/CONTRIBUTORS Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/CONTRIBUTORS Mon Mar 20 04:14:57 2006 @@ -257,4 +257,5 @@ Andreas Lamrecht, Duane Currie, Ian Dick Jochen Erwied, Rebecca Ore, Felicia Neff, Antonio Querubin, Bear Giles, Christopher P. Lindsey, Winfried Szukalski, Edvard Tuinder, Frank McConnell, Ilya Kovalenko, Steve Youngs, Jacek Konieczny, -Ilya Voronin, Sergey Babitch, WATANABE Katsuhiro +Ilya Voronin, Sergey Babitch, WATANABE Katsuhiro, Chris Caputo, +Thomas Parmelan diff -ruNp inn-2.4.2/ChangeLog inn-2.4.3/ChangeLog --- inn-2.4.2/ChangeLog Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/ChangeLog Mon Mar 20 04:14:57 2006 @@ -1,1004 +1,452 @@ -2004-12-22 04:20 rra - - * samples/actsync.cfg: The active file is now gzipped, not - compressed. - -2004-12-22 04:20 rra - - * samples/actsync.ign: Fix the Big Eight listing (humanities.*, not - gnu.*). - -2004-12-20 03:33 rra - - * storage/cnfs/cnfs.c: Reorder code a little so that the message - about a cycbuff rolling over contains the right new cycbuff. - Reported by Christoph Biedl. - -2004-12-20 03:26 rra - - * MANIFEST, doc/man/inews.1, doc/pod/Makefile, doc/pod/inews.pod: - Convert the inews documentation to POD and significantly update - it, taking out more documentation of things that it no longer - does and including more complete documentation of the checks that - it performs. - -2004-12-20 03:19 rra - - * doc/pod/inews.pod: Convert the inews documentation to POD and - significantly update it, taking out more documentation of things - that it no longer does and including more complete documentation - of the checks that it performs. - -2004-12-20 01:43 hkehoe - - * configure, configure.in, frontends/ovdb_stat.c, - storage/ovdb/ovdb.c: Add support for BerkeleyDB 4.3 - -2004-12-19 22:15 rra - - * frontends/inews.c: Use die, not sysdie, if the response from the - server isn't what we expect, since errno isn't going to contain - anything useful. - -2004-12-19 21:49 rra - - * innfeed/startinnfeed.c: Don't unlimit the stack size. This - really shouldn't be needed, and it causes bizarre things to - happen on some versions of Linux. - -2004-12-19 21:47 rra - - * backends/news2mail.in: Use news as the sender, not , as the - latter is a sendmailism that sendmail doesn't even need. - -2004-12-19 21:40 rra - - * doc/man/ctlinnd.8: Document the restriction on the use of - changegroup. - -2004-12-19 21:36 rra - - * frontends/cnfsstat.in, scripts/innreport_inn.pm: Report CNFS - buffer length as a floating point number instead of an integer - number of megabytes, and adjust innreport to cope. - -2004-12-19 21:27 rra - - * scripts/rc.news.in: Close stdout when scheduling innwatch and - cnfsstat to run in the future, since otherwise some shells will - sit around and wait for sleep to finish. Reported by Felix Klee. - -2004-12-19 20:55 rra - - * doc/man/dbz.3: man pages should have only one NAME line. - Reported by Eric Raymond. - -2004-12-19 20:49 rra - - * doc/: pod/nnrpd.pod, man/nnrpd.8: Add documentation of how to run - nnrpd with SSL support. - -2004-12-19 19:54 rra - - * doc/: man/nnrpd.8, pod/nnrpd.pod: Add some missing =back - commands. - -2004-12-19 19:50 rra - - * Makefile: Put the key into a different file than the certificate - in make cert. - -2004-12-19 19:49 rra - - * samples/sasl.conf.in: Put the key into a separate file from the - certificate. - -2004-12-19 19:48 rra - - * doc/: man/sasl.conf.5, pod/sasl.conf.pod: Improve the - installation instructions to put the key into a separate file and - to set the permissions on it correctly. - -2004-12-19 19:41 rra - - * doc/: man/tdx-util.8, pod/tdx-util.pod: The documentation for -i - and -g was reversed relative to what the program actually did. - Reported by WATANABE Katsuhiro. - -2004-12-19 19:37 rra - - * MANIFEST, doc/man/grephistory.1, doc/pod/Makefile, - doc/pod/grephistory.pod: Convert the grephistory man page to POD - and clean up some historic references to article file names. - Update the exact string that grephistory prints when it can't - find an article. - -2004-12-19 08:57 rra - - * doc/pod/grephistory.pod: Convert the grephistory man page to POD - and clean up some historic references to article file names. - Update the exact string that grephistory prints when it can't - find an article. - -2004-12-19 08:33 rra - - * expire/grephistory.c: Exit with an error status if the message ID - wasn't found, for consistency with the man page and previous - versions. - -2004-12-19 08:24 rra - - * CONTRIBUTORS: Add WATANABE Katsuhiro. - -2004-12-19 08:21 rra - - * expire/makehistory.c: Don't add an extra Xref: to the overview - information when cobbling together an Xref header for an article - that doesn't already have one, based on a bug report by WATANABE - Katsuhiro. Also fix a bug that caused makehistory to skip - processing any articles without Xref headers for which SMprobe to - determine the newsgroup name and article number succeeded. - -2004-12-19 08:19 rra - - * storage/tradspool/tradspool.c: When returning the newsgroup name - in response to SMprobe, replace slashes with periods. - -2004-12-19 04:39 rra - - * storage/tradspool/tradspool.c: In tradspool_cancel, free xrefs if - the Xref header were present but contained no groups to plug a - minor memory leak. Reported by WATANABE Katsuhiro. - -2004-11-29 00:31 rra - - * samples/control.ctl: Add pgsql.*. - -2004-11-16 02:12 rra - - * samples/control.ctl: Add a URL for dfw.*. - -2004-11-10 04:45 rra - - * README, doc/pod/readme.pod: More minor wording changes requested - by ISC folks. - -2004-11-10 03:33 rra - - * doc/pod/readme.pod, README: Update the ISC's activities. - -2004-10-14 01:51 rra - - * NEWS, doc/pod/news.pod: Add documentation of the change to the - status codes for the GROUP command. - -2004-10-14 01:49 rra - - * nnrpd/group.c: We had previously returned 411 (group doesn't - exist) if the user didn't have permission to read the group for - all cases other than Python dynamic authentication (where we - returned 502 for permission denied). I can sort of understand - the dubious security mindset behind this choice, but at least - when the user isn't already authenticated, this breaks reactive - authentication. - - Instead, if the user is not authenticated, return 480, and if the - user is authenticated, return 502. This means that a user can - determine that a group exists by probing for it and seeing if - they get 411 or 502, but the protocol is cleaner. - -2004-10-12 21:27 rra - - * samples/control.ctl: Update admin group for x-privat.*. - -2004-10-01 06:42 rra - - * support/: config.guess, config.sub: Update to upstream versions - from 2004-06-24. - -2004-10-01 06:41 rra - - * HACKING, doc/pod/hacking.pod: Note that new versions of - config.guess, config.sub, and the libtool files can now just be - checked in without any special CVS commands, since we no longer - have local modifications that we need to preserve. - -2004-10-01 06:19 rra - - * doc/: man/nnrpd.8, pod/nnrpd.pod: Document that nnrpd creates a - PID file when run in daemon mode (-D). - -2004-10-01 06:08 rra - - * innfeed/connection.c: Be consistent and allow for all responses - to IHAVE or TAKETHIS to be sent before we're done sending the - article except for successful responses. - -2004-10-01 05:52 rra - - * contrib/respool.c, expire/makehistory.c: The argument to SMsetup - for SM_RDWR and SM_PREOPEN must be a bool *, not an int *. This - makes a difference with some versions of GCC on some platforms. - -2004-10-01 05:32 rra - - * scripts/innstat.in: Use sed 1d instead of tail +2 since the - latter isn't POSIX. Reported by Chris Caputo. - -2004-10-01 05:30 rra - - * doc/man/incoming.conf.5: Warn that identd callbacks currently - don't implement any timeout. - -2004-10-01 05:10 rra - - * innd/innd.c: Only open the history file during initial startup if - the server wasn't throttled on the command line. Reported by - John Wehle. - -2004-10-01 04:59 rra - - * scripts/innreport_inn.pm: Match either nnrpd or nnrpd-ssl when - finding nnrpd log lines. Patch from Marco d'Itri. - -2004-10-01 04:57 rra - - * nnrpd/list.c: Advertise AUTHINFO USER if the user hasn't already - authenticated. - -2004-09-27 01:59 rra - - * nnrpd/tls.c: Include sasl_config.h to get a prototype for the - config function, fixing a bug on 64-bit platforms. - -2004-08-25 02:54 rra - - * samples/innreport.conf.in: Fix an inconsistency between the - commented-out html_dir and the commented-out title line. (Debian - bug #255324.) - -2004-07-20 18:56 hkehoe - - * site/Makefile: Added missing PATH_NNRPACCESS definition - -2004-07-19 15:38 hkehoe - - * frontends/ovdb_server.c: Need to ignore SIGPIPE to prevent - possible process death - -2004-07-16 00:43 rra - - * innd/art.c: The overview copying loop has two indexes; make sure - to advance both of them when unfolding. - -2004-07-15 18:56 rra - - * README, doc/pod/readme.pod: Change more occurrences of Internet - Software Consortium to Internet Systems Consortium. - -2004-07-15 02:26 rra - - * configure, configure.in: Only check for a PAM library if one of - pam/pam_appl.h or security/pam_appl.h is found. IRIX has a PAM - library but no header libraries, meaning that we don't want to - try to link ckpasswd against it. - -2004-07-15 02:16 rra - - * innd/Makefile, nnrpd/Makefile: Shuffle the order of libraries to - put Perl and Python first, then SSL, and then the additional - libraries. Not only does this fix a few problems on platforms - where linking order matters, but it's much less likely that the - path to the Perl library will have some other bum version of - another library than vice versa. - -2004-07-10 22:53 rra - - * support/: config.guess, config.sub: Merge with mainline to get - the latest imported versions. - -2004-06-29 22:43 rra - - * CONTRIBUTORS, innfeed/host.c: Fix an error reporting bug when - checking the bounds of real values. Reported by Sergey Babitch. - -2004-06-29 22:41 rra - - * innfeed/main.c: Log the correct new logging level when it is - being increased or decreased. Patch from Sergey Babitch. - -2004-06-14 14:49 hkehoe - - * configure, configure.in: Add BerkeleyDB 4.2 to configure search - -2004-06-10 22:20 hkehoe - - * lib/qio.c: Avoid infinite loop if st_blksize == 0 - -2004-06-10 22:07 hkehoe - - * expire/makehistory.c: Don't exit if a bad overview line is found, - skip over it instead. - -2004-06-10 22:04 hkehoe - - * tests/lib/qio-t.c: Make sure that buffer_size is always at least - as large as QIO_BUFFERSIZE but still a multiple of st_blksize. - -2004-06-10 22:04 hkehoe - - * lib/qio.c: Make sure that buffer_size is always at least as large - as QIO_BUFFERSIZE but still a multiple of st_blksize. - - Change QIO to do something more sane with lines that are too - long. Rather than returning too long of a line once and then - returning a partial line on the next try, consume all of the - too-long line before returning the first error. This way, the - next call will still return the next line of the file. - -2004-06-08 21:11 hkehoe - - * samples/ovdb.conf, doc/man/ovdb.5, doc/pod/ovdb.pod: Update docs - for nocompact option - -2004-06-08 18:54 hkehoe - - * storage/ovdb/ovdb.c: If a group with a large number of overview - records was deleted or compacted, the database could run out of - locks, causing the deletion to fail. This is because - delete_all_records() was deleting all of the keys in a single - transaction. Additionally, in the event of a failure of this - type, the records that were to be deleted remain in the database - with no way to remove them (short of rebuilding overview). - - This fix restructures the code so that delete_all_records() works - in batches of smaller transactions, so it now works with groups - that have arbitrarily large numbers of records to delete. - Further, code was added to insure that records don't get orphaned - in the event that delete_all_records does fail. - -2004-06-03 23:58 rra - - * innfeed/main.c: Exit 0 when checking the configuration if the - configuration is fine. Patch from Sergey Babitch. - -2004-06-03 23:52 rra - - * frontends/rnews.c: Fix the comments from the last patch. It's - not that rnews is setuid root, it's that we want to make sure we - don't write out spool files as root. The normal case is that - either rnews has no special privileges at all (and can only be - executed by people already in the news group), or is setuid news - (in which case we do nothing, since there's no need to change the - real UID to the news user). - -2004-06-03 23:47 rra - - * frontends/rnews.c: The code for changing users was intended to - handle the case where rnews was setuid news, but we don't ever - install it that way (for reasons that I can't remember at the - moment). Instead, we sometimes install it setuid root. - - This should be looked at closer in the future, since I think that - setuid news should be sufficient. But in any event, - setuid(geteuid()) is going to do nothing useful at all in a - setuid root program. Instead, if either the real or effective - UIDs are 0, figure out the UID of the news user and setuid to it. - If we're setuid news, don't do anything at all. I believe this - will work in both configurations. - - Based on a problem reported by Matthias Scheler. - -2004-06-02 20:35 hkehoe - - * storage/ovdb/ovdb.c: Bugfix: delete_old_stuff needs to deal with - groupinfo keys that could contain nulls. This is because of the - way that ovdb_groupadd deals with a deleted (but not yet purged) - group that is re-added (it renames the original groupinfo key to - include a null followed by an integer, in order to hide it). - -2004-06-02 20:11 hkehoe - - * history/hisv6/hisv6.c: In hisv6_reopen(), if MMAP_NEEDS_MSYNC and - INND_DBZINCORE are set and nfsreader is false, override INCORE_NO - to INCORE_MMAP - -2004-06-02 20:02 hkehoe - - * lib/dbz.c: Put msync call in putcore for INCORE_MMAP Move - writethrough test from dbzsync to putcore because it only applies - to INCORE_MEM - -2004-05-27 18:55 rra - - * innd/: art.c, innd.h: Track down more unsigned variables. Just - make everything signed for this version of INN. (Wow, I need to - do a better job of backing out of changes.) - -2004-05-27 18:52 rra - - * innd/art.c: Switch more variables to a long from a size_t. - -2004-05-26 22:27 rra - - * innd/innd.h: The current article parsing code uses Start - 1 as a - marker for various things, and using an unsigned index just isn't - going to work easily. After reviewing the original patch that - made this change, long should work as well as size_t, so use that - for right now. This is fixed properly in CURRENT. - -2004-05-26 04:34 rra - - * NEWS, doc/pod/news.pod: Flesh out NEWS for the upcoming 2.4.2 - release (which will be as soon as STABLE seems, well, stable). - -2004-05-26 02:02 rra - - * Makefile, site/Makefile: Automatically create an empty history - database on a first-time install. - -2004-05-26 01:47 rra - - * nnrpd/post.c: If the user is not allowed to approve messages, - reject postings containing an Approved header even to unmoderated - groups (some other site may consider the group to be moderated). - -2004-05-24 23:14 rra - - * frontends/cnfsstat.in: More fixes for arithmetic on numbers that - are larger than the integer size. Patch from Christoph Biedl. - -2004-05-24 22:41 rra - - * support/install-sh: Don't chown directories that already exist. - -2004-05-24 00:12 vinocur - - * innd/art.c: Bugfix from previous changes, supplied by Russ. - -2004-05-23 23:56 vinocur - - * frontends/cnfsstat.in: Backport from CURRENT to fix integer - division use that caused incorrect output. - -2004-05-20 22:25 rra - - * innd/Makefile, innfeed/Makefile: Fix the output when inndstart - and startinnfeed aren't installed setuid root. - -2004-05-20 22:23 rra - - * storage/: Make.methods, buffindexed/buffindexed.c, - buffindexed/ovmethod.mk: Use BUFF_DEBUG rather than DEBUG for - compiling the standalone buffindexed program, since DEBUG is used - by make warnings. - -2004-05-20 20:55 rra - - * expire/makehistory.c: Add missing variable declaration. - -2004-05-18 12:34 rra - - * innd/art.c: Fix the check for CR without LF, also broken with the - size_t change. - -2004-05-18 12:06 rra - - * innd/art.c: Fix another signed vs. unsigned problem in the check - for too large of articles and restructure the code this time to - make it readable. - -2004-05-18 09:25 rra - - * doc/compliance-nntp: Fixed overview generation. - -2004-05-18 09:22 rra - - * innd/art.c: Fix the overview generation to correctly unfold - headers and handle special characters per the latest NNTP draft. - -2004-05-18 09:18 rra - - * expire/makehistory.c: Don't include the name of an additional - header if it's not found in the article; just leave that field - blank (per the latest NNTP draft). - -2004-05-18 09:12 rra - - * expire/makehistory.c: Fix the overview generation to correctly - unfold headers and handle special characters per the latest NNTP - draft. - -2004-05-18 01:21 rra - - * HACKING, doc/pod/hacking.pod: Remove the note about the INSTALLED - variable in Makefiles, since we don't use that any more. - -2004-05-18 01:18 rra - - * authprogs/Makefile, backends/Makefile, control/Makefile, - expire/Makefile, frontends/Makefile, history/Make.methods, - history/Makefile, history/buildconfig.in, innd/Makefile, - innfeed/Makefile, lib/Makefile, nnrpd/Makefile, scripts/Makefile, - storage/Make.methods, storage/Makefile, storage/buildconfig.in, - storage/tradindexed/ovmethod.mk: Drop the idiosyncratic - installation method that would fail to install programs if the - installed version was newer than the built version in favor of a - make install that works the way that people generally expect and - always installs the new binaries. - -2004-05-18 01:17 rra - - * Makefile.global.in: Remove the TCL variables, which are no longer - being substituted in by configure. - -2004-05-17 12:18 rra - - * doc/: external-auth, pod/external-auth.pod: An external - authenticator must, not may, return a username. - -2004-05-17 12:14 rra - - * storage/ovdb/ovdb.c: Change csend to use xwrite and to print a - warning and return an error on failure rather than calling exit - (calling exit was starting a loop, since csend is called by - ovdb_close, which is called out of an atexit handler). Modify - the other functions to check the return value of csend. This - needs some more attention later, since we're currently returning - errors that may be indistinguishable from missing articles. - -2004-05-17 09:25 rra - - * frontends/mailpost.in: Don't ever take the Date from the "From " - line, since that date will be in ctime format. Don't require - that a Date header be present; nnrpd can provide one. - -2004-05-17 08:52 rra - - * lib/inndcomm.c: Always use the maximum buffer size (64KB - 1). - The previous code generally only used a 4KB buffer to receive - replies from the server, which was too small for the output of - ctlinnd name at busy sites. Also fix a lot of coding style - issues and formatting. - -2004-05-17 08:33 rra - - * include/inndcomm.h: Make the type of the message length unsigned - short; may as well use every bit that we have. - -2004-05-17 07:46 rra - - * frontends/pullnews.in: Authenticate after MODE READER, not - before. Reported by Tim Skirvin. - -2004-05-17 07:25 rra - - * lib/uwildmat.c: Matching the UTF-8 character \303\206 against - *[^\303\206] wasn't working properly. Reported by Andrew Gierth. - -2004-05-17 06:23 rra - - * storage/expire.c: Print out the error string from the storage - manager if removing a token during expiration fails. - -2004-05-17 05:48 rra - - * doc/: man/active.5, pod/active.pod: Fix an implication that - articles filed in junk are only propagated to sites that receive - junk; they're propagated according to their newsgroups header. - -2004-05-17 05:26 rra - - * control/controlchan.in: Always include the system error message - when opening something fails. - -2004-05-17 05:11 rra - - * doc/man/dbz.3, include/dbz.h, lib/dbz.c: Use warn, syswarn, and - debug in the dbz code instead of its previous idiosyncratic error - reporting with EDOM errno and its internal DEBUG macro. - -2004-05-17 05:09 rra - - * Makefile.global.in: Enable debugging when building with make - warnings. - -2004-05-17 04:31 rra - - * control/gpgverify.in: Use the same code for finding the keyring - that pgpverify uses, so that the news administrator can use - ~news/.gnupg if they want. Reported by Toon van der Pas. - -2004-05-17 04:24 rra - - * backends/batcher.c: Use fwrite rather than fprintf to output the - article since it handles embedded nuls correctly. - -2004-05-17 04:06 rra - - * INSTALL, configure, configure.in, doc/hook-tcl, - doc/pod/install.pod, include/config.h.in: Remove --with-tcl from - configure, remove the documentation from INSTALL, and comment in - hook-tcl that it has been disabled and will be removed in the - next version of INN. Compiling with Tcl support was causing - random segfaults even if no Tcl filter was defined. - -2004-05-17 00:41 rra - - * INSTALL, doc/pod/install.pod: Add a note about having to restore - the setuid bit on ckpasswd after a make update if you want that - configuration. - -2004-05-16 23:41 rra - - * nnrpd/post.c: Use the same code for printing header values as is - used everywhere else in nnrpd when mailing articles so as to - correctly handle the spaces after the colons. Patch from Andreas - M. Kirchwitz. - -2004-05-16 23:05 rra - - * doc/: man/radius.conf.5, pod/radius.conf.pod: The parser has been - fixed so that # can now be included in a radius secret. - -2004-05-16 23:01 rra - - * lib/conffile.c: Correctly support # inside quoted strings (not - considering it to be a comment). Fix a bounds checking error - when parsing a configuration file that contains an unmatched - double quote. Be a bit more careful about boundary checking. - Based on analysis by Piotr Klaban. - -2004-05-16 22:00 rra - - * doc/man/actsync.8: Document the rules for valid newsgroup names. - -2004-05-16 21:22 rra - - * CONTRIBUTORS: Add Ilya Voronin. - -2004-05-16 21:21 rra - - * frontends/cnfsheadconf.in: Zero-pad length and free values to - exactly seventeen characters. Based on a patch from Ilya - Voronin. - -2004-05-16 21:13 rra - - * CONTRIBUTORS: Add Jacek Konieczny. - -2004-05-16 21:12 rra - - * storage/timecaf/caf.c: When retrieving an article, make sure that - it is fully contained in the CAF file (for additional robustness - in the presence of a broken spool). Patch from Jacek Konieczny. - -2004-05-16 20:55 rra - - * innd/art.c: Change some variable types in ARTparse to avoid - signed/unsigned comparison warnings. - -2004-05-16 20:54 rra - - * innd/: chan.c, innd.h, nc.c: Use ptrdiff_t for pointer - differences and size_t for all offsets into buffers that are - initialized with pointer differences. Based on a patch from - Jacek Konieczny and necessary for AMD64 support. - -2004-05-16 20:48 rra - - * configure, configure.in, include/acconfig.h, include/config.h.in: - Check for and provide ptrdiff_t if needed. - -2004-05-16 20:26 rra - - * backends/innxmit.c, expire/makehistory.c, innd/chan.c, innd/nc.c, - innd/site.c, innfeed/article.c, innfeed/imap_connection.c, - innfeed/innlistener.c, innfeed/tape.c, storage/overdata.c, - storage/cnfs/cnfs.c, storage/timecaf/caf.c: Cast all size_t - values to unsigned long and use %lu when printing them with - printf and friends. Based on a patch from Jacek Konieczny, - needed for proper functionality on AMD64. Also fixes one place - where pointers were cast to an int. - -2004-05-16 20:19 rra - - * nnrpd/tls.h: Add missing openssl/rand.h include. - -2004-05-16 20:18 rra - - * lib/innconf.c: Use an unsigned format to print unsigned values in - the invalid type error message. - -2004-05-16 20:04 rra - - * frontends/ovdb_stat.c: Add missing include of time.h. Cast - size_t to unsigned long for printing. - -2004-05-16 19:59 rra - - * expire/expireover.c: Missing include of time.h. - -2004-05-16 19:57 rra - - * Makefile.global.in: Update warnings to use the same flags that - CURRENT uses. No point in fighting noise that we decided to - never do anything about. - -2004-05-16 19:53 rra - - * authprogs/smbval/: rfcnb-common.h, rfcnb.h: Move declaration of - RFCNB_Free_Pkt to avoid a warning. - -2004-05-16 19:46 rra - - * include/clibrary.h: Fix __format__ attribute for snprintf. - -2004-05-16 02:51 rra +2006-03-20 eagle + * nnrpd/group.c: Return the correct 0 0 0 response to LISTGROUP + when the group is empty rather than returning no such group. + * authprogs/libauth.c: Set the length of the IPv4 sockets on + platforms with a sin_len element in struct sockaddr. Reported by + Gea-Suan Lin. + * scripts/innreport_inn.pm: Ignore or parse some log messages from + newer versions, just for better news.notice parsing when + bouncing between versions. + +2006-03-19 eagle + + * lib/dbz.c: Various fixes from Heiko Schlichting for DBZTEST + mode: Remove the right file in RemoveDBZ and use concat instead + of a static buffer for filenames. Add a command-line option to + set nfswriter if desired and avoid a core dump from a missing + innconf. Fix debugging output from dbzclose and return checking + from dbzstore. Fix an off-by-one error in the line counter. Fix + a typo in usage. + * tests/lib/date-t.c: Skip the Newfoundland time zone test if the + relevant zone is not installed. + * tests/Makefile: hstrerror dependency bug. Thanks, Heiko + Schlichting. + * tests/lib/date-t.c: Backport the fix from stable to allow for + ambiguous parsing of dates around daylight savings time when + hours repeat. + * tests/lib/setenv-t.c, tests/lib/setenv.t: Backport the test + suite change from unstable to use 100KB strings instead, since + too many systems require more than 90KB just to load the dynamic + libraries. + * samples/control.ctl: Remove abg.* entry. That maintainer is no + longer active. Update the sfnet.* key fingerprint. + +2005-12-25 eagle + + * Makefile: Fix the code to remove prerelease in Makefile.global. + +2005-12-24 eagle + + * HACKING, doc/pod/hacking.pod: Update the references section. + * MANIFEST: Remove fixlog. + * NEWS, doc/pod/news.pod: Add changes for INN 2.4.3. + * support/config.guess, support/config.sub: Update config.guess + and config.sub to the latest Debian versions. + * storage/overdata.c: Use the last Xref header when generating + overview information if the article has multiple ones. + * HACKING, doc/pod/hacking.pod: Update make release instructions + for svn2cl. + * support/fixlog, support/mkchangelog: Use svn2cl to generate the + ChangeLog for the release. + +2005-12-15 eagle + + * doc/man/inn.conf.5, doc/pod/inn.conf.pod, lib/innconf.c, + nnrpd/line.c: Actually, don't impose a minimum size on + maxartsize and localmaxartsize. That isn't necessary. Just + adjust the nnrpd code so that it doesn't use localmaxartsize for + the max buffer size without checking it first. + +2005-12-12 eagle + + * expire/makehistory.c: If there are multiple Xref headers in an + article, use the last one to get article data. This works around + a combination of a bug in other servers that caused them to add + multiple Xref headers and a bug in INN that caused it to accept + such articles and just add yet another Xref header. + * backends/send-uucp.in, configure, configure.in, + scripts/innshellvars.in, scripts/innshellvars.pl.in, + scripts/innshellvars.tcl.in: Search the user's path for uux at + configure time and encode the path in innshellvars, using that + path in send-uucp, since apparently there are different uux's + with different options and the administrator needs a way to be + sure that the right one is used. + * authprogs/auth_krb5.c: krb5_get_in_tkt_with_password is + deprecated; define the appropriate symbol for right now so that + we can still get a prototype. + * authprogs/auth_krb5.c, configure, configure.in: Check for + et/com_err.h before com_err.h; that's where Linux appears to be + moving it to when com_err.h comes from e2fsprogs. + * MANIFEST, doc/man/Makefile, doc/man/pullnews.1, + doc/man/pullnews.8, doc/pod/Makefile, doc/pod/pullnews.pod: + Convert the pullnews documentation to POD. Document the ability + to specify a username and password in the configuration file. + +2005-12-11 eagle + + * doc/pod/inn.conf.pod, lib/innconf.c: Sanity-check the settings + of maxartsize and localmaxartsize. (Setting the latter too low + causes bizarre behavior in nnrpd.) + * doc/man/inn.conf.5, doc/pod/inn.conf.pod, nnrpd/line.c: Allow + localmaxartsize of 0 in nnrpd and update the documentation for + both it and maxartsize to document the 0 setting and note that, + if set to zero, large articles can crash innd or nnrpd by + running them out of system memory. + * nnrpd/post.c: Yet *another* problem checking permission to post + to moderated groups. We were clearing the error flag right after + setting it. Reported by Jens Schlegel. + * samples/moderators: Update nl.* moderation forwarding. + * CONTRIBUTORS, NEWS, doc/pod/news.pod: Document improvements by + Thomas Parmelan to send-uucp. + * backends/send-uucp.in: If there is a stray .work file, append it + to the new .work file after flushing and renaming, rather than + before. Patch from Thomas Parmelan. + * backends/send-uucp.in: Add a way to specify the funnel or + exploder to flush for a site managed via one. Patch from Thomas + Parmelan. + * innd/rc.c: Close the socket for ident callbacks on errors. + * configure, configure.in: Move the checks for external libraries + after the checks for networking libraries so that we don't fail + to find OpenSSL because of libsocket and libnsl dependencies. + * scripts/rc.news.in: Throttle before shutting down to give Perl + filters a chance to save data. Fixed in a better way in CURRENT. + * nnrpd/post.c: Remove write-only WasMailed variable. + * samples/innreport.conf.in, scripts/innreport_inn.pm: Report on + the Python filter the same as we do on the Perl filter. + * doc/man/fastrm.1: Rebuild. + * samples/control.ctl: Resync with upstream version. + * nnrpd/perm.c: Fix a stupid paste mistake that caused nnrpd to + ignore Perl scripts unless they were Python scripts. + +2005-10-09 eagle + + * frontends/rnews.c: Burn three file descriptors if running + privileged to avoid a strange situation where starting rnews + with closed file descriptors could force error messages to be + written to unexpected places, such as network streams or article + files. Only bother if running privileged; otherwise, the user is + just creating a bizarre bug by doing strange things, which isn't + worth worrying about. + * doc/pod/fastrm.pod: Warn that fastrm doesn't care about security. + * innfeed/misc.c: Fix format string vulnerability in logOrPrint + (which is only used for configuration data, so not an + exploitable hole). + * innd/nc.c: Fix an oddity that I found a while back when auditing + uses of the buffer code in innd but never returned to. If + NCwritereply sends its reply immediately but can only send a + part of it, the count of bytes remaining to send wasn't + decremented. We could then send random junk at the end of the + buffer to the peer later on. + * innd/cc.c: Fix an input validation bug that could allow a stack + overwrite on a system that didn't support Unix domain sockets + (do any of those exist any more?). + * innd/cc.c, lib/inndcomm.c: Increase the send and receive buffer + sizes of the Unix domain socket used by the control channel, + allowing longer replies on platforms with a low default buffer + size. Patch from MKI. + * storage/cnfs/cnfs.c, storage/timecaf/timecaf.c, + storage/timehash/timehash.c, storage/tradspool/tradspool.c: When + retrieving an entire article, use MADV_WILLNEED rather than + MADV_SEQUENTIAL or no madvise hint at all. The performance is + apparently noticably better per MKI. + * innd/art.c: Correctly detect headers duplicated an odd number of + times (3 copies, 5 copies, etc.) and distinguish between missing + and duplicated headers when reporting errors. * samples/control.ctl: Update to latest upstream version. - -2004-05-04 20:14 rra - - * samples/control.ctl: Add a stub for a.bsu.*. - -2004-04-07 06:46 rra - - * lib/vector.c: Fix a memory leak in vector_resize. Patch from Ray - Miller. - -2004-04-07 04:00 rra - - * doc/: man/radius.conf.5, pod/radius.conf.pod: Adjust for the - parser change that requires radius.conf files to consist of - blocks wrapped in server { }. - -2004-03-06 18:29 rra - - * doc/: pod/sm.pod, man/sm.1: Document the exit status. - -2004-03-06 18:29 rra - - * frontends/sm.c: Return a non-zero exit status if any operation on - one of the provided tokens fails. Fixes Debian bug #141750. - -2004-03-06 05:33 rra - - * nnrpd/perm.c: Distinguish between failures to read data from an - authenticator and reading data from an authenticator that isn't a - complete line, and don't prematurely kill the authenticator in - the latter case. - -2004-03-03 18:36 hkehoe - - * backends/inndf.c: inndf -n would get stuck in an infinite loop if - OVgroupstats failed - -2004-03-03 01:20 kondou - - * backends/innxmit.c: diablo expects empty line at the end for - header feed - -2004-02-25 11:31 kondou - - * innd/: art.c, nc.c: maxartsize did not work correctly. - - This should have been fixed when CURRENT was fixed, but my - repository for STABLE-2_4 were not updated at that time. - -2004-02-25 11:16 kondou - - * nnrpd/post.c: correct Message-ID should be shown in post response - even if spooled - -2004-02-24 21:42 hkehoe - - * storage/ovdb/ovdb.c: * Fix to prevent recursion on exit while in - readserver mode. * Update to track searches, because it's - possible that closesearch does not get called to match an - opensearch. - -2004-02-24 21:41 hkehoe - - * frontends/ovdb_server.c: * If readertab grows, need to initialize - the new elements. * Update to track searches, because it's - possible that closesearch does not get called before the client - disconnects. - -2004-02-20 21:41 rra - - * samples/control.ctl: Don't pick a particular it-alt.* signer. - -2004-01-28 21:07 rra - - * storage/ovdb/ovdb-private.h: Port to the supported transaction - method in BerkeleyDB 4.0 and later. Earlier versions aren't - affected. - -2004-01-26 02:39 rra - - * backends/inndf.c: Work around how ReiserFS reports 0 free inodes - with Linux 2.6. Patch from Marco d'Itri. - -2004-01-26 02:03 rra - - * lib/innconf.c: Ensure hismethod is set in inn.conf. - -2004-01-25 23:42 rra - - * frontends/mailpost.in, doc/man/mailpost.8, doc/pod/mailpost.pod: - Add a -p option to specify the port to which to post. - -2004-01-25 23:42 rra - - * CONTRIBUTORS: Add Steve Youngs for debugging help. - -2004-01-25 23:35 rra - - * frontends/inews.c: Don't use innconf->port to find the port of - the server, since that's actually the port on which innd is - running and nnrpd may be running separately. - -2004-01-25 22:33 rra - - * frontends/rnews.c: Add a missing free when unspooling failed - messages. - -2004-01-25 22:21 rra - - * innd/python.c: Insufficient memory was being allocated for - PYheaditem, since it also holds the body of the message and the - line count. - -2004-01-25 20:06 rra - - * innfeed/: article.c, article.h, buffer.c, buffer.h, connection.c, - connection.h, endpoint.c, endpoint.h, host.c, host.h, innfeed.h, - innlistener.c, innlistener.h, main.c, misc.c, misc.h, - procbatch.in, tape.c, tape.h: Remove the separate license - statements, since the license of all of INN now matches the - license of innfeed. - -2004-01-25 20:00 rra - - * README, doc/pod/readme.pod: Insert the acknowledgement of UUNET - and Berkeley (the latter isn't required any more, I know). - -2004-01-25 19:59 rra - - * LICENSE: Per Paul Vixie and Rich Salz, change the general INN - license to the current ISC license text, dropping the advertising - clause in the process. - -2004-01-15 20:03 rra - - * NEWS, doc/pod/news.pod: Grammar fix. - -2004-01-14 19:44 rra - - * LICENSE: Add 2004 to the copyright statement. - -2004-01-12 06:42 rra - - * control/pgpverify.in, control/signcontrol.in, - doc/man/pgpverify.1: Update to the latest upstream versions of - pgpverify and signcontrol. They add support for GnuPG and will - correctly verify signatures generated by GnuPG. All signature - algorithms are changed to work on detached signatures for - consistency. These versions pass the upstream test suite. - -2004-01-12 06:23 rra - - * .cvsignore: Ignore distribution staging directories and tarballs. - -2004-01-12 06:21 rra - - * control/controlchan.in: Always use a local log socket on FreeBSD - to match cnfsstat. - -2004-01-12 06:20 rra - - * frontends/cnfsstat.in: Always use a local log socket on Darwin. - -2004-01-12 05:18 rra - - * nnrpd/: commands.c, nnrpd.c, nnrpd.h, perm.c, post.c: Move - LLOGenable into nnrpd.h so that it's defined the same everywhere. - -2004-01-11 23:21 rra - - * innd/inndstart.c: If bindaddress or bindaddress6 is set in - inn.conf, note this, since it should affect the IPv6 address - binding strategy. - -2004-01-10 05:53 rra - - * authprogs/Makefile: Fix the library dependencies for the various - authentication programs. - -2004-01-08 02:18 rra - - * Makefile.global.in: Bump revision to INN 2.4.2. - -2004-01-07 22:44 rra - - * NEWS, doc/pod/news.pod: Update for the 2.4.1 release. - -2004-01-07 22:38 rra - - * configure, configure.in: Only look for sendmail in /usr/sbin and - /usr/lib, not on the user's path. - -2004-01-07 22:24 rra - - * innd/art.c: Don't use a static buffer for creating the control - message group to check whether we can store a control message in - a per-type newsgroup. - -2004-01-07 03:51 rra - - * samples/control.ctl: Add it-alt.*. - -2004-01-05 21:40 rra - - * storage/tradindexed/tdx-group.c: msync_page is called mapcntl in - STABLE. - -2004-01-02 00:42 rra - - * storage/tradindexed/tdx-group.c: Make robust against references - to index entries outside of the current length of the group index - when auditing and when doing normal operations. - -2004-01-02 00:24 rra - - * storage/tradindexed/tdx-group.c: Improve the auditing a little. - Don't get caught in infinite loops when not fixing when circular - structure is encountered. Update group flags based on the active - file as well, treating the active file as canonical. Create - index entries for any groups listed in the active file that - aren't found in the overview database, even though innd does this - on startup anyway. - -2004-01-01 22:54 rra - - * control/controlchan.in: Force the Unix syslog socket for Mac OS - X, since otherwise the lack of an IP address in /etc/hosts was - causing difficulties. - -2003-12-30 19:55 rra - - * frontends/rnews.c: Provide better error messages after an - unexpected EOF from innd. - -2003-12-29 05:02 rra - - * innd/cc.c: Don't close and reopen the history database during - reload if the server isn't running, since the history database is - closed with pause or throttle and reopened with go. - -2003-12-27 06:25 rra - - * MANIFEST, doc/man/motd.news.5, doc/pod/Makefile, - doc/pod/motd.news.pod: Rewrite motd.news.5 in POD. - -2003-12-27 06:20 rra - - * doc/pod/motd.news.pod: Rewrite motd.news.5 in POD. - -2003-12-27 06:15 rra - - * doc/man/send-nntp.8: Don't try to document both send-nntp and - send-ihave on the same line; instead, break them into two - different lines in the SYNOPSIS. Requested by Eric Raymond. - -2003-12-27 04:18 rra - - * samples/storage.conf: Replace with a sample file that does - something sensible by default (stores all articles in tradspool). - -2003-12-27 04:17 rra - - * scripts/rc.news.in: Make sure there's always a newline after the - shutdown message for INN, even if it exits quickly. + * scripts/innshellvars.in, scripts/innshellvars.pl.in, + scripts/innshellvars.tcl.in: Set HOME to pathnews. This should + resolve Debian Bug#307765. + * scripts/innshellvars.pl.in: Avoid a warning if PATH is not + defined in the environment. + +2005-07-31 eagle + + * samples/control.ctl: Update to the current ftp.isc.org version. + +2005-07-18 eagle + + * doc/man/nnrpd.8, doc/pod/nnrpd.pod: -p instead of -P to specify + a port in the default port description. + +2005-07-05 eagle + + * doc/man/readers.conf.5, doc/pod/readers.conf.pod: Document that + at least one of res, auth, perl_auth, python_auth, or default + should be set in any auth group. + +2005-07-04 eagle + + * doc/man/innfeed.1: Document ctlinnd flush as the recommended way + of cleanly shutting down and respawning innfeed. + * doc/man/innfeed.conf.5: Clarify that the SIGHUP re-read and + bindaddress changes won't affect existing connections. + +2005-07-03 eagle + + * frontends/rnews.c: Maintain and pass around the length of the + article and never run strlen on the article. This should fix the + truncationproblems rnews was having with articles that contained + nul characters. + * frontends/rnews.c: Don't abort a whole batch on an article + without a mandatory header or an unterminated message ID header. + Instead, fail that one article and continue with the batch. + * frontends/rnews.c: Make unknown NNTP replies equivalent to + failure to connect (resulting in a deferral) instead of an + article rejection. + * frontends/rnews.c: Remove unneeded variables. + * frontends/rnews.c: When we fail to feed articles to the server + when unspooling with -U, don't move the articles off into the + bad directory. Just leave them in place in the spool directory. + Articles that should be rejected aren't handled as failures and + the right thing already happens with them, and retrying later is + exactly what we want for deferrals and 400 errors. + * control/pgpverify.in: Import upstream version 1.27, which falls + back on pubring.gpg in the default keyring location if + trustedkeys.gpg isn't present. + +2005-07-02 eagle + + * innd/art.c: NULL-terminate GroupPointers when replacing it while + doing Xref slaving. Patch from Chris Caputo. + * ., .cvsignore, MANIFEST: Ignore the snapshot.log file and add + mksnapshot to MANIFEST. + * Makefile, Makefile.global.in, support/mksnapshot, + support/mkversion: Add support/mksnapshot and make snapshot, and + change the Subversion version information to prerelease from CVS + prerelease. + +2005-06-20 eagle + + * nnrpd/nnrpd.h: ARTreadschema is no more. + * storage/overdata.c: Free resources properly in + overview_extra_fields. Patch from Chris Caputo. + * history/hisv6/hisv6.c: Pass HIS_CREAT to hisv6_new when opening + it for expiration. This fixes expire failing to create a new + history file and also addresses a long- standing problem where + rerunning expire after a failure would cause tons of duplicate + history lines. Patch from Chris Caputo. + +2005-06-11 eagle + + * support/mkmanifest: Ignore .svn directories. + * authprogs/pam.conf.example: PAM documentation is now in the + ckpasswd man page. + +2005-06-07 eagle + + * innfeed/article.c, innfeed/buffer.c, innfeed/buffer.h: + Reference-count the buffers in articles we're sending, since the + article holding a reference to them may be deleted before we + finish sending the article if the peer sends the rejection + message immediately (like Diablo does). Patch from Miquel van + Smoorenburg. + * authprogs/smbval, history, lib, storage: Also ignore the *.a + library files; Subversion doesn't ignore those by default the + way that CVS does. + * scripts/innreport.in: Remove the ftp.sofaraway.org references, + as the FTP site appears to be no more. + * storage/cnfs/cnfs.c: Write out a multiple of CNFS_BLOCKSIZE to + disk by zero-padding the end of the article. We don't use that + data anyway, since we always align the start of articles, and + this saves an unnecessary read if CNFS_BLOCKSIZE matches the + file system block size (writing a partial block requires a disk + read). Patch from Miquel van Smoorenburg. + * storage/interface.c: Don't allow storage classes larger than + 255; they can't be represented in tokens. Reported by Sebastian + Wiesinger. + * doc/man/innfeed.1: The batch files now normally contain storage + tokens rather than file names. Reported by Todd Olson. + * history/hisv6/hisv6.c: Fix hisv6_replace so that it actually + works. Open the history file in r+ mode rather than a mode, + since otherwise we can't write to arbitrary locations in the + file. Fix the length check for the new line, and space-fill the + new line at the right offset. Patch from Chris Caputo. + * CONTRIBUTORS, history/hisv6/hisv6-private.h, + history/hisv6/hisv6.c: Calling fseeko or ftello does fflush, at + least on Linux, which meant that we were flushing the history + file after every write and not gaining the advantage of stdio + buffering. Stop using fseeko/ftello in favor of using an + internally maintained offset. This breaks multiple processes + writing to the history file at the same time, but in practice we + don't support that right now anyway. We save a significant + number of write and seek syscalls this way. Patch from Chris + Caputo. + * doc/man/inn.conf.5, doc/pod/inn.conf.pod, nnrpd/nnrpd.c: Setting + timer to 0 in inn.conf should also disable the timing support in + nnrpd. + +2005-06-06 eagle + + * nnrpd/article.c: GetHeader was giving up a bit short of the end + of the article due to using the same limit both for searching + for the header and for searching for the end of the header. Use + separate limits instead. Patch from Chris Caputo. + * lib/dbz.c: Fix the length specification for madvise in getcore. + The incorrect value was causing it to pessimize things rather + than optimize. Also factor out the file length calculation to a + separate variable rather than constantly repeating the same + multiplication. Patch from Chris Caputo. + * tests/lib/tst-t.c, tests/lib/uwildmat-t.c: Backport test fixes + from trunk. + * tests/lib/articles/no-body, tests/lib/articles/strange, + tests/lib/articles/truncated: Restore the CRLF line endings that + were lost in the conversion to Subversion. + * lib/wire.c: Backport from the trunk the fix for articles with no + headers. + +2005-06-05 eagle + + * ., branches/STABLE-2_4: Rename branches to better names, now + that we're not limited by CVS. + +2005-04-16 rra + + * branches/STABLE-2_4/lib/snprintf.c: Add miscellaneous fixes + pointed out by Hrvoje Niksic. + +2005-04-11 rra + + * branches/STABLE-2_4/INSTALL, + branches/STABLE-2_4/doc/pod/install.pod: Note that running cron + jobs is incompatible, on Solaris, with having a locked account. + * branches/STABLE-2_4/INSTALL, + branches/STABLE-2_4/doc/pod/install.pod: Document the configure + flags to change the INN user and document the use of the usenet + user and --with-news-master. + * branches/STABLE-2_4/MANIFEST, + branches/STABLE-2_4/doc/man/ckpasswd.8, + branches/STABLE-2_4/doc/man/readers.conf.5, + branches/STABLE-2_4/doc/pod/ckpasswd.pod, + branches/STABLE-2_4/doc/pod/readers.conf.pod: Move the + documentation for PAM configuration with ckpasswd into its man + page and remove the (not incredibly helpful) example file. Add + more cross-references to ckpasswd to the readers.conf man page. + * branches/STABLE-2_4/nnrpd/post.c: If nnrpdauthsender is set and + the user identity assigned is empty, don't use UNKNOWN@hostname; + instead, strip the Sender header completely as the documentation + says. + * branches/STABLE-2_4/doc/man/readers.conf.5, + branches/STABLE-2_4/doc/pod/readers.conf.pod: Note that the user + identity is also used by nnrpdauthsender. + * branches/STABLE-2_4/doc/man/inn.conf.5, + branches/STABLE-2_4/doc/pod/inn.conf.pod: Typo fix. + * branches/STABLE-2_4/doc/man/expire.ctl.5, + branches/STABLE-2_4/doc/pod/expire.ctl.pod: Improve the + documentation of the X flag and try to clarify that expiration + rules are applied to newsgroups one carries, not the Newsgroups + header of articles. + * branches/STABLE-2_4/doc/man/nnrpd.8, + branches/STABLE-2_4/doc/pod/nnrpd.pod, + branches/STABLE-2_4/nnrpd/nnrpd.c: Looks like -R (force + read-only) hasn't done anything in quite a while. Since no one + has complained, just remove the option rather than trying to fix + it. + * branches/STABLE-2_4/INSTALL, + branches/STABLE-2_4/doc/pod/install.pod: Add more information + about software dependencies and tips for building against shared + libraries. + * branches/STABLE-2_4/authprogs/Makefile: Build auth_krb5.o with + $KRB5INC to find include files. + * branches/STABLE-2_4/configure, branches/STABLE-2_4/configure.in: + --with-kerberos was putting the -L option after -lkrb5 instead + of before it, which isn't particularly useful. Restructure a + little to fix that. Reported by Todd Olson. + +2005-04-10 rra + + * branches/STABLE-2_4/doc/pod/news.pod, + branches/STABLE-2_4/nnrpd/article.c: Remove the optimization + that answers XHDR Newsgroups and XPAT Newsgroups out of the + overview Xref data. It makes things faster, but it breaks the + NNTP protocol specification. + * branches/STABLE-2_4/NEWS, trunk/nnrpd/article.c: Remove the + optimization that answers XHDR Newsgroups and XPAT Newsgroups + out of the overview Xref data. It makes things faster, but it + breaks the NNTP protocol specification. + * branches/STABLE-2_4/nnrpd/perm.c: When Perl and Python were both + enabled, nnrpd was attempting to parse Python access hooks as + Perl scripts. Fixed by checking the access type. Reported by Ken + Bass. + * branches/STABLE-2_4/INSTALL, + branches/STABLE-2_4/doc/pod/install.pod: Add NetBSD to the list + of confirmed platforms. + * branches/STABLE-2_4/control/perl-nocem.in: Add a SYNOPSIS to the + documentation, change the existing SYNOPSIS section to + DESCRIPTION, and reformat a little bit. + * branches/STABLE-2_4/lib/sendpass.c: If called with a NULL server + argument and innconf->server not set, set errno to something + vaguely appropriate before returning since some callers use + errno in error reporting. + +2005-04-07 rra + + * branches/STABLE-2_4/doc/man/expire.ctl.5, + branches/STABLE-2_4/doc/pod/expire.ctl.pod, + branches/STABLE-2_4/samples/expire.ctl: Change the terminology + to :: from and . + +2005-03-17 vinocur + + * branches/STABLE-2_4/authprogs/domain.c, + branches/STABLE-2_4/doc/external-auth, + branches/STABLE-2_4/doc/pod/external-auth.pod: Fix + inconsistencies between code and documentation about newline + handling for external-auth. Reported by Todd Olson. + +2005-03-16 hkehoe + + * branches/STABLE-2_4/storage/tradindexed/tradindexed.c: + tradindexed_add should return "true" if the group doesn't exist, + like the other OV methods + +2005-03-11 rra + + * branches/STABLE-2_4/scripts/inncheck.in: Recognize variable + settings in newsfeeds. + * branches/STABLE-2_4/lib/date.c: The values array in + parsedate_rfc2822 was too short. + +2005-03-05 vinocur + + * branches/STABLE-2_4/doc/hook-python, + branches/STABLE-2_4/doc/man/newsfeeds.5, + branches/STABLE-2_4/doc/pod/hook-python.pod, + branches/STABLE-2_4/doc/pod/newsfeeds.pod, trunk/doc/hook-perl: + Correct typos. + +2005-01-18 rra + + * branches/STABLE-2_4/control/pgpverify.in: Return the correct + exit status in the event of known failures instead of always + returning 255. Reported by Awais Riaz. + +2004-12-25 rra + + * branches/STABLE-2_4/INSTALL, + branches/STABLE-2_4/doc/pod/install.pod: --enable-uucp-rnews + only installs rnews setuid news, not setuid root. + * branches/STABLE-2_4/configure.in: Fix the comment to clarify + that rnews is only installed setuid news. + * branches/STABLE-2_4/LICENSE: Add information about + lib/snprintf.c. + * branches/STABLE-2_4/LICENSE: The MIT/X Consortium license is no + longer less restrictive than INN's license. + +2004-12-24 rra + + * branches/STABLE-2_4/doc/man/inews.1, + branches/STABLE-2_4/doc/pod/inews.pod: NAME, not NEWS. + +2004-12-23 rra + + * branches/STABLE-2_4/innfeed/imap_connection.c: Rework + imap_sendAuthenticate to avoid warnings when building without + SASL. + * branches/STABLE-2_4/backends/mod-active.in: GNU diff wants -U0 + rather than -u0 these days. This seems to be supported for a + while into the past, so let's hope that this doesn't just create + other compatibility problems. + * branches/STABLE-2_4/Makefile.global.in: Increase version number + to 2.4.3. diff -ruNp inn-2.4.2/HACKING inn-2.4.3/HACKING --- inn-2.4.2/HACKING Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/HACKING Mon Mar 20 04:14:57 2006 @@ -6,7 +6,8 @@ Hacking INN contributors, and secondarily as documentation of some of INN's internals. - This is $Revision: 1.26.2.3 $ dated $Date: 2004/10/01 06:41:16 $. + This is $Revision: 7486 $ dated $Date: 2005-12-24 13:33:38 -0800 (Sat, + 24 Dec 2005) $. First of all, if you plan on working on INN source, please start from the current development tree. There may be significant changes from the @@ -639,11 +640,10 @@ Making a Release generated by configure; if there are any other differences, fix the MANIFEST. - 6. Run "make release". Note that you need to have a copy of cvs2cl - from to do this. You will be - prompted for the release branch tag, the date from which to generate - the ChangeLog, and the path to cvs2cl. Start the ChangeLog slightly - before the last release (we only ship inter-release change logs). + 6. Run "make release". Note that you need to have a copy of svn2cl + from to do this. Start the + ChangeLog at the time of the previous release. (Eventually, the + script will be smart enough to do this for you.) 7. Make the resulting tar file available for testing in a non-listable directory on ftp.isc.org and announce its availability on @@ -675,13 +675,14 @@ References Some additional references that may be hard to find and may be of use to people working on INN: - - The archives for the NNTP IETF working group, containing the latest - drafts of the new NNTP standard and the archived mailing list - traffic (which contains a lot of interesting discussion of why NNTP - is the way it is). + + The home page for the IETF NNTP standardization effort, including + links to the IETF NNTP working group archives and copies of the + latest drafts of the new NNTP standard. The old archived mailing + list traffic contains a lot of interesting discussion of why NNTP is + the way it is. - + The archives for the USEFOR IETF working group, the working group for the RFC 1036 replacement (the format of Usenet articles). Also contains a lot of references to other relevant work, such as the RFC diff -ruNp inn-2.4.2/INSTALL inn-2.4.3/INSTALL --- inn-2.4.2/INSTALL Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/INSTALL Mon Mar 20 04:14:57 2006 @@ -52,6 +52,7 @@ Supported Systems HP-UX 10.20 and up Linux 2.x (tested with libc 5.4, glibc 2.0 and up) Mac OS X 10.2 and up + NetBSD 1.6 and up OpenBSD 2.8 and up SCO 5.0.4 (tested with gcc 2.8.1, cc) Solaris 2.5.x and up @@ -124,9 +125,34 @@ Before You Begin an educational or non-profit organization, this shouldn't be a problem. - Also, if you want to use the Python embedded hooks, you'll need to have - a suitable version of Python installed. See doc/hook-python for more - information. + * If you want to use either the Python embedded hooks, you'll need to + have a suitable versions of Python installed. See doc/hook-python for + more information. + + * Many of INN's optional features require other packages (primarily + libraries) be installed. If you wish to use any of these optional + features, you will need to install those packages first. Here is a + table of configure options enabling optional features and the software + and versions you'll need: + + --with-perl Perl 5.004_03 or higher, 5.6.1+ recommended + --with-python Python 1.5.2 or higher + --with-berkeleydb BerkeleyDB 2.0 or higher, 4.2+ recommended + --with-openssl OpenSSL 0.9.6 or higher + --with-sasl SASL 2.x or higher + --with-kerberos MIT Kerberos v5 1.2.x or higher + + If any of these libraries (other than Perl or Python) are built shared + and installed in locations where your system doesn't search for shared + libraries by default, you may need to encode the paths to those shared + libraries in the INN binaries. For more information on shared library + paths, see: + + + + For most systems, setting the environment variable LD_RUN_PATH to a + colon-separated list of additional directories in which to look for + shared libraries before building INN will be sufficient. Unpacking the Distribution @@ -157,11 +183,17 @@ Installing INN Before beginning installation, you should make sure that there is a user on your system named "news", and that this user's primary group is set - to a group called "news". The home directory of this user should be set - to the directory under which you wish to install INN (/usr/local/news is - the default and is a good choice). INN will install itself as this user - 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. + to a group called "news". You can change these with the + --with-news-user and --with-news-group options to configure (see below). + The home directory of this user should be set to the directory under + which you wish to install INN (/usr/local/news is the default and is a + good choice). INN will install itself as this user 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. + + By default, INN sends reports to the user "usenet". This account isn't + used for any other purposes. You can change it with the + --with-news-master option to configure (see below). WARNING: By default, INN installs various configuration files as group-writeable, and in general INN is not hardened from a security @@ -334,13 +366,13 @@ Installing INN --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 - subsystem to run rnews to process UUCP batches of news articles - (rnews changes UID to the news user right after it starts). Prior - to INN 2.3, installing rnews setuid root was standard; since most - sites no longer use UUCP, it is no longer the default as of INN 2.3 - and must be requested at configure time. You probably don't want to - use this option unless your server accepts UUCP news batches. + news, owned by group uucp, and mode 4550. This will allow the UUCP + subsystem to run rnews to process UUCP batches of news articles. + Prior to INN 2.3, installing rnews setuid news was standard; since + most sites no longer use UUCP, it is no longer the default as of INN + 2.3 and must be requested at configure time. You probably don't + want to use this option unless your server accepts UUCP news + batches. --enable-setgid-inews If this option is given to configure, inews will be installed setgid @@ -1355,6 +1387,11 @@ Setting Up the Cron Jobs If you're using any non-CNFS storage methods, add "delayrm" to the above option list for news.daily. + + The news user obviously must be able to run cron jobs. On Solaris, this + means that it must have a valid /etc/shadow entry and must not be locked + (although it may be a non-login account). There may be similar + restrictions with other operating systems. If you use the batching method to send news, also set up a cron job to run nntpsend(8) every ten minutes. nntpsend will run innxmit for all diff -ruNp inn-2.4.2/LICENSE inn-2.4.3/LICENSE --- inn-2.4.2/LICENSE Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/LICENSE Mon Mar 20 04:14:57 2006 @@ -35,6 +35,9 @@ files. Specifically (but possibly not c lib/strlcat.c, lib/strlcpy.c, and lib/strerror.c are in the public domain. + lib/snprintf.c may be used for any purpose as long as the author's + notice remains intact in all source code distributions. + control/gpgverify.in, control/pgpverify.in and control/signcontrol.in are under a BSD-style license (with the advertising clause) with UUNET Technologies, Inc. as the copyright holder. See the end of those files @@ -61,8 +64,7 @@ files. Specifically (but possibly not c copyright holder. tests/runtests.c is covered under a license very similar to the MIT/X - Consortium license (less restrictive than INN's licese). See the - beginning of the file for details. + Consortium license. See the beginning of the file for details. Note that all portions of INN that link with core INN code have to be convered by licenses compatible with the license at the top of this file, diff -ruNp inn-2.4.2/MANIFEST inn-2.4.3/MANIFEST --- inn-2.4.2/MANIFEST Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/MANIFEST Mon Mar 20 04:14:57 2006 @@ -20,7 +20,6 @@ authprogs/domain.c Ge authprogs/ident.c Get username from ident authprogs/libauth.c Library for talking to nnrpd authprogs/libauth.h Interface for libauth -authprogs/pam.conf.example Example pam.conf file for ckpasswd authprogs/radius.c Authenticator against RADIUS servers authprogs/smbval The smb auth libraries (Directory) authprogs/smbval/Makefile Libraries for smb auth @@ -222,7 +221,7 @@ doc/man/passwd.nntp.5 Ma doc/man/perl-nocem.8 Manpage for perl-nocem doc/man/pgpverify.1 Manpage for pgpverify doc/man/prunehistory.8 Manpage for prunehistory -doc/man/pullnews.8 Manpage for pullnews +doc/man/pullnews.1 Manpage for pullnews doc/man/putman.sh Install a manpage doc/man/qio.3 Manpage for fast I/O file routines doc/man/radius.8 Manpage for radius authenticator @@ -294,6 +293,7 @@ doc/pod/ovdb_monitor.pod Ma doc/pod/ovdb_server.pod Master file for ovdb_server.8 doc/pod/ovdb_stat.pod Master file for ovdb_stat.8 doc/pod/passwd.nntp.pod Master file for passwd.nntp.5 +doc/pod/pullnews.pod Master file for pullnews.1 doc/pod/qio.pod Master file for qio.3 doc/pod/radius.conf.pod Master file for radius.conf.5 doc/pod/radius.pod Master file for radius.8 @@ -664,7 +664,6 @@ storage/trash/trash.h He support Tools for building INN (Directory) support/config.guess Determine system type for libtool support/config.sub Canonicalize system type for libtool -support/fixlog Clean up CVS log messages for cvs2cl support/fixscript.in Interpreter path fixup script support/indent A mostly working wrapper around indent support/install-sh Installation utility @@ -672,6 +671,7 @@ support/ltmain.sh So support/makedepend Generate dependencies for C files support/mkchangelog Generate ChangeLog from CVS support/mkmanifest Generate a list of files for the manifest +support/mksnapshot Generate a snapshot of the tree support/mksystem Generate from config.h support/mkversion Generate with INN version tests Test suite for INN (Directory) diff -ruNp inn-2.4.2/Makefile inn-2.4.3/Makefile --- inn-2.4.2/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.70.2.4 2004/12/19 19:50:51 rra Exp $ +## $Id: Makefile 7488 2005-12-25 00:26:08Z eagle $ include Makefile.global @@ -27,10 +27,14 @@ CLEANDIRS = $(ALLDIRS) include tests TARDIR = inn-$(VERSION) TARFILE = $(TARDIR).tar +## The directory to use when building a snapshot. +SNAPDIR = inn-$(SNAPSHOT)-$(SNAPDATE) + ## DISTDIRS gets all directories from the MANIFEST, and DISTFILES gets all ## regular files. Anything not listed in the MANIFEST will not be included ## in a distribution. These are arguments to sed. DISTDIRS = -e 1,2d -e '/(Directory)/!d' -e 's/ .*//' -e 's;^;$(TARDIR)/;' +SNAPDIRS = -e 1,2d -e '/(Directory)/!d' -e 's/ .*//' -e 's;^;$(SNAPDIR)/;' DISTFILES = -e 1,2d -e '/(Directory)/d' -e 's/ .*//' @@ -173,7 +177,7 @@ release: ChangeLog for f in `sed $(DISTFILES) MANIFEST` ; do \ cp $$f $(TARDIR)/$$f || exit 1 ; \ done - sed 's/= CVS prerelease/=/' < Makefile.global.in \ + sed 's/= prerelease/=/' < Makefile.global.in \ > $(TARDIR)/Makefile.global.in cp ChangeLog $(TARDIR) find $(TARDIR) -type f -print | xargs touch -t `date +%m%d%H%M.%S` @@ -193,3 +197,22 @@ check-manifest: sed -e 1,2d -e 's/ .*//' MANIFEST > LIST.manifest $(PERL) support/mkmanifest > LIST.real diff -u LIST.manifest LIST.real + + +## Make a snapshot. This is like making a release, except that we don't do +## the ChangeLog thing and we don't change the version number. We also +## assume that SNAPSHOT has been set to the appropriate current branch. +snapshot: + rm -rf $(SNAPDIR) + rm -f inn*.tar.gz + mkdir $(SNAPDIR) + set -e ; for d in `sed $(SNAPDIRS) MANIFEST` ; do mkdir -p $$d ; done + set -e ; for f in `sed $(DISTFILES) MANIFEST` ; do \ + cp $$f $(SNAPDIR)/$$f ; \ + done + cp README.snapshot $(SNAPDIR)/ + sed 's/= prerelease/= $(SNAPDATE) snapshot/' \ + Makefile.global.in > $(SNAPDIR)/Makefile.global.in + find $(SNAPDIR) -type f -print | xargs touch -t `date +%m%d%H%M.%S` + tar cf $(SNAPDIR).tar $(SNAPDIR) + $(GZIP) -9 $(SNAPDIR).tar diff -ruNp inn-2.4.2/Makefile.global.in inn-2.4.3/Makefile.global.in --- inn-2.4.2/Makefile.global.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/Makefile.global.in Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile.global.in,v 1.70.2.6 2004/05/18 01:17:26 rra Exp $ +## $Id: Makefile.global.in 7345 2005-07-02 05:04:05Z eagle $ ## ## 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,7 +14,7 @@ ## put your own version information in $VERSION_EXTRA. If it's set to ## "CVS prerelease", the build time will be automatically included. -VERSION = 2.4.2 +VERSION = 2.4.3 VERSION_EXTRA = ## If you want to install INN relative to a root directory other than /, diff -ruNp inn-2.4.2/NEWS inn-2.4.3/NEWS --- inn-2.4.2/NEWS Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/NEWS Mon Mar 20 04:14:57 2006 @@ -1,3 +1,33 @@ +Changes from 2.4.2 to 2.4.3 + + * Previous versions of INN had an optimization for handling XHDR + Newsgroups that used the Xref header from overview. While this does + make the command much faster, it doesn't produce accurate results and + breaks the NNTP protocol, so this optimization has been removed. + + * Fixed a bug in innd that allowed it to accept articles with duplicated + headers if the header occurred an odd number of times. Modified the + programs for rebuilding overview to use the last Xref header if there + are multiple ones to avoid problems with spools that contain such + invalid articles. + + * Fixed yet another problem with verifying that a user has permissions + to approve posts to a moderated group. Thanks, Jens Schlegel. + + * Increase the send and receive buffer on the Unix domain socket used by + ctlinnd. This should allow longer replies (particularly for innstat) + on platforms with very low default Unix domain socket buffer sizes. + + * rnews's handling of articles with nul characters, NNTP errors, header + problems, and deferrals has been significantly improved. + + * Thomas Parmelan added support to send-uucp for specifying the funnel + or exploder site to flush for feeds managed through one and fixed a + problem with picking up old stranded work files. + + * Many other more minor bug fixes, optimization improvements, and + documentation fixes. + Changes from 2.4.1 to 2.4.2 * INN is now licensed under a less restrictive license (about as diff -ruNp inn-2.4.2/TODO inn-2.4.3/TODO --- inn-2.4.2/TODO Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/TODO Mon Mar 20 04:14:57 2006 @@ -20,7 +20,7 @@ suite, which is currently very minimal. to allow more portions of INN to be automatically tested will make all changes easier and will be *greatly* appreciated. -Last modified $Id: TODO,v 1.64 2003/04/16 21:53:37 rra Exp $. +Last modified $Id: TODO 6296 2003-04-16 21:53:37Z rra $. Scheduled for INN 2.5 diff -ruNp inn-2.4.2/authprogs/Makefile inn-2.4.3/authprogs/Makefile --- inn-2.4.2/authprogs/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.34.2.2 2004/05/18 01:18:53 rra Exp $ +## $Id: Makefile 7193 2005-04-11 07:36:51Z rra $ include ../Makefile.global @@ -64,6 +64,9 @@ ident: ident.o $(LIBAUTH) $(LIBINN) radius: radius.o $(LIBAUTH) $(LIBINN) $(LINK) radius.o $(LIBAUTH) $(LIBINN) $(LIBS) + +auth_krb5.o: auth_krb5.c + $(CC) $(CFLAGS) $(KRB5INC) -c $< $(LIBINN): ; (cd ../lib ; $(MAKE)) $(LIBSMB): ; (cd smbval ; $(MAKE)) diff -ruNp inn-2.4.2/authprogs/auth_krb5.c inn-2.4.3/authprogs/auth_krb5.c --- inn-2.4.2/authprogs/auth_krb5.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/auth_krb5.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: auth_krb5.c,v 1.2.2.2 2003/10/15 00:09:56 rra Exp $ +/* $Id: auth_krb5.c 7462 2005-12-12 01:06:54Z eagle $ ** ** Check an username and password against Kerberos v5. ** @@ -21,7 +21,14 @@ #include "config.h" #include "clibrary.h" #include "libauth.h" -#include +#ifdef HAVE_ET_COM_ERR_H +# include +#else +# include +#endif + +/* krb5_get_in_tkt_with_password is deprecated. */ +#define KRB5_DEPRECATED 1 #include #include "inn/messages.h" diff -ruNp inn-2.4.2/authprogs/ckpasswd.c inn-2.4.3/authprogs/ckpasswd.c --- inn-2.4.2/authprogs/ckpasswd.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/ckpasswd.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: ckpasswd.c,v 1.27 2003/01/19 19:30:55 rra Exp $ +/* $Id: ckpasswd.c 6140 2003-01-19 19:30:55Z rra $ ** ** The default username/password authenticator. ** diff -ruNp inn-2.4.2/authprogs/domain.c inn-2.4.3/authprogs/domain.c --- inn-2.4.2/authprogs/domain.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/domain.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: domain.c,v 1.5 2002/11/16 19:11:32 vinocur Exp $ +/* $Id: domain.c 7141 2005-03-17 11:42:46Z vinocur $ ** ** Domain authenticator. ** @@ -44,6 +44,6 @@ main(int argc, char *argv[]) if (argv[1][0] != '.') p--; *p = '\0'; - printf("User:%s", host); + printf("User:%s\n", host); return 0; } diff -ruNp inn-2.4.2/authprogs/ident.c inn-2.4.3/authprogs/ident.c --- inn-2.4.2/authprogs/ident.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/ident.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: ident.c,v 1.21 2003/01/19 01:15:24 rra Exp $ +/* $Id: ident.c 6135 2003-01-19 01:15:40Z rra $ ** ** Ident authenticator. */ diff -ruNp inn-2.4.2/authprogs/libauth.c inn-2.4.3/authprogs/libauth.c --- inn-2.4.2/authprogs/libauth.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/libauth.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: libauth.c,v 1.10 2002/11/23 07:26:30 rra Exp $ +/* $Id: libauth.c 7500 2006-03-20 01:52:44Z eagle $ ** ** Common code for authenticators and resolvers. ** @@ -140,6 +140,11 @@ get_connection_info(FILE *stream, struct if (!inet_aton(sip, &loc_sin->sin_addr)) goto error; loc_sin->sin_port = htons( atoi(sport) ); + +# ifdef HAVE_SOCKADDR_LEN + cli_sin->sin_len = sizeof(struct sockaddr_in); + loc_sin->sin_len = sizeof(struct sockaddr_in); +# endif #endif free(sip); diff -ruNp inn-2.4.2/authprogs/pam.conf.example inn-2.4.3/authprogs/pam.conf.example --- inn-2.4.2/authprogs/pam.conf.example Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/pam.conf.example Thu Jan 1 00:00:00 1970 @@ -1,18 +0,0 @@ -# -# Sample entries for pam.conf for the nnrpd service -# - -# Disallows other than root logins when /etc/nologin exists -# (Replaces the `NOLOGINS_FILE' option from login.defs) -nnrpd auth requisite pam_nologin.so - -# Ensure that system users cannot login -- this is probably a bit -# hacky, but it'll do for now. -nnrpd auth required pam_listfile.so \ - onerr=succeed item=user sense=deny file=/etc/news/readers.deny - -# Standard Un*x authentication. The "nullok" line allows passwordless -# accounts. -nnrpd auth required pam_unix.so - -nnrpd account required pam_unix.so diff -ruNp inn-2.4.2/authprogs/radius.c inn-2.4.3/authprogs/radius.c --- inn-2.4.2/authprogs/radius.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/radius.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: radius.c,v 1.37 2003/01/19 19:58:18 rra Exp $ +/* $Id: radius.c 6155 2003-01-19 19:58:25Z rra $ ** ** Authenticate a user against a remote radius server. */ diff -ruNp inn-2.4.2/authprogs/smbval/Makefile inn-2.4.3/authprogs/smbval/Makefile --- inn-2.4.2/authprogs/smbval/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/authprogs/smbval/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.7 2002/09/29 23:34:19 rra Exp $ +## $Id: Makefile 5789 2002-09-29 23:34:26Z rra $ include ../../Makefile.global diff -ruNp inn-2.4.2/backends/Makefile inn-2.4.3/backends/Makefile --- inn-2.4.2/backends/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.54.2.2 2004/05/18 01:18:53 rra Exp $ +## $Id: Makefile 6806 2004-05-18 01:18:57Z rra $ include ../Makefile.global diff -ruNp inn-2.4.2/backends/actmerge.in inn-2.4.3/backends/actmerge.in --- inn-2.4.2/backends/actmerge.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/actmerge.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -# @(#) $Id: actmerge.in,v 1.2 1999/11/15 06:28:26 rra Exp $ +# @(#) $Id: actmerge.in 2674 1999-11-15 06:28:29Z rra $ # @(#) Under RCS control in /usr/local/news/src/inn/local/RCS/actmerge.sh,v # # actmerge - merge two active files diff -ruNp inn-2.4.2/backends/actsync.c inn-2.4.3/backends/actsync.c --- inn-2.4.2/backends/actsync.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/actsync.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* @(#) $Id: actsync.c,v 1.40.2.1 2003/05/31 19:48:25 rra Exp $ */ +/* @(#) $Id: actsync.c 6372 2003-05-31 19:48:28Z rra $ */ /* @(#) Under RCS control in /usr/local/news/src/inn/local/RCS/actsync.c,v */ /* * actsync - sync or merge two active files diff -ruNp inn-2.4.2/backends/actsyncd.in inn-2.4.3/backends/actsyncd.in --- inn-2.4.2/backends/actsyncd.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/actsyncd.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -# @(#) $Id: actsyncd.in,v 1.6.2.1 2003/10/18 05:49:04 rra Exp $ +# @(#) $Id: actsyncd.in 6490 2003-10-18 05:49:04Z rra $ # @(#) Under RCS control in /usr/local/news/src/inn/local/RCS/actsyncd.sh,v # # actsyncd - actsync daemon diff -ruNp inn-2.4.2/backends/archive.c inn-2.4.3/backends/archive.c --- inn-2.4.2/backends/archive.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/archive.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: archive.c,v 1.38 2003/01/19 04:13:44 rra Exp $ +/* $Id: archive.c 6138 2003-01-19 04:13:51Z rra $ ** ** Read batchfiles on standard input and archive them. */ diff -ruNp inn-2.4.2/backends/batcher.c inn-2.4.3/backends/batcher.c --- inn-2.4.2/backends/batcher.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/batcher.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: batcher.c,v 1.34.2.2 2004/05/17 04:24:53 rra Exp $ +/* $Id: batcher.c 6762 2004-05-17 04:24:53Z rra $ ** ** Read batchfiles on standard input and spew out batches. */ diff -ruNp inn-2.4.2/backends/buffchan.c inn-2.4.3/backends/buffchan.c --- inn-2.4.2/backends/buffchan.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/buffchan.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: buffchan.c,v 1.29 2003/01/19 22:56:32 rra Exp $ +/* $Id: buffchan.c 6163 2003-01-19 22:56:34Z rra $ ** ** Buffered file exploder for innd. */ diff -ruNp inn-2.4.2/backends/crosspost.c inn-2.4.3/backends/crosspost.c --- inn-2.4.2/backends/crosspost.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/crosspost.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: crosspost.c,v 1.17 2003/01/19 01:15:26 rra Exp $ +/* $Id: crosspost.c 6135 2003-01-19 01:15:40Z rra $ ** ** Parse input to add links for cross posted articles. Input format is one ** line per article. Dots '.' are changed to '/'. Commas ',' or blanks diff -ruNp inn-2.4.2/backends/cvtbatch.c inn-2.4.3/backends/cvtbatch.c --- inn-2.4.2/backends/cvtbatch.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/cvtbatch.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: cvtbatch.c,v 1.21 2003/01/19 01:15:26 rra Exp $ +/* $Id: cvtbatch.c 6135 2003-01-19 01:15:40Z rra $ ** ** Read file list on standard input and spew out batchfiles. */ diff -ruNp inn-2.4.2/backends/filechan.c inn-2.4.3/backends/filechan.c --- inn-2.4.2/backends/filechan.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/filechan.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: filechan.c,v 1.15 2003/01/19 01:15:26 rra Exp $ +/* $Id: filechan.c 6135 2003-01-19 01:15:40Z rra $ ** ** An InterNetNews channel process that splits a funnel entry into ** separate files. Originally from Robert Elz . diff -ruNp inn-2.4.2/backends/inndf.c inn-2.4.3/backends/inndf.c --- inn-2.4.2/backends/inndf.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/inndf.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: inndf.c,v 1.25.2.2 2004/03/03 18:36:07 hkehoe Exp $ +/* $Id: inndf.c 6677 2004-03-03 18:36:07Z hkehoe $ ** ** Reports free kilobytes (not disk blocks) or free inodes. ** diff -ruNp inn-2.4.2/backends/innxbatch.c inn-2.4.3/backends/innxbatch.c --- inn-2.4.2/backends/innxbatch.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/innxbatch.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: innxbatch.c,v 1.23.2.1 2003/05/19 02:00:05 rra Exp $ +/* $Id: innxbatch.c 6351 2003-05-19 02:00:06Z rra $ ** ** Transmit batches to remote site, using the XBATCH command ** Modelled after innxmit.c and nntpbatch.c diff -ruNp inn-2.4.2/backends/innxmit.c inn-2.4.3/backends/innxmit.c --- inn-2.4.2/backends/innxmit.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/innxmit.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: innxmit.c,v 1.68.2.2 2004/05/16 20:26:53 rra Exp $ +/* $Id: innxmit.c 6716 2004-05-16 20:26:56Z rra $ ** ** Transmit articles to remote site. ** Modified for NNTP streaming: 1996-01-03 Jerry Aguirre diff -ruNp inn-2.4.2/backends/map.c inn-2.4.3/backends/map.c --- inn-2.4.2/backends/map.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/map.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.11 2003/01/19 01:15:26 rra Exp $ +/* $Id: map.c 6135 2003-01-19 01:15:40Z rra $ ** */ diff -ruNp inn-2.4.2/backends/map.h inn-2.4.3/backends/map.h --- inn-2.4.2/backends/map.h Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/map.h Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: map.h,v 1.1 2002/03/10 08:59:53 vinocur Exp $ +/* $Id: map.h 5292 2002-03-10 08:59:54Z vinocur $ ** */ diff -ruNp inn-2.4.2/backends/mod-active.in inn-2.4.3/backends/mod-active.in --- inn-2.4.2/backends/mod-active.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/mod-active.in Mon Mar 20 04:14:57 2006 @@ -28,7 +28,7 @@ $| = 1; # show output as # checks for alternative operating systems is incomplete. unless ($diff_flags) { if (`diff -v 2>&1` =~ /GNU/) { - $diff_flags = '-u0'; + $diff_flags = '-U0'; } elsif ($^O =~ /^(dec_osf|solaris)$/) { $diff_flags = '-C0'; } elsif ($^O eq 'nextstep') { diff -ruNp inn-2.4.2/backends/ninpaths.c inn-2.4.3/backends/ninpaths.c --- inn-2.4.2/backends/ninpaths.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/ninpaths.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: ninpaths.c,v 1.2.2.1 2003/05/31 18:35:04 rra Exp $ +/* $Id: ninpaths.c 6362 2003-05-31 18:35:04Z rra $ ** ** New inpaths reporting program. ** diff -ruNp inn-2.4.2/backends/nntpget.c inn-2.4.3/backends/nntpget.c --- inn-2.4.2/backends/nntpget.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/nntpget.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: nntpget.c,v 1.33 2003/01/19 01:15:26 rra Exp $ +/* $Id: nntpget.c 6135 2003-01-19 01:15:40Z rra $ ** ** Connect to a remote site, and get news from it to offer to our local ** server. Read list on stdin, or get it via NEWNEWS command. Writes diff -ruNp inn-2.4.2/backends/nntpsend.in inn-2.4.3/backends/nntpsend.in --- inn-2.4.2/backends/nntpsend.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/nntpsend.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -## $Revision: 1.4 $ +## $Revision: 5047 $ ## Send news via NNTP by running several innxmit processes in the background. ## Usage: ## nntpsend [-n][-p][-r][-s size][-S][-t timeout][-T limit][host fqdn]... diff -ruNp inn-2.4.2/backends/overchan.c inn-2.4.3/backends/overchan.c --- inn-2.4.2/backends/overchan.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/overchan.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: overchan.c,v 1.36 2003/01/19 01:15:26 rra Exp $ +/* $Id: overchan.c 6135 2003-01-19 01:15:40Z rra $ ** ** Parse input to add to news overview database. */ diff -ruNp inn-2.4.2/backends/send-ihave.in inn-2.4.3/backends/send-ihave.in --- inn-2.4.2/backends/send-ihave.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/send-ihave.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -## $Revision: 1.2 $ +## $Revision: 2674 $ ## SH script to send IHAVE batches out. PROGNAME=`basename $0` diff -ruNp inn-2.4.2/backends/send-nntp.in inn-2.4.3/backends/send-nntp.in --- inn-2.4.2/backends/send-nntp.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/send-nntp.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -## $Revision: 1.3 $ +## $Revision: 4115 $ ## SH script to send NNTP news out. PROGNAME=`basename $0` diff -ruNp inn-2.4.2/backends/send-uucp.in inn-2.4.3/backends/send-uucp.in --- inn-2.4.2/backends/send-uucp.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/send-uucp.in Mon Mar 20 04:14:57 2006 @@ -21,9 +21,10 @@ use strict; use Sys::Syslog; -# for compatibility with INN 1.x +# for compatibility with earlier versions of INN $inn::pathetc ||= '/etc/news'; $inn::syslog_facility ||= 'news'; +$inn::uux ||= 'uux'; # some default values my $MAXSIZE = 500000; @@ -90,14 +91,15 @@ sub read_cf { my ($sitespec, $compress, $size, $time) = split(/\s+/); next if not $sitespec; - my ($site, $host) = split(/:/, $sitespec); + my ($site, $host, $funnel) = split(/:/, $sitespec); $host = $site if not $host; + $funnel = $site if not $funnel; $compress =~ s/_/ /g if $compress; if ($site_wanted) { if ($site eq $site_wanted) { - push @sites, [$site, $host, $compress, $size]; + push @sites, [$site, $host, $funnel, $compress, $size]; last; } next; @@ -106,10 +108,10 @@ sub read_cf { if ($time) { foreach my $time (split(/,/, $time)) { next if $time != $hour; - push @sites, [$site, $host, $compress, $size]; + push @sites, [$site, $host, $funnel, $compress, $size]; } } else { - push @sites, [$site, $host, $compress, $size]; + push @sites, [$site, $host, $funnel, $compress, $size]; } } close CF; @@ -140,7 +142,7 @@ sub unbatcher { # batch articles for one site sub run_site { my ($cfg) = @_; - my ($site, $host, $compress, $size) = @$cfg; + my ($site, $host, $funnel, $compress, $size) = @$cfg; logmsg("checking site $site", 'debug'); my $maxjobs = ''; @@ -156,36 +158,49 @@ sub run_site { $compress ||= $inn::compress; $size ||= $MAXSIZE; - # if exists a .work temp file left by a previous invocation, append - # it to the current batch file + # if exists a .work temp file left by a previous invocation, rename + # it to .work.tmp, we'll append it to the current batch file once it + # has been renamed and flushed. if (-f "$site.work") { - my $err = ''; - open(OUT, ">>$site") or logdie("cannot open $site: $!"); - open(IN, "$site.work") or logdie("cannot open $site.work: $!"); - print OUT while ; - close IN; - close OUT or logdie("cannot close $site: $!");; + rename("$site.work", "$site.work.tmp") + or logdie("cannot rename $site.work: $!", 'crit'); } - if (not -f $site) { + if (not -f $site and not -f "$site.work.tmp") { logmsg("no batch file for site $site", 'err'); return; } rename($site, "$site.work") or logdie("cannot rename $site: $!", 'crit'); - ctlinnd('-t120', 'flush', $site); + logmsg("Flushing $funnel for site $site", 'debug'); + ctlinnd('-t120', 'flush', $funnel); + + # append the old .work temp file to the current batch file if needed + if (-f "$site.work.tmp") { + my $err = ''; + open(OUT, ">>$site.work") + or logdie("cannot open $site.work: $!", 'crit'); + open(IN, "$site.work.tmp") + or logdie("cannot open $site.work.tmp: $!", 'crit'); + print OUT while ; + close IN; + close OUT or logdie("cannot close $site.work: $!");; + unlink "$site.work.tmp" + or logmsg("cannot delete $site.work.tmp: $!", 'err'); + } + if (not -s "$site.work") { logmsg("no articles for $site", 'debug'); unlink "$site.work" or logmsg("cannot delete $site.work: $!", 'err'); } else { if ($compress eq 'none') { system "batcher -b $size $maxjobs $BATCHER_FLAGS " - . "-p\"uux $UUX_FLAGS %s!rnews\" $host $site.work"; + . "-p\"$inn::uux $UUX_FLAGS %s!rnews\" $host $site.work"; } else { system "batcher -b $size $maxjobs $BATCHER_FLAGS " . "-p\"{ echo '#! " . unbatcher($compress) . "' ; exec $compress; } | " - . "uux $UUX_FLAGS %s!rnews\" $host $site.work"; + . "$inn::uux $UUX_FLAGS %s!rnews\" $host $site.work"; } logmsg("batched articles for $site", 'debug'); } @@ -267,7 +282,7 @@ The sites to which articles are to be se configuration file F. Each site is specified with a line of the form: - site[:host] [compressor [maxsize [batchtime]]] + site[:host[:funnel]] [compressor [maxsize [batchtime]]] =over 4 @@ -281,6 +296,14 @@ from newsfeeds(5). The UUCP host name to which batches should be sent for this site. If omitted, the news site name will be used as the UUCP host name. +=item I + +In the case of a site configured as a funnel, B needs to flush +the channel (or exploder) being used as the target of the funnel instead of +flushing the site. This is the way to tell B the name of the +channel or exploder to flush for this site. If not specified, default to +flushing the site. + =item I The compression method to use for batches. This should be one of compress, @@ -317,14 +340,18 @@ Here is an example send-uucp.cf configur manhole compress 1048576 5,18,22 owl compress 1048576 able + pern::MYFUNNEL! -This defines seven UUCP sites. The first four use gzip compression and the +This defines eight UUCP sites. The first four use gzip compression and the last three use compress. The first six use a batch size of 1MB, and the last site (able) uses the default of 500,000 bytes. The zoetermeer, hoofddorp, pa3ebv, and manhole sites will only have batches generated for them during the hours of 05:00, 18:00, and 22:00, and the drinkel site will only have batches generated during those hours and 20:00, 00:00, and 02:00. There are no restrictions on when batches will be generated for owl or able. + +The pern site is configured as a funnel into C. B will +issue C instead of C. =head1 FILES diff -ruNp inn-2.4.2/backends/sendinpaths.in inn-2.4.3/backends/sendinpaths.in --- inn-2.4.2/backends/sendinpaths.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/sendinpaths.in Mon Mar 20 04:14:57 2006 @@ -2,7 +2,7 @@ # fixscript will replace this line with code to load innshellvars # # Submit path statistics based on ninpaths -# $Id: sendinpaths.in,v 1.1 2002/11/25 17:53:04 rra Exp $ +# $Id: sendinpaths.in 5854 2002-11-25 17:53:06Z rra $ # Assuming the ninpaths dump files are in ${MOST_LOGS}/path/inpaths.%d diff -ruNp inn-2.4.2/backends/sendxbatches.in inn-2.4.3/backends/sendxbatches.in --- inn-2.4.2/backends/sendxbatches.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/sendxbatches.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -# $Id: sendxbatches.in,v 1.2 1999/11/15 06:28:27 rra Exp $ +# $Id: sendxbatches.in 2674 1999-11-15 06:28:29Z rra $ # By petri@ibr.cs.tu-bs.de with mods by libove@jerry.alf.dec.com # # Script to send xbatches for a site, wrapped around innxbatch diff -ruNp inn-2.4.2/backends/shlock.c inn-2.4.3/backends/shlock.c --- inn-2.4.2/backends/shlock.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/shlock.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: shlock.c,v 1.9 2003/01/14 06:03:12 rra Exp $ +/* $Id: shlock.c 6124 2003-01-14 06:03:29Z rra $ ** ** Produce reliable locks for shell scripts, by Peter Honeyman as told ** to Rich $alz. diff -ruNp inn-2.4.2/backends/shrinkfile.c inn-2.4.3/backends/shrinkfile.c --- inn-2.4.2/backends/shrinkfile.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/backends/shrinkfile.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: shrinkfile.c,v 1.14 2003/01/19 01:15:27 rra Exp $ +/* $Id: shrinkfile.c 6135 2003-01-19 01:15:40Z rra $ ** ** Shrink files on line boundaries. ** diff -ruNp inn-2.4.2/configure inn-2.4.3/configure --- inn-2.4.2/configure Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/configure Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.244.2.7 +# From configure.in Revision: 7461 # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- ## Copyright 1996, 1997, 1998, 1999, 2000, 2001 ## Free Software Foundation, Inc. @@ -406,17 +406,17 @@ ac_help="$ac_help ac_help="$ac_help --with-sendmail=PATH Path to sendmail" ac_help="$ac_help - --with-berkeleydb[=PATH] Enable BerkeleyDB (for ovdb overview method)" -ac_help="$ac_help - --with-openssl=PATH Enable OpenSSL (for NNTP over SSL support)" -ac_help="$ac_help - --with-sasl=PATH Enable SASL (for imapfeed authentication)" -ac_help="$ac_help --with-kerberos=PATH Path to Kerberos v5 (for auth_krb5)" ac_help="$ac_help --with-perl Embedded Perl script support [default=no]" ac_help="$ac_help --with-python Embedded Python module support [default=no]" +ac_help="$ac_help + --with-berkeleydb[=PATH] Enable BerkeleyDB (for ovdb overview method)" +ac_help="$ac_help + --with-openssl=PATH Enable OpenSSL (for NNTP over SSL support)" +ac_help="$ac_help + --with-sasl=PATH Enable SASL (for imapfeed authentication)" # Initialize some variables set by options. # The variables have the same names as the options, with @@ -5793,178 +5793,159 @@ if test "${with_sendmail+set}" = set; th fi - -# Check whether --with-berkeleydb or --without-berkeleydb was given. -if test "${with_berkeleydb+set}" = set; then - withval="$with_berkeleydb" - BERKELEY_DB_DIR=$with_berkeleydb -else - BERKELEY_DB_DIR=no +# Check whether --with-kerberos or --without-kerberos was given. +if test "${with_kerberos+set}" = set; then + withval="$with_kerberos" + if test x"$with_kerberos" != xno ; then + KRB5_LDFLAGS="-L$with_kerberos/lib" + KRB5_INC="-I$with_kerberos/include" + fi fi -echo $ac_n "checking if BerkeleyDB is desired""... $ac_c" 1>&6 -echo "configure:5807: checking if BerkeleyDB is desired" >&5 -if test x"$BERKELEY_DB_DIR" = xno ; then - echo "$ac_t""no" 1>&6 - BERKELEY_DB_LDFLAGS= - BERKELEY_DB_CFLAGS= - BERKELEY_DB_LIB= -else - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for BerkeleyDB location""... $ac_c" 1>&6 -echo "configure:5816: checking for BerkeleyDB location" >&5 - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 \ - BerkeleyDB.3.3 BerkeleyDB.4.0 BerkeleyDB.4.1 BerkeleyDB.4.2 BerkeleyDB.4.3 ; do - for d in $prefix /usr/local /opt /usr ; do - if test -d "$d/$v" ; then - BERKELEY_DB_DIR="$d/$v" - break - fi - done - done - fi - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in db43 db42 db41 db4 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" - echo "$ac_t""FreeBSD locations" 1>&6 - break - fi - done - if test x"$BERKELEY_DB_LIB" = x ; then - for v in db43 db42 db41 db4 db3 db2 ; do - if test -d "/usr/include/$v" ; then - BERKELEY_DB_CFLAGS="-I/usr/include/$v" - BERKELEY_DB_LIB="-l$v" - echo "$ac_t""Linux locations" 1>&6 - break - fi - done - if test x"$BERKELEY_DB_LIB" = x ; then - BERKELEY_DB_LIB=-ldb - echo "$ac_t""trying -ldb" 1>&6 - fi - fi - else - BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" - BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" - BERKELEY_DB_LIB="-ldb" - echo "$ac_t""$BERKELEY_DB_DIR" 1>&6 - fi - cat >> confdefs.h <<\EOF -#define USE_BERKELEY_DB 1 + +# Check whether --with-perl or --without-perl was given. +if test "${with_perl+set}" = set; then + withval="$with_perl" + case "${withval}" in + yes) DO_PERL=DO + cat >> confdefs.h <<\EOF +#define DO_PERL 1 EOF + ;; + no) DO_PERL=DONT ;; + *) { echo "configure: error: invalid argument to --with-perl" 1>&2; exit 1; } ;; + esac +else + DO_PERL=DONT fi +# Check whether --with-python or --without-python was given. +if test "${with_python+set}" = set; then + withval="$with_python" + case "${withval}" in + yes) DO_PYTHON=define + cat >> confdefs.h <<\EOF +#define DO_PYTHON 1 +EOF - - -# Check whether --with-openssl or --without-openssl was given. -if test "${with_openssl+set}" = set; then - withval="$with_openssl" - OPENSSL_DIR=$with_openssl + ;; + no) DO_PYTHON=DONT ;; + *) { echo "configure: error: invalid argument to --with-python" 1>&2; exit 1; } ;; + esac else - OPENSSL_DIR=no + DO_PYTHON=DONT fi -echo $ac_n "checking if OpenSSL is desired""... $ac_c" 1>&6 -echo "configure:5877: checking if OpenSSL is desired" >&5 -if test x"$OPENSSL_DIR" = xno ; then - echo "$ac_t""no" 1>&6 - SSL_BIN= - SSL_INC= - SSL_LIB= -else - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for OpenSSL location""... $ac_c" 1>&6 -echo "configure:5886: checking for OpenSSL location" >&5 - if test x"$OPENSSL_DIR" = xyes ; then - for dir in $prefix /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \ - /usr/local /usr ; do - if test -f "$dir/include/openssl/ssl.h" ; then - OPENSSL_DIR=$dir - break - fi - done - fi - if test x"$OPENSSL_DIR" = xyes ; then - { echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; } - else - echo "$ac_t""$OPENSSL_DIR" 1>&6 - SSL_BIN="${OPENSSL_DIR}/bin" - SSL_INC="-I${OPENSSL_DIR}/include" - # This is mildly tricky. In order to satisfy most linkers, libraries - # have to be listed in the right order, which means that libraries - # with dependencies on other libraries need to be listed first. But - # the -L flag for the OpenSSL library directory needs to go first of - # all. So put the -L flag into LIBS and accumulate actual libraries - # into SSL_LIB, and then at the end, restore LIBS and move -L to the - # beginning of SSL_LIB. - inn_save_LIBS=$LIBS - LIBS="$LIBS -L${OPENSSL_DIR}/lib" - SSL_LIB='' - echo $ac_n "checking for RSAPublicEncrypt in -lrsaref""... $ac_c" 1>&6 -echo "configure:5914: 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 +HOSTNAME=`hostname 2> /dev/null || uname -n` + + +if test $ac_cv_prog_gcc = yes; then + echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 +echo "configure:5848: 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_save_LIBS="$LIBS" -LIBS="-lrsaref $LIBS" -cat > conftest.$ac_ext < conftest.$ac_ext < +Autoconf TIOCGETP EOF -if { (eval echo configure:5933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" + ac_cv_prog_gcc_traditional=yes else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + ac_cv_prog_gcc_traditional=no fi rm -f conftest* -LIBS="$ac_save_LIBS" + + if test $ac_cv_prog_gcc_traditional = no; then + cat > conftest.$ac_ext < +Autoconf TCGETA +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "$ac_pattern" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_prog_gcc_traditional=yes 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:5949: checking for RSAPublicEncrypt in -lRSAglue" >&5 -ac_lib_var=`echo RSAglue'_'RSAPublicEncrypt | sed 'y%./+-%__p_%'` +rm -f conftest* + + fi +fi + +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi + +# 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:5896: 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 + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_LEX="flex" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" +fi +fi +LEX="$ac_cv_prog_LEX" +if test -n "$LEX"; then + echo "$ac_t""$LEX" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +if test -z "$LEXLIB" +then + case "$LEX" in + flex*) ac_lib=fl ;; + *) ac_lib=l ;; + esac + echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 +echo "configure:5930: 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 else ac_save_LIBS="$LIBS" -LIBS="-lRSAglue -lrsaref $LIBS" +LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5949: \"$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 @@ -5979,456 +5960,7 @@ 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" -else - echo "$ac_t""no" 1>&6 -fi - -else - echo "$ac_t""no" 1>&6 -fi - - echo $ac_n "checking for BIO_new in -lcrypto""... $ac_c" 1>&6 -echo "configure:5993: checking for BIO_new in -lcrypto" >&5 -ac_lib_var=`echo crypto'_'BIO_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="-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 - echo $ac_n "checking for DSO_load in -ldl""... $ac_c" 1>&6 -echo "configure:6028: checking for DSO_load in -ldl" >&5 -ac_lib_var=`echo dl'_'DSO_load | 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="-ldl -lcrypto -ldl $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 -ldl $SSL_LIB" -else - echo "$ac_t""no" 1>&6 -SSL_LIB="-lcrypto $SSL_LIB" -fi - -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_library_init in -lssl""... $ac_c" 1>&6 -echo "configure:6074: checking for SSL_library_init in -lssl" >&5 -ac_lib_var=`echo ssl'_'SSL_library_init | 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" -else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; } -fi - - SSL_LIB="-L${OPENSSL_DIR}/lib $SSL_LIB" - LIBS=$inn_save_LIBS - cat >> confdefs.h <<\EOF -#define HAVE_SSL 1 -EOF - - fi -fi - - - - - -# Check whether --with-sasl or --without-sasl was given. -if test "${with_sasl+set}" = set; then - withval="$with_sasl" - SASL_DIR=$with_sasl -else - SASL_DIR=no -fi - -echo $ac_n "checking if SASL is desired""... $ac_c" 1>&6 -echo "configure:6136: checking if SASL is desired" >&5 -if test x"$SASL_DIR" = xno ; then - echo "$ac_t""no" 1>&6 - SASL_INC= - SASL_LIB= -else - echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for SASL location""... $ac_c" 1>&6 -echo "configure:6144: checking for SASL location" >&5 - if test x"$SASL_DIR" = xyes ; then - for dir in $prefix /usr/local/sasl /usr/sasl /usr/pkg /usr/local ; do - if test -f "$dir/include/sasl/sasl.h" ; then - SASL_DIR=$dir - break - fi - done - fi - if test x"$SASL_DIR" = xyes ; then - if test -f "/usr/include/sasl/sasl.h" ; then - SASL_INC=-I/usr/include/sasl - SASL_DIR=/usr - echo "$ac_t""$SASL_DIR" 1>&6 - inn_save_LIBS=$LIBS - echo $ac_n "checking for sasl_getprop in -lsasl2""... $ac_c" 1>&6 -echo "configure:6160: checking for sasl_getprop in -lsasl2" >&5 -ac_lib_var=`echo sasl2'_'sasl_getprop | 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="-lsasl2 $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 - SASL_LIB=-lsasl2 -else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: Can not find SASL" 1>&2; exit 1; } -fi - - LIBS=$inn_save_LIBS - cat >> confdefs.h <<\EOF -#define HAVE_SASL 1 -EOF - - else - { echo "configure: error: Can not find SASL" 1>&2; exit 1; } - fi - else - echo "$ac_t""$SASL_DIR" 1>&6 - SASL_INC="-I${SASL_DIR}/include" - - inn_save_LIBS=$LIBS - LIBS="$LIBS -L${SASL_DIR}/lib" - echo $ac_n "checking for sasl_getprop in -lsasl2""... $ac_c" 1>&6 -echo "configure:6215: checking for sasl_getprop in -lsasl2" >&5 -ac_lib_var=`echo sasl2'_'sasl_getprop | 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="-lsasl2 $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 - SASL_LIB="-L${SASL_DIR}/lib -lsasl2" -else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: Can not find SASL" 1>&2; exit 1; } -fi - - LIBS=$inn_save_LIBS - cat >> confdefs.h <<\EOF -#define HAVE_SASL 1 -EOF - - fi -fi - - - -# Check whether --with-kerberos or --without-kerberos was given. -if test "${with_kerberos+set}" = set; then - withval="$with_kerberos" - if test x"$with_kerberos" != xno ; then - KRB5_LIB="-L$with_kerberos/lib" - KRB5_INC="-I$with_kerberos/include" - fi -fi - - -# Check whether --with-perl or --without-perl was given. -if test "${with_perl+set}" = set; then - withval="$with_perl" - case "${withval}" in - yes) DO_PERL=DO - cat >> confdefs.h <<\EOF -#define DO_PERL 1 -EOF - - ;; - no) DO_PERL=DONT ;; - *) { echo "configure: error: invalid argument to --with-perl" 1>&2; exit 1; } ;; - esac -else - DO_PERL=DONT -fi - - -# Check whether --with-python or --without-python was given. -if test "${with_python+set}" = set; then - withval="$with_python" - case "${withval}" in - yes) DO_PYTHON=define - cat >> confdefs.h <<\EOF -#define DO_PYTHON 1 -EOF - - ;; - no) DO_PYTHON=DONT ;; - *) { echo "configure: error: invalid argument to --with-python" 1>&2; exit 1; } ;; - esac -else - DO_PYTHON=DONT -fi - - -HOSTNAME=`hostname 2> /dev/null || uname -n` - - -if test $ac_cv_prog_gcc = yes; then - echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:6316: 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 -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -else - rm -rf conftest* - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - - - if test $ac_cv_prog_gcc_traditional = no; then - cat > conftest.$ac_ext < -Autoconf TCGETA -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "$ac_pattern" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_prog_gcc_traditional=yes -fi -rm -f conftest* - - fi -fi - -echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi - -# 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:6364: 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 - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_LEX="flex" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" -fi -fi -LEX="$ac_cv_prog_LEX" -if test -n "$LEX"; then - echo "$ac_t""$LEX" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -if test -z "$LEXLIB" -then - case "$LEX" in - flex*) ac_lib=fl ;; - *) ac_lib=l ;; - esac - echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:6398: 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 -else - ac_save_LIBS="$LIBS" -LIBS="-l$ac_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 - LEXLIB="-l$ac_lib" + LEXLIB="-l$ac_lib" else echo "$ac_t""no" 1>&6 fi @@ -6436,7 +5968,7 @@ fi fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:6440: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:5972: 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 @@ -6465,7 +5997,7 @@ fi # 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:6469: checking for $ac_word" >&5 +echo "configure:6001: 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 @@ -6497,7 +6029,7 @@ 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:6501: checking for $ac_word" >&5 +echo "configure:6033: 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 @@ -6562,7 +6094,7 @@ esac # 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:6566: checking for $ac_word" >&5 +echo "configure:6098: 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 @@ -6604,7 +6136,7 @@ fi # 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:6608: checking for $ac_word" >&5 +echo "configure:6140: 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 @@ -6642,7 +6174,7 @@ fi # 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:6646: checking for $ac_word" >&5 +echo "configure:6178: 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 @@ -6680,7 +6212,7 @@ fi # 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:6684: checking for $ac_word" >&5 +echo "configure:6216: 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 @@ -6718,7 +6250,7 @@ fi # 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:6722: checking for $ac_word" >&5 +echo "configure:6254: 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 @@ -6756,7 +6288,7 @@ fi # 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:6760: checking for $ac_word" >&5 +echo "configure:6292: 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 @@ -6794,7 +6326,7 @@ fi # 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:6798: checking for $ac_word" >&5 +echo "configure:6330: 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 @@ -6829,12 +6361,53 @@ fi if test -z "${_PATH_SORT}" ; then { echo "configure: error: sort was not found in path and is required" 1>&2; exit 1; } fi +for ac_prog in uux +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:6370: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path__PATH_UUX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$_PATH_UUX" in + /*) + ac_cv_path__PATH_UUX="$_PATH_UUX" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path__PATH_UUX="$_PATH_UUX" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path__PATH_UUX="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + ;; +esac +fi +_PATH_UUX="$ac_cv_path__PATH_UUX" +if test -n "$_PATH_UUX"; then + echo "$ac_t""$_PATH_UUX" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + +test -n "$_PATH_UUX" && break +done +test -n "$_PATH_UUX" || _PATH_UUX="uux" + inn_perl_command='print $]' echo $ac_n "checking for Perl version""... $ac_c" 1>&6 -echo "configure:6838: checking for Perl version" >&5 +echo "configure:6411: 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 @@ -6853,7 +6426,7 @@ 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:6857: checking for $ac_word" >&5 +echo "configure:6430: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_PATH_GPGV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6893,7 +6466,7 @@ 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:6897: checking for $ac_word" >&5 +echo "configure:6470: 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 @@ -6938,7 +6511,7 @@ 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:6942: checking for $ac_word" >&5 +echo "configure:6515: 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 @@ -6980,7 +6553,7 @@ compress|gzip) ;; *) # 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:6984: checking for $ac_word" >&5 +echo "configure:6557: 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 @@ -7019,7 +6592,7 @@ esac # 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:7023: checking for $ac_word" >&5 +echo "configure:6596: 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 @@ -7061,7 +6634,7 @@ fi # 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:7065: checking for $ac_word" >&5 +echo "configure:6638: 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 @@ -7110,13 +6683,13 @@ fi if test "${with_sendmail+set}" = set ; then echo $ac_n "checking for sendmail""... $ac_c" 1>&6 -echo "configure:7114: checking for sendmail" >&5 +echo "configure:6687: 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:7120: checking for $ac_word" >&5 +echo "configure:6693: 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 @@ -7156,7 +6729,7 @@ fi # 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:7160: checking for $ac_word" >&5 +echo "configure:6733: 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 @@ -7189,7 +6762,7 @@ if test x"$DO_PYTHON" = xdefine ; then # 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:7193: checking for $ac_word" >&5 +echo "configure:6766: 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 @@ -7231,14 +6804,14 @@ fi echo $ac_n "checking for library containing setproctitle""... $ac_c" 1>&6 -echo "configure:7235: checking for library containing setproctitle" >&5 +echo "configure:6808: 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 +if { (eval echo configure:6826: \"$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 @@ -7260,7 +6833,7 @@ rm -f conftest* test "$ac_cv_search_setproctitle" = "no" && for i in util; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6848: \"$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 @@ -7296,12 +6869,12 @@ else : for ac_func in pstat do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7300: checking for $ac_func" >&5 +echo "configure:6873: 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 +if { (eval echo configure:6901: \"$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 @@ -7352,14 +6925,14 @@ fi echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6 -echo "configure:7356: checking for library containing gethostbyname" >&5 +echo "configure:6929: 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 +if { (eval echo configure:6947: \"$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 @@ -7381,7 +6954,7 @@ rm -f conftest* test "$ac_cv_search_gethostbyname" = "no" && for i in nsl; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6969: \"$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 @@ -7414,14 +6987,14 @@ else : fi echo $ac_n "checking for library containing socket""... $ac_c" 1>&6 -echo "configure:7418: checking for library containing socket" >&5 +echo "configure:6991: checking for library containing socket" >&5 if eval "test \"`echo '$''{'ac_cv_search_socket'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_socket="no" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_socket="none required" else @@ -7443,7 +7016,7 @@ rm -f conftest* test "$ac_cv_search_socket" = "no" && for i in socket; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_socket="-l$i" break @@ -7473,7 +7046,7 @@ if test "$ac_cv_search_socket" != "no"; else : echo $ac_n "checking for socket in -lnsl""... $ac_c" 1>&6 -echo "configure:7477: checking for socket in -lnsl" >&5 +echo "configure:7050: 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 @@ -7481,7 +7054,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl -lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7069: \"$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 @@ -7516,14 +7089,14 @@ fi echo $ac_n "checking for library containing inet_aton""... $ac_c" 1>&6 -echo "configure:7520: checking for library containing inet_aton" >&5 +echo "configure:7093: checking for library containing inet_aton" >&5 if eval "test \"`echo '$''{'ac_cv_search_inet_aton'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_inet_aton="no" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_inet_aton="none required" else @@ -7545,7 +7118,7 @@ rm -f conftest* test "$ac_cv_search_inet_aton" = "no" && for i in resolv; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_inet_aton="-l$i" break @@ -7581,14 +7154,14 @@ inn_save_LIBS=$LIBS LIBS=${CRYPT_LIB} echo $ac_n "checking for library containing crypt""... $ac_c" 1>&6 -echo "configure:7585: checking for library containing crypt" >&5 +echo "configure:7158: 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 +if { (eval echo configure:7176: \"$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 @@ -7610,7 +7183,7 @@ rm -f conftest* test "$ac_cv_search_crypt" = "no" && for i in crypt; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7198: \"$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 @@ -7648,14 +7221,14 @@ inn_save_LIBS=$LIBS LIBS=${SHADOW_LIB} echo $ac_n "checking for library containing getspnam""... $ac_c" 1>&6 -echo "configure:7652: checking for library containing getspnam" >&5 +echo "configure:7225: checking for library containing getspnam" >&5 if eval "test \"`echo '$''{'ac_cv_search_getspnam'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_getspnam="no" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_getspnam="none required" else @@ -7677,7 +7250,7 @@ rm -f conftest* test "$ac_cv_search_getspnam" = "no" && for i in shadow; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_getspnam="-l$i" break @@ -7715,49 +7288,269 @@ inn_save_LIBS=$LIBS LIBS=${DBM_LIB} echo $ac_n "checking for library containing dbm_open""... $ac_c" 1>&6 -echo "configure:7719: checking for library containing dbm_open" >&5 +echo "configure:7292: checking for library containing dbm_open" >&5 if eval "test \"`echo '$''{'ac_cv_search_dbm_open'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_dbm_open="no" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_search_dbm_open="none required" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +test "$ac_cv_search_dbm_open" = "no" && for i in ndbm dbm; do +LIBS="-l$i $ac_func_search_save_LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_search_dbm_open="-l$i" +break +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +done +LIBS="$ac_func_search_save_LIBS" +fi + +echo "$ac_t""$ac_cv_search_dbm_open" 1>&6 +if test "$ac_cv_search_dbm_open" != "no"; then + test "$ac_cv_search_dbm_open" = "none required" || LIBS="$ac_cv_search_dbm_open $LIBS" + DBM_LIB=$LIBS + cat >> confdefs.h <<\EOF +#define HAVE_DBM 1 +EOF + +else : + +fi +LIBS=$inn_save_LIBS + + +inn_check_pam=1 +for ac_hdr in pam/pam_appl.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:7364: 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:7374: \"$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* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +ac_safe=`echo "security/pam_appl.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for security/pam_appl.h""... $ac_c" 1>&6 +echo "configure:7399: checking for security/pam_appl.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:7409: \"$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* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + : +else + echo "$ac_t""no" 1>&6 +inn_check_pam=0 +fi + +fi +done + +if test x"$inn_check_pam" = x1; then + inn_save_LIBS=$LIBS +LIBS=${PAM_LIB} + +echo $ac_n "checking for library containing pam_start""... $ac_c" 1>&6 +echo "configure:7439: checking for library containing pam_start" >&5 +if eval "test \"`echo '$''{'ac_cv_search_pam_start'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_func_search_save_LIBS="$LIBS" +ac_cv_search_pam_start="no" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_search_pam_start="none required" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +test "$ac_cv_search_pam_start" = "no" && for i in pam; do +LIBS="-l$i $ac_func_search_save_LIBS" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_search_pam_start="-l$i" +break +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +done +LIBS="$ac_func_search_save_LIBS" +fi + +echo "$ac_t""$ac_cv_search_pam_start" 1>&6 +if test "$ac_cv_search_pam_start" != "no"; then + test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS" + PAM_LIB=$LIBS + cat >> confdefs.h <<\EOF +#define HAVE_PAM 1 +EOF + +else : + +fi +LIBS=$inn_save_LIBS + +fi + +if test x"$inn_enable_keywords" = x1 ; then + inn_save_LIBS=$LIBS +LIBS=${REGEX_LIB} + +echo $ac_n "checking for library containing regexec""... $ac_c" 1>&6 +echo "configure:7512: checking for library containing regexec" >&5 +if eval "test \"`echo '$''{'ac_cv_search_regexec'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_func_search_save_LIBS="$LIBS" +ac_cv_search_regexec="no" +cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_dbm_open="none required" + ac_cv_search_regexec="none required" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* -test "$ac_cv_search_dbm_open" = "no" && for i in ndbm dbm; do +test "$ac_cv_search_regexec" = "no" && for i in regex; do LIBS="-l$i $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_dbm_open="-l$i" + ac_cv_search_regexec="-l$i" break else echo "configure: failed program was:" >&5 @@ -7768,250 +7561,498 @@ done LIBS="$ac_func_search_save_LIBS" fi -echo "$ac_t""$ac_cv_search_dbm_open" 1>&6 -if test "$ac_cv_search_dbm_open" != "no"; then - test "$ac_cv_search_dbm_open" = "none required" || LIBS="$ac_cv_search_dbm_open $LIBS" - DBM_LIB=$LIBS - cat >> confdefs.h <<\EOF -#define HAVE_DBM 1 -EOF - +echo "$ac_t""$ac_cv_search_regexec" 1>&6 +if test "$ac_cv_search_regexec" != "no"; then + test "$ac_cv_search_regexec" = "none required" || LIBS="$ac_cv_search_regexec $LIBS" + REGEX_LIB=$LIBS + else : - + { echo "configure: error: no usable regular expression library found" 1>&2; exit 1; } fi LIBS=$inn_save_LIBS +fi -inn_check_pam=1 -for ac_hdr in pam/pam_appl.h -do -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:7791: checking for $ac_hdr" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + +# Check whether --with-berkeleydb or --without-berkeleydb was given. +if test "${with_berkeleydb+set}" = set; then + withval="$with_berkeleydb" + BERKELEY_DB_DIR=$with_berkeleydb +else + BERKELEY_DB_DIR=no +fi + +echo $ac_n "checking if BerkeleyDB is desired""... $ac_c" 1>&6 +echo "configure:7587: checking if BerkeleyDB is desired" >&5 +if test x"$BERKELEY_DB_DIR" = xno ; then + echo "$ac_t""no" 1>&6 + BERKELEY_DB_LDFLAGS= + BERKELEY_DB_CFLAGS= + BERKELEY_DB_LIB= +else + echo "$ac_t""yes" 1>&6 + echo $ac_n "checking for BerkeleyDB location""... $ac_c" 1>&6 +echo "configure:7596: checking for BerkeleyDB location" >&5 + if test x"$BERKELEY_DB_DIR" = xyes ; then + for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 \ + BerkeleyDB.3.3 BerkeleyDB.4.0 BerkeleyDB.4.1 BerkeleyDB.4.2 BerkeleyDB.4.3 ; do + for d in $prefix /usr/local /opt /usr ; do + if test -d "$d/$v" ; then + BERKELEY_DB_DIR="$d/$v" + break + fi + done + done + fi + if test x"$BERKELEY_DB_DIR" = xyes ; then + for v in db43 db42 db41 db4 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" + echo "$ac_t""FreeBSD locations" 1>&6 + break + fi + done + if test x"$BERKELEY_DB_LIB" = x ; then + for v in db43 db42 db41 db4 db3 db2 ; do + if test -d "/usr/include/$v" ; then + BERKELEY_DB_CFLAGS="-I/usr/include/$v" + BERKELEY_DB_LIB="-l$v" + echo "$ac_t""Linux locations" 1>&6 + break + fi + done + if test x"$BERKELEY_DB_LIB" = x ; then + BERKELEY_DB_LIB=-ldb + echo "$ac_t""trying -ldb" 1>&6 + fi + fi + else + BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" + BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" + BERKELEY_DB_LIB="-ldb" + echo "$ac_t""$BERKELEY_DB_DIR" 1>&6 + fi + cat >> confdefs.h <<\EOF +#define USE_BERKELEY_DB 1 +EOF + +fi + + + + + +# Check whether --with-openssl or --without-openssl was given. +if test "${with_openssl+set}" = set; then + withval="$with_openssl" + OPENSSL_DIR=$with_openssl +else + OPENSSL_DIR=no +fi + +echo $ac_n "checking if OpenSSL is desired""... $ac_c" 1>&6 +echo "configure:7657: checking if OpenSSL is desired" >&5 +if test x"$OPENSSL_DIR" = xno ; then + echo "$ac_t""no" 1>&6 + SSL_BIN= + SSL_INC= + SSL_LIB= +else + echo "$ac_t""yes" 1>&6 + echo $ac_n "checking for OpenSSL location""... $ac_c" 1>&6 +echo "configure:7666: checking for OpenSSL location" >&5 + if test x"$OPENSSL_DIR" = xyes ; then + for dir in $prefix /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \ + /usr/local /usr ; do + if test -f "$dir/include/openssl/ssl.h" ; then + OPENSSL_DIR=$dir + break + fi + done + fi + if test x"$OPENSSL_DIR" = xyes ; then + { echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; } + else + echo "$ac_t""$OPENSSL_DIR" 1>&6 + SSL_BIN="${OPENSSL_DIR}/bin" + SSL_INC="-I${OPENSSL_DIR}/include" + + # This is mildly tricky. In order to satisfy most linkers, libraries + # have to be listed in the right order, which means that libraries + # with dependencies on other libraries need to be listed first. But + # the -L flag for the OpenSSL library directory needs to go first of + # all. So put the -L flag into LIBS and accumulate actual libraries + # into SSL_LIB, and then at the end, restore LIBS and move -L to the + # beginning of SSL_LIB. + inn_save_LIBS=$LIBS + LIBS="$LIBS -L${OPENSSL_DIR}/lib" + SSL_LIB='' + echo $ac_n "checking for RSAPublicEncrypt in -lrsaref""... $ac_c" 1>&6 +echo "configure:7694: 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 - cat > conftest.$ac_ext < conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char RSAPublicEncrypt(); + +int main() { +RSAPublicEncrypt() +; return 0; } EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7801: \"$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 +if { (eval echo configure:7713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" + eval "ac_cv_lib_$ac_lib_var=yes" else - echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* +LIBS="$ac_save_LIBS" + fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` - cat >> confdefs.h <&6 -ac_safe=`echo "security/pam_appl.h" | sed 'y%./+-%__p_%'` -echo $ac_n "checking for security/pam_appl.h""... $ac_c" 1>&6 -echo "configure:7826: checking for security/pam_appl.h" >&5 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "checking for RSAPublicEncrypt in -lRSAglue""... $ac_c" 1>&6 +echo "configure:7729: 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 - cat > conftest.$ac_ext < conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char RSAPublicEncrypt(); + +int main() { +RSAPublicEncrypt() +; return 0; } EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7836: \"$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 +if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - eval "ac_cv_header_$ac_safe=yes" + eval "ac_cv_lib_$ac_lib_var=yes" else - echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" + eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* +LIBS="$ac_save_LIBS" + fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - : + SSL_LIB="-lRSAglue -lrsaref" else echo "$ac_t""no" 1>&6 -inn_check_pam=0 fi +else + echo "$ac_t""no" 1>&6 fi -done -if test x"$inn_check_pam" = x1; then - inn_save_LIBS=$LIBS -LIBS=${PAM_LIB} + echo $ac_n "checking for BIO_new in -lcrypto""... $ac_c" 1>&6 +echo "configure:7773: checking for BIO_new in -lcrypto" >&5 +ac_lib_var=`echo crypto'_'BIO_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="-lcrypto $SSL_LIB $LIBS" +cat > conftest.$ac_ext <&6 -echo "configure:7866: checking for library containing pam_start" >&5 -if eval "test \"`echo '$''{'ac_cv_search_pam_start'+set}'`\" = set"; then +int main() { +BIO_new() +; return 0; } +EOF +if { (eval echo configure:7792: \"$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 + 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 DSO_load in -ldl""... $ac_c" 1>&6 +echo "configure:7808: checking for DSO_load in -ldl" >&5 +ac_lib_var=`echo dl'_'DSO_load | 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_func_search_save_LIBS="$LIBS" -ac_cv_search_pam_start="no" + ac_save_LIBS="$LIBS" +LIBS="-ldl -lcrypto -ldl $SSL_LIB $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_pam_start="none required" + 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* -test "$ac_cv_search_pam_start" = "no" && for i in pam; do -LIBS="-l$i $ac_func_search_save_LIBS" +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 -ldl $SSL_LIB" +else + echo "$ac_t""no" 1>&6 +SSL_LIB="-lcrypto $SSL_LIB" +fi + +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_library_init in -lssl""... $ac_c" 1>&6 +echo "configure:7854: checking for SSL_library_init in -lssl" >&5 +ac_lib_var=`echo ssl'_'SSL_library_init | 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 +if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_pam_start="-l$i" -break + 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* -done -LIBS="$ac_func_search_save_LIBS" +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" +else + echo "$ac_t""no" 1>&6 +{ echo "configure: error: Can not find OpenSSL" 1>&2; exit 1; } fi -echo "$ac_t""$ac_cv_search_pam_start" 1>&6 -if test "$ac_cv_search_pam_start" != "no"; then - test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS" - PAM_LIB=$LIBS - cat >> confdefs.h <<\EOF -#define HAVE_PAM 1 + SSL_LIB="-L${OPENSSL_DIR}/lib $SSL_LIB" + LIBS=$inn_save_LIBS + cat >> confdefs.h <<\EOF +#define HAVE_SSL 1 EOF -else : - + fi fi -LIBS=$inn_save_LIBS -fi -if test x"$inn_enable_keywords" = x1 ; then - inn_save_LIBS=$LIBS -LIBS=${REGEX_LIB} -echo $ac_n "checking for library containing regexec""... $ac_c" 1>&6 -echo "configure:7939: checking for library containing regexec" >&5 -if eval "test \"`echo '$''{'ac_cv_search_regexec'+set}'`\" = set"; then + + +# Check whether --with-sasl or --without-sasl was given. +if test "${with_sasl+set}" = set; then + withval="$with_sasl" + SASL_DIR=$with_sasl +else + SASL_DIR=no +fi + +echo $ac_n "checking if SASL is desired""... $ac_c" 1>&6 +echo "configure:7916: checking if SASL is desired" >&5 +if test x"$SASL_DIR" = xno ; then + echo "$ac_t""no" 1>&6 + SASL_INC= + SASL_LIB= +else + echo "$ac_t""yes" 1>&6 + echo $ac_n "checking for SASL location""... $ac_c" 1>&6 +echo "configure:7924: checking for SASL location" >&5 + if test x"$SASL_DIR" = xyes ; then + for dir in $prefix /usr/local/sasl /usr/sasl /usr/pkg /usr/local ; do + if test -f "$dir/include/sasl/sasl.h" ; then + SASL_DIR=$dir + break + fi + done + fi + if test x"$SASL_DIR" = xyes ; then + if test -f "/usr/include/sasl/sasl.h" ; then + SASL_INC=-I/usr/include/sasl + SASL_DIR=/usr + echo "$ac_t""$SASL_DIR" 1>&6 + inn_save_LIBS=$LIBS + echo $ac_n "checking for sasl_getprop in -lsasl2""... $ac_c" 1>&6 +echo "configure:7940: checking for sasl_getprop in -lsasl2" >&5 +ac_lib_var=`echo sasl2'_'sasl_getprop | 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_func_search_save_LIBS="$LIBS" -ac_cv_search_regexec="no" + ac_save_LIBS="$LIBS" +LIBS="-lsasl2 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_regexec="none required" + 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* -test "$ac_cv_search_regexec" = "no" && for i in regex; do -LIBS="-l$i $ac_func_search_save_LIBS" +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SASL_LIB=-lsasl2 +else + echo "$ac_t""no" 1>&6 +{ echo "configure: error: Can not find SASL" 1>&2; exit 1; } +fi + + LIBS=$inn_save_LIBS + cat >> confdefs.h <<\EOF +#define HAVE_SASL 1 +EOF + + else + { echo "configure: error: Can not find SASL" 1>&2; exit 1; } + fi + else + echo "$ac_t""$SASL_DIR" 1>&6 + SASL_INC="-I${SASL_DIR}/include" + + inn_save_LIBS=$LIBS + LIBS="$LIBS -L${SASL_DIR}/lib" + echo $ac_n "checking for sasl_getprop in -lsasl2""... $ac_c" 1>&6 +echo "configure:7995: checking for sasl_getprop in -lsasl2" >&5 +ac_lib_var=`echo sasl2'_'sasl_getprop | 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="-lsasl2 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* - ac_cv_search_regexec="-l$i" -break + 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* -done -LIBS="$ac_func_search_save_LIBS" -fi +LIBS="$ac_save_LIBS" -echo "$ac_t""$ac_cv_search_regexec" 1>&6 -if test "$ac_cv_search_regexec" != "no"; then - test "$ac_cv_search_regexec" = "none required" || LIBS="$ac_cv_search_regexec $LIBS" - REGEX_LIB=$LIBS - -else : - { echo "configure: error: no usable regular expression library found" 1>&2; exit 1; } fi -LIBS=$inn_save_LIBS +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SASL_LIB="-L${SASL_DIR}/lib -lsasl2" +else + echo "$ac_t""no" 1>&6 +{ echo "configure: error: Can not find SASL" 1>&2; exit 1; } +fi + + LIBS=$inn_save_LIBS + cat >> confdefs.h <<\EOF +#define HAVE_SASL 1 +EOF + fi fi + + inn_save_LIBS=$LIBS LIBS=${KRB5_LIB} echo $ac_n "checking for library containing krb5_parse_name""... $ac_c" 1>&6 -echo "configure:8008: checking for library containing krb5_parse_name" >&5 +echo "configure:8049: checking for library containing krb5_parse_name" >&5 if eval "test \"`echo '$''{'ac_cv_search_krb5_parse_name'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_func_search_save_LIBS="$LIBS" ac_cv_search_krb5_parse_name="no" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_krb5_parse_name="none required" else @@ -8033,7 +8074,7 @@ rm -f conftest* test "$ac_cv_search_krb5_parse_name" = "no" && for i in krb5; do LIBS="-l$i $LIBS -lk5crypto -lcom_err $ac_func_search_save_LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_search_krb5_parse_name="-l$i" break @@ -8062,9 +8103,49 @@ if test "$ac_cv_search_krb5_parse_name" test "$ac_cv_search_krb5_parse_name" = "none required" || LIBS="$ac_cv_search_krb5_parse_name $LIBS" KRB5_LIB=$LIBS KRB5_AUTH="auth_krb5" - KRB5_LIB="$KRB5_LIB -lk5crypto -lcom_err" + KRB5_LIB="$KRB5_LDFLAGS $KRB5_LIB -lk5crypto -lcom_err" + for ac_hdr in et/com_err.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:8114: 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:8124: \"$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* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + else : fi @@ -8076,12 +8157,12 @@ LIBS=$KRB5_LIB for ac_func in krb5_init_ets do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8080: checking for $ac_func" >&5 +echo "configure:8161: 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 +if { (eval echo configure:8189: \"$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 @@ -8132,7 +8213,7 @@ LIBS=$inn_save_LIBS if test x"$DO_PERL" = xDO ; then echo $ac_n "checking for Perl linkage""... $ac_c" 1>&6 -echo "configure:8136: checking for Perl linkage" >&5 +echo "configure:8217: 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` @@ -8173,7 +8254,7 @@ fi if test x"$DO_PYTHON" = xdefine ; then echo $ac_n "checking for Python linkage""... $ac_c" 1>&6 -echo "configure:8177: checking for Python linkage" >&5 +echo "configure:8258: 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}" @@ -8197,7 +8278,7 @@ fi if test x"$inn_enable_largefiles" = xyes ; then echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6 -echo "configure:8201: checking for largefile linkage" >&5 +echo "configure:8282: checking for largefile linkage" >&5 case "$host" in *-aix4.01*) echo "$ac_t""no" 1>&6 @@ -8234,7 +8315,7 @@ EOF # 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:8238: checking for $ac_word" >&5 +echo "configure:8319: 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 @@ -8286,12 +8367,12 @@ fi fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:8290: checking for ANSI C header files" >&5 +echo "configure:8371: 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 @@ -8299,7 +8380,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:8303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8384: \"$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* @@ -8316,7 +8397,7 @@ rm -f conftest* 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 @@ -8334,7 +8415,7 @@ fi 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 @@ -8355,7 +8436,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -8366,7 +8447,7 @@ if (XOR (islower (i), ISLOWER (i)) || to exit (0); } EOF -if { (eval echo configure:8370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:8451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -8395,17 +8476,17 @@ if test x"$ac_cv_header_stdc" = xno ; th do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:8399: checking for $ac_hdr" >&5 +echo "configure:8480: 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:8409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8490: \"$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* @@ -8434,12 +8515,12 @@ done for ac_func in memcpy strchr do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8438: checking for $ac_func" >&5 +echo "configure:8519: 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 +if { (eval echo configure:8547: \"$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 @@ -8493,12 +8574,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/di 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:8497: checking for $ac_hdr that defines DIR" >&5 +echo "configure:8578: 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> @@ -8506,7 +8587,7 @@ int main() { DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:8510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -8531,7 +8612,7 @@ done # 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:8535: checking for opendir in -ldir" >&5 +echo "configure:8616: 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 @@ -8539,7 +8620,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8635: \"$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 @@ -8572,7 +8653,7 @@ fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:8576: checking for opendir in -lx" >&5 +echo "configure:8657: 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 @@ -8580,7 +8661,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8676: \"$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 @@ -8614,12 +8695,12 @@ fi fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:8618: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:8699: 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 @@ -8628,7 +8709,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:8632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -8649,12 +8730,12 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:8653: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:8734: 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 @@ -8670,7 +8751,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:8674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -8698,17 +8779,17 @@ for ac_hdr in crypt.h inttypes.h limits. do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:8702: checking for $ac_hdr" >&5 +echo "configure:8783: 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:8712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8793: \"$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* @@ -8740,17 +8821,17 @@ if test x"$ac_cv_header_ndbm_h" = xno ; do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:8744: checking for $ac_hdr" >&5 +echo "configure:8825: 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:8754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8835: \"$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* @@ -8780,19 +8861,19 @@ fi echo $ac_n "checking whether h_errno must be declared""... $ac_c" 1>&6 -echo "configure:8784: checking whether h_errno must be declared" >&5 +echo "configure:8865: checking whether h_errno must be declared" >&5 if eval "test \"`echo '$''{'inn_cv_herrno_need_decl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { h_errno = 0; ; return 0; } EOF -if { (eval echo configure:8796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_herrno_need_decl=no else @@ -8816,12 +8897,12 @@ fi echo $ac_n "checking whether inet_aton must be declared""... $ac_c" 1>&6 -echo "configure:8820: checking whether inet_aton must be declared" >&5 +echo "configure:8901: checking whether inet_aton must be declared" >&5 if eval "test \"`echo '$''{'inn_cv_decl_needed_inet_aton'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -8856,7 +8937,7 @@ int main() { char *(*pfn) = (char *(*)) inet_aton ; return 0; } EOF -if { (eval echo configure:8860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_decl_needed_inet_aton=no else @@ -8878,12 +8959,12 @@ else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether inet_ntoa must be declared""... $ac_c" 1>&6 -echo "configure:8882: checking whether inet_ntoa must be declared" >&5 +echo "configure:8963: checking whether inet_ntoa must be declared" >&5 if eval "test \"`echo '$''{'inn_cv_decl_needed_inet_ntoa'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -8918,7 +8999,7 @@ int main() { char *(*pfn) = (char *(*)) inet_ntoa ; return 0; } EOF -if { (eval echo configure:8922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_decl_needed_inet_ntoa=no else @@ -8940,12 +9021,12 @@ else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether snprintf must be declared""... $ac_c" 1>&6 -echo "configure:8944: checking whether snprintf must be declared" >&5 +echo "configure:9025: checking whether snprintf must be declared" >&5 if eval "test \"`echo '$''{'inn_cv_decl_needed_snprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -8979,7 +9060,7 @@ int main() { char *(*pfn) = (char *(*)) snprintf ; return 0; } EOF -if { (eval echo configure:8983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_decl_needed_snprintf=no else @@ -9001,12 +9082,12 @@ else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking whether vsnprintf must be declared""... $ac_c" 1>&6 -echo "configure:9005: checking whether vsnprintf must be declared" >&5 +echo "configure:9086: checking whether vsnprintf must be declared" >&5 if eval "test \"`echo '$''{'inn_cv_decl_needed_vsnprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -9040,7 +9121,7 @@ int main() { char *(*pfn) = (char *(*)) vsnprintf ; return 0; } EOF -if { (eval echo configure:9044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_decl_needed_vsnprintf=no else @@ -9063,14 +9144,14 @@ else fi echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:9067: checking whether byte ordering is bigendian" >&5 +echo "configure:9148: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -9081,11 +9162,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:9085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -9096,7 +9177,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:9100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -9116,7 +9197,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -9153,12 +9234,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:9157: checking for working const" >&5 +echo "configure:9238: 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 +if { (eval echo configure:9292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -9228,12 +9309,12 @@ EOF fi echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 -echo "configure:9232: checking for st_blksize in struct stat" >&5 +echo "configure:9313: 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 @@ -9241,7 +9322,7 @@ int main() { struct stat s; s.st_blksize; ; return 0; } EOF -if { (eval echo configure:9245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else @@ -9262,12 +9343,12 @@ EOF fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:9266: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "configure:9347: 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 @@ -9275,7 +9356,7 @@ int main() { struct tm *tp; tp->tm_sec; ; return 0; } EOF -if { (eval echo configure:9279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else @@ -9296,12 +9377,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:9300: checking for size_t" >&5 +echo "configure:9381: 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 @@ -9329,12 +9410,12 @@ EOF fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:9333: checking for uid_t in sys/types.h" >&5 +echo "configure:9414: 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 @@ -9363,12 +9444,12 @@ EOF fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:9367: checking for off_t" >&5 +echo "configure:9448: 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 @@ -9396,12 +9477,12 @@ EOF fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:9400: checking for pid_t" >&5 +echo "configure:9481: 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 @@ -9429,12 +9510,12 @@ EOF fi echo $ac_n "checking for ptrdiff_t""... $ac_c" 1>&6 -echo "configure:9433: checking for ptrdiff_t" >&5 +echo "configure:9514: checking for ptrdiff_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_ptrdiff_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -9462,12 +9543,12 @@ EOF fi echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:9466: checking for ssize_t" >&5 +echo "configure:9547: 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 @@ -9497,12 +9578,12 @@ fi echo $ac_n "checking for C99 variadic macros""... $ac_c" 1>&6 -echo "configure:9501: checking for C99 variadic macros" >&5 +echo "configure:9582: checking for C99 variadic macros" >&5 if eval "test \"`echo '$''{'inn_cv_c_c99_vamacros'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #define error(...) fprintf(stderr, __VA_ARGS__) @@ -9510,7 +9591,7 @@ int main() { error("foo"); error("foo %d", 0); return 0; ; return 0; } EOF -if { (eval echo configure:9514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_c_c99_vamacros=yes else @@ -9532,12 +9613,12 @@ fi echo $ac_n "checking for GNU-style variadic macros""... $ac_c" 1>&6 -echo "configure:9536: checking for GNU-style variadic macros" >&5 +echo "configure:9617: checking for GNU-style variadic macros" >&5 if eval "test \"`echo '$''{'inn_cv_c_gnu_vamacros'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #define error(args...) fprintf(stderr, args) @@ -9545,7 +9626,7 @@ int main() { error("foo"); error("foo %d", 0); return 0; ; return 0; } EOF -if { (eval echo configure:9549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_c_gnu_vamacros=yes else @@ -9567,19 +9648,19 @@ fi echo $ac_n "checking for long long int""... $ac_c" 1>&6 -echo "configure:9571: checking for long long int" >&5 +echo "configure:9652: checking for long long int" >&5 if eval "test \"`echo '$''{'inn_cv_c_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_c_long_long=yes else @@ -9603,12 +9684,12 @@ fi echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6 -echo "configure:9607: checking for sig_atomic_t" >&5 +echo "configure:9688: 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 < #ifdef STDC_HEADERS @@ -9639,12 +9720,12 @@ EOF fi echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 -echo "configure:9643: checking for socklen_t" >&5 +echo "configure:9724: 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 < #ifdef STDC_HEADERS @@ -9678,7 +9759,7 @@ fi echo $ac_n "checking value of IOV_MAX""... $ac_c" 1>&6 -echo "configure:9682: checking value of IOV_MAX" >&5 +echo "configure:9763: 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 @@ -9686,7 +9767,7 @@ else 16 else cat > conftest.$ac_ext < #include @@ -9734,7 +9815,7 @@ main () return 0; } EOF -if { (eval echo configure:9738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:9819: \"$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 @@ -9762,12 +9843,12 @@ fi echo $ac_n "checking for SUN_LEN""... $ac_c" 1>&6 -echo "configure:9766: checking for SUN_LEN" >&5 +echo "configure:9847: 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 < #include @@ -9778,7 +9859,7 @@ int i; i = SUN_LEN(&sun); ; return 0; } EOF -if { (eval echo configure:9782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9863: \"$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 @@ -9800,19 +9881,19 @@ fi echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 -echo "configure:9804: checking for tm_gmtoff in struct tm" >&5 +echo "configure:9885: 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:9816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9897: \"$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 @@ -9834,19 +9915,19 @@ fi echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 -echo "configure:9838: checking for tm_zone in struct tm" >&5 +echo "configure:9919: 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:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9931: \"$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 @@ -9868,19 +9949,19 @@ fi echo $ac_n "checking for timezone variable""... $ac_c" 1>&6 -echo "configure:9872: checking for timezone variable" >&5 +echo "configure:9953: 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:9884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* inn_cv_var_timezone=yes else @@ -9902,19 +9983,19 @@ fi echo $ac_n "checking for tzname variable""... $ac_c" 1>&6 -echo "configure:9906: checking for tzname variable" >&5 +echo "configure:9987: 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:9918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* inn_cv_var_tzname=yes else @@ -9937,7 +10018,7 @@ fi echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:9941: checking size of int" >&5 +echo "configure:10022: 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 @@ -9945,7 +10026,7 @@ else ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < main() @@ -9956,7 +10037,7 @@ main() exit(0); } EOF -if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10041: \"$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 @@ -9975,7 +10056,7 @@ if test x"$ac_cv_sizeof_int" = x"4" ; th INN_INT32=int else echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:9979: checking size of long" >&5 +echo "configure:10060: 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 @@ -9983,7 +10064,7 @@ else ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < main() @@ -9994,7 +10075,7 @@ main() exit(0); } EOF -if { (eval echo configure:9998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10079: \"$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 @@ -10013,7 +10094,7 @@ if test x"$ac_cv_sizeof_long" = x"4" ; t INN_INT32=long else echo $ac_n "checking size of short""... $ac_c" 1>&6 -echo "configure:10017: checking size of short" >&5 +echo "configure:10098: 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 @@ -10021,7 +10102,7 @@ else ac_cv_sizeof_short=2 else cat > conftest.$ac_ext < main() @@ -10032,7 +10113,7 @@ main() exit(0); } EOF -if { (eval echo configure:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10117: \"$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 @@ -10059,12 +10140,12 @@ fi echo $ac_n "checking for int32_t""... $ac_c" 1>&6 -echo "configure:10063: checking for int32_t" >&5 +echo "configure:10144: 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 < #ifdef STDC_HEADERS @@ -10102,12 +10183,12 @@ fi echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 -echo "configure:10106: checking for uint32_t" >&5 +echo "configure:10187: 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 < #ifdef STDC_HEADERS @@ -10144,7 +10225,7 @@ EOF fi echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 -echo "configure:10148: checking for 8-bit clean memcmp" >&5 +echo "configure:10229: 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 @@ -10152,7 +10233,7 @@ else ac_cv_func_memcmp_clean=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10247: \"$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 @@ -10180,12 +10261,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:10184: checking return type of signal handlers" >&5 +echo "configure:10265: 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 @@ -10202,7 +10283,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:10206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -10225,7 +10306,7 @@ EOF echo $ac_n "checking for working inet_ntoa""... $ac_c" 1>&6 -echo "configure:10229: checking for working inet_ntoa" >&5 +echo "configure:10310: checking for working inet_ntoa" >&5 if eval "test \"`echo '$''{'inn_cv_func_inet_ntoa_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10233,7 +10314,7 @@ else inn_cv_func_inet_ntoa_works=no else cat > conftest.$ac_ext < #include @@ -10251,7 +10332,7 @@ main () return (!strcmp (inet_ntoa (in), "127.0.0.0") ? 0 : 1); } EOF -if { (eval echo configure:10255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_func_inet_ntoa_works=yes else @@ -10277,12 +10358,12 @@ fi echo $ac_n "checking whether struct sockaddr has sa_len""... $ac_c" 1>&6 -echo "configure:10281: checking whether struct sockaddr has sa_len" >&5 +echo "configure:10362: checking whether struct sockaddr has sa_len" >&5 if eval "test \"`echo '$''{'inn_cv_struct_sockaddr_sa_len'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -10291,7 +10372,7 @@ int main() { struct sockaddr sa; int x = sa.sa_len; ; return 0; } EOF -if { (eval echo configure:10295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_struct_sockaddr_sa_len=yes else @@ -10313,12 +10394,12 @@ fi echo $ac_n "checking for SA_LEN(s) macro""... $ac_c" 1>&6 -echo "configure:10317: checking for SA_LEN(s) macro" >&5 +echo "configure:10398: checking for SA_LEN(s) macro" >&5 if eval "test \"`echo '$''{'inn_cv_sa_len_macro'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -10327,7 +10408,7 @@ int main() { struct sockaddr sa; int x = SA_LEN(&sa); ; return 0; } EOF -if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* inn_cv_sa_len_macro=yes else @@ -10351,12 +10432,12 @@ fi echo $ac_n "checking for struct sockaddr_storage""... $ac_c" 1>&6 -echo "configure:10355: checking for struct sockaddr_storage" >&5 +echo "configure:10436: checking for struct sockaddr_storage" >&5 if eval "test \"`echo '$''{'inn_cv_struct_sockaddr_storage'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -10365,7 +10446,7 @@ int main() { struct sockaddr_storage ss; ; return 0; } EOF -if { (eval echo configure:10369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_struct_sockaddr_storage=yes else @@ -10384,12 +10465,12 @@ if test "$inn_cv_struct_sockaddr_storage EOF echo $ac_n "checking for RFC 2553 style sockaddr_storage member names""... $ac_c" 1>&6 -echo "configure:10388: checking for RFC 2553 style sockaddr_storage member names" >&5 +echo "configure:10469: checking for RFC 2553 style sockaddr_storage member names" >&5 if eval "test \"`echo '$''{'inn_cv_2553_ss_family'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -10398,7 +10479,7 @@ int main() { struct sockaddr_storage ss; int x=ss.ss_family; ; return 0; } EOF -if { (eval echo configure:10402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_2553_ss_family=no else @@ -10424,7 +10505,7 @@ fi if test "$inn_enable_ipv6_tests" = yes ; then echo $ac_n "checking whether IN6_ARE_ADDR_EQUAL macro is broken""... $ac_c" 1>&6 -echo "configure:10428: checking whether IN6_ARE_ADDR_EQUAL macro is broken" >&5 +echo "configure:10509: checking whether IN6_ARE_ADDR_EQUAL macro is broken" >&5 if eval "test \"`echo '$''{'inn_cv_in6_are_addr_equal_broken'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10432,7 +10513,7 @@ else inn_cv_in6_are_addr_equal_broken=no else cat > conftest.$ac_ext < #include @@ -10450,7 +10531,7 @@ main () return IN6_ARE_ADDR_EQUAL(&a,&b) ? 0 : 1; } EOF -if { (eval echo configure:10454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_in6_are_addr_equal_broken=no else @@ -10477,7 +10558,7 @@ fi echo $ac_n "checking for working snprintf""... $ac_c" 1>&6 -echo "configure:10481: checking for working snprintf" >&5 +echo "configure:10562: checking for working snprintf" >&5 if eval "test \"`echo '$''{'inn_cv_func_snprintf_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10485,7 +10566,7 @@ else inn_cv_func_snprintf_works=no else cat > conftest.$ac_ext < #include @@ -10511,7 +10592,7 @@ main () && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1); } EOF -if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_func_snprintf_works=yes else @@ -10540,12 +10621,12 @@ for ac_func in atexit getloadavg getrlim strncasecmp strtoul symlink sysconf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10544: checking for $ac_func" >&5 +echo "configure:10625: 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 +if { (eval echo configure:10653: \"$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 @@ -10597,12 +10678,12 @@ if test x"$ac_cv_func_getrlimit" = xno ; for ac_func in getdtablesize ulimit do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10601: checking for $ac_func" >&5 +echo "configure:10682: 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 +if { (eval echo configure:10710: \"$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 @@ -10655,12 +10736,12 @@ if test x"$ac_cv_func_statvfs" = xno ; t for ac_func in statfs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10659: checking for $ac_func" >&5 +echo "configure:10740: 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 +if { (eval echo configure:10768: \"$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 @@ -10711,17 +10792,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:10715: checking for $ac_hdr" >&5 +echo "configure:10796: 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:10725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:10806: \"$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* @@ -10754,12 +10835,12 @@ for ac_func in fseeko ftello getpagesize strspn setenv do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10758: checking for $ac_func" >&5 +echo "configure:10839: 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 +if { (eval echo configure:10867: \"$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 @@ -10815,7 +10896,7 @@ done 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:10819: checking for off_t-compatible fpos_t" >&5 +echo "configure:10900: 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 @@ -10823,7 +10904,7 @@ else inn_cv_type_fpos_t_large=no else cat > conftest.$ac_ext < #include @@ -10837,7 +10918,7 @@ main () exit(off == (off_t) 9223372036854775807ULL ? 0 : 1); } EOF -if { (eval echo configure:10841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:10922: \"$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 @@ -10876,7 +10957,7 @@ fi echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:10880: checking for working mmap" >&5 +echo "configure:10961: checking for working mmap" >&5 if eval "test \"`echo '$''{'inn_cv_func_mmap'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10884,7 +10965,7 @@ else inn_cv_func_mmap=no else cat > conftest.$ac_ext < #include @@ -10948,7 +11029,7 @@ main() return 0; } EOF -if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:11033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_func_mmap=yes else @@ -10973,12 +11054,12 @@ if test x"$inn_cv_func_mmap" = xyes ; th for ac_func in madvise do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10977: checking for $ac_func" >&5 +echo "configure:11058: 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 +if { (eval echo configure:11086: \"$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 @@ -11026,7 +11107,7 @@ fi done echo $ac_n "checking whether mmap sees writes""... $ac_c" 1>&6 -echo "configure:11030: checking whether mmap sees writes" >&5 +echo "configure:11111: checking whether mmap sees writes" >&5 if eval "test \"`echo '$''{'inn_cv_func_mmap_sees_writes'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11034,7 +11115,7 @@ else inn_cv_func_mmap_sees_writes=no else cat > conftest.$ac_ext < #include @@ -11070,7 +11151,7 @@ main () return 0; } EOF -if { (eval echo configure:11074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_func_mmap_sees_writes=yes else @@ -11092,7 +11173,7 @@ EOF fi echo $ac_n "checking whether msync is needed""... $ac_c" 1>&6 -echo "configure:11096: checking whether msync is needed" >&5 +echo "configure:11177: checking whether msync is needed" >&5 if eval "test \"`echo '$''{'inn_cv_func_mmap_need_msync'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11100,7 +11181,7 @@ else inn_cv_func_mmap_need_msync=yes else cat > conftest.$ac_ext < #include @@ -11171,7 +11252,7 @@ main() return 0; } EOF -if { (eval echo configure:11175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:11256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then inn_cv_func_mmap_need_msync=no else @@ -11193,12 +11274,12 @@ EOF fi echo $ac_n "checking how many arguments msync takes""... $ac_c" 1>&6 -echo "configure:11197: checking how many arguments msync takes" >&5 +echo "configure:11278: checking how many arguments msync takes" >&5 if eval "test \"`echo '$''{'inn_cv_func_msync_args'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -11206,7 +11287,7 @@ int main() { char *p; int psize; msync (p, psize, MS_ASYNC); ; return 0; } EOF -if { (eval echo configure:11210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* inn_cv_func_msync_args=3 else @@ -11229,12 +11310,12 @@ fi echo $ac_n "checking for Unix domain sockets""... $ac_c" 1>&6 -echo "configure:11233: checking for Unix domain sockets" >&5 +echo "configure:11314: checking for Unix domain sockets" >&5 if eval "test \"`echo '$''{'inn_cv_sys_unix_sockets'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef AF_UNIX @@ -11263,12 +11344,12 @@ fi echo $ac_n "checking log facility for news""... $ac_c" 1>&6 -echo "configure:11267: checking log facility for news" >&5 +echo "configure:11348: checking log facility for news" >&5 if eval "test \"`echo '$''{'inn_cv_log_facility'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef LOG_NEWS @@ -11496,14 +11577,6 @@ s%@RNEWSMODE@%$RNEWSMODE%g s%@LOG_COMPRESS@%$LOG_COMPRESS%g s%@LOG_COMPRESSEXT@%$LOG_COMPRESSEXT%g s%@DO_DBZ_TAGGED_HASH@%$DO_DBZ_TAGGED_HASH%g -s%@BERKELEY_DB_LDFLAGS@%$BERKELEY_DB_LDFLAGS%g -s%@BERKELEY_DB_CFLAGS@%$BERKELEY_DB_CFLAGS%g -s%@BERKELEY_DB_LIB@%$BERKELEY_DB_LIB%g -s%@SSL_BIN@%$SSL_BIN%g -s%@SSL_INC@%$SSL_INC%g -s%@SSL_LIB@%$SSL_LIB%g -s%@SASL_INC@%$SASL_INC%g -s%@SASL_LIB@%$SASL_LIB%g s%@HOSTNAME@%$HOSTNAME%g s%@LEX@%$LEX%g s%@LEXLIB@%$LEXLIB%g @@ -11516,6 +11589,7 @@ s%@_PATH_PERL@%$_PATH_PERL%g s%@_PATH_SH@%$_PATH_SH%g s%@_PATH_SED@%$_PATH_SED%g s%@_PATH_SORT@%$_PATH_SORT%g +s%@_PATH_UUX@%$_PATH_UUX%g s%@PATH_GPGV@%$PATH_GPGV%g s%@_PATH_PGP@%$_PATH_PGP%g s%@pgpverify@%$pgpverify%g @@ -11531,6 +11605,14 @@ s%@SHADOW_LIB@%$SHADOW_LIB%g s%@DBM_LIB@%$DBM_LIB%g s%@PAM_LIB@%$PAM_LIB%g s%@REGEX_LIB@%$REGEX_LIB%g +s%@BERKELEY_DB_LDFLAGS@%$BERKELEY_DB_LDFLAGS%g +s%@BERKELEY_DB_CFLAGS@%$BERKELEY_DB_CFLAGS%g +s%@BERKELEY_DB_LIB@%$BERKELEY_DB_LIB%g +s%@SSL_BIN@%$SSL_BIN%g +s%@SSL_INC@%$SSL_INC%g +s%@SSL_LIB@%$SSL_LIB%g +s%@SASL_INC@%$SASL_INC%g +s%@SASL_LIB@%$SASL_LIB%g s%@KRB5_AUTH@%$KRB5_AUTH%g s%@KRB5_INC@%$KRB5_INC%g s%@KRB5_LIB@%$KRB5_LIB%g diff -ruNp inn-2.4.2/configure.in inn-2.4.3/configure.in --- inn-2.4.2/configure.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/configure.in Mon Mar 20 04:14:57 2006 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.244.2.8 2004/12/20 01:43:09 hkehoe Exp $ +dnl $Id: configure.in 7466 2005-12-12 03:04:08Z eagle $ dnl dnl Please try to follow GNU conventions and autoconf manual conventions as dnl much as possible in this file so that any macros we develop can be easily @@ -34,7 +34,7 @@ dnl bother checking for it. Compile-tim dnl useful information for someone debugging a problem than configure-time dnl errors. -AC_REVISION($Revision: 1.244.2.8 $)dnl +AC_REVISION($Revision: 7466 $)dnl AC_PREREQ(2.13) AC_INIT(Makefile.global.in) AC_CONFIG_AUX_DIR(support) @@ -253,8 +253,8 @@ AC_SUBST(INEWSMODE) dnl rnews used to be installed setuid root so that it could be run by the uucp dnl user for incoming batches, but this isn't necessary unless you're using -dnl UUCP (which most people aren't). Only do this if it's explicitly -dnl requested at configure time. +dnl UUCP (which most people aren't) and only setuid news is required. Only do +dnl this if it's explicitly requested at configure time. RNEWSGRP=$NEWSGRP RNEWSMODE=0500 AC_ARG_ENABLE(uucp-rnews, @@ -347,196 +347,13 @@ AC_ARG_WITH(sendmail, [ --with-sendmail=PATH Path to sendmail], SENDMAIL=$with_sendmail) -dnl Check for whether the user wants to compile with BerkeleyDB, and if so -dnl what the path to the various components of it is. -AC_DEFUN([INN_LIB_BERKELEYDB], -[AC_ARG_WITH(berkeleydb, - [ --with-berkeleydb[=PATH] Enable BerkeleyDB (for ovdb overview method)], - BERKELEY_DB_DIR=$with_berkeleydb, - BERKELEY_DB_DIR=no) -AC_MSG_CHECKING(if BerkeleyDB is desired) -if test x"$BERKELEY_DB_DIR" = xno ; then - AC_MSG_RESULT(no) - BERKELEY_DB_LDFLAGS= - BERKELEY_DB_CFLAGS= - BERKELEY_DB_LIB= -else - AC_MSG_RESULT(yes) - AC_MSG_CHECKING(for BerkeleyDB location) - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 \ - BerkeleyDB.3.3 BerkeleyDB.4.0 BerkeleyDB.4.1 BerkeleyDB.4.2 BerkeleyDB.4.3 ; do - for d in $prefix /usr/local /opt /usr ; do - if test -d "$d/$v" ; then - BERKELEY_DB_DIR="$d/$v" - break - fi - done - done - fi - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in db43 db42 db41 db4 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" - AC_MSG_RESULT(FreeBSD locations) - break - fi - done - if test x"$BERKELEY_DB_LIB" = x ; then - for v in db43 db42 db41 db4 db3 db2 ; do - if test -d "/usr/include/$v" ; then - BERKELEY_DB_CFLAGS="-I/usr/include/$v" - BERKELEY_DB_LIB="-l$v" - AC_MSG_RESULT(Linux locations) - break - fi - done - if test x"$BERKELEY_DB_LIB" = x ; then - BERKELEY_DB_LIB=-ldb - AC_MSG_RESULT(trying -ldb) - fi - fi - else - BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" - BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" - BERKELEY_DB_LIB="-ldb" - AC_MSG_RESULT($BERKELEY_DB_DIR) - fi - AC_DEFINE(USE_BERKELEY_DB, 1, [Define if BerkeleyDB is available.]) -fi -AC_SUBST(BERKELEY_DB_LDFLAGS) -AC_SUBST(BERKELEY_DB_CFLAGS) -AC_SUBST(BERKELEY_DB_LIB)]) -INN_LIB_BERKELEYDB - -dnl Check for whether the user wants to compile with OpenSSL, and if so what -dnl the path to the various components of it is. -AC_DEFUN([INN_LIB_OPENSSL], -[AC_ARG_WITH(openssl, - [ --with-openssl=PATH Enable OpenSSL (for NNTP over SSL support)], - OPENSSL_DIR=$with_openssl, - OPENSSL_DIR=no) -AC_MSG_CHECKING(if OpenSSL is desired) -if test x"$OPENSSL_DIR" = xno ; then - AC_MSG_RESULT(no) - SSL_BIN= - SSL_INC= - SSL_LIB= -else - AC_MSG_RESULT(yes) - AC_MSG_CHECKING(for OpenSSL location) - if test x"$OPENSSL_DIR" = xyes ; then - for dir in $prefix /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \ - /usr/local /usr ; do - if test -f "$dir/include/openssl/ssl.h" ; then - OPENSSL_DIR=$dir - break - fi - done - fi - if test x"$OPENSSL_DIR" = xyes ; then - AC_MSG_ERROR(Can not find OpenSSL) - else - AC_MSG_RESULT($OPENSSL_DIR) - SSL_BIN="${OPENSSL_DIR}/bin" - SSL_INC="-I${OPENSSL_DIR}/include" - - # This is mildly tricky. In order to satisfy most linkers, libraries - # have to be listed in the right order, which means that libraries - # with dependencies on other libraries need to be listed first. But - # the -L flag for the OpenSSL library directory needs to go first of - # all. So put the -L flag into LIBS and accumulate actual libraries - # into SSL_LIB, and then at the end, restore LIBS and move -L to the - # beginning of SSL_LIB. - inn_save_LIBS=$LIBS - LIBS="$LIBS -L${OPENSSL_DIR}/lib" - SSL_LIB='' - AC_CHECK_LIB(rsaref, RSAPublicEncrypt, - [AC_CHECK_LIB(RSAglue, RSAPublicEncrypt, - [SSL_LIB="-lRSAglue -lrsaref"], , -lrsaref)]) - AC_CHECK_LIB(crypto, BIO_new, - [AC_CHECK_LIB(dl, DSO_load, - SSL_LIB="-lcrypto -ldl $SSL_LIB", - SSL_LIB="-lcrypto $SSL_LIB", - -lcrypto -ldl $SSL_LIB)], - [AC_MSG_ERROR(Can not find OpenSSL)], - $SSL_LIB) - AC_CHECK_LIB(ssl, SSL_library_init, - [SSL_LIB="-lssl $SSL_LIB"], - [AC_MSG_ERROR(Can not find OpenSSL)], - $SSL_LIB) - SSL_LIB="-L${OPENSSL_DIR}/lib $SSL_LIB" - LIBS=$inn_save_LIBS - AC_DEFINE(HAVE_SSL, 1, [Define if OpenSSL is available.]) - fi -fi -AC_SUBST(SSL_BIN) -AC_SUBST(SSL_INC) -AC_SUBST(SSL_LIB)]) -INN_LIB_OPENSSL - -dnl Check for whether the user wants to compile with SASL, and if so what -dnl the path to the various components of it is. -AC_DEFUN([INN_LIB_SASL], -[AC_ARG_WITH(sasl, - [ --with-sasl=PATH Enable SASL (for imapfeed authentication)], - SASL_DIR=$with_sasl, - SASL_DIR=no) -AC_MSG_CHECKING(if SASL is desired) -if test x"$SASL_DIR" = xno ; then - AC_MSG_RESULT(no) - SASL_INC= - SASL_LIB= -else - AC_MSG_RESULT(yes) - AC_MSG_CHECKING(for SASL location) - if test x"$SASL_DIR" = xyes ; then - for dir in $prefix /usr/local/sasl /usr/sasl /usr/pkg /usr/local ; do - if test -f "$dir/include/sasl/sasl.h" ; then - SASL_DIR=$dir - break - fi - done - fi - if test x"$SASL_DIR" = xyes ; then - if test -f "/usr/include/sasl/sasl.h" ; then - SASL_INC=-I/usr/include/sasl - SASL_DIR=/usr - AC_MSG_RESULT($SASL_DIR) - inn_save_LIBS=$LIBS - AC_CHECK_LIB(sasl2, sasl_getprop, - [SASL_LIB=-lsasl2], [AC_MSG_ERROR(Can not find SASL)]) - LIBS=$inn_save_LIBS - AC_DEFINE(HAVE_SASL, 1, [Define if SASL is available.]) - else - AC_MSG_ERROR(Can not find SASL) - fi - else - AC_MSG_RESULT($SASL_DIR) - SASL_INC="-I${SASL_DIR}/include" - - inn_save_LIBS=$LIBS - LIBS="$LIBS -L${SASL_DIR}/lib" - AC_CHECK_LIB(sasl2, sasl_getprop, - [SASL_LIB="-L${SASL_DIR}/lib -lsasl2"], - [AC_MSG_ERROR(Can not find SASL)],) - LIBS=$inn_save_LIBS - AC_DEFINE(HAVE_SASL, 1, [Define if SASL is available.]) - fi -fi -AC_SUBST(SASL_INC) -AC_SUBST(SASL_LIB)]) -INN_LIB_SASL - dnl Specify the path to the Kerberos libraries if the user wants to build dnl auth_krb5. Note that we don't search far and wide for the libraries if dnl the user doesn't specify the path. AC_ARG_WITH(kerberos, [ --with-kerberos=PATH Path to Kerberos v5 (for auth_krb5)], [if test x"$with_kerberos" != xno ; then - KRB5_LIB="-L$with_kerberos/lib" + KRB5_LDFLAGS="-L$with_kerberos/lib" KRB5_INC="-I$with_kerberos/include" fi]) @@ -639,6 +456,7 @@ INN_ENSURE_PATH_PROG(_PATH_PERL,perl) INN_ENSURE_PATH_PROG(_PATH_SH,sh) INN_ENSURE_PATH_PROG(_PATH_SED,sed) INN_ENSURE_PATH_PROG(_PATH_SORT,sort) +AC_PATH_PROGS(_PATH_UUX,uux,uux) dnl Check for a required version of Perl. The separate shell variable and dnl the changequotes are necessary for autoconf 2.13; autoconf 2.50 will @@ -801,13 +619,197 @@ if test x"$inn_enable_keywords" = x1 ; t [AC_MSG_ERROR(no usable regular expression library found)]) fi +dnl Check for whether the user wants to compile with BerkeleyDB, and if so +dnl what the path to the various components of it is. +AC_DEFUN([INN_LIB_BERKELEYDB], +[AC_ARG_WITH(berkeleydb, + [ --with-berkeleydb[=PATH] Enable BerkeleyDB (for ovdb overview method)], + BERKELEY_DB_DIR=$with_berkeleydb, + BERKELEY_DB_DIR=no) +AC_MSG_CHECKING(if BerkeleyDB is desired) +if test x"$BERKELEY_DB_DIR" = xno ; then + AC_MSG_RESULT(no) + BERKELEY_DB_LDFLAGS= + BERKELEY_DB_CFLAGS= + BERKELEY_DB_LIB= +else + AC_MSG_RESULT(yes) + AC_MSG_CHECKING(for BerkeleyDB location) + if test x"$BERKELEY_DB_DIR" = xyes ; then + for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 \ + BerkeleyDB.3.3 BerkeleyDB.4.0 BerkeleyDB.4.1 BerkeleyDB.4.2 BerkeleyDB.4.3 ; do + for d in $prefix /usr/local /opt /usr ; do + if test -d "$d/$v" ; then + BERKELEY_DB_DIR="$d/$v" + break + fi + done + done + fi + if test x"$BERKELEY_DB_DIR" = xyes ; then + for v in db43 db42 db41 db4 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" + AC_MSG_RESULT(FreeBSD locations) + break + fi + done + if test x"$BERKELEY_DB_LIB" = x ; then + for v in db43 db42 db41 db4 db3 db2 ; do + if test -d "/usr/include/$v" ; then + BERKELEY_DB_CFLAGS="-I/usr/include/$v" + BERKELEY_DB_LIB="-l$v" + AC_MSG_RESULT(Linux locations) + break + fi + done + if test x"$BERKELEY_DB_LIB" = x ; then + BERKELEY_DB_LIB=-ldb + AC_MSG_RESULT(trying -ldb) + fi + fi + else + BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib" + BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include" + BERKELEY_DB_LIB="-ldb" + AC_MSG_RESULT($BERKELEY_DB_DIR) + fi + AC_DEFINE(USE_BERKELEY_DB, 1, [Define if BerkeleyDB is available.]) +fi +AC_SUBST(BERKELEY_DB_LDFLAGS) +AC_SUBST(BERKELEY_DB_CFLAGS) +AC_SUBST(BERKELEY_DB_LIB)]) +INN_LIB_BERKELEYDB + +dnl Check for whether the user wants to compile with OpenSSL, and if so what +dnl the path to the various components of it is. +AC_DEFUN([INN_LIB_OPENSSL], +[AC_ARG_WITH(openssl, + [ --with-openssl=PATH Enable OpenSSL (for NNTP over SSL support)], + OPENSSL_DIR=$with_openssl, + OPENSSL_DIR=no) +AC_MSG_CHECKING(if OpenSSL is desired) +if test x"$OPENSSL_DIR" = xno ; then + AC_MSG_RESULT(no) + SSL_BIN= + SSL_INC= + SSL_LIB= +else + AC_MSG_RESULT(yes) + AC_MSG_CHECKING(for OpenSSL location) + if test x"$OPENSSL_DIR" = xyes ; then + for dir in $prefix /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg \ + /usr/local /usr ; do + if test -f "$dir/include/openssl/ssl.h" ; then + OPENSSL_DIR=$dir + break + fi + done + fi + if test x"$OPENSSL_DIR" = xyes ; then + AC_MSG_ERROR(Can not find OpenSSL) + else + AC_MSG_RESULT($OPENSSL_DIR) + SSL_BIN="${OPENSSL_DIR}/bin" + SSL_INC="-I${OPENSSL_DIR}/include" + + # This is mildly tricky. In order to satisfy most linkers, libraries + # have to be listed in the right order, which means that libraries + # with dependencies on other libraries need to be listed first. But + # the -L flag for the OpenSSL library directory needs to go first of + # all. So put the -L flag into LIBS and accumulate actual libraries + # into SSL_LIB, and then at the end, restore LIBS and move -L to the + # beginning of SSL_LIB. + inn_save_LIBS=$LIBS + LIBS="$LIBS -L${OPENSSL_DIR}/lib" + SSL_LIB='' + AC_CHECK_LIB(rsaref, RSAPublicEncrypt, + [AC_CHECK_LIB(RSAglue, RSAPublicEncrypt, + [SSL_LIB="-lRSAglue -lrsaref"], , -lrsaref)]) + AC_CHECK_LIB(crypto, BIO_new, + [AC_CHECK_LIB(dl, DSO_load, + SSL_LIB="-lcrypto -ldl $SSL_LIB", + SSL_LIB="-lcrypto $SSL_LIB", + -lcrypto -ldl $SSL_LIB)], + [AC_MSG_ERROR(Can not find OpenSSL)], + $SSL_LIB) + AC_CHECK_LIB(ssl, SSL_library_init, + [SSL_LIB="-lssl $SSL_LIB"], + [AC_MSG_ERROR(Can not find OpenSSL)], + $SSL_LIB) + SSL_LIB="-L${OPENSSL_DIR}/lib $SSL_LIB" + LIBS=$inn_save_LIBS + AC_DEFINE(HAVE_SSL, 1, [Define if OpenSSL is available.]) + fi +fi +AC_SUBST(SSL_BIN) +AC_SUBST(SSL_INC) +AC_SUBST(SSL_LIB)]) +INN_LIB_OPENSSL + +dnl Check for whether the user wants to compile with SASL, and if so what +dnl the path to the various components of it is. +AC_DEFUN([INN_LIB_SASL], +[AC_ARG_WITH(sasl, + [ --with-sasl=PATH Enable SASL (for imapfeed authentication)], + SASL_DIR=$with_sasl, + SASL_DIR=no) +AC_MSG_CHECKING(if SASL is desired) +if test x"$SASL_DIR" = xno ; then + AC_MSG_RESULT(no) + SASL_INC= + SASL_LIB= +else + AC_MSG_RESULT(yes) + AC_MSG_CHECKING(for SASL location) + if test x"$SASL_DIR" = xyes ; then + for dir in $prefix /usr/local/sasl /usr/sasl /usr/pkg /usr/local ; do + if test -f "$dir/include/sasl/sasl.h" ; then + SASL_DIR=$dir + break + fi + done + fi + if test x"$SASL_DIR" = xyes ; then + if test -f "/usr/include/sasl/sasl.h" ; then + SASL_INC=-I/usr/include/sasl + SASL_DIR=/usr + AC_MSG_RESULT($SASL_DIR) + inn_save_LIBS=$LIBS + AC_CHECK_LIB(sasl2, sasl_getprop, + [SASL_LIB=-lsasl2], [AC_MSG_ERROR(Can not find SASL)]) + LIBS=$inn_save_LIBS + AC_DEFINE(HAVE_SASL, 1, [Define if SASL is available.]) + else + AC_MSG_ERROR(Can not find SASL) + fi + else + AC_MSG_RESULT($SASL_DIR) + SASL_INC="-I${SASL_DIR}/include" + + inn_save_LIBS=$LIBS + LIBS="$LIBS -L${SASL_DIR}/lib" + AC_CHECK_LIB(sasl2, sasl_getprop, + [SASL_LIB="-L${SASL_DIR}/lib -lsasl2"], + [AC_MSG_ERROR(Can not find SASL)],) + LIBS=$inn_save_LIBS + AC_DEFINE(HAVE_SASL, 1, [Define if SASL is available.]) + fi +fi +AC_SUBST(SASL_INC) +AC_SUBST(SASL_LIB)]) +INN_LIB_SASL + dnl Check for Kerberos libraries for auth_krb5, and if found define KRB5_AUTH dnl to the relevant object file, which will enable compilation of it. INN_SEARCH_AUX_LIBS(krb5_parse_name, krb5, KRB5_LIB, [KRB5_AUTH="auth_krb5" - KRB5_LIB="$KRB5_LIB -lk5crypto -lcom_err" + KRB5_LIB="$KRB5_LDFLAGS $KRB5_LIB -lk5crypto -lcom_err" AC_SUBST(KRB5_AUTH) - AC_SUBST(KRB5_INC)], , [$LIBS -lk5crypto -lcom_err]) + AC_SUBST(KRB5_INC) + AC_CHECK_HEADERS([et/com_err.h])], , [$LIBS -lk5crypto -lcom_err]) dnl Check for necessity of krb5_init_ets dnl OSX does not require this function diff -ruNp inn-2.4.2/contrib/Makefile inn-2.4.3/contrib/Makefile --- inn-2.4.2/contrib/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.11 2003/04/20 19:04:11 vinocur Exp $ +## $Id: Makefile 6299 2003-04-20 19:04:14Z vinocur $ ## ## There are no installation rules or other top-level rules for this ## directory as it's not properly part of INN. Installation should be diff -ruNp inn-2.4.2/contrib/archivegz.in inn-2.4.3/contrib/archivegz.in --- inn-2.4.2/contrib/archivegz.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/archivegz.in Mon Mar 20 04:14:57 2006 @@ -5,9 +5,9 @@ # Filename: archivegz.pl # Author: Stephen M. Benoit (benoits@servicepro.com) # Created: Wed Apr 14 13:56:01 1999 -# Version: $Id: archivegz.in,v 1.1 2001/01/14 13:47:51 rra Exp $ +# Version: $Id: archivegz.in 4329 2001-01-14 13:47:52Z rra $ # -$RCSID='$Id: archivegz.in,v 1.1 2001/01/14 13:47:51 rra Exp $ '; +$RCSID='$Id: archivegz.in 4329 2001-01-14 13:47:52Z rra $ '; # Specify command line options, and decode the command line. diff -ruNp inn-2.4.2/contrib/auth_pass.c inn-2.4.3/contrib/auth_pass.c --- inn-2.4.2/contrib/auth_pass.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/auth_pass.c Mon Mar 20 04:14:57 2006 @@ -1,5 +1,5 @@ /* - * auth_pass.c ( $Revision: 1.4 $ ) + * auth_pass.c ( $Revision: 6141 $ ) * * Abstract: * diff -ruNp inn-2.4.2/contrib/mlockfile.c inn-2.4.3/contrib/mlockfile.c --- inn-2.4.2/contrib/mlockfile.c Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/mlockfile.c Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -/* $Id: mlockfile.c,v 1.4 2002/12/16 11:28:07 alexk Exp $ */ +/* $Id: mlockfile.c 6014 2002-12-16 11:28:07Z alexk $ */ /* Locks the files given on the command line into memory using mlock. This code has only been tested on Solaris and may not work on other diff -ruNp inn-2.4.2/contrib/thdexpire.in inn-2.4.3/contrib/thdexpire.in --- inn-2.4.2/contrib/thdexpire.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/thdexpire.in Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # fixscript will replace this line with require innshellvars.pl -$ID='$Id: thdexpire.in,v 1.1 2001/02/24 22:31:05 rra Exp $$'; +$ID='$Id: thdexpire.in 4572 2001-02-24 22:31:05Z rra $$'; use POSIX ":fcntl_h"; use SDBM_File; diff -ruNp inn-2.4.2/contrib/tunefeed.in inn-2.4.3/contrib/tunefeed.in --- inn-2.4.2/contrib/tunefeed.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/contrib/tunefeed.in Mon Mar 20 04:14:57 2006 @@ -1,5 +1,5 @@ #!/usr/bin/perl -$version = q$Id: tunefeed.in,v 1.1 2001/01/14 13:47:50 rra Exp $; +$version = q$Id: tunefeed.in 4329 2001-01-14 13:47:52Z rra $; # # tunefeed -- Compare active files with a remote site to tune a feed. # Copyright 1998 by Russ Allbery diff -ruNp inn-2.4.2/control/Makefile inn-2.4.3/control/Makefile --- inn-2.4.2/control/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.11.2.1 2004/05/18 01:18:54 rra Exp $ +## $Id: Makefile 6806 2004-05-18 01:18:57Z rra $ include ../Makefile.global diff -ruNp inn-2.4.2/control/controlchan.in inn-2.4.3/control/controlchan.in --- inn-2.4.2/control/controlchan.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/controlchan.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /usr/bin/perl -w require "/usr/local/news/lib/innshellvars.pl"; -## $Id: controlchan.in,v 1.7.2.3 2004/05/17 05:26:36 rra Exp $ +## $Id: controlchan.in 6771 2004-05-17 05:26:36Z rra $ ## ## Channel feed program to route control messages to an appropriate handler. ## diff -ruNp inn-2.4.2/control/docheckgroups.in inn-2.4.3/control/docheckgroups.in --- inn-2.4.2/control/docheckgroups.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/docheckgroups.in Mon Mar 20 04:14:57 2006 @@ -1,7 +1,7 @@ #! /bin/sh # fixscript will replace this line with code to load innshellvars -## $Revision: 1.1 $ +## $Revision: 4716 $ ## Script to execute checkgroups text; results to stdout. T=${TMPDIR} diff -ruNp inn-2.4.2/control/modules/checkgroups.pl inn-2.4.3/control/modules/checkgroups.pl --- inn-2.4.2/control/modules/checkgroups.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/checkgroups.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: checkgroups.pl,v 1.3 2002/12/29 20:49:08 rra Exp $ +## $Id: checkgroups.pl 6099 2002-12-29 20:49:08Z rra $ ## ## checkgroups control message handler. ## diff -ruNp inn-2.4.2/control/modules/ihave.pl inn-2.4.3/control/modules/ihave.pl --- inn-2.4.2/control/modules/ihave.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/ihave.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: ihave.pl,v 1.3 2001/07/19 00:32:56 rra Exp $ +## $Id: ihave.pl 4932 2001-07-19 00:32:56Z rra $ ## ## ihave control message handler. ## diff -ruNp inn-2.4.2/control/modules/newgroup.pl inn-2.4.3/control/modules/newgroup.pl --- inn-2.4.2/control/modules/newgroup.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/newgroup.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: newgroup.pl,v 1.3 2001/07/19 00:32:56 rra Exp $ +## $Id: newgroup.pl 4932 2001-07-19 00:32:56Z rra $ ## ## newgroup control message handler. ## diff -ruNp inn-2.4.2/control/modules/rmgroup.pl inn-2.4.3/control/modules/rmgroup.pl --- inn-2.4.2/control/modules/rmgroup.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/rmgroup.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: rmgroup.pl,v 1.3 2001/07/19 00:32:56 rra Exp $ +## $Id: rmgroup.pl 4932 2001-07-19 00:32:56Z rra $ ## ## rmgroup control message handler. ## diff -ruNp inn-2.4.2/control/modules/sendme.pl inn-2.4.3/control/modules/sendme.pl --- inn-2.4.2/control/modules/sendme.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/sendme.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: sendme.pl,v 1.3 2001/07/19 00:32:56 rra Exp $ +## $Id: sendme.pl 4932 2001-07-19 00:32:56Z rra $ ## ## sendme control message handler. ## diff -ruNp inn-2.4.2/control/modules/sendsys.pl inn-2.4.3/control/modules/sendsys.pl --- inn-2.4.2/control/modules/sendsys.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/sendsys.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: sendsys.pl,v 1.2 2001/07/19 00:32:56 rra Exp $ +## $Id: sendsys.pl 4932 2001-07-19 00:32:56Z rra $ ## ## sendsys control message handler. ## diff -ruNp inn-2.4.2/control/modules/senduuname.pl inn-2.4.3/control/modules/senduuname.pl --- inn-2.4.2/control/modules/senduuname.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/senduuname.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: senduuname.pl,v 1.2 2001/07/19 00:32:56 rra Exp $ +## $Id: senduuname.pl 4932 2001-07-19 00:32:56Z rra $ ## ## senduuname control message handler. ## diff -ruNp inn-2.4.2/control/modules/version.pl inn-2.4.3/control/modules/version.pl --- inn-2.4.2/control/modules/version.pl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/modules/version.pl Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: version.pl,v 1.2 2001/07/19 00:32:56 rra Exp $ +## $Id: version.pl 4932 2001-07-19 00:32:56Z rra $ ## ## version control message handler. ## diff -ruNp inn-2.4.2/control/perl-nocem.in inn-2.4.3/control/perl-nocem.in --- inn-2.4.2/control/perl-nocem.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/perl-nocem.in Mon Mar 20 04:14:57 2006 @@ -469,10 +469,14 @@ __END__ =head1 NAME -perl-nocem - a NoCeM-on-spool implementation for INN 2.x +perl-nocem - A NoCeM-on-spool implementation for INN 2.x =head1 SYNOPSIS +perl-nocem < I + +=head1 DESCRIPTION + Add to the newsfeeds file an entry like this one: nocem:!*,alt.nocem.misc,news.lists.filter\ @@ -496,8 +500,10 @@ The nocem.ctl config file contains lines The Subject header is not checked for the @@NCM string and there is no check for the presence of the References header. + The Newsgroups pseudo header is not checked, but this can be done in local_want_cancel_id(). + The Hierarchies header is ignored. =head1 HISTORY diff -ruNp inn-2.4.2/control/pgpverify.in inn-2.4.3/control/pgpverify.in --- inn-2.4.2/control/pgpverify.in Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/control/pgpverify.in Mon Mar 20 04:14:57 2006 @@ -2,9 +2,9 @@ # do '@LIBDIR@/innshellvars.pl'; # If running inside INN, uncomment the above and point to innshellvars.pl. # -# written April 1996, tale@isc.org (David C Lawrence) +# Written April 1996, tale@isc.org (David C Lawrence) # Currently maintained by Russ Allbery -# Version 1.25, 2003-12-10 +# Version 1.27, 2005-07-02 # # NOTICE TO INN MAINTAINERS: The version that is shipped with INN is the # same as the version that I make available to the rest of the world @@ -16,6 +16,14 @@ # me about it; I want to know what old versions of Perl are still used in # practice. # +# Changes from 1.26 -> 1.27 +# -- Default to pubring.gpg when trustedkeys.gpg is not found in the +# default key location, for backward compatibility. +# +# Changes from 1.25 -> 1.26 +# -- Return the correct status code when the message isn't verified +# instead of always returning 255. +# # Changes from 1.24 -> 1.25 # -- Fix the -test switch to actually do something. # -- Improve date generation when logging to standard output. @@ -253,7 +261,7 @@ unless ($gpgv) { } print "$signer\n" if $signer; unless ($ok == 0) { - &fail("$0: verification failed\n"); + &errmsg("$0: verification failed\n"); } exit $ok; @@ -426,9 +434,23 @@ sub pgp_verify { # everything out to a file, this is actually fairly simple; all we need # to do is grab stdout. PGP prints its banner information to stderr, so # just ignore stderr. Set PGPPATH if desired. + # + # For GnuPG, use pubring.gpg if an explicit keyring was configured or + # found. Otherwise, use trustedkeys.gpg in the default keyring location + # if found and non-zero, or fall back on pubring.gpg. This is + # definitely not the logic that I would use if writing this from + # scratch, but it has the most backward compatibility. local $ENV{PGPPATH} = $keyring if ($keyring && $pgpstyle ne 'GPG'); - if ($keyring && $pgpstyle eq 'GPG') { - push (@command, "--keyring=$keyring/pubring.gpg"); + if ($pgpstyle eq 'GPG') { + if ($keyring) { + push (@command, "--keyring=$keyring/pubring.gpg"); + } else { + my $home = $ENV{GNUPGHOME} || $ENV{HOME}; + $home .= '/.gnupg' if $home; + if ($home && ! -s "$home/trustedkeys.gpg" && -f "$home/pubring.gpg") { + push (@command, "--keyring=pubring.gpg"); + } + } } push (@command, "$filename.asc"); push (@command, $filename); @@ -686,6 +708,15 @@ signatures). If that directory doesn't the default key ring, which is in a F<.pgp> or F<.gnupg> subdirectory of the running user's home directory. +INN, when using GnuPG, configures B to use B, which by +default expects keys to be in a keyring named F, since it +doesn't implement trust checking directly. B uses that file if +present but falls back to F if it's not found. This bypasses +the trust model for checking keys, but is compatible with the way that +B used to behave. Of course, if a keyring is found in +I/pgp or configured at the top of the script, that overrides all of +this behavior. + =head1 OPTIONS The B<-test> flag causes B to print out the input that it is @@ -771,14 +802,6 @@ could forge a validly-signed control mes public key encryption algorithm, which (at least at this time) is believed to be prohibitively difficult for PGP keys of a sufficient bit length. -=head1 SEE ALSO - -gpgv(1), pgp(1) - -L is where the most recent versions of -B and B live, along with PGP public keys used for -hierarchy administration. - =head1 HISTORY B was written by David C Lawrence . Manual page @@ -836,6 +859,14 @@ PROFITS; OR BUSINESS INTERRUPTION) HOWEV 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. + +=head1 SEE ALSO + +gpgv(1), pgp(1) + +L is where the most recent versions of +B and B live, along with PGP public keys used for +hierarchy administration. =cut diff -ruNp inn-2.4.2/doc/IPv6-info inn-2.4.3/doc/IPv6-info --- inn-2.4.2/doc/IPv6-info Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/IPv6-info Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ Notes about IPv6 support in INN: - This is $Revision: 1.6 $, dated $Date: 2002/04/14 14:05:36 $. + This is $Revision: 5416 $, dated $Date: 2002-04-14 07:05:36 -0700 (Sun, 14 Apr 2002) $. This document contains some notes about the status of IPv6 support in INN (see also the parts of the code marked FIXME): diff -ruNp inn-2.4.2/doc/Makefile inn-2.4.3/doc/Makefile --- inn-2.4.2/doc/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.50 2002/12/16 12:08:38 alexk Exp $ +## $Id: Makefile 6017 2002-12-16 12:08:38Z alexk $ ## ## The only target that this Makefile need support is install. Everything ## else is a null target (and the top level Makefile shouldn't even attempt diff -ruNp inn-2.4.2/doc/checklist inn-2.4.3/doc/checklist --- inn-2.4.2/doc/checklist Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/checklist Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ Introduction - $Id: checklist,v 1.4 2002/12/03 05:31:09 vinocur Exp $ + $Id: checklist 5912 2002-12-03 05:31:11Z vinocur $ This is an installation checklist written by Rebecca Ore, intended to be the beginning of a different presentation of the information in INSTALL, diff -ruNp inn-2.4.2/doc/compliance-nntp inn-2.4.3/doc/compliance-nntp --- inn-2.4.2/doc/compliance-nntp Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/compliance-nntp Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -$Id: compliance-nntp,v 1.19.2.2 2004/05/18 09:25:55 rra Exp $ +$Id: compliance-nntp 6817 2004-05-18 09:25:55Z rra $ The following are outstanding issues regarding INN's compliance with the NNTP standard. The reference documents used in this analysis are the diff -ruNp inn-2.4.2/doc/config-design inn-2.4.3/doc/config-design --- inn-2.4.2/doc/config-design Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/config-design Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -$Id: config-design,v 1.2 2001/06/21 10:52:27 rra Exp $ +$Id: config-design 4805 2001-06-21 10:52:27Z rra $ This file is documentation of the design principles that went into INN's configuration file syntax, and some rationale for why those principles diff -ruNp inn-2.4.2/doc/config-semantics inn-2.4.3/doc/config-semantics --- inn-2.4.2/doc/config-semantics Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/config-semantics Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -$Id: config-semantics,v 1.1 2001/06/21 08:59:39 rra Exp $ +$Id: config-semantics 4792 2001-06-21 08:59:39Z rra $ Groups in a configuration file have a well-defined order, namely the order in which the groups would be encountered in a depth-first traversal of the diff -ruNp inn-2.4.2/doc/config-syntax inn-2.4.3/doc/config-syntax --- inn-2.4.2/doc/config-syntax Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/config-syntax Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -$Id: config-syntax,v 1.3 2002/11/19 00:08:18 rra Exp $ +$Id: config-syntax 5843 2002-11-19 00:08:18Z rra $ This file documents the standardized syntax for INN configuration files. This is the syntax that the parsing code in libinn will understand and the diff -ruNp inn-2.4.2/doc/external-auth inn-2.4.3/doc/external-auth --- inn-2.4.2/doc/external-auth Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/external-auth Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ NNRPD External Authentication Support - This is $Revision: 1.2.2.1 $ dated $Date: 2004/05/17 12:18:18 $. + This is $Revision: 7141 $ dated $Date: 2005-03-17 03:42:46 -0800 (Thu, 17 Mar 2005) $. A fundamental part of the readers.conf(5)-based authorization mechanism is the interface to external authenticator and resolver programs. This @@ -32,8 +32,8 @@ Reading information from nnrpd When nnrpd calls an authenticator, the lines it passes are - ClientAuthname: user\r - ClientPassword: pass\r + ClientAuthname: user\r\n + ClientPassword: pass\r\n where *user* and *pass* are the username and password provided by the client (e.g. using AUTHINFO). In addition, nnrpd generally also passes @@ -44,12 +44,12 @@ Reading information from nnrpd When nnrpd calls a resolver, the lines it passes are - ClientHost: hostname\r - ClientIP: IP-address\r - ClientPort: port\r - LocalIP: IP-address\r - LocalPort: port\r - .\r + ClientHost: hostname\r\n + ClientIP: IP-address\r\n + ClientPort: port\r\n + LocalIP: IP-address\r\n + LocalPort: port\r\n + .\r\n where *hostname* indicates a string representing the hostname if available, *IP-address* is a numeric IP address (dotted-quad for IPv4, @@ -80,7 +80,7 @@ Returning information to nnrpd with a domain appended) by writing to standard output. The line it should write is exactly: - user:username\r + user:username\r\n where *username* is the string that nnrpd should use in matching readers.conf access blocks. diff -ruNp inn-2.4.2/doc/history inn-2.4.3/doc/history --- inn-2.4.2/doc/history Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/history Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -$Revision: 1.1 $ +$Revision: 4165 $ This file contains a few messages of historical interest. Some of the information in these messages is out of date (e.g., you don't need any other software, ihave/sendme is suported, etc); see the README and diff -ruNp inn-2.4.2/doc/hook-perl inn-2.4.3/doc/hook-perl --- inn-2.4.2/doc/hook-perl Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/hook-perl Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ INN Perl Filtering and Authentication Support - This is $Revision: 1.9 $ dated $Date: 2003/02/10 03:21:25 $. + This is $Revision: 6221 $ dated $Date: 2003-02-09 19:21:27 -0800 (Sun, 09 Feb 2003) $. This file documents INN's built-in support for Perl filtering and reader authentication. The code is based very heavily on work by Christophe diff -ruNp inn-2.4.2/doc/hook-python inn-2.4.3/doc/hook-python --- inn-2.4.2/doc/hook-python Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/hook-python Mon Mar 20 04:14:57 2006 @@ -1,6 +1,6 @@ INN Python Filtering and Authentication Support - This is $Revision: 1.8 $, dated $Date: 2003/04/04 16:47:21 $. + This is $Revision: 7134 $, dated $Date: 2005-03-05 13:19:44 -0800 (Sat, 05 Mar 2005) $. This file documents INN's built-in optional support for Python article filtering. It is patterned after the TCL and Perl hooks previously @@ -304,7 +304,7 @@ NNRPD Python script. If a connection matches an auth group which has a python_access parameter, all access groups in readers.conf are ignored; instead the procedure described below is used to generate an access - group. This concept is due to Jeffery M. Vinocur. + group. This concept is due to Jeffrey M. Vinocur. In the old implementation, the authorization method allowed for access control on a per-group basis. That functionality is preserved in the new diff -ruNp inn-2.4.2/doc/man/Makefile inn-2.4.3/doc/man/Makefile --- inn-2.4.2/doc/man/Makefile Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/Makefile Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -## $Id: Makefile,v 1.45 2003/03/10 00:03:05 rra Exp $ +## $Id: Makefile 7458 2005-12-12 00:25:05Z eagle $ include ../../Makefile.global @@ -8,8 +8,8 @@ top = ../.. MANFLAGS = -c $(OWNER) -m 0444 -B .OLD SEC1 = convdate.1 fastrm.1 getlist.1 grephistory.1 inews.1 innconfval.1 \ - innfeed.1 innmail.1 nntpget.1 pgpverify.1 rnews.1 shlock.1 \ - shrinkfile.1 simpleftp.1 sm.1 startinnfeed.1 + innfeed.1 innmail.1 nntpget.1 pgpverify.1 pullnews.1 rnews.1 \ + shlock.1 shrinkfile.1 simpleftp.1 sm.1 startinnfeed.1 SEC3 = clientlib.3 dbz.3 inndcomm.3 libauth.3 libinn.3 libinnhist.3 \ libstorage.3 list.3 parsedate.3 qio.3 tst.3 uwildmat.3 @@ -28,8 +28,8 @@ SEC8 = actsync.8 actsyncd.8 archive.8 au innupgrade.8 innwatch.8 innxbatch.8 innxmit.8 mailpost.8 makedbz.8 \ makehistory.8 mod-active.8 news.daily.8 news2mail.8 ninpaths.8 \ nnrpd.8 nntpsend.8 ovdb_init.8 ovdb_monitor.8 ovdb_server.8 \ - ovdb_stat.8 overchan.8 perl-nocem.8 prunehistory.8 pullnews.8 \ - radius.8 rc.news.8 scanlogs.8 send-nntp.8 send-uucp.8 sendinpaths.8 \ + ovdb_stat.8 overchan.8 perl-nocem.8 prunehistory.8 radius.8 \ + rc.news.8 scanlogs.8 send-nntp.8 send-uucp.8 sendinpaths.8 \ tally.control.8 tdx-util.8 writelog.8 COPY = $(SHELL) ./putman.sh $(MANPAGESTYLE) "$(MANFLAGS)" diff -ruNp inn-2.4.2/doc/man/active.5 inn-2.4.3/doc/man/active.5 --- inn-2.4.2/doc/man/active.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/active.5 Mon Mar 20 04:14:57 2006 @@ -214,7 +214,7 @@ alias. Written by Rich \f(CW$alz\fR for InterNetNews. Converted to \&\s-1POD\s0 by Russ Allbery . .PP -$Id: active.5,v 1.12.2.1 2004/05/17 05:48:54 rra Exp $ +$Id: active.5 6773 2004-05-17 05:48:54Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIactive.times\fR\|(5), \fIcontrolchan\fR\|(8), \fIctlinnd\fR\|(8), \fIinn.conf\fR\|(5), \fIinnd\fR\|(8), diff -ruNp inn-2.4.2/doc/man/active.times.5 inn-2.4.3/doc/man/active.times.5 --- inn-2.4.2/doc/man/active.times.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/active.times.5 Mon Mar 20 04:14:57 2006 @@ -157,7 +157,7 @@ given to \fBctlinnd\fR. Written by Rich \f(CW$alz\fR for InterNetNews. Converted to \&\s-1POD\s0 by Russ Allbery .PP -$Id: active.times.5,v 1.2 2003/04/06 21:50:06 rra Exp $ +$Id: active.times.5 6282 2003-04-06 21:50:07Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIactive\fR\|(5), \fIctlinnd\fR\|(8), \fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fInnrpd\fR\|(8) diff -ruNp inn-2.4.2/doc/man/actsync.8 inn-2.4.3/doc/man/actsync.8 --- inn-2.4.2/doc/man/actsync.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/actsync.8 Mon Mar 20 04:14:57 2006 @@ -6,7 +6,7 @@ .\" Permission to use and modify is hereby granted so long as this .\" notice remains. Use at your own risk. No warranty is implied. .\" -.\" @(#) $Id: actsync.8,v 1.17.2.1 2004/05/16 22:00:46 rra Exp $ +.\" @(#) $Id: actsync.8 6731 2004-05-16 22:00:46Z rra $ .\" @(#) Under RCS control in /usr/local/news/src/inn/local/RCS/actsync.8,v .\" .TH ACTSYNC 8 diff -ruNp inn-2.4.2/doc/man/archive.8 inn-2.4.3/doc/man/archive.8 --- inn-2.4.2/doc/man/archive.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/archive.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.10 $ +.\" $Revision: 5909 $ .TH ARCHIVE 8 .SH NAME archive \- Usenet article archiver @@ -145,7 +145,7 @@ Written by Rich $alz based on Christopher's original \&\s-1README\s0 file. .PP -$Id: auth_krb5.8,v 1.2 2002/12/03 05:31:09 vinocur Exp $ +$Id: auth_krb5.8 5912 2002-12-03 05:31:11Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fInnrpd\fR\|(8), \fIreaders.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/auth_smb.8 inn-2.4.3/doc/man/auth_smb.8 --- inn-2.4.2/doc/man/auth_smb.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/auth_smb.8 Mon Mar 20 04:14:57 2006 @@ -176,7 +176,7 @@ Originally written October 2000 by Krisc based heavily on pam_smb v1.1.6 by David Airlie . This documentation was written by Jeffrey M. Vinocur . .PP -$Id: auth_smb.8,v 1.1 2002/12/12 23:07:49 vinocur Exp $ +$Id: auth_smb.8 5989 2002-12-12 23:07:49Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fInnrpd\fR\|(8), \fIreaders.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/batcher.8 inn-2.4.3/doc/man/batcher.8 --- inn-2.4.2/doc/man/batcher.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/batcher.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.7.2.1 $ +.\" $Revision: 6491 $ .TH BATCHER 8 .SH NAME batcher \- article-batching backend for InterNetNews @@ -188,7 +188,7 @@ Written by Rich $alz for InterNetNews. .PP -$Id: ckpasswd.8,v 1.2.2.2 2003/08/08 22:02:42 vinocur Exp $ +$Id: ckpasswd.8 7215 2005-04-11 20:43:21Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIreaders.conf\fR\|(5), \fInnrpd\fR\|(8) +.PP +Linux users who want to use \s-1PAM\s0 should read the Linux-PAM System +Administrator's Guide at +. diff -ruNp inn-2.4.2/doc/man/clientlib.3 inn-2.4.3/doc/man/clientlib.3 --- inn-2.4.2/doc/man/clientlib.3 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/clientlib.3 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.1.1.1 $ +.\" $Revision: 6312 $ .TH CLIENTLIB 3 .SH NAME clientlib \- NNTP clientlib part of InterNetNews library @@ -100,6 +100,6 @@ Written by Rich $alz for InterNetNews. Rewritten in \&\s-1POD\s0 by Russ Allbery . .PP -$Id: control.ctl.5,v 1.15 2002/12/03 05:31:09 vinocur Exp $ +$Id: control.ctl.5 5912 2002-12-03 05:31:11Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIcontrolchan\fR\|(8), \fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fInewsfeeds\fR\|(5), \fIpgpverify\fR\|(8), \fIsh\fR\|(1). diff -ruNp inn-2.4.2/doc/man/controlchan.8 inn-2.4.3/doc/man/controlchan.8 --- inn-2.4.2/doc/man/controlchan.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/controlchan.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.5 $ +.\" $Revision: 5909 $ .TH CONTROLCHAN 8 .SH NAME controlchan \- channel\-fed control message handler @@ -74,7 +74,7 @@ Written by Katsuhiro Kondou , rewritten and updated by Russ Allbery for the \fB\-d\fR and \fB\-l\fR flags. .PP -$Id: convdate.1,v 1.5 2002/02/22 20:39:04 vinocur Exp $ +$Id: convdate.1 5132 2002-02-22 20:39:19Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIparsedate\fR\|(3). diff -ruNp inn-2.4.2/doc/man/ctlinnd.8 inn-2.4.3/doc/man/ctlinnd.8 --- inn-2.4.2/doc/man/ctlinnd.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/ctlinnd.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.24.2.2 $ +.\" $Revision: 7062 $ .TH CTLINND 8 .SH NAME ctlinnd \- control the InterNetNews daemon @@ -649,7 +649,7 @@ Written by Rich $alz for InterNetNews. Rewritten into \s-1POD\s0 by Russ Allbery . .PP -$Id: cycbuff.conf.5,v 1.17 2003/02/28 00:05:36 kondou Exp $ +$Id: cycbuff.conf.5 6247 2003-02-28 00:05:40Z kondou $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIctlinnd\fR\|(8), \fIinnd\fR\|(8), \fInnrpd\fR\|(8), \fIsm\fR\|(1), \fIstorage.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/distrib.pats.5 inn-2.4.3/doc/man/distrib.pats.5 --- inn-2.4.2/doc/man/distrib.pats.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/distrib.pats.5 Mon Mar 20 04:14:57 2006 @@ -168,7 +168,7 @@ header will be added. Written by Rich \f(CW$alz\fR for InterNetNews. Converted to \&\s-1POD\s0 by Russ Allbery . .PP -$Id: distrib.pats.5,v 1.9 2003/04/06 21:50:06 rra Exp $ +$Id: distrib.pats.5 6282 2003-04-06 21:50:07Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinn.conf\fR\|(5), \fInnrpd\fR\|(8), \fIuwildmat\fR\|(3) diff -ruNp inn-2.4.2/doc/man/domain.8 inn-2.4.3/doc/man/domain.8 --- inn-2.4.2/doc/man/domain.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/domain.8 Mon Mar 20 04:14:57 2006 @@ -181,7 +181,7 @@ If so, the example above should reflect .IX Header "HISTORY" This documentation was written by Jeffrey M. Vinocur . .PP -$Id: domain.8,v 1.1 2002/12/12 23:07:49 vinocur Exp $ +$Id: domain.8 5989 2002-12-12 23:07:49Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fInnrpd\fR\|(8), \fIreaders.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/expire.8 inn-2.4.3/doc/man/expire.8 --- inn-2.4.2/doc/man/expire.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/expire.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.22 $ +.\" $Revision: 5909 $ .TH EXPIRE 8 .SH NAME expire \- Usenet article and history expiration program @@ -240,7 +240,7 @@ Written by Rich $alz :::: +\& :::: .Ve .PP if \fIgroupbaseexpiry\fR is true in \fIinn.conf\fR (the default), and otherwise: .PP .Vb 1 -\& ::: +\& ::: .Ve .PP All lines must be in the correct format given the current setting of @@ -207,10 +207,16 @@ applies, and should be chosen from the f \& X Remove the article from all groups it appears in .Ve .PP -Normally, articles are not completely deleted until they expire out of -every group to which they were posted, but if an article is expired -following a rule where is X, it is deleted out of all newsgroups to -which it was posted immediately. +One of M, U, or A must be specified. X should be used in combination with +one of the other letters, not by itself. +.PP +An expiration policy is applied to every article in a newsgroup it +matches. There is no way to set an expiration policy for articles +crossposted to groups you don't carry that's different than other articles +in the same group. Normally, articles are not completely deleted until +they expire out of every group to which they were posted, but if an +article is expired following a rule where contains X, it is deleted +out of all newsgroups to which it was posted immediately. .PP If \fIgroupbaseexpiry\fR is instead set to false, there is no and field and the above does not apply. Instead, there is a single @@ -228,15 +234,15 @@ that articles are only removed when \fBe normally once a day by \fBnews.daily\fR) or the word \f(CW\*(C`never\*(C'\fR. .PP The middle field, , will be used as the expiration period for -most articles. The other two fields, and , only come into +most articles. The other two fields, and , only come into play if the article requests a particular expiration date with an Expires header. Articles with an Expires header will be expired at the date given in that header, subject to the constraints that they will be retained at -least days and no longer than days. +least days and no longer than days. .PP -If is set to \f(CW\*(C`never\*(C'\fR, no article matching that line will ever be +If is set to \f(CW\*(C`never\*(C'\fR, no article matching that line will ever be expired. If is set to \f(CW\*(C`never\*(C'\fR, no article matching that line -without an explicit Expires header will ever be expired. If is +without an explicit Expires header will ever be expired. If is set to \f(CW\*(C`never\*(C'\fR, Expires headers will be honored no matter how far into the future they are. .PP @@ -254,8 +260,8 @@ file (except for \f(CW\*(C`/remember/\*( override it. .PP It is often useful to honor the Expires header in articles, especially -those in moderated groups. To do this, set to zero, to -whatever normal expiration you wish, and to \f(CW\*(C`never\*(C'\fR or some large +those in moderated groups. To do this, set to zero, to +whatever normal expiration you wish, and to \f(CW\*(C`never\*(C'\fR or some large number, like 365 days for a maximum article life of a year. .PP To ignore any Expires header, set all three fields to the same value. @@ -306,7 +312,7 @@ When \fIgroupbaseexpiry\fR is false, for Written by Rich \f(CW$alz\fR for InterNetNews. Converted to \&\s-1POD\s0 by Russ Allbery . .PP -$Id: expire.ctl.5,v 1.19 2003/04/06 21:50:06 rra Exp $ +$Id: expire.ctl.5 7207 2005-04-11 18:18:40Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIexpire\fR\|(8), \fIexpireover\fR\|(8), \fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fInews.daily\fR\|(8), diff -ruNp inn-2.4.2/doc/man/expireover.8 inn-2.4.3/doc/man/expireover.8 --- inn-2.4.2/doc/man/expireover.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/expireover.8 Mon Mar 20 04:14:57 2006 @@ -260,7 +260,7 @@ Written by Rob Robertson (with help from Dave Lawrence ) for InterNetNews. .PP -$Id: expireover.8,v 1.15 2002/12/03 05:31:09 vinocur Exp $ +$Id: expireover.8 5912 2002-12-03 05:31:11Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIactive\fR\|(5), \fIctlinnd\fR\|(8), \fIexpire\fR\|(8), \fIexpire.ctl\fR\|(5), \fIinn.conf\fR\|(5), diff -ruNp inn-2.4.2/doc/man/fastrm.1 inn-2.4.3/doc/man/fastrm.1 --- inn-2.4.2/doc/man/fastrm.1 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/fastrm.1 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 +.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3 .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "FASTRM 1" -.TH FASTRM 1 "2002-12-03" "INN 2.4.0" "InterNetNews Documentation" +.TH FASTRM 1 "2005-10-08" "INN 2.4.3" "InterNetNews Documentation" .SH "NAME" fastrm \- Quickly remove a list of files .SH "SYNOPSIS" @@ -140,7 +140,11 @@ fastrm \- Quickly remove a list of files .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. +removed via the \fISMcancel()\fR interface. \fBfastrm\fR does not delete files +safely or with an eye to security, but rather cuts every corner it can to +delete files as fast as it can. It should therefore never be run on +publically writable directories, or in any other environment where a +hostile party may control the directory structure in which it is working. .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 @@ -258,27 +262,35 @@ that does not exist is not considered a like: .PP .Vb 1 -\& fastrm -e /usr/local/news/spool/articles < expire.list +\& fastrm \-e /usr/local/news/spool/articles < expire.list .Ve .PP 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 +\& fastrm \-d \-s \-e \-u ~news/spool/articles < expire.list .Ve .PP 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 +\& fastrm \-e \-u3 ~news/spool/articles < expire.list .Ve .PP 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 "WARNINGS" +.IX Header "WARNINGS" +\&\fBfastrm\fR cuts corners and does not worry about security, so it does not +use \fIchdir\fR\|(2) safely and could be tricked into removing files other than +those that were intended if run on a specially constructed file tree or a +file tree that is being modified while it is running. It should therefore +never be used with world-writable directories or any other directory that +might be controlled or modified by an attacker. .SH "NOTES" .IX Header "NOTES" \&\fBfastrm\fR defers opening the storage subsystem or attempting to parse any @@ -288,10 +300,9 @@ 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. +rewritten in \s-1POD\s0 by Russ Allbery for InterNetNews. .PP -$Id: fastrm.1,v 1.5 2002/12/03 05:31:10 vinocur Exp $ +$Id: fastrm.1 7429 2005-12-11 20:42:43Z eagle $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIexpirerm\fR\|(8) diff -ruNp inn-2.4.2/doc/man/filechan.8 inn-2.4.3/doc/man/filechan.8 --- inn-2.4.2/doc/man/filechan.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/filechan.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.7 $ +.\" $Revision: 5909 $ .TH FILECHAN 8 .SH NAME filechan \- file-writing backend for InterNetNews @@ -141,7 +141,7 @@ Written by Robert Elz for InterNetNews. Rewritten in \&\s-1POD\s0 by Russ Allbery . .Sp -$Id: grephistory.1,v 1.10.2.1 2004/12/19 19:37:45 rra Exp $ +$Id: grephistory.1 7045 2004-12-19 19:37:45Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIhistory\fR\|(5), \fIinn.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/history.5 inn-2.4.3/doc/man/history.5 --- inn-2.4.2/doc/man/history.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/history.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.13 $ +.\" $Revision: 3782 $ .TH HISTORY 5 .SH NAME history \- record of current and recently expired Usenet articles @@ -82,7 +82,7 @@ Written by Rich $alz . .PP -$Id: ident.8,v 1.1 2002/12/12 23:07:49 vinocur Exp $ +$Id: ident.8 5989 2002-12-12 23:07:49Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fInnrpd\fR\|(8), \fIreaders.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/incoming.conf.5 inn-2.4.3/doc/man/incoming.conf.5 --- inn-2.4.2/doc/man/incoming.conf.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/incoming.conf.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.18.2.1 $ +.\" $Revision: 6992 $ .TH INCOMING.CONF 5 .SH NAME incoming.conf \- names and addresses that feed us news @@ -182,7 +182,7 @@ Written by Fabien Tassin for InterNetNews and since modified, updated, and reorganized by innumerable other people. .PP -$Id: inn.conf.5,v 1.119.2.2 2003/09/08 04:36:29 rra Exp $ +$Id: inn.conf.5 7471 2005-12-15 04:53:16Z eagle $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinews\fR\|(1), \fIinnd\fR\|(8), \fIinnwatch\fR\|(8), \fInnrpd\fR\|(8), \fIrnews\fR\|(1). diff -ruNp inn-2.4.2/doc/man/inncheck.8 inn-2.4.3/doc/man/inncheck.8 --- inn-2.4.2/doc/man/inncheck.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/inncheck.8 Mon Mar 20 04:14:57 2006 @@ -162,7 +162,7 @@ Rich Salz .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: inncheck.8,v 1.6 2002/12/03 05:17:14 vinocur Exp $ +.R$ $Id: inncheck.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" active(5), expire.ctl(5), diff -ruNp inn-2.4.2/doc/man/innconfval.1 inn-2.4.3/doc/man/innconfval.1 --- inn-2.4.2/doc/man/innconfval.1 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innconfval.1 Mon Mar 20 04:14:57 2006 @@ -192,7 +192,7 @@ Print \s-1INN\s0's version. This is equ .IX Header "HISTORY" Written by Rich \f(CW$alz\fR for InterNetNews. .PP -$Id: innconfval.1,v 1.8 2002/12/08 19:51:49 rra Exp $ +$Id: innconfval.1 5962 2002-12-08 19:52:13Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinn.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/innd.8 inn-2.4.3/doc/man/innd.8 --- inn-2.4.2/doc/man/innd.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innd.8 Mon Mar 20 04:14:57 2006 @@ -569,7 +569,7 @@ disables source routing. .IX Header "HISTORY" Written by Rich \f(CW$alz\fR for InterNetNews. .PP -$Id: innd.8,v 1.37 2003/03/19 00:19:59 vinocur Exp $ +$Id: innd.8 6265 2003-03-19 00:19:59Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIactive\fR\|(5), \fIctlinnd\fR\|(8), \fIdbz\fR\|(3), \fIhistory\fR\|(5), \fIincoming.conf\fR\|(5), \fIinn.conf\fR\|(5), diff -ruNp inn-2.4.2/doc/man/inndcomm.3 inn-2.4.3/doc/man/inndcomm.3 --- inn-2.4.2/doc/man/inndcomm.3 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/inndcomm.3 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.4 $ +.\" $Revision: 1586 $ .TH INNDCOMM 3 .SH NAME inndcomm \- INND communication part of InterNetNews library @@ -135,7 +135,7 @@ Written by Rich $alz for InterNetNews. .PP -$Id: inndstart.8,v 1.6 2002/12/03 05:31:10 vinocur Exp $ +$Id: inndstart.8 5912 2002-12-03 05:31:11Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinn.conf\fR\|(5), \fIinnd\fR\|(8) diff -ruNp inn-2.4.2/doc/man/innfeed.1 inn-2.4.3/doc/man/innfeed.1 --- inn-2.4.2/doc/man/innfeed.1 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innfeed.1 Mon Mar 20 04:14:57 2006 @@ -4,7 +4,7 @@ .\" Start Date: Sat, 20 Jan 1996 15:50:56 +1100 .\" Project: INN -- innfeed .\" File: innfeed.1 -.\" RCSId: $Id: innfeed.1,v 1.9 2002/12/03 05:17:14 vinocur Exp $ +.\" RCSId: $Id: innfeed.1 7381 2005-07-04 21:15:31Z eagle $ .\" Description: Man page for innfeed(1) .\" .TH INNFEED 1 @@ -111,6 +111,11 @@ issuing a QUIT command. This means innfe depending on how slow your peers are. It never (well, almost never) just drops the connection. .PP +The recommended way to restart innfeed when run in channel mode is +therefore to tell innd to close the pipe and spawn a new innfeed process. +This can be done with ``ctlinnd flush '' where is the name of +the innfeed channel feed in ``\fInewsfeeds\fP''. +.PP Funnel-file mode is used when a filename is given as an argument or the ``input-file'' keyword is given in the config file. In funnel file mode it reads the specified file for the same formatted @@ -167,11 +172,12 @@ opportunity and will start reading from file and put it in a place where innfeed will find it. You should never alter the .input or .output files of a running innfeed. .PP -The format of these last three files is: +The format of these last three files is one of the following: .PP .RS .nf /path/to/article +@token@ .fi .RE .PP @@ -500,6 +506,6 @@ Written by James Brister for InterNetNews. .PP -$Id: innupgrade.8,v 1.2 2002/12/03 05:31:10 vinocur Exp $ +$Id: innupgrade.8 5912 2002-12-03 05:31:11Z vinocur $ diff -ruNp inn-2.4.2/doc/man/innwatch.8 inn-2.4.3/doc/man/innwatch.8 --- inn-2.4.2/doc/man/innwatch.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innwatch.8 Mon Mar 20 04:14:57 2006 @@ -51,7 +51,7 @@ Christophe Wolfhugel . .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: innwatch.8,v 1.7 2002/12/03 05:17:14 vinocur Exp $ +.R$ $Id: innwatch.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" ctlinnd(8), inn.conf(5), diff -ruNp inn-2.4.2/doc/man/innwatch.ctl.5 inn-2.4.3/doc/man/innwatch.ctl.5 --- inn-2.4.2/doc/man/innwatch.ctl.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innwatch.ctl.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.9 $ +.\" $Revision: 5909 $ .TH INNWATCH.CTL 5 .SH NAME innwatch.ctl \- control Usenet supervision by innwatch @@ -217,7 +217,7 @@ Written by for Inter .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: innwatch.ctl.5,v 1.9 2002/12/03 05:17:14 vinocur Exp $ +.R$ $Id: innwatch.ctl.5 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" inn.conf(5), innd(8), diff -ruNp inn-2.4.2/doc/man/innxmit.8 inn-2.4.3/doc/man/innxmit.8 --- inn-2.4.2/doc/man/innxmit.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/innxmit.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.13 $ +.\" $Revision: 5909 $ .TH INNXMIT 8 .SH NAME innxmit \- send Usenet articles to a remote NNTP server @@ -182,7 +182,7 @@ Written by Rich $alz for InterNetNews. .PP -$Id: libauth.3,v 1.1 2002/12/12 23:07:49 vinocur Exp $ +$Id: libauth.3 5989 2002-12-12 23:07:49Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fInnrpd\fR\|(8), \fIreaders.conf\fR\|(5), \fIdoc/external\-auth\fR diff -ruNp inn-2.4.2/doc/man/libinn.3 inn-2.4.3/doc/man/libinn.3 --- inn-2.4.2/doc/man/libinn.3 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/libinn.3 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.15 $ +.\" $Revision: 6124 $ .TH LIBINN 3 .SH NAME libinn \- InterNetNews library routines @@ -522,7 +522,7 @@ Written by Rich $alz for InterNetNews 2.4.0. .Sp -$Id: libinnhist.3,v 1.7 2002/12/03 05:31:10 vinocur Exp $ +$Id: libinnhist.3 5912 2002-12-03 05:31:11Z vinocur $ diff -ruNp inn-2.4.2/doc/man/libstorage.3 inn-2.4.3/doc/man/libstorage.3 --- inn-2.4.2/doc/man/libstorage.3 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/libstorage.3 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.20 $ +.\" $Revision: 6124 $ .TH LIBSTORAGE 3 .SH NAME libstorage \- InterNetNews Storage API library routines @@ -398,7 +398,7 @@ Written by Katsuhiro Kondou for InterNetNews 2.4.0. .PP -$Id: list.3,v 1.1 2003/01/21 06:25:42 alexk Exp $ +$Id: list.3 6168 2003-01-21 06:27:32Z alexk $ diff -ruNp inn-2.4.2/doc/man/mailpost.8 inn-2.4.3/doc/man/mailpost.8 --- inn-2.4.2/doc/man/mailpost.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/mailpost.8 Mon Mar 20 04:14:57 2006 @@ -205,7 +205,7 @@ having \*(L"X\-\*(R" prepended. Written by Paul Vixie long ago and then hacked up by James Brister for \s-1INN\s0 integration. .PP -$Id: mailpost.8,v 1.8.2.1 2004/01/25 23:44:19 rra Exp $ +$Id: mailpost.8 6658 2004-01-25 23:44:19Z rra $ .SH "FILES" .IX Header "FILES" /mailpost\-msgid.db database file diff -ruNp inn-2.4.2/doc/man/makeactive.8 inn-2.4.3/doc/man/makeactive.8 --- inn-2.4.2/doc/man/makeactive.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/makeactive.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.8 $ +.\" $Revision: 5909 $ .TH MAKEACTIVE 8 .SH NAME makeactive \- tool to recover Usenet active file. diff -ruNp inn-2.4.2/doc/man/makedbz.8 inn-2.4.3/doc/man/makedbz.8 --- inn-2.4.2/doc/man/makedbz.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/makedbz.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.2 $ +.\" $Revision: 5909 $ .TH MAKEDBZ 8 .SH NAME makedbz \- rebuild dbz files @@ -71,7 +71,7 @@ Written by Katsuhiro Kondou for InterNetNews and updated by various other people since. .PP -$Id: makehistory.8,v 1.37.2.1 2003/07/12 19:26:57 rra Exp $ +$Id: makehistory.8 6400 2003-07-12 19:26:58Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdbz\fR\|(3), \fIactive\fR\|(5), \fIhistory\fR\|(5), \fIinn.conf\fR\|(5), \fIctlinnd\fR\|(8), \fIinnd\fR\|(8), diff -ruNp inn-2.4.2/doc/man/mod-active.8 inn-2.4.3/doc/man/mod-active.8 --- inn-2.4.2/doc/man/mod-active.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/mod-active.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.2 $ +.\" $Revision: 5909 $ .TH MOD-ACTIVE 8 .SH NAME mod-active \- batch processing of ctlinnd newgroup/rmgroup/changegroup diff -ruNp inn-2.4.2/doc/man/moderators.5 inn-2.4.3/doc/man/moderators.5 --- inn-2.4.2/doc/man/moderators.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/moderators.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.8 $ +.\" $Revision: 5909 $ .TH MODERATORS 5 .SH NAME moderators \- submission addresses for moderated newsgroups @@ -81,6 +81,6 @@ Written by Rich $alz for InterNetNews. .PP -$Id: motd.news.5,v 1.3.8.1 2003/12/27 06:25:05 rra Exp $ +$Id: motd.news.5 6574 2003-12-27 06:25:05Z rra $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinn.conf\fR\|(5) diff -ruNp inn-2.4.2/doc/man/news.daily.8 inn-2.4.3/doc/man/news.daily.8 --- inn-2.4.2/doc/man/news.daily.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/news.daily.8 Mon Mar 20 04:14:57 2006 @@ -215,7 +215,7 @@ Rich $alz . .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: news.daily.8,v 1.15.2.1 2003/07/12 19:15:50 rra Exp $ +.R$ $Id: news.daily.8 6398 2003-07-12 19:15:50Z rra $ .SH "SEE ALSO" active(5), ctlinnd(8), diff -ruNp inn-2.4.2/doc/man/news2mail.8 inn-2.4.3/doc/man/news2mail.8 --- inn-2.4.2/doc/man/news2mail.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/news2mail.8 Mon Mar 20 04:14:57 2006 @@ -1,5 +1,5 @@ .\" -*- nroff -*- -.\" $Revision: 1.3 $ +.\" $Revision: 5909 $ .TH NEWS2MAIL 8 .SH NAME news2mail \- a channel script to gateway news into email. @@ -63,7 +63,7 @@ Brister. .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: news2mail.8,v 1.3 2002/12/03 05:17:15 vinocur Exp $ +.R$ $Id: news2mail.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" ctlinnd(8), inn.conf(5), diff -ruNp inn-2.4.2/doc/man/newsfeeds.5 inn-2.4.3/doc/man/newsfeeds.5 --- inn-2.4.2/doc/man/newsfeeds.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/newsfeeds.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 +.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.13 .\" .\" Standard preamble: .\" ======================================================================== @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "NEWSFEEDS 5" -.TH NEWSFEEDS 5 "2003-07-05" "INN 2.4.1" "InterNetNews Documentation" +.TH NEWSFEEDS 5 "2005-02-26" "INN 2.4.3" "InterNetNews Documentation" .SH "NAME" newsfeeds \- Determine where Usenet articles are sent .SH "DESCRIPTION" @@ -221,7 +221,7 @@ will be matched against every newsgroup newsgroups that match will be added to the subscription list for the site. .PP Normally, a given article (or information about it) is sent to a site if -any of the articles to which the article was posted are in that site's +any of the newsgroups to which the article was posted are in that site's subscription list. If a newsgroup matches a \f(CW\*(C`@\*(C'\fR pattern in \fIpattern\fR, then not only is it not added to the subscription list, but any articles crossposted to that newsgroup also will not be sent to that site even if @@ -856,7 +856,7 @@ the standard newsfeeds entries used by m Written by Rich \f(CW$alz\fR for InterNetNews. Reformatted and rewritten in \s-1POD\s0 by Russ Allbery . .PP -$Id: newsfeeds.5,v 1.38.2.1 2003/07/12 19:27:33 rra Exp $ +$Id: newsfeeds.5 7134 2005-03-05 21:19:44Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIactive\fR\|(5), \fIbuffchan\fR\|(8), \fIcontrolchan\fR\|(8), \fIctlinnd\fR\|(8), \fIinn.conf\fR\|(5), \fIinnd\fR\|(8), diff -ruNp inn-2.4.2/doc/man/newslog.5 inn-2.4.3/doc/man/newslog.5 --- inn-2.4.2/doc/man/newslog.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/newslog.5 Mon Mar 20 04:14:57 2006 @@ -215,7 +215,7 @@ Written by Landon Curt Noll ] [\fB\-i\fR \fIinitial\fR] [\fB\-I\fR \fIinstance\fR] [\fB\-p\fR \fIport\fR] [\fB\-P\fR \fIprefork\fR] [\fB\-r\fR \fIreason\fR] [\fB\-s\fR \fIpadding\fR] .SH "DESCRIPTION" @@ -194,7 +194,7 @@ should therefore be restarted if inn.con When started in daemon mode, \fBnnrpd\fR will write its \s-1PID\s0 into a file in the \fIpathrun\fR directory. The file will be named \fInnrpd\-%d.pid\fR, where \&\f(CW%d\fR is replaced with the port that \fBnnrpd\fR is configured to listen on -(119 unless the \fB\-P\fR option is given). +(119 unless the \fB\-p\fR option is given). .IP "\fB\-f\fR" 4 .IX Item "-f" If specified, \fBnnrpd\fR does not detach itself and runs in the @@ -247,10 +247,6 @@ awaiting connections when started as a s If the \fB\-r\fR flag is used, then \fBnnrpd\fR will reject the incoming connection giving \fIreason\fR as the text. This flag is used by \fIinnd\fR\|(8) when it is paused or throttled. -.IP "\fB\-R\fR" 4 -.IX Item "-R" -This option forces \fBnnrpd\fR to be read\-only. The startup banner will -indicate \*(L"no posting\*(R". .IP "\fB\-s\fR \fIpadding\fR" 4 .IX Item "-s padding" As each command is received, \fBnnrpd\fR tries to change its \f(CW\*(C`argv\*(C'\fR @@ -283,8 +279,8 @@ the default path by running \f(CW\*(C`ma installing \s-1INN\s0, or by running the following commands: .PP .Vb 6 -\& openssl req -new -x509 -nodes -out /usr/local/news/lib/cert.pem \e -\& -days 366 -keyout /usr/local/news/lib/key.pem +\& openssl req \-new \-x509 \-nodes \-out /usr/local/news/lib/cert.pem \e +\& \-days 366 \-keyout /usr/local/news/lib/key.pem \& chown news:news /usr/local/news/lib/cert.pem \& chmod 640 /usr/local/news/lib/cert.pem \& chown news:news /usr/local/news/lib/key.pem @@ -307,7 +303,7 @@ done with the \fB\-D\fR flag (and \f(CW\ to add a line like: .PP .Vb 1 -\& nntps stream tcp nowait news /usr/lib/news/bin/nnrpd nnrpd -S +\& nntps stream tcp nowait news /usr/lib/news/bin/nnrpd nnrpd \-S .Ve .PP to \fI/etc/inetd.conf\fR or the equivalent on your system and let \fBinetd\fR @@ -374,7 +370,7 @@ support added by Rob Robertston for I .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: nntpsend.8,v 1.12 2002/12/03 05:17:15 vinocur Exp $ +.R$ $Id: nntpsend.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" inn.conf(5), innxmit(1), diff -ruNp inn-2.4.2/doc/man/nntpsend.ctl.5 inn-2.4.3/doc/man/nntpsend.ctl.5 --- inn-2.4.2/doc/man/nntpsend.ctl.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/nntpsend.ctl.5 Mon Mar 20 04:14:57 2006 @@ -41,6 +41,6 @@ Written by Landon Curt Noll for I .de R$ This is revision \\$3, dated \\$4. .. -.R$ $Id: overchan.8,v 1.11 2002/12/03 05:17:15 vinocur Exp $ +.R$ $Id: overchan.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" expireover(8), inn.conf(5), diff -ruNp inn-2.4.2/doc/man/overview.fmt.5 inn-2.4.3/doc/man/overview.fmt.5 --- inn-2.4.2/doc/man/overview.fmt.5 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/overview.fmt.5 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.10 $ +.\" $Revision: 5909 $ .TH OVERVIEW.FMT 5 .SH NAME overview.fmt \- format of news overview database @@ -53,6 +53,6 @@ package written by Geoff Collyer for InterNetNews. This is -revision \f(CW$Revision: 1.7 $, dated \f(CW$Date: 2002/02/03 19:05:22 $. +revision \f(CW$Revision: 5091 $, dated \f(CW$Date: 2002-02-03 11:05:22 -0800 (Sun, 03 Feb 2002) $. .PP -$Id: passwd.nntp.5,v 1.7 2002/02/03 19:05:22 vinocur Exp $ +$Id: passwd.nntp.5 5091 2002-02-03 19:05:22Z vinocur $ .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIinn.conf\fR\|(5), \fIinnd\fR\|(8), \fIlibinn\fR\|(3). diff -ruNp inn-2.4.2/doc/man/prunehistory.8 inn-2.4.3/doc/man/prunehistory.8 --- inn-2.4.2/doc/man/prunehistory.8 Wed Dec 22 04:21:19 2004 +++ inn-2.4.3/doc/man/prunehistory.8 Mon Mar 20 04:14:57 2006 @@ -1,4 +1,4 @@ -.\" $Revision: 1.8 $ +.\" $Revision: 5909 $ .TH PRUNEHISTORY 8 .SH NAME prunehistory \- remove tokens from Usenet history file @@ -59,7 +59,7 @@ Written by Rich $alz . +.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. +. \" 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 "PULLNEWS 1" +.TH PULLNEWS 1 "2005-12-11" "INN 2.4.3" "InterNetNews Documentation" +.SH "NAME" +pullnews \- Pull news from one news server and feed it to another +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +\&\fBpullnews\fR [\fB\-hq\fR] [\fB\-c\fR \fIconfig\fR] [\fB\-g\fR \fIgroups\fR] [\fB\-p\fR \fIport\fR] +[\fB\-r\fR \fIfile\fR] [\fB\-s\fR \fIto-server\fR] [ ...] +.SH "REQUIREMENTS" +.IX Header "REQUIREMENTS" +The Net::NNTP module must be installed. This module is available as part +of the libnet distribution and comes with recent versions of Perl. For +older versions of Perl, you can download it from . +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +\&\fBpullnews\fR reads a config file in the running user's home directory +(normally called \fI~/.pullnews\fR) and connects to the upstream servers +given there as a reader client. By default, it connects to all servers +listed in the configuration file, but you can limit \fBpullnews\fR to +specific servers by listing them on the command line. For each server it +connects to, it pulls over articles and feeds them to the destination +server via the \s-1IHAVE\s0 command. This means that the system \fBpullnews\fR is +run on must have feeding access to the destination news server. +.PP +\&\fBpullnews\fR is designed for very small sites that don't want to bother +setting up traditional peering and is not meant for handling large feeds. +.SH "OPTIONS" +.IX Header "OPTIONS" +.IP "\fB\-c\fR \fIconfig\fR" 4 +.IX Item "-c config" +Normally, the config file is stored in \fI~/.pullnews\fR for the user running +\&\fBpullnews\fR. If \fB\-c\fR is given, \fIconfig\fR will be used as the config file +instead. This is useful if you're running \fBpullnews\fR as a system user on +an automated basis out of cron rather than as an individual user. +.IP "\fB\-g\fR \fIgroups\fR" 4 +.IX Item "-g groups" +Specifies a collection of groups to get. \fIgroups\fR is a list of +newsgroups separated by commas (only commas, no spaces). Each group must +be defined in the config file, and only the remote hosts that carry those +groups will be contacted. Note that this is a simple list of groups, not +a wildmat expression, and wildcards are not supported. +.IP "\fB\-h\fR" 4 +.IX Item "-h" +Print a usage message and exit. +.IP "\fB\-p\fR \fIport\fR" 4 +.IX Item "-p port" +Connect to the destination news server on a port other than the default of +119. This option does not change the port used to connect to the remote +news servers. +.IP "\fB\-q\fR" 4 +.IX Item "-q" +Print out less status information while running. +.IP "\fB\-r\fR \fIfile\fR" 4 +.IX Item "-r file" +Rather than feeding the downloaded articles to a local server, instead +create a batch file that can later be fed to a server using \fBrnews\fR. See +\&\fIrnews\fR\|(1) for more information about the batch file format. +.IP "\fB\-s\fR \fIto-server\fR" 4 +.IX Item "-s to-server" +Normally, \fBpullnews\fR will feed the articles it retrieves to the news +server running on localhost. To connect to a different host, specify a +server with the \fB\-s\fR flag. +.SH "CONFIG FILE" +.IX Header "CONFIG FILE" +The config file for \fBpullnews\fR is divided into blocks, one block for each +remote server to connect to. A block begins with the host line, which +must have no leading whitespace and contains just the hostname of the +remote server. Following this line should be one or more newsgroup lines +which start with whitespace followed by the name of a newsgroup to +retrieve. Only one newsgroup should be listed on each line. +.PP +\&\fBpullnews\fR will update the config file to include the time the group was +last checked and the highest numbered article successfully retrieved and +transferred to the destination server. It uses this data to avoid doing +duplicate work the next time it runs. +.PP +The full syntax is: +.PP +.Vb 3 +\& [ ] +\& [