Date: Mon, 20 Sep 1999 12:10:45 -0400 (EDT) From: cjm2@altavista.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13861: New port submission - ddup-2.0.4 Message-ID: <199909201610.MAA22287@weeble.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 13861 >Category: ports >Synopsis: New port submission - ddup-2.0.4 >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: Mon Sep 20 09:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Christopher J. Michaels >Release: FreeBSD 3.3-STABLE i386 >Organization: none >Environment: Has been tested on FreeBSD 3.0,3.2, & 3.3 >Description: Client software to update ip addresses with the DynDNS dynamic host name service. >How-To-Repeat: n/a >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: # # ddup # ddup/Makefile # ddup/pkg # ddup/pkg/COMMENT # ddup/pkg/DESCR # ddup/pkg/PLIST # ddup/files # ddup/files/md5 # ddup/patches # ddup/patches/patch-aa # ddup/patches/patch-ab # ddup/patches/patch-ac # echo c - ddup mkdir -p ddup > /dev/null 2>&1 echo x - ddup/Makefile sed 's/^X//' >ddup/Makefile << 'END-of-ddup/Makefile' X# New ports collection makefile for: ddup X# Version required: 2.0.4 X# Date created: 20 September 1999 X# Whom: cjm2 X# X# $FreeBSD$ X# X XDISTNAME= ddup-2.0.4 XCATEGORIES= net XMASTER_SITES= ftp://gandy.dyndns.org/pub/ddup/ X XMAINTAINER= cjm2@altavista.net X XWRKSRC= ${WRKDIR}/ddup-nic X Xpost-install: X strip ${PREFIX}/sbin/ddup X X.include <bsd.port.mk> END-of-ddup/Makefile echo c - ddup/pkg mkdir -p ddup/pkg > /dev/null 2>&1 echo x - ddup/pkg/COMMENT sed 's/^X//' >ddup/pkg/COMMENT << 'END-of-ddup/pkg/COMMENT' XDynDNS client for Linux and FreeBSD END-of-ddup/pkg/COMMENT echo x - ddup/pkg/DESCR sed 's/^X//' >ddup/pkg/DESCR << 'END-of-ddup/pkg/DESCR' XDD-UP in C by Thomas Gandy (tegandy@enid.com) X--------------------------------------------------------- X XDD-UP is a program that is used to update a host Xprovided by the Free DynDNS service of dyndns.org. X XWWW: http://www.gandy.dyndns.org/~thomas/ddup.shtml X X- Chris Xcjm2@earthling.net END-of-ddup/pkg/DESCR echo x - ddup/pkg/PLIST sed 's/^X//' >ddup/pkg/PLIST << 'END-of-ddup/pkg/PLIST' Xsbin/ddup Xetc/ddup.conf.default END-of-ddup/pkg/PLIST echo c - ddup/files mkdir -p ddup/files > /dev/null 2>&1 echo x - ddup/files/md5 sed 's/^X//' >ddup/files/md5 << 'END-of-ddup/files/md5' XMD5 (ddup-2.0.4.tar.gz) = e803bbedd98a77f9c0579e3521566f27 END-of-ddup/files/md5 echo c - ddup/patches mkdir -p ddup/patches > /dev/null 2>&1 echo x - ddup/patches/patch-aa sed 's/^X//' >ddup/patches/patch-aa << 'END-of-ddup/patches/patch-aa' X*** INSTALL-C.orig Mon Sep 20 01:12:35 1999 X--- INSTALL-C Mon Sep 20 01:12:58 1999 X*************** X*** 5,11 **** X X 1. Run 'make', then 'make install' as root. X X! 2. Edit /etc/ddup.conf (you can copy the example and the edit that.) X X 3. That should be it. run "ddup --help" for info on the command line X options. X--- 5,11 ---- X X 1. Run 'make', then 'make install' as root. X X! 2. Edit /usr/local/etc/ddup.conf (you can copy the example and the edit that.) X X 3. That should be it. run "ddup --help" for info on the command line X options. END-of-ddup/patches/patch-aa echo x - ddup/patches/patch-ab sed 's/^X//' >ddup/patches/patch-ab << 'END-of-ddup/patches/patch-ab' X*** Makefile.orig Tue Aug 3 16:19:22 1999 X--- Makefile Mon Sep 20 02:30:49 1999 X*************** X*** 3,34 **** X # Change these options X X CC = gcc X! INSTALL_PATH = /usr/sbin X X # no need to edit past here X X all : ddup X X ddup : ddup.o parse_config.o parse_option.o getopt.o getopt1.o X! ${CC} -o ddup ddup.o getopt.o getopt1.o parse_config.o parse_option.o X X ddup.o : ddup.c X! ${CC} -c ddup.c X X getopt.o : getopt.c X! ${CC} -c getopt.c X X getopt1.o : getopt1.c X! ${CC} -c getopt1.c X X parse_config.o : parse_config.c X! ${CC} -c parse_config.c X X parse_option.o : parse_option.c X! ${CC} -c parse_option.c X X install : ddup X! cp ddup ${INSTALL_PATH}/ddup X X clean : X rm -f *.o ddup X--- 3,36 ---- X # Change these options X X CC = gcc X! INSTALL_PATH = ${PREFIX}/sbin X! CFLAGS = -DCONFIGFILE=\"${PREFIX}/etc/ddup.conf\" X X # no need to edit past here X X all : ddup X X ddup : ddup.o parse_config.o parse_option.o getopt.o getopt1.o X! ${CC} ${CFLAGS} -o ddup ddup.o getopt.o getopt1.o parse_config.o parse_option.o X X ddup.o : ddup.c X! ${CC} ${CFLAGS} -c ddup.c X X getopt.o : getopt.c X! ${CC} ${CFLAGS} -c getopt.c X X getopt1.o : getopt1.c X! ${CC} ${CFLAGS} -c getopt1.c X X parse_config.o : parse_config.c X! ${CC} ${CFLAGS} -c parse_config.c X X parse_option.o : parse_option.c X! ${CC} ${CFLAGS} -c parse_option.c X X install : ddup X! install -c -g wheel -o root ddup ${INSTALL_PATH}/ddup X! install -c -g wheel -o root ddup.conf ${PREFIX}/etc/ddup.conf.default X X clean : X rm -f *.o ddup END-of-ddup/patches/patch-ab echo x - ddup/patches/patch-ac sed 's/^X//' >ddup/patches/patch-ac << 'END-of-ddup/patches/patch-ac' X*** parse_config.c.orig Tue Aug 3 16:22:19 1999 X--- parse_config.c Mon Sep 20 02:23:19 1999 X*************** X*** 15,21 **** X X void read_config(char *username_ptr, char *pass_ptr) { X FILE *fptr; X! char *file_name = "/etc/ddup.conf"; X char line[20]; X char *string; X int x = 0; X--- 15,21 ---- X X void read_config(char *username_ptr, char *pass_ptr) { X FILE *fptr; X! char *file_name = CONFIGFILE; X char line[20]; X char *string; X int x = 0; END-of-ddup/patches/patch-ac exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909201610.MAA22287>