Commit graph

168 commits

Author SHA1 Message Date
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
jlam
4af9e32893 Miscellaneous nits. 2004-03-31 02:32:56 +00:00
jlam
8c8fd0fcfb Install files one by one to workaround more feeble install programs. 2004-03-31 02:25:11 +00:00
jlam
8fbae26d5f Miscellenous Makefile cleanups. 2004-03-31 02:22:04 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
jlam
457d023fac bl3ify 2004-01-06 07:05:24 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
itojun
1cd398d43a upgrade to 6.2.5. incorporates security patch (was in patches/patch-ag).
IMAP and some other improvements.
2003-11-05 05:20:36 +00:00
itojun
b114a02e19 update patchsum 2003-10-08 20:23:56 +00:00
itojun
88e55b69f4 certain email kills fetchmail. CAN-2003-0790 2003-10-08 20:23:42 +00:00
grant
4bac1f45bf bump PKGREVISION after PLIST change (hi, jlam!) 2003-09-12 13:11:56 +00:00
jlam
b5f25148e8 Add a rc.d script to easily start fetchmail as a daemon at startup. 2003-09-11 22:58:05 +00:00
frueauf
b5b45c7586 Update fetchmail{conf} to 6.2.4.
Based on pr pkg/22650 by Adrian Portelli.

Changes since 6.2.3:
* Updated German, Spanish, Catalan, and Turkish translations.
* IDLE is now supported using no-ops even if the server doesn't support
  the IMAP IDLE extension.
* Sunil Shetye's patch to do better password shrouding.
* Sunil Shetye's bug-fix rollup patch.
* Introduce a translation item for the word "seen".
* Back out the hack to deal with lack of byte stuffing on some POP3 servers.
* Thomas Steudten's patch to improve SMTP handling of 550 errors.
2003-09-02 12:27:46 +00:00
martti
f928be280d COMMENT should start with a capital letter. 2003-07-21 16:56:41 +00:00
frueauf
408fc7a666 Update fetchmail{conf} to 6.2.3.
Changes since 6.2.2:
* German, Danish, Spanish, and Turkish translations updated.
* Brian Sammon's patch to deal with malformed message lines containiing NULs.
* Fai's patch to ignore all but the first Return-Path (some spams have
  more than one of these).
* Benjamin Drieu's ptch to properly byte-stuff when talking to BSNTP.
  Fixes Debian bug #184469.
* Benjamin Drieu's patch to enable auth=cram-md5.
  Fixes Debian bug #185232.
* Sunil Shetye's configure.in patch to avoid spurious search order messages
  from GCC.
* Header-reading code now copes better with lines ending in \n only.
* Elias Israel's patches for POP3 NTLM support and dealing with byte-
  stuffing failures at socket level.
2003-07-20 14:52:45 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
wiz
7e881f58e4 Update to 6.2.2, from Quentin Garnier in PR 20790.
Changes since last version:
* Sunil Shetye's patch to improve behavior in empty messages.
* Conform to RFC2595; reissue capability probes after successful
  STARTTLS negotiation.
* Sunil's patch to make handling of failed STARTTLS more graceful.
* Sunil's JF2 fix patch for .fetchmailrc security fix.
* Christophe GIAUME <christophe@giaume.com> finished the implementation
  of RFC2177 IDLE.
* Jason Tishler's fix patch for Cygwin.
* Support ssh-style authentication in POP3
* Fix for Debian bug #108977, clean up config file evaluation,
  by Benjamin Drieu.
2003-03-22 05:18:42 +00:00
mycroft
e220972767 Update from 6.2.0 to 6.2.1.
* Updated German, Turkish, Spanish, and Danish translation files.
* Integrated Sunil Shetye's patch to make mark_seen an explicit method.
* Removed FAQ warning about GMX and associated fetchmailconf check,
  we have a report that its servers are conformant now.
* Another Sunil patch to fix a minor bug in bouncemail generation.
2003-02-21 11:22:03 +00:00
tron
fdef775079 Update "fetchmail" and "fetchmailconf" packages to version 6.2.0.
Changes since version 6.1.2:
- Applied Steffen Esser's fix for a buffer-overflow bug in rfc822.c
- Updated Danish, German, and Turkish translation files.
- Sunil Sheye's SMTP timeout patch.
- Updated Turkish, Danish, German, Spanish, Catalan po files.
- Added Slovak support.
- Configure.in update for autoconf 2.5 (Art Haas).
- Be case-insensitive when looking for IMAP responses.
- Fix logout-after-idle-delivery bug (Sunil Shetye).
- Sunil Shetye's patch to bulletproof end-of-header detection.
- Sunil's fix for the STARTTLS problem -- repoll if TLS nabdshake
  fails.  The attenmpt to set up STARTTLS can be suppressed with 'sslproto ""'.
