From gslin@netnews.NCTU.edu.tw  Wed Jul 19 16:01:40 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5A4C116A4E1;
	Wed, 19 Jul 2006 16:01:40 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F0DE843D5F;
	Wed, 19 Jul 2006 16:01:39 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id 734B888; Thu, 20 Jul 2006 00:01:34 +0800 (CST)
Message-Id: <20060719160134.734B888@netnews.NCTU.edu.tw>
Date: Thu, 20 Jul 2006 00:01:34 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: skv@FreeBSD.org, gslin@gslin.org
Subject: [PATCH] sysutils/p5-Schedule-Load: update to 3.040
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         100554
>Category:       ports
>Synopsis:       [PATCH] sysutils/p5-Schedule-Load: update to 3.040
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    skv
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 19 16:10:17 GMT 2006
>Closed-Date:    Mon Jul 31 13:40:21 GMT 2006
>Last-Modified:  Mon Jul 31 13:40:21 GMT 2006
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 3.040
- Reduce dependencies.
- Use @dirrmtry and sort pkg-plist.

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

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

--- p5-Schedule-Load-3.040.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/p5-Schedule-Load/Makefile /home/staff/gslin/work/p5-Schedule-Load/Makefile
--- /usr/ports/sysutils/p5-Schedule-Load/Makefile	Sat May  6 03:16:38 2006
+++ /home/staff/gslin/work/p5-Schedule-Load/Makefile	Wed Jul 19 23:57:45 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Schedule-Load
-PORTVERSION=	3.030
+PORTVERSION=	3.040
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Schedule
@@ -15,9 +15,7 @@
 MAINTAINER=	skv@FreeBSD.org
 COMMENT=	Load distribution and status across multiple host machines
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
-		${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
-		${SITE_PERL}/${PERL_ARCH}/Proc/ProcessTable.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Proc/ProcessTable.pm:${PORTSDIR}/devel/p5-Proc-ProcessTable \
 		${SITE_PERL}/${PERL_ARCH}/Unix/Processors.pm:${PORTSDIR}/sysutils/p5-Unix-Processors \
 		${SITE_PERL}/IPC/PidStat.pm:${PORTSDIR}/devel/p5-IPC-Locker
 BUILD_DEPENDS=	${RUN_DEPENDS}
@@ -39,4 +37,14 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/init.d/* ${EXAMPLESDIR}/init.d
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500700
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.if ${PERL_LEVEL} < 500702
+RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/p5-Schedule-Load/distinfo /home/staff/gslin/work/p5-Schedule-Load/distinfo
--- /usr/ports/sysutils/p5-Schedule-Load/distinfo	Sat Apr 22 03:19:21 2006
+++ /home/staff/gslin/work/p5-Schedule-Load/distinfo	Wed Jul 19 23:58:04 2006
@@ -1,3 +1,3 @@
-MD5 (Schedule-Load-3.030.tar.gz) = 4e53d58809aeebf8a70f830bb1c666bc
-SHA256 (Schedule-Load-3.030.tar.gz) = 365a052aec98b7ba3a297dba61fefbdfacc9af53bf34f53de0344b9f2c350d9c
-SIZE (Schedule-Load-3.030.tar.gz) = 60412
+MD5 (Schedule-Load-3.040.tar.gz) = b66fd3df5fcbbcd083eb120ad98f15eb
+SHA256 (Schedule-Load-3.040.tar.gz) = bd818b185cf30863e7c405cba1bbdfbd970e858b34921be5f2e9c7b6fc498a7d
+SIZE (Schedule-Load-3.040.tar.gz) = 61338
diff -ruN --exclude=CVS /usr/ports/sysutils/p5-Schedule-Load/pkg-plist /home/staff/gslin/work/p5-Schedule-Load/pkg-plist
--- /usr/ports/sysutils/p5-Schedule-Load/pkg-plist	Sat May  6 03:16:38 2006
+++ /home/staff/gslin/work/p5-Schedule-Load/pkg-plist	Thu Jul 20 00:00:42 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Schedule/Load/.packlist
 bin/rschedule
 bin/slchoosed
@@ -17,16 +18,16 @@
 %%SITE_PERL%%/Schedule/Load/Schedule.pm
 %%SITE_PERL%%/auto/Schedule/Load/Hosts/Host/autosplit.ix
 %%SITE_PERL%%/auto/Schedule/Load/Hosts/Proc/autosplit.ix
-@dirrm %%SITE_PERL%%/Schedule/Load/Hosts
-@dirrm %%SITE_PERL%%/Schedule/Load
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Schedule/Load
-@dirrm lib/rschedule
-@dirrmtry %%SITE_PERL%%/Schedule
+@dirrmtry lib/rschedule
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Schedule/Load
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Schedule
-@dirrm %%SITE_PERL%%/auto/Schedule/Load/Hosts/Host
-@dirrm %%SITE_PERL%%/auto/Schedule/Load/Hosts/Proc
-@dirrm %%SITE_PERL%%/auto/Schedule/Load/Hosts
-@dirrm %%SITE_PERL%%/auto/Schedule/Load
+@dirrmtry %%SITE_PERL%%/Schedule/Load/Hosts
+@dirrmtry %%SITE_PERL%%/Schedule/Load
+@dirrmtry %%SITE_PERL%%/Schedule
+@dirrmtry %%SITE_PERL%%/auto/Schedule/Load/Hosts/Host
+@dirrmtry %%SITE_PERL%%/auto/Schedule/Load/Hosts/Proc
+@dirrmtry %%SITE_PERL%%/auto/Schedule/Load/Hosts
+@dirrmtry %%SITE_PERL%%/auto/Schedule/Load
 @dirrmtry %%SITE_PERL%%/auto/Schedule
 %%PORTDOCS%%%%EXAMPLESDIR%%/init.d/slchoosed
 %%PORTDOCS%%%%EXAMPLESDIR%%/init.d/slreportd
--- p5-Schedule-Load-3.040.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->skv 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 19 16:10:33 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100554 
State-Changed-From-To: open->closed 
State-Changed-By: skv 
State-Changed-When: Mon Jul 31 13:37:27 UTC 2006 
State-Changed-Why:  
Committed, however I did not "reduce" dependencies. 

1. I hate this messing stuff with .if/.ednif spagetti 

2. Perl 50070* was never appeared in ports, because it's development version. 

3. I suppose that core perl modules must be always up-to-date 
and must be updated from ports tree. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=100554 
>Unformatted:
