diff options
author | lukem <lukem@pkgsrc.org> | 2001-02-05 21:50:13 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2001-02-05 21:50:13 +0000 |
commit | e7bc9fb64158edf255e5f8b3c4918715e86187bc (patch) | |
tree | 20ed620cbfaee4390ddf9009850c70336f2dc8a2 /chat | |
parent | 1be1dd575d438abcf3fa66007cd5807f71d1b771 (diff) | |
download | pkgsrc-e7bc9fb64158edf255e5f8b3c4918715e86187bc.tar.gz |
gale - a secure instant messaging system
Diffstat (limited to 'chat')
-rw-r--r-- | chat/gale/files/md5 | 3 | ||||
-rw-r--r-- | chat/gale/pkg/COMMENT | 1 | ||||
-rw-r--r-- | chat/gale/pkg/DEINSTALL | 19 | ||||
-rw-r--r-- | chat/gale/pkg/DESCR | 6 | ||||
-rw-r--r-- | chat/gale/pkg/INSTALL | 45 |
5 files changed, 74 insertions, 0 deletions
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 |