1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Finish updating port to 3.1:

* Correct executable name in etc/rc.d/dhid.sh
* Provide users with more information about configuring

Obtained from:	Maintainer
This commit is contained in:
Chris D. Faulhaber 2000-02-13 12:54:25 +00:00
parent 03ee0564ab
commit 0083e20040
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25745
10 changed files with 32 additions and 28 deletions

View File

@ -27,8 +27,13 @@ post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \
${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file."; \
${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/dhid.sh; \
${ECHO} "[ -x ${PREFIX}/bin/dtool ] && ${PREFIX}/bin/dtool -s > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \
${ECHO} "[ -x \"${PREFIX}/sbin/dhid\" -a -f \"${PREFIX}/etc/dhid.conf\" ] && ${PREFIX}/sbin/dhid > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \
chmod 751 ${PREFIX}/etc/rc.d/dhid.sh; \
fi
fi;
@${ECHO} "--------------------------------------------------------------------------"
@${ECHO} "Before dhid can run, you will need to register with a DHIS provider."
@${ECHO} "See http://www.dhis.org/dhis/services/ for a list of providers."
@${ECHO} "Enter the DHIS account information into the ${PREFIX}/etc/dhid.conf file."
@${ECHO} "--------------------------------------------------------------------------"
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.orig Thu Jan 13 20:15:01 2000
+++ Makefile Sun Jan 30 17:56:18 2000
--- Makefile.orig Thu Jan 13 23:15:01 2000
+++ Makefile Thu Feb 10 23:13:56 2000
@@ -25,17 +25,13 @@
#
# DHIS(c) Dynamic Host Information System Release 3.1
@ -19,9 +19,3 @@
main.o: dhid.h network.h conf.h main.c
$(CC) $(CFLAGS) -c main.c
@@ -54,3 +50,5 @@
clean:
$(RM) *.core core dhid *.o
+
+all: dhid

View File

@ -1 +1 @@
dhis client for updating dynamic DNS entries in dhisd DNS tables
DHIS client for updating dynamic DNS entries in dhisd DNS tables

View File

@ -1,14 +1,14 @@
DHIS Daemon Client release 3.0
DHIS Daemon Client release 3.1
==============================
dhid is the DHIS client daemon. dhid is used to update the DNS tables on
a DHIS provider.
If you haven't done so yet, you will need to register your host with a
DHIS provider. http://www.dhis.org/
DHIS provider. http://www.dhis.org/dhis/services/
dhid.conf should be configured according to the provider's assigned
parameters.
parameters. Use the dhid.conf.sample for a template.
- Oryx
oryx@ungulate.net

3
dns/dhid/pkg-message Normal file
View File

@ -0,0 +1,3 @@
Before dhid can run, you will need to register with a DHIS provider.
See http://www.dhis.org/dhis/services/ for a list of providers.
Enter the DHIS account information into the dhid.conf file.

View File

@ -27,8 +27,13 @@ post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \
${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file."; \
${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/dhid.sh; \
${ECHO} "[ -x ${PREFIX}/bin/dtool ] && ${PREFIX}/bin/dtool -s > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \
${ECHO} "[ -x \"${PREFIX}/sbin/dhid\" -a -f \"${PREFIX}/etc/dhid.conf\" ] && ${PREFIX}/sbin/dhid > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \
chmod 751 ${PREFIX}/etc/rc.d/dhid.sh; \
fi
fi;
@${ECHO} "--------------------------------------------------------------------------"
@${ECHO} "Before dhid can run, you will need to register with a DHIS provider."
@${ECHO} "See http://www.dhis.org/dhis/services/ for a list of providers."
@${ECHO} "Enter the DHIS account information into the ${PREFIX}/etc/dhid.conf file."
@${ECHO} "--------------------------------------------------------------------------"
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.orig Thu Jan 13 20:15:01 2000
+++ Makefile Sun Jan 30 17:56:18 2000
--- Makefile.orig Thu Jan 13 23:15:01 2000
+++ Makefile Thu Feb 10 23:13:56 2000
@@ -25,17 +25,13 @@
#
# DHIS(c) Dynamic Host Information System Release 3.1
@ -19,9 +19,3 @@
main.o: dhid.h network.h conf.h main.c
$(CC) $(CFLAGS) -c main.c
@@ -54,3 +50,5 @@
clean:
$(RM) *.core core dhid *.o
+
+all: dhid

View File

@ -1 +1 @@
dhis client for updating dynamic DNS entries in dhisd DNS tables
DHIS client for updating dynamic DNS entries in dhisd DNS tables

View File

@ -1,14 +1,14 @@
DHIS Daemon Client release 3.0
DHIS Daemon Client release 3.1
==============================
dhid is the DHIS client daemon. dhid is used to update the DNS tables on
a DHIS provider.
If you haven't done so yet, you will need to register your host with a
DHIS provider. http://www.dhis.org/
DHIS provider. http://www.dhis.org/dhis/services/
dhid.conf should be configured according to the provider's assigned
parameters.
parameters. Use the dhid.conf.sample for a template.
- Oryx
oryx@ungulate.net

3
net/dhid/pkg-message Normal file
View File

@ -0,0 +1,3 @@
Before dhid can run, you will need to register with a DHIS provider.
See http://www.dhis.org/dhis/services/ for a list of providers.
Enter the DHIS account information into the dhid.conf file.