ports/174327: [PATCH] security/zenmap: Fixed Man pages, take maintainership
nemysis
nemysis at gmx.ch
Mon Dec 10 13:10:01 UTC 2012
>Number: 174327
>Category: ports
>Synopsis: [PATCH] security/zenmap: Fixed Man pages, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 10 13:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
- Take maintainership
Fixed Man pages:
+MAN1= zenmap.1 ndiff.1
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
looks usual.
port test: clean
>Fix:
--- py27-zenmap-6.01.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/zenmap/Makefile ./Makefile
--- /usr/ports/security/zenmap/Makefile 2012-12-10 09:12:34.000000000 +0100
+++ ./Makefile 2012-12-10 13:43:21.000000000 +0100
@@ -12,7 +12,7 @@
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= nmap-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= GUI frontend for the nmap scanning utility
LICENSE= GPLv2
@@ -29,18 +29,21 @@
USE_PYDISTUTILS= yes
MLINKS= zenmap.1 xnmap.1
-MAN1= zenmap.1 xnmap.1 ndiff.1
+MAN1= zenmap.1 ndiff.1
post-patch:
@${REINPLACE_CMD} -e \
'/self.create_uninstaller/s|^|#|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e \
's|share/man/man1|man/man1|' ${WRKSRC}/../ndiff/setup.py
+
post-build:
@(cd ${WRKSRC}/../ndiff \
&& ${PYTHON_CMD} setup.py build)
+
post-install:
${INSTALL_MAN} ${WRKSRC}/../docs/zenmap.1 ${MAN1PREFIX}/man/man1
@(cd ${WRKSRC}/../ndiff \
&& ${PYTHON_CMD} setup.py install --prefix ${PREFIX})
+
.include <bsd.port.mk>
--- py27-zenmap-6.01.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list