Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 01:44:30 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349206 - in head/devel: . alog
Message-ID:  <201403260144.s2Q1iU7h009154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Mar 26 01:44:29 2014
New Revision: 349206
URL: http://svnweb.freebsd.org/changeset/ports/349206
QAT: https://qat.redports.org/buildarchive/r349206/

Log:
  Add new Ada port: devel/alog
  
  Alog is a stackable logging framework for Ada. It aims to be straight
  forward to use and is easily extendable. It provides support for various
  logger types, log facilities, loglevel policies and message
  transformations.
  
  The Alog library comes in two flavors: base and full. The base build
  includes facilities to log to files and syslog while the full version
  provides more advanced log facilities like SMTP, Jabber/XMPP or PostgreSQL.
  The full version requires AWS (Ada Web Server) and APQ (Ada95 database
  binding) and are offered as a non-default option.
  
  WWW: http://www.codelabs.ch/alog

Added:
  head/devel/alog/
  head/devel/alog/Makefile   (contents, props changed)
  head/devel/alog/distinfo   (contents, props changed)
  head/devel/alog/pkg-descr   (contents, props changed)
  head/devel/alog/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Mar 26 01:39:57 2014	(r349205)
+++ head/devel/Makefile	Wed Mar 26 01:44:29 2014	(r349206)
@@ -51,6 +51,7 @@
     SUBDIR += alf
     SUBDIR += allegro
     SUBDIR += allegro-devel
+    SUBDIR += alog
     SUBDIR += android-tools-adb
     SUBDIR += anjuta
     SUBDIR += anjuta-extras

Added: head/devel/alog/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/alog/Makefile	Wed Mar 26 01:44:29 2014	(r349206)
@@ -0,0 +1,66 @@
+# Created by: John Marino <marino@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	alog
+PORTVERSION=	0.4.1
+CATEGORIES=	devel
+MASTER_SITES=	http://www.codelabs.ch/download/
+DISTNAME=	libalog-${PORTVERSION}
+
+MAINTAINER=	marino@FreeBSD.org
+COMMENT=	Stackable logging framework for Ada
+
+LICENSE=	LGPL21
+
+USES=		ada tar:bzip2
+ALL_TARGET=	all
+MAKE_ARGS+=	NUM_CPUS=${MAKE_JOBS_NUMBER} \
+		LIBRARY_KIND=static
+
+OPTIONS_DEFINE=	FULL TEST DOCS
+OPTIONS_SUB=	yes
+TEST_DESC=	Run unit test suite before installation
+FULL_DESC=	Full capabilities (requires PGSQL and AWS)
+NO_OPTIONS_SORT=yes
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MTEST}
+BUILD_DEPENDS+=	${LOCALBASE}/lib/gnat/ahven.gpr:${PORTSDIR}/devel/ahven
+ALL_TARGET+=	tests
+.endif
+
+.if ${PORT_OPTIONS:MFULL}
+MAKE_ENV+=	TARGET=full
+BUILD_DEPENDS+=	apq-pgsql>0:${PORTSDIR}/databases/apq-pgsql \
+		aws>0:${PORTSDIR}/www/aws
+.endif
+
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \
+		source-highlight:${PORTSDIR}/textproc/source-highlight
+ALL_TARGET+=	doc
+USES+=		gmake
+.endif
+
+post-patch:
+	${REINPLACE_CMD} -e '/^NUM_CPUS/d' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e 's/\(not-allowed\)/NONEXISTENT\/\1/' \
+		${WRKSRC}/tests/facility_tests-fd.adb
+	${REINPLACE_CMD} -e "s|\.Linker_Switches;|.Linker_Switches \& (\"-R`gnatls -v|awk '/adalib/ {print $$1}'`\");|" \
+		${WRKSRC}/alog_full_tests.gpr
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
+		${STAGEDIR}${PREFIX}/lib/alog \
+		${STAGEDIR}${PREFIX}/include/alog
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/include/alog
+	${INSTALL_DATA} ${WRKSRC}/lib/*/*.ali ${STAGEDIR}${PREFIX}/lib/alog
+	${INSTALL_DATA} ${WRKSRC}/gnat/alog.gpr ${STAGEDIR}${PREFIX}/lib/gnat
+	${INSTALL_DATA} ${WRKSRC}/lib/*/libalog.a ${STAGEDIR}${PREFIX}/lib/alog
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/alog/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/alog/distinfo	Wed Mar 26 01:44:29 2014	(r349206)
@@ -0,0 +1,2 @@
+SHA256 (libalog-0.4.1.tar.bz2) = 215a763f8680c51fa7c0afc9e9c01409b743e25df7b4598aec7cf47b38095f29
+SIZE (libalog-0.4.1.tar.bz2) = 166973

Added: head/devel/alog/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/alog/pkg-descr	Wed Mar 26 01:44:29 2014	(r349206)
@@ -0,0 +1,12 @@
+Alog is a stackable logging framework for Ada. It aims to be straight
+forward to use and is easily extendable. It provides support for various
+logger types, log facilities, loglevel policies and message
+transformations.
+
+The Alog library comes in two flavors: base and full. The base build
+includes facilities to log to files and syslog while the full version
+provides more advanced log facilities like SMTP, Jabber/XMPP or PostgreSQL.
+The full version requires AWS (Ada Web Server) and APQ (Ada95 database
+binding) and are offered as non-default option.
+
+WWW: http://www.codelabs.ch/alog

