summaryrefslogtreecommitdiff
path: root/net-fs/netatalk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-16 00:13:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-16 00:13:18 +0000
commitf2bdc27fe0f79f8f9a3945eb2b1163ce75c56439 (patch)
treedd0f7da0455831dffb2cb662e7dae760f92e68ad /net-fs/netatalk
parent770d63f36dbe1722e0ff9ab55eeca49986f01527 (diff)
gentoo auto-resync : 16:02:2025 - 00:13:18
Diffstat (limited to 'net-fs/netatalk')
-rw-r--r--net-fs/netatalk/Manifest2
-rw-r--r--net-fs/netatalk/netatalk-3.1.18.ebuild77
2 files changed, 38 insertions, 41 deletions
diff --git a/net-fs/netatalk/Manifest b/net-fs/netatalk/Manifest
index 508d760a6848..58605d310840 100644
--- a/net-fs/netatalk/Manifest
+++ b/net-fs/netatalk/Manifest
@@ -1,5 +1,5 @@
AUX netatalk-3.1.17-disable-ld-library-path.patch 1926 BLAKE2B a127b8a5e2b3586b4f1511bbba4613965c0d448b9c5fe8b58e8cea0b37c0644625d8de79861d5100c18a93a2285c9dd3bfd2b9a48662b45a80a820eda4a86327 SHA512 fa9b0c247b4379d6a53a80c8cfdb25e5dbef589e0ad964dfa21c40b39fdbadde738d9a8dc474e7db5281772e02e58c17b04a4806024549913962a9a5644fd6e5
AUX netatalk-3.1.17-gentoo.patch 4472 BLAKE2B 841edfbd1fd844bd5d77b5b79d30622878d5409be55eca5f077a269bd99bf7b746073020b3a3291f69abb15eb63e0b4ae151db5d396d76746449cba8ba51e3fc SHA512 e039072e5d416d6839bb54f1b2c29beb6d373386e80ab478198c72750522426dc36852423df4b517305b0ba2ecdc157b7677ee96f6f93253d4e75537e514725d
DIST netatalk-3.1.18.tar.xz 974852 BLAKE2B ba69e0bc08455dff46d8aa83fa1a2eda6eac60a0ab7a1b22bba8c47abb57ac70bd2879ec496c5e5f3da40a461e93fcecdf7c3e489daff18e995961f59d4fdc99 SHA512 06c56754afacbf9c71dc2ab7b80c231f5c25f522967e1d825b4e9e129233528bd1e7101144239b52636b9efe7f1f86a37749da8a8af611169155bca9711798d0
-EBUILD netatalk-3.1.18.ebuild 4479 BLAKE2B f2f32a51092eb48f5a5dd67505d9b70802a79a6aa1135305c12f2cddd7fa006ff6c4a4965d5604e33f751b7fedd6756041c0781f104e3cebaa73bbe9b88d57cb SHA512 dc32661d8115545e52ec5ced625de41e7296c3275a9f04c0aa4fd258e8894025b62eedc366ca7e5012c21002c0f0f053aaafc36e5a2c0eca2bfeca0c8fd4e9df
+EBUILD netatalk-3.1.18.ebuild 4394 BLAKE2B 97b60a8e7d791ad84d1770e5b77bcb6d3ad487ca65a51c49dddb7046dd4008958de86c88db8ed8b3b66c39f69e9a0b6c25b83cc8c21fbe943876458ab6210ce3 SHA512 77d8b2c5aaddfc568d56c07e898c366b6f1181f4ab0c2bdb7c5ea2e90a865ffbf201eff2d90f179ab3ad03561373f233a0fe3fb7c8afd5a511620f9fb0e70873
MISC metadata.xml 777 BLAKE2B b535a0966de9d50db312f63df1675eb7bef2d6e8fbbef23157c52c921f2bcd52f7c7ebbebdebd14dc474cf0a64b23c1689d16ae567f6760096f130653f9dab63 SHA512 4ce4eab0958c75ee4b8c7b268d4999aa4398a18da47e1a4d7850218bb75aa8a885c070eea38e7921356c9e59abcbb351eef507c3f3405fc1dc9c05e99ad8006b
diff --git a/net-fs/netatalk/netatalk-3.1.18.ebuild b/net-fs/netatalk/netatalk-3.1.18.ebuild
index 5d5a3fcf8c37..a3684cfeafb2 100644
--- a/net-fs/netatalk/netatalk-3.1.18.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.18.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools flag-o-matic pam systemd
+inherit autotools eapi9-ver flag-o-matic pam systemd
DESCRIPTION="Open Source AFP server"
HOMEPAGE="https://netatalk.sourceforge.net/"
@@ -130,43 +130,40 @@ src_install() {
}
pkg_postinst() {
- local fle v
- for v in ${REPLACING_VERSIONS}; do
- if [[ $(ver_test ${v} -lt 3) ]]; then
- for fle in afp_signature.conf afp_voluuid.conf; do
- if [[ -f "${ROOT}"/etc/netatalk/${fle} ]]; then
- if [[ ! -f "${ROOT}"/var/lib/netatalk/${fle} ]]; then
- mv \
- "${ROOT}"/etc/netatalk/${fle} \
- "${ROOT}"/var/lib/netatalk/
- fi
+ if ver_replacing -lt 3; then
+ local fle
+ for fle in afp_signature.conf afp_voluuid.conf; do
+ if [[ -f "${ROOT}"/etc/netatalk/${fle} ]]; then
+ if [[ ! -f "${ROOT}"/var/lib/netatalk/${fle} ]]; then
+ mv \
+ "${ROOT}"/etc/netatalk/${fle} \
+ "${ROOT}"/var/lib/netatalk/
fi
- done
-
- elog
- elog "Starting from version 3.0 only uses a single init script again"
- elog "Please update your runlevels accordingly"
- elog
- elog "Dependencies should be resolved automatically depending on settings"
- elog "but please report issues with this on https://bugs.gentoo.org/ if"
- elog "you find any."
- elog
- elog "Following config files are obsolete now:"
- elog "afpd.conf, netatalk.conf, AppleVolumes.default and afp_ldap.conf"
- elog "in favour of"
- elog "/etc/afp.conf"
- elog
- elog "Please convert your existing configs before you restart your daemon"
- elog
- elog "The new AppleDouble default backend is appledouble = ea"
- elog "Existing entries will be updated on access, but can do an offline"
- elog "conversion with"
- elog "dbd -ruve /path/to/Volume"
- elog
- elog "For general notes on the upgrade, please visit"
- elog "http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html"
- elog
- break
- fi
- done
+ fi
+ done
+
+ elog
+ elog "Starting from version 3.0 only uses a single init script again"
+ elog "Please update your runlevels accordingly"
+ elog
+ elog "Dependencies should be resolved automatically depending on settings"
+ elog "but please report issues with this on https://bugs.gentoo.org/ if"
+ elog "you find any."
+ elog
+ elog "Following config files are obsolete now:"
+ elog "afpd.conf, netatalk.conf, AppleVolumes.default and afp_ldap.conf"
+ elog "in favour of"
+ elog "/etc/afp.conf"
+ elog
+ elog "Please convert your existing configs before you restart your daemon"
+ elog
+ elog "The new AppleDouble default backend is appledouble = ea"
+ elog "Existing entries will be updated on access, but can do an offline"
+ elog "conversion with"
+ elog "dbd -ruve /path/to/Volume"
+ elog
+ elog "For general notes on the upgrade, please visit"
+ elog "http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html"
+ elog
+ fi
}