Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 22:20:02 -0700 (PDT)
From:      "Christopher J Michaels" <cjm2@altavista.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/13861: New port submission - ddup-2.0.4
Message-ID:  <199910010520.WAA72747@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/13861; it has been noted by GNATS.

From: "Christopher J Michaels" <cjm2@altavista.net>
To: <freebsd-gnats-submit@freebsd.org>, <cjm2@altavista.net>
Cc:  
Subject: Re: ports/13861: New port submission - ddup-2.0.4
Date: Fri, 1 Oct 1999 01:17:23 -0400

 Minor update to this port, added a man page.
 
 # 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
 # ddup/patches/patch-ad
 #
 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:  30 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
 XMAN1=  ddup.1
 XMANCOMPRESSED= no
 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 Tue Aug  3 16:17:10 1999
 X+++ INSTALL-C Thu Sep 23 11:09:20 1999
 X@@ -5,7 +5,7 @@
 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+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 Fri Oct  1 01:06:31 1999
 X@@ -3,32 +3,35 @@
 X # Change these options
 X
 X CC = gcc
 X-INSTALL_PATH = /usr/sbin
 X+INSTALL_PATH = ${PREFIX}/sbin
 X+DFLAGS = ${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} -o ddup ddup.o getopt.o getopt1.o parse_config.o parse_option.o
 X+ ${CC} ${DFLAGS} -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+ ${CC} ${DFLAGS} -c ddup.c
 X
 X getopt.o : getopt.c
 X- ${CC} -c getopt.c
 X+ ${CC} ${DFLAGS} -c getopt.c
 X
 X getopt1.o : getopt1.c
 X- ${CC} -c getopt1.c
 X+ ${CC} ${DFLAGS} -c getopt1.c
 X
 X parse_config.o : parse_config.c
 X- ${CC} -c parse_config.c
 X+ ${CC} ${DFLAGS} -c parse_config.c
 X
 X parse_option.o : parse_option.c
 X- ${CC} -c parse_option.c
 X+ ${CC} ${DFLAGS} -c parse_option.c
 X
 X install : ddup
 X- cp ddup ${INSTALL_PATH}/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+ install -c -g wheel -o root ddup.1 ${PREFIX}/man/man1/ddup.1
 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 Thu Sep 23 11:09:20 1999
 X@@ -15,7 +15,7 @@
 X
 X void read_config(char *username_ptr, char *pass_ptr) {
 X  FILE *fptr;
 X- char *file_name = "/etc/ddup.conf";
 X+ char *file_name = CONFIGFILE;
 X  char line[20];
 X  char *string;
 X  int x = 0;
 END-of-ddup/patches/patch-ac
 echo x - ddup/patches/patch-ad
 sed 's/^X//' >ddup/patches/patch-ad << 'END-of-ddup/patches/patch-ad'
 X--- ddup.1.orig Fri Oct  1 01:03:37 1999
 X+++ ddup.1 Fri Oct  1 00:52:43 1999
 X@@ -0,0 +1,89 @@
 X+.\" Man page for ddup
 X+.\"
 X+.\" Copyright (c) 1999, Thomas Gandy
 X+.\"
 X+.\" You may distribute under the terms of the GNU General Public
 X+.\" License as specified in the README file that comes with the ddup
 X+.\" distribution.
 X+.\"
 X+.\" Christopher J. Michaels
 X+.\" cjm2@earthling.net
 X+.\"
 X+.Dd Sept 30, 1999
 X+.Dt DDUP 1
 X+.Os
 X+.Sh NAME
 X+.Nm ddup
 X+.Nd Update a host with the DynDNS service
 X+.Sh SYNOPSIS
 X+.Nm ddup
 X+.Fl -host Ar host.domain.ext
 X+.Op Fl -ip Ar address
 X+.Op Fl -wildcard
 X+.Op Fl -mx Ar mxhost
 X+.OP Fl -backmx
 X+.Op Fl -proxyserv Ar server
 X+.Op Fl -proxyport Ar port
 X+.Op Fl -help
 X+.Op Fl -debug
 X+.Sh DESCRIPTION
 X+.Nm DDUP
 X+is a program that is used to update a host provided by the Free DynDNS
 service of DynDNS.org
 X+.Pp
 X+The options are as follows:
 X+.Bl -tag -width Fl
 X+.It Fl -host Ar host.domain.ext
 X+Hostname to update.  Where
 X+.Nm host.domain.ext
 X+is your domain.
 X+e.g. gandy.dyndns.org gandy.ath.cx
 X+.It Fl -ip Ar address
 X+Forces manual IP specification.  Where
 X+.Nm address
 X+is your IP address.
 X+.It Fl -wildcard
 X+Enables wildcard hostnames.  e.g. www.gandy.dyndns.org,
 mail.gandy.dyndns.org.
 X+.It Fl -mx Ar mxhost
 X+Sets the MX record for
 X+.Nm host.domain.ext
 X+to
 X+.Nm mxhost
 X+.
 X+.It Fl -backmx
 X+Needs
 X+.Nm -mx
 X+and sets your
 X+.Nm mxhost
 X+to be a backup MX record.
 X+.It Fl -proxyserv Ar server
 X+Use
 X+.Nm server
 X+as an HTTP proxy.
 X+It. Fl -proxyport Ar port
 X+Connect to the HTTP proxy at
 X+.Nm port
 X+.
 X+It. Fl -help
 X+List command line options.
 X+It. Fl -debug
 X+Prints debug output of what is sent to the DynDNS server.
 X+.Sh MX RECORDS
 X+.Nm MX
 X+stands for Mail Exchanger.  To use this feature you must find a host such
 as your
 X+Internet Service Provider that will setup their e-mail server to recieve
 mail for your
 X+domain.  If you haven't made arrangements with someone this field will not
 work
 X+PLEASE don't use it if you don't have a MX record setup on a different
 host.
 X+.Sh CONFIGURATION
 X+.Nm DDUP\'s
 X+configuration file has 3 options that need to be configured.
 X+.Bl -tag -width "allowed_user=          " -compact
 X+.It Nm allowed_user=
 X+Login name of user allowed to run ddup.
 X+There may be multiple
 X+.Nm allowed_user
 X+options in the configuration file, one to a line.
 X+.It Nm user=
 X+User name registered with DynDNS.org.
 X+.It Nm pass=
 X+Password for the above user name.
 X+.Sh FILES
 X+.Bl -tag -width "/etc/ddup.conf         "
 X+.It Pa /etc/ddup.conf
 X+Configuration file for ddup
 END-of-ddup/patches/patch-ad
 exit
 
 
 
 


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?199910010520.WAA72747>