Commit graph

9355 commits

Author SHA1 Message Date
joerg
32230bb192 Missing include. 2017-02-17 17:08:32 +00:00
joerg
d17c97fdc2 Needs libtool. 2017-02-17 17:08:14 +00:00
wiz
cc11725670 Add missing patch for 1.4.3 update. 2017-02-17 15:01:52 +00:00
wiz
15add09660 Updated rspamd to 1.4.3 based on changes in wip by Bartosz Kuzma.
1.4.3:
	* [CritFix] Backport PTR_ARRAY_FOREACH fix
	* [CritFix] Fix descriptors leak on reload
	* [Feature] Add `caseless_hash` method to `lua_util`
	* [Feature] Use t1ha for hashes, allow inlining
	* [Feature] Use t1ha instead of metrohash and xxhash32
	* [Fix] Another try to fix descriptors leak
	* [Fix] Another try to fix reload and logger
	* [Fix] Avoid extensive reallocs
	* [Fix] Avoid race condition on saving cache and reload
	* [Fix] Backport redis pool fixes from master
	* [Fix] Break pool connection on fatal redis errors
	* [Fix] Fix argument returned on redis backend errors
	* [Fix] Fix errors handling in fuzzy backend initialization
	* [Fix] Fix race condition in SIGUSR2 handler
	* [Fix] Fix reload and hyperscan ready event
	* [Fix] More fixes to logger initialization
	* [Fix] Plug memory leak in learning fuzzy storage

