Date: Thu, 9 Sep 2010 13:16:01 GMT From: "Andrei V. Shetuhin" <reki@reki.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: www/150437: New port: www/cas is C++ Application server Message-ID: <201009091316.o89DG1Vb053070@www.freebsd.org> Resent-Message-ID: <201009091320.o89DK27e042245@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150437 >Category: www >Synopsis: New port: www/cas is C++ Application server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 13:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrei V. Shetuhin >Release: 8.1 >Organization: >Environment: FreeBSD barberi.volvox.su 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # cas # cas/Makefile # cas/pkg-plist # cas/pkg-descr # cas/distinfo # echo c - cas mkdir -p cas > /dev/null 2>&1 echo x - cas/Makefile sed 's/^X//' >cas/Makefile << 'a7ce65e9094a6102cad0e4c4b55b017e' X# New ports collection makefile for: cas, C++ Application Server X# Date created: 05/08/2010 X# Whom: Andrei V. Shetuhin <reki@reki.ru> X# vim: ts=8 sw=8 X# X# $FreeBSD$ X# X XPORTNAME= cas XPORTVERSION= 3.3.1 XCATEGORIES= www XMASTER_SITES= http://cas.havoc.ru/download/ X XMAINTAINER= reki@reki.ru XCOMMENT= C++ Application server X XLIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2 \ X pcre.0:${PORTSDIR}/devel/pcre \ X ctpp2.2:${PORTSDIR}/textproc/ctpp2 X XOPTIONS= LIBRARY "Install libcas library" on \ X HEADERS "Install CAS header files" on \ X MODULES "Install CAS modules" on \ X BINARIES "Install binaries" on \ X APACHE "Build Apache 1.3/2.X module" on \ X OPTIMIZED "Enable compiler optimization" on \ X DEBUG "Build with debug information" off X X.include <bsd.port.options.mk> X XUSE_CMAKE= yes XUSE_LDCONFIG= yes X XPLIST_SUB+= PORTVERSION=${PORTVERSION} X XCMAKE_ARGS+= -DINSTALL_CAS_LIBRARY=OFF \ X -DINSTALL_CAS_HEADERS=OFF \ X -DINSTALL_CAS_MODULES=OFF \ X -DINSTALL_CAS_BINARIES=OFF \ X -DINSTALL_CAS_CONFIGS=OFF \ X -DINSTALL_CAS_DATA=OFF \ X -DINSTALL_EXAMPLE_MODULES=OFF \ X -DDEBUG_MODE=OFF \ X -DENABLE_OPTIMIZATION=OFF \ X -DBUILD_APACHE13_MODULE=OFF \ X -DBUILD_APACHE2X_MODULE=OFF X X.if defined(WITH_LIBRARY) XCMAKE_ARGS+= -DINSTALL_CAS_LIBRARY=ON XPLIST_SUB+= INSTALL_LIBRARY="" XPKGNAMESUFFIX:= ${PKGNAMESUFFIX}-lib X.else XPLIST_SUB+= INSTALL_LIBRARY="@comment " X.endif X X.if defined(WITH_HEADERS) XCMAKE_ARGS+= -DINSTALL_CAS_HEADERS=ON XPLIST_SUB+= INSTALL_INCLUDES="" X.else XPLIST_SUB+= INSTALL_INCLUDES="@comment " X.endif X X.if defined(WITH_MODULES) XCMAKE_ARGS+= -DINSTALL_CAS_MODULES=ON XPLIST_SUB+= INSTALL_MODULES="" XPKGNAMESUFFIX:= ${PKGNAMESUFFIX}-modules X.else XPLIST_SUB+= INSTALL_MODULES="@comment " X.endif X X.if defined(WITH_BINARIES) XCMAKE_ARGS+= -DINSTALL_CAS_BINARIES=ON XPLIST_SUB+= INSTALL_BINARIES="" XPKGNAMESUFFIX:= ${PKGNAMESUFFIX}-bin X.else XPLIST_SUB+= INSTALL_BINARIES="@comment " X.endif X X.if defined(WITH_LIBRARY) && defined(WITH_HEADERS) && defined(WITH_MODULES) && defined(WITH_BINARIES) XCMAKE_ARGS+= -DINSTALL_CAS_CONFIGS=ON \ X -DINSTALL_CAS_DATA=ON \ X -DINSTALL_EXAMPLE_MODULES=ON XPLIST_SUB+= INSTALL_DATA="" \ X INSTALL_EXAMPLE_MODULES="" \ X INSTALL_CONFIGS="" XPKGNAMESUFFIX:= "" X.else XPLIST_SUB+= INSTALL_DATA="@comment " \ X INSTALL_APACHE13="@comment " \ X INSTALL_APACHE2X="@comment " \ X INSTALL_EXAMPLE_MODULES="@comment " \ X INSTALL_CONFIGS="@comment " X.endif X X.if defined(WITH_APACHE) XUSE_APACHE= 13+ X.include "${PORTSDIR}/Mk/bsd.apache.mk" X X.if ${APACHE_VERSION} > 13 XCMAKE_ARGS+= -DBUILD_APACHE2X_MODULE=ON XPLIST_SUB+= INSTALL_APACHE13="@comment " XPLIST_SUB+= INSTALL_APACHE2X="" X.else XCMAKE_ARGS+= -DBUILD_APACHE13_MODULE=ON XPLIST_SUB+= INSTALL_APACHE13="" XPLIST_SUB+= INSTALL_APACHE2X="@comment " X.endif X X.endif X X.if defined(WITH_OPTIMIZED) XCMAKE_ARGS+= -DENABLE_OPTIMIZATION=ON X.endif X X.if defined(WITH_DEBUG) XCMAKE_ARGS+= -DDEBUG_MODE=ON X.endif X X.include <bsd.port.mk> a7ce65e9094a6102cad0e4c4b55b017e echo x - cas/pkg-plist sed 's/^X//' >cas/pkg-plist << 'bbe5cbd5b1dbf17464c7635a6c03fd97' X%%INSTALL_INCLUDES%%include/cas/ASConfigErrorHandler.hpp X%%INSTALL_INCLUDES%%include/cas/ASCookie.hpp X%%INSTALL_INCLUDES%%include/cas/ASDataFilter.hpp X%%INSTALL_INCLUDES%%include/cas/ASDebugHelper.hpp X%%INSTALL_INCLUDES%%include/cas/ASException.hpp X%%INSTALL_INCLUDES%%include/cas/ASFile.hpp X%%INSTALL_INCLUDES%%include/cas/ASFilePool.hpp X%%INSTALL_INCLUDES%%include/cas/ASGenericConfigHandler.hpp X%%INSTALL_INCLUDES%%include/cas/ASGetOpt.hpp X%%INSTALL_INCLUDES%%include/cas/ASGlobalConfig.hpp X%%INSTALL_INCLUDES%%include/cas/ASHandler.hpp X%%INSTALL_INCLUDES%%include/cas/ASHandlerConfig.hpp X%%INSTALL_INCLUDES%%include/cas/ASHostConfig.hpp X%%INSTALL_INCLUDES%%include/cas/ASLoadableObject.hpp X%%INSTALL_INCLUDES%%include/cas/ASLoader.hpp X%%INSTALL_INCLUDES%%include/cas/ASLocation.hpp X%%INSTALL_INCLUDES%%include/cas/ASLocationURI.hpp X%%INSTALL_INCLUDES%%include/cas/ASLogCodes.hpp X%%INSTALL_INCLUDES%%include/cas/ASLogger.hpp X%%INSTALL_INCLUDES%%include/cas/ASModule.hpp X%%INSTALL_INCLUDES%%include/cas/ASObject.hpp X%%INSTALL_INCLUDES%%include/cas/ASObjectLoader.hpp X%%INSTALL_INCLUDES%%include/cas/ASPCRE.hpp X%%INSTALL_INCLUDES%%include/cas/ASPool.hpp X%%INSTALL_INCLUDES%%include/cas/ASRequest.hpp X%%INSTALL_INCLUDES%%include/cas/ASResourceStorage.hpp X%%INSTALL_INCLUDES%%include/cas/ASResponse.hpp X%%INSTALL_INCLUDES%%include/cas/ASResponseCodes.hpp X%%INSTALL_INCLUDES%%include/cas/ASResponseWriter.hpp X%%INSTALL_INCLUDES%%include/cas/ASServer.hpp X%%INSTALL_INCLUDES%%include/cas/ASServerContext.hpp X%%INSTALL_INCLUDES%%include/cas/ASServerManager.hpp X%%INSTALL_INCLUDES%%include/cas/ASSysHeaders.h X%%INSTALL_INCLUDES%%include/cas/ASTemplate.hpp X%%INSTALL_INCLUDES%%include/cas/ASTemplatePathExpander.hpp X%%INSTALL_INCLUDES%%include/cas/ASTypes.hpp X%%INSTALL_INCLUDES%%include/cas/ASUtil.hpp X%%INSTALL_INCLUDES%%include/cas/ASView.hpp X%%INSTALL_INCLUDES%%include/cas/ASViewConfig.hpp X%%INSTALL_INCLUDES%%include/cas/ASXMLHandler.hpp X%%INSTALL_INCLUDES%%include/cas/ASXMLParser.hpp X%%INSTALL_INCLUDES%%include/cas/ASXMLRPCHandler.hpp X%%INSTALL_INCLUDES%%include/cas/STLException.hpp X%%INSTALL_INCLUDES%%include/cas/STLFunctional.hpp X%%INSTALL_INCLUDES%%include/cas/STLMap.hpp X%%INSTALL_INCLUDES%%include/cas/STLPair.hpp X%%INSTALL_INCLUDES%%include/cas/STLString.hpp X%%INSTALL_INCLUDES%%include/cas/STLVector.hpp X%%INSTALL_LIBRARY%%lib/libcas.so.%%PORTVERSION%% X%%INSTALL_LIBRARY%%lib/libcas.so.3 X%%INSTALL_LIBRARY%%lib/libcas.so X%%INSTALL_LIBRARY%%lib/libcas-st.a X%%INSTALL_BINARIES%%bin/cas-globalconf X%%INSTALL_BINARIES%%bin/cas-hostconf X%%INSTALL_BINARIES%%bin/cas-server X%%INSTALL_BINARIES%%bin/cas-config X%%INSTALL_BINARIES%%bin/cas-xt X%%INSTALL_BINARIES%%bin/cas-regexp X%%INSTALL_BINARIES%%bin/cas-xmlrpc-parser X%%INSTALL_MODULES%%libexec/cas/mod_ctpp2_view.so X%%INSTALL_MODULES%%libexec/cas/mod_ctpp_view.so X%%INSTALL_MODULES%%libexec/cas/mod_json_view.so X%%INSTALL_MODULES%%libexec/cas/mod_plain_view.so X%%INSTALL_MODULES%%libexec/cas/mod_xmlrpc_view.so X%%INSTALL_MODULES%%libexec/cas/mod_xml_view.so X%%INSTALL_MODULES%%libexec/cas/mod_tabseparated_view.so X%%INSTALL_MODULES%%libexec/cas/mod_http_redirect_view.so X%%INSTALL_DATA%%share/cas/tmpl/redirect/html-redirect.tmpl X%%INSTALL_DATA%%share/cas/tmpl/redirect/wml-redirect.tmpl X%%INSTALL_CONFIGS%%share/cas/conf/global-config.xml.sample X%%INSTALL_CONFIGS%%share/cas/conf/vhost-config.xml.sample X%%INSTALL_DATA%%share/cas/examples/request.json X%%INSTALL_DATA%%share/cas/xt/HandlerTemplate.tmpl X%%INSTALL_DATA%%share/cas/xt/CMakeLists.tmpl X%%INSTALL_DATA%%share/cas/xt/ConfigureLibrary.cmake X%%INSTALL_DATA%%share/cas/xt/ConfigurePackage.cmake X%%INSTALL_DATA%%share/cas/xt/RenameModule.cmake X%%INSTALL_APACHE13%%libexec/apache/mod_cas.so X%%INSTALL_APACHE2X%%libexec/apache/mod_cas2.so X%%INSTALL_EXAMPLE_MODULES%%libexec/cas/mod_example_handler.so X%%INSTALL_EXAMPLE_MODULES%%libexec/cas/mod_example_module.so X%%INSTALL_EXAMPLE_MODULES%%libexec/cas/mod_example_view.so X%%INSTALL_EXAMPLE_MODULES%%lib/libexampleclass.so X@dirrmtry include/modules X@dirrmtry include/cas X@dirrmtry libexec/cas X@dirrm share/cas/tmpl/redirect X@dirrmtry share/cas/tmpl X@dirrmtry share/cas/xt X@dirrmtry share/cas/examples X@dirrmtry share/cas/conf X@dirrmtry share/cas bbe5cbd5b1dbf17464c7635a6c03fd97 echo x - cas/pkg-descr sed 's/^X//' >cas/pkg-descr << '1c0338d386d75be29a08da1bf3118d36' XThis is CAS - C++ Application server. X XCAS is high-performance MVC framework for developing web-applications. XCAS can be used also as high-performance XML-RPC server. X XIt has bindings for Apache 1.3 and Apache 2.X. X XVersion 3.X X XWWW: http://cas.havoc.ru/ X X- reki@reki.ru 1c0338d386d75be29a08da1bf3118d36 echo x - cas/distinfo sed 's/^X//' >cas/distinfo << '0d91226397b58bc22bf5ef9f8c044955' XMD5 (cas-3.3.1.tar.gz) = af026f193c5df08d4259eab685e03d88 XSHA256 (cas-3.3.1.tar.gz) = 6eb6016d9623eafa267722a37ac5f71bd81df00dfceed2fa649acc208ab3a747 XSIZE (cas-3.3.1.tar.gz) = 431200 0d91226397b58bc22bf5ef9f8c044955 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009091316.o89DG1Vb053070>