pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/zephyr Reimport chat/zephyr-current as chat/zephyr.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e81590695039
branches:  trunk
changeset: 461485:e81590695039
user:      seb <seb%pkgsrc.org@localhost>
date:      Tue Sep 16 19:41:50 2003 +0000

description:
Reimport chat/zephyr-current as chat/zephyr.
Approved by maintainer, sommerfeld@

diffstat:

 chat/zephyr/DESCR            |   6 +++++
 chat/zephyr/Makefile         |  49 ++++++++++++++++++++++++++++++++++++++++++++
 chat/zephyr/PLIST            |  49 ++++++++++++++++++++++++++++++++++++++++++++
 chat/zephyr/buildlink2.mk    |  20 +++++++++++++++++
 chat/zephyr/distinfo         |  15 +++++++++++++
 chat/zephyr/files/zhm.sh     |  22 +++++++++++++++++++
 chat/zephyr/patches/patch-aa |  13 +++++++++++
 chat/zephyr/patches/patch-ab |  15 +++++++++++++
 chat/zephyr/patches/patch-ac |  13 +++++++++++
 chat/zephyr/patches/patch-ad |  16 ++++++++++++++
 chat/zephyr/patches/patch-ae |  46 +++++++++++++++++++++++++++++++++++++++++
 chat/zephyr/patches/patch-af |  14 ++++++++++++
 chat/zephyr/patches/patch-ag |  24 +++++++++++++++++++++
 chat/zephyr/patches/patch-ah |  15 +++++++++++++
 chat/zephyr/patches/patch-ai |  13 +++++++++++
 chat/zephyr/patches/patch-aj |  24 +++++++++++++++++++++
 chat/zephyr/patches/patch-ak |  13 +++++++++++
 17 files changed, 367 insertions(+), 0 deletions(-)

diffs (truncated from 435 to 300 lines):

