Import of ddclient-3.6.2:

--
ddclient is a Perl client used to update dynamic DNS entries for accounts
on many dynamic DNS services.

WWW: http://burry.ca:4141/ddclient/

MAINTAINER=             Sam Smith <s@msmith.net>

- from maintainer, with lots of additional mods
This commit is contained in:
jsyn 2002-03-24 01:59:24 +00:00
parent 0f93cbde92
commit 4082ec931f
6 changed files with 140 additions and 0 deletions

30
net/ddclient/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/03/24 01:59:24 jsyn Exp $
COMMENT= "Dynamic DNS service update client"
DISTNAME= ddclient-3.6.2
CATEGORIES= net
NEED_VERSION= 1.515
HOMEPAGE= http://burry.ca:4141/ddclient/
MAINTAINER= Sam Smith <s@msmith.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://burry.ca:4141/ddclient/
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ddclient
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient
${INSTALL_DATA} ${WRKSRC}/sample* ${PREFIX}/share/examples/ddclient
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ddclient
.include <bsd.port.mk>

3
net/ddclient/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (ddclient-3.6.2.tar.gz) = 40741dbf315889b1bd1b08e36ca665c0
RMD160 (ddclient-3.6.2.tar.gz) = 2a449eb3c97a2c1488b2258138d2c67f985130ae
SHA1 (ddclient-3.6.2.tar.gz) = c449ccbb63315bd6a0390bbc9ea852848d451ec9

View File

@ -0,0 +1,25 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/03/24 01:59:24 jsyn Exp $
#
# ddclient de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/ddclient.conf
if [ -f ${CONFIG_FILE} ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f ${CONFIG_FILE}"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0

4
net/ddclient/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
ddclient is a Perl client used to update dynamic DNS entries for accounts
on many dynamic DNS services.
WWW: ${HOMEPAGE}

65
net/ddclient/pkg/INSTALL Normal file
View File

@ -0,0 +1,65 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2002/03/24 01:59:24 jsyn Exp $
#
# Pre/post-installation setup of ddclient
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/ddclient.conf
SAMPLE_CONFIG_FILE=${PREFIX}/share/examples/ddclient/sample-etc_ddclient.conf
do_notice()
{
echo
echo "+---------------"
echo "| The existing $1 configuration file, ${CONFIG_FILE},"
echo "| has NOT been changed. You may want to compare it to the"
echo "| current sample file, ${SAMPLE_CONFIG_FILE},"
echo "| and update your configuration as needed."
echo "+---------------"
echo
}
do_install()
{
install -o root -g wheel -m 600 ${SAMPLE_CONFIG_FILE} ${CONFIG_FILE}
echo
echo "+---------------"
echo "| The $1 configuration file, ${CONFIG_FILE},"
echo "| has been installed. Please view this file and change"
echo "| the configuration to meet your needs."
echo "+---------------"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ -f ${CONFIG_FILE} ]; then
do_notice $1
else
do_install $1
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

13
net/ddclient/pkg/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/03/24 01:59:24 jsyn Exp $
sbin/ddclient
share/doc/ddclient/README
share/doc/ddclient/README.cisco
share/examples/ddclient/sample-etc_cron.d_ddclient
share/examples/ddclient/sample-etc_ddclient.conf
share/examples/ddclient/sample-etc_dhclient-enter-hooks
share/examples/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
share/examples/ddclient/sample-etc_ppp_ip-up.local
share/examples/ddclient/sample-etc_rc.d_init.d_ddclient
share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.redhat
@dirrm share/examples/ddclient
@dirrm share/doc/ddclient