Commit graph

3154 commits

Author SHA1 Message Date
wiz
376f99eeee Switch to direct py-dns dependency.
py-dns now supports all python versions, so versioned_dependencies
is not needed any longer.
2016-06-30 18:03:46 +00:00
kamil
be1ddf8e3a Drop reference to webkit1 from a comment 2016-06-11 20:42:03 +00:00
wiz
efddfa9d77 Fix HOMEPAGE to be copy'n'pastable. 2016-06-09 06:23:38 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
jperkin
36e6903fd8 Remove the stability entity, it has no meaning outside of an official context. 2016-06-08 10:16:50 +00:00
jperkin
13a8dd759b Change the service_bundle name to "export" to reduce diffs between the
original manifest.xml file and the output from "svccfg export".
2016-06-08 10:02:24 +00:00
jperkin
31ffe7cbb6 Change the service_bundle name to "export" to reduce diffs between the
original manifest.xml file and the output from "svccfg export".
2016-06-08 09:46:01 +00:00
wiz
f29b7be108 Force c++11. Use CXXFLAGS in build.
Not enough to make this build with current boost, but at least it
gets further, now fails with:

In file included from work/.buildlink/include/boost/optional/optional.hpp:35:0,
                 from work/.buildlink/include/boost/optional.hpp:15,
                 from Swiften/Parser/AttributeMap.cpp:10:
work/.buildlink/include/boost/type_traits/type_with_alignment.hpp:42:17: error: 'int128_type' in namespace 'boost' does not name a type
          boost::int128_type i128;
                 ^
2016-06-06 11:17:11 +00:00
schnoebe
4e36ca9a09 Update to support a websocket option.
websocket support permits easy XMPP communication with a browser based
XMPP client.
2016-05-29 17:24:48 +00:00
schnoebe
f6ce08cb08 Update to jabberd2 2.4.0.
Note: there is a change in the numbering scheme, the third digit will
only be used for patches/bug fixes in the future.

Note: websockets support isn't available in pkgsrc (yet. the required
library still needs packaged.)

hanges:
 * Check for C99 support in compiler
 * Count RIO bytes and check against max stanza size
 * Gracefully drop unhandled HTTP connections
 * wss:// (WebSocket over SSL) support in c2s
 * Allow BareJID S10N packets
 * Fallback to connecting S2S using local.ip when none of the origin.ip
   works
 * Removed explicit SQLite transactions
 * SQLite postconnect SQL support
 * SQLite DB setup script improvements
 * Many Coverity Scan and cppcheck detected issues fixed
 * Properly lowercase SASL mechanisms in c2s
 * Support out-of-source build
2016-05-25 16:24:54 +00:00
jperkin
1bd1ff9958 Ensure python/ruby are found correctly. Fixes build on Darwin. 2016-05-19 10:51:40 +00:00
fhajny
9a7d622e2e Use REAL_ROOT_USER/REAL_ROOT_GROUP instead of ROOT_USER/ROOT_GROUP
for all pkgsrc dir/file ownership rules. Fixes unprivileged
user/group names from leaking into binary packages, manifest as
non-fatal chown/chgrp failure messages at pkg_add time.

Bump respective packages' PKGREVISION.
2016-05-17 10:32:06 +00:00
tonio
befd6517a5 Update chat/weechat to 1.5
Main new features:
- add support of functions in API function "hook_process"
- move of nick coloring options from irc plugin to core
- move irc bar item "away" to core
- add pointer in callbacks used in scripting API
- add option irc.network.sasl_fail_unavailable
- add Portuguese translations

Bugs fixed:
- core: fix nick coloring when stop chars and a forced color are used: first
  remove chars then look for forced color
- core: check that pointers received in arguments are not NULL in buffers and
  windows functions
