diff options
Diffstat (limited to 'net/dhid')
-rw-r--r-- | net/dhid/Makefile | 12 | ||||
-rw-r--r-- | net/dhid/distinfo | 2 | ||||
-rw-r--r-- | net/dhid/files/patch-ab | 13 | ||||
-rw-r--r-- | net/dhid/pkg-plist | 3 |
4 files changed, 14 insertions, 16 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile index 8eea3762a59b..78a4c87bc0d9 100644 --- a/net/dhid/Makefile +++ b/net/dhid/Makefile @@ -1,31 +1,27 @@ # New ports collection makefile for: dhid -# Version required: 3.0 +# Version required: 3.1 # Date created: Sat Aug 21 06:13:59 EDT 1999 # Whom: Oryx Gazella <oryx@ungulate.net> # # $FreeBSD$ # -DISTNAME= dhid-3.0 +DISTNAME= dhid-3.1 CATEGORIES= net MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/ MAINTAINER= oryx@ungulate.net -MAN1= dtool.1 MAN8= dhid.8 post-patch: - @${ECHO} "===> Patching dtool script and dhid.h" - ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dtool + @${ECHO} "===> Patching dhid.h" ${PERL} -i -p -e "s^__PREFIX__^${PREFIX}^g" ${WRKSRC}/dhid.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin - ${INSTALL_SCRIPT} ${WRKSRC}/dtool ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/dhid.8 ${PREFIX}/man/man8 - ${INSTALL_MAN} ${WRKSRC}/dtool.1 ${PREFIX}/man/man1 - ${INSTALL} ${COPY} -o root -g wheel -m 600 ${WRKSRC}/dhid.conf ${PREFIX}/etc + ${INSTALL} ${COPY} -o root -g wheel -m 600 ${WRKSRC}/dhid.conf ${PREFIX}/etc/dhid.conf.sample post-install: @if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \ diff --git a/net/dhid/distinfo b/net/dhid/distinfo index 308d1382d5e3..096c43f441ba 100644 --- a/net/dhid/distinfo +++ b/net/dhid/distinfo @@ -1 +1 @@ -MD5 (dhid-3.0.tar.gz) = 36edaabe2d6fe00d88ac9c3c50b46050 +MD5 (dhid-3.1.tar.gz) = f419031035f79936592c8ecf97fbe62c diff --git a/net/dhid/files/patch-ab b/net/dhid/files/patch-ab index 9b8c48326762..bf91cebbd692 100644 --- a/net/dhid/files/patch-ab +++ b/net/dhid/files/patch-ab @@ -1,22 +1,25 @@ ---- Makefile.orig Tue Jun 22 07:30:37 1999 -+++ Makefile Sat Aug 21 04:41:26 1999 -@@ -25,15 +25,10 @@ +--- Makefile.orig Thu Jan 13 20:15:01 2000 ++++ Makefile Sun Jan 30 17:56:18 2000 +@@ -25,17 +25,13 @@ # - # DHIS(c) Dynamic Host Information System Release 3.0 + # DHIS(c) Dynamic Host Information System Release 3.1 -CC=cc -CFLAGS= -LFLAGS= -LIBS= ++CC?=cc RM=rm -f + all: dhid + dhid: conf.o endian.o network.o crypt.o main.o $(CC) $(LFLAGS) -o dhid conf.o endian.o network.o crypt.o main.o $(LIBS) - strip dhid main.o: dhid.h network.h conf.h main.c $(CC) $(CFLAGS) -c main.c -@@ -52,3 +47,5 @@ +@@ -54,3 +50,5 @@ clean: $(RM) *.core core dhid *.o diff --git a/net/dhid/pkg-plist b/net/dhid/pkg-plist index 3b4de5246d24..179602d78992 100644 --- a/net/dhid/pkg-plist +++ b/net/dhid/pkg-plist @@ -1,4 +1,3 @@ -bin/dtool -etc/dhid.conf +etc/dhid.conf.sample etc/rc.d/dhid.sh sbin/dhid |