From owner-freebsd-ports Tue Nov 7 23:30: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C565037B4C5 for ; Tue, 7 Nov 2000 23:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA70422; Tue, 7 Nov 2000 23:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from alamis.holywar.net (alamis.holywar.net [210.102.1.6]) by hub.freebsd.org (Postfix) with ESMTP id 63AE737B479 for ; Tue, 7 Nov 2000 23:27:38 -0800 (PST) Received: (from hollywar@localhost) by alamis.holywar.net (8.11.0/8.11.0) id eA87RXw30068; Wed, 8 Nov 2000 16:27:33 +0900 (KST) (envelope-from hollywar) Message-Id: <200011080727.eA87RXw30068@alamis.holywar.net> Date: Wed, 8 Nov 2000 16:27:33 +0900 (KST) From: hollywar@holywar.net Reply-To: hollywar@holywar.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22683: New port net/dnip-update Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22683 >Category: ports >Synopsis: New port net/dnip-update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 07 23:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: JunSeon Oh >Release: FreeBSD 4.1.1-STABLE i386 >Organization: holynet >Environment: FreeBSD alamis 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Tue Oct 10 06:18:01 GMT 2000 tsoi@devel:/usr/obj/usr/src/sys/ALAMIS i386 >Description: This port collection is a dynamic update client on WWW.DNIP.NET It is very simple free dynamic domain name service client using /usr/bin/fetch. I'm a maintainer of www.dnip.net. I hope that is a useful services on many people of freebsd users. Thanks. >How-To-Repeat: >Fix: # 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: # # . # ./Makefile # ./pkg-descr # ./src # ./src/dnip-update.sh # ./pkg-comment # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: dnip-update X# Date created: 8 Nov 2000 X# Whom: JunSeon Oh X# X# $FreeBSD$ X# X XPORTNAME= dnip-update XPORTVERSION= 0.1 XCATEGORIES= net XMASTER_SITES= # none XDISTFILES= # none X XMAINTAINER= hollywar@mail.holywar.net X XNO_BUILD= yes XNO_WRKSUBDIR= yes X XSRC= ${.CURDIR}/src X Xdo-fetch: X @${DO_NADA} X Xdo-install: X ${INSTALL} -c -m 700 ${SRC}/dnip-update.sh ${PREFIX}/sbin/dnip-update X Xpost-install: X @${ECHO_MSG} "*******************************************************" X @${ECHO_MSG} "* First , you need to register a new account *" X @${ECHO_MSG} "* on http://www.dnip.net/register.cgi *" X @${ECHO_MSG} "* *" X @${ECHO_MSG} "* After registering , please change ID and PASSWORD *" X @${ECHO_MSG} "* as your own in ${PREFIX}/sbin/dnip-update *" X @${ECHO_MSG} "*******************************************************" X X.include X X END-of-./Makefile echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XDNIP.NET is a free domain name service provider. It aim to provide fast, stable and convenient services. Give your computer a name, in order for people to connect to your computer on the internet. An internet name makes connecting to your computer easy. X XFeatures: X- Auto detect IP X- Manual IP X- MX records X- SUB NS records X- TTL X XWWW: http://www.dnip.net/ X X-- XMade By JunSeon Oh END-of-./pkg-descr echo c - ./src mkdir -p ./src > /dev/null 2>&1 echo x - ./src/dnip-update.sh sed 's/^X//' >./src/dnip-update.sh << 'END-of-./src/dnip-update.sh' X#!/bin/sh X# X# DNIP ip update utility (fetch) X# X# Author : JunSeon Oh X# Date : $Date: 2000/11/08 07:05:14 $ X# X# $Revision: 1.7 $ X# X# Please change ID and PASSWORD correctly X# X# If you want set the IP for manually , please change AUTO to your IP X# X# Free Dynamic Domain Name Server Service DNIP.NET (http://www.dnip.net) X# X XID="ID" XPASSWORD="PASSWORD" X XPROGRAM="/usr/bin/fetch" XDESTFILE="/tmp/dnip.result" XADDRESS="AUTO" X X# X# IP update routine uses ifconfig. If your computer got an ip on NIC , it is X# better solutions than auto detect . Because many ISP use a proxy server when X# they routing to foreign country. In bad case, dnip server detect a proxy ip. X# Please change DEVICE correctly and remove the comment mark. X# X# DEVICE="rl0" X# ADDRESS=`ifconfig $DEVICE | grep "inet " | awk '{print $2}'` X# X Xif [ -x $PROGRAM ] ; then X $PROGRAM -q -o $DESTFILE "http://www.dnip.net/update.cgi?id=$ID&password=$PASSWORD&step=2&address=$ADDRESS" && echo "Update Done. (Result : $DESTFILE)" && cat $DESTFILE Xelse X echo "Program could not be run. plesase check $PROGRAM" Xfi X X# X# $Id: update_fetch.sh,v 1.7 2000/11/08 07:05:14 hollywar Exp $ X# END-of-./src/dnip-update.sh echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XA DNIP.NET clinet for UNIX END-of-./pkg-comment echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xsbin/dnip-update END-of-./pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message