diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-17 00:56:46 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-17 00:56:46 +0000 |
commit | 5509966d0b2a0d7d25f34c74e4135b62e21b109e (patch) | |
tree | 2e2cbda2e17e4dcd8af1817d6f80e134a79d7145 /devel/p5-Luka | |
parent | - update to 0.92 (diff) |
Add p5-Luka 1.06, exception handling and reporting framework.
PR: ports/100342
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=168028
Diffstat (limited to 'devel/p5-Luka')
-rw-r--r-- | devel/p5-Luka/Makefile | 43 | ||||
-rw-r--r-- | devel/p5-Luka/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Luka/pkg-descr | 22 | ||||
-rw-r--r-- | devel/p5-Luka/pkg-plist | 10 |
4 files changed, 78 insertions, 0 deletions
diff --git a/devel/p5-Luka/Makefile b/devel/p5-Luka/Makefile new file mode 100644 index 000000000000..6af0fbc98b69 --- /dev/null +++ b/devel/p5-Luka/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: p5-Luka +# Date created: 2006-07-15 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Luka +PORTVERSION= 1.06 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/T/TP/TPG +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Exception handling and reporting framework + +BUILD_DEPENDS= ${SITE_PERL}/Class/Std.pm:${PORTSDIR}/devel/p5-Class-Std \ + ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \ + ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \ + ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \ + ${SITE_PERL}/Mail/SendEasy.pm:${PORTSDIR}/mail/p5-Mail-SendEasy \ + ${SITE_PERL}/Sub/Uplevel.pm:${PORTSDIR}/devel/p5-Sub-Uplevel \ + ${SITE_PERL}/Sys/Hostname/Long.pm:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \ + ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \ + ${SITE_PERL}/What/MTA.pm:${PORTSDIR}/net/p5-What +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Luka.3 Luka::Conf.3 Luka::Exceptions.3 Luka::Mailer.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 # Inherited from many dependencies +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.if ${PERL_LEVEL} < 500702 +BUILD_DEPENDS+= ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Luka/distinfo b/devel/p5-Luka/distinfo new file mode 100644 index 000000000000..a23ce252844f --- /dev/null +++ b/devel/p5-Luka/distinfo @@ -0,0 +1,3 @@ +MD5 (Luka-1.06.tar.gz) = 6555b11e4229411a9bc8f754abbe256a +SHA256 (Luka-1.06.tar.gz) = 1bdf1acee72c31903542a4337dd171e78c627f541c6f89529168ea7de6c1c1c0 +SIZE (Luka-1.06.tar.gz) = 36299 diff --git a/devel/p5-Luka/pkg-descr b/devel/p5-Luka/pkg-descr new file mode 100644 index 000000000000..4e1ef6fe2e5b --- /dev/null +++ b/devel/p5-Luka/pkg-descr @@ -0,0 +1,22 @@ +Luka is an exception handling and reporting framework. It's useful to +look at it as an event handling framework. + +It comes from operational understanding of networks. + +Scenario that Luka is addressing is following: on a network with +multiple hosts running multiple applications, it is very difficult to +track operational status of all the functionality that those +applications and hosts are meant to deliver. In order to make it +easier, we decided to specify the error handling and reporting data +model that each component delivering functionality has to conform to. +What is a component? In most cases, it is a script, often run from +cronjob, in some cases it is a class in an application. In all cases, +a component has to successfully complete a task on which functionality +of an application, or entire network, relies on. + +It is common practice that programmers choose their way of handling +errors and reporting. Luka is an attempt to standardize that process. +Its primary goal is to make it easier for smaller number of people to +keep larger number of applications and networks running. + +WWW: http://port.home.page/ diff --git a/devel/p5-Luka/pkg-plist b/devel/p5-Luka/pkg-plist new file mode 100644 index 000000000000..3ebcbede0732 --- /dev/null +++ b/devel/p5-Luka/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Luka/.packlist +%%SITE_PERL%%/Luka.pm +%%SITE_PERL%%/Luka/Conf.pm +%%SITE_PERL%%/Luka/Error.pm +%%SITE_PERL%%/Luka/ExceptionBase.pm +%%SITE_PERL%%/Luka/Exceptions.pm +%%SITE_PERL%%/Luka/Mailer.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Luka +@dirrmtry %%SITE_PERL%%/Luka |