Date: Tue, 4 Jun 2013 20:59:08 GMT From: Natacha Porté <natbsd@instinctive.eu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179316: [NEW PORT] dns/ddns: lightweight UDP-based dynamic DNS updater Message-ID: <201306042059.r54Kx8TK048458@oldred.freebsd.org> Resent-Message-ID: <201306042100.r54L01sQ038552@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179316 >Category: ports >Synopsis: [NEW PORT] dns/ddns: lightweight UDP-based dynamic DNS updater >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 04 21:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Natacha Porté >Release: 9.1 >Organization: >Environment: FreeBSD yulai.instinctive.eu 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: ddns is a lightweight UDP-based dynamic DNS updater. It consists of a client that regularly sends UDP packets and a server that updates a bind zone file or runs a command using the peer IPv4 address of recieved UDP packets. WWW: http://fossil.instinctive.eu/ddns/home >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ddns/Makefile # ddns/distinfo # ddns/files/ddns_client.in # ddns/files/ddns_server.in # ddns/pkg-descr # ddns/pkg-plist # echo x - ddns/Makefile sed 's/^X//' >ddns/Makefile << '41b3b96b8e894417bcc8a8cf9b1ed573' XPORTNAME= ddns XPORTVERSION= 1.0 XCATEGORIES= dns XMASTER_SITES= http://instinctive.eu/code/ X XMAINTAINER= natbsd@instinctive.eu XCOMMENT= Lightweight UDP-based dynamic DNS updater X XLICENSE= BSD X XMAKEFILE= BSDmakefile XUSE_BZIP2= yes X XUSE_RC_SUBR= ddns_client ddns_server X X.include <bsd.port.pre.mk> X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/ddns-client ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/ddns-server ${PREFIX}/sbin X X.include <bsd.port.post.mk> 41b3b96b8e894417bcc8a8cf9b1ed573 echo x - ddns/distinfo sed 's/^X//' >ddns/distinfo << '3a3e841f2534ff4f1904a1e7c4906899' XSHA256 (ddns-1.0.tar.bz2) = ea65c8f8c0169b5aff1c987000e309186e502e9c8aef6c2d8de1d8a75a593251 XSIZE (ddns-1.0.tar.bz2) = 29856 3a3e841f2534ff4f1904a1e7c4906899 echo x - ddns/files/ddns_client.in sed 's/^X//' >ddns/files/ddns_client.in << '767a0c7d3c4bd7e86c016c6d7f0a2bf7' X#!/bin/sh X#$FreeBSD$ X# X# PROVIDE: ddns_client X# REQUIRE: DAEMON X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf to enable ddns_client: X# X# ddns_client_enable (bool): Set it to "YES" to enable ddns client X# Default is "NO". X# ddns_client_conf (path): Set full path to config file. X# Default is "%%PREFIX%%/etc/ddns_client.conf". X X. /etc/rc.subr X Xname=ddns_client Xrcvar=ddns_client_enable X Xload_rc_config $name X X: ${ddns_client_enable:=NO} X: ${ddns_client_conf="%%PREFIX%%/etc/ddns_client.conf"} X Xcommand=%%PREFIX%%/sbin/ddns-client Xcommand_args="-d -c ${ddns_client_conf}" Xrequired_files=${ddns_client_conf} X Xrun_rc_command "$1" 767a0c7d3c4bd7e86c016c6d7f0a2bf7 echo x - ddns/files/ddns_server.in sed 's/^X//' >ddns/files/ddns_server.in << '3f7ec3141f7f286c4cb30f4a41217c65' X#!/bin/sh X#$FreeBSD$ X# X# PROVIDE: ddns_server X# REQUIRE: DAEMON X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf to enable ddns_server: X# X# ddns_server_enable (bool): Set it to "YES" to enable ddns server X# Default is "NO". X# ddns_server_conf (path): Set full path to config file. X# Default is "%%PREFIX%%/etc/ddns_server.conf". X X. /etc/rc.subr X Xname=ddns_server Xrcvar=ddns_server_enable X Xload_rc_config $name X X: ${ddns_server_enable:=NO} X: ${ddns_server_conf="%%PREFIX%%/etc/ddns_server.conf"} X Xcommand=%%PREFIX%%/sbin/ddns-server Xcommand_args="-d -c ${ddns_server_conf}" Xrequired_files=${ddns_server_conf} X Xrun_rc_command "$1" 3f7ec3141f7f286c4cb30f4a41217c65 echo x - ddns/pkg-descr sed 's/^X//' >ddns/pkg-descr << 'a964b2886734a2b16e8c3219927e87d4' Xddns is a lightweight UDP-based dynamic DNS updater. XIt consists of a client that regularly sends UDP packets and a Xserver that updates a bind zone file or runs a command using the Xpeer IPv4 address of recieved UDP packets. X XWWW: http://fossil.instinctive.eu/ddns/home a964b2886734a2b16e8c3219927e87d4 echo x - ddns/pkg-plist sed 's/^X//' >ddns/pkg-plist << '49985aaf44f02a467ce57611bf02c532' Xsbin/ddns-client Xsbin/ddns-server 49985aaf44f02a467ce57611bf02c532 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306042059.r54Kx8TK048458>