Initial import of clearsilver 0.9.14

Clearsilver is a fast, powerful, and language-neutral HTML template
system. In both static content sites and dynamic HTML applications,
it provides a separation between presentation code and application
logic which makes working with your project easier.

from markus@
This commit is contained in:
sturm 2005-05-26 01:33:38 +00:00
parent 8d381c7e46
commit fa55d66dfd
8 changed files with 262 additions and 0 deletions

34
www/clearsilver/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
SHARED_ONLY= Yes
COMMENT= "fast, powerful, and language-neutral HTML template system"
DISTNAME= clearsilver-0.9.14
CATEGORIES= www net
HOMEPAGE= http://www.clearsilver.net/
MAINTAINER= Markus Friedl <markus@openbsd.org>
# Apache 1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c z
MASTER_SITES= ${HOMEPAGE}/downloads/
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-csharp \
--disable-java \
--disable-python \
--disable-ruby
do-regress:
@cd ${WRKSRC}/perl && ${MAKE_PROGRAM} test
.include <bsd.port.mk>

4
www/clearsilver/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (clearsilver-0.9.14.tar.gz) = 2161936b7828e8cbdc4f45812d15e3f6
RMD160 (clearsilver-0.9.14.tar.gz) = 304cceb38f6972f0ece2f4133eb4a32c9c7fbde6
SHA1 (clearsilver-0.9.14.tar.gz) = 4be33eb3c6d6f3e128bcf49173df8a31daa15dab
SIZE (clearsilver-0.9.14.tar.gz) = 366041

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
man page regeneration is useless and requires python
--- Makefile.orig Wed May 25 19:16:57 2005
+++ Makefile Wed May 25 19:17:16 2005
@@ -35,7 +35,7 @@ cs: output_dir
fi; \
done
-install: all man
+install:
./mkinstalldirs $(DESTDIR)$(cs_includedir)
./mkinstalldirs $(DESTDIR)$(bindir)
./mkinstalldirs $(DESTDIR)$(libdir)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-perl_Makefile_PL,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
--- perl/Makefile.PL.orig Wed May 25 19:09:36 2005
+++ perl/Makefile.PL Wed May 25 19:09:44 2005
@@ -8,7 +8,7 @@ WriteMakefile(
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'ClearSilver.pm', # retrieve abstract from module
AUTHOR => 'A. U. Thor <a.u.thor@a.galaxy.far.far.away>') : ()),
- 'LIBS' => ['-L../libs -lneo_cgi -lneo_cs -lneo_utl'],
+ 'LIBS' => ['-L../libs -lneo_cgi -lneo_cs -lneo_utl -lz'],
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
# Insert -I. if you add *.h files later:
'INC' => '-I../',

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-rules_mk_in,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
--- rules.mk.in.orig Tue Nov 16 16:05:10 2004
+++ rules.mk.in Wed May 25 19:03:31 2005
@@ -78,15 +78,15 @@ CPPFLAGS = -I$(NEOTONIC_ROOT) @CPPFLAG
OUTPUT_OPTION = -o $@
LD = $(CC) -o
LDFLAGS = -L$(LIB_DIR) @LDFLAGS@
-LDSHARED = $(CC) -shared -fPic
-CPPLDSHARED = $(CPP) -shared -fPic
+LDSHARED = $(CC) -shared -fPIC
+CPPLDSHARED = $(CPP) -shared -fPIC
AR = @AR@ cr
RANLIB = @RANLIB@
DEP_LIBS = $(DLIBS:-l%=$(LIB_DIR)lib%.a)
DBI_LIBS = -ldbi -ldl -lz
LIBS = @LIBS@
LS = /bin/ls
-XARGS = xargs -i%
+XARGS = xargs -J%
BUILD_WRAPPERS = @BUILD_WRAPPERS@
EXTRA_UTL_OBJS = @EXTRA_UTL_OBJS@
EXTRA_UTL_SRC = @EXTRA_UTL_SRC@

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-util_filter_c,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
--- util/filter.c.orig Wed May 25 18:56:50 2005
+++ util/filter.c Wed May 25 18:57:17 2005
@@ -124,7 +124,7 @@ NEOERR *filter_create_fd (char *cmd, int
close (pe[1]);
}
- execl ("/bin/sh", "sh", "-c", cmd, NULL);
+ execl ("/bin/sh", "sh", "-c", cmd, (void *)NULL);
_exit (127);
}
else if (rpid == -1)

View File

@ -0,0 +1,4 @@
Clearsilver is a fast, powerful, and language-neutral HTML template
system. In both static content sites and dynamic HTML applications,
it provides a separation between presentation code and application
logic which makes working with your project easier.

159
www/clearsilver/pkg/PLIST Normal file
View File

