* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmapsi/, net-analyzer/nmapsi/files/
@ 2015-09-10 12:51 Michael Palimaka
0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka @ 2015-09-10 12:51 UTC (permalink / raw
To: gentoo-commits
commit: fe8a2e39d517000c96acb39a9c3c9640eac9f7f2
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 12:50:33 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 12:50:50 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe8a2e39
net-analyzer/nmapsi: add patch fixing build with kde-base/kdelibs-4.14.11.
Gentoo-bug: 558574
Package-Manager: portage-2.2.20.1
.../files/nmapsi-0.4.1-kdelibs-4.14.11.patch | 22 ++++++++++++++++++++++
net-analyzer/nmapsi/nmapsi-0.4.1.ebuild | 4 +++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/nmapsi/files/nmapsi-0.4.1-kdelibs-4.14.11.patch b/net-analyzer/nmapsi/files/nmapsi-0.4.1-kdelibs-4.14.11.patch
new file mode 100644
index 0000000..f5a338a
--- /dev/null
+++ b/net-analyzer/nmapsi/files/nmapsi-0.4.1-kdelibs-4.14.11.patch
@@ -0,0 +1,22 @@
+The uninstall target is created automatically by FindKDE4Internal. Due to
+cmake policy changes in kdelibs-4.14.11, this target name collision causes
+a build failure.
+
+https://bugs.gentoo.org/show_bug.cgi?id=558574
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -35,13 +35,6 @@
+
+ add_subdirectory( src )
+
+-CONFIGURE_FILE( "${PROJECT_SOURCE_DIR}/cmake_uninstall.cmake.in"
+- "${PROJECT_BINARY_DIR}/cmake_uninstall.cmake"
+- IMMEDIATE @ONLY )
+-
+-ADD_CUSTOM_TARGET( uninstall
+- "${CMAKE_COMMAND}" -P "${PROJECT_BINARY_DIR}/cmake_uninstall.cmake" )
+-
+ message("-------------------------------------------------------------------")
+ message(" Required for build: qt4-dev (>>= 4.6) ")
+ message(" Required for runtime: nmap+nping ( >= 6.00 ), dig ")
diff --git a/net-analyzer/nmapsi/nmapsi-0.4.1.ebuild b/net-analyzer/nmapsi/nmapsi-0.4.1.ebuild
index ffb545d..6457fee 100644
--- a/net-analyzer/nmapsi/nmapsi-0.4.1.ebuild
+++ b/net-analyzer/nmapsi/nmapsi-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -34,9 +34,11 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_P}
DOCS=( AUTHORS HACKING NEWS TODO Translation )
+PATCHES=( "${FILESDIR}/${P}-kdelibs-4.14.11.patch" )
src_prepare() {
l10n_for_each_disabled_locale_do nmapsi_disable_locale
+ cmake-utils_src_prepare
}
src_configure() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmapsi/, net-analyzer/nmapsi/files/
@ 2023-10-24 19:39 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2023-10-24 19:39 UTC (permalink / raw
To: gentoo-commits
commit: f98e1371cc1c6b7d218d9ef3abed0d45b1f6fbd2
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 19:32:32 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 19:39:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98e1371
net-analyzer/nmapsi: update EAPI 7 -> 8, drop unused dev-qt/qtscript:5
Required by upstream build system only, but not actually used.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/nmapsi-0.5_alpha2-no-qtscript.patch | 18 +++++++++++
net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild | 35 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch b/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch
new file mode 100644
index 000000000000..38c73b68cbb7
--- /dev/null
+++ b/net-analyzer/nmapsi/files/nmapsi-0.5_alpha2-no-qtscript.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt 2020-05-10 15:37:19.000000000 +0200
++++ b/CMakeLists.txt 2023-10-24 21:28:56.198123618 +0200
+@@ -18,7 +18,6 @@
+ Network
+ WebEngineWidgets
+ DBus
+- Script
+ LinguistTools
+ Quick
+ Qml
+@@ -31,7 +30,6 @@
+ Widgets
+ Network
+ WebEngineWidgets
+- Script
+ LinguistTools
+ Quick
+ Qml
diff --git a/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild b/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild
new file mode 100644
index 000000000000..6cf6b4ca36cc
--- /dev/null
+++ b/net-analyzer/nmapsi/nmapsi-0.5_alpha2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt frontend to nmap"
+HOMEPAGE="https://github.com/nmapsi4/nmapsi4"
+SRC_URI="https://github.com/nmapsi4/nmapsi4/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}4-${PV/_/-}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwebengine:5[widgets]
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+ net-analyzer/nmap
+ net-dns/bind-tools
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+DOCS=( AUTHORS HACKING README.md TODO Translation )
+
+PATCHES=( "${FILESDIR}/${P}-no-qtscript.patch" )
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-24 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10 12:51 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmapsi/, net-analyzer/nmapsi/files/ Michael Palimaka
-- strict thread matches above, loose matches on Subject: below --
2023-10-24 19:39 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox