* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/packettracer/files/, gui-apps/packettracer/
@ 2024-09-09 9:33 David Roman
2024-09-09 9:39 ` [gentoo-commits] repo/proj/guru:master commit in: gui-apps/packettracer/, gui-apps/packettracer/files/ David Roman
0 siblings, 1 reply; 2+ messages in thread
From: David Roman @ 2024-09-09 9:33 UTC (permalink / raw
To: gentoo-commits
commit: 338b2ba008ed42b9635eab90aaf1370faf38e09c
Author: VNAT <xepjk <AT> protonmail <DOT> com>
AuthorDate: Fri Sep 6 10:23:10 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> 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 <xepjk <AT> protonmail.com>
Closes: https://github.com/gentoo/guru/pull/236
Signed-off-by: David Roman <davidroman96 <AT> 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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/packettracer/, gui-apps/packettracer/files/
2024-09-09 9:33 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/packettracer/files/, gui-apps/packettracer/ David Roman
@ 2024-09-09 9:39 ` David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-09-09 9:39 UTC (permalink / raw
To: gentoo-commits
commit: 338b2ba008ed42b9635eab90aaf1370faf38e09c
Author: VNAT <xepjk <AT> protonmail <DOT> com>
AuthorDate: Fri Sep 6 10:23:10 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> 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 <xepjk <AT> protonmail.com>
Closes: https://github.com/gentoo/guru/pull/236
Signed-off-by: David Roman <davidroman96 <AT> 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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-09 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 9:33 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/packettracer/files/, gui-apps/packettracer/ David Roman
2024-09-09 9:39 ` [gentoo-commits] repo/proj/guru:master commit in: gui-apps/packettracer/, gui-apps/packettracer/files/ David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox