View | Details | Raw Unified | Return to bug 255916 | Differences between
and this patch

Collapse All | Expand All

(-)b/dns/Makefile (+1 lines)
Lines 76-81 Link Here
76
    SUBDIR += gen6dns
76
    SUBDIR += gen6dns
77
    SUBDIR += getdns
77
    SUBDIR += getdns
78
    SUBDIR += hesiod
78
    SUBDIR += hesiod
79
    SUBDIR += hetzner_ddns
79
    SUBDIR += hostdb
80
    SUBDIR += hostdb
80
    SUBDIR += idnkit
81
    SUBDIR += idnkit
81
    SUBDIR += idnkit2
82
    SUBDIR += idnkit2
(-)b/dns/hetzner_ddns/Makefile (+34 lines)
Added Link Here
1
# Created by: Filip Parag <filip@parag.rs>
2
3
PORTNAME=	hetzner_ddns
4
DISTVERSION=	0.2.2
5
CATEGORIES=	dns
6
7
MAINTAINER=	filip@parag.rs
8
COMMENT=	Hetzner Dynamic DNS Daemon
9
10
LICENSE=	BSD2CLAUSE
11
12
RUN_DEPENDS=	jq:textproc/jq \
13
		curl:ftp/curl
14
15
NO_ARCH=    	yes
16
NO_BUILD=	yes
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	filiparag
20
21
PLIST_FILES=	bin/${PORTNAME} \
22
		share/man/man1/${PORTNAME}.1.gz \
23
		"@sample etc/${PORTNAME}.conf.sample"
24
25
USE_RC_SUBR=	${PORTNAME}
26
27
do-install:
28
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \
29
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
30
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.man \
31
		${STAGEDIR}${MANPREFIX}/share/man/man1/${PORTNAME}.1
32
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
33
34
.include <bsd.port.mk>
(-)b/dns/hetzner_ddns/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1623187734
2
SHA256 (filiparag-hetzner_ddns-0.2.2_GH0.tar.gz) = 0507f0a3c20530ebfc0e07cc086c64a889e095b86503c714393d60135aeea9f3
3
SIZE (filiparag-hetzner_ddns-0.2.2_GH0.tar.gz) = 7201
(-)b/dns/hetzner_ddns/files/hetzner_ddns.in (+25 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
5
# PROVIDE: hetzner_ddns
6
# REQUIRE: LOGIN
7
8
. /etc/rc.subr
9
10
name=hetzner_ddns
11
rcvar="${name}_enable" 
12
pidfile="/var/run/${name}.pid"
13
start_cmd="${name}_start"
14
load_rc_config $name
15
command="/usr/local/bin/${name}"
16
command_args="--daemon"
17
procname="/bin/sh"
18
19
hetzner_ddns_start()
20
{
21
    export PATH="$PATH:/usr/local/bin"
22
    eval "${command} ${command_args}"
23
}
24
25
run_rc_command "$1"
(-)b/dns/hetzner_ddns/pkg-descr (+9 lines)
Added Link Here
1
Hetzner Dynamic DNS Daemon
2
3
A simple daemon to continuously update Hetzner DNS
4
A and AAAA records for your server with a dynamic IP address.
5
6
It features support for multiple subdomain records with painless
7
configuration and administration.
8
9
WWW: https://github.com/filiparag/hetzner_ddns

Return to bug 255916