- core: fix truncation of buffer names in hotlist (issue #668)
- core: fix update of window title under Tmux (issue #685)
- core: fix detection of Python shared libraries (issue #676)
- api: fix number of arguments returned by function string_split() when
  keep_eol is 2 and the string ends with separators
- irc: fix first message displayed in raw buffer when the message is modified
  by a modifier (issue #719)
- irc: add missing completion "*" for target in command /msg
- irc: fix /msg command with multiple targets including "*"
- lua: fix crash when a lua function doesn’t return a value and a string was
  expected (issue #718)
- relay: do not execute any command received in a PRIVMSG message from an irc
  relay client (issue #699)
- relay: fix the max number of clients connected on a port, allow value 0 for
  "no limit" (issue #669)
- relay: fix decoding of multiple frames in a single websocket message, send
  PONG on PING received in a websocket frame (issue #675)
- relay: fix command "input" received from clients with only spaces in content
  of message (weechat protocol) (issue #663)
- script: force refresh of scripts buffer after download of scripts list
- xfer: fix DCC file received when the terminal is resized
2016-05-07 14:16:20 +00:00
joerg
244a45b742 Requires msgfmt to build. 2016-05-06 11:49:07 +00:00
prlw1
104960e18b revbump for libsoup's ABI issue 2016-05-03 11:40:00 +00:00
joerg
ac2b772c19 Drop MASTERSITE, requires authentication now. 2016-04-30 20:57:23 +00:00
fhajny
f08dc6752b Update chat/ejabberd to 16.04.
API Commands
- Add API versionning
- Changed error handling, based on exception
- ejabberd Command bugfixes
- Accept commands: add_commands syntax (along commands: –
  add_commands)
- Fix mod_muc_admin:get_room_options and set_room_affiliation
- mod_http_api: support 'open' ejabberd commands

Databases
- Split modules DB specific code into separate modules
- Rename "odbc" to "sql" everywhere
- Rename "internal" auth to "mnesia"
- Improve detection of databases supported by modules
- Switch to varchar(64) in mysql user.server/salt as text can't
  have default values
- 'serverkey' and 'salt' should have empty string as default

XMPP
- Drop headline messages sent to offline resources
- Don't omit bounces for messages of type "result"
- Match namespace when checking for chat states
- Fix check for standalone chat state notifications
- Disable TLS compression for s2s by default
- Make sure that ejabberd_sm sid are unique
- Send stream trailer at the very end of the processing
- Generate shorted jid for anonymous connections
- Fix anonymous SASL auth

ejabberdctl
- Add option to migration script to delete data from a table after
  they have been successfully moved to SQL database: ejabberdctl
delete_mnesia example.org
- Remove useless variable and quote EPMD and SPOOL_DIR
- Fix node ping command
- Use UUID for ctl node name
- Remove --auth in ejabberd_ctl.erl as it's useless, still
  useful for mod_rest
- Force ERL_PATH for Elixir console

Pubsub
- Fix use of pubsub node plugin when configured with
  default_node_config
- Set default value for pubsub#itemreply option
- Add subscribe/unsubscribe hooks

Internal
- Add mod_mam header file
- Replace ?ERR_* macros with ?ERRT_*
- change mod_ping Timers using maps instead of dict

Dependencies
- Update p1_utils to 1.0.4: Adds p1_time_compat:unique_timestamp()
- Update fast_tls to 1.0.3: Prevent buffer overflows and
  allocation failures
- Update stringprep to 1.0.3: Fix compilation on Windows and error
  message
- Update stun to 1.0.3: Use fast_tls 1.0.3
- Update esip to 1.0.4: Use fast_tls 1.0.3
2016-04-29 19:05:22 +00:00
fhajny
93c07240f5 Update chat/ejabberd to 16.03.
16.03
=====

Protocols
- mod_mix: Experimental support for MIX (XEP-0369)
- mod_http_upload: Add support for XEP-0363 v0.2

Core
- Use SASL PLAIN authzid as client identity if auth module permits
  it
- Make auto generated resources shorter
- Start ezlib only if required, as it's optional
- Make it possible to get virtual host of a registered route

LDAP improvements
- Fix issue getting shared roster
- Do not call to deprected/undefined functions from
  mod_shared_roster_ldap
- Proper naming for LDAP test function for shared roster

SQL databases support
- New parse transform for SQL queries, use prepare/execute calls
  with Postgres
- Support for run-time SQL queries selection depending on DBMS
  version
- In SQL files create Users table with SCRAM support by default
- Do not auto append IP suffix to usernames
- Fix some LIMIT related problems with MSSQL
- Update Microsoft SQL Server schema

Riak
- Add support for Riak authentication
- Fix is_connected/0 function
- Keep alive Riak connections by default

API and Commands
- Add support for ReST admin commands that are only restricted by
  source IP. This is key for easy integration with other backend
  using ReST API.
- Fix add_commands and remove_commands options
- Pass noauth when auth isn't provided
- Improve ban_account command to work with other DBs than Mnesia
- Escape quoting node name for ejabberdctl ping
- Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in
  mod_admin_extra
- Fix result type of "connected_users_info" command
- New command delete_mnesia deletes all tables that can be
  exported. This is useful after you have migrated to another
  backend, like SQL.

PubSub
- Unregister route at the very end
- Define PubSub node configuration per route/host explicitly
- Fix config fetch and pubsub disco after host/serverhost cleanup

Admin and build chain
- Update OTP release to use R17.5 and drop release 17.1
- Compile ejabberd_config early to stop undefined behaviour
  warnings
- Fix start via systemd
- Fixed type specifications for 'rebar doc'
- Specify lacking nodename in ejabberdctl

Dependencies
- Update p1_pgsql to 1.1.0: This add support for prepared
  statements.
- Uptate fast_yaml to 1.0.3: This improves the error reporting on
  syntax errors in Yaml configuration file.
- Use the v0.2 release of luerl instead of a commit.

Test framework
- Add Coveralls support
- Add ability to run the ejabberd test suite in a modular way. You
  can now run the test suite, even if you only have a a single
  backend locally.

Other
- mod_mam: Don't store watchdog notifications in MAM archives
- mod_multicast: Fix Addresses element which lacked others local
  destinations
- mod_offline: Mark get_queue_length obsolete, and use
  count_offline_messages
- Update Gallician translation



16.02
=====

New XMPP Extensions support
- New Flexible Offline Message Retrieval (XEP-0013) support

Admin
- New migration script from Prosody to ejabberd
- Fix --disable-debug compilation flag
- don't escape ERL_OPTIONS
- Two new global timeouts configurable: c2s_hibernate,
  receiver_hibernate
- Make it possible to define sm_db_type per virtual host
- configuration checker: Describe option type in code for
  domain_balancing option
- Log failed SQL requests
- Include mod_muc.hrl and fix records
- mod_http_upload: Expand docroot before using it, also expand
  @HOST@

Commands
- New import_prosody command
- Start documenting arguments in mod_admin_extra commands
- We added a way to get all ejabberd_commands, not only those that
  was registered
- Allow to pass \n in argument to ejabberdctl
- Add error handling to send_stanza command
- Fix format_result so get_room_options command works again after
  commit reference aa5caa3

Dependencies
- lager is the default (and only) logging module and we removed
  p1_logger
- Handle spaces in vsn attribute of app file when installing deps
- Renamed dependencies and modules for consistency but also to
  reflect huge performance gains:
  . p1_iconv -> iconv
  . p1_stringprep -> stringprep
  . p1_stun -> stun
  . p1_tls -> fast_tls
  . p1_yaml -> fast_yaml
  . p1_zlib -> ezlib

Message Archive Management
- Advertise MUC MAM v0.4.1 in room JID's disco#info
- Add "delete_old_mam_messages" admin command
- Add 'from' attribute to tag
- Add "request_activates_archiving" option
- Respond to form requests
- Support XEP-0313 v0.2 MUC archive queries
- Check whether MUC message is desired
- Reject -based paging
- Limit result set page size
- Sort messages returned by Mnesia
- Strip existing JID tags from MUC messages
- Expose MUC occupant JID in more cases
- Don't let outcasts access MUC archive
- Send new preferences when they are set
- Stream management (XEP-0198): Let MAM take care of pending
  messages

GroupChat
- Send presence with code 170 in initial presence from MUC
- Add most status codes only to initial MUC presence
- mod_muc_room: Don't expose JIDs in anonymous rooms
- mod_muc_room: Let members see admin/owner JIDs

PubSub
- Fix presence-based delivery
- Make caps warning less confusing
- Fix host/serverhost usage
- Add support of pubsub#itemreply=publisher

Other
- Accept stream compression request after SASL
- Make C2S session establishment optional to better conform to
  XMPP specifications and still be friendly with older clients.
- MUC: new regexp_room_id option to limit possible room names.
- ODBC: Set utf8mb4 charset on MySQL connection to support emoji
  storage as default.
- LDAP: Improve LDAP shared roster support.
- mod_register_web: Allow setting host when deleting account or
  changing password.
- Rename timestamp_to_iso functions in jlib.
- Stream management (XEP-0198): Fix session timeout corner case.
- Several improvements in Elixir support.
- Updated many translations.
- Improve web admin stylesheet to fix rendering issues in some
  browsers.
2016-04-25 20:24:14 +00:00
wiz
9df3e96582 sunet.se stopped mirroring lots of stuff, remove/comment out references to it 2016-04-24 10:34:43 +00:00
wiz
7564ddc410 Update farstream to 0.2.8.
farstream 0.2.8 (March 10, 2016)
==================================
- Add "require-encryption" parameter to ignore unencrypted packets
- Enable building static GStreamer and transmitter plugins
- Make OPUS plugin work and select it as default codec
- Bug fixes
2016-04-15 09:07:40 +00:00
jperkin
516f351bd1 Fix option build with ruby22 and ruby21. 2016-04-14 10:42:31 +00:00
jperkin
098c89a1a7 Remove GNU ld --no-add-needed on SunOS. 2016-04-14 09:40:09 +00:00
ryoon
ac20a93574 Recursive revbump from textproc/icu 57.1 2016-04-11 19:01:33 +00:00
prlw1
e9a8dd5d63 revbump for vala update 2016-04-10 19:38:51 +00:00
gdt
8b426787f5 Update to 4.0.2 (security fix).
9 Mar 2016:

- Updated Spanish, German, Norwegian Bokmål translations.
- New Danish translation.
- Fix use-after-free issue during SMP.
- Release 4.0.2
2016-03-28 00:17:12 +00:00
jperkin
777a466f98 Use PKGMANDIR. 2016-03-27 22:53:39 +00:00
joerg
5d65e4d786 Needs automoc4. 2016-03-25 21:16:07 +00:00
joerg
770f47e08d Needs pkg-config. 2016-03-25 21:15:51 +00:00
joerg
7aba5207b0 Sync PLIST with reality. 2016-03-25 21:15:33 +00:00
khorben
f71ac9fd77 Register missing dependency on curses
Found with an unprivileged bootstrap on NetBSD/amd64 (--prefer-pkgsrc yes)
2016-03-22 22:09:32 +00:00
khorben
28d0d4166d Relax the requirement on libncurses to any implementation
As suggested by wiz@.
2016-03-21 22:59:37 +00:00
khorben
99b73d2162 Register missing dependency on devel/ncurses
Found with an unprivileged bootstrap on NetBSD/amd64 (--prefer-pkgsrc yes)
2016-03-21 19:09:09 +00:00
gdt
4c1945bff8 Update to 4.1.1.
This is a security release addressing CVE-2016-2851.

- Fix an integer overflow bug that can cause a heap buffer overflow (and
  from there remote code execution) on 64-bit platforms
- Fix possible free() of an uninitialized pointer
- Be stricter about parsing v3 fragments
- Add a testsuite ("make check" to run it), but only on Linux for now,
  since it uses Linux-specific features such as epoll
- Fix a memory leak when reading a malformed instance tag file
- Protocol documentation clarifications
2016-03-09 18:04:17 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
wiz
3b0d1b0eb8 Update swift to 3.0.
we are pleased to announce the availability of Swift 3.0, an XMPP client
focused on usability and security.
It is our first release for 3 years and includes bug fixes and new features
like:
- File-transfer using Jingle File Transfer
- Simple continuation of 1-to-1 chats in group chats
- Keyword highlighting ( http://swift.im/blog/keyword-highlighting )
- Simple blocking of contacts using Blocking Command
- Compact roster setting that hides avatars and status messages
- Quick contact search filter in roster
- and more.

For the full changelog see https://swift.im/docs/changelog-3-0.html .
2016-03-01 13:25:01 +00:00
schnoebe
e14f5e1e59 Update to jabberd 2.3.6:
* 2.3.5 to 2.3.6 upgrade:

What changed:
- Support WebSocket fragmented packets
- Fixed delivering directed presence (to self)
- Reset in-sess 'from' to FullJID on non-Presence packets

This is mainly a bugfix release.
The main change is that WebSocket connections work stable now.

https://github.com/jabberd2/jabberd2/commits/jabberd-2.3.6
2016-02-28 21:58:13 +00:00
fhajny
d72ae77f0d Skip example certs build, simplifies and fixes unprivileged installation.
Bump PKGREVISION.
2016-02-26 10:52:01 +00:00
jperkin
1755fe8fda Use OPSYSVARS. 2016-02-25 11:21:11 +00:00
khorben
e36e7152c6 Add telegram-purple 2016-02-24 02:30:34 +00:00
khorben
0558de296b Package telegram-purple 1.2.5
Telegram is a cloud-based instant messaging service. Telegram clients exist for
both mobile (Android, iOS, Windows Phone, Ubuntu Touch) and desktop systems
(Windows, OS X, Linux). Users can send messages and exchange photos, videos,
stickers and files of any type up to 1.5 GB in size. Telegram also provides
optional end-to-end encrypted messaging with self-destruct timers.

This package contains a libpurple protocol plugin that adds support for the
Telegram messenger.
2016-02-24 02:29:44 +00:00
ryoon
e62bd986a3 Update to 1.4
* Fix PR pkg/50358 partially using dynamic python library.
  However if your system has python in /usr/bin and your current
  working directory is not your home directory, your weechat
  reads its library files and dies.

Changelog:
Among the new features:

- add a parent name in options, display inherited values if null in /set output
- add option weechat.look.paste_auto_add_newline
- add /fifo command
- track real names using extended-join and WHO (IRC)
- add support of SNI (Server Name Indication) in SSL connection to IRC server
- add support of IRC "cap-notify" capability
- add IRC command /cap
- add hex dump of messages in raw buffer when debug is enabled for irc plugin
- add option relay.irc.backlog_since_last_message
- add option script.scripts.download_timeout
- add scripts to build Debian packages
- many bugs fixed.
2016-02-14 12:52:13 +00:00
schnoebe
d75fb061a8 Packaging changes:
move requirement for cppunit to debug option
    add db-update.pgsql, README.md

Updated to version 2.3.5

This file contains news, important changes
and upgrade instructions between different versions of jabberd2.

* 2.3.4 to 2.3.5 upgrade:

What changed:
- Module to verify users using e-mail
- Reordered MIO backends priority
- Skip non-existing blowfish i386 assembler code
- Use CSPRNG for dialback keys
- Allow presence probing own connections
- Use OpenSSL functions for base64 en/decoding when available
- Option to dump packet-filter matched packets to file

mod_verify requires CREATE TABLE "verify" in DB. Make sure you
created it before enabling the module in sm.xml.

MIO backends are prioritized from best to worst now, so if you
do not enforce a backend with ./configure it may change
in new build.

jabberd2 is now leaning strongly against OpenSSL. It is still
possible to use without, but not advisable.
2016-02-09 00:21:59 +00:00
wiz
dcc143ada7 Bump PKGREVISION for vala update to 0.30. 2016-02-04 12:13:30 +00:00
fhajny
7fb5e8701b Update chat/prosody to 0.9.10.
Security
- mod_dialback: Adopt key generation algorithm from XEP-0185,
  to prevent impersonation attacks (CVE-2016-0756)

Fixes and improvements
- Startup: Open /dev/urandom read-only, to fix a failure to start
  on some systems (fixes #585)
- Networking: Improve handling of the 'select' network backend
  running out of file descriptors

Minor changes
- Networking: Increase default internal read size to prevent
  connections stalling with LuaEvent (see #583)
- DNS: Discard queries that failed to send due to connection
  errors (fixes #598)
- c2s, s2s: Lower priority of shutdown handler, so that modules
  such as MUC can always send shutdown notifications to (remote)
  users (fixes #601)
2016-02-01 12:35:33 +00:00
joerg
571bd6d3bd More automoc4 dependencies. 2016-01-28 15:26:40 +00:00
joerg
d58e6841d3 Needs automoc4. 2016-01-25 19:59:17 +00:00
fhajny
3aa4c42483 Update chat/prosody to 0.9.9.
Security fixes:
- Fix path traversal vulnerability in mod_http_files (CVE-2016-1231)
- Fix use of weak PRNG in generation of dialback secrets (CVE-2016-1232)

Bugs:
- Improve handling of CNAME records in DNS
- Fix traceback when deleting a user in some configurations
- MUC: restrict_room_creation could prevent users from joining rooms
- MUC: fix occasional dropping of iq stanzas sent privately between
  occupants
- Fix a potential memory leak in mod_pep

Additions:
- Add http:list() command to telnet to view active HTTP services
- Simplify IPv4/v6 address selection code for outgoing s2s
- Add support for importing SCRAM hashes from ejabberd
2016-01-25 13:01:39 +00:00
zafer
0ad98186ca remove non-working mirrors. 2016-01-22 09:07:39 +00:00
fhajny
d9943ce04f Fix Bash interpreter path in one more script. PKGREVISION++ 2016-01-18 10:23:18 +00:00
wiz
fc3ee7008a Fix build with latest libpurple. 2016-01-17 18:51:52 +00:00