pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/zoneminder



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Jan  2 15:50:02 UTC 2026

Modified Files:
        pkgsrc/security/zoneminder: Makefile

Log Message:
security/zoneminder: Add comments about p5 DBD mysql woes

DBD-mysql no longer works with mariadb.  There's a zoneminder upstream
change to use DBD-MariaDB which needs addressing.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/security/zoneminder/Makefile

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

Modified files:

Index: pkgsrc/security/zoneminder/Makefile
diff -u pkgsrc/security/zoneminder/Makefile:1.90 pkgsrc/security/zoneminder/Makefile:1.91
--- pkgsrc/security/zoneminder/Makefile:1.90    Mon Dec 22 06:08:16 2025
+++ pkgsrc/security/zoneminder/Makefile Fri Jan  2 15:50:01 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2025/12/22 06:08:16 adam Exp $
+# $NetBSD: Makefile,v 1.91 2026/01/02 15:50:01 gdt Exp $
 
 VERSION=       1.36.35
 # Distfile is ZoneMinder but package and tarball contents are zoneminder.
@@ -165,7 +165,6 @@ CMAKE_CONFIGURE_ARGS+=      -DPERL_EXECUTABLE
 
 DEPENDS+=      p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
 DEPENDS+=      p5-Device-SerialPort-[0-9]*:../../comms/p5-Device-SerialPort
-#DEPENDS+=     p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
 DEPENDS+=      p5-Class-Std-[0-9]*:../../devel/p5-Class-Std
 DEPENDS+=      p5-Class-Std-Fast-[0-9]*:../../devel/p5-Class-Std-Fast
 DEPENDS+=      p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump
@@ -187,6 +186,18 @@ DEPENDS+=  p5-XML-Parser-[0-9]*:../../tex
 DEPENDS+=      p5-Number-Bytes-Human-[0-9]*:../../textproc/p5-Number-Bytes-Human
 DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
 
+# zoneminder needs a database.  While the longstanding approach is
+# mysql, it's become normal to use mariadb instead.  p5-DBD-mysql used
+# to talk to mariadb just fine, but now it doesn't.  zoneminder has
+# improved DB type selection to deal with this and use p5-DBD-mariadb
+# instead.
+#   https://github.com/ZoneMinder/zoneminder/pull/3914/commits
+# \todo Figure out if those commits are in the packaged version, now
+# and after updating to the latest micro.  If not pull them in as a patch.
+# \todo Consider options, vs just saying you need to use mariadb.
+#DEPENDS+=     p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
+#DEPENDS+=     p5-DBD-MariaDB-[0-9]*:../../databases/p5-DBD-MariaDB
+
 # A large subset of perl scripts set PATH explicitly and need to patched.
 # See "PATH FIXUPS" below.
 # \todo Teach pkglint that this variable is a list.



Home | Main Index | Thread Index | Old Index