Subject: [PATCH] testing/ip2proxy: new aport https://github.com/ip2location/ip2proxy-c An official IP2Proxy C library.

From: IP2Location <[email-masked]>
Date: Wed, 19 Nov 2025 11:37:19 +0800

---
 testing/ip2proxy/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/ip2proxy/APKBUILD

diff --git a/testing/ip2proxy/APKBUILD b/testing/ip2proxy/APKBUILD
new file mode 100644
index 00000000000..1868a8575ea
--- /dev/null
+++ b/testing/ip2proxy/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: IP2Location <[email-masked]>
+pkgname=ip2proxy
+pkgver=4.2.1
+pkgrel=0
+pkgdesc="Detect proxy servers."
+url="https://www.ip2location.com/documentation/ip2proxy-libraries/c"
+arch="all"
+license="MIT"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="build-base automake autoconf libtool zlib-dev"
+source="https://github.com/ip2location/ip2proxy-c/archive/refs/tags/$pkgver.zip"
+builddir="$srcdir"/ip2proxy-c-$pkgver
+
+build() {
+	autoreconf -i -v --force
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	make install DESTDIR="$pkgdir"
+}
+
+check() {
+	make check
+}
+
+sha512sums="
+1965a6383c4d0427c15aa0bb446e929658e9926c51c7d1fb73cb26af12eec4f03942c39ca6e62224724a775229534bd7d5eca39d4e085e88ce51dd1b0b905f59  4.2.1.zip
+"
-- 
2.38.2