Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/prosody-modules/
Date: Fri, 29 Oct 2021 22:01:20
Message-Id: 1635544795.bad9df69e9f0c523f8705337eff5a02bc7dbfb09.conikost@gentoo
1 commit: bad9df69e9f0c523f8705337eff5a02bc7dbfb09
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 21:59:55 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 21:59:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad9df69
7
8 net-im/prosody-modules: drop old version
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 net-im/prosody-modules/Manifest | 1 -
14 .../prosody-modules-0_pre20210901.ebuild | 55 ----------------------
15 2 files changed, 56 deletions(-)
16
17 diff --git a/net-im/prosody-modules/Manifest b/net-im/prosody-modules/Manifest
18 index a6ca2d16b41..a85626a0d7c 100644
19 --- a/net-im/prosody-modules/Manifest
20 +++ b/net-im/prosody-modules/Manifest
21 @@ -1,2 +1 @@
22 -DIST prosody-modules-0_pre20210901.tar.xz 1205504 BLAKE2B 10959ffdecd107593777398ee1019f77bae3bb28a829b3f5a974c6715607904e79ce01020ac76585b35115a7cd97f400575c8ed20e9ca333bfdb3e83b6005554 SHA512 f27d7372c4e95d3a942c16ebcd00392d3faeaea525a8c18ff5da293a5be3493730200de008d249cb946fbe8c15039934b35278e30bda018c942c1d38faa3fd29
23 DIST prosody-modules-0_pre20211027.tar.xz 1214428 BLAKE2B a514d5d66475c68d6e7eb3040b648530b1f525fc555e85773f53fa982e2634e10fca3721e463ca6a714a2b058213d5a923e8181f332d509b91bba5b6cc15b3b0 SHA512 0d9fc8f167f7a93ee3d46ea517a7943d1a448a7513776e9e6d0003362cc24be938ed185e8c8ce33570aa91e0b1fd66dc4e0f7cc863d97e108f3213e86085b863
24
25 diff --git a/net-im/prosody-modules/prosody-modules-0_pre20210901.ebuild b/net-im/prosody-modules/prosody-modules-0_pre20210901.ebuild
26 deleted file mode 100644
27 index ff13c951991..00000000000
28 --- a/net-im/prosody-modules/prosody-modules-0_pre20210901.ebuild
29 +++ /dev/null
30 @@ -1,55 +0,0 @@
31 -# Copyright 2020-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit savedconfig
37 -
38 -DESCRIPTION="A collection of community-maintained modules for Prosody"
39 -HOMEPAGE="https://modules.prosody.im"
40 -SRC_URI="https://dev.gentoo.org/~conikost/distfiles/${P}.tar.xz"
41 -S="${WORKDIR}/${PN}"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 -
47 -RDEPEND="net-im/prosody"
48 -
49 -src_prepare() {
50 - default
51 -
52 - # Exclude 'misc' folder from install, since it does not provide any modules.
53 - echo "# Remove all modules from this list, which you don't want to install." > prosody-modules.conf || die
54 - find * -maxdepth 0 -type d ! -name misc >> prosody-modules.conf || die
55 -
56 - use savedconfig && restore_config prosody-modules.conf
57 -}
58 -
59 -src_install() {
60 - insinto "/usr/$(get_libdir)/prosody/community-modules"
61 - while read prosody_module; do
62 - if ! [[ "${prosody_module}" = \#* ]]; then
63 - if [[ -f "${prosody_module}/README.markdown" ]]; then
64 - newdoc "${prosody_module}/README.markdown" "README.${prosody_module}"
65 - rm "${prosody_module}/README.markdown" || die
66 - fi
67 -
68 - doins -r "${prosody_module}"
69 - fi
70 - done <prosody-modules.conf
71 -
72 - save_config prosody-modules.conf
73 -
74 - einstalldocs
75 -}
76 -
77 -pkg_postinst() {
78 - savedconfig_pkg_postinst
79 -
80 - einfo "In order to use the community modules on an existing instance, you have to add"
81 - einfo "'/usr/$(get_libdir)/prosody/community-modules' into 'plugin_paths'"
82 - einfo "into your prosody configuration file '/etc/jabber/prosody.cfg.lua.'"
83 - einfo ""
84 - einfo "Example: plugin_paths = { /usr/$(get_libdir)/prosody/community-modules };"
85 -}