]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
Added debian changes for version 2.1.20000421.SNAPSHOT-5
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 19 Feb 2001 23:33:05 +0000 (23:33 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 19 Feb 2001 23:33:05 +0000 (23:33 +0000)
git-svn-id: svn://svn.1ts.org/debian/trunk/zephyr@13 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

48 files changed:
clients/xzwrite/XZwrite [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
debian/acl/class-registry.acl [new file with mode: 0644]
debian/acl/iui-operations.acl [new file with mode: 0644]
debian/acl/iws-operations.acl [new file with mode: 0644]
debian/acl/sub-login.acl [new file with mode: 0644]
debian/acl/sub-operations.acl [new file with mode: 0644]
debian/acl/sub-user_locate.acl [new file with mode: 0644]
debian/acl/xmt-login.acl [new file with mode: 0644]
debian/acl/xmt-user_locate.acl [new file with mode: 0644]
debian/acl/xmt-zephyr_ctl.acl [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/cron.d.ex [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/emacsen-install.ex [new file with mode: 0644]
debian/emacsen-remove.ex [new file with mode: 0644]
debian/emacsen-startup.ex [new file with mode: 0644]
debian/ex.doc-base.package [new file with mode: 0644]
debian/init.d.ex [new file with mode: 0644]
debian/libzephyr-dev.files [new file with mode: 0644]
debian/manpage.1.ex [new file with mode: 0644]
debian/manpage.sgml.ex [new file with mode: 0644]
debian/menu.ex [new file with mode: 0644]
debian/postinst.ex [new file with mode: 0644]
debian/postrm.ex [new file with mode: 0644]
debian/preinst.ex [new file with mode: 0644]
debian/prerm.ex [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch.ex [new file with mode: 0644]
debian/zephyr-client.config [new file with mode: 0644]
debian/zephyr-client.files [new file with mode: 0644]
debian/zephyr-client.init [new file with mode: 0644]
debian/zephyr-client.postinst [new file with mode: 0644]
debian/zephyr-client.prerm [new file with mode: 0644]
debian/zephyr-client.templates [new file with mode: 0644]
debian/zephyr-server.config [new file with mode: 0644]
debian/zephyr-server.files [new file with mode: 0644]
debian/zephyr-server.init [new file with mode: 0644]
debian/zephyr-server.postinst [new file with mode: 0644]
debian/zephyr-server.templates [new file with mode: 0644]
debian/zephyr.vars [new file with mode: 0644]
h/zephyr/zephyr_err.h [new file with mode: 0644]
lib/ZVariables.c
server/version.h [new file with mode: 0644]
zhm/zhm.c

diff --git a/clients/xzwrite/XZwrite b/clients/xzwrite/XZwrite
new file mode 100644 (file)
index 0000000..3745263
--- /dev/null
@@ -0,0 +1,249 @@
+! @configure_input@
+
+*resize: on
+*allowShellResize: on
+
+*reverseVideo:         on
+*maxYanks:             25
+*ping:                 on
+*verbose:              on
+*auth:                 on
+*yankDest:             off
+*addGlobals:           on
+*classInst:            on
+*closeOnSend:          off
+*trackLogins:          on
+*pongScan:             off
+*readAnyone:           on
+*readXzwrite:          on
+
+*icon.bitmap:          /usr/share/zephyr/xzwrite.bitmap
+*icon.translations:    #override\
+       <BtnDown>:      set() \n\
+       <Btn1Up>:       OpenSend() unset() \n\
+       Ctrl<Btn2Up>:   Quit() \n\
+       <Btn3Up>:       OpenMenu() unset()
+
+*sendForm.defaultDistance: -1
+*sendForm.borderWidth: 0
+
+*sendClose.label:      Close Window
+*sendClose.top:                ChainTop
+*sendClose.bottom:     ChainTop
+*sendClose.left:       ChainLeft
+*sendClose.right:      ChainRight
+*sendClose.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        CloseSend() unset() \n\
+
+*editPane.fromVert:    sendClose
+*editPane.top:         ChainTop
+*editPane.bottom:      ChainBottom
+*editPane.left:                ChainLeft
+
+*editTitle.showGrip:   false
+*editTitle.borderWidth:        0
+
+*editForm.showGrip:    false
+*editForm.borderWidth: 2
+*editForm.borderColor: black
+
+*editSend.label:       Send Message
+*editSend.left:                ChainLeft
+*editSend.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        YankStore() SendMessage() unset() \n\
+
+*editClear.label:      Clear Editor
+*editClear.fromHoriz:  editSend
+*editClear.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        ClearEditor() unset() \n\
+
+*editPrev.label:       Yank-Prev
+*editPrev.fromHoriz:   editClear
+*editPrev.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        YankPrev() unset() \n\
+
+*editNext.label:       Yank-Next
+*editNext.fromHoriz:   editPrev
+*editNext.right:       ChainRight
+*editNext.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        YankNext() unset() \n\
+
+*editor.height:                130
+*editor*editType:      edit
+*editor*wrap:          never
+*editor*autoFill:      true
+*editor*useStringInPlace: false
+*editor.translations:  #override\
+       Ctrl<Key>Return: YankStore() SendMessage() ClearEditor() \n\
+       Ctrl<Key>Y:     YankStore() YankPrev() \n\
+       Meta<Key>O:     YankStore() YankPrev() \n\
+       Meta<Key>P:     YankPrev() \n\
+       Meta<Key>N:     YankNext()
+
+*destForm.borderWidth: 0
+*destForm.defaultDistance: 0
+*destForm.fromVert:    sendClose
+*destForm.top:         ChainTop
+*destForm.bottom:      ChainBottom
+*destForm.right:       ChainRight
+*destForm.fromHoriz:   editPane
+
+*destScroll.top:       ChainTop
+*destScroll.bottom:    ChainBottom
+*destScroll.left:      ChainLeft
+*destScroll.right:     ChainRight
+*destScroll.height:    178
+*destScroll.resizable: false
+*destScroll.allowVert: true
+*destScroll.allowHoriz: false
+*destScroll.forceBars:  true
+
+*destList.forceColumns:        on
+*destList.defaultColumns: 1
+*destList.translations: #override\
+       <Motion>:       Set() \n\
+       <Btn1Up>:       Set() SelectDest() Unset() \n\
+       <Btn2Up>:       CreateDest() \n\
+       <Btn3Up>:       Set() DeleteDest() Unset() \n\
+       <LeaveWindow>:  Unset()
+
+*menuClose.label:      Close Window
+*menuClose.top:                ChainTop
+*menuClose.left:       ChainLeft
+*menuClose.right:      ChainRight
+*menuClose.width:      200
+*menuClose.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        CloseMenu() unset() \n\
+
+*signature.label:      Change Signature
+*signature.fromVert:   menuClose
+*signature.left:       ChainLeft
+*signature.right:      ChainRight
+*signature.width:      200
+*signature.translations: #override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        Signature()
+
+*clearOnSend.label:    Clear On Send
+*clearOnSend.fromVert: signature
+*clearOnSend.left:     ChainLeft
+*clearOnSend.right:    ChainRight
+*clearOnSend.width:    200
+*clearOnSend.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*closeOnSend.label:    Close On Send
+*closeOnSend.fromVert: clearOnSend
+*closeOnSend.left:     ChainLeft
+*closeOnSend.right:    ChainRight
+*closeOnSend.width:    200
+*closeOnSend.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*pings.label:          Pings
+*pings.fromVert:       closeOnSend
+*pings.left:           ChainLeft
+*pings.right:          ChainRight
+*pings.width:          200
+*pings.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*verbose.label:                Verbose
+*verbose.fromVert:     pings
+*verbose.left:         ChainLeft
+*verbose.right:                ChainRight
+*verbose.width:                200
+*verbose.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*authentic.label:      Authenticate
+*authentic.fromVert:   verbose
+*authentic.left:       ChainLeft
+*authentic.right:      ChainRight
+
+*authentic.width:      200
+*authentic.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*yankDest.label:       Yank Destinations
+*yankDest.fromVert:    authentic
+*yankDest.left:                ChainLeft
+*yankDest.right:       ChainRight
+*yankDest.width:       200
+*yankDest.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*addGlobals.label:     Add Globals
+*addGlobals.fromVert:  yankDest
+*addGlobals.left:      ChainLeft
+*addGlobals.right:     ChainRight
+*addGlobals.width:     200
+*addGlobals.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*classInst.label:      Class/Inst
+*classInst.fromVert:   addGlobals
+*classInst.left:       ChainLeft
+*classInst.right:      ChainRight
+*classInst.width:      200
+*classInst.translations: #override\
+       <BtnDown>,<BtnUp>: toggle() ToggleOption()
+
+*exitProgram.label:    Quit XZWRITE
+*exitProgram.fromVert: classInst
+*exitProgram.left:     ChainLeft
+*exitProgram.right:    ChainRight
+*exitProgram.width:    200
+*exitProgram.translations:#override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        Quit()
+
+*getStringWindow.resize: true
+
+*getStringTitle.borderWidth: 0
+*getStringTitle.top:    ChainTop
+*getStringTitle.bottom: ChainTop
+*getStringTitle.left:   ChainLeft
+*getStringTitle.right:  ChainRight
+
+*getStringForm.width:   210
+
+*getStringEdit*editType: edit
+*getStringEdit.resize:  width
+*getStringEdit.resizable: true
+*getStringEdit.top:     ChainTop
+*getStringEdit.bottom:  ChainTop
+*getStringEdit.left:    ChainLeft
+*getStringEdit.right:   ChainRight
+*getStringEdit.fromVert: getStringTitle
+*getStringEdit.translations:   #override\
+       <Key>Return:    Accept() \n\
+
+*getStringAccept.width: 105
+*getStringAccept.label: Accept
+*getStringAccept.fromVert: getStringEdit
+*getStringAccept.top:   ChainTop
+*getStringAccept.bottom: ChainTop
+*getStringAccept.left:  ChainRight
+*getStringAccept.right: ChainRight
+*getStringAccept.translations: #override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        Accept() unset()
+
+*getStringCancel.width: 105
+*getStringCancel.label: Cancel
+*getStringCancel.fromVert: getStringEdit
+*getStringCancel.fromHoriz: getStringAccept
+*getStringCancel.top:   ChainTop
+*getStringCancel.bottom: ChainTop
+*getStringCancel.left: ChainRight
+*getStringCancel.right: ChainRight
+*getStringCancel.translations: #override\
+       <BtnDown>:      set() \n\
+       <BtnUp>:        Cancel() unset()
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..4603352
--- /dev/null
@@ -0,0 +1,6 @@
+zephyr for Debian
+----------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Karl Ramm <kcr@1ts.org>, Mon,  4 Dec 2000 05:28:22 -0500
diff --git a/debian/acl/class-registry.acl b/debian/acl/class-registry.acl
new file mode 100644 (file)
index 0000000..272e138
--- /dev/null
@@ -0,0 +1,9 @@
+wg_ctl:
+hm_ctl:
+hm_stat:
+locate:
+login:
+zephyr_admin:
+zephyr_ctl:
+zmatch_all:
+operations:
diff --git a/debian/acl/iui-operations.acl b/debian/acl/iui-operations.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/iws-operations.acl b/debian/acl/iws-operations.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/sub-login.acl b/debian/acl/sub-login.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/sub-operations.acl b/debian/acl/sub-operations.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/sub-user_locate.acl b/debian/acl/sub-user_locate.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/xmt-login.acl b/debian/acl/xmt-login.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/xmt-user_locate.acl b/debian/acl/xmt-user_locate.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/acl/xmt-zephyr_ctl.acl b/debian/acl/xmt-zephyr_ctl.acl
new file mode 100644 (file)
index 0000000..74c91fb
--- /dev/null
@@ -0,0 +1 @@
+*.*@*
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..230d095
--- /dev/null
@@ -0,0 +1,38 @@
+zephyr (2.1.20000421.SNAPSHOT-5) unstable; urgency=low
+
+  * fix braino in my debconf stuff.
+
+ -- Karl C. Ramm <kcr@permabit.com>  Wed,  7 Feb 2001 17:18:45 -0500
+
+zephyr (2.1.20000421.SNAPSHOT-4) unstable; urgency=low
+
+  * rename /etc/zephyr/zephyr.conf to /etc/default/zephyr-client
+  * fix bug in zephyr-client postinst
+
+ -- Karl C. Ramm <kcr@permabit.com>  Wed,  7 Feb 2001 17:00:51 -0500
+
+zephyr (2.1.20000421.SNAPSHOT-3) unstable; urgency=low
+
+  * make the acl files on the server actually work
+  * make zwgc look in the light place for zephyr.vars
+  * in short, fix everything from -2.
+
+ -- Karl C. Ramm <kcr@permabit.com>  Wed,  7 Feb 2001 15:06:10 -0500
+
+zephyr (2.1.20000421.SNAPSHOT-2) unstable; urgency=low
+
+  * add acl files to the server
+  * add zephyr.vars file to the client
+
+ -- Karl C. Ramm <kcr@permabit.com>  Tue,  2 Jan 2001 13:13:01 -0500
+
+zephyr (2.1.20000421.SNAPSHOT-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Karl Ramm <kcr@1ts.org>  Mon,  4 Dec 2000 05:28:22 -0500
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address "kcr@1ts.org"
+End:
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..ace26e0
--- /dev/null
@@ -0,0 +1,33 @@
+Source: zephyr
+Section: unknown
+Priority: optional
+Maintainer: Karl Ramm <kcr@1ts.org>
+Build-Depends: debhelper, libares-dev, libkrb5-dev, comerr-dev, ss-dev, libreadline4-dev, xlibs-dev | xlib6g, libncurses5-dev, bison
+Standards-Version: 3.1.1
+
+Package: zephyr-client
+Architecture: any
+Depends: ${shlibs:Depends}, debianutils (>= 1.6)
+Description: The original "Instant Message" system client
+ This is the Project Athena Zephyr notification system 2000/04/21 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.
+
+Package: zephyr-server
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: The original "Instant Message" system-server
+ This is the Project Athena Zephyr notification system 2000/04/21 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.
+
+Package: libzephyr-dev
+Architecture: any
+Depends: libc6-dev
+Description: The original "Instant Message" system development libraries
+ This is the Project Athena Zephyr notification system 2000/04/21 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 --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..5cafbf0
--- /dev/null
@@ -0,0 +1,31 @@
+This package was debianized by Karl Ramm <kcr@1ts.org> on
+Mon,  4 Dec 2000 05:28:22 -0500.
+
+It was downloaded from ftp://athena-dist.mit.edu/pub/ATHENA/zephyr
+
+Copyright:
+
+/*
+
+Copyright 1987,1988,1995 by the Massachusetts Institute of Technology
+
+All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of the Massachusetts
+Institute of Technology (M.I.T.) not be used in advertising or publicity
+pertaining to distribution of the software without specific, written
+prior permission.
+
+M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
+
+*/
diff --git a/debian/cron.d.ex b/debian/cron.d.ex
new file mode 100644 (file)
index 0000000..08810cf
--- /dev/null
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the zephyr package
+#
+0 4    * * *   root    zephyr_maintenance
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..d0e9684
--- /dev/null
@@ -0,0 +1,5 @@
+NOTES
+README
+INSTALL
+OPERATING
+USING
diff --git a/debian/emacsen-install.ex b/debian/emacsen-install.ex
new file mode 100644 (file)
index 0000000..59ef47b
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/zephyr
+
+# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=zephyr
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
diff --git a/debian/emacsen-remove.ex b/debian/emacsen-remove.ex
new file mode 100644 (file)
index 0000000..0341ac4
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/zephyr
+
+FLAVOR=$1
+PACKAGE=zephyr
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/zephyr.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex
new file mode 100644 (file)
index 0000000..ceb3648
--- /dev/null
@@ -0,0 +1,18 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux zephyr package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com>
+
+;; The zephyr package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "/usr/share/"
+                              (symbol-name flavor)
+                             "/site-lisp/zephyr") load-path))
+
+
diff --git a/debian/ex.doc-base.package b/debian/ex.doc-base.package
new file mode 100644 (file)
index 0000000..3f29eb7
--- /dev/null
@@ -0,0 +1,22 @@
+Document: zephyr
+Title: Debian zephyr Manual
+Author: <insert document author here>
+Abstract: This manual describes what zephyr is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/zephyr/zephyr.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/zephyr/zephyr.ps.gz
+
+Format: text
+Files: /usr/share/doc/zephyr/zephyr.text.gz
+
+Format: HTML
+Index: /usr/share/doc/zephyr/html/index.html
+Files: /usr/share/doc/zephyr/html/*.html
+
+  
diff --git a/debian/init.d.ex b/debian/init.d.ex
new file mode 100644 (file)
index 0000000..f69bbf1
--- /dev/null
@@ -0,0 +1,70 @@
+#! /bin/sh
+#
+# skeleton     example file to build /etc/init.d/ scripts.
+#              This file should be used to construct scripts for /etc/init.d.
+#
+#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#              Modified for Debian GNU/Linux
+#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:     @(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+#
+# This file was automatically customized by dh-make on Mon,  4 Dec 2000 05:28:22 -0500
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/zephyr
+NAME=zephyr
+DESC=zephyr
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+       echo -n "Starting $DESC: "
+       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON
+       echo "$NAME."
+       ;;
+  stop)
+       echo -n "Stopping $DESC: "
+       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON
+       echo "$NAME."
+       ;;
+  #reload)
+       #
+       #       If the daemon can reload its config files on the fly
+       #       for example by sending it SIGHUP, do it here.
+       #
+       #       If the daemon responds to changes in its config file
+       #       directly anyway, make this a do-nothing entry.
+       #
+       # echo "Reloading $DESC configuration files."
+       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
+       #       /var/run/$NAME.pid --exec $DAEMON
+  #;;
+  restart|force-reload)
+       #
+       #       If the "reload" option is implemented, move the "force-reload"
+       #       option to the "reload" entry above. If not, "force-reload" is
+       #       just the same as "restart".
+       #
+       echo -n "Restarting $DESC: "
+       start-stop-daemon --stop --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON
+       sleep 1
+       start-stop-daemon --start --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON
+       echo "$NAME."
+       ;;
+  *)
+       N=/etc/init.d/$NAME
+       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+       echo "Usage: $N {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/debian/libzephyr-dev.files b/debian/libzephyr-dev.files
new file mode 100644 (file)
index 0000000..bdd8556
--- /dev/null
@@ -0,0 +1,4 @@
+usr/lib/libzephyr.a
+usr/include/zephyr/mit-copyright.h
+usr/include/zephyr/zephyr.h
+usr/include/zephyr/zephyr_err.h
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
new file mode 100644 (file)
index 0000000..a8ac1f3
--- /dev/null
@@ -0,0 +1,60 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH ZEPHYR SECTION "December  4, 2000"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+zephyr \- program to do something
+.SH SYNOPSIS
+.B zephyr
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B zephyr
+and
+.B bar
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+Instead, it has documentation in the GNU Info format; see below.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBzephyr\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+This manual page was written by Karl Ramm <kcr@1ts.org>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex
new file mode 100644 (file)
index 0000000..9a4fd12
--- /dev/null
@@ -0,0 +1,137 @@
+<!doctype refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>December  4, 2000</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>kcr@1ts.org</email>">
+  <!ENTITY dhusername  "Karl Ramm">
+  <!ENTITY dhucpackage "<refentrytitle>ZEPHYR</refentrytitle>">
+  <!ENTITY dhpackage   "zephyr">
+
+  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+  <docinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2000</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </docinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual GNU command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).</para>
+
+    <!-- <para>Permission is granted to copy, distribute and/or modify
+      this document under the terms of the <acronym>GNU</acronym> Free
+      Documentation License, Version 1.1 or any later version
+      published by the Free Software Foundation; with no Invariant
+      Sections, no Front-Cover Texts and no Back-Cover Texts.  A copy
+      of the license can be found under
+      <filename>/usr/share/common-licenses/FDL</filename>.</para> -->
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
diff --git a/debian/menu.ex b/debian/menu.ex
new file mode 100644 (file)
index 0000000..4c47008
--- /dev/null
@@ -0,0 +1,2 @@
+?package(zephyr):needs=X11|text|vc|wm section=Apps/see-menu-manual\
+  title="zephyr" command="/usr/bin/zephyr"
diff --git a/debian/postinst.ex b/debian/postinst.ex
new file mode 100644 (file)
index 0000000..25a02e9
--- /dev/null
@@ -0,0 +1,47 @@
+#! /bin/sh
+# postinst script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/postrm.ex b/debian/postrm.ex
new file mode 100644 (file)
index 0000000..3adf8b7
--- /dev/null
@@ -0,0 +1,36 @@
+#! /bin/sh
+# postrm script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+
diff --git a/debian/preinst.ex b/debian/preinst.ex
new file mode 100644 (file)
index 0000000..56ed95c
--- /dev/null
@@ -0,0 +1,42 @@
+#! /bin/sh
+# preinst script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+#
+# For details see /usr/share/doc/packaging-manual/
+
+case "$1" in
+    install|upgrade)
+#        if [ "$1" = "upgrade" ]
+#        then
+#            start-stop-daemon --stop --quiet --oknodo  \
+#                --pidfile /var/run/zephyr.pid  \
+#                --exec /usr/sbin/zephyr 2>/dev/null || true
+#        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/prerm.ex b/debian/prerm.ex
new file mode 100644 (file)
index 0000000..dcba249
--- /dev/null
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/zephyr.info.gz
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..85b46b9
--- /dev/null
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper. 
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+       ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --datadir=/etc --with-krb4=/usr --with-ares=/usr
+
+       touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean
+       rm -f config.cache config.log config.status h/config.h \
+       Makefile clients/Makefile clients/xzwrite/Makefile \
+       clients/zaway/Makefile clients/zctl/Makefile \
+       clients/zleave/Makefile clients/zlocate/Makefile \
+       clients/zmailnotify/Makefile clients/znol/Makefile \
+       clients/zpopnotify/Makefile clients/zshutdown_notify/Makefile \
+       clients/zstat/Makefile clients/zwrite/Makefile lib/Makefile \
+       libdyn/Makefile server/Makefile zhm/Makefile zwgc/Makefile
+
+       dh_clean
+
+install: DH_OPTIONS=
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/tmp.
+       $(MAKE) install DESTDIR=`pwd`/debian/tmp
+       mkdir -p debian/tmp/etc/zephyr/acl
+       set -x; for i in debian/acl/*; do install -c -m 544 -o root $$i debian/tmp/etc/zephyr/acl; done; set +x
+       install -c -m 544 debian/zephyr.vars debian/tmp/etc/zephyr
+
+# Build architecture-independent files here.
+# Pass -i to all debhelper commands in this target to reduce clutter.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+# Pass -a to all debhelper commands in this target to reduce clutter.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_movefiles -pzephyr-client
+       dh_movefiles -pzephyr-server
+       dh_movefiles -plibzephyr-dev
+       dh_installdebconf -pzephyr-client
+       dh_installdebconf -pzephyr-server
+       dh_installdocs
+#      dh_installexamples
+#      dh_installmenu
+#      dh_installemacsen
+#      dh_installpam
+       dh_installinit
+#      dh_installcron
+#      dh_installmanpages
+#      dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs 
+       dh_strip
+#      dh_link
+       dh_compress
+       dh_fixperms
+       # You may want to make some executables suid here.
+       dh_suidregister
+       dh_installdeb
+#      dh_makeshlibs
+#      dh_perl
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch.ex b/debian/watch.ex
new file mode 100644 (file)
index 0000000..7a34e46
--- /dev/null
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site         Directory               Pattern                 Version Script
+sunsite.unc.edu        /pub/Linux/Incoming     zephyr-(.*)\.tar\.gz    debian  uupdate
diff --git a/debian/zephyr-client.config b/debian/zephyr-client.config
new file mode 100644 (file)
index 0000000..f04ef7a
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+db_input high zephyr-client/servers || true
+db_go
diff --git a/debian/zephyr-client.files b/debian/zephyr-client.files
new file mode 100644 (file)
index 0000000..24d35a5
--- /dev/null
@@ -0,0 +1,32 @@
+usr/bin/xzwrite
+usr/bin/zaway
+usr/bin/zctl
+usr/bin/zleave
+usr/bin/zlocate
+usr/bin/zmailnotify
+usr/bin/znol
+usr/bin/zstat
+usr/bin/zwrite
+usr/bin/zwgc
+usr/sbin/zpopnotify
+usr/sbin/zshutdown_notify
+usr/sbin/zhm
+usr/man/man1/zephyr.1
+usr/man/man1/xzwrite.1
+usr/man/man1/zaway.1
+usr/man/man1/zctl.1
+usr/man/man1/zleave.1
+usr/man/man1/zlocate.1
+usr/man/man1/zmailnotify.1
+usr/man/man1/znol.1
+usr/man/man1/zwrite.1
+usr/man/man1/zwgc.1
+usr/man/man8/zpopnotify.8
+usr/man/man8/zshutdown_notify.8
+usr/man/man8/zstat.8
+usr/man/man8/zhm.8
+etc/zephyr/XZwrite
+etc/zephyr/xzwrite.bitmap
+etc/zephyr/zwgc.desc
+etc/zephyr/zwgc_resources
+etc/zephyr/zephyr.vars
diff --git a/debian/zephyr-client.init b/debian/zephyr-client.init
new file mode 100644 (file)
index 0000000..61a4fb2
--- /dev/null
@@ -0,0 +1,63 @@
+#! /bin/sh
+#
+# skeleton     example file to build /etc/init.d/ scripts.
+#              This file should be used to construct scripts for /etc/init.d.
+#
+#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#              Modified for Debian GNU/Linux
+#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:     @(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+#
+# This file was automatically customized by dh-make on Mon,  4 Dec 2000 05:28:22 -0500
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/zhm
+NAME=zhm
+DESC="zephyr host manager"
+
+test -f $DAEMON || exit 0
+
+set -e
+
+if test -f /etc/default/zephyr-client
+then
+       . /etc/default/zephyr-client
+fi
+
+case "$1" in
+  start)
+       echo -n "Starting $DESC: "
+       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON -- $zhm_args
+       echo "$NAME."
+       ;;
+  stop)
+       echo -n "Stopping $DESC: "
+       start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON
+       echo "$NAME."
+       ;;
+  restart|force-reload)
+       #
+       #       If the "reload" option is implemented, move the "force-reload"
+       #       option to the "reload" entry above. If not, "force-reload" is
+       #       just the same as "restart".
+       #
+       echo -n "Restarting $DESC: "
+       start-stop-daemon --oknodo --stop --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON
+       sleep 1
+       start-stop-daemon --start --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON -- $zhm_args
+       echo "$NAME."
+       ;;
+  *)
+       N=/etc/init.d/$NAME
+       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+       echo "Usage: $N {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/debian/zephyr-client.postinst b/debian/zephyr-client.postinst
new file mode 100644 (file)
index 0000000..c49709d
--- /dev/null
@@ -0,0 +1,66 @@
+#! /bin/sh
+# postinst script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+       . /usr/share/debconf/confmodule
+
+       tmpfile=`tempfile`
+
+       if test -f /etc/zephyr/zephyr.conf
+       then
+               if test ! -f /dev/default/zephyr-client
+               then
+                       mv /etc/zephyr/zephyr.conf /etc/default/zephyr-client
+               fi
+       fi
+
+       db_get zephyr-client/servers
+       if test -f /etc/default/zephyr-client
+       then
+               grep -v ^zhm_args /etc/default/zephyr-client > $tmpfile || true
+       fi
+       echo zhm_args=\"${RET}\" >> $tmpfile
+       cat $tmpfile > /etc/default/zephyr-client
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/zephyr-client.prerm b/debian/zephyr-client.prerm
new file mode 100644 (file)
index 0000000..c1e3a93
--- /dev/null
@@ -0,0 +1,41 @@
+#! /bin/sh
+# prerm script for zephyr-client
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+    deconfigure|remove)
+       rm /etc/default/zephyr-client || true
+       ;;
+    upgrade)
+#    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/zephyr.info.gz
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/zephyr-client.templates b/debian/zephyr-client.templates
new file mode 100644 (file)
index 0000000..70a93e2
--- /dev/null
@@ -0,0 +1,5 @@
+Template: zephyr-client/servers
+Type: string
+Description: What are your zephyr servers?
+ Please type the full names of your zephyr servers, seperated by spaces.
+ (note that this can be a subset of what you're telling the servers)
diff --git a/debian/zephyr-server.config b/debian/zephyr-server.config
new file mode 100644 (file)
index 0000000..762108a
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+db_input high zephyr-server/servers || true
+db_go
diff --git a/debian/zephyr-server.files b/debian/zephyr-server.files
new file mode 100644 (file)
index 0000000..483026b
--- /dev/null
@@ -0,0 +1,39 @@
+usr/sbin/zephyrd
+usr/man/man8/zephyrd.8
+etc/zephyr/acl/class-registry.acl
+etc/zephyr/acl/iui-hm_ctl.acl
+etc/zephyr/acl/iui-hm_stat.acl
+etc/zephyr/acl/iui-login.acl
+etc/zephyr/acl/iui-operations.acl
+etc/zephyr/acl/iui-user_locate.acl
+etc/zephyr/acl/iui-wg_ctl.acl
+etc/zephyr/acl/iui-zephyr_admin.acl
+etc/zephyr/acl/iui-zephyr_ctl.acl
+etc/zephyr/acl/iui-zmatch_all.acl
+etc/zephyr/acl/iws-hm_ctl.acl
+etc/zephyr/acl/iws-hm_stat.acl
+etc/zephyr/acl/iws-login.acl
+etc/zephyr/acl/iws-operations.acl
+etc/zephyr/acl/iws-user_locate.acl
+etc/zephyr/acl/iws-wg_ctl.acl
+etc/zephyr/acl/iws-zephyr_admin.acl
+etc/zephyr/acl/iws-zephyr_ctl.acl
+etc/zephyr/acl/iws-zmatch_all.acl
+etc/zephyr/acl/sub-hm_ctl.acl
+etc/zephyr/acl/sub-hm_stat.acl
+etc/zephyr/acl/sub-login.acl
+etc/zephyr/acl/sub-operations.acl
+etc/zephyr/acl/sub-user_locate.acl
+etc/zephyr/acl/sub-wg_ctl.acl
+etc/zephyr/acl/sub-zephyr_admin.acl
+etc/zephyr/acl/sub-zephyr_ctl.acl
+etc/zephyr/acl/sub-zmatch_all.acl
+etc/zephyr/acl/xmt-hm_ctl.acl
+etc/zephyr/acl/xmt-hm_stat.acl
+etc/zephyr/acl/xmt-login.acl
+etc/zephyr/acl/xmt-operations.acl
+etc/zephyr/acl/xmt-user_locate.acl
+etc/zephyr/acl/xmt-wg_ctl.acl
+etc/zephyr/acl/xmt-zephyr_admin.acl
+etc/zephyr/acl/xmt-zephyr_ctl.acl
+etc/zephyr/acl/xmt-zmatch_all.acl
diff --git a/debian/zephyr-server.init b/debian/zephyr-server.init
new file mode 100644 (file)
index 0000000..a0fef7f
--- /dev/null
@@ -0,0 +1,60 @@
+#! /bin/sh
+#
+# skeleton     example file to build /etc/init.d/ scripts.
+#              This file should be used to construct scripts for /etc/init.d.
+#
+#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#              Modified for Debian GNU/Linux
+#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:     @(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+#
+# This file was automatically customized by dh-make on Mon,  4 Dec 2000 05:28:22 -0500
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/zephyrd
+NAME=zephyrd
+DESC="zephyr server"
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+  start)
+       echo -n "Starting $DESC: "
+       start-stop-daemon --start --quiet --exec $DAEMON
+       echo "$NAME."
+       ;;
+  stop)
+       echo -n "Stopping $DESC: "
+       start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
+       echo "$NAME."
+       ;;
+  restart)
+       #
+       #       If the "reload" option is implemented, move the "force-reload"
+       #       option to the "reload" entry above. If not, "force-reload" is
+       #       just the same as "restart".
+       #
+       echo -n "Restarting $DESC: "
+       start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
+       sleep 1
+       start-stop-daemon --start --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON -- $zhm_args
+       echo "$NAME."
+       ;;
+  reload|force-reload)
+       echo -n "Telling $NAME to reload..."
+       start-stop-daemon --stop --signal HUP --exec $DAEMON
+       echo done.
+       ;;
+  *)
+       N=/etc/init.d/$NAME
+       echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+       # echo "Usage: $N {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/debian/zephyr-server.postinst b/debian/zephyr-server.postinst
new file mode 100644 (file)
index 0000000..d076eec
--- /dev/null
@@ -0,0 +1,56 @@
+#! /bin/sh
+# postinst script for zephyr
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+       . /usr/share/debconf/confmodule
+
+       db_get zephyr-server/servers
+       : > /etc/zephyr/server.list
+       for i in $RET
+       do
+               echo $i >> /etc/zephyr/server.list
+       done
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/zephyr-server.templates b/debian/zephyr-server.templates
new file mode 100644 (file)
index 0000000..6c53f2d
--- /dev/null
@@ -0,0 +1,5 @@
+Template: zephyr-server/servers
+Type: string
+Description: What are your zephyr servers?
+ Please type the full names of your zephyr servers, seperated by spaces.
+ (Note that this can be a superset of that you're telling the clients.)
diff --git a/debian/zephyr.vars b/debian/zephyr.vars
new file mode 100644 (file)
index 0000000..eaf70f0
--- /dev/null
@@ -0,0 +1,11 @@
+# $Id$
+
+# Zephyr default variables file.  Format is:
+#
+#   var = value
+
+# Exposure setting defaults to realm-visible.
+exposure = realm-visible
+
+# Initialization programs.
+#initprogs = /etc/athena/zinit
diff --git a/h/zephyr/zephyr_err.h b/h/zephyr/zephyr_err.h
new file mode 100644 (file)
index 0000000..3fd16e9
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * zephyr_err.h:
+ * This file is automatically generated; please do not edit it.
+ */
+
+#define ZERR_PKTLEN                              (-772103680L)
+#define ZERR_HEADERLEN                           (-772103679L)
+#define ZERR_ILLVAL                              (-772103678L)
+#define ZERR_HMPORT                              (-772103677L)
+#define ZERR_PORTINUSE                           (-772103676L)
+#define ZERR_BADPKT                              (-772103675L)
+#define ZERR_VERS                                (-772103674L)
+#define ZERR_NOPORT                              (-772103673L)
+#define ZERR_NONOTICE                            (-772103672L)
+#define ZERR_QLEN                                (-772103671L)
+#define ZERR_HMDEAD                              (-772103670L)
+#define ZERR_INTERNAL                            (-772103669L)
+#define ZERR_NOLOCATIONS                         (-772103668L)
+#define ZERR_NOMORELOCS                          (-772103667L)
+#define ZERR_FIELDLEN                            (-772103666L)
+#define ZERR_BADFIELD                            (-772103665L)
+#define ZERR_SERVNAK                             (-772103664L)
+#define ZERR_AUTHFAIL                            (-772103663L)
+#define ZERR_LOGINFAIL                           (-772103662L)
+#define ZERR_NOSUBSCRIPTIONS                     (-772103661L)
+#define ZERR_NOMORESUBSCRIPTIONS                 (-772103660L)
+#define ZERR_TOOMANYSUBS                         (-772103659L)
+#define ZERR_EOF                                 (-772103658L)
+extern void initialize_zeph_error_table(void);
+#define ERROR_TABLE_BASE_zeph (-772103680L)
+
+/* for compatibility with older versions... */
+#define init_zeph_err_tbl initialize_zeph_error_table
+#define zeph_err_base ERROR_TABLE_BASE_zeph
index ccc68237b0a764ceabcc4b165c63f6901409bb4e..f0712580a225edbc302b4c7494b2266d3675fc30 100644 (file)
@@ -36,7 +36,7 @@ char *ZGetVariable(var)
     if ((ret = get_varval(varfile, var)) != ZERR_NONE)
        return (ret);
 
-    sprintf(varfile, "%s/zephyr.vars", SYSCONFDIR);
+    sprintf(varfile, "%s/zephyr/zephyr.vars", SYSCONFDIR);
     return (get_varval(varfile, var));
 }
 
diff --git a/server/version.h b/server/version.h
new file mode 100644 (file)
index 0000000..05874f0
--- /dev/null
@@ -0,0 +1 @@
+#define ZSERVER_VERSION_STRING "(Wed Feb  7 17:59:52 EST 2001) kcr@sanctioned-parts-list"
index d957073c8a845f0ea0e264d54d8e159ae16856b2..ff06d5b5d186c9717853210b6e9662d86d5ce846 100644 (file)
--- a/zhm/zhm.c
+++ b/zhm/zhm.c
@@ -22,7 +22,7 @@ int use_hesiod = 0;
 #define srandom srand48
 #endif
 
-#define PIDDIR "/var/athena/"
+#define PIDDIR "/var/run/"
 
 int hmdebug, rebootflag, noflushflag, errflg, dieflag, inetd, oldpid, nofork;
 int no_server = 1, nservchang, nserv, nclt;