mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 08:44:18 +01:00
Remove old testsuite and scripts.
This commit is contained in:
parent
f771e67dc7
commit
5f6f66d74e
6 changed files with 0 additions and 384 deletions
|
@ -1,36 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# application.sh: Special package building rules for charybdis.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2007-2008 atheme.org
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, and/or distribute this software for
|
|
||||||
# any purpose with or without fee is hereby granted, provided that the above
|
|
||||||
# copyright notice and this permission notice appear in all copies.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
||||||
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
||||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ "x$TIP" = "x" ]; then
|
|
||||||
echo "Please don't run me directly."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Charybdis wants the git head to be in include/serno.h, in its own format.
|
|
||||||
SERNO=`git log -1 --date=format:%Y%m%d --pretty=format:%cd-%h`
|
|
||||||
DATECODE=`git log -1 --pretty=format:%ct`
|
|
||||||
|
|
||||||
echo "[charybdis] Generating include/ircd/serno.h for tip $MYTIP."
|
|
||||||
cat << _EOF_ > include/ircd/serno.h
|
|
||||||
/* Generated automatically by makepackage. Any changes made here will be lost. */
|
|
||||||
#define SERNO "$SERNO"
|
|
||||||
#define DATECODE ${DATECODE}UL
|
|
||||||
_EOF_
|
|
|
@ -1,67 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# mkrelease.sh: Creates a release suitable for distfiles.atheme.org.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2007, 2011 atheme.org
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, and/or distribute this software for
|
|
||||||
# any purpose with or without fee is hereby granted, provided that the above
|
|
||||||
# copyright notice and this permission notice appear in all copies.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
||||||
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
||||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ "x$1" = "x" ]; then
|
|
||||||
echo "usage: $0 releasename"
|
|
||||||
exit
|
|
||||||
else
|
|
||||||
RELEASENAME="$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
TIP=`git log -1 --pretty=oneline | cut -d" " -f1`
|
|
||||||
|
|
||||||
WRKDIR=`pwd`
|
|
||||||
|
|
||||||
if [ -d $RELEASENAME ]; then
|
|
||||||
echo "Deleting previous release named $RELEASENAME."
|
|
||||||
rm -rf $WRKDIR/$RELEASENAME/
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Making release named $RELEASENAME (tip $TIP)"
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Building root: $RELEASENAME/"
|
|
||||||
cd ..
|
|
||||||
git archive --format=tar --prefix=$RELEASENAME/ HEAD | gzip >scripts/$RELEASENAME-working.tar.gz
|
|
||||||
cd $WRKDIR
|
|
||||||
tar -xzvf $RELEASENAME-working.tar.gz
|
|
||||||
cd $RELEASENAME
|
|
||||||
sh autogen.sh
|
|
||||||
rm -rf autogen.sh autom4te.cache
|
|
||||||
rm -rf .gitignore
|
|
||||||
|
|
||||||
# Run application specific instructions here.
|
|
||||||
if [ -x "$WRKDIR/application.sh" ]; then
|
|
||||||
. $WRKDIR/application.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "Building $RELEASENAME.tgz from $RELEASENAME/"
|
|
||||||
tar zcf $RELEASENAME.tar.gz $RELEASENAME/
|
|
||||||
|
|
||||||
echo "Building $RELEASENAME.tbz2 from $RELEASENAME/"
|
|
||||||
tar jcf $RELEASENAME.tar.bz2 $RELEASENAME/
|
|
||||||
|
|
||||||
rm $RELEASENAME-working.tar.gz
|
|
||||||
rm -rf $RELEASENAME
|
|
||||||
|
|
||||||
echo "Done. $RELEASENAME.tar.gz and $RELEASENAME.tar.bz2 built."
|
|
|
@ -1,91 +0,0 @@
|
||||||
loadmodule "extensions/extb_account.la";
|
|
||||||
loadmodule "extensions/extb_channel.la";
|
|
||||||
loadmodule "extensions/extb_oper.la";
|
|
||||||
loadmodule "extensions/extb_realname.la";
|
|
||||||
loadmodule "extensions/extb_server.la";
|
|
||||||
#loadmodule "extensions/ip_cloaking.la";
|
|
||||||
loadmodule "extensions/sno_farconnect.la";
|
|
||||||
loadmodule "extensions/sno_globalkline.la";
|
|
||||||
#loadmodule "extensions/sno_globaloper.la";
|
|
||||||
|
|
||||||
serverinfo {
|
|
||||||
name = "testsuite1.";
|
|
||||||
sid = "1TT";
|
|
||||||
description = "Testsuite";
|
|
||||||
network_name = "Testsuite";
|
|
||||||
hub = yes;
|
|
||||||
vhost = "127.0.0.1";
|
|
||||||
};
|
|
||||||
|
|
||||||
admin {
|
|
||||||
name = "Here";
|
|
||||||
description = "Charybdis testsuite server";
|
|
||||||
email = "root@localhost";
|
|
||||||
};
|
|
||||||
|
|
||||||
class "users" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
number_per_ip = 100;
|
|
||||||
max_number = 200;
|
|
||||||
sendq = 100kb;
|
|
||||||
};
|
|
||||||
|
|
||||||
class "server" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
connectfreq = 5 minutes;
|
|
||||||
max_number = 3;
|
|
||||||
sendq = 5 megabytes;
|
|
||||||
};
|
|
||||||
|
|
||||||
listen { host = "127.0.0.1"; port = 7601; };
|
|
||||||
|
|
||||||
auth { user = "*@127.0.0.0/8"; class = "users"; };
|
|
||||||
|
|
||||||
operator "oper" {
|
|
||||||
user = "*@127.0.0.0/8";
|
|
||||||
password = "oper";
|
|
||||||
flags = global_kill, remote, kline, unkline, nick_changes,
|
|
||||||
die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite2." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7602;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite3." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7603;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
shared {
|
|
||||||
oper = "*@*", "*";
|
|
||||||
flags = all;
|
|
||||||
};
|
|
||||||
|
|
||||||
alias "NickServ" {
|
|
||||||
target = "NickServ";
|
|
||||||
};
|
|
||||||
alias "ChanServ" {
|
|
||||||
target = "ChanServ";
|
|
||||||
};
|
|
||||||
alias "OperServ" {
|
|
||||||
target = "OperServ";
|
|
||||||
};
|
|
||||||
alias "MemoServ" {
|
|
||||||
target = "MemoServ";
|
|
||||||
};
|
|
||||||
|
|
||||||
service {
|
|
||||||
name = "services.";
|
|
||||||
};
|
|
|
@ -1,91 +0,0 @@
|
||||||
loadmodule "extensions/extb_account.la";
|
|
||||||
loadmodule "extensions/extb_channel.la";
|
|
||||||
loadmodule "extensions/extb_oper.la";
|
|
||||||
loadmodule "extensions/extb_realname.la";
|
|
||||||
loadmodule "extensions/extb_server.la";
|
|
||||||
#loadmodule "extensions/ip_cloaking.la";
|
|
||||||
loadmodule "extensions/sno_farconnect.la";
|
|
||||||
loadmodule "extensions/sno_globalkline.la";
|
|
||||||
#loadmodule "extensions/sno_globaloper.la";
|
|
||||||
|
|
||||||
serverinfo {
|
|
||||||
name = "testsuite2.";
|
|
||||||
sid = "2TT";
|
|
||||||
description = "Testsuite";
|
|
||||||
network_name = "Testsuite";
|
|
||||||
hub = yes;
|
|
||||||
vhost = "127.0.0.1";
|
|
||||||
};
|
|
||||||
|
|
||||||
admin {
|
|
||||||
name = "Here";
|
|
||||||
description = "Charybdis testsuite server";
|
|
||||||
email = "root@localhost";
|
|
||||||
};
|
|
||||||
|
|
||||||
class "users" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
number_per_ip = 100;
|
|
||||||
max_number = 200;
|
|
||||||
sendq = 100kb;
|
|
||||||
};
|
|
||||||
|
|
||||||
class "server" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
connectfreq = 5 minutes;
|
|
||||||
max_number = 3;
|
|
||||||
sendq = 5 megabytes;
|
|
||||||
};
|
|
||||||
|
|
||||||
listen { host = "127.0.0.1"; port = 7602; };
|
|
||||||
|
|
||||||
auth { user = "*@127.0.0.0/8"; class = "users"; };
|
|
||||||
|
|
||||||
operator "oper" {
|
|
||||||
user = "*@127.0.0.0/8";
|
|
||||||
password = "oper";
|
|
||||||
flags = global_kill, remote, kline, unkline, nick_changes,
|
|
||||||
die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite1." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7601;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite3." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7603;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
shared {
|
|
||||||
oper = "*@*", "*";
|
|
||||||
flags = all;
|
|
||||||
};
|
|
||||||
|
|
||||||
alias "NickServ" {
|
|
||||||
target = "NickServ";
|
|
||||||
};
|
|
||||||
alias "ChanServ" {
|
|
||||||
target = "ChanServ";
|
|
||||||
};
|
|
||||||
alias "OperServ" {
|
|
||||||
target = "OperServ";
|
|
||||||
};
|
|
||||||
alias "MemoServ" {
|
|
||||||
target = "MemoServ";
|
|
||||||
};
|
|
||||||
|
|
||||||
service {
|
|
||||||
name = "services.";
|
|
||||||
};
|
|
|
@ -1,91 +0,0 @@
|
||||||
loadmodule "extensions/extb_account.la";
|
|
||||||
loadmodule "extensions/extb_channel.la";
|
|
||||||
loadmodule "extensions/extb_oper.la";
|
|
||||||
loadmodule "extensions/extb_realname.la";
|
|
||||||
loadmodule "extensions/extb_server.la";
|
|
||||||
#loadmodule "extensions/ip_cloaking.la";
|
|
||||||
loadmodule "extensions/sno_farconnect.la";
|
|
||||||
loadmodule "extensions/sno_globalkline.la";
|
|
||||||
#loadmodule "extensions/sno_globaloper.la";
|
|
||||||
|
|
||||||
serverinfo {
|
|
||||||
name = "testsuite3.";
|
|
||||||
sid = "3TT";
|
|
||||||
description = "Testsuite";
|
|
||||||
network_name = "Testsuite";
|
|
||||||
hub = yes;
|
|
||||||
vhost = "127.0.0.1";
|
|
||||||
};
|
|
||||||
|
|
||||||
admin {
|
|
||||||
name = "Here";
|
|
||||||
description = "Charybdis testsuite server";
|
|
||||||
email = "root@localhost";
|
|
||||||
};
|
|
||||||
|
|
||||||
class "users" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
number_per_ip = 100;
|
|
||||||
max_number = 200;
|
|
||||||
sendq = 100kb;
|
|
||||||
};
|
|
||||||
|
|
||||||
class "server" {
|
|
||||||
ping_time = 5 minutes;
|
|
||||||
connectfreq = 5 minutes;
|
|
||||||
max_number = 3;
|
|
||||||
sendq = 5 megabytes;
|
|
||||||
};
|
|
||||||
|
|
||||||
listen { host = "127.0.0.1"; port = 7603; };
|
|
||||||
|
|
||||||
auth { user = "*@127.0.0.0/8"; class = "users"; };
|
|
||||||
|
|
||||||
operator "oper" {
|
|
||||||
user = "*@127.0.0.0/8";
|
|
||||||
password = "oper";
|
|
||||||
flags = global_kill, remote, kline, unkline, nick_changes,
|
|
||||||
die, rehash, admin, xline, operwall, oper_spy, ~encrypted;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite1." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7601;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
connect "testsuite2." {
|
|
||||||
host = "127.0.0.1";
|
|
||||||
port = 7602;
|
|
||||||
send_password = "testsuite";
|
|
||||||
accept_password = "testsuite";
|
|
||||||
hub_mask = "*";
|
|
||||||
class = "server";
|
|
||||||
flags = topicburst;
|
|
||||||
};
|
|
||||||
|
|
||||||
shared {
|
|
||||||
oper = "*@*", "*";
|
|
||||||
flags = all;
|
|
||||||
};
|
|
||||||
|
|
||||||
alias "NickServ" {
|
|
||||||
target = "NickServ";
|
|
||||||
};
|
|
||||||
alias "ChanServ" {
|
|
||||||
target = "ChanServ";
|
|
||||||
};
|
|
||||||
alias "OperServ" {
|
|
||||||
target = "OperServ";
|
|
||||||
};
|
|
||||||
alias "MemoServ" {
|
|
||||||
target = "MemoServ";
|
|
||||||
};
|
|
||||||
|
|
||||||
service {
|
|
||||||
name = "services.";
|
|
||||||
};
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
testdir=`pwd`
|
|
||||||
prefix=`sed -n -e 's/^#define IRCD_PREFIX "\(.*\)"/\1/p' "$testdir/../include/setup.h"`
|
|
||||||
[ -d $prefix ] || { echo Unable to find installation prefix; exit 1; }
|
|
||||||
|
|
||||||
$prefix/bin/charybdis -configfile $testdir/ircd.conf.1 -pidfile $testdir/ircd.pid.1
|
|
||||||
$prefix/bin/charybdis -configfile $testdir/ircd.conf.2 -pidfile $testdir/ircd.pid.2
|
|
||||||
$prefix/bin/charybdis -configfile $testdir/ircd.conf.3 -pidfile $testdir/ircd.pid.3
|
|
Loading…
Reference in a new issue