pkgsrc-WIP-changes archive

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

mtr-graph: bump to 0.85.214 (NLS+)



Module Name:	pkgsrc-wip
Committed By:	vsyakovetsky <vsyakovetsky%gmail.com@localhost>
Pushed By:	vsyakovetsky
Date:		Wed Feb 26 15:37:06 2025 +0200
Changeset:	6b1f1cbb5e0a97234e75835528b7f4eb9e5972c5

Modified Files:
	mtr-graph/COMMIT_MSG
	mtr-graph/DESCR
	mtr-graph/Makefile
	mtr-graph/PLIST
	mtr-graph/distinfo
	mtr-graph/options.mk

Log Message:
mtr-graph: bump to 0.85.214 (NLS+)

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

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

diffstat:
 mtr-graph/COMMIT_MSG |  2 +-
 mtr-graph/DESCR      |  2 +-
 mtr-graph/Makefile   |  4 ++--
 mtr-graph/PLIST      |  2 ++
 mtr-graph/distinfo   |  6 +++---
 mtr-graph/options.mk | 11 +++++++++++
 6 files changed, 20 insertions(+), 7 deletions(-)

diffs:
diff --git a/mtr-graph/COMMIT_MSG b/mtr-graph/COMMIT_MSG
index f4cc226bb4..2da5fa1ce2 100644
--- a/mtr-graph/COMMIT_MSG
+++ b/mtr-graph/COMMIT_MSG
@@ -1,4 +1,4 @@
-net/mtr085: one-threaded v0.85 fork with some extensions (whois info, IDN, unicode, etc.)
+net/mtr085: one-threaded v0.85 fork with some extensions (whois info, IDN, NLS, unicode, etc.)
 
 Packaged in wip by @yvs
 https://github.com/yvs2014/mtr085
diff --git a/mtr-graph/DESCR b/mtr-graph/DESCR
index d1fd7743e4..317f6e0f33 100644
--- a/mtr-graph/DESCR
+++ b/mtr-graph/DESCR
@@ -1,6 +1,6 @@
 mtr combines functionality of traceroute and ping in a single network tool
 
-v0.85 fork with whois info, IDN, unicode, etc.
+v0.85 fork with whois info, IDN, NLS, unicode, etc.
 
 Built from https://github.com/yvs2014/mtr085 fork
 Main project location is https://github.com/traviscross/mtr
diff --git a/mtr-graph/Makefile b/mtr-graph/Makefile
index 119e0afa43..c7d0431eb9 100644
--- a/mtr-graph/Makefile
+++ b/mtr-graph/Makefile
@@ -2,14 +2,14 @@
 
 CATEGORIES=	net
 PKGBASE=	mtr085
-PKGVERSION=	204
+PKGVERSION=	214
 PKGREVISION=	1
 PKGNAME=	${PKGBASE}-${PKGVERSION}
 DISTNAME=	${PKGBASE}-${GITHUB_HASH}
 MASTER_SITES=	${MASTER_SITE_GITHUB:=${GITHUB_USER}/}/${PKGBASE}/tarball/${GITHUB_HASH}/
 WRKSRC=		${WRKDIR}/${GITHUB_USER}-${PKGBASE}-${GITHUB_HASH}
 
-GITHUB_HASH=	1d42e60
+GITHUB_HASH=	83fb2f9
 GITHUB_USER=	yvs2014
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
diff --git a/mtr-graph/PLIST b/mtr-graph/PLIST
index b607cee2b9..e54ace517e 100644
--- a/mtr-graph/PLIST
+++ b/mtr-graph/PLIST
@@ -2,3 +2,5 @@
 man/man8/mtr.8
 sbin/mtr
 share/doc/mtr/SECURITY
+${PLIST.nls}share/locale/es/LC_MESSAGES/mtr085.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/mtr085.mo
diff --git a/mtr-graph/distinfo b/mtr-graph/distinfo
index 132fb58b31..8d32792579 100644
--- a/mtr-graph/distinfo
+++ b/mtr-graph/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (mtr085-1d42e60.tar.gz) = 13c92f0a95c5421a378e054d6f7ef463c119f8f391c18df40e1413011e4e9161
-SHA512 (mtr085-1d42e60.tar.gz) = 74b453e21c0db616d76f9143158cdb2e5e3fa605a8471e278162f119e06cef44904ec58ec3af48281c443ab8250f7e73a121bbfba1d717c492d731634a5191d7
-Size (mtr085-1d42e60.tar.gz) = 86730 bytes
+BLAKE2s (mtr085-83fb2f9.tar.gz) = 8bc7532edb3865915f018601a6bbfbb0418f4f3430a70c25184da1f009d3a0b7
+SHA512 (mtr085-83fb2f9.tar.gz) = 0d086fe3003d97b81c7d0d195589c063683983a8b7a925e25e0fc3b39556d84e65550d1e312ba688798f7aa1badd5592cce38d0c1590ea725112586665602130
+Size (mtr085-83fb2f9.tar.gz) = 96369 bytes
diff --git a/mtr-graph/options.mk b/mtr-graph/options.mk
index 816c6f4123..43b5bcbf89 100644
--- a/mtr-graph/options.mk
+++ b/mtr-graph/options.mk
@@ -4,6 +4,7 @@ PKG_OPTIONS_VAR=		PKG_OPTIONS.mtr085
 
 PKG_SUPPORTED_OPTIONS+=		dns
 PKG_SUPPORTED_OPTIONS+=		idn
+PKG_SUPPORTED_OPTIONS+=		nls
 PKG_SUPPORTED_OPTIONS+=		unicode
 PKG_SUPPORTED_OPTIONS+=		ipinfo
 PKG_SUPPORTED_OPTIONS+=		inet6
@@ -17,6 +18,7 @@ PKG_SUGGESTED_OPTIONS+=	inet6
 PKG_SUGGESTED_OPTIONS+=	mpls
 
 PKG_OPTIONS_LEGACY_OPTS=	libidn:idn
+PLIST_VARS+=	nls
 
 .include "../../mk/bsd.options.mk"
 
@@ -43,3 +45,12 @@ MESON_ARGS+=	-DIPINFO=false
 .if empty(PKG_OPTIONS:Municode)
 MESON_ARGS+=	-DUNICODE=false
 .endif
+
+.if empty(PKG_OPTIONS:Mnls)
+MESON_ARGS+=	-DNLS=false
+.else
+USE_TOOLS+=		gettext msgfmt
+USE_PKGLOCALEDIR=	yes
+PLIST.nls=		yes
+.endif
+


Home | Main Index | Thread Index | Old Index