diff options
-rw-r--r-- | net/dynipclient/Makefile | 18 | ||||
-rw-r--r-- | net/dynipclient/PLIST | 4 | ||||
-rw-r--r-- | net/dynipclient/distinfo | 6 | ||||
-rwxr-xr-x | net/dynipclient/files/dynipclient.sh | 6 |
4 files changed, 23 insertions, 11 deletions
diff --git a/net/dynipclient/Makefile b/net/dynipclient/Makefile index 6eac7cd0dfc..b58b1800acc 100644 --- a/net/dynipclient/Makefile +++ b/net/dynipclient/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2003/07/17 22:51:08 grant Exp $ +# $NetBSD: Makefile,v 1.7 2003/07/30 12:01:26 jmmv Exp $ # DISTNAME= dynip_3.00 PKGNAME= dynipclient-3.00 -WRKSRC= ${WRKDIR} +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.dynip.com/software/unix/ @@ -11,13 +11,23 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.dynip.com/ COMMENT= Client for the dynip.com dynamic DNS service +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES + +RCD_SCRIPTS= dynipclient + +EGDIR= ${PREFIX}/share/examples/dynipclient +CONF_FILES= ${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg + do-build: - cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin /etc ${PREFIX}/man + cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \ + ${PREFIX}/man do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/man/man1/ - ${INSTALL_SCRIPT} ${FILESDIR}/dynipclient.sh ${PREFIX}/etc/rc.d/dynipclient + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR} .include "../../mk/bsd.pkg.mk" diff --git a/net/dynipclient/PLIST b/net/dynipclient/PLIST index 20d32c82c0f..a7d5710715a 100644 --- a/net/dynipclient/PLIST +++ b/net/dynipclient/PLIST @@ -1,6 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/27 01:36:10 tv Exp $ +@comment $NetBSD: PLIST,v 1.3 2003/07/30 12:01:26 jmmv Exp $ bin/dynipadmin bin/dynipclient etc/rc.d/dynipclient man/man1/dynipadmin.1 man/man1/dynipclient.1 +share/examples/dynipclient/dynip.cfg +@dirrm share/examples/dynipclient diff --git a/net/dynipclient/distinfo b/net/dynipclient/distinfo index 11164d78fda..409b8231220 100644 --- a/net/dynipclient/distinfo +++ b/net/dynipclient/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/08/28 13:10:46 tv Exp $ +$NetBSD: distinfo,v 1.2 2003/07/30 12:01:26 jmmv Exp $ -SHA1 (dynip_3.00.tar.gz) = 51f92eb9fbfcf2f12349c5e3673ea967cc3256d4 -Size (dynip_3.00.tar.gz) = 37239 bytes +SHA1 (dynip_3.00.tar.gz) = d1acee591e3ff51444f7dcbd7250c52a92a2d5f2 +Size (dynip_3.00.tar.gz) = 22443 bytes SHA1 (patch-aa) = ff1a5be64b46675f331b73415acdb04abc62936b SHA1 (patch-ab) = d17b71dababab0149322e6954757eb3e46d9383c diff --git a/net/dynipclient/files/dynipclient.sh b/net/dynipclient/files/dynipclient.sh index 0535e2c84c9..cf40921c330 100755 --- a/net/dynipclient/files/dynipclient.sh +++ b/net/dynipclient/files/dynipclient.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dynipclient.sh,v 1.2 2002/09/23 14:52:14 grant Exp $ +# $NetBSD: dynipclient.sh,v 1.3 2003/07/30 12:01:26 jmmv Exp $ # # PROVIDE: dynipclient # REQUIRE: NETWORK @@ -11,7 +11,7 @@ name="dynipclient" rcvar=$name command="@PREFIX@/bin/${name}" pidfile="/var/run/${name}.pid" -required_files="/etc/dynip.cfg" +required_files="@PKG_SYSCONFDIR@/dynip.cfg" load_rc_config $name run_rc_command "$1" |