From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8DFE8158086 for ; Thu, 25 Nov 2021 18:21:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9661A2BC00A; Thu, 25 Nov 2021 18:21:25 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CFC12BC00A for ; Thu, 25 Nov 2021 18:21:25 +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 4965C342B8F for ; Thu, 25 Nov 2021 18:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0F33132 for ; Thu, 25 Nov 2021 18:21:22 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1637864476.b4f502cdf61882c97a98a8c6ade065a2aa834a48.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/pppconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/pppconfig/Manifest net-dialup/pppconfig/pppconfig-2.3.25.ebuild X-VCS-Directories: net-dialup/pppconfig/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: b4f502cdf61882c97a98a8c6ade065a2aa834a48 X-VCS-Branch: master Date: Thu, 25 Nov 2021 18:21:22 +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: cb203857-10e2-41ab-843d-7f5669ddf74b X-Archives-Hash: 12b7c1295823f52548d747c3ce0f2513 commit: b4f502cdf61882c97a98a8c6ade065a2aa834a48 Author: Marek Szuba gentoo org> AuthorDate: Thu Nov 25 18:20:46 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Nov 25 18:21:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f502cd net-dialup/pppconfig: add 2.3.25 Bug: https://bugs.gentoo.org/819360 Signed-off-by: Marek Szuba gentoo.org> net-dialup/pppconfig/Manifest | 1 + net-dialup/pppconfig/pppconfig-2.3.25.ebuild | 56 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/net-dialup/pppconfig/Manifest b/net-dialup/pppconfig/Manifest index fa1d4096af8a..d6b7dc18e928 100644 --- a/net-dialup/pppconfig/Manifest +++ b/net-dialup/pppconfig/Manifest @@ -1 +1,2 @@ DIST pppconfig_2.3.21.tar.gz 397243 BLAKE2B 5816d9b1e832bd0e694718960ea45c0996fa7a459f3a38e03b0021d20549b81e5a74111c03f7f485bd4dbd408b2859864a69c55858cb0a4f70283971a64192bb SHA512 e6297a6834eb806d591aee44343c6e64536e260ea8e637f3a4d4b5a752e26ae90d467ca12dd83022e071f7c2c4f111660418a6b953c4a02f5618fc54a89c2893 +DIST pppconfig_2.3.25.tar.gz 392316 BLAKE2B 7c30db92cff0c9e80e04e4e7a83ccc22e2c1380831fcbc1ebd36bc4d30044c0b32669546907318be3c43061d1ea9f44b0a471f56847e75b0470f18f1aa10bf7a SHA512 6874b93ae34edb2a0ba06a669d930f5023a3eae38b6d10a78179eb69990a8280d41ebc2049461b54b03bd19904d13d2ebb57997599ed650660d0b34c958ad977 diff --git a/net-dialup/pppconfig/pppconfig-2.3.25.ebuild b/net-dialup/pppconfig/pppconfig-2.3.25.ebuild new file mode 100644 index 000000000000..5816bbea39c4 --- /dev/null +++ b/net-dialup/pppconfig/pppconfig-2.3.25.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit strip-linguas + +DESCRIPTION="A text menu based utility for configuring ppp" +HOMEPAGE="https://tracker.debian.org/pkg/pppconfig" +SRC_URI="mirror://debian/pool/main/p/${PN}/${P/-/_}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND="net-dialup/ppp + dev-util/dialog + dev-lang/perl" +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if use nls; then + strip-linguas -i po/ + fi +} + +src_compile() { + default + + if use nls; then + local lang + for lang in ${LINGUAS}; do + msgfmt -o po/${lang}.{m,p}o || die + done + fi +} + +src_install() { + keepdir /etc/chatscripts /etc/ppp/resolv + dosbin 0dns-down 0dns-up dns-clean + newsbin pppconfig pppconfig.real + dosbin "${FILESDIR}/pppconfig" + doman man/pppconfig.8 + dodoc debian/{copyright,changelog} + + if use nls; then + local lang + for lang in ${LINGUAS}; do + insinto /usr/share/locale/${lang}/LC_MESSAGES + newins po/${lang}.mo pppconfig.mo + done + fi +}