1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Add p5-Luka 1.06, exception handling and reporting framework.

PR:		ports/100342
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2006-07-17 00:56:46 +00:00
parent 22e200a62d
commit 5509966d0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168028
5 changed files with 79 additions and 0 deletions

View File

@ -1127,6 +1127,7 @@
SUBDIR += p5-Log-Message
SUBDIR += p5-Log-Message-Simple
SUBDIR += p5-Log-TraceMessages
SUBDIR += p5-Luka
SUBDIR += p5-Mac-FileSpec-Unixish
SUBDIR += p5-Make
SUBDIR += p5-Memoize

43
devel/p5-Luka/Makefile Normal file
View File

@ -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>

3
devel/p5-Luka/distinfo Normal file
View File

@ -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

22
devel/p5-Luka/pkg-descr Normal file
View File

@ -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/

10
devel/p5-Luka/pkg-plist Normal file
View File

@ -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