Added: head/devel/alog/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/alog/pkg-plist	Wed Mar 26 01:44:29 2014	(r349206)
@@ -0,0 +1,165 @@
+include/alog/alog-active_logger.adb
+include/alog/alog-active_logger.ads
+include/alog/alog-controlled_map.adb
+include/alog/alog-controlled_map.ads
+include/alog/alog-exceptions.ads
+include/alog/alog-facilities-file_descriptor.adb
+include/alog/alog-facilities-file_descriptor.ads
+include/alog/alog-facilities-pgsql.adb
+include/alog/alog-facilities-pgsql.ads
+include/alog/alog-facilities-smtp.adb
+include/alog/alog-facilities-smtp.ads
+include/alog/alog-facilities-syslog.adb
+include/alog/alog-facilities-syslog.ads
+include/alog/alog-facilities-xmpp.adb
+include/alog/alog-facilities-xmpp.ads
+include/alog/alog-facilities.adb
+include/alog/alog-facilities.ads
+include/alog/alog-helpers.adb
+include/alog/alog-helpers.ads
+include/alog/alog-log_request.adb
+include/alog/alog-log_request.ads
+include/alog/alog-logger.adb
+include/alog/alog-logger.ads
+include/alog/alog-maps.adb
+include/alog/alog-maps.ads
+include/alog/alog-policy_db.adb
+include/alog/alog-policy_db.ads
+include/alog/alog-protected_containers.adb
+include/alog/alog-protected_containers.ads
+include/alog/alog-tasked_logger.adb
+include/alog/alog-tasked_logger.ads
+include/alog/alog-transforms-casing.adb
+include/alog/alog-transforms-casing.ads
+include/alog/alog-transforms.adb
+include/alog/alog-transforms.ads
+include/alog/alog-version.ads
+include/alog/alog.ads
+lib/alog/alog-active_logger.ali
+lib/alog/alog-controlled_map.ali
+lib/alog/alog-exceptions.ali
+lib/alog/alog-facilities-file_descriptor.ali
+%%FULL%%lib/alog/alog-facilities-pgsql.ali
+%%FULL%%lib/alog/alog-facilities-smtp.ali
+lib/alog/alog-facilities-syslog.ali
+%%FULL%%lib/alog/alog-facilities-xmpp.ali
+lib/alog/alog-facilities.ali
+lib/alog/alog-helpers.ali
+lib/alog/alog-log_request.ali
+lib/alog/alog-logger.ali
+lib/alog/alog-maps.ali
+lib/alog/alog-policy_db.ali
+lib/alog/alog-protected_containers.ali
+lib/alog/alog-tasked_logger.ali
+lib/alog/alog-transforms-casing.ali
+lib/alog/alog-transforms.ali
+lib/alog/alog-version.ali
+lib/alog/alog.ali
+lib/alog/libalog.a
+lib/gnat/alog.gpr
+%%PORTDOCS%%%%DOCSDIR%%/html/CHANGELOG.html
+%%PORTDOCS%%%%DOCSDIR%%/html/README.html
+%%PORTDOCS%%%%DOCSDIR%%/html/alog-arch.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-active_logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-controlled_map.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-exceptions.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities-file_descriptor.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities-pgsql.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities-smtp.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities-syslog.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities-xmpp.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-facilities.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-helpers.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-log_request.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-maps.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-policy_db.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-protected_containers.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-tasked_logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-transforms-casing.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-transforms.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog-version.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/alog.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeA.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeB.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeC.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeD.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeE.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeF.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeG.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeH.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeI.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeK.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeL.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeM.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeN.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeO.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeP.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeR.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeS.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeT.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeU.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeV.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeW.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeX.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexeother.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexfA.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/indexsA.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-active_logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-controlled_map.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-exceptions.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities-file_descriptor.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities-pgsql.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities-smtp.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities-syslog.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities-xmpp.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-facilities.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-helpers.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-log_request.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-maps.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-policy_db.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-protected_containers.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-tasked_logger.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-transforms-casing.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-transforms.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog-version.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/src_alog.ads.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/docgen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/docgen.js
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/arrow_close.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/arrow_open.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/generic-spec.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/link.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/menubar.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/menubarbottom.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/nav1_btn_mo.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/nav1_btn_up.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/nav2_btn_mo.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/nav2_btn_up.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/package-spec.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/rightside.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/rightsidebottom.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/sidebarframe.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/sidebarframebottom.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/subprogram-spec.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/tree_item.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/tree_root.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/treechildren_bg.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/treechildren_bg_bottom.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/type-spec.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/images/variable-spec.png
+%%PORTDOCS%%%%DOCSDIR%%/html/api/support/tags.css
+%%PORTDOCS%%%%DOCSDIR%%/html/api/toc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/api/tree.html
+%%PORTDOCS%%%%DOCSDIR%%/html/asciidoc.css
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html/api/support/images
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html/api/support
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html/api
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrmtry lib/gnat
+@dirrm lib/alog
+@dirrm include/alog



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403260144.s2Q1iU7h009154>