Date: Mon, 27 Apr 2026 00:03:04 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Chris Hutchinson <portmaster@BSDforge.com> Subject: git: 44eba8cfbc2d - main - devel/ecgi: Update to 0.6.4 and set new upstream repository Message-ID: <69eea7b8.1c95e.3bb4c1e2@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=44eba8cfbc2d9e5f7178e832724fcf053db48f7c commit 44eba8cfbc2d9e5f7178e832724fcf053db48f7c Author: Chris Hutchinson <portmaster@BSDforge.com> AuthorDate: 2026-04-24 08:58:13 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-04-27 00:01:04 +0000 devel/ecgi: Update to 0.6.4 and set new upstream repository Changelog: https://github.com/Sven-Dawitz/ecgi/releases/tag/v0.6.4 Reported by: Sven Dawitz <sven.dawitz@gmail.com> (upstream) PR: 294730 Event: Wiesbaden Hackathon 202604 --- devel/ecgi/Makefile | 12 +++--- devel/ecgi/distinfo | 5 ++- devel/ecgi/files/patch-Makefile | 75 ---------------------------------- devel/ecgi/files/patch-html2h_Makefile | 17 -------- devel/ecgi/files/patch-html2h_html2h.c | 31 -------------- devel/ecgi/files/patch-src_ecgitk.c | 11 ----- 6 files changed, 10 insertions(+), 141 deletions(-) diff --git a/devel/ecgi/Makefile b/devel/ecgi/Makefile index 2f4a51115ced..dccd1e952003 100644 --- a/devel/ecgi/Makefile +++ b/devel/ecgi/Makefile @@ -1,15 +1,17 @@ PORTNAME= ecgi -PORTVERSION= 0.6.3 +PORTVERSION= 0.6.4 +DISTVERSIONPREFIX= v CATEGORIES= devel -MASTER_SITES= https://BSDforge.com/projects/source/devel/ecgi/ MAINTAINER= portmaster@bsdforge.com COMMENT= Library for the creation of CGI-based Web applications -WWW= https://BSDforge.com/projects/devel/ecgi/ +WWW= https://github.com/Sven-Dawitz/${PORTNAME} LICENSE= BSD3CLAUSE USES= gmake tar:xz +USE_GITHUB= yes +GH_ACCOUNT= Sven-Dawitz PORTDOCS= * HEADER_FILES= ecgi.h ecgitk.h include/memfile.h @@ -26,7 +28,7 @@ do-install: .for file in ${HEADER_FILES} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include/ecgi .endfor - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/TUTORIAL.md ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/devel/ecgi/distinfo b/devel/ecgi/distinfo index 823ebd9b2c92..2066531bfc75 100644 --- a/devel/ecgi/distinfo +++ b/devel/ecgi/distinfo @@ -1,2 +1,3 @@ -SHA256 (ecgi-0.6.3.tar.xz) = 154f6b13f7023d4eccf87c93f081b794784d6e2c26ea9027c22922ced47c54fd -SIZE (ecgi-0.6.3.tar.xz) = 162116 +TIMESTAMP = 1777016164 +SHA256 (Sven-Dawitz-ecgi-v0.6.4_GH0.tar.gz) = e951c761782e1f813beeeecfa4493e494ad1349cbaf8138ca9b23de109168f94 +SIZE (Sven-Dawitz-ecgi-v0.6.4_GH0.tar.gz) = 43700 diff --git a/devel/ecgi/files/patch-Makefile b/devel/ecgi/files/patch-Makefile deleted file mode 100644 index 8966f66e0e89..000000000000 --- a/devel/ecgi/files/patch-Makefile +++ /dev/null @@ -1,75 +0,0 @@ ---- Makefile.orig 2014-04-26 01:07:05.381866626 -0700 -+++ Makefile 2014-04-26 01:19:01.457333201 -0700 -@@ -1,14 +1,14 @@ - SHAREDOPT = -shared --LIBDIR = /usr/lib --INCDIR = /usr/include -+LIBDIR = $(PREFIX)/usr/lib -+INCDIR = $(PREFIX)/include - AR = ar --CC = gcc -+CC?= gcc - INCS = -Iinclude/ -I. --FLAGS = -Wall -+CFLAGS += -Wall - - all: obj/ecgi.o obj/ecgitk.o libecgi.a -- make -C html2h/ -- make libecgi.so -+ $(MAKE) -C html2h/ -+ $(MAKE) libecgi.so - - shared: libecgi.so - cp libecgi.so /usr/lib -@@ -18,33 +18,42 @@ - ar rs libecgi.a obj/ecgi.o obj/memfile.o obj/ecgitk.o - printf "\n\n***congratulations - compilation worked***\n*** run 'make install' now ***\n\n" - --libecgi.so: obj/ecgi.o obj/ecgitk.o -- gcc $(SHAREDOPT) obj/ecgi.o obj/memfile.o obj/ecgitk.o -o libecgi.so -+libecgi.so: obj/ecgi.So obj/ecgitk.So obj/memfile.So -+ $(CC) $(SHAREDOPT) obj/ecgi.So obj/memfile.So obj/ecgitk.So -o libecgi.so - - install: - cp libecgi.a $(LIBDIR) - cp ecgi.h $(INCDIR) - cp include/memfile.h $(INCDIR) - cp ecgitk.h $(INCDIR) -- make -C html2h/ install -+ $(MAKE) -C html2h/ install - cp libecgi.so $(LIBDIR) - - tests: all -- $(CC) tests/test.c -o tests/test.cgi $(INCS) $(FLAGS) libecgi.a -- $(CC) tests/testload.c -o tests/testload libecgi.a $(INCS) $(FLAGS) -+ $(CC) tests/test.c -o tests/test.cgi $(INCS) $(CFLAGS) libecgi.a -+ $(CC) tests/testload.c -o tests/testload libecgi.a $(INCS) $(CFLAGS) - - obj/ecgi.o: src/ecgi.c ecgi.h obj/memfile.o -- $(CC) -c src/ecgi.c $(INCS) $(FLAGS) -o obj/ecgi.o -+ $(CC) -c src/ecgi.c $(INCS) $(CFLAGS) -o obj/ecgi.o - - obj/memfile.o: src/memfile.c include/memfile.h -- $(CC) -o obj/memfile.o -c src/memfile.c $(INCS) $(FLAGS) -+ $(CC) -o obj/memfile.o -c src/memfile.c $(INCS) $(CFLAGS) - - obj/ecgitk.o: src/ecgitk.c ecgitk.h -- $(CC) -c src/ecgitk.c $(INCS) $(FLAGS) -o obj/ecgitk.o -+ $(CC) -c src/ecgitk.c $(INCS) $(CFLAGS) -o obj/ecgitk.o -+ -+obj/ecgi.So: src/ecgi.c ecgi.h obj/memfile.o -+ $(CC) -c src/ecgi.c $(INCS) $(CFLAGS) -fPIC -o obj/ecgi.So -+ -+obj/memfile.So: src/memfile.c include/memfile.h -+ $(CC) -o obj/memfile.So -c src/memfile.c -fPIC $(INCS) $(CFLAGS) -+ -+obj/ecgitk.So: src/ecgitk.c ecgitk.h -+ $(CC) -c src/ecgitk.c $(INCS) $(CFLAGS) -fPIC -o obj/ecgitk.So - - clean: - rm -f obj/* *.a *.so -f tests/test.cgi tests/testload -- make -C html2h/ clean -+ $(MAKE) -C html2h/ clean - - zip: clean - rm -f ../ecgi-0.6.2.zip diff --git a/devel/ecgi/files/patch-html2h_Makefile b/devel/ecgi/files/patch-html2h_Makefile deleted file mode 100644 index 9633da73e99d..000000000000 --- a/devel/ecgi/files/patch-html2h_Makefile +++ /dev/null @@ -1,17 +0,0 @@ ---- html2h/Makefile.orig 2014-04-26 01:31:51.028376169 -0700 -+++ html2h/Makefile 2014-04-26 01:38:06.265403221 -0700 -@@ -1,11 +1,11 @@ --CC = gcc -+CC?= gcc - INCS = -I../include/ -I. --FLAGS = -Wall -+CFLAGS += -Wall - - all: html2h - - html2h: html2h.c html2h.h -- $(CC) html2h.c -o html2h $(INCS) $(FLAGS) ../obj/memfile.o -+ $(CC) html2h.c -o html2h $(INCS) $(CFLAGS) ../obj/memfile.o - - install: all - cp html2h /usr/bin diff --git a/devel/ecgi/files/patch-html2h_html2h.c b/devel/ecgi/files/patch-html2h_html2h.c deleted file mode 100644 index 77ae70df2c42..000000000000 --- a/devel/ecgi/files/patch-html2h_html2h.c +++ /dev/null @@ -1,31 +0,0 @@ ---- 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() - { -- printf(" --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 \ - "); - - exit(0); -@@ -415,4 +410,6 @@ - { - fprintf(stderr, "%s%s\n", msg, comment); - exit(1); --} -\ No newline at end of file -+ -+} -+ diff --git a/devel/ecgi/files/patch-src_ecgitk.c b/devel/ecgi/files/patch-src_ecgitk.c deleted file mode 100644 index 26ce96bb3332..000000000000 --- a/devel/ecgi/files/patch-src_ecgitk.c +++ /dev/null @@ -1,11 +0,0 @@ ---- 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);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eea7b8.1c95e.3bb4c1e2>
