Import net/gelatod

Software from florian
port from me
OK sthen
---
gelatod is a CLAT (Customer-side transLATor) configuration daemon.  It is part
of 464XLAT, an architecture for providing limited IPv4 connectivity across an
IPv6-only network. It detects the presence of a NAT64 translator in IPv6 only
networks and configures pf(4) to translate IPv4 packets into IPv6 packets for
programs that do not work with DNS64.
This commit is contained in:
kn 2021-11-17 20:36:10 +00:00
parent 0e52ade0b7
commit 352594e044
5 changed files with 42 additions and 0 deletions

20
net/gelatod/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/11/17 20:36:10 kn Exp $
COMMENT = CLAT configuration daemon for OpenBSD
V = 1.2
DISTNAME = gelatod-${V}
CATEGORIES = net
# BSD 2-clause
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/fobser/gelatod/releases/download/v${V}/
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# uses pledge()
WANTLIB = c event util
NO_TESTS = Yes
.include <bsd.port.mk>

2
net/gelatod/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (gelatod-1.2.tar.gz) = ihkAlNH1zAqZkSc6vcmNqTmbXScRbt8kG6Glvs5p6zk=
SIZE (gelatod-1.2.tar.gz) = 12530

5
net/gelatod/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
gelatod is a CLAT (Customer-side transLATor) configuration daemon. It is part
of 464XLAT, an architecture for providing limited IPv4 connectivity across an
IPv6-only network. It detects the presence of a NAT64 translator in IPv6 only
networks and configures pf(4) to translate IPv4 packets into IPv6 packets for
programs that do not work with DNS64.

6
net/gelatod/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/11/17 20:36:10 kn Exp $
@newgroup _gelatod:871
@newuser _gelatod:871:_gelatod:daemon:464XLAT CLAT:/nonexistent:/sbin/nologin
@rcscript ${RCDIR}/gelatod
@man man/man8/gelatod.8
@bin sbin/gelatod

View File

@ -0,0 +1,9 @@
#!/bin/ksh
#
# $OpenBSD: gelatod.rc,v 1.1.1.1 2021/11/17 20:36:10 kn Exp $
daemon="/usr/local/sbin/gelatod"
. /etc/rc.d/rc.subr
rc_cmd $1