diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-05 07:41:35 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-05 07:41:35 +0000 |
commit | e1906e85ed4521c96066ce130869615c304c2a7a (patch) | |
tree | 2168725e487d131fef0e49ba7dfdd230e3466624 /net/noip | |
parent | bf60be81d18978782b3c3de21916fdb4a5cbb2e5 (diff) |
Notes
Diffstat (limited to 'net/noip')
-rw-r--r-- | net/noip/Makefile | 44 | ||||
-rw-r--r-- | net/noip/distinfo | 1 | ||||
-rw-r--r-- | net/noip/files/noip.sh | 19 | ||||
-rw-r--r-- | net/noip/files/patch-no-ip.sh | 16 | ||||
-rw-r--r-- | net/noip/files/patch-noip.c | 12 | ||||
-rw-r--r-- | net/noip/pkg-deinstall | 21 | ||||
-rw-r--r-- | net/noip/pkg-descr | 10 | ||||
-rw-r--r-- | net/noip/pkg-install | 32 | ||||
-rw-r--r-- | net/noip/pkg-message | 14 | ||||
-rw-r--r-- | net/noip/pkg-plist | 8 |
10 files changed, 0 insertions, 177 deletions
diff --git a/net/noip/Makefile b/net/noip/Makefile deleted file mode 100644 index bfac9d9b9bbd..000000000000 --- a/net/noip/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: No-IP Dynamic Update Client -# Date created: 28 March 2002 -# Whom: Eyal Soha <esoha@attbi.com> -# -# $FreeBSD$ -# - -PORTNAME= noip -PORTVERSION= 1.6 -CATEGORIES= net -MASTER_SITES= http://www.no-ip.com/client/linux/ -DISTNAME= noip_updater_v${PORTVERSION} - -MAINTAINER= esoha@attbi.com -COMMENT= No-IP.com's dynamic DNS update client - -ALL_TARGET= noip - -post-build: - ${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/noip.sh > ${WRKSRC}/noip.sh - -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/noip ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/noip.sh ${PREFIX}/etc/rc.d -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/${PORTNAME} - ${MKDIR} ${PREFIX}/share/examples/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/no-ip.conf.sample ${PREFIX}/share/examples/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKSRC}/no-ip.sh ${PREFIX}/share/examples/${PORTNAME} -.endif - @${SED} "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE} | ${SED} "s|%%WRKSRC%%|${WRKSRC}|g" - -conf: - (cd ${PREFIX}/etc && ${PREFIX}/share/examples/noip/no-ip.sh) - ${CHOWN} noip:noip ${PREFIX}/etc/no-ip.conf - ${CHMOD} 0600 ${PREFIX}/etc/no-ip.conf - -.include <bsd.port.mk> diff --git a/net/noip/distinfo b/net/noip/distinfo deleted file mode 100644 index 41d0c1e0f8ff..000000000000 --- a/net/noip/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (noip_updater_v1.6.tar.gz) = 6503e2e7d8ea35c304744a318b400a09 diff --git a/net/noip/files/noip.sh b/net/noip/files/noip.sh deleted file mode 100644 index eca1af8323b8..000000000000 --- a/net/noip/files/noip.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - if [ -x %%PREFIX%%/bin/noip -a -f %%PREFIX%%/etc/no-ip.conf ]; then - echo -n ' noip'; - su -m noip -c '%%PREFIX%%/bin/noip' 2> /dev/null > /dev/null - fi - ;; - stop) - echo -n ' noip'; - killall noip - ;; - *) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 1 - ;; -esac -exit 0 diff --git a/net/noip/files/patch-no-ip.sh b/net/noip/files/patch-no-ip.sh deleted file mode 100644 index 4d083a0ec7b6..000000000000 --- a/net/noip/files/patch-no-ip.sh +++ /dev/null @@ -1,16 +0,0 @@ ---- no-ip.sh.orig Wed Oct 10 16:35:12 2001 -+++ no-ip.sh Fri Mar 29 01:55:11 2002 -@@ -1,3 +1,4 @@ -+#!/bin/sh - # - # configuration file builder script for no-ip - # -@@ -89,7 +90,7 @@ - # - if [ "$NAT" = "N" ] - then -- devs=`tail +3 /proc/net/dev | awk -F: '{print $1}' | tr -d ' '|tr '\n' ' '` -+ devs=`ifconfig -l inet` - DEV=foo - while [ "$DEV" = "foo" ] - do diff --git a/net/noip/files/patch-noip.c b/net/noip/files/patch-noip.c deleted file mode 100644 index 04b51cdfffd6..000000000000 --- a/net/noip/files/patch-noip.c +++ /dev/null @@ -1,12 +0,0 @@ ---- noip.c.bak Sat Mar 30 17:59:58 2002 -+++ noip.c Sat Mar 30 17:59:15 2002 -@@ -452,7 +452,8 @@ - else - getip(IPaddress); - #ifdef DEBUG -- ErrMsg("! LIA = %s, IP = %s",Last_IP_Addr, IPaddress); -+ if (debug) -+ ErrMsg("! LIA = %s, IP = %s",Last_IP_Addr, IPaddress); - #endif - if ((*IPaddress != 0) && - (strcmp(IPaddress, Last_IP_Addr) != 0)) { diff --git a/net/noip/pkg-deinstall b/net/noip/pkg-deinstall deleted file mode 100644 index 93a3036c7d43..000000000000 --- a/net/noip/pkg-deinstall +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -PW=/usr/sbin/pw -ECHO=echo -USER=noip -GROUP=${USER} - -if [ -f ${PKG_PREFIX}/etc/no-ip.conf ]; then - ${ECHO} "To delete noip configuration permanently: rm ${PKG_PREFIX}/etc/no-ip.conf" -fi -if ${PW} usershow "${USER}" 2>/dev/null 1>&2; then - ${ECHO} "To delete noip user permanently: ${PW} userdel ${USER}" -fi -if ${PW} groupshow "${GROUP}" 2>/dev/null 1>&2; then - ${ECHO} "To delete noip group permanently: ${PW} groupdel ${GROUP}" -fi -exit 0 diff --git a/net/noip/pkg-descr b/net/noip/pkg-descr deleted file mode 100644 index 6e3b58983d27..000000000000 --- a/net/noip/pkg-descr +++ /dev/null @@ -1,10 +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. - -WWW: http://www.No-IP.com/ - -- Eyal Soha -esoha@attbi.com diff --git a/net/noip/pkg-install b/net/noip/pkg-install deleted file mode 100644 index f4efdf4b8f46..000000000000 --- a/net/noip/pkg-install +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -if [ "$2" != "PRE-INSTALL" ]; then - exit 0 -fi - -PW=/usr/sbin/pw -ECHO=echo -USER=noip -GROUP=${USER} - -if ! ${PW} groupshow "${GROUP}" 2>/dev/null 1>&2; then - if ${PW} groupadd ${GROUP}; then - ${ECHO} "Added group \"${GROUP}\"." - else - ${ECHO} "Adding group \"${GROUP}\" failed..." - exit 1 - fi -fi - -if ! ${PW} usershow "${USER}" 2>/dev/null 1>&2; then - if ${PW} useradd ${USER} -g ${GROUP} -h - \ - -s "/sbin/nologin" -d "/nonexistent" \ - -c "noip_updater pseudo-user"; \ - then - ${ECHO} "Added user \"${USER}\"." - else - ${ECHO} "Adding user \"${USER}\" failed..." - exit 1 - fi -fi -exit 0 diff --git a/net/noip/pkg-message b/net/noip/pkg-message deleted file mode 100644 index a8fd115e237f..000000000000 --- a/net/noip/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -################################################################## -You need to generate the noip config file 'no-ip.conf' in -%%PREFIX%%/etc/no-ip.conf. To do this automatically, run: - - make conf - -To do it manually, copy -%%PREFIX%%/share/examples/noip/no-ip.conf.sample to -%%PREFIX%%/etc/no-ip.conf and edit it or use -%%PREFIX%%/share/examples/noip/no-ip.sh to make no-ip.conf. Then -chown to noip:noip and chmod to 0600. - -You need to register with www.no-ip.com to use this port. -################################################################## diff --git a/net/noip/pkg-plist b/net/noip/pkg-plist deleted file mode 100644 index 3ac22b4870f3..000000000000 --- a/net/noip/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -bin/noip -etc/rc.d/noip.sh -%%PORTDOCS%%share/doc/noip/README.FIRST -%%PORTDOCS%%share/doc/noip/COPYING -%%PORTDOCS%%share/examples/noip/no-ip.conf.sample -%%PORTDOCS%%share/examples/noip/no-ip.sh -%%PORTDOCS%%@dirrm share/doc/noip -%%PORTDOCS%%@dirrm share/examples/noip |