From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 2E7D71582EF for ; Sat, 15 Feb 2025 09:29:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 1772134308C for ; Sat, 15 Feb 2025 09:29:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 025BC110476; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 bobolink.gentoo.org (Postfix) with ESMTPS id EC2FE110475 for ; Sat, 15 Feb 2025 09:29:29 +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 A645934305A for ; Sat, 15 Feb 2025 09:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0590A2718 for ; Sat, 15 Feb 2025 09:29:27 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739611593.7ad02f004d4b657f00a1cd7c94150b0e24869ee4.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/ksmbd-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild X-VCS-Directories: net-fs/ksmbd-tools/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 7ad02f004d4b657f00a1cd7c94150b0e24869ee4 X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +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: dfaccf60-46a7-4b02-884e-4a179114c3cb X-Archives-Hash: 7aaf1dda551b1e5273f56a548340afa8 commit: 7ad02f004d4b657f00a1cd7c94150b0e24869ee4 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:35 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 09:26:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad02f00 net-fs/ksmbd-tools: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild b/net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild index c8ff8da17db4..a2a2c779dfb6 100644 --- a/net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild +++ b/net-fs/ksmbd-tools/ksmbd-tools-3.5.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-info meson systemd +inherit eapi9-ver linux-info meson systemd DESCRIPTION="cifsd/ksmbd kernel server userspace utilities" HOMEPAGE="https://github.com/cifsd-team/ksmbd-tools" @@ -58,13 +58,9 @@ src_install() { } pkg_postinst() { - local ver - for ver in ${REPLACING_VERSIONS}; do - if ver_test ${ver} -lt 3.4.6; then - ewarn "Upgrade from version <${CATEGORY}/${PN}-3.4.6 detected" - ewarn "${PN} config file moved to ${EPREFIX}/etc/ksmbd/ksmbd.conf" - ewarn "Please migrate from old ${EPREFIX}/etc/ksmbd/smb.conf" - fi - done - unset ver + if ver_replacing -lt 3.4.6; then + ewarn "Upgrade from version <${CATEGORY}/${PN}-3.4.6 detected" + ewarn "${PN} config file moved to ${EPREFIX}/etc/ksmbd/ksmbd.conf" + ewarn "Please migrate from old ${EPREFIX}/etc/ksmbd/smb.conf" + fi }