Commit graph

174 commits

Author SHA1 Message Date
wiz
f2c02e4928 Fix build on m68k; add a MASTER_SITE. 2000-09-09 23:26:46 +00:00
veego
043fe7222a Update to 2.2.3. Fixes PR#10932.
Changes:
- INN no longer installs inews setgid news or rnews setuid root by
  default.  If you need the old behavior, --enable-uucp-rnews or
  --enable-setgid-inews must be given to configure.  See INSTALL
  for more information.
- A security hole when verifycancels is turned on in inn.conf (not
  the default) was fixed.
- Message IDs are now limited to 250 octets to prevent
  interoperability problems with other servers.
- Various other security paranoia fixes have been made.
- Embedded Perl filters fixed to work with Perl 5.6.0.
- Lots of bug fixes.
2000-09-01 20:16:59 +00:00
jlam
06f0a4c3c2 Use new PERL5 variable instead of ${LOCALBASE}/bin/perl. 2000-08-27 02:46:03 +00:00
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
wiz
9b881a5504 USE_PKGLIBTOOL -> USE_LIBTOOL
Added hack to post-build since the package's libtool recognizes more
switches for the install program than the default libtool.
2000-08-17 14:00:27 +00:00
wiz
bdba827f4c Update to 1.4.4. Changes: Mainly bug and security fixes. 2000-08-10 10:03:23 +00:00
tron
306bd309ea Skip bogus "POSIX_SOURCE" symbol definition under NetBSD because it
causes build failures under NetBSD 1.5A or newer.
2000-08-01 21:59:25 +00:00
agc
3d757580da Use X11PREFIX in preference to X11BASE, just in case xpkgwedge is
installed.
Also use a shell "for" loop in preference to a make ".for" loop.
2000-07-11 10:03:50 +00:00
veego
53451a9c90 Regen patch-ac which failed to apply before. 2000-07-03 13:46:41 +00:00
veego
0c7f7a44e8 test(1) -e doesn't work on Solaris so use -f instead. 2000-07-03 13:45:54 +00:00
veego
bf06fd85b4 Make it work on Solaris (fix the sendmail path). 2000-07-03 13:44:53 +00:00
mjl
42a928422c Update to 2.4-b5. Changes are bugfixes only. 2000-06-21 12:50:28 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
mjl
4bdc820dee Add a patch to make the newgroups NNTP command actually work. 2000-04-25 09:59:51 +00:00
wiz
0faf5bd2f5 "silent" update from tin-20000123 to tin-20000205; distfile still
called tin-1.4.2.tar.bz2. Changes:
Small documentation changes, number of `hot' articles displayed in -Z
output, and a bug fix in save.c.
Fixes pkg/9829 by mw34@cornell.edu.
2000-04-09 18:29:43 +00:00
tron
782b73a94b Adapt to new handling of "${CONFIGURE}". 2000-03-27 08:54:53 +00:00
tron
ea7dc91900 Because the minor of "libpng" was bumped we must sure that packages
compiled for the update "png" package depend on it.
2000-03-21 22:40:50 +00:00
wiz
4cd86cc2fb Use nntpclnt or inn instead of trn's own inews (so that admins only have to
configure one inews). Also use 'share' instead of 'lib'. Pointed out and
cross-checked by Kimmo Suominen <kim@tac.nyc.ny.us>.
2000-03-18 19:51:31 +00:00
wiz
74874e66d9 remove trailing `.' 2000-03-09 13:47:31 +00:00
tron
f6f92587e1 Update dependence for "inn" package. 2000-02-27 23:37:53 +00:00
tron
268da88042 List me as maintainer of this package. 2000-02-27 23:04:23 +00:00
tron
da0761fcb1 Update "inn" package to version 2.2.2. Changes since version 2.2:
- Various minor bug fixes and a y2k bug fix. The y2k bug is in version
  version 2.2.1 only and will show up after Jan 1st when a news reader
  issues a NEWNEWS command for a date prior to the year 2000.
- Various bug fixes. Most importantly, bug fixes to potential
  security holes (buffer overflow type).
