ports/168403: [PATCH] net-mgmt/ndpmon: remove python 2.4 dependency

Martin Wilke miwi at FreeBSD.org
Mon May 28 08:40:01 UTC 2012


>Number:         168403
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/ndpmon: remove python 2.4 dependency
>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 May 28 08:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Martin Wilke
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD miwifbsd.dyndns.org 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r235817: Wed May 23 12:53:48 MYT
>Description:
I plan to remove python 24 from the portstree by this end of week. I would like to remove the optional dependency
from your port.

Thanks 

- Martin

Port maintainer (janos.mohacsi at bsd.hu) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- ndpmon-1.4.0_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/ndpmon/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile	25 Oct 2011 20:36:24 -0000	1.11
+++ Makefile	28 May 2012 08:26:05 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ndpmon
 PORTVERSION=	1.4.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt ipv6
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/
 EXTRACT_SUFX=	.tgz
@@ -18,19 +18,10 @@
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS=	PY4SUITE	"Depend on py-4suite-xml (for generating HTML)"	off \
-		MACRESOLV	"Enable MAC Manufacturer Resolution" off
+OPTIONS=	MACRESOLV	"Enable MAC Manufacturer Resolution" off
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_PY4SUITE)
-PLIST_SUB+=	PY="@comment "
-.else
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Ft/Xml/Domlette.py:${PORTSDIR}/textproc/py-4suite-xml
-USE_PYTHON=	2.6+
-PLIST_SUB+=	PY=""
-.endif
-
 USE_GNOME=	libxml2
 USE_PERL5_RUN=	yes
 USE_RC_SUBR=	ndpmonitor
@@ -65,9 +56,6 @@
 	${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/*.dtd ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/demopipeprogram.pl.sample ${DATADIR}
-.if defined(WITH_PY4SUITE)
-	${INSTALL_SCRIPT} ${WRKSRC}/create_html_table.py ${DATADIR}
-.endif
 
 	${MKDIR} ${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${ETCDIR}/config_ndpmon.xml-dist
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net-mgmt/ndpmon/pkg-plist,v
retrieving revision 1.5
diff -u -u -r1.5 pkg-plist
--- pkg-plist	27 Aug 2011 18:30:50 -0000	1.5
+++ pkg-plist	28 May 2012 08:33:31 -0000
@@ -3,7 +3,6 @@
 %%DATADIR%%/config_ndpmon.dtd
 %%DATADIR%%/demopipeprogram.pl.sample
 %%DATADIR%%/neighbor_list.dtd
-%%PY%%%%DATADIR%%/create_html_table.py
 var/ndpmon/neighbor_list.xml
 @dirrmtry var/ndpmon
 @dirrmtry var
--- ndpmon-1.4.0_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list