summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-08-31 17:59:02 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-08-31 17:59:02 +0000
commit1a9b078ef133b97be9078b24b71b3a0ec1a147e9 (patch)
tree99c3b74fe5f7302d41e3c1101ee09c3e076d92e8 /net-analyzer/nmapsi
parentwhitespace (diff)
downloadgentoo-2-1a9b078ef133b97be9078b24b71b3a0ec1a147e9.tar.gz
gentoo-2-1a9b078ef133b97be9078b24b71b3a0ec1a147e9.tar.bz2
gentoo-2-1a9b078ef133b97be9078b24b71b3a0ec1a147e9.zip
Version bump. Remove old.
(Portage version: 2.1.11.12/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nmapsi')
-rw-r--r--net-analyzer/nmapsi/ChangeLog9
-rw-r--r--net-analyzer/nmapsi/files/0.2.1-install-binaries.patch26
-rw-r--r--net-analyzer/nmapsi/nmapsi-0.2.1.ebuild30
-rw-r--r--net-analyzer/nmapsi/nmapsi-0.3.2.ebuild41
4 files changed, 48 insertions, 58 deletions
diff --git a/net-analyzer/nmapsi/ChangeLog b/net-analyzer/nmapsi/ChangeLog
index 4a02028aa4eb..f859840a5bab 100644
--- a/net-analyzer/nmapsi/ChangeLog
+++ b/net-analyzer/nmapsi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nmapsi
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmapsi/ChangeLog,v 1.6 2012/05/07 21:13:54 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmapsi/ChangeLog,v 1.7 2012/08/31 17:59:02 kensington Exp $
+
+*nmapsi-0.3.2 (31 Aug 2012)
+
+ 31 Aug 2012; Michael Palimaka <kensington@gentoo.org> +nmapsi-0.3.2.ebuild,
+ -files/0.2.1-install-binaries.patch, -nmapsi-0.2.1.ebuild:
+ Version bump. Remove old.
*nmapsi-0.3.1 (07 May 2012)
@@ -36,4 +42,3 @@
03 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+nmapsi-0.2_alpha1.ebuild:
Initial commit.
-
diff --git a/net-analyzer/nmapsi/files/0.2.1-install-binaries.patch b/net-analyzer/nmapsi/files/0.2.1-install-binaries.patch
deleted file mode 100644
index f76c32af841d..000000000000
--- a/net-analyzer/nmapsi/files/0.2.1-install-binaries.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -urN nmapsi4-0.2.1.old/nmapsi4/CMakeLists.txt nmapsi4-0.2.1/nmapsi4/CMakeLists.txt
---- nmapsi4-0.2.1.old/nmapsi4/CMakeLists.txt 2011-08-28 13:25:03.415019910 +0200
-+++ nmapsi4-0.2.1/nmapsi4/CMakeLists.txt 2011-08-28 13:27:13.995019092 +0200
-@@ -120,8 +120,8 @@
-
-
- if (Q_WS_X11)
-+ install(TARGETS nmapsi4 DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
-- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- install(FILES "kde/nmapsi4.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
- install(FILES "kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
- install(FILES "../icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
-diff -urN nmapsi4-0.2.1.old/nmapsi4-logr/CMakeLists.txt nmapsi4-0.2.1/nmapsi4-logr/CMakeLists.txt
---- nmapsi4-0.2.1.old/nmapsi4-logr/CMakeLists.txt 2011-08-28 13:25:03.405019910 +0200
-+++ nmapsi4-0.2.1/nmapsi4-logr/CMakeLists.txt 2011-08-28 13:27:51.915018855 +0200
-@@ -66,8 +66,8 @@
-
-
- if (Q_WS_X11)
-+ install(TARGETS nmapsi4-logr DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
-- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4-logr" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- install(FILES "src/nmapsi4-logr.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
- # install(FILES "src/kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
- # install(FILES "icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
diff --git a/net-analyzer/nmapsi/nmapsi-0.2.1.ebuild b/net-analyzer/nmapsi/nmapsi-0.2.1.ebuild
deleted file mode 100644
index 9c006c1976ac..000000000000
--- a/net-analyzer/nmapsi/nmapsi-0.2.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmapsi/nmapsi-0.2.1.ebuild,v 1.1 2011/08/28 11:31:11 scarabeus Exp $
-
-EAPI=4
-inherit base cmake-utils
-
-MY_P=${PN}4-${PV/_/-}
-
-DESCRIPTION="A Qt4 frontend to nmap"
-HOMEPAGE="http://www.nmapsi4.org/"
-SRC_URI="http://nmapsi4.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-DEPEND="x11-libs/qt-gui:4
- x11-libs/qt-webkit:4"
-RDEPEND="${DEPEND}
- net-analyzer/nmap"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS=( AUTHORS NEWS README TODO Translation )
-
-PATCHES=(
- "${FILESDIR}/0.2.1-install-binaries.patch"
-)
diff --git a/net-analyzer/nmapsi/nmapsi-0.3.2.ebuild b/net-analyzer/nmapsi/nmapsi-0.3.2.ebuild
new file mode 100644
index 000000000000..34beca6a78c6
--- /dev/null
+++ b/net-analyzer/nmapsi/nmapsi-0.3.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmapsi/nmapsi-0.3.2.ebuild,v 1.1 2012/08/31 17:59:02 kensington Exp $
+
+EAPI=4
+PLOCALES="cs de es fr it pl pt_BR ru"
+inherit eutils cmake-utils l10n
+
+MY_PN="${PN}4"
+MY_P="${MY_PN}-${PV/_/-}"
+
+DESCRIPTION="A Qt4 frontend to nmap"
+HOMEPAGE="http://www.nmapsi4.org/"
+SRC_URI="http://nmapsi4.googlecode.com/files/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="x11-libs/qt-core:4
+ x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-webkit:4"
+RDEPEND="${DEPEND}
+ net-analyzer/nmap"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( AUTHORS NEWS README TODO Translation )
+
+src_prepare() {
+ l10n_for_each_disabled_locale_do nmapsi_disable_locale
+}
+
+nmapsi_disable_locale() {
+ sed -e "s:ts/${MY_PN}_${1}.ts::" \
+ -i ${MY_PN}/CMakeLists.txt || die
+ sed -e "s:ts/${MY_PN}-logr_${1}.ts::" \
+ -i ${MY_PN}-logr/CMakeLists.txt || die
+}