Gentoo Archives: gentoo-commits

From: "Vadim A. Misbakh-Soloviov" <mva@×××.name>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lua:master commit in: net-im/clix/, net-im/prosody-modules/, net-im/prosody/files/, net-im/prosody/, ...
Date: Mon, 25 Jul 2016 20:14:26
Message-Id: 1469477656.c61a2cae7a933277fbf63a5909931f53106616ea.mva@gentoo
1 commit: c61a2cae7a933277fbf63a5909931f53106616ea
2 Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
3 AuthorDate: Mon Jul 25 20:14:16 2016 +0000
4 Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
5 CommitDate: Mon Jul 25 20:14:16 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=c61a2cae
7
8 net-im/*: bumps
9
10 eclass/lua.eclass | 33 +++---
11 net-im/clix/clix-9999.ebuild | 6 +-
12 net-im/prosody-modules/metadata.xml | 28 +++--
13 net-im/prosody-modules/prosody-modules-9999.ebuild | 49 ++++----
14 net-im/prosody/files/prosody.initd | 2 +-
15 net-im/prosody/prosody-0.9.8.ebuild | 131 ---------------------
16 net-im/prosody/prosody-9999.ebuild | 8 +-
17 7 files changed, 71 insertions(+), 186 deletions(-)
18
19 diff --git a/eclass/lua.eclass b/eclass/lua.eclass
20 index 7bfc398..cdf75d3 100644
21 --- a/eclass/lua.eclass
22 +++ b/eclass/lua.eclass
23 @@ -295,22 +295,30 @@ lua_add_bdepend() {
24 # @DESCRIPTION:
25 # Gets an array of lua use targets enabled by the user
26 lua_get_use_implementations() {
27 - local i implementation
28 + local i=() implementation
29 for implementation in ${LUA_COMPAT}; do
30 - use lua_targets_${implementation} && i+=" ${implementation}"
31 + if [[ -z "${LUA_IGNORE_TARGET_DUPLICATION}" ]] && [ "${implementation}" = "lua51" ] && in_iuse lua_targets_luajit2 && use lua_targets_luajit2; then
32 + ewarn "LuaJIT using same LMOD/CMOD install paths as lua51."
33 + ewarn "Lua target 'lua51' was skipped to avoid useless double compilation and file overwrites."
34 + ewarn "If you definitelly want to compile lua51 target for nothing (i.e. you're maintainer),"
35 + ewarn "then set LUA_IGNORE_TARGET_DUPLICATION variable to any value in make.conf or package.env"
36 + continue
37 + else
38 + use lua_targets_${implementation} && i+=("${implementation}")
39 + fi
40 done
41 - echo $i
42 + echo ${i[@]}
43 }
44
45 # @FUNCTION: lua_get_use_targets
46 # @DESCRIPTION:
47 # Gets an array of lua use targets that the ebuild sets
48 lua_get_use_targets() {
49 - local t implementation
50 + local t=() implementation
51 for implementation in ${LUA_COMPAT}; do
52 - t+=" lua_targets_${implementation}"
53 + t+=("lua_targets_${implementation}")
54 done
55 - echo $t
56 + echo ${t[@]}
57 }
58
59 # @FUNCTION: lua_implementations_depend
60 @@ -390,16 +398,14 @@ _lua_invoke_environment() {
61
62 _lua_each_implementation() {
63 local invoked=no
64 - for _lua_implementation in ${LUA_COMPAT}; do
65 - # only proceed if it's requested
66 - use lua_targets_${_lua_implementation} || continue
67 -
68 + for _lua_implementation in $(lua_get_use_implementations); do
69 LUA=$(lua_implementation_command ${_lua_implementation})
70 TARGET=${_lua_implementation};
71 lua_impl=$(basename ${LUA})
72 invoked=yes
73
74 if [[ -n "$1" ]]; then
75 + _lua_setFLAGS
76 _lua_invoke_environment ${_lua_implementation} "$@"
77 fi
78
79 @@ -448,7 +454,6 @@ lua_src_unpack() {
80
81 # hack for VCS-eclasses (darcs, for example) which defaults unpack dir to WD/P instead of S
82 if [[ "${PV}" = *9999* ]] && [[ -d "${WORKDIR}/${P}" ]] && [[ ! -d "${WORKDIR}/all/${P}" ]] ; then
83 - die "darcs-patching :: git test"
84 mv "${WORKDIR}/${P}" "${WORKDIR}/all/${P}"
85 fi
86
87 @@ -662,7 +667,7 @@ lua_src_install() {
88 # done
89 # fi
90 done;
91 - README_DOCS+=(${READMES[@]})
92 + README_DOCS+=(${DOCS_FORCE[@]})
93
94 if [[ -n "${HTML_DOCS}" ]] && ! use doc; then
95 unset HTML_DOCS
96 @@ -670,7 +675,7 @@ lua_src_install() {
97
98 if [[ -n "${README_DOCS}" ]]; then
99 export DOCS=(${README_DOCS[@]});
100 - _PHASE="install readmes" _lua_invoke_environment all _lua_src_install_docs
101 + _PHASE="install readmes and forced docs" _lua_invoke_environment all _lua_src_install_docs
102 unset DOCS;
103 fi
104
105 @@ -894,8 +899,6 @@ lua_get_implementation() {
106 esac
107 }
108
109 -
110 -
111 _lua_default_all_prepare() {
112 local prepargs=();
113 prepargs+=(
114
115 diff --git a/net-im/clix/clix-9999.ebuild b/net-im/clix/clix-9999.ebuild
116 index 7079604..969c90f 100644
117 --- a/net-im/clix/clix-9999.ebuild
118 +++ b/net-im/clix/clix-9999.ebuild
119 @@ -1,7 +1,7 @@
120 # Copyright 1999-2016 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122
123 -EAPI=5
124 +EAPI=6
125
126 inherit mercurial eutils
127
128 @@ -24,8 +24,10 @@ DEPEND="${RDEPEND}"
129
130 src_prepare() {
131 use luajit && sed -r \
132 - -e 's:(env lua):\1jit:' \
133 + -e '1s:(env lua):\1jit:' \
134 -i clix.lua
135 +
136 + default
137 }
138
139 src_compile() {
140
141 diff --git a/net-im/prosody-modules/metadata.xml b/net-im/prosody-modules/metadata.xml
142 index 799213a..22925c8 100644
143 --- a/net-im/prosody-modules/metadata.xml
144 +++ b/net-im/prosody-modules/metadata.xml
145 @@ -74,8 +74,9 @@
146 <flag name='disable_tls'>This module can be used to prevent Prosody from offering TLS on client ports that you specify. This can be useful to work around buggy clients when transport security is not required. (info: https://modules.prosody.im/mod_disable_tls)</flag>
147 <flag name='discoitems'>This Prosody plugin lets you manually override the service discovery items for a host. (info: https://modules.prosody.im/mod_discoitems)</flag>
148 <flag name='dwd'>This module implements an optimization of the Dialback protocol, by skipping the dialback step for servers presenting a valid certificate. (info: https://modules.prosody.im/mod_dwd)</flag>
149 + <flag name='e2e_policy'>This module was written to encourage usage of End-to-end encryption for chat and MUC messages. It can be configured to warn the sender after every plaintext/unencrypted message or to block all plaintext/unencrypted messages. It also supports MUC and JID whitelisting, so administrators can for example whitelist public support MUCs ;-) (info: https://modules.prosody.im/mod_e2e_policy)</flag>
150 <flag name='email_pass'>This module aims to help in the procedure of user password restoration. To start the restoration, the user must go to an URL provided by this module, fill the JID and email and submit the request. (info: https://modules.prosody.im/mod_email_pass)</flag>
151 - <flag name='extdisco'>This module adds support for <a href="http://xmpp.org/extensions/xep-0215.html">XEP-0215: External Service Discovery</a>, which lets Prosody advertise non-XMPP services. (info: https://modules.prosody.im/mod_extdisco)</flag>
152 + <flag name='extdisco'>This module adds support for <a href="https://xmpp.org/extensions/xep-0215.html">XEP-0215: External Service Discovery</a>, which lets Prosody advertise non-XMPP services. (info: https://modules.prosody.im/mod_extdisco)</flag>
153 <flag name='fallback_vcard'>No documentation yet :( (info: https://modules.prosody.im/mod_fallback_vcard)</flag>
154 <flag name='filter_chatstates'>Some mobile XMPP client developers consider <a href="http://xmpp.org/extensions/xep-0085.html">Chat State Notifications</a> to be a waste of power and bandwidth, especially when the user is not actively looking at their device. This module will filter them out while the session is considered inactive. It depends on <a href="/mod_csi.html">mod_csi</a> for deciding when to begin and end filtering. (info: https://modules.prosody.im/mod_filter_chatstates)</flag>
155 <flag name='firewall'><strong>Note:</strong> mod_firewall is in its very early stages. This documentation is liable to change, and some described functionality may be missing, incomplete or contain bugs. Feedback is welcome in the comments section at the bottom of this page. (info: https://modules.prosody.im/mod_firewall)</flag>
156 @@ -84,14 +85,17 @@
157 <flag name='group_bookmarks'><a href="http://prosody.im/doc/modules/mod_groups">mod_groups</a> allows you to insert contacts into users' contact lists. Well mod_group_bookmarks allows you to insert chatrooms into the user's bookmarks. These are fetched by their client and automatically joined when the log in. (info: https://modules.prosody.im/mod_group_bookmarks)</flag>
158 <flag name='host_blacklist'>No documentation yet :( (info: https://modules.prosody.im/mod_host_blacklist)</flag>
159 <flag name='host_guard'>As often it's undesiderable to employ only whitelisting logics in public environments, this module let's you more selectively restrict access to your hosts (component or server host) either disallowing access completely (with optional exceptions) or blacklisting certain sources. (info: https://modules.prosody.im/mod_host_guard)</flag>
160 + <flag name='host_status_check'>This module allows you to monitor the state of hosts and components in your Prosody server. For example, it will track whether components are connected and (if the component supports it) listen for heartbeats sent by the component to indicate that it is functioning. (info: https://modules.prosody.im/mod_host_status_check)</flag>
161 + <flag name='host_status_heartbeat'>This module integrates with <a href="/mod_host_status_check.html">mod_host_status_check</a> to provide heartbeats at regular intervals. (info: https://modules.prosody.im/mod_host_status_heartbeat)</flag>
162 <flag name='http_altconnect'>No documentation yet :( (info: https://modules.prosody.im/mod_http_altconnect)</flag>
163 <flag name='http_dir_listing'>This module generates directory listings when invoked by <code>mod_http_files</code>. See <a href="http://prosody.im/doc/modules/mod_http_files">documentation on <code>mod_http_files</code></a>. (info: https://modules.prosody.im/mod_http_dir_listing)</flag>
164 <flag name='http_favicon'>This simple module serves a <code>favicon.ico</code> from prosodys HTTP server and nothing else. (info: https://modules.prosody.im/mod_http_favicon)</flag>
165 + <flag name='http_host_status_check'>This module exposes serves over HTTP the information collected by <a href="/mod_host_status_check.html">mod_host_status_check</a> and <a href="/mod_host_status_heartbeat.html">mod_host_status_heartbeat</a> in a convenient format for automated monitoring tools. (info: https://modules.prosody.im/mod_http_host_status_check)</flag>
166 <flag name='http_index'>This module produces a list of enabled HTTP &quot;apps&quot; exposed from Prosody at <code>http://example.org:5280/</code>, e.g. mod_http_muc_log, mod_http_files or mod_admin_web. If you think Prosodys default &quot;root&quot; web page (a 404 error usually) is boring, this might be the module for you! :) (info: https://modules.prosody.im/mod_http_index)</flag>
167 <flag name='http_logging'>No documentation yet :( (info: https://modules.prosody.im/mod_http_logging)</flag>
168 <flag name='http_muc_log'>This module provides a built-in web interface to view chatroom logs stored by <a href="/mod_mam_muc.html">mod_mam_muc</a>. (info: https://modules.prosody.im/mod_http_muc_log)</flag>
169 - <flag name='http_roster_admin'>Normally the XMPP server will store and maintain the users' contact rosters. This module lets you delegate roster management to an external service. (info: https://modules.prosody.im/mod_http_roster_admin)</flag>
170 - <flag name='http_upload'>This module implements <a href="http://xmpp.org/extensions/xep-0363.html">XEP-0363</a>, which lets clients upload files over HTTP. (info: https://modules.prosody.im/mod_http_upload)</flag>
171 + <flag name='http_roster_admin'>No documentation yet :( (info: https://modules.prosody.im/mod_http_roster_admin)</flag>
172 + <flag name='http_upload'>This module implements <a href="https://xmpp.org/extensions/xep-0363.html">XEP-0363</a>, which lets clients upload files over HTTP. (info: https://modules.prosody.im/mod_http_upload)</flag>
173 <flag name='http_user_count'>No documentation yet :( (info: https://modules.prosody.im/mod_http_user_count)</flag>
174 <flag name='idlecompat'>This module adds <a href="http://xmpp.org/extensions/xep-0319.html">XEP-0319</a> idle tags to presence stanzas containing <a href="http://xmpp.org/extensions/xep-0012.html">XEP-0012: Last Activity</a> tags for idle indication (e.g. supported by libpurple clients). It works on outgoing and incoming presence stanzas. (info: https://modules.prosody.im/mod_idlecompat)</flag>
175 <flag name='incidents_handling'>This module implements <a href="http://xmpp.org/extensions/xep-0268.html">XEP-268</a>. (info: https://modules.prosody.im/mod_incidents_handling)</flag>
176 @@ -106,7 +110,7 @@
177 <flag name='lib_ldap'>This module is used by other modules to access an LDAP server. It's pretty useless on its own; you should use it if you want to write your own LDAP-related module, or if you want to use one of mine (<a href="https://modules.prosody.im/mod_auth_ldap2.html">mod_auth_ldap2</a>, <a href="https://modules.prosody.im/mod_storage_ldap.html">mod_storage_ldap</a>). (info: https://modules.prosody.im/mod_lib_ldap)</flag>
178 <flag name='limit_auth'>This module lets you put a per-IP limit on the number of failed authentication attempts. (info: https://modules.prosody.im/mod_limit_auth)</flag>
179 <flag name='limits'>On some servers, especially public ones, it is desired to make sure that everyone gets their fair share of system resources (and no more). (info: https://modules.prosody.im/mod_limits)</flag>
180 - <flag name='list_inactive'>No documentation yet :( (info: https://modules.prosody.im/mod_list_inactive)</flag>
181 + <flag name='list_inactive'>This module lists those users, who haven't used their account in a defined time-frame. (info: https://modules.prosody.im/mod_list_inactive)</flag>
182 <flag name='listusers'>No documentation yet :( (info: https://modules.prosody.im/mod_listusers)</flag>
183 <flag name='log_auth'>Prosody doesn't write IP addresses to its log file by default for privacy reasons (unless debug logging is enabled). (info: https://modules.prosody.im/mod_log_auth)</flag>
184 <flag name='log_events'>No documentation yet :( (info: https://modules.prosody.im/mod_log_events)</flag>
185 @@ -115,10 +119,10 @@
186 <flag name='log_rate'>If you ever wanted to collect statistics on the number of log messages, this is the module for you! (info: https://modules.prosody.im/mod_log_rate)</flag>
187 <flag name='log_sasl_mech'>No documentation yet :( (info: https://modules.prosody.im/mod_log_sasl_mech)</flag>
188 <flag name='log_slow_events'>No documentation yet :( (info: https://modules.prosody.im/mod_log_slow_events)</flag>
189 - <flag name='mam'>Implementation of <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message Archive Management</a>. (info: https://modules.prosody.im/mod_mam)</flag>
190 + <flag name='mam'>Implementation of <a href="https://xmpp.org/extensions/xep-0313.html">XEP-0313: Message Archive Management</a>. (info: https://modules.prosody.im/mod_mam)</flag>
191 <flag name='mam_adhoc'>This module complements mod_mam by allowing clients to change archiving preferences through an Ad-hoc command. (info: https://modules.prosody.im/mod_mam_adhoc)</flag>
192 <flag name='mam_archive'>Implementation of <a href="http://xmpp.org/extensions/xep-0136.html">XEP-0136: Message Archiving</a> for <a href="https://modules.prosody.im/mod_mam.html">mod_mam</a>. (info: https://modules.prosody.im/mod_mam_archive)</flag>
193 - <flag name='mam_muc'>This module logs the conversation of chatrooms running on the server to Prosody's archive storage. To access them you will need a client with support for <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message Archive Management</a> or a module such as <a href="/mod_http_muc_log.html">mod_http_muc_log</a>. (info: https://modules.prosody.im/mod_mam_muc)</flag>
194 + <flag name='mam_muc'>This module logs the conversation of chatrooms running on the server to Prosody's archive storage. To access them you will need a client with support for <a href="https://xmpp.org/extensions/xep-0313.html">XEP-0313: Message Archive Management</a> or a module such as <a href="/mod_http_muc_log.html">mod_http_muc_log</a>. (info: https://modules.prosody.im/mod_mam_muc)</flag>
195 <flag name='mamsub'>No documentation yet :( (info: https://modules.prosody.im/mod_mamsub)</flag>
196 <flag name='manifesto'>This module informs users about the XMPP Test day and whether their contacts are affected. For mor info about the test day, see <a href="https://stpeter.im/journal/1496.html" class="uri">https://stpeter.im/journal/1496.html</a> (info: https://modules.prosody.im/mod_manifesto)</flag>
197 <flag name='measure_cpu'>This module measures CPU usage and reports using Prosody 0.10 APIs (info: https://modules.prosody.im/mod_measure_cpu)</flag>
198 @@ -143,6 +147,7 @@
199 <flag name='password_policy'>No documentation yet :( (info: https://modules.prosody.im/mod_password_policy)</flag>
200 <flag name='pastebin'>Pastebins are used very often in IM, especially in chat rooms. You have a long log or command output which you need to send to someone over IM, and don't want to fill their message window with it. Put it on a pastebin site, and give them the URL instead, simple. (info: https://modules.prosody.im/mod_pastebin)</flag>
201 <flag name='pep_vcard_avatar'>This module pushes the users nickname and avatar from vCards into PEP, or into vCards from PEP. This allows interop between older clients that use <a href="http://xmpp.org/extensions/xep-0153.html">XEP-0153: vCard-Based Avatars</a> to see the avatars of clients that use <a href="http://xmpp.org/extensions/xep-0084.html">XEP-0084: User Avatar</a> and vice versa. (info: https://modules.prosody.im/mod_pep_vcard_avatar)</flag>
202 + <flag name='pep_vcard_png_avatar'>Conversations (an XMPP client for Android) is publishing PEP avatars in the webp file format. However Pidgin and other XMPP desktop clients can only show vcard avatars, that are in the PNG file format. This module is the <a href="https://modules.prosody.im/mod_pep_vcard_avatar.html">mod_pep_vcard_avatar</a> module extended to also change the avatar file format to PNG. (info: https://modules.prosody.im/mod_pep_vcard_png_avatar)</flag>
203 <flag name='pinger'>No documentation yet :( (info: https://modules.prosody.im/mod_pinger)</flag>
204 <flag name='poke_strangers'>In order to build heuristics for which messages are spam, it is necessary to log as many details as possible about the spammers. This module sends a version and disco query whenever a message is received from a JID to a user it is not subscribed to. The results are printed to Prosody's log file at the 'info' level. Queried full JIDs are not queried again until Prosody restarts. (info: https://modules.prosody.im/mod_poke_strangers)</flag>
205 <flag name='post_msg'>Sometimes it's useful to have different interfaces to access XMPP. (info: https://modules.prosody.im/mod_post_msg)</flag>
206 @@ -170,7 +175,7 @@
207 <flag name='register_redirect'>Registration Redirect as explained in the <a href="http://xmpp.org/extensions/xep-0077.html#redirect">IBR XEP</a>. (info: https://modules.prosody.im/mod_register_redirect)</flag>
208 <flag name='register_web'>There are various reasons to prefer web registration instead of &quot;in-band&quot; account registration over XMPP. For example the lack of CAPTCHA support in clients and servers. (info: https://modules.prosody.im/mod_register_web)</flag>
209 <flag name='reload_modules'>By default Prosody does not reload modules at runtime unless instructed to via one of its admin interfaces. However sometimes you want to easily reload a module to apply new settings when the config changes. (info: https://modules.prosody.im/mod_reload_modules)</flag>
210 - <flag name='remote_roster'>This module adds support for <a href="http://xmpp.org/extensions/xep-0321.html">XEP-0321: Remote Roster Management</a> which is commonly used to allow components such as transports to modify the rosters of local users. (info: https://modules.prosody.im/mod_remote_roster)</flag>
211 + <flag name='remote_roster'>This module adds support for <a href="https://xmpp.org/extensions/xep-0321.html">XEP-0321: Remote Roster Management</a> which is commonly used to allow components such as transports to modify the rosters of local users. (info: https://modules.prosody.im/mod_remote_roster)</flag>
212 <flag name='require_otr'><a href="https://otr.cypherpunks.ca/">OTR, &quot;Off The Record&quot;</a>, encryption allows clients to encrypt messages such that the server cannot read/modify them. (info: https://modules.prosody.im/mod_require_otr)</flag>
213 <flag name='roster_allinall'>This module is similar in purpouse to mod_groups, for when you want all users on the server to be in each others roster. (info: https://modules.prosody.im/mod_roster_allinall)</flag>
214 <flag name='roster_command'>This module allows you to perform various actions on user rosters via prosodyctl. (info: https://modules.prosody.im/mod_roster_command)</flag>
215 @@ -178,9 +183,10 @@
216 <flag name='s2s_auth_dane'>This module implements DANE as described in <a href="http://tools.ietf.org/html/draft-miller-xmpp-dnssec-prooftype">Using DNS Security Extensions (DNSSEC) and DNS-based Authentication of Named Entities (DANE) as a Prooftype for XMPP Domain Name Associations</a>. (info: https://modules.prosody.im/mod_s2s_auth_dane)</flag>
217 <flag name='s2s_auth_fingerprint'>This module allows you to manually pin certificate fingerprints of remote servers. (info: https://modules.prosody.im/mod_s2s_auth_fingerprint)</flag>
218 <flag name='s2s_auth_monkeysphere'><a href="http://web.monkeysphere.info/">Monkeysphere</a> is a project aiming to introduce PGP's web of trust to protocols such as SSH and TLS (which XMPP uses). (info: https://modules.prosody.im/mod_s2s_auth_monkeysphere)</flag>
219 + <flag name='s2s_auth_samecert'>No documentation yet :( (info: https://modules.prosody.im/mod_s2s_auth_samecert)</flag>
220 <flag name='s2s_blacklist'>No documentation yet :( (info: https://modules.prosody.im/mod_s2s_blacklist)</flag>
221 <flag name='s2s_idle_timeout'>Some people find it preferable to close server-to-server connections after they have been silent for a while. (info: https://modules.prosody.im/mod_s2s_idle_timeout)</flag>
222 - <flag name='s2s_keepalive'>This module periodically sends <a href="http://xmpp.org/extensions/xep-0199.html">XEP-0199</a> ping requests to remote servers to keep your connection alive. (info: https://modules.prosody.im/mod_s2s_keepalive)</flag>
223 + <flag name='s2s_keepalive'>This module periodically sends <a href="https://xmpp.org/extensions/xep-0199.html">XEP-0199</a> ping requests to remote servers to keep your connection alive. (info: https://modules.prosody.im/mod_s2s_keepalive)</flag>
224 <flag name='s2s_keysize_policy'>This module sets the security status of s2s connections to invalid if their key is too small and their certificate was issued after 2014, per CA/B Forum guidelines. (info: https://modules.prosody.im/mod_s2s_keysize_policy)</flag>
225 <flag name='s2s_log_certs'>This module produces info level log messages with the certificate status and fingerprint every time an s2s connection is established. It can also optionally store this in persistant storage. (info: https://modules.prosody.im/mod_s2s_log_certs)</flag>
226 <flag name='s2s_never_encrypt_blacklist'>Let's you stop Prosody from sending &lt;starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'&gt; feature to choppy/buggy servers which therefore would fail to re-negotiate and use a secure stream. (e.g. <a href="http://issues.igniterealtime.org/browse/OF-405">OpenFire 3.7.0</a>) (info: https://modules.prosody.im/mod_s2s_never_encrypt_blacklist)</flag>
227 @@ -194,7 +200,7 @@
228 <flag name='server_contact_info'>This module implements <a href="http://xmpp.org/extensions/xep-0157.html">XEP-0157: Contact Addresses for XMPP Services</a>. (info: https://modules.prosody.im/mod_server_contact_info)</flag>
229 <flag name='server_status'>This module fetches the current status of configured hosts and/or stanza statistics from <a href="http://code.google.com/p/prosody-modules/wiki/mod_stanza_counter#">mod_stanza_counter</a>. And outputs it in either XML or JSON format. (info: https://modules.prosody.im/mod_server_status)</flag>
230 <flag name='service_directories'>No documentation yet :( (info: https://modules.prosody.im/mod_service_directories)</flag>
231 - <flag name='sift'><a href="http://xmpp.org/extensions/xep-0273.html">SIFT</a> is a technology to allow clients to filter incoming traffic on the server. This helps save bandwidth, etc. (info: https://modules.prosody.im/mod_sift)</flag>
232 + <flag name='sift'><a href="https://xmpp.org/extensions/xep-0273.html">SIFT</a> is a technology to allow clients to filter incoming traffic on the server. This helps save bandwidth, etc. (info: https://modules.prosody.im/mod_sift)</flag>
233 <flag name='smacks'>By default XMPP is as reliable as your network is. Unfortunately in some cases that is not very reliable - in some network conditions disconnects can be frequent and message loss can occur. (info: https://modules.prosody.im/mod_smacks)</flag>
234 <flag name='smacks_offline'>No documentation yet :( (info: https://modules.prosody.im/mod_smacks_offline)</flag>
235 <flag name='sms_clickatell'>This module provides and SMS gateway component which uses the Clickatell HTTP API to deliver text messages. See clickatell.com for details on their services. Note that at present, this is entirely one way: replies will either go nowhere or as sms to the source number you specify. (info: https://modules.prosody.im/mod_sms_clickatell)</flag>
236 @@ -208,12 +214,14 @@
237 <flag name='statistics_statsd'>No documentation yet :( (info: https://modules.prosody.im/mod_statistics_statsd)</flag>
238 <flag name='statsd'>No documentation yet :( (info: https://modules.prosody.im/mod_statsd)</flag>
239 <flag name='storage_appendmap'>This is an experimental storage driver where changed data is appended. Data is simply written as <code>key = value</code> pairs to the end of the file. This allows changes to individual keys to be written without needing to write out the entire object again, but reads would grow gradually larger as it still needs to read old overwritten keys. This may be suitable for eg rosters where individual contacts are changed at a time. In theory, this could also allow rolling back changes. (info: https://modules.prosody.im/mod_storage_appendmap)</flag>
240 + <flag name='storage_ejabberdsql_readonly'>This is a storage backend using Ejabberd’s SQL backend. It depends on <a href="https://prosody.im/doc/depends#luadbi">LuaDBI</a> (info: https://modules.prosody.im/mod_storage_ejabberdsql_readonly)</flag>
241 <flag name='storage_gdbm'>This is a storage module using GNU DBM as backend. It supports archives. (info: https://modules.prosody.im/mod_storage_gdbm)</flag>
242 <flag name='storage_ldap'>See <a href="https://modules.prosody.im/mod_lib_ldap.html">mod_lib_ldap</a> for more information. (info: https://modules.prosody.im/mod_storage_ldap)</flag>
243 <flag name='storage_lmdb'>This is a storage module using OpenLDAP Lightning Memory-Mapped Database as backend. (info: https://modules.prosody.im/mod_storage_lmdb)</flag>
244 <flag name='storage_memory'>This module acts as a normal storage module for Prosody, but saves all data in memory only. All data is lost when the server stops. This makes it useful for testing, or certain specialized applications. (info: https://modules.prosody.im/mod_storage_memory)</flag>
245 <flag name='storage_mongodb'>This is a storage backend that uses MongoDB. Depends on <a href="https://github.com/mwild1/luamongo">luamongo bindings</a> (info: https://modules.prosody.im/mod_storage_mongodb)</flag>
246 <flag name='storage_muc_log'><a href="https://modules.prosody.im/mod_muc_log.html">mod_muc_log</a> provided logging of chatrooms running on the server to Prosody's data store. This module gives access to this data using the 0.10+ stanza archive API, allowing legacy log data to be used with <a href="https://modules.prosody.im/mod_mam_muc.html">mod_mam_muc</a> and <a href="https://modules.prosody.im/mod_http_muc_log.html">mod_http_muc_log</a>. (info: https://modules.prosody.im/mod_storage_muc_log)</flag>
247 + <flag name='storage_muconference_readonly'>This is a storage backend using MU-Conference’s SQL storage. It depends on <a href="https://prosody.im/doc/depends#luadbi">LuaDBI</a> (info: https://modules.prosody.im/mod_storage_muconference_readonly)</flag>
248 <flag name='storage_multi'>This module attemtps to provide a storage driver that is really multiple storage drivers. This could be used for storage error tolerance or caching of data in a faster storage driver. (info: https://modules.prosody.im/mod_storage_multi)</flag>
249 <flag name='storage_xmlarchive'>This module implements stanza archives using files, similar to the default &quot;internal&quot; storage. (info: https://modules.prosody.im/mod_storage_xmlarchive)</flag>
250 <flag name='streamstats'>No documentation yet :( (info: https://modules.prosody.im/mod_streamstats)</flag>
251 @@ -229,7 +237,7 @@
252 <flag name='turncredentials'>No documentation yet :( (info: https://modules.prosody.im/mod_turncredentials)</flag>
253 <flag name='twitter'>Twitter has simple API to use, so I tried to deal with it via Prosody. I didn't manage to finish this module, but it is nice example of component that accepts registrations, unregistrations, does HTTP polling and so on. Maybe someone will finnish this idea. (info: https://modules.prosody.im/mod_twitter)</flag>
254 <flag name='uptime_presence'>This module simply responds to a presence probe sent to the server with a presence staza containing a timestamp from when the server started. (info: https://modules.prosody.im/mod_uptime_presence)</flag>
255 - <flag name='vjud'>Basic implementation of <a href="http://xmpp.org/extensions/xep-0055.html">XEP-0055: Jabber Search</a>. (info: https://modules.prosody.im/mod_vjud)</flag>
256 + <flag name='vjud'>Basic implementation of <a href="https://xmpp.org/extensions/xep-0055.html">XEP-0055: Jabber Search</a>. (info: https://modules.prosody.im/mod_vjud)</flag>
257 <flag name='watchuntrusted'>Similar to mod_watchregistrations, this module warns admins when an s2s connection fails due for encryption or trust reasons. (info: https://modules.prosody.im/mod_watchuntrusted)</flag>
258 <flag name='webpresence'>Quite often you may want to publish your Jabber status to your blog or website. mod_webpresence allows you to do exactly this. (info: https://modules.prosody.im/mod_webpresence)</flag>
259
260
261 diff --git a/net-im/prosody-modules/prosody-modules-9999.ebuild b/net-im/prosody-modules/prosody-modules-9999.ebuild
262 index b071e47..676002e 100644
263 --- a/net-im/prosody-modules/prosody-modules-9999.ebuild
264 +++ b/net-im/prosody-modules/prosody-modules-9999.ebuild
265 @@ -1,7 +1,7 @@
266 # Copyright 1999-2016 Gentoo Foundation
267 # Distributed under the terms of the GNU General Public License v2
268
269 -EAPI=5
270 +EAPI=6
271
272 inherit eutils multilib mercurial
273
274 @@ -30,10 +30,11 @@ PROSODY_MODULES="
275 compat_vcard component_client component_roundrobin
276 conformance_restricted couchdb csi csi_compat data_access
277 default_bookmarks default_vcard delegation disable_tls discoitems dwd
278 - email_pass extdisco fallback_vcard filter_chatstates firewall
279 + e2e_policy email_pass extdisco fallback_vcard filter_chatstates firewall
280 flash_policy graceful_shutdown group_bookmarks host_blacklist host_guard
281 - http_altconnect http_dir_listing http_favicon http_index http_logging
282 - http_muc_log http_roster_admin http_upload http_user_count idlecompat
283 + host_status_check host_status_heartbeat http_altconnect http_dir_listing
284 + http_favicon http_host_status_check http_index http_logging http_muc_log
285 + http_roster_admin http_upload http_user_count idlecompat
286 incidents_handling inotify_reload invite ipcheck isolate_host jid_prep
287 json_streams lastlog latex lib_ldap limit_auth limits list_inactive
288 listusers log_auth log_events log_mark log_messages_sql log_rate
289 @@ -42,26 +43,28 @@ PROSODY_MODULES="
290 motd_sequential muc_access_control muc_ban_ip muc_config_restrict
291 muc_intercom muc_limits muc_log muc_log_http muc_restrict_rooms munin
292 net_dovecotauth offline_email onhold onions openid password_policy
293 - pastebin pep_vcard_avatar pinger poke_strangers post_msg presence_cache
294 - presence_dedup privacy_lists private_adhoc privilege proctitle profile
295 - proxy65_whitelist pubsub_eventsource pubsub_feeds pubsub_github
296 - pubsub_hub pubsub_mqtt pubsub_pivotaltracker pubsub_post pubsub_twitter
297 - query_client_ver rawdebug readonly register_dnsbl register_json
298 - register_redirect register_web reload_modules remote_roster require_otr
299 - roster_allinall roster_command s2s_auth_compat s2s_auth_dane
300 - s2s_auth_fingerprint s2s_auth_monkeysphere s2s_blacklist
301 - s2s_idle_timeout s2s_keepalive s2s_keysize_policy s2s_log_certs
302 - s2s_never_encrypt_blacklist s2s_reload_newcomponent s2s_whitelist
303 - s2soutinjection saslauth_muc saslname seclabels secure_interfaces
304 - server_contact_info server_status service_directories sift smacks
305 - smacks_offline sms_clickatell srvinjection sslv3_warn stanza_counter
306 - statistics statistics_auth statistics_cputotal statistics_mem
307 - statistics_statsd statsd storage_appendmap storage_gdbm storage_ldap
308 + pastebin pep_vcard_avatar pep_vcard_png_avatar pinger poke_strangers
309 + post_msg presence_cache presence_dedup privacy_lists private_adhoc
310 + privilege proctitle profile proxy65_whitelist pubsub_eventsource
311 + pubsub_feeds pubsub_github pubsub_hub pubsub_mqtt pubsub_pivotaltracker
312 + pubsub_post pubsub_twitter query_client_ver rawdebug readonly
313 + register_dnsbl register_json register_redirect register_web
314 + reload_modules remote_roster require_otr roster_allinall roster_command
315 + s2s_auth_compat s2s_auth_dane s2s_auth_fingerprint s2s_auth_monkeysphere
316 + s2s_auth_samecert s2s_blacklist s2s_idle_timeout s2s_keepalive
317 + s2s_keysize_policy s2s_log_certs s2s_never_encrypt_blacklist
318 + s2s_reload_newcomponent s2s_whitelist s2soutinjection saslauth_muc
319 + saslname seclabels secure_interfaces server_contact_info server_status
320 + service_directories sift smacks smacks_offline sms_clickatell
321 + srvinjection sslv3_warn stanza_counter statistics statistics_auth
322 + statistics_cputotal statistics_mem statistics_statsd statsd
323 + storage_appendmap storage_ejabberdsql_readonly storage_gdbm storage_ldap
324 storage_lmdb storage_memory storage_mongodb storage_muc_log
325 - storage_multi storage_xmlarchive streamstats strict_https
326 - support_contact swedishchef tcpproxy telnet_tlsinfo throttle_presence
327 - throttle_unsolicited tls_policy track_muc_joins turncredentials twitter
328 - uptime_presence vjud watchuntrusted webpresence
329 + storage_muconference_readonly storage_multi storage_xmlarchive
330 + streamstats strict_https support_contact swedishchef tcpproxy
331 + telnet_tlsinfo throttle_presence throttle_unsolicited tls_policy
332 + track_muc_joins turncredentials twitter uptime_presence vjud
333 + watchuntrusted webpresence
334 "
335
336
337
338 diff --git a/net-im/prosody/files/prosody.initd b/net-im/prosody/files/prosody.initd
339 index aa422f6..43e6150 100644
340 --- a/net-im/prosody/files/prosody.initd
341 +++ b/net-im/prosody/files/prosody.initd
342 @@ -1,4 +1,4 @@
343 -#!/sbin/runscript
344 +#!/sbin/openrc-run
345 # Copyright 1999-2012 Gentoo Foundation
346 # Distributed under the terms of the GNU General Public License v2
347 # $Header: $
348
349 diff --git a/net-im/prosody/prosody-0.9.8.ebuild b/net-im/prosody/prosody-0.9.8.ebuild
350 deleted file mode 100644
351 index 58fbe7d..0000000
352 --- a/net-im/prosody/prosody-0.9.8.ebuild
353 +++ /dev/null
354 @@ -1,131 +0,0 @@
355 -# Copyright 1999-2016 Gentoo Foundation
356 -# Distributed under the terms of the GNU General Public License v2
357 -
358 -EAPI=5
359 -
360 -inherit eutils multilib toolchain-funcs versionator
361 -
362 -DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua."
363 -HOMEPAGE="http://prosody.im/"
364 -
365 -SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
366 -
367 -LICENSE="MIT"
368 -SLOT="0"
369 -KEYWORDS="x86 amd64 mips arm sparc"
370 -IUSE="doc +libevent mysql postgres sqlite +ssl +zlib luajit ipv6 migration"
371 -
372 -DEPEND="
373 - net-im/jabber-base
374 - virtual/lua[luajit=]
375 - >=net-dns/libidn-1.1
376 - >=dev-libs/openssl-0.9.8
377 -"
378 -
379 -RDEPEND="
380 - ${DEPEND}
381 - dev-lua/luasocket
382 - ipv6? ( =dev-lua/luasocket-9999 )
383 - ssl? ( =dev-lua/luasec-9999 )
384 - dev-lua/luaexpat
385 - dev-lua/luafilesystem
386 - mysql? ( >=dev-lua/luadbi-0.5[mysql] )
387 - postgres? ( >=dev-lua/luadbi-0.5[postgres] )
388 - sqlite? ( >=dev-lua/luadbi-0.5[sqlite] )
389 - libevent? ( dev-lua/luaevent )
390 - zlib? ( dev-lua/lua-zlib )
391 -"
392 -
393 -S="${WORKDIR}/${P}"
394 -
395 -JABBER_ETC="/etc/jabber"
396 -JABBER_SPOOL="/var/spool/jabber"
397 -
398 -
399 -DOCS=( -r doc/ HACKERS AUTHORS )
400 -
401 -src_prepare() {
402 - epatch "${FILESDIR}/${PN}-0.8.0-cfg.lua.patch"
403 - sed -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" -i Makefile
404 - sed -e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" -i Makefile
405 - sed -e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!" -i Makefile
406 - sed -e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!" -i Makefile
407 - sed -e 's!\(os.execute(\)\(CFG_SOURCEDIR.."/../../bin/prosody"\)\();\)!\1"/usr/bin/prosody"\3!' -i util/prosodyctl.lua
408 - sed -e 's!\(desired_user = .* or "\)\(prosody\)\(";\)!\1jabber\3!' -i prosodyctl
409 -
410 - use luajit && {
411 - find . -type f -name "*.lua" -print0 | xargs -0 sed -re "1s%#!.*%#!/usr/bin/env luajit%" -i
412 - }
413 -}
414 -
415 -src_configure() {
416 - local lua=lua;
417 -
418 - use luajit && {
419 - myconf="--lua-suffix=jit"
420 - lua=luajit;
421 - }
422 -
423 - # the configure script is handcrafted (and yells at unknown options)
424 - # hence do not use 'econf'
425 - ./configure --prefix="/usr" \
426 - --ostype=linux \
427 - --sysconfdir="${JABBER_ETC}" \
428 - --datadir="${JABBER_SPOOL}" \
429 - --with-lua-lib=/usr/$(get_libdir) \
430 - --c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \
431 - --cflags="${CFLAGS} -Wall -fPIC -D_GNU_SOURCE" \
432 - --ldflags="${LDFLAGS} -shared" \
433 - --runwith="${lua}" \
434 - --with-lua-include="$($(tc-getPKG_CONFIG) --variable includedir ${lua})" \
435 - --require-config "${myconf}" || die "configure failed"
436 -}
437 -
438 -src_compile() {
439 - default
440 - use migration && (
441 - cd "${S}/tools/migration"
442 - emake || die "emake migrator fails"
443 - )
444 -}
445 -
446 -src_install() {
447 - local lua=lua
448 - use luajit && lua=luajit
449 - default
450 -# DESTDIR="${D}" emake install || die "make failed"
451 - newinitd "${FILESDIR}/${PN}".initd "${PN}"
452 - insinto /etc/logrotate.d
453 - newins "${FILESDIR}/${PN}".logrotate "${PN}"
454 -
455 - use migration && (
456 - cd "${S}/tools/migration"
457 - DESTDIR="${D}" emake install || die "migrator install failed"
458 - cd "${S}"
459 - rm -rf tools/migration
460 - insinto $($(tc-getPKG_CONFIG) ${lua} --variable INSTALL_LMOD)
461 - doins tools/erlparse.lua
462 - rm tools/erlparse.lua
463 - fowners "jabber:jabber" -R "/usr/$(get_libdir)/${PN}"
464 - fperms "775" -R "/usr/$(get_libdir)/${PN}"
465 - insinto "/usr/$(get_libdir)/${PN}"
466 - doins -r tools
467 - )
468 -}
469 -
470 -src_test() {
471 - cd tests
472 - ./run_tests.sh
473 -}
474 -
475 -pkg_postinst() {
476 - use migration && (
477 - einfo 'You have enabled "migration" USE-flag.'
478 - einfo "If you want to migrate data from Ejabberd server, then"
479 - einfo "take a look at /usr/$(get_libdir)/${PN}/*{2,to}prosody.lua"
480 - einfo "migration scripts."
481 - einfo 'Also, you can find "prosody-migrator" binary as usefull'
482 - einfo "to migrate data from jabberd14, or between prosody files"
483 - einfo "storage and SQLite3."
484 - )
485 -}
486
487 diff --git a/net-im/prosody/prosody-9999.ebuild b/net-im/prosody/prosody-9999.ebuild
488 index d0dc0f1..1799682 100644
489 --- a/net-im/prosody/prosody-9999.ebuild
490 +++ b/net-im/prosody/prosody-9999.ebuild
491 @@ -1,7 +1,7 @@
492 # Copyright 1999-2016 Gentoo Foundation
493 # Distributed under the terms of the GNU General Public License v2
494
495 -EAPI=5
496 +EAPI=6
497
498 inherit eutils multilib toolchain-funcs versionator mercurial
499
500 @@ -38,13 +38,11 @@ RDEPEND="
501 zlib? ( dev-lua/lua-zlib )
502 "
503
504 -S="${WORKDIR}/${P}"
505 -
506 JABBER_ETC="/etc/jabber"
507 JABBER_SPOOL="/var/spool/jabber"
508
509
510 -DOCS=( -r doc/ HACKERS AUTHORS )
511 +DOCS=( doc/ HACKERS AUTHORS )
512
513 src_prepare() {
514 epatch "${FILESDIR}/${PN}-0.8.0-cfg.lua.patch"
515 @@ -58,6 +56,8 @@ src_prepare() {
516 use luajit && {
517 find . -type f -name "*.lua" -print0 | xargs -0 sed -re "1s%#!.*%#!/usr/bin/env luajit%" -i
518 }
519 +
520 + default
521 }
522
523 src_configure() {