Update to 2.2

PR: 16822
Submitted by: maintainer
This commit is contained in:
Satoshi Taoka 2000-02-23 02:52:35 +00:00
parent 214f11c865
commit 5b7c1e126d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26189
10 changed files with 80 additions and 24 deletions

View File

@ -6,26 +6,45 @@
# $FreeBSD$
#
DISTNAME= ddup-2.1
DISTNAME= ddup-2.2Dm
PKGNAME= ddup-2.2
CATEGORIES= net
MASTER_SITES= ftp://gandy.dyndns.org/pub/ddup/ \
http://www.phix.com/~java/
MASTER_SITES= ftp://ddup.sourceforge.net/pub/ddup/
MAINTAINER= cjm2@altavista.net
WRKSRC= ${WRKDIR}/ddup-nic
MAN1= ddup.1
MANCOMPRESSED= yes
WRKSRC= ${WRKDIR}/ddup-2.2Dm
# Uncomment this if you want to enable debugging.
#DEBUG= -g
pre-build:
${ECHO} "char *file_name = \"${PREFIX}/etc/ddup.conf\";" > ${WRKSRC}/options.h
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c ddup.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c ddup_functions.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c getopt.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c getopt1.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c parse_config.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c parse_option.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c update.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -o ddup ddup.o ddup_functions.o getopt.o getopt1.o parse_config.o parse_option.o update.o ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ddup ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/testip ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/ddup.1.gz ${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/ddup.conf ${PREFIX}/etc/ddup.conf.default
${INSTALL_MAN} ${WRKSRC}/ddup.1.gz ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/INSTALL-C ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/ddup
post-install:
strip ${PREFIX}/sbin/ddup
${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ddup-2.1.tar.gz) = 3dd30ae02503b23b47a61e428ac9fdcb
MD5 (ddup-2.2Dm.tar.gz) = d05ac8fda0409d8e9bb8e964aa94104c

View File

@ -4,7 +4,6 @@ DD-UP in C by Thomas Gandy (tegandy@enid.com)
DD-UP is a program that is used to update a host
provided by the Free DynDNS service of dyndns.org.
WWW: http://www.gandy.dyndns.org/~thomas/ddup.shtml
WWW: http://ddup.sourceforce.net/
- Chris
cjm2@altavista.net
EMAIL: cjm2@altavista.net

10
dns/ddup/pkg-message Normal file
View File

@ -0,0 +1,10 @@
********************************************************
*** If you are upgrading or are a first time user ***
*** you MUST make your configuration file by typing ***
*** ddup --makeconf ***
********************************************************
********************************************************
*** If you are upgrading or are a first time user ***
*** you MUST make your configuration file by typing ***
*** ddup --makeconf ***
********************************************************

View File

@ -1,6 +1,6 @@
etc/ddup.conf.default
sbin/ddup
sbin/testip
share/doc/ddup/README
share/doc/ddup/INSTALL-C
share/doc/ddup/COPYING
@dirrm share/doc/ddup

View File

@ -6,26 +6,45 @@
# $FreeBSD$
#
DISTNAME= ddup-2.1
DISTNAME= ddup-2.2Dm
PKGNAME= ddup-2.2
CATEGORIES= net
MASTER_SITES= ftp://gandy.dyndns.org/pub/ddup/ \
http://www.phix.com/~java/
MASTER_SITES= ftp://ddup.sourceforge.net/pub/ddup/
MAINTAINER= cjm2@altavista.net
WRKSRC= ${WRKDIR}/ddup-nic
MAN1= ddup.1
MANCOMPRESSED= yes
WRKSRC= ${WRKDIR}/ddup-2.2Dm
# Uncomment this if you want to enable debugging.
#DEBUG= -g
pre-build:
${ECHO} "char *file_name = \"${PREFIX}/etc/ddup.conf\";" > ${WRKSRC}/options.h
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c ddup.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c ddup_functions.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c getopt.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c getopt1.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c parse_config.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c parse_option.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -c update.c
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEBUG} -o ddup ddup.o ddup_functions.o getopt.o getopt1.o parse_config.o parse_option.o update.o ${LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ddup ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/testip ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/ddup.1.gz ${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/ddup.conf ${PREFIX}/etc/ddup.conf.default
${INSTALL_MAN} ${WRKSRC}/ddup.1.gz ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/INSTALL-C ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/ddup
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/ddup
post-install:
strip ${PREFIX}/sbin/ddup
${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (ddup-2.1.tar.gz) = 3dd30ae02503b23b47a61e428ac9fdcb
MD5 (ddup-2.2Dm.tar.gz) = d05ac8fda0409d8e9bb8e964aa94104c

View File

@ -4,7 +4,6 @@ DD-UP in C by Thomas Gandy (tegandy@enid.com)
DD-UP is a program that is used to update a host
provided by the Free DynDNS service of dyndns.org.
WWW: http://www.gandy.dyndns.org/~thomas/ddup.shtml
WWW: http://ddup.sourceforce.net/
- Chris
cjm2@altavista.net
EMAIL: cjm2@altavista.net

10
net/ddup/pkg-message Normal file
View File

@ -0,0 +1,10 @@
********************************************************
*** If you are upgrading or are a first time user ***
*** you MUST make your configuration file by typing ***
*** ddup --makeconf ***
********************************************************
********************************************************
*** If you are upgrading or are a first time user ***
*** you MUST make your configuration file by typing ***
*** ddup --makeconf ***
********************************************************

View File

@ -1,6 +1,6 @@
etc/ddup.conf.default
sbin/ddup
sbin/testip
share/doc/ddup/README
share/doc/ddup/INSTALL-C
share/doc/ddup/COPYING
@dirrm share/doc/ddup