diff -r fd66106ce1ff -r e81590695039 chat/zephyr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/DESCR Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,6 @@
+This is the Project Athena Zephyr notification system 2001/05/28
+snapshot.
+
+Zephyr allows users to send messages to other users or to groups of
+users. Users can view incoming Zephyr messages as windowgrams
+(transient X windows) or as text on a terminal.
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/Makefile      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+#
+
+DISTNAME=      zephyr-20010518
+PKGREVISION=   1
+WRKSRC=                ${WRKDIR}/zephyr
+CATEGORIES=    chat net
+MASTER_SITES=  ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/
+
+MAINTAINER=    sommerfeld%NetBSD.org@localhost
+HOMEPAGE=      http://web.mit.edu/olh/Zephyr/index.html
+COMMENT=       Project Athena's original Instant Messaging system
+
+USE_BUILDLINK2=        YES
+USE_PKGINSTALL=        YES
+GNU_CONFIGURE= YES
+USE_X11=       YES
+
+# N.B. the following assume NetBSD-only. 
+CPPFLAGS+=      -I/usr/include/kerberosIV -I/usr/include/krb5
+LDFLAGS+=       -lroken -lcrypto -lcom_err -ledit -lcurses
+CONFIGURE_ARGS=        --sysconfdir="${PKG_SYSCONFDIR}"
+CONFIGURE_ARGS+="--with-krb4"
+CONFIGURE_ARGS+="--with-hesiod"
+CONFIGURE_ARGS+="--with-ares"
+
+ZEPHYR_DOCDIR= ${PREFIX}/share/doc/zephyr
+ZEPHYR_DOCS=   INSTALL NOTES OPERATING README USING
+
+PKG_SYSCONFSUBDIR=     zephyr
+OWN_DIRS=              ${PKG_SYSCONFDIR}/acl
+EGDIR=                 ${PREFIX}/share/examples/zephyr
+CONF_FILES=            ${EGDIR}/default.subscriptions \
+                       ${PKG_SYSCONFDIR}/default.subscriptions
+
+RCD_SCRIPTS=           zhm
+
+pre-install:
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA_DIR} ${ZEPHYR_DOCDIR}
+.for f in ${ZEPHYR_DOCS}
+       ${INSTALL_DATA} ${WRKSRC}/$f ${ZEPHYR_DOCDIR}
+.endfor
+.undef f
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../net/hesiod/buildlink2.mk"
+.include "../../net/libares/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/PLIST Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+bin/xzwrite
+bin/zaway
+bin/zctl
+bin/zleave
+bin/zlocate
+bin/zmailnotify
+bin/znol
+bin/zstat
+bin/zwgc
+bin/zwrite
+etc/rc.d/zhm
+include/zephyr/mit-copyright.h
+include/zephyr/zephyr.h
+include/zephyr/zephyr_err.h
+lib/libzephyr.a
+man/man1/xzwrite.1
+man/man1/zaway.1
+man/man1/zctl.1
+man/man1/zephyr.1
+man/man1/zleave.1
+man/man1/zlocate.1
+man/man1/zmailnotify.1
+man/man1/znol.1
+man/man1/zwgc.1
+man/man1/zwrite.1
+man/man8/zephyrd.8
+man/man8/zhm.8
+man/man8/zpopnotify.8
+man/man8/zshutdown_notify.8
+man/man8/zstat.8
+sbin/zephyrd
+sbin/zhm
+sbin/zpopnotify
+sbin/zshutdown_notify
+share/doc/zephyr/INSTALL
+share/doc/zephyr/NOTES
+share/doc/zephyr/OPERATING
+share/doc/zephyr/README
+share/doc/zephyr/USING
+share/examples/zephyr/default.subscriptions
+share/zephyr/XZwrite
+share/zephyr/xzwrite.bitmap
+share/zephyr/zwgc.desc
+share/zephyr/zwgc_resources
+@dirrm share/zephyr
+@dirrm share/examples/zephyr
+@dirrm share/doc/zephyr
+@dirrm include/zephyr
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/buildlink2.mk Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+.if !defined(ZEPHYR_BUILDLINK2_MK)
+ZEPHYR_BUILDLINK2_MK=  # defined
+
+BUILDLINK_DEPENDS.zephyr?=     zephyr>=20010518
+BUILDLINK_PKGSRCDIR.zephyr?=   ../../chat/zephyr-current
+
+BUILDLINK_PACKAGES+=   zephyr
+EVAL_PREFIX+=          BUILDLINK_PREFIX.zephyr=zephyr
+BUILDLINK_PREFIX.zephyr_DEFAULT=       ${LOCALBASE}
+
+BUILDLINK_FILES.zephyr=                include/zephyr/*
+BUILDLINK_FILES.zephyr+=       lib/libzephyr.*
+
+BUILDLINK_TARGETS+=    zephyr-buildlink
+
+zephyr-buildlink: _BUILDLINK_USE
+
+.endif # ZEPHYR_BUILDLINK2_MK
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/distinfo      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+SHA1 (zephyr-20010518.tar.gz) = cd2fca9c2f0bfaa8e69c94813bedc87d66d3ac1c
+Size (zephyr-20010518.tar.gz) = 342259 bytes
+SHA1 (patch-aa) = f4338f0da9085e1780c52c9b2be2366b7a0f22c2
+SHA1 (patch-ab) = 61cbadf511806c1c16e489ac6d14de347b09277a
+SHA1 (patch-ac) = db350fc16d88818d4cce287fad220a2c3e84dabe
+SHA1 (patch-ad) = b0f8c408afc2e7fe9a673a5f2ec562a3e34e225c
+SHA1 (patch-ae) = 76b4a43282f3d8d8d42d72f66c677a652ff33e22
+SHA1 (patch-af) = 4ebb22fa3c1b2ed351ee267be737d34d8292129c
+SHA1 (patch-ag) = 2c756da1e62613333cca2b68ca9b5f6c96e0f147
+SHA1 (patch-ah) = 8282d416d24eafcb40ead93d4c376f1e8e80b207
+SHA1 (patch-ai) = bfa2d01d20884d31e58bd12a171938504d929e28
+SHA1 (patch-aj) = 3ec4b1624e2eecefe129ac53e870ce2fb2bce236
+SHA1 (patch-ak) = 7c2084aac1e4b30124c380fbc369cb6a6b41eb17
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/files/zhm.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/files/zhm.sh  Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,22 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: zhm.sh,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+#
+# PROVIDE: zhm
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="zhm"
+rcvar="$name"
+command="@PREFIX@/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="@PKG_SYSCONFDIR@/server.list"
+start_precmd="zhm_precmd"
+
+zhm_precmd()
+{
+       rc_flags="`cat @PKG_SYSCONFDIR@/server.list`"
+}
+load_rc_config "$name"
+run_rc_command "$1"
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-aa      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+--- lib/Makefile.in.orig       Sat Jan 31 18:55:07 1998
++++ lib/Makefile.in
+@@ -42,7 +42,7 @@ libzephyr.a: ${OBJS}
+ 
+ zephyr_err.c ${BUILDTOP}/h/zephyr/zephyr_err.h: zephyr_err.et
+       compile_et ${srcdir}/zephyr_err.et
+-      mv zephyr_err.h ${BUILDTOP}/h/zephyr
++      cp zephyr_err.h ${BUILDTOP}/h/zephyr
+ 
+ .c.o:
+       ${CC} -c ${ALL_CFLAGS} $<
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-ab      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+--- lib/ZMkAuth.c.orig Fri Jan 22 18:19:16 1999
++++ lib/ZMkAuth.c
+@@ -42,7 +42,9 @@ Code_t ZMakeAuthentication(notice, buffe
+     char *cstart, *cend;
+     ZChecksum_t checksum;
+     CREDENTIALS cred;
+-    extern unsigned long des_quad_cksum();
++#ifdef ERROR_TABLE_BASE_krb
++#define krb_err_base ERROR_TABLE_BASE_krb
++#endif
+ 
+     now = time(0);
+     if (last_authent_time == 0 || (now - last_authent_time > 120)) {
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-ac      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+--- clients/zctl/zctl.c.orig   Thu Aug 12 20:19:38 1999
++++ clients/zctl/zctl.c
+@@ -12,7 +12,7 @@
+ 
+ #include <sysdep.h>
+ #include <zephyr/zephyr.h>
+-#include <ss/ss.h>
++#include <ss.h>
+ #include <com_err.h>
+ #include <pwd.h>
+ #include <netdb.h>
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-ad      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+--- server/zserver.h.orig      Mon Feb 26 23:58:14 2001
++++ server/zserver.h
+@@ -268,9 +268,9 @@ void sweep_ticket_hash_table __P((void *
+ #ifndef NOENCRYPTION
+ Sched *check_key_sched_cache __P((des_cblock key));
+ void add_to_key_sched_cache __P((des_cblock key, Sched *sched));
+-int krb_set_key __P((char *key, int cvt));
++int krb_set_key __P((void *key, int cvt));
+ int krb_rd_req __P((KTEXT authent, char *service, char *instance,
+-                  unsigned KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
++                  KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
+ int krb_find_ticket __P((KTEXT authent, KTEXT ticket));
+ int krb_get_lrealm __P((char *r, int n));
+ #endif
diff -r fd66106ce1ff -r e81590695039 chat/zephyr/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/zephyr/patches/patch-ae      Tue Sep 16 19:41:50 2003 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $
+
+--- server/kopt.c.orig Mon Feb 26 23:48:01 2001
++++ server/kopt.c
+@@ -161,7 +161,7 @@ void add_to_key_sched_cache(key, sched)
+ 
+ int
+ krb_set_key(key,cvt)
+-    char *key;
++    void *key;
+     int cvt;
+ {
+ #ifdef NOENCRYPTION
+@@ -172,7 +172,7 @@ krb_set_key(key,cvt)
+     int ret;
+ 
+     if (cvt)
+-      string_to_key(key,serv_key);
++      string_to_key((char *)key,serv_key);
+     else
+       memcpy((char *)serv_key,key,8);
+ 
+@@ -187,6 +187,14 @@ krb_set_key(key,cvt)
+ #endif /* NOENCRYPTION */
+ }
+ 
++static u_long
++swap_u_long(u_long x)
++{
++      return ((x & 0xff000000) >> 24) |
++          ((x & 0x00ff0000) >> 8) |
++          ((x & 0x0000ff00) << 8) |
++          ((x & 0x000000ff) << 24);
++}
+ 
+ /*
+  * krb_rd_req() takes an AUTH_MSG_APPL_REQUEST or
+@@ -234,7 +242,7 @@ krb_rd_req(authent,service,instance,from



Home | Main Index | Thread Index | Old Index