Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2003 08:54:33 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/55949: [update] net/pear-Net_NNTP: update to 0.9.2
Message-ID:  <20030825065515.359DA43F75@mx1.FreeBSD.org>
Resent-Message-ID: <200308250700.h7P70gVU088715@freefall.freebsd.org>

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

>Number:         55949
>Category:       ports
>Synopsis:       [update] net/pear-Net_NNTP: update to 0.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 25 00:00:41 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Aug 24 15:37:26 CEST 2003 root@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	update NNTP pear class to the lastest version.
	
>How-To-Repeat:
	N/A.
>Fix:

	

--- pear-nntp-update.diff begins here ---
Index: Makefile
===================================================================
RCS file: /WORK/ports/REPO/ports/net/pear-Net_NNTP/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	25 Aug 2003 02:01:11 -0000	1.1
+++ Makefile	25 Aug 2003 06:46:14 -0000
@@ -6,23 +6,26 @@
 #
 
 PORTNAME=	Net_NNTP
-PORTVERSION=	0.2
+PORTVERSION=	0.9.2
 CATEGORIES=	net news www
 
 MAINTAINER=	sheepkiller@cultdeadsheep.org
 COMMENT=	PEAR class that provides an implementation of the NNTP protocol
 
-BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS=	${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 .include <bsd.port.pre.mk>
 .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
 
+LIB_FILES=	NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
+
 do-install:
-.if !exists(${PEARDIR}/Net)
-	@${MKDIR} ${PEARDIR}/Net
-.endif
+	@${MKDIR} ${PEARDIR}/Net/NNTP
 	@${CP} -p ${WRKSRC}/NNTP.php ${PEARDIR}/Net
+.for FILE in ${LIB_FILES}
+	@${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/Net/NNTP
+.endfor
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /WORK/ports/REPO/ports/net/pear-Net_NNTP/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	25 Aug 2003 02:01:11 -0000	1.1
+++ distinfo	25 Aug 2003 06:44:50 -0000
@@ -1 +1 @@
-MD5 (PEAR/Net_NNTP-0.2.tgz) = 7f2591f11bef81202dd4a09070a33a28
+MD5 (PEAR/Net_NNTP-0.9.2.tgz) = 1748a8d1a9cf5194f4f8bd91cb117b6f
Index: pkg-plist
===================================================================
RCS file: /WORK/ports/REPO/ports/net/pear-Net_NNTP/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	25 Aug 2003 02:01:11 -0000	1.1
+++ pkg-plist	25 Aug 2003 06:44:53 -0000
@@ -1,4 +1,8 @@
 %%PEARDIR%%/Net/NNTP.php
+%%PEARDIR%%/Net/NNTP/Protocol.php
+%%PEARDIR%%/Net/NNTP/Header.php
+%%PEARDIR%%/Net/NNTP/Message.php
 %%PKGREGDIR%%/package.xml
+@dirrm %%PEARDIR%%/Net/NNTP
 @dirrm %%PKGREGDIR%%
 @unexec rmdir %D/share/pear/Net 2> /dev/null || true
--- pear-nntp-update.diff ends here ---


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



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