summaryrefslogtreecommitdiff
path: root/net-p2p/amule
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/amule')
-rw-r--r--net-p2p/amule/Manifest4
-rw-r--r--net-p2p/amule/amule-2.3.3-r4.ebuild26
-rw-r--r--net-p2p/amule/amule-9999.ebuild30
3 files changed, 23 insertions, 37 deletions
diff --git a/net-p2p/amule/Manifest b/net-p2p/amule/Manifest
index 90248613fb7c..fa576e9d4c9d 100644
--- a/net-p2p/amule/Manifest
+++ b/net-p2p/amule/Manifest
@@ -11,6 +11,6 @@ AUX amuleweb.confd-r1 619 BLAKE2B 7140f6d957760f8184c3c73db0a58a3b7b308a6d854870
AUX amuleweb.initd 1149 BLAKE2B ef29bae12cf72764798eecb6866405525b601ee6ea869b6191954799805f47b75976884ee566ecb03eca907b3b13ff7870541b7682a70d5db058fb1257d6f00d SHA512 4cc944af90ad81f09d74d79dede57d1ff26c1b87649432d14ed294770b04f6ea256c25c194edfdc8f9d0c85929b1c576c31eba9228703e5a21259d83968289b0
DIST aMule-2.3.3.tar.xz 3699376 BLAKE2B 4b1fb98bd52e4c75f81773020d4fc258f8e7c4d7a5d40a7aadabc8fd27b3079705761650fdcd7cd089da77575a74f1950f02039ee14bf4b9894550b8b3d9191b SHA512 a5a80c5ddd1e107d92070c1d8e232c2762c4c54791abc067c739eef7c690062ed164dd7733808f80c762719261162aeb3d602308964dda2670a0bb059d87b74e
EBUILD amule-2.3.3-r3.ebuild 3424 BLAKE2B 045bb453a8be13a8ca6717cf9b5c509b10bf18d3eb0f168ce8f8ca38261827e31a23c37a3332bab5a4f71a5cf6ff32f6e02e0c5916b6bee915d954f5834baf51 SHA512 27d9c697edc564893b17d093edb59cc6d03b1c4f69b57c3e957c043bfb9f6b9d48ebc0cb98d0687cb73652934048a369ed90844ac9a399b3ec5c9297c87d47da
-EBUILD amule-2.3.3-r4.ebuild 3514 BLAKE2B ad8be9b7b5ee90704abb6be30c16979514fd0c0196597d4e2cd78a18f2b64b0bd585831af677510120c88f09aecdc53f16f26bb0c9f5d345628ad456d8a5548b SHA512 6e4b88f2280b3b7a78bc19ed0a0086fabfd4930623e4f47826f14e5b9110dd1c2f992b506eeffa9fc699f98b1261eac10c4ffa3f89f67d15d03d16f15c0e62eb
-EBUILD amule-9999.ebuild 3398 BLAKE2B 191e23736095c59571739d3a260879e2617104cc45be2325359fea81dd178e905919c0040fb52b3ac15e2b9a85432c8addc74373562c4db84e20996432520610 SHA512 43eb0b99137fd9ead75e12c194278fb6764aee27d0d9ccfae9b7657236dea521890d09742cfe90a4e000530932e458de960401acd48a99b3bcc820767729d39c
+EBUILD amule-2.3.3-r4.ebuild 3434 BLAKE2B 17f57b95ebb079a5e71dd3f3198071689f63c3ea62cae360413c0434f8860c5b30549e87213706df4c7df0fc60aeeab400c9cceb940bc1a0636077bf076b3d9f SHA512 f33ab463ad04465f3ba357bcee7d85d541aa868062a8d81a0f3b1469bd591a0307363496e8db7888d3827ca195070e542ad2d20cab49404cc304d586908b459a
+EBUILD amule-9999.ebuild 3306 BLAKE2B 0da72037f58e6caa9d9a7b7b93233c6dc938db5f08be49928dee4f40b1ad4da7632793865680b191a1951dcae047d93fd489c0cb517f5e80b0ce6c66f588e1ab SHA512 7bffc34ae26de59b6f641797a45f61ec52a3c12699ccf411053482ab6511748ad98887231de0aaeff5685d2692bb03ac81b787b7ada1ea5be1beca269bf4f4ea
MISC metadata.xml 717 BLAKE2B 104a91afec9919613f9897f655886e7d51f3c2f69af4efe47aab38b1c31982f6f97f8fb117ceffe2b53c5ba3bdc6fcef332dc4bf4cd956430187dcc374b3f473 SHA512 37b08e9a0376417b2e8c2372d5a59564ae23b522e36b97c163cb0d5c5113298eeac11b181f129854b983276ec8b8958b3df9599296152fecc5504d34c9554515
diff --git a/net-p2p/amule/amule-2.3.3-r4.ebuild b/net-p2p/amule/amule-2.3.3-r4.ebuild
index cadfc1d4efb0..5e5e87a0bdaf 100644
--- a/net-p2p/amule/amule-2.3.3-r4.ebuild
+++ b/net-p2p/amule/amule-2.3.3-r4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
WX_GTK_VER="3.2-gtk3"
-inherit autotools flag-o-matic wxwidgets xdg-utils
+inherit autotools eapi9-ver flag-o-matic wxwidgets xdg-utils
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/amule-project/amule"
@@ -135,21 +135,15 @@ src_install() {
pkg_postinst() {
local ver
- if use daemon || use remote; then
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt "2.3.2-r4"; then
- elog "Default user under which amuled and amuleweb daemons are started"
- elog "have been changed from p2p to amule. Default home directory have been"
- elog "changed as well."
- echo
- elog "If you want to preserve old download/share location, you can create"
- elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust"
- elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in"
- elog "/etc/conf.d/{amuled,amuleweb} to the old values."
-
- break
- fi
- done
+ if use daemon || use remote && ver_replacing -lt "2.3.2-r4"; then
+ elog "Default user under which amuled and amuleweb daemons are started"
+ elog "have been changed from p2p to amule. Default home directory have been"
+ elog "changed as well."
+ echo
+ elog "If you want to preserve old download/share location, you can create"
+ elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust"
+ elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in"
+ elog "/etc/conf.d/{amuled,amuleweb} to the old values."
fi
use X && xdg_desktop_database_update
diff --git a/net-p2p/amule/amule-9999.ebuild b/net-p2p/amule/amule-9999.ebuild
index 35d9d3390ddf..4ca517b252db 100644
--- a/net-p2p/amule/amule-9999.ebuild
+++ b/net-p2p/amule/amule-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER="3.2-gtk3"
-inherit autotools flag-o-matic wxwidgets xdg-utils
+inherit autotools eapi9-ver flag-o-matic wxwidgets xdg-utils
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/amule-project/amule"
@@ -130,23 +130,15 @@ src_install() {
}
pkg_postinst() {
- local ver
-
- if use daemon || use remote; then
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt "2.3.2-r4"; then
- elog "Default user under which amuled and amuleweb daemons are started"
- elog "have been changed from p2p to amule. Default home directory have been"
- elog "changed as well."
- echo
- elog "If you want to preserve old download/share location, you can create"
- elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust"
- elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in"
- elog "/etc/conf.d/{amuled,amuleweb} to the old values."
-
- break
- fi
- done
+ if use daemon || use remote && ver_replacing -lt "2.3.2-r4"; then
+ elog "Default user under which amuled and amuleweb daemons are started"
+ elog "have been changed from p2p to amule. Default home directory have been"
+ elog "changed as well."
+ echo
+ elog "If you want to preserve old download/share location, you can create"
+ elog "symlink /var/lib/amule/.aMule pointing to the old location and adjust"
+ elog "files ownership *or* restore AMULEUSER and AMULEHOME variables in"
+ elog "/etc/conf.d/{amuled,amuleweb} to the old values."
fi
use X && xdg_desktop_database_update