import tntnet 1.6.0
Tntnet is a web application server for web applications written in C++. You can write a Web-page with HTML and with special tags you embed C++-code into the page for active contents. These pages, called components are compiled into C++-classes with the ecpp-compilier "ecppc", then compiled into objectcode and linked into a shared library. This shared library is loaded by the webserver "tntnet" on request and executed. ok martynas@
This commit is contained in:
parent
d2473251c5
commit
0d6e96c74a
51
www/tntnet/Makefile
Normal file
51
www/tntnet/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/26 21:03:17 jasper Exp $
|
||||
|
||||
COMMENT= modular webapplication server for C++
|
||||
|
||||
DISTNAME= tntnet-1.6.0
|
||||
CATEGORIES= www devel
|
||||
|
||||
HOMEPAGE= http://www.tntnet.org/
|
||||
|
||||
SO_VERSION= 0.0
|
||||
.for _lib in alldemos calc calcajax calci18n calcmvc chat comp config controls \
|
||||
cookie extlib hello savepoint session sprintf strings tntnet tntnet_cgi \
|
||||
tntnet_sdk upload
|
||||
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
||||
.endfor
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c crypto m pthread ssl stdc++ z
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}download/
|
||||
|
||||
MODULES= converters/libiconv
|
||||
|
||||
MODULES+= gcc3
|
||||
MODGCC3_ARCHES= sparc
|
||||
MODGCC3_LANGS= c++
|
||||
|
||||
LIB_DEPENDS= cxxtools::devel/cxxtools
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --with-ssl=openssl
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tntnet/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${PREFIX}/share/doc/tntnet/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/tntnet/
|
||||
${INSTALL_DATA} ${WRKSRC}/ecpp.vim ${PREFIX}/share/tntnet/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tntnet/
|
||||
.for e in mime.conf tntnet.conf tntnet.properties
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/tntnet/$e ${PREFIX}/share/examples/tntnet/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/tntnet/distinfo
Normal file
5
www/tntnet/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (tntnet-1.6.0.tar.gz) = erYxRZ53de9s9HN2FEBsuw==
|
||||
RMD160 (tntnet-1.6.0.tar.gz) = fgYH2gzMEoUUclNJMoeprfr+Oxs=
|
||||
SHA1 (tntnet-1.6.0.tar.gz) = pXGdelGBBewiRnC8TyhGrXuy4UQ=
|
||||
SHA256 (tntnet-1.6.0.tar.gz) = HNRp/VpP9cFL/4URUcjvBb8+l4552SMwf9ACPXCQPWQ=
|
||||
SIZE (tntnet-1.6.0.tar.gz) = 1898635
|
72
www/tntnet/patches/patch-etc-Makefile_in
Normal file
72
www/tntnet/patches/patch-etc-Makefile_in
Normal file
@ -0,0 +1,72 @@
|
||||
$OpenBSD: patch-etc-Makefile_in,v 1.1.1.1 2007/06/26 21:03:17 jasper Exp $
|
||||
--- etc/Makefile.in.orig Mon May 28 17:39:29 2007
|
||||
+++ etc/Makefile.in Tue May 29 16:05:49 2007
|
||||
@@ -192,12 +192,10 @@ target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
nobase_dist_noinst_DATA = \
|
||||
- tntnet/tntnet.conf.in \
|
||||
- init.d/tntnet.in
|
||||
+ tntnet/tntnet.conf.in
|
||||
|
||||
nobase_sysconf_DATA = \
|
||||
- tntnet/tntnet.conf \
|
||||
- init.d/tntnet
|
||||
+ tntnet/tntnet.conf
|
||||
|
||||
nobase_dist_sysconf_DATA = \
|
||||
tntnet/mime.conf
|
||||
@@ -249,14 +247,6 @@ distclean-libtool:
|
||||
uninstall-info-am:
|
||||
install-nobase_dist_sysconfDATA: $(nobase_dist_sysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
|
||||
- @$(am__vpath_adj_setup) \
|
||||
- list='$(nobase_dist_sysconf_DATA)'; for p in $$list; do \
|
||||
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
- $(am__vpath_adj) \
|
||||
- echo " $(nobase_dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
|
||||
- $(nobase_dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
|
||||
- done
|
||||
|
||||
uninstall-nobase_dist_sysconfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@@ -268,14 +258,6 @@ uninstall-nobase_dist_sysconfDATA:
|
||||
done
|
||||
install-nobase_nodist_sysconfDATA: $(nobase_nodist_sysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
|
||||
- @$(am__vpath_adj_setup) \
|
||||
- list='$(nobase_nodist_sysconf_DATA)'; for p in $$list; do \
|
||||
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
- $(am__vpath_adj) \
|
||||
- echo " $(nobase_nodist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
|
||||
- $(nobase_nodist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
|
||||
- done
|
||||
|
||||
uninstall-nobase_nodist_sysconfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@@ -287,14 +269,6 @@ uninstall-nobase_nodist_sysconfDATA:
|
||||
done
|
||||
install-nobase_sysconfDATA: $(nobase_sysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
|
||||
- @$(am__vpath_adj_setup) \
|
||||
- list='$(nobase_sysconf_DATA)'; for p in $$list; do \
|
||||
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
- $(am__vpath_adj) \
|
||||
- echo " $(nobase_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
|
||||
- $(nobase_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
|
||||
- done
|
||||
|
||||
uninstall-nobase_sysconfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@@ -312,7 +286,7 @@ CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
- $(mkdir_p) $(distdir)/init.d $(distdir)/tntnet
|
||||
+ $(mkdir_p) $(distdir)/tntnet
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
8
www/tntnet/pkg/DESCR
Normal file
8
www/tntnet/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Tntnet is a web application server for web applications written in C++.
|
||||
|
||||
You can write a Web-page with HTML and with special tags you embed
|
||||
C++-code into the page for active contents. These pages, called
|
||||
components are compiled into C++-classes with the ecpp-compilier
|
||||
"ecppc", then compiled into objectcode and linked into a shared library.
|
||||
This shared library is loaded by the webserver "tntnet" on request and
|
||||
executed.
|
4
www/tntnet/pkg/PFRAG.shared
Normal file
4
www/tntnet/pkg/PFRAG.shared
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/06/26 21:03:17 jasper Exp $
|
||||
@lib lib/libtntnet.so.${LIBtntnet_VERSION}
|
||||
@lib lib/libtntnet_cgi.so.${LIBtntnet_cgi_VERSION}
|
||||
@lib lib/libtntnet_sdk.so.${LIBtntnet_sdk_VERSION}
|
133
www/tntnet/pkg/PLIST
Normal file
133
www/tntnet/pkg/PLIST
Normal file
@ -0,0 +1,133 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/26 21:03:17 jasper Exp $
|
||||
%%SHARED%%
|
||||
bin/ecppc
|
||||
bin/ecppl
|
||||
bin/ecppll
|
||||
bin/tntnet
|
||||
bin/tntnet-config
|
||||
include/tnt/
|
||||
include/tnt/compident.h
|
||||
include/tnt/comploader.h
|
||||
include/tnt/component.h
|
||||
include/tnt/componentfactory.h
|
||||
include/tnt/contentdisposition.h
|
||||
include/tnt/contenttype.h
|
||||
include/tnt/convert.h
|
||||
include/tnt/cookie.h
|
||||
include/tnt/data.h
|
||||
include/tnt/deflatestream.h
|
||||
include/tnt/ecpp.h
|
||||
include/tnt/encoding.h
|
||||
include/tnt/htmlescostream.h
|
||||
include/tnt/http.h
|
||||
include/tnt/httperror.h
|
||||
include/tnt/httpheader.h
|
||||
include/tnt/httpmessage.h
|
||||
include/tnt/httpparser.h
|
||||
include/tnt/httpreply.h
|
||||
include/tnt/httprequest.h
|
||||
include/tnt/inflatestream.h
|
||||
include/tnt/langlib.h
|
||||
include/tnt/messageattribute.h
|
||||
include/tnt/messageheader.h
|
||||
include/tnt/messageheaderparser.h
|
||||
include/tnt/mimedb.h
|
||||
include/tnt/multipart.h
|
||||
include/tnt/object.h
|
||||
include/tnt/objectptr.h
|
||||
include/tnt/objecttemplate.h
|
||||
include/tnt/parser.h
|
||||
include/tnt/pointer.h
|
||||
include/tnt/savepoint.h
|
||||
include/tnt/scope.h
|
||||
include/tnt/scopemanager.h
|
||||
include/tnt/sessionscope.h
|
||||
include/tnt/sodata.h
|
||||
include/tnt/stringlessignorecase.h
|
||||
include/tnt/tntconfig.h
|
||||
include/tnt/unzipfile.h
|
||||
include/tnt/urlmapper.h
|
||||
include/tnt/zdata.h
|
||||
lib/libtntnet.a
|
||||
lib/libtntnet.la
|
||||
lib/libtntnet_cgi.a
|
||||
lib/libtntnet_cgi.la
|
||||
lib/libtntnet_sdk.a
|
||||
lib/libtntnet_sdk.la
|
||||
lib/tntnet/
|
||||
lib/tntnet/alldemos.a
|
||||
lib/tntnet/alldemos.la
|
||||
lib/tntnet/alldemos.so.0.0
|
||||
lib/tntnet/calc.a
|
||||
lib/tntnet/calc.la
|
||||
lib/tntnet/calc.so.0.0
|
||||
lib/tntnet/calcajax.a
|
||||
lib/tntnet/calcajax.la
|
||||
lib/tntnet/calcajax.so.0.0
|
||||
lib/tntnet/calci18n.a
|
||||
lib/tntnet/calci18n.la
|
||||
lib/tntnet/calci18n.so.0.0
|
||||
lib/tntnet/calcmvc.a
|
||||
lib/tntnet/calcmvc.la
|
||||
lib/tntnet/calcmvc.so.0.0
|
||||
lib/tntnet/chat.a
|
||||
lib/tntnet/chat.la
|
||||
lib/tntnet/chat.so.0.0
|
||||
lib/tntnet/comp.a
|
||||
lib/tntnet/comp.la
|
||||
lib/tntnet/comp.so.0.0
|
||||
lib/tntnet/config.a
|
||||
lib/tntnet/config.la
|
||||
lib/tntnet/config.so.0.0
|
||||
lib/tntnet/controls.a
|
||||
lib/tntnet/controls.la
|
||||
lib/tntnet/controls.so.0.0
|
||||
lib/tntnet/cookie.a
|
||||
lib/tntnet/cookie.la
|
||||
lib/tntnet/cookie.so.0.0
|
||||
lib/tntnet/extlib.a
|
||||
lib/tntnet/extlib.la
|
||||
lib/tntnet/extlib.so.0.0
|
||||
lib/tntnet/hello.a
|
||||
lib/tntnet/hello.la
|
||||
lib/tntnet/hello.so.0.0
|
||||
lib/tntnet/savepoint.a
|
||||
lib/tntnet/savepoint.la
|
||||
lib/tntnet/savepoint.so.0.0
|
||||
lib/tntnet/session.a
|
||||
lib/tntnet/session.la
|
||||
lib/tntnet/session.so.0.0
|
||||
lib/tntnet/sprintf.a
|
||||
lib/tntnet/sprintf.la
|
||||
lib/tntnet/sprintf.so.0.0
|
||||
lib/tntnet/strings.a
|
||||
lib/tntnet/strings.la
|
||||
lib/tntnet/strings.so.0.0
|
||||
lib/tntnet/tntnet.a
|
||||
lib/tntnet/tntnet.la
|
||||
lib/tntnet/tntnet.so.6.1
|
||||
lib/tntnet/upload.a
|
||||
lib/tntnet/upload.la
|
||||
lib/tntnet/upload.so.0.0
|
||||
@man man/man1/ecppc.1
|
||||
@man man/man1/ecppl.1
|
||||
@man man/man1/ecppll.1
|
||||
@man man/man1/tntnet-config.1
|
||||
@man man/man7/ecpp.7
|
||||
@man man/man7/tntnet.conf.7
|
||||
@man man/man7/tntnet.properties.7
|
||||
@man man/man8/tntnet.8
|
||||
share/doc/tntnet/
|
||||
share/doc/tntnet/quick-start-guide.pdf
|
||||
share/doc/tntnet/tntnet-configuration.pdf
|
||||
share/doc/tntnet/tntnet.pdf
|
||||
share/examples/tntnet/
|
||||
@sample ${SYSCONFDIR}/tntnet/
|
||||
share/examples/tntnet/mime.conf
|
||||
@sample ${SYSCONFDIR}/tntnet/mime.conf
|
||||
share/examples/tntnet/tntnet.conf
|
||||
@sample ${SYSCONFDIR}/tntnet/tntnet.conf
|
||||
share/examples/tntnet/tntnet.properties
|
||||
@sample ${SYSCONFDIR}/tntnet/tntnet.properties
|
||||
share/tntnet/
|
||||
share/tntnet/ecpp.vim
|
Loading…
Reference in New Issue
Block a user