ports/56123: [PATCH] www/p5-CGI-Lite: update to 2.02, take maintainership

Lars Thegler lars at thegler.dk
Fri Aug 29 08:50:22 UTC 2003


>Number:         56123
>Category:       ports
>Synopsis:       [PATCH] www/p5-CGI-Lite: update to 2.02, take maintainership
>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 Aug 29 01:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.8-STABLE FreeBSD 4.8-STABLE #9: Tue Jul 29 01:39:22 CEST 2003
>Description:
- Update to 2.02
- Take maintainership
- Add docs and examples

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

--- p5-CGI-Lite-2.02.patch begins here ---
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/Makefile /usr/home/lth/ports/www/p5-CGI_Lite/Makefile
--- /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/Makefile	Fri Aug 29 10:19:08 2003
+++ /usr/home/lth/ports/www/p5-CGI_Lite/Makefile	Sat Aug 23 14:49:33 2003
@@ -6,18 +6,30 @@
 #
 
 PORTNAME=	CGI-Lite
-PORTVERSION=	2.001
+PORTVERSION=	2.02
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	CGI
 PKGNAMEPREFIX=	p5-
-DISTNAME=	${PORTNAME}-${PORTVERSION}-emergencyrelease
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Perl5 module to process and decode WWW form information
+MAINTAINER=	lars at thegler.dk
+COMMENT=	Process and decode WWW forms and cookies
 
 PERL_CONFIGURE=	yes
 
 MAN3=		CGI::Lite.3
+
+DOCS=		CHANGES README TODO
+EXAMPLES=	cookies get_post print upload file post reference
+
+post-install:
+.ifndef(NOPORTDOCS)
+	@${ECHO_MSG} "===>   Installing docs for ${PKGNAME}"
+	${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
+	${MKDIR} ${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/distinfo /usr/home/lth/ports/www/p5-CGI_Lite/distinfo
--- /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/distinfo	Fri Aug 29 10:19:08 2003
+++ /usr/home/lth/ports/www/p5-CGI_Lite/distinfo	Sat Aug 23 13:35:28 2003
@@ -1 +1 @@
-MD5 (CGI-Lite-2.001-emergencyrelease.tar.gz) = 6d7001840ad04916663050175bb2cfc7
+MD5 (CGI-Lite-2.02.tar.gz) = fa91873a24a9c8ac78a204e49a7f367f
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/files/patch-Makefile.PL /usr/home/lth/ports/www/p5-CGI_Lite/files/patch-Makefile.PL
--- /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/files/patch-Makefile.PL	Thu Jan  1 01:00:00 1970
+++ /usr/home/lth/ports/www/p5-CGI_Lite/files/patch-Makefile.PL	Sat Aug 23 14:04:52 2003
@@ -0,0 +1,24 @@
+--- Makefile.PL.orig	Sat Aug 23 14:04:18 2003
++++ Makefile.PL	Sat Aug 23 14:04:36 2003
+@@ -3,8 +3,6 @@
+ 
+ $VERSION = "2.02";
+ 
+-print "\nWelcome to the installation of CGI::Lite $VERSION...\n\n";
+-
+ WriteMakefile (
+                  NAME      =>   "CGI::Lite",
+                  VERSION   =>   "$VERSION",
+@@ -13,12 +11,3 @@
+ 				    SUFFIX   => 'gz'
+            			}
+               );
+-
+-print <<End_of_Text;
+-
+-Now do the following to install CGI::Lite $VERSION:
+-
+-    % make 
+-    % make install
+-
+-End_of_Text
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/pkg-descr /usr/home/lth/ports/www/p5-CGI_Lite/pkg-descr
--- /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/pkg-descr	Fri Aug 29 10:19:08 2003
+++ /usr/home/lth/ports/www/p5-CGI_Lite/pkg-descr	Sat Aug 23 13:35:08 2003
@@ -1,13 +1,8 @@
-CGI Lite v1.62 - Perl 5.0 module to process and decode WWW form information.
+You can use this module to decode form and query information, including file
+uploads, as well as cookies in a very simple manner; you need not concern
+yourself with the actual details behind the decoding process.
 
-       The module can be used to handle and decode WWW form
-       information. Both GET and POST requests can be processed.
-       In the case of POST requests, the information can be one
-       of two possible MIME types:
+WWW: http://search.cpan.org/dist/CGI-Lite
 
-           application/x-www-form-urlencoded
-           multipart/form-data
-
-       This module is very light-weight, and can be thought of as
-       an enhanced version of the old cgi-lib.pl library for Perl
-       4.0 by Steven Brenner (S.E.Brenner at bioc.cam.ac.uk).          
+- Lars Thegler
+lars at thegler.dk
diff -ruN --exclude=CVS /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/pkg-plist /usr/home/lth/ports/www/p5-CGI_Lite/pkg-plist
--- /usr/home/lth/ports/www/p5-CGI_Lite/../p5-CGI_Lite.orig/pkg-plist	Fri Aug 29 10:19:08 2003
+++ /usr/home/lth/ports/www/p5-CGI_Lite/pkg-plist	Sat Aug 23 13:51:47 2003
@@ -1,5 +1,17 @@
 %%SITE_PERL%%/CGI/Lite.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite/.packlist
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%EXAMPLESDIR%%/cookies
+%%PORTDOCS%%%%EXAMPLESDIR%%/file
+%%PORTDOCS%%%%EXAMPLESDIR%%/get_post
+%%PORTDOCS%%%%EXAMPLESDIR%%/post
+%%PORTDOCS%%%%EXAMPLESDIR%%/print
+%%PORTDOCS%%%%EXAMPLESDIR%%/reference
+%%PORTDOCS%%%%EXAMPLESDIR%%/upload
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite
 @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true
 @unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
--- p5-CGI-Lite-2.02.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list