ports/76982: New port: devel/log4sh, a logging lib for Bourne shell

David Thiel lx at redundancy.redundancy.org
Tue Feb 1 22:50:17 UTC 2005


>Number:         76982
>Category:       ports
>Synopsis:       New port: devel/log4sh, a logging lib for Bourne shell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 22:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 9 21:41:16 PST 2005 root at redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386

>Description:

Log4sh is a logging library similar to log4j, log4c, etc, for Bourne shell.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	log4sh
#	log4sh/pkg-descr
#	log4sh/Makefile
#	log4sh/distinfo
#
echo c - log4sh
mkdir -p log4sh > /dev/null 2>&1
echo x - log4sh/pkg-descr
sed 's/^X//' >log4sh/pkg-descr << 'END-of-log4sh/pkg-descr'
XLog4sh is a logging framework for shell scripts that works similar to
Xthe other wonderful logging products available from the Apache Software
XFoundataion (eg. log4j, log4perl). Although not as powerful as the
Xothers, it can make the task of adding advanced logging to shell scripts
Xeasier. It has much more power than just using simple "echo" commands
Xthroughout. In addition, it can be configured from a properties file so
Xthat scripts in a production environment do not need to be altered to
Xchange the amount of logging they produce.
X
XWWW:	http://forestent.com/products/log4sh/
END-of-log4sh/pkg-descr
echo x - log4sh/Makefile
sed 's/^X//' >log4sh/Makefile << 'END-of-log4sh/Makefile'
X# New ports collection makefile for:	log4sh
X# Date created:		2005-02-01
X# Whom:			David Thiel <lx at redundancy.redundancy.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	log4sh
XPORTVERSION=	1.2.5
XCATEGORIES=	devel
XMASTER_SITES=	http://forestent.com/dist/log4sh/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	lx at redundancy.redundancy.org
XCOMMENT=	A common logging library for Bourne shell scripts
X
XPLIST_FILES=	lib/log4sh
XPORTDOCS=	log4sh.html
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/build/log4sh ${PREFIX}/lib
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/log4sh.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-log4sh/Makefile
echo x - log4sh/distinfo
sed 's/^X//' >log4sh/distinfo << 'END-of-log4sh/distinfo'
XMD5 (log4sh-1.2.5.tgz) = 9a14581c679697d7c8364dd1361ace57
XSIZE (log4sh-1.2.5.tgz) = 33746
END-of-log4sh/distinfo
exit

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



More information about the freebsd-ports-bugs mailing list