summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-05-04 10:01:55 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-05-04 10:01:55 +0000
commit776a8267f866a30af4da3f7d7314867270505fb7 (patch)
tree9b1010fa40412af671e4ebe8182ccc015b675ada
parentIn file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-... (diff)
The Webalizer GeoDB geolocation database
This package contains the Webalizer GeoDB geolocation database file "GeoDB.dat". This database allows the Webalizer to perform geographical location lookups for both IPv4 and IPv6 addresses.
-rw-r--r--net/Makefile1
-rw-r--r--net/webalizer-geodb/Makefile22
-rw-r--r--net/webalizer-geodb/distinfo3
-rw-r--r--net/webalizer-geodb/pkg-descr5
4 files changed, 31 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 18b0e510407e..30188515612e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1527,6 +1527,7 @@
SUBDIR += wakeonlan
SUBDIR += waypipe
SUBDIR += wayvnc
+ SUBDIR += webalizer-geodb
SUBDIR += whois
SUBDIR += widentd
SUBDIR += wireguard
diff --git a/net/webalizer-geodb/Makefile b/net/webalizer-geodb/Makefile
new file mode 100644
index 000000000000..10ce7befb3c0
--- /dev/null
+++ b/net/webalizer-geodb/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= webalizer-geodb
+PORTVERSION= 20200501
+CATEGORIES+= net
+MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/geodb/
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= Webalizer GeoDB geolocation database
+
+LICENSE= GPLv2
+
+USES= tar:tgz
+WRKSRC= ${WRKDIR}
+NO_BUILD= yes
+PLIST_FILES= share/geolizer/GeoDB.dat
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/geolizer
+ ${INSTALL_DATA} ${WRKDIR}/GeoDB.dat ${STAGEDIR}${PREFIX}/share/geolizer/
+
+.include <bsd.port.mk>
diff --git a/net/webalizer-geodb/distinfo b/net/webalizer-geodb/distinfo
new file mode 100644
index 000000000000..75913036d0f8
--- /dev/null
+++ b/net/webalizer-geodb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588585196
+SHA256 (webalizer-geodb-20200501.tgz) = c8620a5095ca2ef76ffb53bd6988356e545d8495a85cdd8be67950727be81ac8
+SIZE (webalizer-geodb-20200501.tgz) = 1493093
diff --git a/net/webalizer-geodb/pkg-descr b/net/webalizer-geodb/pkg-descr
new file mode 100644
index 000000000000..663218ef8da6
--- /dev/null
+++ b/net/webalizer-geodb/pkg-descr
@@ -0,0 +1,5 @@
+The Webalizer GeoDB geolocation database
+
+This package contains the Webalizer GeoDB geolocation database
+file "GeoDB.dat". This database allows the Webalizer to perform
+geographical location lookups for both IPv4 and IPv6 addresses.