aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-12-09 03:47:25 +0800
committerglewis <glewis@FreeBSD.org>2003-12-09 03:47:25 +0800
commit780bb1797c6c2c2ff4ea1cb7e2eac69973a316eb (patch)
tree1f1181077be9a5954b2f8475e0bf9a9600d38605
parent20e08a94d629cf2830d823769b922726c80bccd8 (diff)
downloadfreebsd-ports-gnome-780bb1797c6c2c2ff4ea1cb7e2eac69973a316eb.tar.gz
freebsd-ports-gnome-780bb1797c6c2c2ff4ea1cb7e2eac69973a316eb.tar.zst
freebsd-ports-gnome-780bb1797c6c2c2ff4ea1cb7e2eac69973a316eb.zip
New port java/avalon-logkit:
LogKit is a logging toolkit designed for secure performance oriented logging in applications. The LogKit provides the following features: - Decouples LogEvent generation from LogEvent handling. - Is simple to use and simple to configure. - Designed with security in mind. - Allow users fine control of logging based on priority and/or category. - Has hierarchical logging namespace to enable inheritance of LogTargets and Priorities. - Lightweight. - Designed to be integrated into existing products. - Performance oriented. - Enables users to plug in filters to filter out or modify LogEvents before they are written out. - Allow users to specify the serialization format of LogEvents via Formatters. - Comes with a number of existing LogTargets to ease integration. - The LogKit has existed for a number years and been used in a number of different environments which demonstrates it's reliability and stability. WWW: http://avalon.apache.org/logkit/index.html PR: 59040 Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
-rw-r--r--java/Makefile1
-rw-r--r--java/avalon-logkit/Makefile43
-rw-r--r--java/avalon-logkit/distinfo1
-rw-r--r--java/avalon-logkit/pkg-descr22
-rw-r--r--java/avalon-logkit/pkg-plist1
5 files changed, 68 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 9bfbf16312a0..49ebfee125ea 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
#
+ SUBDIR += avalon-logkit
SUBDIR += bluej
SUBDIR += bouncycastle
SUBDIR += bsh
diff --git a/java/avalon-logkit/Makefile b/java/avalon-logkit/Makefile
new file mode 100644
index 000000000000..aaaa819fad20
--- /dev/null
+++ b/java/avalon-logkit/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: Avalon LogKit
+# Date created: 06 November 2003
+# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
+#
+# $FreeBSD$
+#
+
+PORTNAME= logkit
+PORTVERSION= 1.2
+CATEGORIES= java
+MASTER_SITES= http://www.apache.org/dist/avalon/${PORTNAME:S,-,/,}/binaries/
+PKGNAMEPREFIX= avalon-
+DISTNAME= LogKit-${PORTVERSION}-bin
+
+MAINTAINER= herve.quiroz@esil.univ-mrs.fr
+COMMENT= Java toolkit designed for secure performance oriented logging
+
+USE_JAVA= 1.3+
+NO_BUILD= YES
+
+WRKSRC= ${WRKDIR}/LogKit-${PORTVERSION}
+PORT_JARFILE= ${PORTNAME}-${PORTVERSION}.jar
+DEST_JARFILE= ${PORTNAME}.jar
+JAVA_WRKDOCSDIR= ${WRKSRC}/docs
+PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///}
+
+PORTDOCS= api changes.html css features.html images index.html whitepaper.html
+
+do-install:
+ @${ECHO_CMD} -n ">> Installing JAR file..."
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}/${DEST_JARFILE}
+ @${ECHO_CMD} " [DONE]"
+.if !defined(NOPORTDOCS)
+ @${ECHO_CMD} -n ">> Installing documentation..."
+ @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";"
+ @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";"
+ @${ECHO_CMD} " [DONE]"
+.endif
+
+post-install:
+ @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}"
+
+.include <bsd.port.mk>
diff --git a/java/avalon-logkit/distinfo b/java/avalon-logkit/distinfo
new file mode 100644
index 000000000000..065488bc1d1f
--- /dev/null
+++ b/java/avalon-logkit/distinfo
@@ -0,0 +1 @@
+MD5 (LogKit-1.2-bin.tar.gz) = a513abc607c6502cfc6da5a96015f3c8
diff --git a/java/avalon-logkit/pkg-descr b/java/avalon-logkit/pkg-descr
new file mode 100644
index 000000000000..919d61a5a537
--- /dev/null
+++ b/java/avalon-logkit/pkg-descr
@@ -0,0 +1,22 @@
+LogKit is a logging toolkit designed for secure performance oriented logging in
+applications.
+
+The LogKit provides the following features:
+ - Decouples LogEvent generation from LogEvent handling.
+ - Is simple to use and simple to configure.
+ - Designed with security in mind.
+ - Allow users fine control of logging based on priority and/or category.
+ - Has hierarchical logging namespace to enable inheritance of LogTargets and
+ Priorities.
+ - Lightweight.
+ - Designed to be integrated into existing products.
+ - Performance oriented.
+ - Enables users to plug in filters to filter out or modify LogEvents before
+ they are written out.
+ - Allow users to specify the serialization format of LogEvents via
+ Formatters.
+ - Comes with a number of existing LogTargets to ease integration.
+ - The LogKit has existed for a number years and been used in a number of
+ different environments which demonstrates it's reliability and stability.
+
+WWW: http://avalon.apache.org/logkit/index.html
diff --git a/java/avalon-logkit/pkg-plist b/java/avalon-logkit/pkg-plist
new file mode 100644
index 000000000000..5a82556cf6c3
--- /dev/null
+++ b/java/avalon-logkit/pkg-plist
@@ -0,0 +1 @@
+%%JAVAJARDIR%%/logkit.jar