From e7bc9fb64158edf255e5f8b3c4918715e86187bc Mon Sep 17 00:00:00 2001 From: lukem Date: Mon, 5 Feb 2001 21:50:13 +0000 Subject: gale - a secure instant messaging system --- chat/gale/files/md5 | 3 +++ chat/gale/pkg/COMMENT | 1 + chat/gale/pkg/DEINSTALL | 19 +++++++++++++++++++ chat/gale/pkg/DESCR | 6 ++++++ chat/gale/pkg/INSTALL | 45 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) create mode 100644 chat/gale/files/md5 create mode 100644 chat/gale/pkg/COMMENT create mode 100644 chat/gale/pkg/DEINSTALL create mode 100644 chat/gale/pkg/DESCR create mode 100644 chat/gale/pkg/INSTALL (limited to 'chat/gale') diff --git a/chat/gale/files/md5 b/chat/gale/files/md5 new file mode 100644 index 00000000000..147434bdb72 --- /dev/null +++ b/chat/gale/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/05 21:50:13 lukem Exp $ + +MD5 (gale-0.99a.tar.gz) = ebb72dde51299182e93fe15da3aa4209 diff --git a/chat/gale/pkg/COMMENT b/chat/gale/pkg/COMMENT new file mode 100644 index 00000000000..455db015752 --- /dev/null +++ b/chat/gale/pkg/COMMENT @@ -0,0 +1 @@ +A secure instant messaging system diff --git a/chat/gale/pkg/DEINSTALL b/chat/gale/pkg/DEINSTALL new file mode 100644 index 00000000000..3c325ef4197 --- /dev/null +++ b/chat/gale/pkg/DEINSTALL @@ -0,0 +1,19 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2001/02/05 22:34:00 lukem Exp $ +# + +USER="@GALE_USER@" +GROUP="@GALE_GROUP@" +USERDEL="@USERDEL@" +GROUPDEL="@GROUPDEL@" + +case "$2" in + DEINSTALL) + echo "Removing user ${USER}" + ${USERDEL} -r ${USER} + echo "Removing group ${GROUP}" + ${GROUPDEL} ${GROUP} + ;; +esac +exit 0 diff --git a/chat/gale/pkg/DESCR b/chat/gale/pkg/DESCR new file mode 100644 index 00000000000..c8bbb811e53 --- /dev/null +++ b/chat/gale/pkg/DESCR @@ -0,0 +1,6 @@ +Gale is an open-source messaging system. It provides private messaging and +public chat, uses strong end-to-end cryptography for security, and supports +a distributed server network with a range of clients (both console and GUI) +available. Gale is currently in early alpha testing. + +WWW: http://www.gale.org/ diff --git a/chat/gale/pkg/INSTALL b/chat/gale/pkg/INSTALL new file mode 100644 index 00000000000..c8a00e19e85 --- /dev/null +++ b/chat/gale/pkg/INSTALL @@ -0,0 +1,45 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2001/02/05 22:34:43 lukem Exp $ + +USER=@GALE_USER@ +GROUP=@GALE_GROUP@ + +ADDUSER="@ADDUSER@" +ADDGROUP="@ADDGROUP@" +CHGRP="@CHGRP@" +GREP="@GREP@" +RM="@RM@" +TOUCH="@TOUCH@" + +# Group... the default's shipped with NetBSD +# We need to check that ${GROUP} exists before adding the user. +# Do it with chgrp to be able to use NIS. +# +${TOUCH} "/tmp/grouptest.$$" +${CHGRP} ${GROUP} "/tmp/grouptest.$$" >/dev/null 2>&1 +if [ $? -eq 0 ] +then + echo "Group '${GROUP}' already exists...proceeding." +else + echo "Creating '${GROUP}' group..." + ${ADDGROUP} ${GROUP} + echo "Done." +fi +${RM} -f "/tmp/grouptest.$$" + +# Use `finger' to be able to use NIS. +# +finger ${USER} 2>&1 | ${GREP} -q "no such user" +if [ $? -eq 0 ] +then + echo "Creating '${USER}' user..." + ${ADDUSER} \ + -c "Network UPS Tools" \ + -d /var/${USER} \ + -g ${GROUP} -s /bin/sh -m ${USER} + echo "Done." +else + echo "User '${USER}' already exists...proceeding." +fi +exit 0 -- cgit v1.2.3