dns/noip: Remove port
Niche use case, not aligned with broad server application needs
This commit is contained in:
@@ -1541,6 +1541,7 @@ dns/dnsmasq-devel
|
||||
dns/dog
|
||||
dns/kf5-kdnssd
|
||||
dns/kf6-kdnssd
|
||||
dns/noip
|
||||
dns/pear-Horde_Idna
|
||||
dns/py-dnspython1
|
||||
dns/qmdnsengine
|
||||
|
||||
@@ -100,7 +100,6 @@
|
||||
SUBDIR += mosdns
|
||||
SUBDIR += namesilo_ddns
|
||||
SUBDIR += nextdns
|
||||
SUBDIR += noip
|
||||
SUBDIR += nsd
|
||||
SUBDIR += nslint
|
||||
SUBDIR += nsnotifyd
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
PORTNAME= noip
|
||||
PORTVERSION= 2.1.9
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.no-ip.com/client/linux/ \
|
||||
LOCAL/ehaupt
|
||||
|
||||
MAINTAINER= sthalik@tehran.lain.pl
|
||||
COMMENT= No-IP.com's dynamic DNS update client
|
||||
WWW= https://www.No-IP.com/
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
ALL_TARGET= noip2
|
||||
SUB_FILES= pkg-message
|
||||
USE_RC_SUBR= noip
|
||||
|
||||
USERS= noip
|
||||
GROUPS= noip
|
||||
|
||||
PLIST_SUB= USER="${USERS}"
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
conf:
|
||||
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)
|
||||
${CHOWN} noip:noip ${PREFIX}/etc/no-ip2.conf
|
||||
${CHMOD} 0600 ${PREFIX}/etc/no-ip2.conf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (noip-2.1.9.tar.gz) = 86ad0a6362263a33f59a658d1b1ce428e255556ddad0d062aa0ee4b7f412f98a
|
||||
SIZE (noip-2.1.9.tar.gz) = 152995
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: noip
|
||||
# REQUIRE: NETWORKING SYSLOG DAEMON
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# noip_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable noip.
|
||||
# noip_config (path): Set to %%PREFIX%%/etc/no-ip2.conf by default.
|
||||
# noip_flags: Set to -c %%PREFIX%%/etc/no-ip2.conf by default.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="noip"
|
||||
rcvar=noip_enable
|
||||
|
||||
command="%%PREFIX%%/bin/noip2"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${noip_enable="NO"}
|
||||
: ${noip_svcj_options:="net_basic"}
|
||||
: ${noip_config="%%PREFIX%%/etc/no-ip2.conf"}
|
||||
: ${noip_flags="-c $noip_config"}
|
||||
: ${noip_user="noip"}
|
||||
: ${noip_group="noip"}
|
||||
|
||||
required_files=${noip_config}
|
||||
|
||||
run_rc_command "$1"
|
||||
@@ -1,21 +0,0 @@
|
||||
--- ./Makefile.orig 2008-11-21 23:27:15.000000000 +0100
|
||||
+++ ./Makefile 2011-09-12 15:00:30.000000000 +0200
|
||||
@@ -1,8 +1,7 @@
|
||||
TGT=noip2
|
||||
-CC=gcc
|
||||
PKG=noip-2.1.tgz
|
||||
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX?=/usr/local
|
||||
CONFDIR=${PREFIX}/etc
|
||||
BINDIR=${PREFIX}/bin
|
||||
|
||||
@@ -22,7 +21,7 @@
|
||||
# ARCH=sun
|
||||
|
||||
${TGT}: Makefile ${TGT}.c
|
||||
- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||
+ ${CC} -Dbsd_with_getifaddrs -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS}
|
||||
|
||||
install: ${TGT}
|
||||
if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi
|
||||
@@ -1,29 +0,0 @@
|
||||
--- ./noip2.c.orig 2008-11-21 23:19:54.000000000 +0100
|
||||
+++ ./noip2.c 2011-09-12 14:58:30.000000000 +0200
|
||||
@@ -198,7 +198,7 @@
|
||||
#define CLIENT_IP_PORT 8245
|
||||
|
||||
#define VERSION "2.1.9"
|
||||
-#define USER_AGENT "User-Agent: Linux-DUC/"VERSION
|
||||
+#define USER_AGENT "User-Agent: FreeBSD-DUC/"VERSION
|
||||
#define SETTING_SCRIPT "settings.php?"
|
||||
#define USTRNG "username="
|
||||
#define PWDSTRNG "&pass="
|
||||
@@ -308,7 +308,7 @@
|
||||
#define CMSG21 "Please select the Internet interface from this list.\n"
|
||||
#define CMSG22 "By typing the number associated with it."
|
||||
#define CMSG23 "Too many network devices. Limit is %d"
|
||||
-#define CMSG24 "\nAuto configuration for Linux client of no-ip.com.\n"
|
||||
+#define CMSG24 "\nAuto configuration for FreeBSD client of no-ip.com.\n"
|
||||
#define CMSG25 "Can't create config file (%s)"
|
||||
#define CMSG25a "Re-run noip, adding '-c configfilename' as a parameter."
|
||||
#define CMSG26 "Can't rename config file (%s)"
|
||||
@@ -525,7 +525,7 @@
|
||||
fprintf(stderr, "[ -d][ -D pid]");
|
||||
#endif
|
||||
fprintf(stderr, "[ -i addr][ -S][ -M][ -h]");
|
||||
- fprintf(stderr, "\n\nVersion Linux-%s\n", VERSION);
|
||||
+ fprintf(stderr, "\n\nVersion FreeBSD-%s\n", VERSION);
|
||||
fprintf(stderr, "Options: -C create configuration data\n");
|
||||
fprintf(stderr, " -F force NAT off\n");
|
||||
fprintf(stderr, " -Y select all hosts/groups\n");
|
||||
@@ -1,34 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
You must have a registered host with No-IP (www.noip.com)
|
||||
to use the noip Dynamic DNS Update Client (DUC).
|
||||
|
||||
You must also create the noip configuration file
|
||||
%%PREFIX%%/etc/no-ip2.conf before using noip. To create the
|
||||
configuration file, run as root:
|
||||
|
||||
%%PREFIX%%/bin/noip2 -C
|
||||
|
||||
You will be prompted to enter the Ethernet port that will be
|
||||
associated with the host, your No-IP account name and
|
||||
password, and the hostname you have registered with No-IP.
|
||||
Your No-IP username and password are not stored, the
|
||||
config file contains a unique key for the DUC to access the
|
||||
No-IP DDNS service and only root has read permission.
|
||||
|
||||
If you are compiling from source using the ports tree, you
|
||||
can also "make conf" to create the configuration file.
|
||||
|
||||
To run noip automatically at boot, add the following line
|
||||
to /etc/rc.conf:
|
||||
|
||||
noip_enable="YES"
|
||||
|
||||
Refer to the following for more information:
|
||||
|
||||
%%PREFIX%%/bin/noip2 --help
|
||||
%%DOCSDIR%%/README.FIRST
|
||||
EOM
|
||||
}
|
||||
]
|
||||
@@ -1,5 +0,0 @@
|
||||
This is a port of No-IP.com's dynamic DNS update client. When
|
||||
configured correctly, the client will check the local IP address at a
|
||||
given time interval for any changes. If the local IP address has
|
||||
changed it will notify the DNS servers at No-IP.com and update the IP
|
||||
corresponding to your No-IP/No-IP+ hostname.
|
||||
@@ -1,4 +0,0 @@
|
||||
bin/noip2
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.FIRST
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
@unexec printf "\nTo delete %%USER%% user/group permanently:\npw userdel %%USER%%\n\n"
|
||||
Reference in New Issue
Block a user