Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 21:41:46 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jpaetzel@freebsd.org
Subject:   ports/179155: [PATCH] net/xmlrpc-epi: update to 0.54.2, comply with OptionsNG
Message-ID:  <20130531194149.0F0FDF42@hub.freebsd.org>
Resent-Message-ID: <201305311950.r4VJo2do031088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179155
>Category:       ports
>Synopsis:       [PATCH] net/xmlrpc-epi: update to 0.54.2, comply with OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 31 19:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Update to 0.54.2
- Shorten header
- Trim comment
- Add license
- Comply with OptionsNG
- Cleanup port


Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130531184200-39045/

>Fix:

--- xmlrpc-epi-0.54.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/xmlrpc-epi/Makefile ./Makefile
--- /usr/ports/net/xmlrpc-epi/Makefile	2013-04-29 12:53:23.000000000 +0200
+++ ./Makefile	2013-05-31 20:21:30.000000000 +0200
@@ -1,22 +1,21 @@
-# New ports collection makefile for:	xmlrpc-epi
-# Date created:			19 February 2007
-# Whom:				Thierry Thomas <thierry@pompo.net>
-#
+# Created by: Thierry Thomas <thierry@pompo.net>
 # $FreeBSD: head/net/xmlrpc-epi/Makefile 316662 2013-04-27 11:59:28Z mva $
-#
 
 PORTNAME=	xmlrpc-epi
-PORTVERSION=	0.54.1
+PORTVERSION=	0.54.2
 CATEGORIES=	net
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-base/${PORTVERSION}/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A general purpose implementation of the xmlrpc specification in C
+COMMENT=	General purpose implementation of the xmlrpc specification in C
 
-LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
+LICENSE=	MIT
 
-USE_GMAKE=	yes
+LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2
+
+USE_BZIP2=	yes
 USES=		iconv
+USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -25,29 +24,22 @@
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 
-METHODS=	TestNormal TestFault TestStruct TestArray TestBoolean	\
+METHODS=	TestNormal TestFault TestStruct TestArray TestBoolean \
 		TestInt TestString TestDouble TestBase64 TestDateTime
 
 CONFLICTS=	xmlrpc-c-0.* xmlrpc-c-devel-[0-9]*
 
-WRKSRC=	${WRKDIR}/${PORTNAME:C/-.*//}
-
-pre-configure:
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}	\
-	${REINPLACE_CMD} -e '/^LTCOMPILE =/s/--mode=/--tag=CC --mode=/'
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS}	\
-	${REINPLACE_CMD} -e '/^LINK =/s/--mode=/--tag=CC --mode=/'
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 regression-test:
 .for tm in ${METHODS}
-	cd ${WRKSRC}/sample &&	\
-	./sample -method method_${tm}
+	cd ${WRKSRC}/sample && ./sample -method method_${tm}
 .endfor
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/xmlrpc-epi/distinfo ./distinfo
--- /usr/ports/net/xmlrpc-epi/distinfo	2013-01-14 17:56:35.000000000 +0100
+++ ./distinfo	2013-03-31 14:41:30.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-epi-0.54.1.tar.gz) = fa3d0637338f227dc01d9ea9bce1225b925618bd2f36bee7846b690101de038a
-SIZE (xmlrpc-epi-0.54.1.tar.gz) = 913402
+SHA256 (xmlrpc-epi-0.54.2.tar.bz2) = c74ef8fb680b140890138a82f37619714b67f69025a775b9ba2009d62cded0b8
+SIZE (xmlrpc-epi-0.54.2.tar.bz2) = 348478
--- xmlrpc-epi-0.54.2.patch ends here ---

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



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