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 4BAFF1582EF for ; Sat, 15 Feb 2025 15:53:07 +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 36D3C342F65 for ; Sat, 15 Feb 2025 15:53:07 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 39F83110473; Sat, 15 Feb 2025 15:53:00 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id 30795110473 for ; Sat, 15 Feb 2025 15:53:00 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B653430AB for ; Sat, 15 Feb 2025 15:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1574419DE for ; Sat, 15 Feb 2025 15:52:58 +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: <1739634689.a22ca9bf71dda897d8b3520e0647373698e63a7e.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild net-ftp/pure-ftpd/pure-ftpd-9999.ebuild X-VCS-Directories: net-ftp/pure-ftpd/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a22ca9bf71dda897d8b3520e0647373698e63a7e X-VCS-Branch: master Date: Sat, 15 Feb 2025 15:52:58 +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: 5c4d7984-d69f-42e6-b844-11b033132dcb X-Archives-Hash: 0b89cabbd27ea2f27e6679fac5b0e484 commit: a22ca9bf71dda897d8b3520e0647373698e63a7e Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:38 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 15:51:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22ca9bf net-ftp/pure-ftpd: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild | 16 ++++++---------- net-ftp/pure-ftpd/pure-ftpd-9999.ebuild | 16 ++++++---------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild b/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild index f37295fff191..2721d6912f95 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-1.0.52.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.52.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 flag-o-matic +inherit eapi9-ver flag-o-matic DESCRIPTION="Fast, production-quality, standard-conformant FTP server" HOMEPAGE="https://www.pureftpd.org/project/pure-ftpd/" @@ -154,13 +154,9 @@ pkg_postinst() { ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." ewarn - else - for v in ${REPLACING_VERSIONS} ; do - if ver_test "${v}" -le "1.0.50" ; then - einfo "Configuration through /etc/conf.d/pure-ftpd is now deprecated!" - einfo "Please migrate your settings to the new configuration file." - einfo "Use /etc/pure-ftpd.conf to adjust your settings." - fi - done + elif ver_replacing -le "1.0.50" ; then + einfo "Configuration through /etc/conf.d/pure-ftpd is now deprecated!" + einfo "Please migrate your settings to the new configuration file." + einfo "Use /etc/pure-ftpd.conf to adjust your settings." fi } diff --git a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild b/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild index e51853eb0ea5..bdada3101f81 100644 --- a/net-ftp/pure-ftpd/pure-ftpd-9999.ebuild +++ b/net-ftp/pure-ftpd/pure-ftpd-9999.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 flag-o-matic +inherit eapi9-ver flag-o-matic DESCRIPTION="Fast, production-quality, standard-conformant FTP server" HOMEPAGE="https://www.pureftpd.org/project/pure-ftpd/" @@ -154,13 +154,9 @@ pkg_postinst() { ewarn "Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info" ewarn "and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info." ewarn - else - for v in ${REPLACING_VERSIONS} ; do - if ver_test "${v}" -le "1.0.50" ; then - einfo "Configuration through /etc/conf.d/pure-ftpd is now deprecated!" - einfo "Please migrate your settings to the new configuration file." - einfo "Use /etc/pure-ftpd.conf to adjust your settings." - fi - done + elif ver_replacing -le "1.0.50" ; then + einfo "Configuration through /etc/conf.d/pure-ftpd is now deprecated!" + einfo "Please migrate your settings to the new configuration file." + einfo "Use /etc/pure-ftpd.conf to adjust your settings." fi }