Skip to content

Commit

Permalink
net-analyzer/ostinato: update to 1.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ramin Moussavi <lordrasmus@gmail.com>
  • Loading branch information
lordrasmus committed Jan 19, 2024
1 parent a8bd2b9 commit ee32ae5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-analyzer/ostinato/Manifest
@@ -1,2 +1,3 @@
DIST ostinato-1.1.tar.gz 612589 BLAKE2B 2244b3be5649e0623139b667c61a169a3e7f5dae6f022d6550cd825f1af8fa2c2d82210af1f381ae53af19fff9a56d58b30a406fc1f3d89c73bc7e3d0ab18fa4 SHA512 a45e157d155d4f2efe9a1594a140647b5cbd7264985b15a9ed47d86198c9df9d763170097dcfd40fae1317206e53c9155f08c48c747cce458e0cae7f3a841449
DIST ostinato-1.2.0.tar.gz 1169889 BLAKE2B 73d1ba4801ee8f50757fbe3a5e4c6fb67957296326c5ffcc5ecfde723ee975bd6a8f494644198b4b47a296fd087e2ed7a43088facd8c39d3ed70b8056fae5da5 SHA512 c3fb1f63a8f32c199ae2c8630244a3d6110e25e9117fbc96b009fd54d6bc16dbfa120b2d26c474ca06e86dbed59a5051443f82064fb8a0eda2feb212e4e1a1c5
DIST ostinato-1.3.0.tar.gz 1184686 BLAKE2B 887ee58cd16798da1073323a2718a8f96812728b13f93d01bd15191184e8814825775b69d5d1714153d54f061fb938a56785e9cdb4ae73fa769b0236055fdcac SHA512 8f94b95c8c9042960635228bb22fc12dbd28c44a66ed5b2c3296975eefeb274a341adf0d6126e8e9a13d2a9410b61ab3f35a9a58ce0bda970f1dbea8aaad6e38
44 changes: 44 additions & 0 deletions net-analyzer/ostinato/ostinato-1.3.0.ebuild
@@ -0,0 +1,44 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit qmake-utils

DESCRIPTION="Packet generator and analyzer"
HOMEPAGE="https://ostinato.org/"
SRC_URI="https://github.com/pstavirs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"

#https://github.com/pstavirs/ostinato/issues/173
# libpcap dep is versioned to pull in the fix for #602098
RDEPEND="
dev-libs/protobuf:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtscript:5
dev-qt/qtwidgets:5
dev-libs/libnl:3
>=net-libs/libpcap-1.8.1-r2
"
DEPEND="${RDEPEND}
dev-qt/qtsvg:5
dev-qt/qtxml:5"

PATCHES=(
"${FILESDIR}/${PN}-0.9_p20180522-no-modeltest.patch"
)

src_configure() {
sed -i 's#"/drone"#"/ostinato-drone"#' client/mainwindow.cpp || die
eqmake5 PREFIX="/usr" ost.pro
}

src_install() {
emake INSTALL_ROOT="${ED}" install
mv "${ED}"/usr/bin/{drone,ostinato-drone} || die
}

0 comments on commit ee32ae5

Please sign in to comment.