Commit graph

81 commits

Author SHA1 Message Date
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
joerg
673cecaef7 Add missing pullnews.1 to PLIST. Bump revision. 2006-04-10 16:27:02 +00:00
tron
d6004cc912 Update "inn" package to version 2.4.3. Changes since version 2.4.1:
- 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.
- INN is now licensed under a less restrictive license (about as
  minimally restrictive as possible shy of public domain), and the
  clause similar to the old BSD advertising clause has been dropped.
- make install and make update now always install the newly built
  binaries, rather than only installing them if the modification times
  are newer.  This is the behavior that people expect.  make install now
  also automatically builds a new (empty) history database if one
  doesn't already exist.
- The embedded Tcl filter code has been disabled (and will be removed
  entirely in the next major release of INN).  It hasn't worked for some
  time and causes innd crashes if compiled in (even if not used).  If
  someone wants to step forward and maintain it, I recommend starting
  from scratch and emulating the Perl and Python filters.
- ctlinnd should now successfully handle messages from INN up to the
  maximum allowable packet size in the protocol, fixing problems sites
  with many active peers were having with innstat output.
- Overview generation has been fixed in both makehistory and innd to
  follow the rules in the latest NNTP draft rather than just replacing
  special characters with spaces.  This means that the unfolding of
  folded header lines will not introduce additional, incorrect
  whitespace in the overview data.
- nnrpd now uniformly responds with a 480 or 502 status code to attempts
  to read a newsgroup to which the user does not have access, depending
  on whether the user has authenticated.  Previously, it returned a 411
  status code, claiming the group didn't exist, which confuses the
  reactive authentication capability of news readers.
- If a user is not authorized to approve articles (using the A access
  control in readers.conf), articles that include Approved headers will
  be rejected even if posted to unmoderated groups.  Some other site may
  consider that group to be moderated.
- The configuration parser used for readers.conf and others now
  correctly handles "#" inside quoted strings and is more robust against
  unmatched double quotes.
- Messages mailed to moderators had two spaces after the colons in the
  headers, rather than one.  This bug has been fixed.
- A bug that could cause heap corruption and random crashes in innd if
  INN were compiled with Python support has been fixed.
- Some problems with innd's tracking of article size and enforcement of
  the configured maximum article size have been fixed.
- pgpverify will now correctly verify signatures generated by GnuPG and
  better supports GnuPG as the PGP implementation.
- INN's code should now be more 64-bit clean in its handling of size_t,
  pointer differences, and casting of pointers, correcting problems that
  showed up on 64-bit platforms like AMD64.
- Improved the error reporting in the history database code, in inews,
  in controlchan, and in expire.
- Many other more minor bug fixes, optimization improvements, and
  documentation fixes.
2006-03-31 17:58:39 +00:00
joerg
3aae1fd0a9 Explicitly set GNU_CONFIGURE_MANDIR to ${PREFIX}/${PKGMANDIR}. 2006-03-02 19:03:20 +00:00
tron
3009c30545 Add optional Python support. Based on patches supplied by Anders Mundt Due
in PR pkg/32299.
2006-01-04 10:32:40 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tron
190c1f02c6 This package conflicts with the "libradius" package because of
"radius.conf.5".
2005-11-22 16:14:49 +00:00
reed
57f7dd5644 Remove the --mandir CONFIGURE_ARGS setting as this is now done
for GNU_CONFIGURE automatically.

(This has been in my personal pkgsrc for a while.)
2005-10-07 18:08:25 +00:00
tron
3edb0a334a Add missing manual pages to package list. Bump package revision because
of this.
2005-09-22 15:38:39 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
kristerw
550abf4bb6 This package does link to the perl libraries, so re-add
perl5/buildlink3.mk.
2005-07-24 21:19:54 +00:00
jlam
75414ba27a TOOLS_GZIP_CMD now only holds the path to gzip, so no need to strip off
arguments anymore.
2005-07-18 02:37:22 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
kristerw
28c35b47e7 The workref fix in previous commit did not work on NetBSD 1.6; its
make does not understand the "W" option in :C modifiers, and it
handles substitution in strings containing spaces somwheat differently.

Bump PKGREVISION.
2005-07-15 23:23:15 +00:00
tron
b2a9d26591 Don't compile package source "gzip" options into the binaries.
Bump package revision once more.
2005-06-27 19:11:25 +00:00
jlam
590786f61e Instead of setting ac_cv_path_VARNAME, which is a GNU autoconf cache
variable name that can change between autoconf versions, just set
VARNAME, which should always be correct.

Also, note that inn needs yacc to build, and uses gzip in the installed
scripts.  Bump the PKGREVISION to 4.
2005-06-24 16:24:23 +00:00
kristerw
76b784553f Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-23 21:57:45 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
cjep
f6887a97b1 Add USE_INET6 to BUILD_DEFS as these packages use it. Part of PR#25743 from
Georg Schwarz.
2004-06-08 12:23:59 +00:00
tron
38d7e1de7b Update INN package to version 2.4.1. Major changes since version 2.3.x:
- builtin IPv6 support
- new configuration parser
- completely rewriten "send-uucp" which replaces "sendbatch"
2004-06-02 11:43:55 +00:00
tron
2b4fdcd185 Apply IPv6 patch only if we really want IPv6 support because the patch
breaks the build on some IPv4 only platforms (e.g. IRIX). This fixes
PR pkg/25671 by Georg Schwarz.
2004-05-23 14:40:00 +00:00
jschauma
4b0427bd64 Introduce and use two new variables:
INN_USER and INN_GROUP, specifying the username and groupname to be used
by inn, defaulting to 'news'.
Noted by Georg Schwarz in mail to tech-pkg.
2004-05-22 18:58:29 +00:00
snj
367578c3c8 Convert to buildlink3. 2004-04-11 17:33:47 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
a075f5adf6 Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-24 20:41:01 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
wiz
4180c7b6d4 Sort sections. 2003-07-29 16:30:06 +00:00
wiz
a78e6b6cb5 Apply another part of pkgsrc-wip/wip/newsx/news.inn.patch,
that was previously rejected (oops).
2003-07-29 16:29:09 +00:00
wiz
6fdb64c6fd Apply patch pkgsrc-wip/newsx/news.inn.patch:
Install header files for other packages (in particular, newsx).
Bump PKGREVISION.
Approved by tron@
2003-07-29 16:27:26 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
tron
ec1d6a836c Update "inn" package to version 2.3.5. Changes since version 2.3.4:
- Clients using POST are no longer permitted to provide an Injector-Info
  header.
