On Mon, Oct 14, 2024 at 11:18:21AM -0500, Aaron Poffenberger wrote:
> Hi Bryan,
> I apologize.
>
> No comments.
I appreciate you getting back to me. No objections from maintainer so
could someone ok and commit? Thank you.
Bryan
Index: www/kcaldav/Makefile
===================================================================
RCS file: /cvs/ports/www/kcaldav/Makefile,v
retrieving revision 1.22
diff -u -p -u -r1.22 Makefile
--- www/kcaldav/Makefile 13 Nov 2023 11:00:32 -0000 1.22
+++ www/kcaldav/Makefile 10 Jul 2024 23:51:45 -0000
@@ -1,6 +1,6 @@
COMMENT = a simple, safe, and minimal CalDAV server
-DISTNAME = kcaldav-0.2.4
+DISTNAME = kcaldav-0.2.5
CATEGORIES = www
HOMEPAGE = https://kristaps.bsd.lv/kcaldav/
Index: www/kcaldav/distinfo
===================================================================
RCS file: /cvs/ports/www/kcaldav/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- www/kcaldav/distinfo 13 Nov 2023 11:00:32 -0000 1.8
+++ www/kcaldav/distinfo 10 Jul 2024 23:51:45 -0000
@@ -1,2 +1,2 @@
-SHA256 (kcaldav-0.2.4.tgz) = zuP4UsBT5zk03Q7z04eZKVEjpcvsst0EygkRVNhjRN0=
-SIZE (kcaldav-0.2.4.tgz) = 300373
+SHA256 (kcaldav-0.2.5.tgz) = QlObQOAyIO6aOwZP/wIKCd6W4C/22dOun83mkjlPozw=
+SIZE (kcaldav-0.2.5.tgz) = 300632
Index: www/kcaldav/patches/patch-kcaldav_c
===================================================================
RCS file: www/kcaldav/patches/patch-kcaldav_c
diff -N www/kcaldav/patches/patch-kcaldav_c
--- www/kcaldav/patches/patch-kcaldav_c 13 Nov 2023 11:00:32 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,52 +0,0 @@
-Fix NULL-pointer deref on startup with bad config file.
-Ignore unveil ENOENT errors from optional directories in chroot.
-Index: kcaldav.c
---- kcaldav.c.orig
-+++ kcaldav.c
-@@ -19,6 +19,7 @@
-
- #include <assert.h>
- #include <ctype.h>
-+#include <errno.h>
- #include <limits.h>
- #if HAVE_MD5
- # include <md5.h>
-@@ -422,7 +423,7 @@ main(void)
- { kvalid_hash, valids[VALID_PASS] },
- { kvalid_path, valids[VALID_PATH] } };
- struct state *st = NULL;
-- char *np, *logfile = NULL;
-+ char *np;
- struct conf conf;
- const char *cfgfile = NULL;
- size_t i, sz;
-@@ -460,7 +461,7 @@ main(void)
- verbose = conf.verbose;
- if (conf.logfile != NULL && *conf.logfile != '\0')
- if (!kutil_openlog(conf.logfile))
-- kutil_err(NULL, NULL, "%s", logfile);
-+ kutil_err(NULL, NULL, "%s", conf.logfile);
-
- free(conf.logfile);
- memset(&conf, 0, sizeof(struct conf));
-@@ -494,13 +495,13 @@ main(void)
- * Directories required by sqlite3.
- */
- if (unveil(CALDIR, "rwxc") == -1)
-- kutil_err(NULL, NULL, "unveil");
-- if (unveil("/tmp", "rwxc") == -1)
-- kutil_err(NULL, NULL, "unveil");
-- if (unveil("/var/tmp", "rwxc") == -1)
-- kutil_err(NULL, NULL, "unveil");
-- if (unveil("/dev", "rwx") == -1)
-- kutil_err(NULL, NULL, "unveil");
-+ kutil_err(NULL, NULL, "unveil " CALDIR);
-+ if (unveil("/tmp", "rwxc") == -1 && errno != ENOENT)
-+ kutil_err(NULL, NULL, "unveil /tmp");
-+ if (unveil("/var/tmp", "rwxc") == -1 && errno != ENOENT)
-+ kutil_err(NULL, NULL, "unveil /var/tmp");
-+ if (unveil("/dev", "rwx") == -1 && errno != ENOENT)
-+ kutil_err(NULL, NULL, "unveil /dev");
- if (pledge("stdio rpath cpath wpath flock fattr", NULL) == -1)
- kutil_err(NULL, NULL, "pledge");
-
No comments:
Post a Comment