Commit graph

108 commits

Author SHA1 Message Date
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
veego
c495a26026 Ups, forgot an \ at the end of a line. 2001-10-20 17:31:44 +00:00
veego
e4d299f904 You can't create more then one directory with ${INSTALL_DATA_DIR} on
solaris.
2001-10-19 09:17:11 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
tron
891ea0e7ed Add "--enable-setgid-inews" to "CONFIGURE_ARGS" because "inews" is
otherwise only executable for member of the group "news" and can't hence
be used as posting frontend for e.g. the "nn" package.
2001-07-16 13:41:18 +00:00
tron
858eacaa91 Update "inn" package to version 2.3.2. Changes since version 2.3.1:
- innxmit can again handle regular filenames as input as well as storage
  API tokens (allowing it to be used to import an old traditional
  spool).
- Several problems with tagged-hash history files have been fixed thanks
  to the debugging efforts of Andrew Gierth and Sang-yong Suh.
- A very long-standing (since INN 1.0!) NNTP protocol bug in nnrpd was
  fixed.  The response to an ARTICLE command retrieving a message by
  message ID should have the message ID as the third word of the
  response, not the fourth.  Fixing this is reported to *possibly* cause
  problems with some Netscape browsers, but other news servers correctly
  follow the protocol.
- Some serious performance problems with expiration of tradspool should
  now be at least somewhat alleviated.  tradspool and timehash now know
  how to output file names for removal rather than tokens, and fastrm's
  ability to remove regular files has been restored.  This should bring
  expiration times for tradspool back to within a factor of two of
  pre-storage-API expiration times.
- An item that was actually changed in 2.3.0 but wasn't noted in NEWS
  when it should have been:  Users can no longer post articles
  containing Approved: headers to moderated groups by default; they must
  be specifically given that permission with the access: parameter in
  readers.conf.  See the man page for more details.
- Added a sample subscriptions file and documentation for it and
  innmail.
The changes required for this update were contributed by Bernd Ernesti
in PR pkg/13299.
2001-07-10 16:02:12 +00:00
jlam
a4827ab056 Mechanical changes to use ${PKG_PREFIX} instead of substituting for
@PREFIX@ in DEINSTALL/INSTALL scripts.
2001-03-01 19:07:51 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
itojun
f5556fef89 pull latest IPv6 patch. should fix PR 12184. 2001-02-13 03:54:55 +00:00
tron
f972abfad7 Update "inn" package to version 2.3.1. Changes since version 2.2.3:
INN 2.3.0 represents a significant architectural change to INN, with a
 completely new internal overview interface, three new overview mechanisms,
 two new article storage mechanisms, and the elimination of quite a few old
 interfaces and old code.
The NetBSD package furthermore includes IPv6 support and a new style
startup script with backwards compatibility.
2001-02-08 16:23:06 +00:00
hubertf
1791cbecbb etc/rc.d cleanup: rename *.sh -> * 2001-01-26 05:21:43 +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
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
veego
bf06fd85b4 Make it work on Solaris (fix the sendmail path). 2000-07-03 13:44:53 +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
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
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
tron
57ead3cd01 Make sure that "bison" binary from package sources is used. 1999-08-24 14:18:53 +00:00
agc
30ddf4d2ed Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1).
1999-08-18 08:38:51 +00:00
tron
705015f9a9 Because INN fails at many places when its binaries are not installed in
"${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-29 21:15:46 +00:00
tron
ab2fbe1d56 Install INN binaries to "${LOCALBASE}/libexec/inn". Only "inews" is
linked to "${LOCALBASE}/bin". Fixes PR pkg/8110 by Wolfgang Rupprecht.
1999-07-29 20:27:19 +00:00
tron
da7bb6dd85 Create configuration files in "${PREFIX}/etc/nntp" automatically so that
newsreaders like "nn" or "trn" can use them.
1999-07-26 20:56:23 +00:00
tron
2f2569f5ad "make install" could clobber files in "${INN_DATA_DIR}/etc" while
"pkg_add" worked fine.
1999-07-21 22:29:36 +00:00
tron
8e1e001c9c Add standard script to launch INN at system startup. 1999-07-21 20:38:55 +00:00
tron
74e8b91041 Update INN package to version 2.2. This update is based on the patches
supplied by Chris Jones in PR pkg/7597.
1999-07-18 23:34:12 +00:00
bad
2e7ab754bd Don't depend on sendmail being found in the PATH.
Don't pickup random crap, $LOCALBASE/bin/perl or bust!
1998-10-17 18:09:32 +00:00
agc
9a4d510aae Define and use INSTALL_FILE. 1998-09-17 15:39:53 +00:00
garbled
bdf269a755 Add new pkg for inn-2.1
the public release of InterNet News (INN).
1998-09-05 03:21:11 +00:00