1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
Source: polchat-server
Section: non-free/net
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.8
Upstream-Source: <URL:http://www.polchat.pl/serwer/download/polchat-server/linux/polchat-server-(.*)\.tar.gz>
Home-Page: <URL:http://www.polchat.pl/>
Description: a chat server
Packaged-For: Netia Telekom SA
Copyright: .
THIS IS *NOT* FREE SOFTWARE!
.
SEE THE LICENSE AGREEMENT YOU RECEIVED WITH THIS SOFTWARE
FOR TERMS AND CONDITIONS.
Major-Changes:
none
Build: sh
# none
Clean: sh
# none
Package: polchat-server
Architecture: any
Depends: []
Description: A chat server
POLChat Server is a chat server for POLChat Client, which is a small (64K),
fast Java applet that runs in all browsers supporting Java 1.0.2
(e.g. Internet Explorer 3.0+, Netscape Navigator 3.0+)
.
Apart from many IRC-like commands, POLChat also features full unicode support,
HTTP tunneling, scalable architecture, easy translation possibility, moderated
chat, server-wide/channel operators, customizable rights for half operators,
sending public chat transcript in HTML format via e-mail...
Install: sh
yada install -dir /var/lib/polchatd /var/log/polchatd /var/run/polchatd
yada install -bin bin/*
yada install -bin -into /usr/sbin sbin/*
yada install -bin -into /usr/lib/cgi-bin cgi-bin/*
yada install -conffile -subdir polchatd conf/*
yada install -conffile -subdir polchatd debian/conf/polchatd.conf
yada symlink -conffile -subdir polchatd -as conf .
yada install -doc doc/*.html doc/*.pdf
yada install -doc -as changelog NEWS
yada undocumented oppasswd.1 querychat.1 polchatd.8
Postinst: sh
if [ "$1" = "configure" ]; then
if ! id -u polchatd >/dev/null 2>/dev/null; then
adduser --system --group --home /var/lib/polchatd polchatd
chown -R polchatd:polchatd /var/log/polchatd /var/lib/polchatd /var/run/polchatd
chmod 770 /var/log/polchatd /var/lib/polchatd /var/run/polchatd
fi
fi
Postrm: sh
if [ "$1" = "purge" ]; then
if id -u polchatd >/dev/null 2>/dev/null; then
userdel polchatd
fi
rm -rf /var/log/polchatd /var/lib/polchatd /var/run/polchatd || true
rm -rf /etc/polchatd || true
fi
Init: sh
start 92 2 3 4 5 . stop 20 0 1 6 .
.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/polchatd
NAME=polchatd
DESC="POLChat Server"
.
test -f $DAEMON || exit 0
.
USER=polchatd
GROUP=polchatd
PIDFILE=/var/run/polchatd/polchatd.pid
.
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet \
--pidfile $PIDFILE \
--chuid $USER:$GROUP \
--exec $DAEMON
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --oknodo \
--pidfile $PIDFILE \
--exec $DAEMON
echo "$NAME."
;;
reload|force-reload)
echo -n "Reloading $DESC configuration: "
start-stop-daemon --stop --quiet --oknodo \
--pidfile $PIDFILE \
--signal USR1 \
--exec $DAEMON
echo "$NAME."
;;
restart|force-reload)
$0 stop
sleep 3
$0 start
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
exit 1
;;
esac
Logrotate:
/var/log/polchatd/polchatd.error {
missingok
weekly
postrotate
/usr/bin/killall -HUP polchatd || true
endscript
}
.
/var/log/polchatd/polchatd.notice {
missingok
weekly
postrotate
/usr/bin/killall -HUP polchatd || true
endscript
}
|