Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 12:35:26 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327280 - in head/security/zenmap: . files
Message-ID:  <201309141235.r8ECZQoJ007741@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sat Sep 14 12:35:26 2013
New Revision: 327280
URL: http://svnweb.freebsd.org/changeset/ports/327280

Log:
  - Update to 6.40
  - Change maintainer email gmx.ch --> FreeBSD.org
  - Add desktop dependency
  - Trim dependency for python
  - Add OPTIONS_SUB
  - Trim NLS
  - Trim files/pc-su to newest from PC-BSD
  
  Approved by:	wg/pawel (mentors)

Modified:
  head/security/zenmap/Makefile
  head/security/zenmap/distinfo
  head/security/zenmap/files/pc-su
  head/security/zenmap/pkg-plist

Modified: head/security/zenmap/Makefile
==============================================================================
--- head/security/zenmap/Makefile	Sat Sep 14 12:32:14 2013	(r327279)
+++ head/security/zenmap/Makefile	Sat Sep 14 12:35:26 2013	(r327280)
@@ -2,13 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	zenmap
-PORTVERSION=	6.25
-PORTREVISION=	1
+PORTVERSION=	6.40
 CATEGORIES=	security ipv6
 MASTER_SITES=	http://nmap.org/dist/
 DISTNAME=	nmap-${PORTVERSION}
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	GUI frontend for the Nmap scanning utility
 
 LICENSE=	GPLv2
@@ -19,23 +18,21 @@ RUN_DEPENDS=	${LOCALBASE}/bin/nmap:${POR
 WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
 
 USE_BZIP2=	yes
+USES=		desktop-file-utils
 USE_GNOME=	pygtk2
-USE_PYTHON=	-2.7
-USE_PYDISTUTILS=yes
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	yes
 
 MLINKS=	zenmap.1 xnmap.1
 MAN1=	zenmap.1 ndiff.1
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${RM} -f ${WRKSRC}/install_scripts/unix/su-to-zenmap.sh

Modified: head/security/zenmap/distinfo
==============================================================================
--- head/security/zenmap/distinfo	Sat Sep 14 12:32:14 2013	(r327279)
+++ head/security/zenmap/distinfo	Sat Sep 14 12:35:26 2013	(r327280)
@@ -1,2 +1,2 @@
-SHA256 (nmap-6.25.tar.bz2) = 3349cc6d36b86b95ca2b8075d16615a3a598cef494920d6652f9a8bf9f7660b5
-SIZE (nmap-6.25.tar.bz2) = 7668639
+SHA256 (nmap-6.40.tar.bz2) = 491f77d8b3fb3bb38ba4e3850011fe6fb43bbe197f9382b88cb59fa4e8f7a401
+SIZE (nmap-6.40.tar.bz2) = 7871636

Modified: head/security/zenmap/files/pc-su
==============================================================================
--- head/security/zenmap/files/pc-su	Sat Sep 14 12:32:14 2013	(r327279)
+++ head/security/zenmap/files/pc-su	Sat Sep 14 12:35:26 2013	(r327280)
@@ -5,10 +5,10 @@
 if [ `id -r -u` != "0" ] ; then
         VARS="`echo $@`"
 
-        # Try qsu first, should always be the default
-        which qsu >/dev/null 2>/dev/null
+        # Try qsudo first, should always be the default
+        which qsudo >/dev/null 2>/dev/null
         if [ $? -eq 0 ] ; then
-           qsu $VARS
+           qsudo $VARS
            exit $?
         fi
 

Modified: head/security/zenmap/pkg-plist
==============================================================================
--- head/security/zenmap/pkg-plist	Sat Sep 14 12:32:14 2013	(r327279)
+++ head/security/zenmap/pkg-plist	Sat Sep 14 12:35:26 2013	(r327280)
@@ -315,8 +315,8 @@ bin/zenmap
 %%PYTHON_SITELIBDIR%%/zenmapGUI/higwidgets/utils.py
 %%PYTHON_SITELIBDIR%%/zenmapGUI/higwidgets/utils.pyc
 %%PYTHON_SITELIBDIR%%/zenmapGUI/higwidgets/utils.pyo
-share/applications/zenmap.desktop
 share/applications/zenmap-root.desktop
+share/applications/zenmap.desktop
 %%DATADIR%%/config/scan_profile.usp
 %%DATADIR%%/config/zenmap.conf
 %%DATADIR%%/config/zenmap_version
@@ -326,6 +326,7 @@ share/applications/zenmap-root.desktop
 %%NLS%%%%DATADIR%%/locale/hr/LC_MESSAGES/zenmap.mo
 %%NLS%%%%DATADIR%%/locale/it/LC_MESSAGES/zenmap.mo
 %%NLS%%%%DATADIR%%/locale/ja/LC_MESSAGES/zenmap.mo
+%%NLS%%%%DATADIR%%/locale/pl/LC_MESSAGES/zenmap.mo
 %%NLS%%%%DATADIR%%/locale/pt_BR/LC_MESSAGES/zenmap.mo
 %%NLS%%%%DATADIR%%/locale/ru/LC_MESSAGES/zenmap.mo
 %%DATADIR%%/misc/profile_editor.xml
@@ -379,6 +380,8 @@ share/applications/zenmap-root.desktop
 %%NLS%%@dirrm %%DATADIR%%/locale/ru
 %%NLS%%@dirrm %%DATADIR%%/locale/pt_BR/LC_MESSAGES
 %%NLS%%@dirrm %%DATADIR%%/locale/pt_BR
+%%NLS%%@dirrm %%DATADIR%%/locale/pl/LC_MESSAGES
+%%NLS%%@dirrm %%DATADIR%%/locale/pl
 %%NLS%%@dirrm %%DATADIR%%/locale/ja/LC_MESSAGES
 %%NLS%%@dirrm %%DATADIR%%/locale/ja
 %%NLS%%@dirrm %%DATADIR%%/locale/it/LC_MESSAGES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309141235.r8ECZQoJ007741>