git: 77da1403f331 - main - net/identme: new port: Simple CLI for retrieving your public IP address
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jun 2025 13:44:24 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=77da1403f331732b3013658a5966c86d6cb75e9c
commit 77da1403f331732b3013658a5966c86d6cb75e9c
Author: Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-02-20 16:58:29 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-23 13:42:01 +0000
net/identme: new port: Simple CLI for retrieving your public IP address
identme provides a simple command-line interface (CLI) for retrieving
your public IP address. This tool is designed for users who need to
access their IP address programmatically without the overhead of a
full backend or mobile application.
WWW: https://github.com/pcarrier/ident.me \
https://www.ident.me
PR: 284931
Reported by: Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer)
---
net/Makefile | 1 +
net/identme/Makefile | 27 +++++++++++++++++++++++++++
net/identme/distinfo | 3 +++
net/identme/pkg-descr | 4 ++++
4 files changed, 35 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index f53f3e7e00ce..b56313c6b707 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -265,6 +265,7 @@
SUBDIR += httpry
SUBDIR += icmpinfo
SUBDIR += icpld
+ SUBDIR += identme
SUBDIR += ifdepd
SUBDIR += iffinder
SUBDIR += ifstat
diff --git a/net/identme/Makefile b/net/identme/Makefile
new file mode 100644
index 000000000000..f22790bd0278
--- /dev/null
+++ b/net/identme/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= identme
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.6.0
+CATEGORIES= net
+
+MAINTAINER= nxjoseph@protonmail.com
+COMMENT= Simple CLI for retrieving your public IP address
+WWW= https://github.com/pcarrier/ident.me \
+ https://www.ident.me
+
+LICENSE= BSD0CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USES= cmake compiler:c++17-lang
+USE_CXXSTD= c++17
+USE_GITHUB= yes
+GH_ACCOUNT= pcarrier
+GH_PROJECT= ident.me
+
+CMAKE_SOURCE_PATH= ${WRKSRC}/cli
+LDFLAGS+= -lpthread
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/identme/distinfo b/net/identme/distinfo
new file mode 100644
index 000000000000..824e15f8cc1b
--- /dev/null
+++ b/net/identme/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740069820
+SHA256 (pcarrier-ident.me-v0.6.0_GH0.tar.gz) = 5e37f2f5b661ebe9731aab8d6d2ecdbea6e2239ea6f5ad1f2b158ea15fea947c
+SIZE (pcarrier-ident.me-v0.6.0_GH0.tar.gz) = 238209
diff --git a/net/identme/pkg-descr b/net/identme/pkg-descr
new file mode 100644
index 000000000000..ac0b1d961b7b
--- /dev/null
+++ b/net/identme/pkg-descr
@@ -0,0 +1,4 @@
+identme provides a simple command-line interface (CLI) for retrieving
+your public IP address. This tool is designed for users who need to
+access their IP address programmatically without the overhead of a
+full backend or mobile application.