Date: Thu, 1 Apr 2004 11:20:28 +0400 (MSD) From: Denis Shaposhnikov <dsh@vlink.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dsh@neva.vlink.ru Subject: ports/65022: new port: www/parser (www templating language) Message-ID: <200404010720.i317KSFN078610@neva.vlink.ru> Resent-Message-ID: <200404010730.i317UICQ012250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65022 >Category: ports >Synopsis: new port: www/parser (www templating language) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 31 23:30:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD neva.vlink.ru 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 14:17:03 MSK 2004 dsh@neva.vlink.ru:/var/FreeBSD/src/sys/compile/NEVA i386 >Description: The simple and comfortable object-oriented language allowing quickly to create good sites. Support of XML, XSL, XPath É DOM Extended database support Object oriented Easy UTF-8 ... and so on. WWW: http://www.parser.ru/ >How-To-Repeat: # 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: # # parser # parser/Makefile # parser/distinfo # parser/pkg-descr # parser/files # parser/files/patch-bin-Makefile # parser/files/patch-src-targets-cgi-parser3.C # parser/files/patch-src-targets-apache13core-Makefile.in # parser/files/patch-src-targets-apache13-p3runConfigure.in # parser/pkg-plist # echo c - parser mkdir -p parser > /dev/null 2>&1 echo x - parser/Makefile sed 's/^X//' >parser/Makefile << 'END-of-parser/Makefile' X# New ports collection makefile for: Parser X# Date created: Wed Aug 6 11:02:01 MSD 2003 X# Whom: dsh@vlink.ru X# X# $FreeBSD$ X# X XPORTNAME= parser XPORTVERSION= 3.1.2 XCATEGORIES= www XMASTER_SITES= http://www.parser.ru/off-line/download/src/ \ X ${MASTER_SITE_APACHE_HTTPD}:apache XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ X apache_${WITH_APACHE_VER}${EXTRACT_SUFX}:apache X XMAINTAINER= dsh@vlink.ru XCOMMENT= The simple and comfortable object-oriented language allowing quickly to create good sites X XBUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} XLIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc \ X gdome.8:${PORTSDIR}/textproc/gdome2 XRUN_DEPENDS= ${BUILD_DEPENDS} X XIGNORE= cant be builded because you need to patch textproc/gdome2 before. See ${WRKSRC}/INSTALL. Do it and repeat building with NO_IGNORE=yes X XUSE_GNOME= libxml2 libxslt glib12 XHAS_CONFIGURE= yes XCONFIGURE_ARGS+= \ X --prefix=${PREFIX} \ X --sysconfdir=${PREFIX}/etc/${PORTNAME} \ X --with-shared-gc=${PREFIX}/lib \ X --with-dynamic-stdcpp \ X --with-shared-xml=${PREFIX} \ X --with-apache13=${WRKDIR}/apache_${WITH_APACHE_VER} X XWITH_APACHE_VER= 1.3.29 X Xpost-build: X (cd ${WRKSRC}/src/targets/apache13 && ./p3runConfigure) X Xpost-install: X ${INSTALL_PROGRAM} ${WRKSRC}/src/targets/apache13/mod_parser3.so \ X ${PREFIX}/libexec/apache/ X X.include <bsd.port.mk> END-of-parser/Makefile echo x - parser/distinfo sed 's/^X//' >parser/distinfo << 'END-of-parser/distinfo' XMD5 (parser-3.1.2.tar.gz) = 483d15c61cdcb8d961c57abbcbbf7ebb XSIZE (parser-3.1.2.tar.gz) = 1036809 XMD5 (apache_1.3.29.tar.gz) = e97fe9bf51dc2c9c233d53f63b1347e3 XSIZE (apache_1.3.29.tar.gz) = 2435809 END-of-parser/distinfo echo x - parser/pkg-descr sed 's/^X//' >parser/pkg-descr << 'END-of-parser/pkg-descr' XThe simple and comfortable object-oriented language allowing quickly Xto create good sites. X X Support of XML, XSL, XPath É DOM X Extended database support X Object oriented X Easy UTF-8 X X... and so on. X XWWW: http://www.parser.ru/ END-of-parser/pkg-descr echo c - parser/files mkdir -p parser/files > /dev/null 2>&1 echo x - parser/files/patch-bin-Makefile sed 's/^X//' >parser/files/patch-bin-Makefile << 'END-of-parser/files/patch-bin-Makefile' X--- bin/Makefile.in.orig Mon Jul 28 15:42:44 2003 X+++ bin/Makefile.in Wed Aug 6 11:44:15 2003 X@@ -144,7 +144,7 @@ X subdirs = @subdirs@ X sysconfdir = @sysconfdir@ X target_alias = @target_alias@ X-confdir = @bindir@ X+confdir = @sysconfdir@ X conf_DATA = auto.p.dist X subdir = bin X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs END-of-parser/files/patch-bin-Makefile echo x - parser/files/patch-src-targets-cgi-parser3.C sed 's/^X//' >parser/files/patch-src-targets-cgi-parser3.C << 'END-of-parser/files/patch-src-targets-cgi-parser3.C' X--- src/targets/cgi/parser3.C.orig Thu Jul 24 15:31:25 2003 X+++ src/targets/cgi/parser3.C Fri Mar 19 12:26:56 2004 X@@ -35,6 +35,7 @@ X X #define REDIRECT_PREFIX "REDIRECT_" X #define PARSER_CONFIG_ENV_NAME "CGI_PARSER_CONFIG" X+#define PARSER_LOG_ENV_NAME "CGI_PARSER_LOG" X X /// IIS refuses to read bigger chunks X const size_t READ_POST_CHUNK_SIZE=0x400*0x400; // 1M X@@ -59,7 +60,15 @@ X bool opened=false; X FILE *f=0; X X- if(config_filespec_cstr) { X+ const char* log_by_env=getenv(PARSER_LOG_ENV_NAME); X+ if(log_by_env == NULL) X+ log_by_env=getenv(REDIRECT_PREFIX PARSER_LOG_ENV_NAME); X+ if(log_by_env) { X+ f=fopen(log_by_env, "at"); X+ opened = f != NULL; X+ } X+ X+ if(!opened && config_filespec_cstr) { X char beside_config_path[MAX_STRING]; X strncpy(beside_config_path, config_filespec_cstr, MAX_STRING-1); beside_config_path[MAX_STRING-1]=0; X if(!( END-of-parser/files/patch-src-targets-cgi-parser3.C echo x - parser/files/patch-src-targets-apache13core-Makefile.in sed 's/^X//' >parser/files/patch-src-targets-apache13core-Makefile.in << 'END-of-parser/files/patch-src-targets-apache13core-Makefile.in' X--- src/targets/apache13core/Makefile.in.orig Fri Oct 31 15:46:44 2003 X+++ src/targets/apache13core/Makefile.in Thu Mar 18 09:20:53 2004 X@@ -146,7 +146,7 @@ X target_alias = @target_alias@ X X #@test why not INCLUDES=? X-INCLUDES := $(INCLUDES) -I../apache13 -I../../classes -I../../types $(INCLTDL) -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/pcre -I../../lib/md5 -I$(APACHE13)/src/include -I$(APACHE13)/src/os/unix -I$(APACHE13)/src/os/win32 @XML_INCLUDES@ X+INCLUDES += -I../apache13 -I../../classes -I../../types $(INCLTDL) -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/pcre -I../../lib/md5 -I$(APACHE13)/src/include -I$(APACHE13)/src/os/unix -I$(APACHE13)/src/os/win32 @XML_INCLUDES@ X X noinst_LIBRARIES = libmod_parser3core.a X libmod_parser3core_a_DEPENDENCIES = Makefile ../apache13/pa_httpd.h END-of-parser/files/patch-src-targets-apache13core-Makefile.in echo x - parser/files/patch-src-targets-apache13-p3runConfigure.in sed 's/^X//' >parser/files/patch-src-targets-apache13-p3runConfigure.in << 'END-of-parser/files/patch-src-targets-apache13-p3runConfigure.in' X--- src/targets/apache13/p3runConfigure.in.orig Thu Jul 24 15:31:24 2003 X+++ src/targets/apache13/p3runConfigure.in Thu Mar 18 09:32:23 2004 X@@ -3,4 +3,5 @@ X P3S=@P3S@ X X P3LIBS="$P3S/main/libmain.a $P3S/classes/libclasses.a $P3S/types/libtypes.a $P3S/main/libmain.a $P3S/lib/ltdl/libltdlc.a $P3S/classes/gd/libgd.a $P3S/lib/cord/libcord.a $P3S/lib/pcre/libpcre.a $P3S/lib/md5/libmd5.a $P3S/targets/apache13core/libmod_parser3core.a" X-LIBS="$LIBS $P3LIBS $P3LIBS @LIBADD_DL@ @GC_LIBS@ @XML_LIBS@ @MIME_LIBS@ @CPP_LIBS@" ./configure --add-module=$P3S/targets/apache13/mod_parser3.c $* X+LIBS="$LIBS $P3LIBS $P3LIBS @LIBADD_DL@ @GC_LIBS@ @XML_LIBS@ @MIME_LIBS@ @CPP_LIBS@ $P3S/lib/smtp/libsmtp.a" X+apxs -c mod_parser3.c $LIBS END-of-parser/files/patch-src-targets-apache13-p3runConfigure.in echo x - parser/pkg-plist sed 's/^X//' >parser/pkg-plist << 'END-of-parser/pkg-plist' Xbin/parser3 Xetc/parser/auto.p.dist Xetc/parser/parser3.charsets/koi8-r.cfg Xetc/parser/parser3.charsets/windows-1250.cfg Xetc/parser/parser3.charsets/windows-1251.cfg Xetc/parser/parser3.charsets/windows-1257.cfg Xlibexec/apache/mod_parser3.so X@dirrm etc/parser/parser3.charsets X@dirrm etc/parser END-of-parser/pkg-plist exit >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404010720.i317KSFN078610>