- Fixed a bug causing posts with Followup-To set to a moderated group to
  be rejected if the posting user didn't have permission to approve
  postings.
- Fixed bugs in inncheck with setuid rnews or setgid inews, in
  innconfval with inn.conf parameters containing shell metacharacters
  but no spaces, and in parsedate.y with some versions of yacc.  Fixed a
  variety of size-related printf format warnings (e.g., %d vs. %ld)
  thanks to the work of Winfried Szukalski.

While INN 2.3.5 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
2003-05-13 11:56:44 +00:00
tron
7c841d0c4b Update "inn" package to version 2.3.4. Changes since version 2.3.3:
- LIST ACTIVE no longer returns data when given a single group argument
  if the client is not authorized to read that group.
- XHDR and XPAT weren't correctly parsing article headers, resulting in
  searches for the header "newsgroup" matching the header "newsgroups".
- Made CNFS more robust against crashes by actually syncing the cycbuff
  headers to disk as was originally intended.  Fixed a memory leak in
  the tradspool code.
- Two bugs in pgpverify when using GnuPG were fixed: it now correctly
  checks for gpgv (rather than pgp) when told to use GnuPG and expects
  the keyring to be pubring.gpg (not pubring.pgp).
- Substantial updates to the sample provided control.ctl file.
- Compilation fixes with Perl 5.8.0, BerkeleyDB 4.x, current versions of
  Linux (including with large file support), and Tru64.  inndf fixes for
  ReiserFS.
- Various bugs in the header handling in nnrpd have been fixed,
  including hangs when using virtual domains and improper processing of
  folded headers under certain circumstances.
- Other minor bug fixes and documentation improvements.

While INN 2.3.4 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
2003-03-23 11:07:15 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
ca15a60693 Honor environment variable "INN_SPOOL" documented in the description file.
Problem noted by Kimmo Suominen in private e-mail.
2002-10-13 07:57:43 +00:00
jlam
a9753b3859 There is also a /var/news/spool/archive directory we need to handle. 2002-09-29 10:41:36 +00:00
jlam
baaf87b430 * buildlink1 -> buildlink2
* Use gcc/buildlink2.mk instead of Makefile.gcc.
* Use the functionality on bsd.pkg.install.mk to generate INSTALL/DEINSTALL
  scripts that match the functionality of the custom ones we're removing,
  and handle the rc.d script automatically.
* Name the full paths of the binaries that are installed setuid.
2002-09-29 10:39:35 +00:00
grant
c8623da4ae @@PREFIX@@ -> @PREFIX@, as this is more consistent with other
packages.
2002-08-27 15:27:03 +00:00
tron
0f7ece859c Update "inn" package to version 2.3.3. Changes since version 2.3.2:
- pgpverify now supports using GnuPG to check signatures (rather than
  PGP) without the pgpgpg wrapper.  GnuPG can check both old-style RSA
  signatures and new OpenPGP signatures and is recommended over PGP 2.6.
  If you have GnuPG installed, pgpverify will use it rather than PGP,
  which means that you may have to create a new key ring for GnuPG to
  use to verify signatures if you were previously using PGP.
- An item that was noted in NEWS below but was inadvertently left out of
  nnrpd has actually been added this time:  users can no longer post
  articles containing Approved: headers to moderated groups by default;
  they must be specifically given that permission with the access:
  parameter in readers.conf.  See the man page for more details.
- Two bugs in repacking overview index files and a reliability bug with
  writing overview data were all fixed in the tradindexed overview
  method, hopefully making it somewhat more reliable, particularly for
  makehistory.
- If rc.news.local exists in the INN binary directory, it will be run
  with the start or stop argument whenever rc.news is run.  This is
  available as a hook for local startup and shutdown code.
- The default history table hash sizes were increased because a
  too-small value can cause serious performance problems (whereas a
  too-large hash just wastes a bit of disk space).
- The sample control.ctl file has been extensively updated.
- Wildmat exclusions (@ and !) should now work properly in storage.conf
  newsgroup patterns.
- The implementation of the -w flag for expireover was fixed;
  previously, the value given to -w to change expireover's notion of the
  current time was scaled by too much.
- Various other more minor bug fixes, standards compliance fixes, and
  documentation improvements.
2002-07-06 15:04:57 +00:00
tron
35152190e8 Automatically create a "news" account suitable for running INN on
installation. This fixes PR pkg/13250 by Gabriel Rosenkoetter.
2002-07-06 14:33:36 +00:00
jlam
0c6c7bc89b Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround. 2002-06-23 03:54:30 +00:00
cjep
3ded6aa067 On arm32, use gcc-2.95.3 to avoid internal egcs errors. 2002-04-20 18:18:50 +00:00