Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2008 09:03:22 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mat@FreeBSD.org
Subject:   ports/127823: [PATCH] net/p5-Net: update depenedency
Message-ID:  <200810031603.m93G3Mj6050465@cn1.leeym.com>
Resent-Message-ID: <200810031610.m93GA22G092032@freefall.freebsd.org>

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

>Number:         127823
>Category:       ports
>Synopsis:       [PATCH] net/p5-Net: update depenedency
>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:   Fri Oct 03 16:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- update dependency
- shorten pkg-descr to make portlint happier
- bump PORTREVISION

Port maintainer (mat@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Net-1.22_1,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/p5-Net/Makefile,v
retrieving revision 1.47
diff -u -d -b -w -u -r1.47 Makefile
--- Makefile	28 Aug 2007 10:09:07 -0000	1.47
+++ Makefile	3 Oct 2008 16:02:44 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Net
 PORTVERSION=	1.22
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
@@ -16,11 +17,9 @@
 MAINTAINER=	mat@FreeBSD.org
 COMMENT=	Perl5 modules to access and use network protocols
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
-		${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL
+RUN_DEPENDS=	p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL
 
 PERL_CONFIGURE=	yes
-CONFIGURE_ARGS=	< /dev/null
 
 MAN3=		Net::Cmd.3 \
 		Net::Config.3 \
@@ -33,4 +32,11 @@
 		Net::Time.3 \
 		Net::libnetFAQ.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
+		p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/net/p5-Net/pkg-descr,v
retrieving revision 1.4
diff -u -d -b -w -u -r1.4 pkg-descr
--- pkg-descr	21 Sep 2005 19:31:13 -0000	1.4
+++ pkg-descr	3 Oct 2008 16:02:44 -0000
@@ -1,88 +1,20 @@
-Contents of perl5 Net class:
-
-Net::FTP - FTP Client class
-
-       Net::FTP is a class implementing a simple FTP client in
-       Perl as described in RFC959
-
-       Net::FTP provides methods that will perform various
-       operations. These methods could be split into groups
-       depending the level of interface the user requires.      
-
-
-Net::Time - time and daytime network client interface
-
-       Net::Time provides subroutines that obtain the time on a
-       remote machine.
-
-
-Net::DummyInetd - A dummy Inetd server
-
-       Net::DummyInetd is just what it's name says, it is a dummy
-       inetd server.  Creation of a Net::DummyInetd will cause a
-       child process to be spawned off which will listen to a
-       socket. When a connection arrives on this socket the
-       specified command is fork'd and exec'd with STDIN and
-       STDOUT file descriptors duplicated to the new socket.   
-
-
-Net::NNTP - NNTP Client class
-
-       Net::NNTP is a class implementing a simple NNTP client in
-       Perl as described in RFC977. Net::NNTP inherits its
-       communication methods from Net::Cmd   
-
-
-Net::SNPP - Simple Network Pager Protocol Client
-
-       This module implements a client interface to the SNPP
-       protocol, enabling a perl5 application to talk to SNPP
-       servers. This documentation assumes that you are familiar
-       with the SNPP protocol described in RFC1861.        
-
-
-Net::POP3 - Post Office Protocol 3 Client class (RFC1081)
-
-      This module implements a client interface to the POP3
-       protocol, enabling a perl5 application to talk to POP3
-       servers. This documentation assumes that you are familiar
-       with the POP3 protocol described in RFC1081.       
-
-
-Net::Cmd - Network Command class (as used by FTP, SMTP etc)   
-
-       Net::Cmd is a collection of methods that can be inherited
-       by a sub class of IO::Handle. These methods implement the
-       functionality required for a command based protocol, for
-       example FTP and SMTP.       
-
-Net::SMTP - Simple Mail transfer Protocol Client
-
-       This module implements a client interface to the SMTP
-       protocol, enabling a perl5 application to talk to SMTP
-       servers. This documentation assumes that you are familiar
-       with the SMTP protocol described in RFC821.    
-
-
-Net::Domain - Attempt to evaluate the current host's internet name and domain
-
-       Using various methods attempt to find the Fully Qualified
-       Domain Name (FQDN) of the current host. From this
-       determine the host-name and the host-domain. 
-
-
-Net::Netrc - OO interface to users netrc file
-
-      Net::Netrc is a class implementing a simple interface to
-      the .netrc file used as by the ftp program.      
+libnet is a collection of Perl modules which provides a simple
+and consistent programming interface (API) to the client side
+of various protocols used in the internet community.
 
+For details of each protocol please refer to the RFC. RFC's
+can be found a various places on the WEB, for a starting
+point look at:
 
-Net::Telnet - Defines constants for the telnet protocol
+    http://www.yahoo.com/Computers_and_Internet/Standards/RFCs/
 
-       This module is VERY preliminary as I am not 100% sure how
-       it should be implemented.
+    The RFC implemented in this distribution are
 
-       Currently it just exports constants used in the telnet
-       protocol.                                  
+    Net::FTP        RFC959          File Transfer Protocol
+    Net::SMTP       RFC821          Simple Mail Transfer Protocol
+    Net::Time       RFC867          Daytime Protocol
+    Net::Time       RFC868          Time Protocol
+    Net::NNTP       RFC977          Network News Transfer Protocol
+    Net::POP3       RFC1939         Post Office Protocol 3
 
 WWW: http://search.cpan.org/dist/libnet/
--- p5-Net-1.22_1,1.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?200810031603.m93G3Mj6050465>