@ -0,0 +1,159 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/26 01:33:38 sturm Exp $
bin/cstest
bin/static.cgi
include/ClearSilver/
include/ClearSilver/ClearSilver.h
include/ClearSilver/cgi/
include/ClearSilver/cgi/cgi.h
include/ClearSilver/cgi/cgiwrap.h
include/ClearSilver/cgi/date.h
include/ClearSilver/cgi/html.h
include/ClearSilver/cs/
include/ClearSilver/cs/cs.h
include/ClearSilver/cs_config.h
include/ClearSilver/util/
include/ClearSilver/util/dict.h
include/ClearSilver/util/filter.h
include/ClearSilver/util/neo_date.h
include/ClearSilver/util/neo_err.h
include/ClearSilver/util/neo_files.h
include/ClearSilver/util/neo_hash.h
include/ClearSilver/util/neo_hdf.h
include/ClearSilver/util/neo_misc.h
include/ClearSilver/util/neo_net.h
include/ClearSilver/util/neo_rand.h
include/ClearSilver/util/neo_server.h
include/ClearSilver/util/neo_str.h
include/ClearSilver/util/rcfs.h
include/ClearSilver/util/skiplist.h
include/ClearSilver/util/ulist.h
include/ClearSilver/util/ulocks.h
include/ClearSilver/util/wildmat.h
lib/libneo_cgi.a
lib/libneo_cs.a
lib/libneo_utl.a
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/ClearSilver.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/ClearSilver/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/ClearSilver/ClearSilver.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/ClearSilver/ClearSilver.so
libexec/mod_ecs.so
@man man/man3/cBroadcast.3
@man man/man3/cCreate.3
@man man/man3/cDestroy.3
@man man/man3/cSignal.3
@man man/man3/cWait.3
@man man/man3/cgi_cookie_authority.3
@man man/man3/cgi_cookie_clear.3
@man man/man3/cgi_cookie_set.3
@man man/man3/cgi_cs_init.3
@man man/man3/cgi_debug_init.3
@man man/man3/cgi_destroy.3
@man man/man3/cgi_display.3
@man man/man3/cgi_error.3
@man man/man3/cgi_filehandle.3
@man man/man3/cgi_init.3
@man man/man3/cgi_neo_error.3
@man man/man3/cgi_output.3
@man man/man3/cgi_parse.3
@man man/man3/cgi_redirect.3
@man man/man3/cgi_redirect_uri.3
@man man/man3/cgi_register_parse_cb.3
@man man/man3/cgi_url_escape.3
@man man/man3/cgi_url_escape_more.3
@man man/man3/cgi_url_unescape.3
@man man/man3/cgi_vredirect.3
@man man/man3/cgiwrap_getenv.3
@man man/man3/cgiwrap_init_emu.3
@man man/man3/cgiwrap_init_std.3
@man man/man3/cgiwrap_iterenv.3
@man man/man3/cgiwrap_putenv.3
@man man/man3/cgiwrap_read.3
@man man/man3/cgiwrap_write.3
@man man/man3/cgiwrap_writef.3
@man man/man3/cgiwrap_writevf.3
@man man/man3/cs_destroy.3
@man man/man3/cs_dump.3
@man man/man3/cs_init.3
@man man/man3/cs_parse_file.3
@man man/man3/cs_parse_string.3
@man man/man3/cs_register_strfunc.3
@man man/man3/cs_render.3
@man man/man3/dictCleanup.3
@man man/man3/dictCreate.3
@man man/man3/dictDestroy.3
@man man/man3/dictModifyValue.3
@man man/man3/dictNext.3
@man man/man3/dictReleaseLock.3
@man man/man3/dictRemove.3
@man man/man3/dictSearch.3
@man man/man3/dictSetValue.3
@man man/man3/fCreate.3
@man man/man3/fDestroy.3
@man man/man3/fFind.3
@man man/man3/fLock.3
@man man/man3/fUnlock.3
@man man/man3/filter_create_fd.3
@man man/man3/filter_create_fp.3
@man man/man3/filter_wait.3
@man man/man3/hdf_copy.3
@man man/man3/hdf_destroy.3
@man man/man3/hdf_dump.3
@man man/man3/hdf_dump_format.3
@man man/man3/hdf_dump_str.3
@man man/man3/hdf_get_attr.3
@man man/man3/hdf_get_child.3
@man man/man3/hdf_get_copy.3
@man man/man3/hdf_get_int_value.3
@man man/man3/hdf_get_node.3
@man man/man3/hdf_get_obj.3
@man man/man3/hdf_get_value.3
@man man/man3/hdf_get_valuef.3
@man man/man3/hdf_get_valuevf.3
@man man/man3/hdf_init.3
@man man/man3/hdf_obj_attr.3
@man man/man3/hdf_obj_child.3
@man man/man3/hdf_obj_name.3
@man man/man3/hdf_obj_next.3
@man man/man3/hdf_obj_top.3
@man man/man3/hdf_obj_value.3
@man man/man3/hdf_read_string.3
@man man/man3/hdf_read_string_ignore.3
@man man/man3/hdf_remove_tree.3
@man man/man3/hdf_search_path.3
@man man/man3/hdf_set_attr.3
@man man/man3/hdf_set_buf.3
@man man/man3/hdf_set_copy.3
@man man/man3/hdf_set_int_value.3
@man man/man3/hdf_set_symlink.3
@man man/man3/hdf_set_value.3
@man man/man3/hdf_set_valuef.3
@man man/man3/hdf_sort_obj.3
@man man/man3/hdf_write_file.3
@man man/man3/hdf_write_file_atomic.3
@man man/man3/hdf_write_string.3
@man man/man3/mCreate.3
@man man/man3/mDestroy.3
@man man/man3/mLock.3
@man man/man3/mUnlock.3
@man man/man3/nerr_error_string.3
@man man/man3/nerr_error_traceback.3
@man man/man3/nerr_handle.3
@man man/man3/nerr_ignore.3
@man man/man3/nerr_init.3
@man man/man3/nerr_log_error.3
@man man/man3/nerr_match.3
@man man/man3/nerr_pass.3
@man man/man3/nerr_pass_ctx.3
@man man/man3/nerr_raise.3
@man man/man3/nerr_register.3
@man man/man3/skipDelete.3
@man man/man3/skipFreeList.3
@man man/man3/skipInsert.3
@man man/man3/skipNewList.3
@man man/man3/skipNext.3
@man man/man3/skipRelease.3
@man man/man3/skipSearch.3
@man man/man3/wdb_keys.3
@man man/man3p/ClearSilver.3p