2000-02-27 22:51:41 +00:00
dmcmahill
db646f8d3a update patch sum to reflect removal of patch-y2k 2000-02-27 21:38:39 +00:00
dmcmahill
0fe9adff57 remove out of date patch file. This patch is no longer required. 2000-02-27 21:38:12 +00:00
wiz
f895e15bb9 remove commented out SUBDIR += lines for packages that never got
converted from FreeBSD, or have been disabled since. Sorted lines
alphabetically, added some missing directories.
2000-02-25 01:04:11 +00:00
proff
ab74fd3453 upgrade to 2.4.0b3 2000-02-20 06:53:59 +00:00
wiz
46c25159bd changed version number to 4.72, for easier dewey-comparisons 2000-02-16 19:07:32 +00:00
wiz
c7a63d954b Update of news/trn to trn4-test72. Package provided by David Rankin
<drankin@bohemians.lexington.ky.us> in pkg/9221.

Changes from trn 3.6 to trn 4.0:

   o	Added a newsgroup selector to make choosing news groups easier
	(use the ++ option to turn it off).
   o	In the selector '\' now is used to execute a command, so if
	you had 'c' in your SELECTCHARS, you could still catch-up a
	group via \c.  It also lets you enter the normal newsgroup
	commands from the newsgroup selector, such as unsubscribe
	(\u) and goto group (\g).  If the command letter is both a
	selector command and a newsgroup command, use '\\' to get
	the newsgroup command (such as \\O or \\h).  Use ':' to apply
	a (limited set) of commands to more than one group, such as
	":u" (unsubscribe) or ":c" (catchup).
   o	Use "\v" from any selector to see the current trn version.
   o	Use the backtick (`) command to switch back and forth between
	the newsgroup selector and the rn-style newsgroup browser.
	You can also type backtick from inside a newsgroup to exit
	back to the newsgroup selection level.
   o	Use the '=' command in the newsgroup selector to refresh the
	article counts (possibly refetching the active file).
   o	Use the Ctrl-G command in the selector to go to a letter
	without affecting it (e.g. "Ctrl-G b" would go to letter 'b').
   o	Added an addgroup selector to ease the arrival of new groups.
   o	Strn's article scan/scoring is now present in trn.
   o	** Describe the universal selector once it settles down **
   o	Enabled trn to use both nntp and local news sources, either
	separately or at the same time.  Create a .trn/access file to
	customize this (start with a copy of <trnlib>/access.def).
   o	Changed the format of trn's option files.  Trn will create a
	.trn/trnrc file for you using your old trn options as soon as
	you edit and save them using the on-line option editor.  Once
	this happens, the old TRNINIT variable is ignored.
   o	When you specify a news source in the active file, you can
	tell trn to keep a local copy of the server's active and
	newsgroups files, and either re-grab them at regular intervals
	(however often you like), update them with new information
	we glean while running, or leave them alone (which is useful
	for an NFS mounted active file).
   o	Added a newsrc selector to choose among the news sources and
	newsrc options in your .trn/access file.
   o	Alternately, use Ctrl-N and Ctrl-P in the newsgroup selector
	or newsgroup browser to change from news source to news source.
   o	Added an on-line option editor (type '&' <RETURN>).  Use the
	search command (/erase) to find the option you're looking for.
   o	Much improved xterm mouse handling now lets you define a
	"mouse bar" of buttons to press, as well as allowing you to
	click on the tree nodes in the article tree display.  Use
	the option selector to turn it on and customize it.  See
	the <trnlib>/INIT file for an example of how to make the
	mouse code conditional on your terminal type.  You can
	even double-click in the selector to start reading and
	select a range with click-drag-release.
   o	Enhanced the mime code so that trn now knows how to handle
	basic mime types, and farm out the ones it doesn't understand.
	!!Not finished yet!!
   o	Use the 'a' (attachments) command to view an article's
	attachments, including a uuencoded picture in a picture
	group.  Even works with multi-part pieces if you use 'a'
	on all the parts (in any order).  Use ":a" to view a
	group of selected articles (handy from the selector).  Of
	course, "::a" affects all unselected articles.
   o	The header hiding code now hides more headers by default,
	and can un-hide any header (prior trns could only hide
	known header names plus all unknown headers in a group).
   o	You can now specify a custom IP port for an NNTP connection
	in your .trn/access file or the NNTPSERVER variable.
   o	A bargraph (for percent done) pops up on slow tasks (such
	as fetching the active file over a slow link).
   o	Changed the default "auto arrows" (-A) to be more web-
	browser-like in the selectors.  Set option "Auto Arrow
	Macros" to "old-style" if you like the old style better.
   o	A client ("mini") inews is now included with trn that is
	compatible with other news readers and a bit more functional.
   o	Macro writers: each selector has a different mode letter (see
	the %m discussion in the man page for a list), but there's
	now an easy way to write a macro that affects all selectors
	test the "general mode": %g=s.  See the man page for the other
	general modes.
   o	Fixed the type-ahead eating to never eat just part of a macro
	sequence (such as a keypad key or a mouse click).
   o	Trn now use X-Newsgroups instead of Newsgroups in mailed replies.
	It also uses X-Also-Posted-To when Cc'ing people while posting.
2000-02-16 18:47:15 +00:00
tron
e8a1039530 Use "png>=1.0.3" instead of "png-*" in dependence list. 2000-02-09 20:20:52 +00:00
tron
f184beb4a5 Use wildcard dependence for "png" package. 2000-02-09 15:22:32 +00:00
wiz
abdd3838d2 updated tin to 1.4.2. 2000-02-06 02:34:26 +00:00
mjl
0dc67f05a8 Patch for minor y2k problem, from nntpcache 2.4.0b2. 2000-01-26 20:16:15 +00:00
wiz
648f6af2e7 (re)gen 2000-01-10 01:25:11 +00:00
wiz
eadd890e05 replaced a whole lot more commands with ${COMMAND} 2000-01-10 00:57:13 +00:00
wiz
ae80718e19 MASTER_SITE_SUNSITE magic 2000-01-10 00:22:46 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
mjl
a6fa5ed82d Oops, remove unnecessary (and conflicting) patch. 2000-01-02 00:27:37 +00:00
mjl
cd7c68d4e6 Update to 0.9.6.2. Change are mostly bugfixes and minor
cosmetic changes.
2000-01-01 18:24:30 +00:00
pooka
e8eb592be7 Make this work on alpha 1999-12-17 10:30:15 +00:00
fredb
31fe590de0 Work around for imake generated Makefile taking -lWidgets to be the shared
library installed by the afterstep-current package, instead of knews' own
libWidgets.a. Why does $(LDPRELIBS) come in before $(OBJS) anyway?
1999-11-25 12:14:13 +00:00
agc
4914f6c0d2 This file had somehow become corrupted. Regenerate. 1999-10-25 22:35:22 +00:00
agc
d7517f4a68 Regenerate patch-sum file, to include a NetBSD RCS Id Header. 1999-10-21 16:18:46 +00:00
agc
5036b3e6bf Update this package to version 4.2.2, provided by David Rankin
<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-21 16:17:04 +00:00
agc
25fabddd97 s/DOMAIN_NAME/KNEWS_DOMAIN_NAME/ to make it more obvious which package
uses this definition.

Also s/DOMAIN_FILE/KNEWS_DOMAIN_FILE/ in the package Makefile, and document
it in mk.conf.example.
1999-10-19 08:55:48 +00:00
mjl
228af5db4c Update to 0.9.5.7. Changes are minor bug fixes. 1999-10-16 00:10:08 +00:00
tron
8d7d754dfa Remove me as maintainer of those packages. 1999-10-07 17:41:46 +00:00
tron
15a0e5e1d9 Remove build dependence on "bison" package because the "configure" script
can be convinced to use NetBSD's "yacc" instead. Patch supplied by
David Rankin in PR pkg/8516.
1999-09-30 17:35:21 +00:00
kim
4556761de0 Make this work on Solaris.
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-20 21:43:32 +00:00
kim
383adcd615 Add Id and comment about manual editing. 1999-09-20 19:23:16 +00:00
kim
47f71f430d Support for Solaris. 1999-09-20 19:21:21 +00:00