From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58361158086 for ; Fri, 29 Oct 2021 22:01:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 033FBE0877; Fri, 29 Oct 2021 22:01:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9B3FE0877 for ; Fri, 29 Oct 2021 22:01:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3F83342ECF for ; Fri, 29 Oct 2021 22:01:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49D351AD for ; Fri, 29 Oct 2021 22:01:11 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1635544746.c30dbe13240c7f63f271b4043e555f640d40542d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/prosody-modules/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/prosody-modules/Manifest net-im/prosody-modules/prosody-modules-0_pre20211027.ebuild X-VCS-Directories: net-im/prosody-modules/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c30dbe13240c7f63f271b4043e555f640d40542d X-VCS-Branch: master Date: Fri, 29 Oct 2021 22:01:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c89a51f2-9164-4f0c-acb7-cec899afe250 X-Archives-Hash: 6be4c449d31708e206535ae379630fb4 commit: c30dbe13240c7f63f271b4043e555f640d40542d Author: Conrad Kostecki gentoo org> AuthorDate: Fri Oct 29 21:59:06 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Oct 29 21:59:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c30dbe13 net-im/prosody-modules: bump to newest snapshot Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-im/prosody-modules/Manifest | 1 + .../prosody-modules-0_pre20211027.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/net-im/prosody-modules/Manifest b/net-im/prosody-modules/Manifest index 244bd0a91ca..a6ca2d16b41 100644 --- a/net-im/prosody-modules/Manifest +++ b/net-im/prosody-modules/Manifest @@ -1 +1,2 @@ DIST prosody-modules-0_pre20210901.tar.xz 1205504 BLAKE2B 10959ffdecd107593777398ee1019f77bae3bb28a829b3f5a974c6715607904e79ce01020ac76585b35115a7cd97f400575c8ed20e9ca333bfdb3e83b6005554 SHA512 f27d7372c4e95d3a942c16ebcd00392d3faeaea525a8c18ff5da293a5be3493730200de008d249cb946fbe8c15039934b35278e30bda018c942c1d38faa3fd29 +DIST prosody-modules-0_pre20211027.tar.xz 1214428 BLAKE2B a514d5d66475c68d6e7eb3040b648530b1f525fc555e85773f53fa982e2634e10fca3721e463ca6a714a2b058213d5a923e8181f332d509b91bba5b6cc15b3b0 SHA512 0d9fc8f167f7a93ee3d46ea517a7943d1a448a7513776e9e6d0003362cc24be938ed185e8c8ce33570aa91e0b1fd66dc4e0f7cc863d97e108f3213e86085b863 diff --git a/net-im/prosody-modules/prosody-modules-0_pre20211027.ebuild b/net-im/prosody-modules/prosody-modules-0_pre20211027.ebuild new file mode 100644 index 00000000000..31462790da3 --- /dev/null +++ b/net-im/prosody-modules/prosody-modules-0_pre20211027.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit savedconfig + +DESCRIPTION="A collection of community-maintained modules for Prosody" +HOMEPAGE="https://modules.prosody.im" +SRC_URI="https://dev.gentoo.org/~conikost/distfiles/${P}.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="net-im/prosody" + +src_prepare() { + default + + # Exclude 'misc' folder from install, since it does not provide any modules. + echo "# Remove all modules from this list, which you don't want to install." > prosody-modules.conf || die + find * -maxdepth 0 -type d ! -name misc >> prosody-modules.conf || die + + use savedconfig && restore_config prosody-modules.conf +} + +src_install() { + insinto "/usr/$(get_libdir)/prosody/community-modules" + while read prosody_module; do + if ! [[ "${prosody_module}" = \#* ]]; then + if [[ -f "${prosody_module}/README.markdown" ]]; then + newdoc "${prosody_module}/README.markdown" "README.${prosody_module}" + rm "${prosody_module}/README.markdown" || die + fi + + doins -r "${prosody_module}" + fi + done