gale - a secure instant messaging system
This commit is contained in:
parent
1be1dd575d
commit
e7bc9fb641
5 changed files with 74 additions and 0 deletions
3
chat/gale/files/md5
Normal file
3
chat/gale/files/md5
Normal file
|
@ -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
|
1
chat/gale/pkg/COMMENT
Normal file
1
chat/gale/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
A secure instant messaging system
|
19
chat/gale/pkg/DEINSTALL
Normal file
19
chat/gale/pkg/DEINSTALL
Normal file
|
@ -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
|
6
chat/gale/pkg/DESCR
Normal file
6
chat/gale/pkg/DESCR
Normal file
|
@ -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/
|
45
chat/gale/pkg/INSTALL
Normal file
45
chat/gale/pkg/INSTALL
Normal file
|
@ -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
|
Loading…
Reference in a new issue