From e77f139df9dfc103fb6001b08bce7445bde8f3aa Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Thu, 27 Apr 2017 06:28:12 +0000 Subject: [PATCH] New port net-im/prosody-modules * Modules for net-im/prosody * Based on the patch by Martin Sugioarto PR: 214960 Reviewed by: rakuco, mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D10400 --- net-im/Makefile | 1 + net-im/prosody-modules/Makefile | 31 +++ net-im/prosody-modules/distinfo | 3 + net-im/prosody-modules/files/pkg-message.in | 7 + net-im/prosody-modules/pkg-descr | 4 + net-im/prosody-modules/pkg-plist | 261 ++++++++++++++++++++ 6 files changed, 307 insertions(+) create mode 100644 net-im/prosody-modules/Makefile create mode 100644 net-im/prosody-modules/distinfo create mode 100644 net-im/prosody-modules/files/pkg-message.in create mode 100644 net-im/prosody-modules/pkg-descr create mode 100644 net-im/prosody-modules/pkg-plist diff --git a/net-im/Makefile b/net-im/Makefile index 9e15d90cb4a5..132377c67170 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -124,6 +124,7 @@ SUBDIR += pork SUBDIR += profanity SUBDIR += prosody + SUBDIR += prosody-modules SUBDIR += proxy65 SUBDIR += psi SUBDIR += psimedia diff --git a/net-im/prosody-modules/Makefile b/net-im/prosody-modules/Makefile new file mode 100644 index 000000000000..77ba8bb35a91 --- /dev/null +++ b/net-im/prosody-modules/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= prosody-modules +PORTVERSION= 20170414 +CATEGORIES= net-im +MASTER_SITES= https://hg.prosody.im/${PORTNAME}/archive/ \ + LOCAL/tcberner/${PORTNAME}-${PORTVERSION} +DISTNAME= 39cb2a51e779 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= tcberner@FreeBSD.org +COMMENT= Prosody modules repository snapshot + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= prosodyctl:net-im/prosody + +NO_BUILD= yes +SUB_FILES= pkg-message +SUB_LIST= INSTALLPATH=${INSTALLPATH} +PLIST_SUB= INSTALLPATH=${INSTALLPATH} +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME} +INSTALLPATH= ${PREFIX}/lib/${PORTNAME} + +do-install: + ${MKDIR} ${STAGEDIR}${INSTALLPATH} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} mod_*/*.lua ${STAGEDIR}${INSTALLPATH} + cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR} + +.include diff --git a/net-im/prosody-modules/distinfo b/net-im/prosody-modules/distinfo new file mode 100644 index 000000000000..5fe2176f0f32 --- /dev/null +++ b/net-im/prosody-modules/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1492200627 +SHA256 (prosody-modules/39cb2a51e779.tar.gz) = 5a08b34488603ae44b2c91621a4cd53cddd0b50744df10e859658f22a7e17a84 +SIZE (prosody-modules/39cb2a51e779.tar.gz) = 798178 diff --git a/net-im/prosody-modules/files/pkg-message.in b/net-im/prosody-modules/files/pkg-message.in new file mode 100644 index 000000000000..903b9d2de031 --- /dev/null +++ b/net-im/prosody-modules/files/pkg-message.in @@ -0,0 +1,7 @@ +To be able to use prosody-modules add this line to your +%%PREFIX%%/etc/prosody/prosody.cfg.lua configuration: + +plugin_paths = { "%%INSTALLPATH%%" } + +and add the modules you want to load in the section +"modules_enabled". diff --git a/net-im/prosody-modules/pkg-descr b/net-im/prosody-modules/pkg-descr new file mode 100644 index 000000000000..8bc515a8a587 --- /dev/null +++ b/net-im/prosody-modules/pkg-descr @@ -0,0 +1,4 @@ +Prosody modules contains a repository snapshot of contributed +modules needed to extend the Prosody XMPP server. + +WWW: https://modules.prosody.im/ diff --git a/net-im/prosody-modules/pkg-plist b/net-im/prosody-modules/pkg-plist new file mode 100644 index 000000000000..04b28034ed66 --- /dev/null +++ b/net-im/prosody-modules/pkg-plist @@ -0,0 +1,261 @@ +%%DOCSDIR%%/README +%%INSTALLPATH%%/actions.lib.lua +%%INSTALLPATH%%/conditions.lib.lua +%%INSTALLPATH%%/datamanager_append_raw.lib.lua +%%INSTALLPATH%%/definitions.lib.lua +%%INSTALLPATH%%/fallback_archive.lib.lua +%%INSTALLPATH%%/feeds.lib.lua +%%INSTALLPATH%%/install.lua +%%INSTALLPATH%%/ldap.lib.lua +%%INSTALLPATH%%/mamprefs.lib.lua +%%INSTALLPATH%%/mamprefsxml.lib.lua +%%INSTALLPATH%%/mod_addressing.lua +%%INSTALLPATH%%/mod_adhoc_account_management.lua +%%INSTALLPATH%%/mod_adhoc_blacklist.lua +%%INSTALLPATH%%/mod_admin_blocklist.lua +%%INSTALLPATH%%/mod_admin_message.lua +%%INSTALLPATH%%/mod_admin_probe.lua +%%INSTALLPATH%%/mod_alias.lua +%%INSTALLPATH%%/mod_atom.lua +%%INSTALLPATH%%/mod_auth_any.lua +%%INSTALLPATH%%/mod_auth_ccert.lua +%%INSTALLPATH%%/mod_auth_custom_http.lua +%%INSTALLPATH%%/mod_auth_external.lua +%%INSTALLPATH%%/mod_auth_ha1.lua +%%INSTALLPATH%%/mod_auth_http_async.lua +%%INSTALLPATH%%/mod_auth_internal_yubikey.lua +%%INSTALLPATH%%/mod_auth_joomla.lua +%%INSTALLPATH%%/mod_auth_ldap.lua +%%INSTALLPATH%%/mod_auth_ldap2.lua +%%INSTALLPATH%%/mod_auth_pam.lua +%%INSTALLPATH%%/mod_auth_phpbb3.lua +%%INSTALLPATH%%/mod_auth_sql.lua +%%INSTALLPATH%%/mod_auth_wordpress.lua +%%INSTALLPATH%%/mod_auto_accept_subscriptions.lua +%%INSTALLPATH%%/mod_auto_activate_hosts.lua +%%INSTALLPATH%%/mod_benchmark_storage.lua +%%INSTALLPATH%%/mod_bidi.lua +%%INSTALLPATH%%/mod_block_outgoing.lua +%%INSTALLPATH%%/mod_block_registrations.lua +%%INSTALLPATH%%/mod_block_s2s_subscriptions.lua +%%INSTALLPATH%%/mod_block_strangers.lua +%%INSTALLPATH%%/mod_block_subscribes.lua +%%INSTALLPATH%%/mod_block_subscriptions.lua +%%INSTALLPATH%%/mod_blocking.lua +%%INSTALLPATH%%/mod_broadcast.lua +%%INSTALLPATH%%/mod_c2s_conn_throttle.lua +%%INSTALLPATH%%/mod_c2s_limit_sessions.lua +%%INSTALLPATH%%/mod_candy.lua +%%INSTALLPATH%%/mod_carbons.lua +%%INSTALLPATH%%/mod_carbons_adhoc.lua +%%INSTALLPATH%%/mod_carbons_copies.lua +%%INSTALLPATH%%/mod_checkcerts.lua +%%INSTALLPATH%%/mod_client_certs.lua +%%INSTALLPATH%%/mod_cloud_notify.lua +%%INSTALLPATH%%/mod_compact_resource.lua +%%INSTALLPATH%%/mod_compat_bind.lua +%%INSTALLPATH%%/mod_compat_dialback.lua +%%INSTALLPATH%%/mod_compat_muc_admin.lua +%%INSTALLPATH%%/mod_compat_vcard.lua +%%INSTALLPATH%%/mod_component_client.lua +%%INSTALLPATH%%/mod_component_roundrobin.lua +%%INSTALLPATH%%/mod_compression.lua +%%INSTALLPATH%%/mod_conformance_restricted.lua +%%INSTALLPATH%%/mod_conversejs.lua +%%INSTALLPATH%%/mod_csi.lua +%%INSTALLPATH%%/mod_csi_battery_saver.lua +%%INSTALLPATH%%/mod_csi_compat.lua +%%INSTALLPATH%%/mod_csi_pump.lua +%%INSTALLPATH%%/mod_data_access.lua +%%INSTALLPATH%%/mod_default_bookmarks.lua +%%INSTALLPATH%%/mod_default_vcard.lua +%%INSTALLPATH%%/mod_delay.lua +%%INSTALLPATH%%/mod_delegation.lua +%%INSTALLPATH%%/mod_disable_tls.lua +%%INSTALLPATH%%/mod_discoitems.lua +%%INSTALLPATH%%/mod_dwd.lua +%%INSTALLPATH%%/mod_e2e_policy.lua +%%INSTALLPATH%%/mod_email_pass.lua +%%INSTALLPATH%%/mod_extdisco.lua +%%INSTALLPATH%%/mod_fallback_vcard.lua +%%INSTALLPATH%%/mod_filter_chatstates.lua +%%INSTALLPATH%%/mod_filter_words.lua +%%INSTALLPATH%%/mod_firewall.lua +%%INSTALLPATH%%/mod_flash_policy.lua +%%INSTALLPATH%%/mod_graceful_shutdown.lua +%%INSTALLPATH%%/mod_group_bookmarks.lua +%%INSTALLPATH%%/mod_host_blacklist.lua +%%INSTALLPATH%%/mod_host_guard.lua +%%INSTALLPATH%%/mod_host_status_check.lua +%%INSTALLPATH%%/mod_host_status_heartbeat.lua +%%INSTALLPATH%%/mod_http_altconnect.lua +%%INSTALLPATH%%/mod_http_authentication.lua +%%INSTALLPATH%%/mod_http_favicon.lua +%%INSTALLPATH%%/mod_http_host_status_check.lua +%%INSTALLPATH%%/mod_http_hostaliases.lua +%%INSTALLPATH%%/mod_http_index.lua +%%INSTALLPATH%%/mod_http_logging.lua +%%INSTALLPATH%%/mod_http_muc_log.lua +%%INSTALLPATH%%/mod_http_rest.lua +%%INSTALLPATH%%/mod_http_roster_admin.lua +%%INSTALLPATH%%/mod_http_stats_stream.lua +%%INSTALLPATH%%/mod_http_upload.lua +%%INSTALLPATH%%/mod_http_upload_external.lua +%%INSTALLPATH%%/mod_http_user_count.lua +%%INSTALLPATH%%/mod_idlecompat.lua +%%INSTALLPATH%%/mod_inotify_reload.lua +%%INSTALLPATH%%/mod_invite.lua +%%INSTALLPATH%%/mod_ipcheck.lua +%%INSTALLPATH%%/mod_isolate_host.lua +%%INSTALLPATH%%/mod_jid_prep.lua +%%INSTALLPATH%%/mod_json_streams.lua +%%INSTALLPATH%%/mod_lastlog.lua +%%INSTALLPATH%%/mod_latex.lua +%%INSTALLPATH%%/mod_limit_auth.lua +%%INSTALLPATH%%/mod_limits.lua +%%INSTALLPATH%%/mod_list_active.lua +%%INSTALLPATH%%/mod_list_inactive.lua +%%INSTALLPATH%%/mod_listusers.lua +%%INSTALLPATH%%/mod_log_auth.lua +%%INSTALLPATH%%/mod_log_events.lua +%%INSTALLPATH%%/mod_log_mark.lua +%%INSTALLPATH%%/mod_log_messages_sql.lua +%%INSTALLPATH%%/mod_log_rate.lua +%%INSTALLPATH%%/mod_log_sasl_mech.lua +%%INSTALLPATH%%/mod_log_slow_events.lua +%%INSTALLPATH%%/mod_mam.lua +%%INSTALLPATH%%/mod_mam_adhoc.lua +%%INSTALLPATH%%/mod_mam_archive.lua +%%INSTALLPATH%%/mod_mam_muc.lua +%%INSTALLPATH%%/mod_mamsub.lua +%%INSTALLPATH%%/mod_manifesto.lua +%%INSTALLPATH%%/mod_measure_cpu.lua +%%INSTALLPATH%%/mod_measure_memory.lua +%%INSTALLPATH%%/mod_measure_message_length.lua +%%INSTALLPATH%%/mod_measure_storage.lua +%%INSTALLPATH%%/mod_message_logging.lua +%%INSTALLPATH%%/mod_migrate.lua +%%INSTALLPATH%%/mod_motd_sequential.lua +%%INSTALLPATH%%/mod_muc_access_control.lua +%%INSTALLPATH%%/mod_muc_ban_ip.lua +%%INSTALLPATH%%/mod_muc_block_pm.lua +%%INSTALLPATH%%/mod_muc_config_restrict.lua +%%INSTALLPATH%%/mod_muc_intercom.lua +%%INSTALLPATH%%/mod_muc_limits.lua +%%INSTALLPATH%%/mod_muc_log.lua +%%INSTALLPATH%%/mod_muc_restrict_rooms.lua +%%INSTALLPATH%%/mod_munin.lua +%%INSTALLPATH%%/mod_net_dovecotauth.lua +%%INSTALLPATH%%/mod_offline_email.lua +%%INSTALLPATH%%/mod_onhold.lua +%%INSTALLPATH%%/mod_onions.lua +%%INSTALLPATH%%/mod_openid.lua +%%INSTALLPATH%%/mod_password_policy.lua +%%INSTALLPATH%%/mod_pastebin.lua +%%INSTALLPATH%%/mod_pep_plus.lua +%%INSTALLPATH%%/mod_pep_vcard_avatar.lua +%%INSTALLPATH%%/mod_pep_vcard_png_avatar.lua +%%INSTALLPATH%%/mod_persisthosts.lua +%%INSTALLPATH%%/mod_pinger.lua +%%INSTALLPATH%%/mod_poke_strangers.lua +%%INSTALLPATH%%/mod_post_msg.lua +%%INSTALLPATH%%/mod_presence_cache.lua +%%INSTALLPATH%%/mod_presence_dedup.lua +%%INSTALLPATH%%/mod_privacy_lists.lua +%%INSTALLPATH%%/mod_private_adhoc.lua +%%INSTALLPATH%%/mod_privilege.lua +%%INSTALLPATH%%/mod_proctitle.lua +%%INSTALLPATH%%/mod_profile.lua +%%INSTALLPATH%%/mod_proxy65_whitelist.lua +%%INSTALLPATH%%/mod_pubsub_eventsource.lua +%%INSTALLPATH%%/mod_pubsub_feeds.lua +%%INSTALLPATH%%/mod_pubsub_github.lua +%%INSTALLPATH%%/mod_pubsub_hub.lua +%%INSTALLPATH%%/mod_pubsub_mqtt.lua +%%INSTALLPATH%%/mod_pubsub_pivotaltracker.lua +%%INSTALLPATH%%/mod_pubsub_post.lua +%%INSTALLPATH%%/mod_pubsub_twitter.lua +%%INSTALLPATH%%/mod_query_client_ver.lua +%%INSTALLPATH%%/mod_rawdebug.lua +%%INSTALLPATH%%/mod_readonly.lua +%%INSTALLPATH%%/mod_register_dnsbl.lua +%%INSTALLPATH%%/mod_register_redirect.lua +%%INSTALLPATH%%/mod_register_web.lua +%%INSTALLPATH%%/mod_reload_components.lua +%%INSTALLPATH%%/mod_reload_modules.lua +%%INSTALLPATH%%/mod_remote_roster.lua +%%INSTALLPATH%%/mod_require_otr.lua +%%INSTALLPATH%%/mod_roster_allinall.lua +%%INSTALLPATH%%/mod_roster_command.lua +%%INSTALLPATH%%/mod_s2s_auth_compat.lua +%%INSTALLPATH%%/mod_s2s_auth_dane.lua +%%INSTALLPATH%%/mod_s2s_auth_fingerprint.lua +%%INSTALLPATH%%/mod_s2s_auth_monkeysphere.lua +%%INSTALLPATH%%/mod_s2s_auth_samecert.lua +%%INSTALLPATH%%/mod_s2s_blacklist.lua +%%INSTALLPATH%%/mod_s2s_idle_timeout.lua +%%INSTALLPATH%%/mod_s2s_keepalive.lua +%%INSTALLPATH%%/mod_s2s_keysize_policy.lua +%%INSTALLPATH%%/mod_s2s_log_certs.lua +%%INSTALLPATH%%/mod_s2s_never_encrypt_blacklist.lua +%%INSTALLPATH%%/mod_s2s_reload_newcomponent.lua +%%INSTALLPATH%%/mod_s2s_whitelist.lua +%%INSTALLPATH%%/mod_s2soutinjection.lua +%%INSTALLPATH%%/mod_saslauth_muc.lua +%%INSTALLPATH%%/mod_saslname.lua +%%INSTALLPATH%%/mod_seclabels.lua +%%INSTALLPATH%%/mod_secure_interfaces.lua +%%INSTALLPATH%%/mod_server_contact_info.lua +%%INSTALLPATH%%/mod_server_status.lua +%%INSTALLPATH%%/mod_service_directories.lua +%%INSTALLPATH%%/mod_sift.lua +%%INSTALLPATH%%/mod_smacks.lua +%%INSTALLPATH%%/mod_smacks_noerror.lua +%%INSTALLPATH%%/mod_smacks_offline.lua +%%INSTALLPATH%%/mod_sms_clickatell.lua +%%INSTALLPATH%%/mod_spam_reporting.lua +%%INSTALLPATH%%/mod_srvinjection.lua +%%INSTALLPATH%%/mod_sslv3_warn.lua +%%INSTALLPATH%%/mod_stanza_counter.lua +%%INSTALLPATH%%/mod_stanza_counter_http.lua +%%INSTALLPATH%%/mod_stanzadebug.lua +%%INSTALLPATH%%/mod_statistics.lua +%%INSTALLPATH%%/mod_statistics_auth.lua +%%INSTALLPATH%%/mod_statistics_cputotal.lua +%%INSTALLPATH%%/mod_statistics_mem.lua +%%INSTALLPATH%%/mod_statistics_statsd.lua +%%INSTALLPATH%%/mod_statsd.lua +%%INSTALLPATH%%/mod_storage_appendmap.lua +%%INSTALLPATH%%/mod_storage_ejabberdsql_readonly.lua +%%INSTALLPATH%%/mod_storage_gdbm.lua +%%INSTALLPATH%%/mod_storage_ldap.lua +%%INSTALLPATH%%/mod_storage_lmdb.lua +%%INSTALLPATH%%/mod_storage_memory.lua +%%INSTALLPATH%%/mod_storage_mongodb.lua +%%INSTALLPATH%%/mod_storage_muc_log.lua +%%INSTALLPATH%%/mod_storage_muconference_readonly.lua +%%INSTALLPATH%%/mod_storage_multi.lua +%%INSTALLPATH%%/mod_storage_xmlarchive.lua +%%INSTALLPATH%%/mod_streamstats.lua +%%INSTALLPATH%%/mod_strict_https.lua +%%INSTALLPATH%%/mod_support_contact.lua +%%INSTALLPATH%%/mod_swedishchef.lua +%%INSTALLPATH%%/mod_tcpproxy.lua +%%INSTALLPATH%%/mod_telnet_tlsinfo.lua +%%INSTALLPATH%%/mod_throttle_presence.lua +%%INSTALLPATH%%/mod_throttle_unsolicited.lua +%%INSTALLPATH%%/mod_tls_policy.lua +%%INSTALLPATH%%/mod_track_muc_joins.lua +%%INSTALLPATH%%/mod_turncredentials.lua +%%INSTALLPATH%%/mod_twitter.lua +%%INSTALLPATH%%/mod_uptime_presence.lua +%%INSTALLPATH%%/mod_vjud.lua +%%INSTALLPATH%%/mod_watchuntrusted.lua +%%INSTALLPATH%%/mod_webpresence.lua +%%INSTALLPATH%%/mqtt.lib.lua +%%INSTALLPATH%%/prosodytop.lua +%%INSTALLPATH%%/rsm.lib.lua +%%INSTALLPATH%%/stats.lib.lua +%%INSTALLPATH%%/test.lib.lua +%%INSTALLPATH%%/top.lua +%%INSTALLPATH%%/vcard.lib.lua