ports/123536: [PATCH] www/p5-Apache-Reload: update to 0.10

Philip M. Gollucci pgollucci at p6m7g8.com
Fri May 9 01:00:06 UTC 2008


>Number:         123536
>Category:       ports
>Synopsis:       [PATCH] www/p5-Apache-Reload: update to 0.10
>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 09 01:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD piccollo.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar  2 09:48:59 EST
>Description:
NOTE: Submitter is _EXTERMELY_ interested in maintaining this port (I have SVN commit access to the module)
- Update to 0.10
- pull pkg-plist into Makefile, so I can dynamically generate it.
  .packlist moves accordingly (see the travesty of a sham of a hack ${_APACHE}

- Version should work with perl 5.10.0 and mod_perl 1.30 or 2.0.4.
- MAINTAINER has not yet tested 5.10.0

Removed file(s):
- pkg-plist

Port maintainer (skv at FreeBSD.org) is cc'd.

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

--- p5-Apache-Reload-0.10.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-Apache-Reload/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	17 Apr 2008 14:29:35 -0000	1.6
+++ Makefile	8 May 2008 19:55:40 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Apache-Reload
-PORTVERSION=	0.07
+PORTVERSION=	0.10
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -18,4 +18,21 @@
 
 MAN3=		Apache::Reload.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MODPERL2)
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+MAKE_ENV+=	MOD_PERL=2
+_APACHE=Apache2
+.else
+BUILD_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+MAKE_ENV+=	MOD_PERL=1
+_APACHE=Apache
+.endif
+
+PLIST_FILES=	%%SITE_PERL%%/%%PERL_ARCH%%/auto/${_APACHE}/Reload/.packlist \
+		%%SITE_PERL%%/${_APACHE}/Reload.pm
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-Apache-Reload/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	24 Jan 2006 03:13:40 -0000	1.4
+++ distinfo	8 May 2008 19:54:44 -0000
@@ -1,3 +1,3 @@
-MD5 (Apache-Reload-0.07.tar.gz) = 68a57f98e5c140117cceded434df1a0a
-SHA256 (Apache-Reload-0.07.tar.gz) = fd24a26b63d040ee1e399576135a80b47fca996d85b99a8f28297fcd998d2a28
-SIZE (Apache-Reload-0.07.tar.gz) = 3266
+MD5 (Apache-Reload-0.10.tar.gz) = 1d89841153b76b384e08479e3e26082a
+SHA256 (Apache-Reload-0.10.tar.gz) = fcb1a11c29ea51ee2082281d34db973300c432ac7e9ff76348954c38ce67a3ac
+SIZE (Apache-Reload-0.10.tar.gz) = 17441
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	22 Jan 2006 02:57:39 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Reload/.packlist
-%%SITE_PERL%%/Apache/Reload.pm
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/Reload
- at dirrmtry %%SITE_PERL%%/Apache
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
--- p5-Apache-Reload-0.10.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list