From bf07e5bd21e64c3b4d37fe6989a85e9099652ee6 Mon Sep 17 00:00:00 2001
From: Francesco Colista <fcolista@alpinelinux.org>
Date: Fri, 11 Aug 2023 10:41:22 +0200
Subject: [PATCH] community/asn: new aport

---
 community/asn/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 community/asn/APKBUILD

diff --git a/community/asn/APKBUILD b/community/asn/APKBUILD
new file mode 100644
index 000000000000..1cbbc9037e0d
--- /dev/null
+++ b/community/asn/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=asn
+pkgver=0.74
+pkgrel=0
+pkgdesc="ASN Lookup Tool and Traceroute Server"
+url="https://github.com/nitefood/asn/"
+arch="noarch"
+license="MIT"
+depends="bash
+	ncurses
+	nmap 
+	nmap-ncat 
+	mtr 
+	aha 
+	curl 
+	whois 
+	grepcidr3 
+	coreutils 
+	ipcalc 
+	bind-tools 
+	jq"
+options="!check" # no tests
+source="$pkgname-$pkgver.tar.gz::https://github.com/nitefood/asn/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+	return 0
+}
+
+package() {
+	install -Dm0755 asn "$pkgdir"/usr/bin/asn
+}
+
+sha512sums="
+ad7ceb34381697845413f3227a2ec57725c6ae755310d4d3bc7c435dc2ee163fe83308530bfcd1926c514523039073f378a6e4752df9dd4ad1bc9cf124f7d7ea  asn-0.74.tar.gz
+"
-- 
GitLab