1.4.2:
	* [CritFix] Deal with absent headers in DKIM
	* [CritFix] Do not trust remote shingles count
	* [CritFix] Fix headers selection in DKIM verification
	* [Feature] Add EXT_CSS rule
	* [Feature] Add toggle for disabling SURBLs
	* [Feature] Extend redis lock when learning spawned
	* [Feature] Parse <link> HTML tags
	* [Fix] Avoid reusing g_error (Fixes #1262)
	* [Fix] Do not reset loaded ANN when learning is requested
	* [Fix] Fix another issue with external deps in SA
	* [Fix] Fix body trie matching
	* [Fix] Fix checking of DKIM bodies that needs just `\n` to be added
	* [Fix] Fix fuzzy hashes count
	* [Fix] Fix keys names
	* [Fix] Fix length calculations for url encoded urls
	* [Fix] Fix matching of the same patterns from different tries
	* [Fix] Fix name of var
	* [Fix] Fix parsing of URLs with spaces and other bad chars
	* [Fix] Fix probability calculations for fuzzy redis backend
	* [Fix] Fix signing headers creation in DKIM
	* [Fix] Plug memory leak
	* [Fix] Really fix chained SA dependencies
	* [Fix] Really increase lock lifetime
	* [Fix] Use checksum to avoid intersection between different ANNs
	* [Fix] Use rspamd hashes in embedded ucl
	* [Fix] Yet another change for testing external deps

1.4.1:
	* [Feature] ASN support in Clickhouse module
	* [Feature] Add clickhouse plugin
	* [Feature] Add generic tool to add universal maps for lua modules
	* [Feature] Add logger.debugm to debug lua modules
	* [Feature] Allow to register metrics symbols using register_symbol
	* [Feature] Allow to specify prefix for fann_redis
	* [Feature] Clickhouse: support different masks for IPv4/IPv6
	* [Feature] Support forcing action in antivirus plugin
	* [Fix] Add handling of regexp maps
	* [Fix] Allow backslashes in http urls
	* [Fix] Avoid mapping of empty files
	* [Fix] Do not load tld file to speed up rspamadm
	* [Fix] Do not resolve numeric IP addresses due to ipv6 insanity
	* [Fix] Filter incorrect training data
	* [Fix] Fix Fuzzyconvert tool when password or DB is given
	* [Fix] Fix build with custom glib/gmime
	* [Fix] Fix converting of learn count from sqlite to redis
	* [Fix] Fix crashes with invalid received and task:set_from_ip
	* [Fix] Fix external dependencies for SA module
	* [Fix] Fix fann_redis when number of scores has been changed
	* [Fix] Fix hyperscan usage for non compatible platforms
	* [Fix] Fix loading of maps from UCL objects
	* [Fix] Fix memory leak for task-less redis requests
	* [Fix] Fix mid module with new maps syntax
	* [Fix] Fix parsing of URLs with username
	* [Fix] Fix re cache initialisation
	* [Fix] Fix replacements to sanitize '%' character
	* [Fix] Fix set and regexp like static maps
	* [Fix] Fix some issues in redis settings
	* [Fix] Fix static IP maps
	* [Fix] Fix total learns counter for redis stats
	* [Fix] Fix usage of config during reload
	* [Fix] Fix various warnings and issues
	* [Fix] Invalidate ANN if training data is incorrect
	* [Fix] Miltiple fixes to fann_redis module
	* [Fix] More fixes for URLs with backslashes
	* [Fix] Properly get options for ip_score module
	* [Fix] Relax requirements for Received as gmail cannot RFC
	* [Fix] Remove or fix hyperscan incompatible regexps
	* [Fix] Settings: correctly read redis config
	* [Rework] Rework lua logger interface slightly
	* [Rework] Use new maps add function

1.4.0:
	* [CritFix] Add guards for inactive redis connections
	* [CritFix] Another fix for proxying files using rspamd_proxy
	* [CritFix] Cleanup inactive redis connections
	* [CritFix] Do not sometimes try to exec posfilters before classification
	* [CritFix] Fix application of IPv6 mask
	* [CritFix] Fix chunked encoding when reading messages
	* [CritFix] Fix file mode for rspamd_proxy
	* [CritFix] Fix hyperscan compilation on regexp change
	* [CritFix] Fix issue with finding of end of lines pointers
	* [CritFix] Fix iteration over headers array (introduced in 1.4)
	* [CritFix] Fix processing of learned tokens count for redis backend
	* [CritFix] Fix race condition in checking of cached maps
	* [CritFix] Fix workers scripts by sharing workers configs
	* [CritFix] Introduce raw content to text parts
	* [CritFix] Plug memory leak and potential memory corruption
	* [Feature] Adaptive ratelimits
	* [Feature] Add ASN -> rbldnsd script for asn.rspamd.com
	* [Feature] Add DMARC_NA symbol
	* [Feature] Add F-Prot support to antivirus module
	* [Feature] Add HTTP backend to metadata exporter
	* [Feature] Add Lua API module for monitored objects
	* [Feature] Add R_DKIM_NA / R_SPF_NA / AUTH_NA symbols
	* [Feature] Add R_DKIM_PERMFAIL symbol
	* [Feature] Add R_SPF_PERMFAIL symbol
	* [Feature] Add Sophos antivirus support
	* [Feature] Add ZSTD compression to Lua API
	* [Feature] Add `mid` Lua module
	* [Feature] Add `one_param` flag for metric symbols
	* [Feature] Add a generic lua classifier
	* [Feature] Add a very basic interface to access workers data from on_load
	* [Feature] Add ability to delete a hash by its data to fuzzy_check plugin
	* [Feature] Add ability to enable/disable symbols via dynamic_conf
	* [Feature] Add ability to lookup settings by key
	* [Feature] Add common way to disable Lua modules
	* [Feature] Add compression support to rspamd client
	* [Feature] Add condition to do antiviral check
	* [Feature] Add configuration for lua classifiers
	* [Feature] Add configuration knobs for the errors circular buffer
	* [Feature] Add decompression support in rspamd client
	* [Feature] Add errors exporter to the controller
	* [Feature] Add expected value for monitored DNS resources
	* [Feature] Add exporter from error ringbuf to ucl
	* [Feature] Add extended version for fann creation function
	* [Feature] Add ffi friendly version of process_regexp function
	* [Feature] Add frequency and time display to webui
	* [Feature] Add fuzzy_delhash command to rspamc client
	* [Feature] Add implementation of redis connections pool
	* [Feature] Add latency and offline time monitoring
	* [Feature] Add learning support for lua classifiers
	* [Feature] Add max-size and timeout options to CGP helper
	* [Feature] Add method to enable/disable symbols in config
	* [Feature] Add methods to get metric's actions and symbols from Lua
	* [Feature] Add mmap support to lua_text
	* [Feature] Add monitored object for surbl plugin
	* [Feature] Add more exceptions to surbl whitelist
	* [Feature] Add more meta-tokens to bayes
	* [Feature] Add neural net classifier to fann_scores module
	* [Feature] Add neural net serialization/deserialization
	* [Feature] Add new dynamic conf module
	* [Feature] Add periodic events support for lua_config
	* [Feature] Add plugin to check MX'es for the sender's domain
	* [Feature] Add preliminary monitored module
	* [Feature] Add preliminary support of dynamic conf updates in Redis
	* [Feature] Add preliminary version of clamav plugin
	* [Feature] Add redis cache to asn module
	* [Feature] Add replies compression
	* [Feature] Add spamhaus DROP dnsbl
	* [Feature] Add support for dictionary in client compression
	* [Feature] Add support for fuzzy learn and unlearn from lua
	* [Feature] Add support for input encryption
	* [Feature] Add support of min_learns to neural net classifier
	* [Feature] Add termination callbacks for workers
	* [Feature] Add user-agent for rspamc
	* [Feature] Add utility to perform classifier tests
	* [Feature] Add zstd compression library
	* [Feature] Allow HTTPS requests in lua_http
	* [Feature] Allow conditions for pre and postfilters
	* [Feature] Allow custom functions for ratelimits
	* [Feature] Allow for excluding messages from AV scanning based on size
	* [Feature] Allow for getting worker stats from Lua
	* [Feature] Allow getting task UID from Lua
	* [Feature] Allow parsing of mailbox messages from the commandline
	* [Feature] Allow plugins to publish their lua API via rspamd_plugins
	* [Feature] Allow to compare other systems with Rspamd
	* [Feature] Allow to execute Lua scripts by controller
	* [Feature] Allow to have a function to set custom greylist message
	* [Feature] Allow to iterate over multiple tags
	* [Feature] Allow to pass extra data from plugins to log helper
	* [Feature] Allow to plan new periodics at different time
	* [Feature] Allow to reset hashes
	* [Feature] Allow to run rspamadm lua just as a lua interpreter
	* [Feature] Allow to store settings in redis
	* [Feature] Allow to update dynamic conf in Redis
	* [Feature] Allow to use dictionaries for compression
	* [Feature] Allow to use md5, sha1, sha256, sha384 and sha512 hashes in Lua
	* [Feature] Allow whitelisting by IP for greylisting plugin
	* [Feature] Antivirus: Support whitelists & pattern-matching sig names
	* [Feature] Backport pack/unpack routines from Lua 5.3
	* [Feature] Check settings with equal priopities in alphabetical order
	* [Feature] Compress neural net in redis
	* [Feature] Consider more tags when doing WHITE_ON_WHITE rule
	* [Feature] Descriptive options for DMARC failure symbols
	* [Feature] Descriptive options for RBL symbols
	* [Feature] Enable configuration for monitored objects
	* [Feature] Execute on_load scripts with ev_base ready
	* [Feature] Fann scores now uses metadata from a message
	* [Feature] Implement FANN threaded learning
	* [Feature] Implement classifying for lua classifiers
	* [Feature] Implement finish scripts for worker processes
	* [Feature] Implement monitoring for DNS resources
	* [Feature] Implement real priorities for pre and post filters
	* [Feature] Insert two symbols: FANN_HAM and FANN_SPAM instead of one
	* [Feature] Module to push metadata/messages to redis pubsub
	* [Feature] Monitor RBL records
	* [Feature] Move fann_classifier to a separate plugin
	* [Feature] Normalize all ANN inputs
	* [Feature] Preliminary version of metric exporter module
	* [Feature] Preserve decompression context between tasks
	* [Feature] Ratelimit: Support dynamic bucket size/leak rate
	* [Feature] Relax FORGED_RECIPIENTS: allow senders to BCC themselves
	* [Feature] Remove symbols weights on composites processing
	* [Feature] Return symbol scores when getting resulting symbols
	* [Feature] Rework lua tcp module
	* [Feature] Rule to detect some obvious X-PHP-Originating-Script forgeries
	* [Feature] Rule to identify some X-PHP-Script forgeries
	* [Feature] Rules for scoring Google Message-ID fixes
	* [Feature] Send hashes values to reply
	* [Feature] Set expire for dmarc reports
	* [Feature] Stop using cymru zone as it is unstable
	* [Feature] Stop using of GLists for headers, improve performance
	* [Feature] Store `for` in task:get_received_headers
	* [Feature] Store `for` part in received headers
	* [Feature] Store enabled flag for webui session
	* [Feature] Store error messages in ring buffer
	* [Feature] Support compressed maps
	* [Feature] Support excluding selected users from ratelimits
	* [Feature] Support looking up NS records in lua_dns
	* [Feature] Support modern style SURBL configuration
	* [Feature] Support multiple hashes in delhash path
	* [Feature] Support new messages in rspamc
	* [Feature] Support requests without reads in lua_tcp
	* [Feature] Support setting task message from Lua
	* [Feature] Track visibility of HTML elements
	* [Feature] Try to add CRLF when checking DKIM
	* [Feature] Try to guess line endings when folding headers
	* [Feature] Try to improve normalization function for bayes
	* [Feature] Use FFI to optimize SA module
	* [Feature] Use length based arguments for redis, allow lua_text as arg
	* [Feature] Use more layers for fann and another normalization
	* [Feature] User-defined ratelimits
	* [Feature] Utility to convert fuzzy storage from sqlite to redis
	* [Feature] Yield DMARC_DNSFAIL on lookup failure
	* [Fix] Adopt fuzzy storage for flexible backends
	* [Fix] Allow plain IP addresses in Rspamd maps
	* [Fix] Another fix for brain-damaged hiredis
	* [Fix] Another fix for rdns write errors
	* [Fix] Another fix for rdns_make_request_full invocation
	* [Fix] Another fix in DKIM canonicalization
	* [Fix] Another memory leak plugged
	* [Fix] Another try to deal with posix idiotizm
	* [Fix] Another try to fix RDNS events processing logic
	* [Fix] Avoid double frees in HEAD requests
	* [Fix] Avoid extra symbols for RBLs
	* [Fix] Banish table.maxn from Lua parts
	* [Fix] Check for socket error before connection in lua_tcp
	* [Fix] Correctly propagate redis timeouts to Lua
	* [Fix] Do not add extra newline in MIME mode
	* [Fix] Do not be cheated by system hiredis
	* [Fix] Do not classify when a message has not enough tokens
	* [Fix] Do not crash on redis errors
	* [Fix] Do not distinguish NXDOMAIN and NOREC for monitored
	* [Fix] Do not replan retransmits if merely one server is defined
	* [Fix] Do not use headers to calculate messages digests
	* [Fix] Don't force action in replies module for authenticated users/local networks
	* [Fix] Explicitly ban default passwords in webui
	* [Fix] Finally fix ambiguity between parsed and resolved spf elts
	* [Fix] Fix 'decoded' value in task:get_header_full()
	* [Fix] Fix DKIM calculations
	* [Fix] Fix DKIM signing for messages with no newline at the end
	* [Fix] Fix DNS request in monitored
	* [Fix] Fix DNS write errors processing
	* [Fix] Fix HTTP methods other than GET and POST
	* [Fix] Fix PERMFAIL for v6/v4 ambiguities
	* [Fix] Fix absurdic scores for HFILTER_URL_ONLY
	* [Fix] Fix actions in rolling history
	* [Fix] Fix actrie patterns
	* [Fix] Fix applying of lua dynamic confg
	* [Fix] Fix autolearning errors and redis cache
	* [Fix] Fix bayes learn_condition
	* [Fix] Fix build with the recent OpenSSL
	* [Fix] Fix caching and compressed maps
	* [Fix] Fix check plain text part
	* [Fix] Fix crash on OpenBSD in `url_email_start`
	* [Fix] Fix double free in SPF
	* [Fix] Fix extraction of shingles from redis fuzzy storage
	* [Fix] Fix false sharing for symbols in the cache
	* [Fix] Fix float usage in util:get_time
	* [Fix] Fix folding algorithm to deal with empty tokens
	* [Fix] Fix format string
	* [Fix] Fix format string usage in controller errors handling
	* [Fix] Fix handling of '\0' in lua_tcp
	* [Fix] Fix handling of HTTP HEAD methods
	* [Fix] Fix hash creation
	* [Fix] Fix hiredis stupidity
	* [Fix] Fix implicit settings module settingsup
	* [Fix] Fix interaction with lua GC to avoid craches
	* [Fix] Fix ip_score module registration
	* [Fix] Fix issue with empty messages and dkim
	* [Fix] Fix issues with CGP helper
	* [Fix] Fix issues with the recent SPF changes
	* [Fix] Fix key name to load ANN correctly
	* [Fix] Fix lua tcp module by saving `do_read` in callback data
	* [Fix] Fix memory leak in client when using compression
	* [Fix] Fix min_learns option
	* [Fix] Fix on_finish scripts and async handlers
	* [Fix] Fix options for SPF dnsfail symbol
	* [Fix] Fix parsing includes and redirects in SPF
	* [Fix] Fix parsing of lua comments with empty lines
	* [Fix] Fix parsing of unquoted HTML attributes
	* [Fix] Fix periodic events and redis
	* [Fix] Fix processing of fuzzy learns from Lua
	* [Fix] Fix processing of redirect in SPF includes
	* [Fix] Fix processing of symbols when reject limit is reached
	* [Fix] Fix refcounts when map is specified by IP
	* [Fix] Fix rspamd{session} class in Lua API
	* [Fix] Fix setting ratelimit key for 'ip' bucket
	* [Fix] Fix some cases of TLD urls detector
	* [Fix] Fix statconvert tool
	* [Fix] Fix stats for backend-less classifiers
	* [Fix] Fix training script for fann_redis
	* [Fix] Fix variable in ann module
	* [Fix] Fix various errors in lua dynamic conf plugin
	* [Fix] Forget old ANN when max_usages is reached to avoid overtrain
	* [Fix] Further canonicalization fixes
	* [Fix] Further fixes for fann_redis prefixes
	* [Fix] Handle failures for inactive pooled connections
	* [Fix] Improve multimap info message
	* [Fix] More fixes in ANN loading
	* [Fix] More fixes to fann_redis
	* [Fix] More issues in fann_redis
	* [Fix] More spaces fix in DKIM signature
	* [Fix] Multiple fixes to asn script, add IPv6 support
	* [Fix] Multiple issues in fann_redis
	* [Fix] No greylist rejected messages
	* [Fix] One more attempt to fix lua_redis
	* [Fix] One more check for readdir...
	* [Fix] Params should be treated as a hash
	* [Fix] Plug memory leak in regexp desctructor
	* [Fix] Process headers only once
	* [Fix] Properly handle nil values in ratelimit plugin
	* [Fix] Really fix redis shingles check
	* [Fix] Remove fann with incorrect layers count
	* [Fix] Remove mentions of deleted include
	* [Fix] Remove some incompatible functions
	* [Fix] Settings: fix `authenticated` parameter (#886)
	* [Fix] Skip MX check for authenticated users and local networks
	* [Fix] Slightly fix ANN routines
	* [Fix] Stop caching records with DNS failures
	* [Fix] Treat all errors in redis_pool as fatal errors for a connection
	* [Fix] Try avoid false-positives in HEADER_FORGED_MDN rule
	* [Fix] Try to avoid race condition when using rrd
	* [Fix] Try to reload redis scripts if they are missing
	* [Fix] Unbreak once_received skipping for local networks
	* [Fix] Unlock ANN on error
	* [Fix] Use memmove for overlapping regions
	* [Fix] Use real size instead of displayed for core limits
	* [Fix] Use the correct macro to get the size of control
	* [Fix] Various fixes for errors ringbuffer
	* [Fix] Yield R_SPF_DNSFAIL if lookup of included record fails
	* [Fix] mid: fix map initialization
	* [Fix] mid: handle incorrect rgexps in the map
	* [Rework] Add extract training data function to fann_redis
	* [Rework] Add preliminary train tests
	* [Rework] Add redis storage feature to fann_redis
	* [Rework] Adopt fuzzy storage for abstract backend
	* [Rework] Adopt plugins
	* [Rework] First reiteration on fann scores
	* [Rework] Implement loading/invalidating
	* [Rework] Make lua_redis task agnostic
	* [Rework] Make rspamd protocol messages useful
	* [Rework] Massive removal of legacy code
	* [Rework] More cleanup actions
	* [Rework] Remove legacy code never used for classifiers
	* [Rework] Remove outdated and unused lua_session module
	* [Rework] Reorganize fuzzy backend structure
	* [Rework] Reorganize the internal backend structure
	* [Rework] Restore old fann_scores, move common parts
	* [Rework] Rework and simplify rbl plugin
	* [Rework] Rework parsing of DMARC records
2017-02-17 15:01:33 +00:00
wiz
9a71a5aae7 Updated neomutt to 20170206.
2017-02-06  Richard Russon  <rich@flatcap.org>
* Bug Fixes
  - Unicode 0x202F is a non-break space too (#358) (@gahr)
  - improve readability of find_subject() (@toogley)
  - Import hcache-lmdb fixes from upstream (#363) (@gahr)
  - Rework the "inbox-first" implementation to make code self-explanatory (#356) (@gahr)
  - If possible, only redraw after gpgme has invoked pinentry (#352) (@gahr)
  - Remove two use-after free in global hooks (#353) (@guiniol)
  - Handle BAD as IMAP_AUTH_UNAVAIL (#351) (@gahr)
  - Do not crash when closing a non-opened mailbox (origin/requests/github/343) (@gahr)
  - Import hcache benchmark (@gahr)
  - fix: bug introduced by mkdir changes (#350)
  - change pager to allow timehook-hook to fire
* Docs
  - Update documentation about modify-labels-then-hide (@bbenne10)

2017-01-28  Richard Russon  <rich@flatcap.org>
* Features
  - Add option for missing subject replacement
  - notmuch: Allow <modify-labels> to toggle labels
  - Support for aborting mailbox loading
  - Do a buffy check after shell escape
  - Support of relative paths sourcing and cyclic source detection
  - Support of multiple config files as CLI arguments
  - Extend the ~m pattern to allow relative ranges
  - Implement SASL's PLAIN mechanism as a standalone authenticator
  - Add support for sensitive config options
  - Searching with a window over notmuch vfolders
* Contrib
  - fix vim syntax file for index-color commands
  - add .editorconfig
* Bug Fixes
  - fix global hooks to not take a pattern
  - Avoid breaking relative paths when avoiding cyclic checks on
  - Fix sorting when using '/' as a namespace separator
* Docs
  - Added waffle badges to readme
  - Describe the new message ranges
  - add documentation for -DS command line switch
  - fix typos in section on config locations
  - remove reference to missing keybinding
  - fix docbook validation
* Build
  - Start migrating to stdbool logic
  - add recursive mkdir()
  - reformat the source to mutt standards
  - appease check_sec.sh
2017-02-17 14:03:30 +00:00
wen
8cc32dd076 Update to 1.940
Upstream changes:
1.940     2017-01-29 10:33:45-05:00 America/New_York
        - no code changes since 1.939 trial release

1.939     2017-01-14 14:58:44-05:00 America/New_York (TRIAL RELEASE)
        - do not decode MIME headers known to be never encoded (Pali Roh獺r)
        - ...and that includes the Downgraded-* headers (Pali Roh獺r)

1.938     2017-01-01 20:03:38-05:00 America/New_York (TRIAL RELEASE)
        - numerous small fixes to header encoding (thanks, Pali Roh獺r)
          for more details see https://github.com/rjbs/Email-MIME/pull/32
        - When a single-part content type has been provided with multiple
          parts, the user is now warned that the type has been changed to
          multipart/mixed.  This helps catch typos like
          "mutlipart/alternative".
2017-02-13 13:31:07 +00:00
ryoon
72c3cb198b Recursive revbump from fonts/harfbuzz 2017-02-12 06:24:36 +00:00
mef
579fe5e913 Add file buildlink3.mk 2017-02-12 02:30:07 +00:00
mef
45cccf9b23 Added mail/courier-unicode version 1.4 2017-02-12 02:16:27 +00:00
mef
a349a48a8e Import courier-unicode-1.4 as mail/courier-unicode.
This library implements several algorithms related to the Unicode Standard:
 -  Look up uppercase, lowercase, and titlecase equivalents of a unicode
    character
 -  Implementation of grapheme and work breaking rules
 -  Implementation of line breaking rules
 -  Several ancillary functions, like looking up the unicode character
    that corresponds to some HTML 4.0 entity (such as "&amp;", for example),
    and determining the normal width or a double-width status of a unicode
    character. Also, an adaptation of the iconv(3) API for this unicode
    library
 -  Look up the Unicode script property
 -  Look up the category property
This library also implements C++ bindings for these algorithms.
2017-02-12 02:14:01 +00:00
ryoon
a4f7b6c64d Update to 45.7.0
* Sync with thunderbird-45.7.0
2017-02-11 08:10:28 +00:00
ryoon
37cb01262b Update to 45.7.0
Changelog:
    Fixed Message preview pane non-functional after IMAP folder was renamed or moved
    Fixed "Move To" button on "Search Messages" panel not working
    Fixed Message sent to "undisclosed recipients" shows no recipient (non-functional since Thunderbird version 38)
    Fixed Calendar: No way to accept/decline email invitations when sent and received messages are stored in the same folder
    Fixed Various security fixes

Security fixes:
 #CVE-2017-5375: Excessive JIT code allocation allows bypass of ASLR and DEP
 #CVE-2017-5376: Use-after-free in XSL
 #CVE-2017-5378: Pointer and frame data leakage of Javascript objects
 #CVE-2017-5380: Potential use-after-free during DOM manipulations
 #CVE-2017-5390: Insecure communication methods in Developer Tools JSON viewer
 #CVE-2017-5396: Use-after-free with Media Decoder
 #CVE-2017-5383: Location bar spoofing with unicode characters
 #CVE-2017-5373: Memory safety bugs fixed in Thunderbird 45.7
2017-02-11 08:09:08 +00:00
joerg
48b596a187 Fix conflict between implementation and prototype. 2017-02-09 00:19:15 +00:00
wiz
7ac05101c6 Recursive bump for harfbuzz's new graphite2 dependency. 2017-02-06 13:54:36 +00:00
rillig
752dfb5c48 Fixed PKGREVISION to be only defined directly in the package Makefile. 2017-01-21 23:49:01 +00:00
ryoon
f62b809c5a Recursive revbump from audio/pulseaudio-10.0 2017-01-21 20:06:44 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
wen
eeba5283d7 Update to 2.213
Upstream changes:
2.213     2017-01-11 09:21:54-05:00 America/New_York
        - no changes since v2.212

2.212     2016-12-18 20:05:09-05:00 America/New_York (TRIAL RELEASE)
        - add an $index arg to ->header to get the nth header (thanks, Pali
          Roh獺r)
2017-01-18 12:25:13 +00:00
wiz
5c95a47075 Include sys/time.h for struct timeval.
Build fix for NetBSD-7.99.59.
2017-01-17 15:39:40 +00:00
wiz
9735ca53c3 Updated neomutt to 20170113.
2017-01-13  Richard Russon  <rich@flatcap.org>
* Features
  - Allow custom status flags in index_format
  - $from_chars highlights differences in authorship
  - notmuch: make 'Folder' and 'Tags' respect (un)ignore
  - notmuch: add "virtual-unmailboxes" command
* Bug Fixes
  - pick smarter default for $sidebar_divider_char
  - status color breaks "mutt -D"
  - Enable reconstruct-thread in the pager
  - manually touch 'atime' when reading a mbox file
  - allow $to_chars to contain Unicode characters
  - increase the max lmdb database size
  - restore limit current thread
  - don't reset the alarm unless we set it
  - some more places that may get NULL pointers
  - rework initials to allow unicode characters
* Translations
  - Spanish translation
  - German translation
* Docs
  - Improve whitespace and grammar on the NNTP feature page
  - make $to_chars docs more legible
  - de-tab the DocBook
  - fix 301 redirects
* Build
  - New configure option --enable-everything
  - add a constant for an aborted question
  - enhance mutt_to_base64() (and callers)
  - Fix configure.ac to require md5 if hcache is enabled
  - Bail if a selected hcache backend cannot be found
  - refactor mutt_matches_ignore
  - fix hcache + make dist
  - add unicode string helper function
  - Re-indent configure.ac
  - generate devel version suffix
  - fix check_sec.sh warnings
  - remove unnecessary #ifdef's
  - add missing #ifdef for nntp
  - ignore some configure temp files
  - fix "make dist" target
  - fix function prototypes
  - fix coverity warnings
  - notmuch: drop strndup, replace with mutt_substrdup
* Upstream
  - Fix failure with GPGME 1.8: do not steal the gpgme_ prefix.
  - search muttrc file according to XDG Base Specification (closes #3207)
  - Improve openssl interactive_check_cert. (closes #3899)
  - Add mutt_array_size macro, change interactive_check_cert() to use it. (see #3899)
  - Return to pager upon aborting a jump operation. (closes #3901)
  - Change sidebar_spoolfile coloring to be lower precedence.
  - Move '@' pattern modifier documentation to the right section.
  - Add setenv/unsetenv commands.
  - Rework OpenSSL certificate verification to support alternative chains. (closes #3903)
  - Add option to control whether threads uncollapse when new mail arrives.
  - In the manual, replaced 2 para by example (similar to the first example).
  - Create mbchar_table type for multibyte character arrays. (see #3024)
  - Make to_chars and status_chars accept mulitibyte characters. (closes #3024)
2017-01-17 12:32:42 +00:00
wiz
c761d409e7 Recursive bump for libvpx shlib major change. 2017-01-16 23:45:10 +00:00
wiz
d50d794e73 Updated notmuch to 0.23.5.
Notmuch 0.23.5 (2017-01-09)
===========================

Build system
------------

Fix quoting bug in configure. This had introduced a RUNPATH into the
notmuch binary in cases where it was not not needed.
2017-01-16 11:08:42 +00:00
schmonz
79d8c196b5 Update to 4.53.0. From the changelog:
- fix plaintext version of docs not generated correctly.  Thanks: Elijah.
- fix `getmail --fingerprint` not logging server TLS fingerprint
  correctly with SimplePOP3SSLRetriever. Thanks: Gabriel Kihlman.
2017-01-16 00:09:14 +00:00
schmonz
803c4fbaa8 Relinquish MAINTAINER.
https://github.com/pjz/TMDAng is ported to Python 3.4, named "TMDAng"
with the original upstream author's permission, and packaged for pypi.
Anyone interested in maintaining the package would do well to take a look.
2017-01-14 23:36:29 +00:00
schmonz
91d2777a2f Conditionalize spamdyke and stunnel dependencies on "sasl" and "tls"
options, respectively. Bump version.
2017-01-14 23:00:31 +00:00
schmonz
3af3b5a517 Add John R. Levine's SMTP AUTH patch for ofmipd, available via the
"sasl" option. Bump PKGREVISION.
2017-01-14 20:49:07 +00:00
schmonz
65bd9de274 Include new dependency on spamdyke, missed in previous. 2017-01-09 05:03:51 +00:00
schmonz
82f1368308 Update to 20170109. pkgsrc changes:
- Add qmailofmipd service for outgoing submissions.
- Add dependencies on mess822, spamdyke, and stunnel.
- Add sample spamdyke and stunnel configs for SMTP AUTH over TLS.
- Control ofmipd from the main qmail script.
- Fix broken link to "12 Steps to qmail List Bliss".
2017-01-09 04:58:09 +00:00
schmonz
3319eb8e82 Add and enable swaks. 2017-01-08 20:36:57 +00:00
schmonz
8a8d3784b0 Initial import of swaks.
swaks' primary design goal is to be a flexible, scriptable, transaction-
oriented SMTP test tool. It handles SMTP features and extensions such as
TLS, authentication, and pipelining; multiple version of the SMTP
protocol including SMTP, ESMTP, and LMTP; and multiple transport methods
including unix-domain sockets, internet-domain sockets, and pipes to
spawned processes. Options can be specified in environment variables,
configuration files, and the command line allowing maximum
configurability and ease of use for operators and scripters.
2017-01-08 20:35:55 +00:00
roy
f8e7934314 Use the curses framework. 2017-01-04 16:13:20 +00:00
schmonz
8ddba22754 Let bg-installer follow the .so symlinks. Fixes install on at least NetBSD. 2017-01-03 13:56:41 +00:00
ryoon
270fc73329 Update to 45.6.0
* Sync with thunderbird-45.6.0
2017-01-03 00:00:33 +00:00
ryoon
59376aa72e Update to 45.6.0
Changelog:
    Fixed The system integration dialog was shown every time when starting Thunderbird
    Fixed Various security fixes

Security vulnerabilities fixed in Thunderbird 45.6
 #CVE-2016-9899: Use-after-free while manipulating DOM events and audio elements
 #CVE-2016-9895: CSP bypass using marquee tag
 #CVE-2016-9897: Memory corruption in libGLES
 #CVE-2016-9898: Use-after-free in Editor while manipulating DOM subtrees
 #CVE-2016-9900: Restricted external resources can be loaded by SVG images through data URLs
 #CVE-2016-9904: Cross-origin information leak in shared atoms
 #CVE-2016-9905: Crash in EnumerateSubDocuments
 #CVE-2016-9893: Memory safety bugs fixed in Thunderbird 45.6
2017-01-02 23:59:21 +00:00
wen
bb0e9a612a Update to 0.903
Upstream changes:
0.903     2016-11-17
    - PLEASE CONSIDER USING EMAIL-SENDER INSTEAD
    - Fixed an errant extra test requirement, GH #3.  Thanks, Paul.
    - Marked the entire dist as DEPRECATED as it should no longer be used.
2017-01-02 07:25:48 +00:00
schmonz
f9e2c7a90b Support PKGMANDIR and quell pkglint. 2017-01-02 03:48:11 +00:00
schmonz
a67da2fcf1 Quell pkglint. 2017-01-02 03:43:03 +00:00
schmonz
dd365efacf Support PKGMANDIR and quell pkglint. 2017-01-02 03:40:21 +00:00
schmonz
b172b5bc7f Support PKGMANDIR. 2017-01-02 03:33:52 +00:00
schmonz
716d5bfa7e Update to 2.12. From the changelog:
- Added ability for rbl plugin to capture messages before rejecting them.
- Fixed broken use of -lbg-sysdeps in modules.
- Fixed missing plugin-rbl in installed image.
- Updated for bglibs v2
- Added new "rbl" plugin, to block messages from IPs in an RBL.
- Added new "queuedir" backend, to save messages to simple files.
- Make sure plugin reset functions get called before exiting.
- Added missing plugin-starttls-ucspi to installed files.
- Added support for limiting the number of messages to plugin-counters.
- This version updates the plugin API to add new features:
  - Capabilities reported by the SMTP EHLO response can be added by
    plugins.
  - Plugins are passed any SMTP parameters given with the sender and
    recipient commands.
  - Plugins can add new commands to the SMTP protocol.
  Plugins compiled for previous versions of mailfront will not work
  without recompiling.  The short-circuit on accept logic has also been
  eliminated to fix a semantic issue.
- SMTP AUTH support has been moved into a new plugin, cvm-authenticate.
  Existing installations relying on SMTP AUTH support will need to make
  sure they are using this new plugin.  The smtpfront-qmail wrapper
  has been modified to provide this additional plugin.
- Fixed plugin-add-received to add the "IPv6:" prefix in the Received:
  header when the protocol is TCP6.
- Added plugin starttls-ucspi to implement STARTTLS using ucspi-tls.
- SMTP AUTH can now be restricted to TLS-enabled sessions.
- Added controls for pop3front-auth to limit the number of USER commands
  and authentication failures allowed per session.
- Added control to imapfront-auth to limit the number of authentication
  failures allowed per session.
- Modified the clamav plugin to use the newer INSTREAM protocol.
- imapfront-auth now sets $DOVECONF_ENV in Dovecot mode in order to
  avoid having Dovecot imapd reset it through doveconf.
- Added Lua scripting plugin (optional, build with 'make lua').
- Modified the qmail backend to evaluate $QMAILQUEUE as late as possible.
  This allows more options for changing $QMAILQUEUE in plugins.
- Added support for running Dovecot IMAP from imapfront-auth.
  See imapfront.html for details on how to set this up.
- Added support for rejecting whole messages when the recipient count is
  exceeded in plugin-counters.
- Made the check-fqdn plugin explicitly reject empty recipients.
- Added a sender domain restriction to the check-fqdn plugin.
- Added missing plugin-spamassassin.so to installation.
- Fix bug in handling invalid message numbers in retrieving messages in
  pop3front-maildir.
- Added a SpamAssassin scanning plugin.
- Optimized pop3front-maildir to avoid stat'ing each message twice, and
  to use sizes recorded in the filename to avoid stat'ing entirely.
  See pop3front.html for details on the filenames.

pkgsrc changes:

- Libtoolize to fix build on OS X.
2017-01-02 02:19:46 +00:00
schmonz
0ab59cc1f3 Adapt to bglibs 2. Bump PKGREVISION. 2017-01-02 02:19:26 +00:00
schmonz
7b1200f6b5 Update to 3.2. From the changelog:
- Updated for bglibs v2.
- Fixed the authenticated test when used with Courier IMAP.
- Tweaked relay-ctrl-allow to only try to save a handle to the current
  working directory if it's going to execute another command later.
- Added support for logging environment settings in relay-ctrl-check.
2017-01-02 02:19:02 +00:00
rillig
717768784b Fixed pkglint warnings about unpaired CONF_FILES declarations. 2017-01-01 16:35:38 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
schmonz
55a50843b9 Support PKGMANDIR. 2016-12-31 17:51:25 +00:00
schmonz
7686981c47 Fix build on SunOS. 2016-12-31 16:58:46 +00:00
wiz
291cdbb481 Updated notmuch to 0.23.4.
Notmuch 0.23.4 (2016-12-24)
===========================

Command Line Interface
----------------------

Improve error handling in notmuch insert

  Database lock errors no longer prevent message file delivery to the
  filesystem.  Certain errors during `notmuch insert` most likely to
  be temporary return EX_TEMPFAIL.

Emacs
-----

Restore autoload cookie for notmuch-search.
2016-12-30 00:47:09 +00:00
wiedi
8bf71e73f3 Update exim to 4.88
Security update to address CVE-2016-9963

Exim version 4.88
-----------------
JH/01 Use SIZE on MAIL FROM in a cutthrough connection, if the destination
      supports it and a size is available (ie. the sending peer gave us one).

JH/02 The obsolete acl condition "demime" is removed (finally, after ten
      years of being deprecated). The replacements are the ACLs
      acl_smtp_mime and acl_not_smtp_mime.

JH/03 Upgrade security requirements imposed for hosts_try_dane: previously
      a downgraded non-dane trust-anchor for the TLS connection (CA-style)
      or even an in-clear connection were permitted.  Now, if the host lookup
      was dnssec and dane was requested then the host is only used if the
      TLSA lookup succeeds and is dnssec.  Further hosts (eg. lower priority
      MXs) will be tried (for hosts_try_dane though not for hosts_require_dane)
      if one fails this test.
      This means that a poorly-configured remote DNS will make it incommunicado;
      but it protects against a DNS-interception attack on it.

JH/04 Bug 1810: make continued-use of an open smtp transport connection
      non-noisy when a race steals the message being considered.

JH/05 If main configuration option tls_certificate is unset, generate a
      self-signed certificate for inbound TLS connections.

JH/06 Bug 165: hide more cases of password exposure - this time in expansions
      in rewrites and routers.

JH/07 Retire gnutls_require_mac et.al.  These were nonfunctional since 4.80
      and logged a warning sing 4.83; now they are a configuration file error.

JH/08 Bug 1836: Fix crash in VRFY handling when handed an unqualified name
      (lacking @domain).  Apply the same qualification processing as RCPT.

JH/09 Bug 1804: Avoid writing msglog files when in -bh or -bhc mode.

JH/10 Support ${sha256:} applied to a string (as well as the previous
      certificate).

JH/11 Cutthrough: avoid using the callout hints db on a verify callout when
      a cutthrough deliver is pending, as we always want to make a connection.
      This also avoids re-routing the message when later placing the cutthrough
      connection after a verify cache hit.
      Do not update it with the verify result either.

JH/12 Cutthrough: disable when verify option success_on_redirect is used, and
      when routing results in more than one destination address.

JH/13 Cutthrough: expand transport dkim_domain option when testing for dkim
      signing (which inhibits the cutthrough capability).  Previously only
      the presence of an option was tested; now an expansion evaluating as
      empty is permissible (obviously it should depend only on data available
      when the cutthrough connection is made).

JH/14 Fix logging of errors under PIPELINING.  Previously the log line giving
      the relevant preceding SMTP command did not note the pipelining mode.

JH/15 Fix counting of empty lines in $body_linecount and $message_linecount.
      Previously they were not counted.

JH/16 DANE: treat a TLSA lookup response having all non-TLSA RRs, the same
      as one having no matching records.  Previously we deferred the message
      that needed the lookup.

JH/17 Fakereject: previously logged as a norml message arrival "<="; now
      distinguished as "(=".

JH/18 Bug 1867: make the fail_defer_domains option on a dnslookup router work
      for missing MX records.  Previously it only worked for missing A records.

JH/19 Bug 1850: support Radius libraries that return REJECT_RC.

JH/20 Bug 1872: Ensure that acl_smtp_notquit is run when the connection drops
      after the data-go-ahead and data-ack.  Patch from Jason Betts.

JH/21 Bug 1846: Send DMARC forensic reports for reject and quaratine results,
      even for a "none" policy.  Patch from Tony Meyer.

JH/22 Fix continued use of a connection for further deliveries. If a port was
      specified by a router, it must also match for the delivery to be
      compatible.

JH/23 Bug 1874: fix continued use of a connection for further deliveries.
      When one of the recipients of a message was unsuitable for the connection
      (has no matching addresses), we lost track of needing to mark it
      deferred.  As a result mail would be lost.

JH/24 Bug 1832: Log EHLO response on getting conn-close response for HELO.

JH/25 Decoding ACL controls is now done using a binary search; the source code
      takes up less space and should be simpler to maintain.  Merge the ACL
      condition decode tables also, with similar effect.

JH/26 Fix problem with one_time used on a redirect router which returned the
      parent address unchanged.  A retry would see the parent address marked as
      delivered, so not attempt the (identical) child.  As a result mail would
      be lost.

JH/27 Fix a possible security hole, wherein a process operating with the Exim
      UID can gain a root shell.  Credit to http://www.halfdog.net/ for
      discovery and writeup.  Ubuntu bug 1580454; no bug raised against Exim
      itself :(

JH/28 Enable {spool,log} filesystem space and inode checks as default.
      Main config options check_{log,spool}_{inodes,space} are now
      100 inodes, 10MB unless set otherwise in the configuration.

JH/29 Fix the connection_reject log selector to apply to the connect ACL.
      Previously it only applied to the main-section connection policy
      options.

JH/30 Bug 1897: fix callouts connection fallback from TLS to cleartext.

PP/01 Changed default Diffie-Hellman parameters to be Exim-specific, created
      by me.  Added RFC7919 DH primes as an alternative.

PP/02 Unbreak build via pkg-config with new hash support when crypto headers
      are not in the system include path.

JH/31 Fix longstanding bug with aborted TLS server connection handling.  Under
      GnuTLS, when a session startup failed (eg because the client disconnected)
      Exim did stdio operations after fclose.  This was exposed by a recent
      change which nulled out the file handle after the fclose.

JH/32 Bug 1909: Fix OCSP proof verification for cases where the proof is
      signed directly by the cert-signing cert, rather than an intermediate
      OCSP-signing cert.  This is the model used by LetsEncrypt.

JH/33 Bug 1914: Ensure socket is nonblocking before draining after SMTP QUIT.

HS/01 Fix leak in verify callout under GnuTLS, about 3MB per recipient on
      an incoming connection.

HS/02 Bug 1802: Do not half-close the connection after sending a request
      to rspamd.

HS/03 Use "auto" as the default EC curve parameter. For OpenSSL < 1.0.2
      fallback to "prime256v1".

JH/34 SECURITY: Use proper copy of DATA command in error message.
      Could leak key material.  Remotely explaoitable.  CVE-2016-9963.

ok wiz@
2016-12-25 11:29:54 +00:00
joerg
81c6eb59b5 Pointers do not have an order relative to 0, don't try to use that. 2016-12-23 22:29:59 +00:00