pkgsrc-WIP-changes archive

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

coturn: Minor cleanups inspired by pkglint



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Sun Jan 19 11:03:44 2025 -0500
Changeset:	f0744de4f7088e8476dc132203922f1821fb12bd

Modified Files:
	coturn/MESSAGE
	coturn/Makefile
	coturn/options.mk

Log Message:
coturn: Minor cleanups inspired by pkglint

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

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

diffstat:
 coturn/MESSAGE    | 2 +-
 coturn/Makefile   | 6 +++---
 coturn/options.mk | 1 +
 3 files changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/coturn/MESSAGE b/coturn/MESSAGE
index 729b85e8b9..3bce7b2fa6 100644
--- a/coturn/MESSAGE
+++ b/coturn/MESSAGE
@@ -1,5 +1,5 @@
-$NetBSD: MESSAGE $
 ===========================================================================
+$NetBSD$
 
 1) You can start and stop the turnserver manually. But, if you want
 to enable turnserver as an automatically started system service,
diff --git a/coturn/Makefile b/coturn/Makefile
index 276535ef39..48eb262f45 100644
--- a/coturn/Makefile
+++ b/coturn/Makefile
@@ -7,7 +7,7 @@ GITHUB_PROJECT=	coturn
 
 MAINTAINER=	kethzer.dr%gmail.com@localhost
 HOMEPAGE=	https://github.com/coturn/coturn
-COMMENT=	The TURN Server is a VoIP media traffic NAT traversal server
+COMMENT=	TURN and STUN server (for VoIP/webrtc)
 LICENSE=	modified-bsd
 
 USE_LANGUAGES=	c c++
@@ -22,6 +22,8 @@ CONFIGURE_ENV+=		PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1
 CONFIGURE_ENV+=		LIBEVENT_OPENSSL_CFLAGS="-I${BUILDLINK_PREFIX.libevent}/include"
 CONFIGURE_ENV+=		LIBEVENT_OPENSSL_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib -levent_openssl -levent"
 
+BUILD_DEFS+=		VARBASE
+
 # Configure installation paths.
 # \todo Why is this not setting PREFIX?
 CONFIGURE_ENV+=		BINDIR=${PREFIX}/bin
@@ -43,8 +45,6 @@ INSTALLATION_DIRS+=	share/doc/coturn share/examples/coturn
 #CONF_FILES+=		${PREFIX}/etc/turnserver.conf.default
 #RCD_SCRIPTS=		turnserver
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 .include "options.mk"
 
 .include "../../security/openssl/buildlink3.mk"
diff --git a/coturn/options.mk b/coturn/options.mk
index 42183459d0..54e2c29976 100644
--- a/coturn/options.mk
+++ b/coturn/options.mk
@@ -17,6 +17,7 @@ PKG_SUGGESTED_OPTIONS=		sqlite
 
 .if !empty(PKG_OPTIONS:Mpgsql)
 .include "../../mk/pgsql.buildlink3.mk"
+# \todo Check/justify these settings.
 DBLIBS+=	${BUILDLINK_PREFIX.postgresql-lib}
 CONFIGURE_ENV+=	POSTCFLAGS="-I${PREFIX}/include/postgresql"
 .endif


Home | Main Index | Thread Index | Old Index