2002-12-13 14:38:52 +00:00
salo
e225805136 USE_PKGLOCALEDIR, remove unnecessary patch, delint. 2002-12-01 15:37:58 +00:00
chris
ff0f4d1afd Update makefile to use CONFIG_SUB_OVERRIDE and CONFIG_GUESS_OVERRIDE.
This is needed so fetchmail properly detects shark and cats as arm boxen.

Note it does mean that we now give warnings about missing, but there's no
glue in mk/bsd.pkg.mk to link the gnu-config/missing into a package.
Maybe there should be.

Tested on shark, cats and i386.
2002-11-24 19:55:37 +00:00
frueauf
38c0fb631c Update fetchmail{conf} to 6.1.2.
changes since 6.1.0:

fetchmail-6.1.2 (Thu Oct 31 11:41:02 EST 2002), 22135 lines:
* Jan Klaverstijn's verbosity-lowering patch.
* Updated Turkish, German, Catalan, and Danish translation files.
* Fix processing of POP3 messages with missing bodies.
* Minor fixes by Sunil Shetye: fix generation of auth fail note, handle
  unexpected SIGALRM, plug memory leak, handle lines beginning with '\0',
  try to bulletproof error handling against read failures.

fetchmail-6.1.1 (Fri Oct 18 14:53:51 EDT 2002), 22087 lines:
* OTP fix patches from Stanislav Brabec <utx@penguin.cz>
* fix patch for writing antispam capability correctly in conf.c.
* Fix patches for Debian bugs #162571, #156592.
* Correction to manpage re -b and qmail.
* Patch to disable use of STLS if auth passwd is specified.
* Fix specfile generation to handle SSL correctly.
* New Danish, Turkish, and Catalan translation files.
* Improved ODMR debug messages.
* IMAP efficiency hack; don't fetch sizes unless needed.
* Detect and rewrite invalid return paths beginning with @.
* Fix for subtle freeing bug that suppressed information in some bounce msgs.
* Newline fix patches for internationalization files.
* Fix reversed test guarding authentication-failure warnings.
* Fix POP3 breakage starting at 5.9.14.
2002-11-06 18:39:54 +00:00
itojun
0442b0d350 with gettext-lib/buidlink2.mk change, USE_GNU_GETTEXT is no longer needed 2002-10-17 00:43:54 +00:00
tron
a7a8f2dbaa Work arround build problem under NetBSD 1.6 and newer by using "libintl"
from the "gettext-lib" package.
2002-10-01 06:53:50 +00:00
frueauf
6731f17cd3 Update fetchmail{conf} to 6.1.0.
Because of the recent vulnerability, it is strongly encouraged to update
(http://security.e-matters.de/advisories/032002.html).

Thanx to Alan Post <apost@interwoven.com> for giving me a note.

fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines:

* Updated French translation.
* Stefan Esser's fix for potential remote vulnerability in multidrop mode.
  This is an important security fix!

fetchmail-6.0.0 (Tue Sep 17 19:48:25 EDT 2002), 21972 lines:

* Applied Matt Kraai's fix for minor Debian bug #144539.
* Nerijus Baliunas's patch to support STARTTLS over IMAP.
* More cleanups and minor bugfixes from Sunil Shetye.
* Default antispam-response list is now empty.
* Updated de and po translations,

fetchmail-5.9.14 (Fri Sep  6 05:03:25 EDT 2002), 21932 lines:

* Sunil Shetye's patch to eliminate multiple bounces.
* Moritz Jodeit <moritz@jodeit.org>'s patch for re-exec with no args.
* Sunil Shetye's patch to solve the re-exec problem with relative files.
* Cygwin portability patch (use ROOT_UID) from Jason Tishler.
* Workaround for the CAPA error problem is documented in the FAQ.
* Updated Polish, Danish, and Catalan translations.
* Sunil Shetye's patch to improve CAPA error handling.
* Sunil Shetye's patch to improve handling of unreadable boxes in POP3.
* Berkeley port fix for Kerberos IV.
2002-09-30 20:51:03 +00:00
jlam
3e59da7551 buildlink1 -> buildlink2. 2002-08-26 05:27:02 +00:00
mycroft
b64ebdbfb8 Update to fetchmail 5.9.13. Miscellaneous bug fixes, including a remote
crash.
2002-07-12 18:48:19 +00:00
wiz
1b90b8d13b Remove commented out USE_SSL (openssl buildlinks were already used). 2002-06-17 10:33:52 +00:00
cjep
64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00
frueauf
83205f533f Update fetchmail{conf} to 5.9.11.
Changes since 5.9.6:

fetchmail-5.9.11 (Mon Apr  1 17:09:13 EST 2002), 21597 lines:

* Updated Turkish and Japanese translations.
* Added warning about auth failures on the GMX server.
* HMH's Debian 5.9.10 patches:
1. Fix minor typo in FAQ
2. Fix partial implementation of ESMTP auth, and some minor
   fetchmailconf stuff
3. Add proper error reporting to bad logfile creation.
   patch by Sunil Shetye <shetye@bombay.retortsoft.com>
4. Fix incredible aggravating bug that caused dataloss
   risks if 4xx errors were returned by the MTA
5. Corrected version of the fix-timeouts-for-ssl and descriptor
   leaking patches from Sylvain Benoist <sylvainb@whitepj.com>
   Also fix outdated comments in driver.c
6. Sunil Shetye's patch to stop fetchmail from trying to fetch
   twice with IMAP
7. Stop stupid complaint about turning off SSL being illegal
   without SSL support.
8. Byrial Jensen <byrial@image.dk> i18n fixes
* Sunil Shetye's attribute patch.
* HMH's revised but untested SMTP authentication patch.


fetchmail-5.9.10 (Sun Mar 10 15:09:57 EST 2002), 21529 lines:

* Security fix: don't trust the message count passed back by the server.


fetchmail-5.9.9 (Sat Mar  9 08:54:28 EST 2002), 21508 lines:

* Renamed misnamed tr.po and da.po files
* Jakub Ulanowski's patch to fix SSL fingerprint handling.
* Matt Kraai's patch for supporting STLS over POP3.
* French translation updated.
* Debian fixes merged.
* Added maildrop (MDA shipped with courier) as fallback after procmail
  and sendmail (thanks to Alexander Lazic <al-fetchmail@none.at>).
* ESMTP AUTH support from Wojciech Polak <polak@lodz.pdi.net>.


fetchmail-5.9.8 (Thu Feb 14 23:47:31 EST 2002), 21358 lines:

* Added de translation catalog; updated da and tr catalogs.
* vsprintf underflow fixes by Sunil Shetye.
* Added warning about IMS POP3 server.
* Mattyhias Andree's fix for a longstanding SSL hang bug.
* Fix yacc syntax bug when building with SSL.
* Sunil Shetye's patch for idle timeout during poll.
* Applied HMH's fix for the "message delimiter found in headers" code path
  (Debian bug #128672).


fetchmail-5.9.7 (Sat Feb  2 00:33:40 EST 2002), 21330 lines:

* Minor fixes by HMH.
* Properly guard some transaction reporting in the SSL code.
* Updated German (de) po file.  Added Turkish (tr) po file.
* Expunge edge case fix by Sunil Shetye.
* Fixes for some odd IMAP and SMTP edge cases by Sunil Shetye.
* UIDL bug fix by Matthias Andree.
* Use smtpaddress, if present, to set the return path on warning mail.
* Tell parser to object when SSL keyboard is used with SSL not compiled.
* GSSAPI and ODMR fixes by Tom Hughes.
2002-04-06 16:53:01 +00:00
skrll
0e0e72714d There is no reason for the BUILD_DEPENDS on autoconf (any more) 2002-02-13 22:59:02 +00:00
wiz
31c7ad8464 Use PKGREVISION instead of manually adding nb1. 2002-01-22 20:51:39 +00:00
jdolecek
0e3b5047bb bump version to nb1 - cs.po change 2002-01-22 20:46:45 +00:00
jdolecek
ca8a6cce60 patch-ae added, regenerate 2002-01-22 20:41:00 +00:00
jdolecek
04d552321c Fixes to cs.po - avoid using N$ parameter in messages, it's not
supported on NetBSD, fix entries to better match english original
and be more condense, add couple missing spaces here and there.

Change already submitted to Jiri Pavlovsky, the maintainer of the czech
translation of fetchmail.
2002-01-22 20:40:16 +00:00
frueauf
b81c9f09c6 Update fetchmail{conf} to 5.9.6.
fetchmail-5.9.6 (Fri Dec 14 04:03:50 EST 2001), 21247 lines:

* OPIE bug fixes by Jun Miyoshi <usako@omnisci.co.jp>.
* Documented known IDLE bug in the todo.html file.
* Sunil Shetye's fix for a timeout/reconnect bug.
* LMTP fix from Toshiro HIKITA <toshi@sodan.org>.
* The duplicate-killer doesn't try to operate if we can get an actual
  recipient address from the trace headers.
2001-12-30 12:05:12 +00:00
frueauf
28790bfc41 Update fetchmail{conf} to 5.9.5.
fetchmail-5.9.5 (Thu Nov  8 14:14:35 EST 2001), 21162 lines:

* Changed the logging logic along lines suggested by Jan Klaverstijn,
* fetchmailconf looks first in the directory it's running from to find
  fetchmail.
* Make sure we vet a success status correctly from open_smtp_sink()
  and open_bsmtp_sink().
* Matthias Andree's env.c patch to refuse service when QMAILINJECT is defined.
* Immediately abort if a non-empty QMAILINJECT environment variable is
  found. If it is set and contains f or i, qmail-inject or qmail's
  sendmail `compatibility' wrapper will rewrite From: or Message-ID:
  headers, respectively. En passant, fix the bug that program_name was
  not filled in before used when the user's ID had no PW entry, leading
  to (null) or crash when printing the error message. Patch by Matthias
  Andree.
* NextStep and OpenStep port patch from Eric Sunshine.
* Block signals during SockConnect() so we don't get a socket descriptor
  leak if we're hit by an alarm signal during connect(2).
* Set queryname even when server is inactive; avoids a core-dump bug in
  the fetchids code.
2001-11-12 17:33:42 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
c96c9806bc Remove commented USE_LIBINTL definitions ... we already use the
gettext-lib/buildlink.mk file.
2001-10-27 07:00:52 +00:00
mycroft
92b1e098d9 Patch a typo that causes Kerberos support to not compile. 2001-10-06 17:59:29 +00:00
frueauf
e84a8f8d3e Upgrade fetchmail{conf} to 5.9.4.
fetchmail-5.9.4 (Wed Oct  3 07:47:45 EDT 2001), 21104 lines:

* Finished license cleanup, all licenses in the distribution are now
  officially GPL-compatible.
* Added a length check to from64tobits() after receiving a warning that
  it might create buffer overflows.  No exploitable overflows were found by
  a careful case-by-case audit, and at minimum an exploit would have required
  that the mailserver be subverted.

fetchmail-5.9.3 (Sun Sep 30 12:08:52 EDT 2001), 21075 lines:

* Fix configuration error in handling of long options.
* Thomas Moestl's patch to use querynames in UID files.
* Timeout to deal with long socket closes (Sunil Shetye).
* Move from RSA MD5 code to Colin Plumb's public-domain implementation (BSD
  classic license eliminated)
* Rewrite strcasecmp() (BSD classic license eliminated).
* getopt_long is back for Solaris and HP-UX systems.
* Updated Danish po file.
* Re-enable explicit bounce message on bad address.

fetchmail-5.9.2 (Wed Sep 26 12:47:00 EDT 2001), 21118 lines:

* Enable code to build on Solaris again (long options won't work).
* Move Hesiod lookups to just before DNS lookups.
* Make sure the SICHLD handler is called when we run detached.
* Make kerberos5 in OpenBSD (Federico Schwindt <fgsch@olimpo.com.br>).
* Added FAQ item X8 on why mail sometimes gets an extra ) appended.

fetchmail-5.9.1 (Mon Sep 24 19:01:57 EDT 2001), 21120 lines:

* Make -D short option for --smtpaddress active again.
* Typo fix for Polish translation.
* Make sure IMAP capability checks are caseblind.
* Make sure suffix checks on akalists are properly caseblinded.
* All warning mail now has a generated date stamp.
* getopt.c and getopt1.c removed due to license incompatibility with OpenSSL.
* End of poll cycle is now logged.
* Sanity check now rejects SSL option if SSL support is not compiled in
  (resolves Debian bug #109796).
* HMH's fix for the LMTP localhost/foo problem.
* Mike Warfield's fix for using a combined SSL cert and key in a single file.
* DNS lookups moved to just before the mailserver socket open, so fetchmail
  now works OK even if started up without Internet access.
* Switched from _( to GT_( as a gettext macro, in order to avoid a
  conflict with the SSL library.
2001-10-06 17:18:05 +00:00
frueauf
3df4a57a14 Update fetchmail{conf} to 5.9.0 and apply patch provided in pr 14031
by Xavier HUMBERT <xavier@xavhome.fr.eu.org>.
2001-09-23 10:53:37 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
tron
175359bf8b Update 'fetchmail' package to version 5.8.17. Changes since version 5.8.14:
- SECURITY FIX: Fixed a security hole that is exploitable if fetchmail is
  running as root and the attacker can either subvert the mailserver or
  redirect to a fake one using DNS spoofing.  Bugtraq announcement to follow
  soon.  Thanks to Salvatore Sanfilippo <antirez@invece.org>.
- Eliminated second bounce on failed RCPT TO address.
- Always use fetchmail host's FQDN to identify the daemon when
  sending bounce messages.
- Embarrassing bug of the month -- somehow, 'skip' wasn't being interpreted!
- Handle ! in RFC2821 Return-Path addresses properly.
- Better handling of BAD and NO responses to FETCH (thank Justin Guyett).
- Fixed *yet another- build error due to breakage in the i18n code.
- Refuse mail that has no good addresses and can't be sent to postmaster.
- Restore behavior of discarding mail on 550 (Debian bug #105237).
- John Summerfield updated getfetchmail.
- Cleanup patches by HMH.
- Lock-file-name bug reported by Scott Johnson.
- Updated Danish translation by Byrial Jensen.
- Updated French translation by Thierry Vignaud.
- Man page bugs pointed out by Andrew Benham.
- POP3 end of session RSET on keep removed.
- In IMAP, handle BAD and NO responses to FETCH gracefully.
- Parse 'no {syslog|invisible|showdots}' properly.
- Change AC_DEFINE to AC_DEFINE_UNQUOTED appropriately in configure.in
  (Debian bug #104484).
- Fixed bug in fetchmailconf plugin/plugout code (Debian bug #105987).
2001-08-10 05:31:40 +00:00
tron
1afee94795 Fix build problem under NetBSD-current noted by Launey Thomas in
private e-mail as proposed by Johnny C. Lam.
2001-07-31 16:19:08 +00:00
tron
2965c24bec Update "fetchmail" and "fetchmailconf" package to version 5.8.14. Changes
since version 5.8.10:
- Corrected Rob Braun's remote-build change, it broke the build with NLS.
- Found (and killed) a subtle SMTP protocol error that was probably lurking
  behind a lot of the bug reports related to bounce mail, thanks to Quoc Luu.
  (Only manifested when the MTA rejected mail due to a bad RCPT TO address.)
- Correction for backslash-handling patch in rfc822.c.
- Fix for Debian bug Bug#1038222: fetchmail conf fails to write file
  after configuration; move .fetchmailrc to .fetchmailrc.bak before
  overwriting.
- Discard Return-Path headers consisting of a single @.
- Make fetchmailconf dump plugin and plugout options properly.
- Rob Braun's changes for building fetchmail outside its source directory
- Don't depend on having snprintf available.
- Bug fix for envskip.
- ODMR finally seems to be working.
- Handle multiple backslashes within RFC822 address strings correctly.
- Don't exit on a failure to DNS-resolve a mailserver name, just
  make it inactive.  Exit only if all lookups fail.
- Restore code to deal with SMTP error responses at RCPT TO time, but
  without issuing an RSET.  This is intended to fix obscure bugs that
  show up in recent Postfix releases and sendmail configurations that
  delay antispam checks on the MAIL FROM line until RCPT TO time.
- Signal-processing fix for Debian bug #102711.
- More ODMR patches from Matt Armstrong.
2001-07-29 07:30:59 +00:00
jlam
7b9c9cf905 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-27 04:28:48 +00:00
jlam
8afe65d91c Whitespace changes only. 2001-06-27 04:17:35 +00:00