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 03232158083 for ; Mon, 9 Sep 2024 09:39:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50800E29EE; Mon, 9 Sep 2024 09:39:52 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 34D1EE29EE for ; Mon, 9 Sep 2024 09:39:52 +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 4D838343023 for ; Mon, 9 Sep 2024 09:39:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AC131F40 for ; Mon, 9 Sep 2024 09:39:48 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1725874409.338b2ba008ed42b9635eab90aaf1370faf38e09c.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/packettracer/, gui-apps/packettracer/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/packettracer/Manifest gui-apps/packettracer/files/packettracer-8.2.2.desktop gui-apps/packettracer/packettracer-8.2.2.ebuild X-VCS-Directories: gui-apps/packettracer/ gui-apps/packettracer/files/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 338b2ba008ed42b9635eab90aaf1370faf38e09c X-VCS-Branch: master Date: Mon, 9 Sep 2024 09:39:48 +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: a26893df-c268-4f91-bcf9-2ca1b95ecf42 X-Archives-Hash: 7154bdad494912216e6a391723b2c15e Message-ID: <20240909093948.wN9zVJOkJ17dTuWNHgKf74ERuLu82jLQ8Putsj6E8oQ@z> commit: 338b2ba008ed42b9635eab90aaf1370faf38e09c Author: VNAT protonmail com> AuthorDate: Fri Sep 6 10:23:10 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Sep 9 09:33:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=338b2ba0 gui-apps/packettracer: add 8.2.2 Signed-off-by: VNAT protonmail.com> Closes: https://github.com/gentoo/guru/pull/236 Signed-off-by: David Roman gmail.com> gui-apps/packettracer/Manifest | 1 + .../packettracer/files/packettracer-8.2.2.desktop | 9 +++++ gui-apps/packettracer/packettracer-8.2.2.ebuild | 44 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/gui-apps/packettracer/Manifest b/gui-apps/packettracer/Manifest index f08f1abdc..5d2071496 100644 --- a/gui-apps/packettracer/Manifest +++ b/gui-apps/packettracer/Manifest @@ -1 +1,2 @@ DIST CiscoPacketTracer_820_Ubuntu_64bit.deb 320679542 BLAKE2B a2cc1e6c54f8d37282c38db2afee66664be613528d0f51fb3396a770946e2ace97e4947509ccdfc648c8e6b3b78b1a2a402848a1ff457ba703456141806e9025 SHA512 7e1c64af03d3bd99ed627d66e221094f80a28a87229ddb9ae5b98a5e38e28f45dfdd7ecc31e7253b17c11b7124c183125063c2a8e13bfb139cae6dd184b49226 +DIST Packet_Tracer822_amd64_signed.deb 282817852 BLAKE2B a198716db54fe2b763fe71e15a5e891f758d5a4f37dfb07a904eccd47de0d9cf563a6ba70693058b81c3c7df51697315b8358746af7038c60fcf058e79ac02b1 SHA512 55835357b01449150f5c962d852f2921d4e39f697297cb34471b8cc83a91bced6c31703cc28a90e61db7a9a32e5534de4f11e5c4f6735f400456d25a013fadde diff --git a/gui-apps/packettracer/files/packettracer-8.2.2.desktop b/gui-apps/packettracer/files/packettracer-8.2.2.desktop new file mode 100644 index 000000000..9b72cc601 --- /dev/null +++ b/gui-apps/packettracer/files/packettracer-8.2.2.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Exec=/opt/pt/packettracer %f +Name=Packet Tracer 8.2.2 +Icon=/opt/pt/art/app.png +Terminal=false +StartupNotify=true +MimeType=application/x-pkt;application/x-pka;application/x-pkz;application/x-pks;application/x-pksz; + diff --git a/gui-apps/packettracer/packettracer-8.2.2.ebuild b/gui-apps/packettracer/packettracer-8.2.2.ebuild new file mode 100644 index 000000000..83d66bcdb --- /dev/null +++ b/gui-apps/packettracer/packettracer-8.2.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v3 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="Cisco's packet tracer" +HOMEPAGE="https://www.netacad.com/resources/lab-downloads" +SRC_URI="Packet_Tracer822_amd64_signed.deb" + +S="${WORKDIR}" + +LICENSE="Cisco" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="fetch mirror strip" + +RDEPEND="${DEPEND} + dev-libs/icu + x11-libs/xcb-util +" + +QA_PREBUILT="opt/pt/*" + +pkg_nofetch(){ + ewarn "To fetch sources, you need a Cisco account which is" + ewarn "available if you're a web-learning student, instructor" + ewarn "or you sale Cisco hardware, etc." + ewarn "after that, go to https://www.netacad.com/resources/lab-downloads and login with" + ewarn "your account, and after that, you should download a file" + ewarn "named \"${A}\" then move it to" + ewarn "your DISTDIR directory" + ewarn "and then, you can proceed with the installation." +} + +src_install(){ + cp -r . "${ED}" || die + for icon in pka pkt pkz; do + newicon -s 48x48 -c mimetypes opt/pt/art/${icon}.png application-x-${icon}.png + done + newmenu "${FILESDIR}/${PN}-${PV}.desktop" "${PN}.desktop" + dobin opt/pt/packettracer +}