- Update to 0.6.3
PR: 195337 Submitted by: C Hutchinson <portmaster@bsdforge.com> (maintainer)
This commit is contained in:
+1
-7
@@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ecgi
|
||||
PORTVERSION= 0.6.2
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 0.6.3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://bsdforge.com/projects/source/devel/ecgi/
|
||||
|
||||
@@ -18,8 +17,6 @@ HEADER_FILES= ecgi.h ecgitk.h include/memfile.h
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/src/memfile.c
|
||||
|
||||
@@ -31,10 +28,7 @@ do-install:
|
||||
.for file in ${HEADER_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include/ecgi
|
||||
.endfor
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
SHA256 (ecgi-0.6.2.tar.xz) = e8d8f00a9209c2ef87e100d35c15bc0e54c3f778e34c9551703f66c88d29e331
|
||||
SIZE (ecgi-0.6.2.tar.xz) = 163836
|
||||
SHA256 (ecgi-0.6.3.tar.xz) = 154f6b13f7023d4eccf87c93f081b794784d6e2c26ea9027c22922ced47c54fd
|
||||
SIZE (ecgi-0.6.3.tar.xz) = 162116
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- html2h/html2h.c.orig 2014-04-26 08:44:43.000000000 +0000
|
||||
+++ html2h/html2h.c
|
||||
--- html2h/html2h.c.orig 2014-11-24 13:09:14.000000000 -0800
|
||||
+++ html2h/html2h.c 2014-11-24 13:25:12.000000000 -0800
|
||||
@@ -6,15 +6,10 @@
|
||||
|
||||
void usage()
|
||||
@@ -8,22 +8,24 @@
|
||||
-html2h v0.1
|
||||
-usage:
|
||||
- html2h input.html [output.h]
|
||||
-
|
||||
-
|
||||
- if output is not set, input.h will be generated and overwritten!
|
||||
-
|
||||
- debug messages are written to stderr!
|
||||
-
|
||||
+ printf("html2h v0.1\nusage:\n \
|
||||
+ html2h input.html [output.h]\n\n \
|
||||
+ if output is not set, input.h will be generated and overwritten!\n\n \
|
||||
+ debug messages are written to stderr!\n\n \
|
||||
++ html2h input.html [output.h]\n\n \
|
||||
++ if output is not set, input.h will be generated and overwritten!\n\n \
|
||||
++ debug messages are written to stderr!\n\n \
|
||||
");
|
||||
|
||||
exit(0);
|
||||
@@ -415,4 +410,4 @@ void pexit(char *msg, const char *commen
|
||||
@@ -415,4 +410,6 @@
|
||||
{
|
||||
fprintf(stderr, "%s%s\n", msg, comment);
|
||||
exit(1);
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+
|
||||
+}
|
||||
+
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
--- src/ecgitk.c.orig 2014-04-26 08:53:43.000000000 +0000
|
||||
+++ src/ecgitk.c
|
||||
@@ -23,7 +23,7 @@ int ctkRedirect(const char *format, ...)
|
||||
--- src/ecgitk.c.orig 2014-11-24 13:35:51.000000000 -0800
|
||||
+++ src/ecgitk.c 2014-11-24 13:36:16.000000000 -0800
|
||||
@@ -23,7 +23,7 @@
|
||||
{
|
||||
char buf[4096];
|
||||
int used;
|
||||
- va_list *ap;
|
||||
+ va_list ap;
|
||||
|
||||
|
||||
va_start(ap, (void*)format);
|
||||
used=vsnprintf(buf, 4095, format, ap);
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
ecgi (easy CGI Libary) is an ANSI C library for the creation of
|
||||
CGI-based Web applications. It transparently supports the CGI methods
|
||||
GET and POST and also multipart/form-data file uploads. The user
|
||||
GET and POST, and also multipart/form-data file uploads. The user
|
||||
interface is designed to be as easy as possible and maintains full
|
||||
compatibility to cgic 0.5.
|
||||
|
||||
It also contains a library independent introduction to CGI programming
|
||||
with C, a .html to .h HTML template preprocessor, and fast,
|
||||
with C, an .html to .h HTML template preprocessor, and fast,
|
||||
block-allocating memory files.
|
||||
|
||||
WWW: http://bsdforge.com/projects/devel/ecgi/
|
||||
|
||||
Reference in New Issue
Block a user