summaryrefslogtreecommitdiff
path: root/news
AgeCommit message (Collapse)AuthorFilesLines
1999-10-25This file had somehow become corrupted. Regenerate.agc1-1/+1
1999-10-21Regenerate patch-sum file, to include a NetBSD RCS Id Header.agc1-0/+2
1999-10-21Update this package to version 4.2.2, provided by David Rankinagc5-32/+34
<drankin@bohemians.lexington.ky.us>, and reworked by me to include socks support where necessary, and to use pkgsrc standards for GNU_CONFIGURE, etc. Also fixed the PLIST to reflect reality. Changes since previous pkgsrc version: * lmove.c match_group(), move_msgs(), scan_args() - Re-wrote for new options -h and -s to create hard or symbolic links to files crossposted to multiple groups. Re-wrote code to handle malformed header with spaces either before or after the newsgroup names. load_active() - added test for duplicate group line. * suck.c - do_one_group() - changed command from "xhdr 111-" to "xhdr 111-2222" for brain-dead servers that don't follow the proposed standard and treat 111- correctly. * xover.c - do_xover(), do_group_xover() - changed command from "xover 111-" to "xover 111-222". * rpost.c - do_perl() - fixed bug where infile was being lost due to FREETMPS, causing failed posting. * suck.c - restart_yn() - fixed bug where if prior to restart, we had sent command for an article, but not received it, then on restart, we would skip article. So I have to set sentcmd to false if we haven't downloaded it. * xover.c - chk_a_group() - rewrote into one loop, to get rid of segfaults on NULL field, and to speed things up for complicated xover files. * active.c - get_msgids() - added new option, -i, to set the default number of articles to download when using the -A or -AL option and a new group is added. See man page for usage. do_one_group() - changed handling of return from do_group_xover() so handle new error code. parse_args(), main() - added code to handle -i option. get_articles() - fixed bug in handling of pause and reconnect after X nr of articles. Wasn't taken into account 0 articles correctly. * killfile.c - moved xoverview pointer out of master killfile and into master struct, so can use independently of killfiles (for -Z option). parse_killfile() - changed to passed which argument to various setup routines, so can distinguish between XOVER and regular killfiles. * killprg.c - killprg_forkit(), killperl_setup() - added test for which, so if XOVER killfiles we don't point the killfile functions to killprg stuff. - killprg_sendoverview(), killprg_sendxover, killperl_sendxover() - created. These routines handle the sending of the overview.fmt and each overview line to a child program or perl subroutine for matching. * suck.c - main() - added code to handle retreival and freeing up of memory used by overview.fmt. Added call to free up xoverp killfile.u - do_one_group() - added code to handle new option, -Z, to use XOVER vice XHDR to get message-ids, in case the remote server doesn't support the XHDR command. * xover.c - do_group_xover() - changed the error code returned if server can't do xover command, so can recover gracefully from other errors (such as too long msgid) get_xover(), find_msgid() - created. These routines use the XOVER command to get the Message-ID and alloc it for the -Z option. Moved xoverview pointer out of master killfile and into master struct, so can use for -Z option. - do_one_line() - added code so if we have a program or perl subroutine to do the checking, it gets called * suck.c -- do_supplemental() - added call to do_sup_bynr(). do_sup_bynr() - created. Handles lines in suckothermsgs that specify a group name and article number for retreival. * suck.c - get_one_article() - fixed bug in sending command for the second article, was resending first article command. * killfile.c - get_one_article_kill() - added code to handle new option, -g, to get only the headers of articles. See man pages for details. * suck.c - get_one_article() - added code to handle new option -g, to get only the headers of articles. * xover.c - chk_a_group() - fix bug in counting of Xref line, causing inaccurate count. do_one_line(), get_xoverview() - fixed handling of :full flag in overview.fmt. * reworked restart code. Got rid of suck.restart and suck.sorted, replaced with suck.db, which contains the records of all messages. All of this code is now contained in db.c. Cleaned up the use of the Mandatory field by creating separate delete and sentcmd fields. * chkhistory.c chkhistory() - fixed bug which caused no articles to be checked, I wasn't passing the current article to my_bsearch(). chkhistory() - changed HISTORY_FILE to a run time option vice the constant defined in the Makefile. * chkhistory_db.c chkhistory(), open_history() - changed HISTORY_FILE to a run_time option. * killfile.c - added code to handle new killfile option NRXREF. This works the same as NRGRPS, but on the Xref line instead of the Newsgroups line. killfile_done() - fixed bug in freeing perl_int. check_a_group() - fixed bug in counting nr of groups. pass_two() - fix bug if groupline didn't have group name, we could core dump when trying to nuke nl. * ssort.c - changed params that my_bsearch is called with, to make chkhistory faster. Changed second param to string vice struct. * suck.c - do_cleanup() - fixed a bug with moving suck.newrc to sucknewsrc. If we're restarted with -R, no suck.newrc would exist, and we'd move sucknewsrc to sucknewsrc.old, and fail on the move of suck.newrc to sucknewsrc. Now if suck.newrc doesn't exist, we don't move sucknewsrc either. parse_args() - added code to handle history file option (HF). * xover.c - added code to handle to option NRXREF, like above. Also added code to handle new option XOVER_LOG_LONG, which causes suck to format xover kills so that they look like message headers, instead of printing just the Xover line. * active.c - get_message_index_active() - added code to handle -F option, reconnect after reading the active file. This is in case of a large active file, and the remote end times out while reading it. * killprg.c - tweaked the #ifdef for the Perl 5.004 stuff * lmove.c - move_msg(), scan_args() - Added test to see if article exists in new location before I move it. This is to avoid overwriting articles if another process adds articles to directory without changing the active file. If an article already exists, I abort UNLESS you use the -A option. See man page for more details. main() - rewrote tests for msgdir and basedir, to avoid segfaults if not defined. * suck.c - main(), scan_args() - added code to handle -F option. * xover.c - get_xoverview() - fixed bug in parsing of xoverview, not stripping the blanks and nls correctly. Also fixed bug in allocing of memory (had POverview vice Overview). * batch.c - do_post_filter() - created, allows you to edit all articles downloaded. *batch.c - do_lmove_patch() *killprg.c - killprg_forkit() *rpost.c - do_filter - added exit(-1) so that if child doesn't execl, we don't have both parent and child running. * chkhistory.c - chkhistory() - changed error_log() call to MyPerror() for open of history file, so get more descriptive error msg. * suck.c - main(), parse_args() - added arg handling for do_post_filter(). get_articles(), restart_yn() - re-worked the handling of restarts, to avoid downloading same article twice, or not downloading an article, due to the de-duping process when I did a rescan for new articles, so I had the same MsgId twice, then deleted the first one already downloaded, and then downloaded it again. * dedupe.c - dedupe_list() - added code so that if one of a set of dupes is marked as downloaded, or a dupe, I delete the other one instead, to help avoid the scenario above.
1999-10-19s/DOMAIN_NAME/KNEWS_DOMAIN_NAME/ to make it more obvious which packageagc1-13/+13
uses this definition. Also s/DOMAIN_FILE/KNEWS_DOMAIN_FILE/ in the package Makefile, and document it in mk.conf.example.
1999-10-16Update to 0.9.5.7. Changes are minor bug fixes.mjl2-5/+5
1999-10-07Remove me as maintainer of those packages.tron2-4/+4
1999-09-30Remove build dependence on "bison" package because the "configure" scripttron3-6/+13
can be convinced to use NetBSD's "yacc" instead. Patch supplied by David Rankin in PR pkg/8516.
1999-09-20Make this work on Solaris.kim6-47/+96
NOTE: It is nice to have "make extract" just unpack and not overwrite any files, so it can be used to investigate pkg problems. This is why I chose to not use "post-extract" to patch files. I use "post-patch" instead. I'll need to test this on NetBSD now...
1999-09-20Add Id and comment about manual editing.kim1-0/+4
1999-09-20Support for Solaris.kim2-2/+83
1999-09-20Moved to config.NetBSD.sh,vkim1-81/+0
1999-09-20Moved from config.sh,vkim1-0/+81
1999-09-14Remove me as maintainer of this package. The current version was committedtron1-2/+2
by Kimmo Suominen.
1999-08-25Fix egcs warning--sprintf() needs to #include <stdio.h>.fredb2-1/+17
1999-08-24Make sure that "bison" binary from package sources is used.tron1-2/+2
1999-08-23Sync.tron1-2/+2
1999-08-23Remove bogus master site.tron1-3/+2
1999-08-22Forgot to put in the original master site...kim1-2/+3
1999-08-22Upgrade to nn 6.5.4. The main reason for the upgrade is to run completelykim18-388/+166
over NNTP without any access to a news spool file system. NOV is accessed using the XOVER command (INN has this and it is available for nntpd too).
1999-08-22Add and enable newscache.rh1-1/+2
1999-08-22Initial import of newscache-0.99.15, a free cache server for USENET News.rh10-0/+149
1999-08-18Record build options in the BuildInfo file via BUILD_DEFS. These can beagc2-6/+13
displayed using the -B option to pkg_info(1). Also clean up inclusion of files, and include a missing bsd.prefs.mk
1999-08-18Record build options in the BuildInfo file via BUILD_DEFS. These can beagc1-1/+3
displayed using the -B option to pkg_info(1).
1999-08-18Record build options in the BuildInfo file via BUILD_DEFS. These can beagc1-1/+3
displayed using the -B option to pkg_info(1).
1999-07-29Add INN package to conflict list.tron1-1/+3
1999-07-29Because INN fails at many places when its binaries are not installed intron5-129/+131
"${PREFIX}/bin" it gets installed to "${PREFIX}/inn" now. Only the manual pages and the configuration file examples remain at the old location.
1999-07-29Install INN binaries to "${LOCALBASE}/libexec/inn". Only "inews" istron5-112/+121
linked to "${LOCALBASE}/bin". Fixes PR pkg/8110 by Wolfgang Rupprecht.
1999-07-26Use NNTP even if we run on the NNTP server because modern news systemstron3-10/+19
e.g. INN using its Storage API might not support the acient spool directory structure.
1999-07-26Split patches and convert to diff's unified output format.tron28-1756/+1227
1999-07-26Create configuration files in "${PREFIX}/etc/nntp" automatically so thattron3-4/+21
newsreaders like "nn" or "trn" can use them.
1999-07-26New variable "USE_INN" to use "inn" instead of "nntclnt" to providetron2-4/+14
"inews" binary for newsreaders.
1999-07-24Use "su" with "-c" so that it works for accounts with login shell othertron1-2/+2
than "/bin/sh", too.
1999-07-24"rc.news" should be started with "su news" of course.tron1-2/+2
1999-07-24Allow user to specify a FQDN in resource "Knews.mailName".tron2-1/+32
1999-07-23sync.frueauf1-1/+2
1999-07-23Add -Dunix to compiler options.frueauf1-0/+15
1999-07-22libslang to 1.3.8mycroft1-2/+2
1999-07-21We want to start "rc.news" and not "inndstart" of course.tron1-3/+3
1999-07-21"make install" could clobber files in "${INN_DATA_DIR}/etc" whiletron3-4/+31
"pkg_add" worked fine.
1999-07-21Add standard script to launch INN at system startup.tron3-2/+17
1999-07-21Adding arbitrary accounts (e.g. UUCP accounts) to the "news" group is atron2-1/+15
possible security problem while execute permission for "rnews" for everyone is not. So install "rnews" with mode 4555 instead of 4550.
1999-07-18Make a few enhancements to "sendbatch".tron1-0/+76
1999-07-18Update INN package to version 2.2. This update is based on the patchestron13-277/+333
supplied by Chris Jones in PR pkg/7597.
1999-07-09Add package patch checksum files.agc8-0/+34
1999-06-22Remove redundant "--prefix=..." from ${CONFIGURE_ARGS}.tron1-2/+2
1999-06-22Update dependence on "libslang" package to version 1.3.7.tron1-2/+2
1999-06-02compensate for fieldwidth overflowschristos1-0/+24
1999-05-18Update to slrn-0.9.5.9mjl1-3/+5
1999-05-18Update to slrn-0.9.5.6mjl5-40/+40
1999-04-30Sort.tv1-2/+2