pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hiawatha: success with building, installing, and running



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Fri Mar 22 15:12:35 2024 -0400
Changeset:	519be77d4f3a080989eb710a85ebe665e4c19918

Modified Files:
	hiawatha/Makefile
	hiawatha/PLIST
	hiawatha/TODO
Added Files:
	hiawatha/COMMIT_MSG

Log Message:
hiawatha: success with building, installing, and running

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=519be77d4f3a080989eb710a85ebe665e4c19918

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 hiawatha/COMMIT_MSG |  6 ++++++
 hiawatha/Makefile   | 16 ++++++++++++++--
 hiawatha/PLIST      | 16 +++++-----------
 hiawatha/TODO       |  1 -
 4 files changed, 25 insertions(+), 14 deletions(-)

diffs:
diff --git a/hiawatha/COMMIT_MSG b/hiawatha/COMMIT_MSG
new file mode 100644
index 0000000000..c428dfde34
--- /dev/null
+++ b/hiawatha/COMMIT_MSG
@@ -0,0 +1,6 @@
+www/hiawatha: update to 11.5
+
+Hiawatha is an advanced and secure webserver for Unix, written with
+being secure as its main goal. Hiawatha has many security features
+that no other web server has. Besides being very secure, it's also
+a very fast. It can be used for with CGI.
diff --git a/hiawatha/Makefile b/hiawatha/Makefile
index 807a164baa..f551eb8035 100644
--- a/hiawatha/Makefile
+++ b/hiawatha/Makefile
@@ -11,12 +11,24 @@ LICENSE=	gnu-gpl-v2
 
 USE_CMAKE=	yes
 
-#DEPENDS+=	php-[0-9]*:../../lang/php
+CMAKE_ARGS+=	-DUSE_SHARED_MBEDTLS_LIBRARY=OFF
+CMAKE_ARGS+=	-DUSE_STATIC_MBEDTLS_LIBRARY=ON
+CMAKE_ARGS+=	-DWEBROOT_DIR="${PREFIX}/var/hiawatha"
+CMAKE_ARGS+=	-DWORK_DIR="${PREFIX}/var/db/hiawatha"
+CMAKE_ARGS+=	-DCONFIG_DIR="${PREFIX}/etc/hiawatha"
+CMAKE_ARGS+=	-DLOG_DIR="${PREFIX}/var/log/hiawatha"
+CMAKE_ARGS+=	-DCMAKE_INSTALL_MANDIR="${PREFIX}/man"
+CMAKE_ARGS+=	-DENABLE_XSLT=ON
+CMAKE_ARGS+=	-DPID_DIR="${PREFIX}/var/run"
+
+LDFLAGS+=	"-L${WRKDIR}/hiawatha/mbedtls/library"
 
 REPLACE_PHP+=	extra/letsencrypt/lefh.in
 
+# TODO: having issues requiring PHP
+CHECK_INTERPRETER_SKIP+=	sbin/lefh
+
 .include "../../lang/php/replace.mk"
-.include "../../lang/php83/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
diff --git a/hiawatha/PLIST b/hiawatha/PLIST
index 443b152b8d..a50c943362 100644
--- a/hiawatha/PLIST
+++ b/hiawatha/PLIST
@@ -110,15 +110,9 @@ lib/hiawatha/letsencrypt/letsencrypt.php
 lib/hiawatha/letsencrypt/logfile.php
 lib/hiawatha/letsencrypt/openssl.conf
 lib/hiawatha/letsencrypt/rsa.php
-lib/hiawatha/libmbedcrypto.so
-lib/hiawatha/libmbedcrypto.so.15
-lib/hiawatha/libmbedcrypto.so.3.5.0
-lib/hiawatha/libmbedtls.so
-lib/hiawatha/libmbedtls.so.20
-lib/hiawatha/libmbedtls.so.3.5.0
-lib/hiawatha/libmbedx509.so
-lib/hiawatha/libmbedx509.so.3.5.0
-lib/hiawatha/libmbedx509.so.6
+lib/hiawatha/libmbedcrypto.a
+lib/hiawatha/libmbedtls.a
+lib/hiawatha/libmbedx509.a
 man/man1/cgi-wrapper.1
 man/man1/hiawatha.1
 man/man1/lefh.1
@@ -128,7 +122,7 @@ sbin/cgi-wrapper
 sbin/hiawatha
 sbin/lefh
 sbin/wigwam
-var/www/hiawatha/index.html
+var/hiawatha/index.html
 @pkgdir var/run
 @pkgdir var/log/hiawatha
-@pkgdir var/lib/hiawatha
+@pkgdir var/db/hiawatha
diff --git a/hiawatha/TODO b/hiawatha/TODO
index 64b112871c..6b9a1900c4 100644
--- a/hiawatha/TODO
+++ b/hiawatha/TODO
@@ -1,3 +1,2 @@
-Fixed issues with PHP.
 COMMIT_MSG
 test


Home | Main Index | Thread Index | Old Index