aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ntimelord/Makefile27
-rw-r--r--net/ntimelord/distinfo1
-rw-r--r--net/ntimelord/files/patch-aa38
-rw-r--r--net/ntimelord/pkg-comment1
-rw-r--r--net/ntimelord/pkg-descr6
-rw-r--r--net/ntimelord/pkg-plist1
6 files changed, 74 insertions, 0 deletions
diff --git a/net/ntimelord/Makefile b/net/ntimelord/Makefile
new file mode 100644
index 000000000000..7961c11648a3
--- /dev/null
+++ b/net/ntimelord/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: ntimelord
+# Version required: 1.0
+# Date created: 29 Oct 1997
+# Whom: Takeru NAIKI <naiki@bfd.es.hokudai.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= ntimelord-1.0
+CATEGORIES= net
+MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= naiki@bfd.es.hokudai.ac.jp
+
+RUN_DEPENDS= ${PREFIX}/libexec/atalkd:${PORTSDIR}/net/netatalk
+
+post-install:
+ @$(ECHO_MSG) "============================================================"
+ @$(ECHO_MSG) " You must edit the file netatalk.sh installed with netatalk"
+ @$(ECHO_MSG) " to start timelord automatically at boot-time."
+ @$(ECHO_MSG) " "
+ @$(ECHO_MSG) " Client program tardis can find in timelord.1.4.shar.Z"
+ @$(ECHO_MSG) " which is in ftp://munnari.OZ.AU/mac/"
+ @$(ECHO_MSG) "============================================================"
+
+.include <bsd.port.mk>
diff --git a/net/ntimelord/distinfo b/net/ntimelord/distinfo
new file mode 100644
index 000000000000..85a7e8576f89
--- /dev/null
+++ b/net/ntimelord/distinfo
@@ -0,0 +1 @@
+MD5 (ntimelord-1.0.tar.Z) = 31acc3895db177325b9476b382eabb23
diff --git a/net/ntimelord/files/patch-aa b/net/ntimelord/files/patch-aa
new file mode 100644
index 000000000000..65a7335ddb3b
--- /dev/null
+++ b/net/ntimelord/files/patch-aa
@@ -0,0 +1,38 @@
+--- Makefile.orig Tue Jan 4 08:32:39 1994
++++ Makefile Wed Oct 29 20:39:54 1997
+@@ -1,5 +1,5 @@
+ # Set DESTDIR to the root of the netatalk installation:
+-DESTDIR=/usr/local/atalk
++DESTDIR=$(PREFIX)
+
+ SRC = timelord.c
+ OBJ = timelord.o
+@@ -18,7 +18,7 @@
+ ${CC} ${CFLAGS} -o timelord ${OBJ} ${LIBDIRS} ${LIBS}
+
+ install : all
+- ${INSTALL} -c timelord ${DESTDIR}/etc
++ ${INSTALL} -c timelord ${DESTDIR}/libexec
+
+ clean :
+ rm -f a.out core* *.o *.bak *[Ee]rrs tags
+--- timelord.c.orig Tue Jan 4 08:38:34 1994
++++ timelord.c Wed Oct 29 16:44:14 1997
+@@ -215,7 +215,7 @@
+ mtime = tv.tv_sec + tm->tm_gmtoff + EPOCH;
+ mtime = htonl( mtime );
+
+- resp = TL_OK;
++ resp = htonl(TL_OK);
+ bcopy( &resp, buf, sizeof( long ));
+ bcopy( &mtime, buf + sizeof( long ), sizeof( long ));
+ iov.iov_len = sizeof( long ) + sizeof( long );
+@@ -224,7 +224,7 @@
+ default :
+ syslog( LOG_ERR, bad );
+
+- resp = TL_BAD;
++ resp = htonl(TL_BAD);
+ bcopy( &resp, buf, sizeof( long ));
+ *( buf + 4 ) = (unsigned char)strlen( bad );
+ strcpy( buf + 5, bad );
diff --git a/net/ntimelord/pkg-comment b/net/ntimelord/pkg-comment
new file mode 100644
index 000000000000..b71d5a1d1847
--- /dev/null
+++ b/net/ntimelord/pkg-comment
@@ -0,0 +1 @@
+A time server daemon for Macintoshes running 'tardis' for netatalk
diff --git a/net/ntimelord/pkg-descr b/net/ntimelord/pkg-descr
new file mode 100644
index 000000000000..26abfb22619d
--- /dev/null
+++ b/net/ntimelord/pkg-descr
@@ -0,0 +1,6 @@
+A time server daemon for Macintoshes running 'tardis' for netatalk
+
+timelord provides the equivalent of the Macintosh cdev 'Timelord'
+for a network of Macintoshes. Timelord is a time server that can
+be used to set the Macintosh time at boot or from the Chooser
+using the rdev 'tardis'.
diff --git a/net/ntimelord/pkg-plist b/net/ntimelord/pkg-plist
new file mode 100644
index 000000000000..47a83d388953
--- /dev/null
+++ b/net/ntimelord/pkg-plist
@@ -0,0 +1 @@
+libexec/timelord