pkgsrc-WIP-changes archive

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

dma: Ask for c99 and add TODO items from review



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sun Nov 22 18:46:23 2026 -0500
Changeset:	6ccc2982a694ea603a2f68540d8106cfa2319060

Modified Files:
	dma/Makefile
Added Files:
	dma/TODO

Log Message:
dma: Ask for c99 and add TODO items from review

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

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

diffstat:
 dma/Makefile |  4 +++-
 dma/TODO     | 23 +++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diffs:
diff --git a/dma/Makefile b/dma/Makefile
index b6a2608200..b6f4db14ad 100644
--- a/dma/Makefile
+++ b/dma/Makefile
@@ -22,7 +22,9 @@ LIBS.Darwin+=	-lresolv
 LIBS.Linux+=	-lresolv
 LIBS.SunOS+=	-lresolv -lsocket -lnsl
 
-USE_LANGUAGES=	c
+USE_LANGUAGES=		c
+# Not documented, but uses // comments.
+USE_CC_FEATURES=	c99
 
 .include "../../mk/bsd.prefs.mk"
 
diff --git a/dma/TODO b/dma/TODO
new file mode 100644
index 0000000000..4ef26133d1
--- /dev/null
+++ b/dma/TODO
@@ -0,0 +1,23 @@
+Add comments explaining DMA_ROOT_USER and why it isn't root.  The
+"root isn't root, but then we use REAL_ROOT" is confusing; there's
+obviously some grand plan that isn't obvious.
+
+Add a comment explaining why the other-x bit is off for
+dma-mbox-create, but the other-r bit is on (4554), because this is
+unusual.
+
+Clarify the comment about glibc/getprogname.  In particular "uses
+glibc" and "is Linux" aren't really the same thing.  If it's a proxy
+that's good enough for now, that's ok, but say it.  Or if I'm confused
+add a comment that would straighten out someone with my confusion.
+
+Putting auth.conf in PKGSYSCONFDIR seems to be asking for a collision.
+Probably dma config files belong with a PKGSYSCONFSUBDIR of dma.
+
+It seems odd to be using SPECIAL_PERMS so much when I would expect
+dma's own makefiles to install with the right user/group/perms.
+(pkgsrc install doesn't set these, but instead adds them to METALOG
+and then the tarball uses that; this is the normal pattern).  Maybe
+upstream just doesn't do this, but it seems odd, and it seems like a
+workaroudnd for the DMA_ROOT_USER not being root.
+


Home | Main Index | Thread Index | Old Index