diff options
Diffstat (limited to 'net-im/prosody')
-rw-r--r-- | net-im/prosody/Manifest | 2 | ||||
-rw-r--r-- | net-im/prosody/prosody-0.12.5.ebuild | 16 |
2 files changed, 4 insertions, 14 deletions
diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest index 66fc75e3f0ac..adb8014ed770 100644 --- a/net-im/prosody/Manifest +++ b/net-im/prosody/Manifest @@ -3,5 +3,5 @@ AUX prosody.initd-r6 1114 BLAKE2B a988b584eb49d21261776fa0a651dc01d3943a5a75c9bf AUX prosody.service-r3 439 BLAKE2B abd128f236f2c28f54542388a38aaa3d0e5030510dddc16240273de90c13ddee62d01d26d7c9e1be0635dc59ad9ca5e93a30f2b5fa42106489a95d26a037314a SHA512 b540e5d4389439cdd2886f9ccaf189d20ffcaf29a982a26e4ed296b0c529df95aade88751d22919cb36b27db94530dade754044d50cee2e5244d37983b933517 AUX prosody.tmpfilesd-r2 39 BLAKE2B 1e004bf2bf1495d219c12bea1973206fae135fb4a5b453c6692f0143413626ec83889bb84b5086a6e507d3b8af14877b3820f3d9560df17e1ca49e2cbee85e0b SHA512 81b855c6bf496f0e6f20c41b8be5538c4edd1fbc6e4f2ca6e9a2d0a06bd5237223a4d42bcbdb75746cb01e46ff0eb36dac6952d9c076c6a72d1bbd733aca07eb DIST prosody-0.12.5.tar.gz 617833 BLAKE2B 71f8681e9a976919281be2afe47aa59e8ebd3b7a6e947e85757e18db3110749fa64ae75e3db2a5e55b2116cb213f0caa404fecade2d817623d36ae497f6ed1f6 SHA512 05b15204849ec285c465784ae43e3b748c4a3cda434b53f700121b518af59e14faea22af4b6bbc0d45f3633ddcaf762f00072fd713744a60d2e9ea8b3b10a7ed -EBUILD prosody-0.12.5.ebuild 5129 BLAKE2B eecc7ea15f4fbf508af9810f3b9dd7ced492c6db715337c56eab2e6f922c489698b46f261ef3447e8a49980d704f1be8462dd300c9585d7f10a601acd546cd99 SHA512 22f401b1be2b869ddfaed1f531528fdc3fbe80bf1639f11a578509eb23165ef651f57554f177d83385dba027517617a98dfa4cd674090932f6b1cdc44a110693 +EBUILD prosody-0.12.5.ebuild 4922 BLAKE2B 057e67574d3c7a95341f83f3b280c1044c28061994795525c2b4351c42e6a3732afd87a326bb24e4ee06567d8f65a8d87223336586d38f14aa5ac455638beaef SHA512 60925d97929fad81b24a228262ca84852f9313921b112143f696d33069061352b684f0364d4feb9416eabdba81ed6f4175b872302e0822152ffb2c4a37f59f32 MISC metadata.xml 670 BLAKE2B 448bf5ede2b6f09940c51fdff4642e18be22d9c3dac637271c7c8bcfde1b4af0853e2623c55c00efcd8757ef863ac37fdb895606e572911a62a1c9d5f32cc693 SHA512 6177b8e3d2ed1aeeae2f369dc693283a3f811953f71be0e004eea402aa421d89973dbefe79c8fd198e9f9f82e4b345552dc3a2c3597c05927dc1a518cacbaf1d diff --git a/net-im/prosody/prosody-0.12.5.ebuild b/net-im/prosody/prosody-0.12.5.ebuild index 4eae36e979c8..563f4aab0dd0 100644 --- a/net-im/prosody/prosody-0.12.5.ebuild +++ b/net-im/prosody/prosody-0.12.5.ebuild @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) LUA_REQ_USE="deprecated(+)" -inherit lua-single systemd tmpfiles toolchain-funcs +inherit eapi9-ver lua-single systemd tmpfiles toolchain-funcs DESCRIPTION="Prosody is a modern XMPP communication server" HOMEPAGE="https://prosody.im/" @@ -103,25 +103,15 @@ src_install() { } pkg_postinst() { - local migrate_to_prosody_user="false" tmpfiles_process prosody.conf - if [[ ${REPLACING_VERSIONS} ]]; then - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 0.12.0; then - migrate_to_prosody_user="true" - break - fi - done - fi - - # Sarting with >=0.12.0, the prosody configuration is now in + # Starting with >=0.12.0, the prosody configuration is now in # /etc/prosody and no longer in /etc/jabber. # See if we need to migrate the configuration. Furthermore, # prosody no longer runs under the, shared via net-im/jabber-base, # 'jabber' use, but under its own user. # This increase isolation and hence robustness and security. - if ${migrate_to_prosody_user}; then + if ver_replacing -lt 0.12.0; then local -A dirs_to_migrate=( [/etc/jabber]=/etc/prosody [/var/log/jabber]=/var/log/prosody |