commit a default conf file

This commit is contained in:
Fish 2007-08-01 12:59:36 +00:00
parent f6ebd8a906
commit b880d51b94
30 changed files with 430 additions and 115 deletions

1
.gitattributes vendored
View file

@ -553,6 +553,7 @@ src/nsevents.c -text
src/typemap -text src/typemap -text
src/win32/icon1.ico -text src/win32/icon1.ico -text
src/win32/neostats.bmp -text src/win32/neostats.bmp -text
src/win32/neostats.conf -text
src/win32/neostats.rc -text src/win32/neostats.rc -text
src/win32/resource.h -text src/win32/resource.h -text
src/win32/winmain.c -text src/win32/winmain.c -text

View file

@ -254,7 +254,7 @@ neodir = $(prefix)
neo_SCRIPTS = neostats neo_SCRIPTS = neostats
DISTCLEANFILES = autotools/ccdv DISTCLEANFILES = autotools/ccdv
EXTRA_DIST = autotools/ccdv.c CREDITS INSTNOTES RELNOTES autotools/shtool EXTRA_DIST = autotools/ccdv.c CREDITS INSTNOTES RELNOTES autotools/shtool
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -1,4 +1,4 @@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
.c.o: .c.o:

View file

@ -230,7 +230,7 @@ noinst_HEADERS = commands.h dns.h servers.h users.h conf.h \
adnsdlist.h adnsinternal.h adnstvarith.h namedvars-core.h adnsdlist.h adnsinternal.h adnstvarith.h namedvars-core.h
extra_DIST = version.h extra_DIST = version.h
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -209,7 +209,7 @@ target_alias = @target_alias@
unamepath = @unamepath@ unamepath = @unamepath@
wi_PWD = @wi_PWD@ wi_PWD = @wi_PWD@
SUBDIRS = pcre curl event nxml SUBDIRS = pcre curl event nxml
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -312,7 +312,7 @@ noinst_HEADERS = arpa_telnet.h netrc.h file.h timeval.h base64.h hostip.h \
include_HEADERS = curl.h curlver.h easy.h multi.h mprintf.h include_HEADERS = curl.h curlver.h easy.h multi.h mprintf.h
BUILT_SOURCES = $(srcdir)/ca-bundle.h BUILT_SOURCES = $(srcdir)/ca-bundle.h
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -241,7 +241,7 @@ EXTRA_DIST = err.c \
WIN32-Prj/libevent.dsp \ WIN32-Prj/libevent.dsp \
WIN32-Prj/libevent.dsw WIN32-Prj/libevent.dsw
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -240,7 +240,7 @@ include_HEADERS = nxml.h mrss.h
noinst_HEADERS = nxml_internal.h mrss_internal.h noinst_HEADERS = nxml_internal.h mrss_internal.h
INCLUDES = -I$(top_srcdir)/lib/curl/ INCLUDES = -I$(top_srcdir)/lib/curl/
EXTRA_DIST = EXTRA_DIST =
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -240,7 +240,7 @@ dftables_DEPENDENCES = maketables.c
noinst_HEADERS = maketables.c noinst_HEADERS = maketables.c
include_HEADERS = pcre.h include_HEADERS = pcre.h
AM_CFLAGS = @PCRE_CFLAGS@ AM_CFLAGS = @PCRE_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -210,7 +210,7 @@ unamepath = @unamepath@
wi_PWD = @wi_PWD@ wi_PWD = @wi_PWD@
SUBDIRS = dbm protocol @MODULES@ SUBDIRS = dbm protocol @MODULES@
EXTRA_DIST = modules.txt EXTRA_DIST = modules.txt
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = connectserv.la
connectserv_la_SOURCES = cs.c cs.h cs_help.c connectserv_la_SOURCES = cs.c cs.h cs_help.c
connectserv_la_LDFLAGS = -module -avoid-version connectserv_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -231,7 +231,7 @@ SUBDIRS = bdb gdbm
convertdb_SOURCES = convertdb.c ../../src/dl.c ../../src/hash.c ../../src/list.c ../../src/ircstring.c ../../src/nsmemory.c ../../src/osfile.c ../../src/support.c convertdb_SOURCES = convertdb.c ../../src/dl.c ../../src/hash.c ../../src/list.c ../../src/ircstring.c ../../src/nsmemory.c ../../src/osfile.c ../../src/support.c
convertdb_LDFLAGS = --export-dynamic @RDYNAMIC_FLAG@ convertdb_LDFLAGS = --export-dynamic @RDYNAMIC_FLAG@
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -228,7 +228,7 @@ bdb_la_SOURCES = bdb.c
bdb_la_LIBADD = @BDB_LIBS@ bdb_la_LIBADD = @BDB_LIBS@
AM_LDFLAGS = -module -avoid-version @BDB_LDFLAGS@ AM_LDFLAGS = -module -avoid-version @BDB_LDFLAGS@
AM_CFLAGS = -I$(top_srcdir)/include @BDB_CPPFLAGS@ @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @BDB_CPPFLAGS@ @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -241,7 +241,7 @@ noinst_HEADERS = extern.h gdbmerrno.h systems.h gdbmconst.h getopt.h gdbmdefs.h
AM_LDFLAGS = -module -avoid-version AM_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/adns/ @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/adns/ @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = dccpartyline.la
dccpartyline_la_SOURCES = main.c dccpartyline_la_SOURCES = main.c
dccpartyline_la_LDFLAGS = -module -avoid-version dccpartyline_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = extauth.la
extauth_la_SOURCES = extauth.c extauth_la_SOURCES = extauth.c
extauth_la_LDFLAGS = -module -avoid-version extauth_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = hostserv.la
hostserv_la_SOURCES = hostserv.c hostserv.h hs_help.c hostserv_la_SOURCES = hostserv.c hostserv.h hs_help.c
hostserv_la_LDFLAGS = -module -avoid-version hostserv_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = ircdauth.la
ircdauth_la_SOURCES = ircdauth.c ircdauth_la_SOURCES = ircdauth.c
ircdauth_la_LDFLAGS = -module -avoid-version ircdauth_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = limitserv.la
limitserv_la_SOURCES = main.c limitserv.h help.c limitserv_la_SOURCES = main.c limitserv.h help.c
limitserv_la_LDFLAGS = -module -avoid-version limitserv_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = operlog.la
operlog_la_SOURCES = main.c help.c operlog.h operlog_la_SOURCES = main.c help.c operlog.h
operlog_la_LDFLAGS = -module -avoid-version operlog_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -230,7 +230,7 @@ wi_PWD = @wi_PWD@
@DO_PERL_TRUE@perlexttest_la_LDFLAGS = -module -avoid-version @DO_PERL_TRUE@perlexttest_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ @PERL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ @PERL_CFLAGS@
extra_DIST = extension.ple test.pl extra_DIST = extension.ple test.pl
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -299,7 +299,7 @@ unreal31_la_SOURCES = unreal31.c
unreal32_la_SOURCES = unreal32.c unreal32_la_SOURCES = unreal32.c
AM_LDFLAGS = -module -avoid-version AM_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -231,7 +231,7 @@ quoteserv_la_SOURCES = main.c quoteserv.h help.c
quoteserv_la_LDFLAGS = -module -avoid-version quoteserv_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
dist_data_DATA = data/discworld data/redneck dist_data_DATA = data/discworld data/redneck
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -244,7 +244,7 @@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ -I$(top_srcdir)/
-DSYSCONFDIR=\"$(sysconfdir)\" -DSYSCONFDIR=\"$(sysconfdir)\"
dist_data_DATA = GeoIP.dat html/index.tpl dist_data_DATA = GeoIP.dat html/index.tpl
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = template.la
template_la_SOURCES = main.c template_la_SOURCES = main.c
template_la_LDFLAGS = -module -avoid-version template_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -227,7 +227,7 @@ pkglib_LTLIBRARIES = templateauth.la
templateauth_la_SOURCES = main.c templateauth_la_SOURCES = main.c
templateauth_la_LDFLAGS = -module -avoid-version templateauth_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -232,7 +232,7 @@ textserv_la_LDFLAGS = -module -avoid-version
AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@ AM_CFLAGS = -I$(top_srcdir)/include @PCRE_CFLAGS@ @CURL_CFLAGS@
tsdbdir = $(datadir)/TSDB/ tsdbdir = $(datadir)/TSDB/
dist_tsdb_DATA = data/barmaid data/icecream data/loveserv data/moraleserv data/waitress dist_tsdb_DATA = data/barmaid data/icecream data/loveserv data/moraleserv data/waitress
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -279,7 +279,7 @@ BUILT_SOURCES = NV.c
CLEANFILES = NV.c CLEANFILES = NV.c
neostats_LDFLAGS = --export-dynamic @RDYNAMIC_FLAG@ neostats_LDFLAGS = --export-dynamic @RDYNAMIC_FLAG@
noinst_HEADERS = confuselexer.l NeoStats.pm noinst_HEADERS = confuselexer.l NeoStats.pm
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ LINK = $(CCDV) $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
distdir = @DISTDIRVERSION@ distdir = @DISTDIRVERSION@

View file

@ -122,12 +122,6 @@ PPCODE:
#CODE: #CODE:
#printf("DESTROY\n"); #printf("DESTROY\n");
#void
#FETCH(self)
# SV *self;
#CODE:
#printf("FETCH\n");
MODULE = NeoStats::NV PACKAGE = NeoStats::NV::HashVars MODULE = NeoStats::NV PACKAGE = NeoStats::NV::HashVars
#/* get a individual entry. self points to what we set with sv_magic in #/* get a individual entry. self points to what we set with sv_magic in
@ -184,35 +178,6 @@ OUTPUT:
RETVAL RETVAL
#/* store a update. should check if its RO or RW though */
void
STORE(self, key, value)
SV *self;
SV *key;
HV *value;
PREINIT:
HV *hash;
char *k;
STRLEN klen;
MAGIC *mg;
nv_list *nv;
CODE:
/* find our magic */
hash = (HV*)SvRV(self);
mg = mg_find(SvRV(self),'~');
if(!mg) { croak("lost ~ magic"); }
/* this is the nv_hash we are point at */
nv = (nv_list *)SvIV(mg->mg_obj);
/* make sure its a hash, not a list */
if (nv->type == NV_TYPE_HASH) {
nlog(LOG_WARNING, "NamedVars is not a hash?!?!");
} else if (nv->type == NV_TYPE_LIST) {
k = SvPV(key, klen);
perl_store_namedvars(nv, k, value);
}
# /* check if a entry is in the hash */ # /* check if a entry is in the hash */
bool bool
@ -334,56 +299,3 @@ OUTPUT:
#/* delete a entry */ #/* delete a entry */
HV*
DELETE(self, key)
SV *self;
SV *key;
PREINIT:
HV *hash;
MAGIC *mg;
nv_list *nv;
void *data;
char *k;
STRLEN klen;
CODE:
hash = (HV*)SvRV(self);
mg = mg_find(SvRV(self),'~');
if(!mg) { croak("lost ~ magic"); }
nv = (nv_list *)SvIV(mg->mg_obj);
/* make sure its a hash, not a list */
if (nv->type != NV_TYPE_HASH) {
nlog(LOG_WARNING, "Del: NamedVars is not a hash?!?!");
RETVAL = (HV *)-1;
} else {
/* get the "key" they want */
k = SvPV(key, klen);
/* search for the key */
data = hnode_find((hash_t *)nv->data, k);
if (!data) {
RETVAL = (HV *)-1;
} else {
if (perl_candelete_namedvars(nv, k)) {
RETVAL = (HV *)perl_encode_namedvars(nv, data);
perl_delete_namedvars(nv, k);
} else {
RETVAL = (HV *)-1;
}
}
}
POSTCALL:
RETURN_UNDEF_IF_FAIL;
OUTPUT:
RETVAL
#/* clear the hash */
void
CLEAR(self)
SV *self;
PREINIT:
HV *hash;
CODE:
printf("CLEAR\n");
hash = (HV*)SvRV(self);
croak("CLEAR function is not implemented");

402
src/win32/neostats.conf Executable file
View file

@ -0,0 +1,402 @@
##################################################
## Configuration file for NeoStats
## Created: Wed, Aug 1 2007 - 20:57:51 SGT
## NeoStats Copyright (c) 1999-2007, Adam Rutter, Justin Hammond, Mark Hetherington
## Web: http://www.NeoStats.Net
## File Revision: 3.0
##################################################
##################################################
#Each of the options has an indicator as follows:
# [REQUIRED] - must be set or NeoStats will not run.
# [RECOMMENDED] - optional but may cause problems if not set.
# [OPTIONAL] - optional and the feature will be disabled if not set.
# [DISCOURAGED] - may cause undesirable side effects if enabled.
##################################################
#################################
# NeoStats Server Configuration #
#################################
ServerConfig {
# NAME = "<hostname>" [REQUIRED]
# Specifies the name of the NeoStats Server as it will appear on
# the network. e.g.
#
# SERVER_NAME = "stats.neostats.net"
#
# When NeoStats links, it will appear as stats.neostats.net.
Name = "stats.somenet.net"
# INFO = "<info line>" [REQUIRED]
# Specify the description of the server that
# appears when you do /links e.g.
#
# INFO "Network Auxiliary Services"
Info = "NeoStats 3.0 IRC Services"
# SERVICECHANNEL="#<channel name>" [REQUIRED]
# Specify the channel that all bots on NeoStats
# will automatically join, and echo out any
# important information e.g.
#
# SERVICECHANNEL="#services"
#
# Makes NeoStats, and all the other bots join #services channel on
# start-up/load.
ServiceChannel = "#services"
# SERVER_NUMERIC = <numeric> [RECOMMENDED]
# Specify the numeric of the server to send on connect.
# This must be a value between 1 and 254, and must not be in use by
# any other IRC server on the network.
#
# SERVER_NUMERIC = 1
ServerNumeric = 1
# BINDTO = <ip address or hostname> [OPTIONAL]
# Make NeoStats bind to a particular IP Address. If not
# specified NeoStats will attempt to find this address
# itself. e.g.
#
# BINDTO 203.203.123.12
#
# All outgoing connections from NeoStats will originate from this
# IP address
# This IP address should not be localhost (127.0.0.1)
BindTo = "127.0.0.1 <- CHANGETHIS!!"
# PROTOCOL = "<protocol>" [REQUIRED]
# Specifies the protocol module to use.
# Valid protocol options are:
# unreal31 unreal32 ultimate2 ultimate3
# hybrid7 bahamut14 bahamut18 plexus
# ircup10 asuka nefarious
# client
#
# PROTOCOL = "unreal32"
#
Protocol = "unreal32"
}
#################################
# NeoStats Option Configuration #
#################################
Options {
# RECONNECTTIME = <seconds> [RECOMMENDED]
# If NeoStats server gets split from the network, how long to wait
# before attempting to reconnect to the network. A value of 0 will
# cause NeoStats to shutdown and not attempt to reconnect. e.g.
#
# RECONNECTTIME = 10
#
# Specifies wait 10 seconds before trying to reconnect
#
# RECONNECT_TIME = 0
#
# Tells NeoStats to never reconnect to the network
#
# If not specified, NeoStats will default to 10 seconds.
ReconnectTime = 10
# USEPRIVMSG = <true/false> [DISCOURAGED]
# Specify if the bots should send all messages as privmsgs or as
# notices (Most Services use notice) e.g.
#
# USEPRIVMSG true
#
# If present or set to true, will send all messages as privmsgs (if commented out,
# it will send as Notices) *NOTE:* This option Violates IRC RFC, and
# can cause flooding problems on your network. Its NOT recommended.
UsePrivmsg = false
# OPERONLY = <true/false> [OPTIONAL]
# Restrict NeoStats and StatServ to opers use only.
# If not specified, users will have some access to NeoStats
# and StatServ commands. e.g.
#
# OPERONLY=true
#
# Only opers may use NeoStats and StatServ.
OperOnly = false
# SERVERSETTIME=<INTERVAL> [OPTIONAL]
# Cause NeoStats to sync server times at the given interval
# INTERVAL is an integer representing the number of hours
#
# Examples
#
# SERVERSETTIME=24
#
# Cause NeoStats to sync server times every 24 hours
# If not present, NeoStats will not sync times.
# This option only works on servers that support this and
# defaults to a sync interval of 24 hours. Enabling this
# option will also cause NeoStats to sync servers when it
# first joins the network.
ServerSettime = 24
# DatabaseType = "<dbm>" [OPTIONAL]
# Specifies the database manager module to use.
# NeoStats will default to GDBM if this is not provided.
# Valid options are:
# gdbm
#
# DatabaseType = "gdbm"
#
#
DatabaseType = "gdbm"
# LOGFILENAMEFORMAT = "<format>" [OPTIONAL]
# Defines the format for dated log files. This allows you to choose
# what date format is used for log file names when they are rotated at
# midnight. The option uses the parameters passed to strftime so you
# can use any options valid for that function. Common ones are:
# %a Abbreviated weekday name
# %A Full weekday name
# %b Abbreviated month name
# %B Full month name
# %d Day of month as decimal number (01 31)
# %m Month as decimal number (01 12)
# %y Year without century, as decimal number (00 99)
# %Y Year with century, as decimal number
#
# Examples using 30 September 2003 as the date:
# For NeoStats0930.log:
#
# LOGFILENAMEFORMAT="%m%d"
#
# For NeoStats20030930.log:
#
# LOGFILENAMEFORMAT="%Y%m%d"
#
# If not defined, the default is the original NeoStats log format of
# "-%m-%d" i.e. NeoStats-09-30.log
#LogFileNameFormat = "-%m-%d"
# ROOTNICK = "<nick>" [REQUIRED]
# Specifies the nick of the NeoStats root bot
# e.g.
#
# ROOTNICK="NeoStats"
#
# When NeoStats links, it create a root bot with nick NeoStats
RootNick = "NeoStats"
# SERVICESHOST = "<hostname>" [REQUIRED]
# Specifies the default host of NeoStats service bots
# e.g.
#
# SERVICEHOST="stats.net"
#
# Service bots will now we user@stats.net
# If not specified NeoStats will default to the server name
ServicesHost = "stats.net"
# NOLOAD = true [YOU MUST REMOVE THIS]
# If this is in the neostats.conf your NeoStats WILL NOT START UP. To
# disable this simply comment this line out. e.g.
#
# NOLOAD = true <- NeoStats will not load.
#
# #NOLOAD = true <- NeoStats will load.
#
# NOLOAD = false <- Neostats will load.
NOLOAD = true
}
##################################
# NeoStats Linking Configuration #
##################################
# This section defines the Server that NeoStats will
# attempt to link to. You must configure this server
# with the correct C/N and U lines for Neostats
Servers {
# IPADDRESS ="<ip address or hostname>" [REQUIRED]
# Specifies the IP address to connect to. e.g.
#
# IPADDRESS="127.0.0.1"
#
# This will force stats to connect to 127.0.0.1
IpAddress = "127.0.0.1"
# PORT = <port number> [REQUIRED]
# Specifies the port to connect to on the IRC Server e.g.
#
# PORT=6667
#
# When connecting, NeoStats will connect to port 6667
Port = 6667
# PASSWORD="<link password>" [REQUIRED]
# Specifies the password used to connect. This must match your C/N
# lines in your IRCD configuration e.g.
#
# PASSWORD="linkpass"
#
# Send "linkpass" as the password to connect
Password = "linkpassword"
}
########################################
# NeoStats Administrator Configuration #
########################################
ServiceRoot {
#MASK="<nick!ident@host>" [REQUIRED]
# Who should get master access to manage NeoStats regardless of
# authentication systems. Only one entry allowed. e.g.
#
# MASK="fish!?Fish@*.neostats.net"
#
# Will give "fish" complete access to NeoStats if fish has
# umode +r and comes from the specified hostname and ident.
#Mask = "ircop!*@*"
}
#################################
# NeoStats Module Configuration #
#################################
Modules {
#####################################
# Module Configurations and Loading #
#####################################
# MODULENAME = {"<module name>", "<module name>", "<module_name>"} [OPTIONAL]
# What modules to load at start-up. e.g.
#
# MODULENAME = { "statserv" }
#
# Will load up StatServ only at boot
#
# To specify NeoStats to load multiple modules, place a comma after
# each module and specify the next one e.g.
#
# MODULENAME = { "statserv", "extauth" }
#
# will load up both statserv and extauth modules
#
# We have provided example lines for convenience for
# official modules but you must download and install
# external modules before trying to load them.
MODULENAME = {
# StatServ, maintain and report various networks statistics
# "statserv",
# HostServ, vhost services for users
# "hostserv",
# TextServ, text messaging service
# "textserv",
# ConnectServ, monitor connections to the network: user connections, oper
# modes, server connections and nick changes.
# "connectserv",
# Operlog, operator command logging service
# "operlog",
# IRCdauth, authenticate users based on their user modes.
# "ircdauth",
# Extauth, authenticate users based on nick!user@host access lists
# "extauth",
# QuoteServ, Quote Message Service
# "quoteserv",
# LimitServ, Channel Limit Setting Service
# "limitserv",
# SecureServ. You must download and install SecureServ first.
# "secureserv",
# BLSB. You must download and install BLSB first.
# "blsb",
# OPSB. You must download and install OPSB first.
# "opsb",
# LogServ. You must download and install LogServ first.
# "logserv",
# TriviaServ. You must download and install TriviaServ first.
# "triviaserv",
# WarServ. You must download and install WarServ first.
# "warserv",
# GamesServ. You must download and install GameServ first.
# "gamesserv",
# YahzteeServ. You must download and install YahzteeServ first.
# "yahtzeeserv",
# FloodServ. You must download and install FloodServ first.
# "floodserv",
# SeenServ. You must download and install SeenServ first.
# "seenserv",
# ProfileServ. You must download and install ProfileServ first.
# "profileserv",
}
}
#####################################
# NeoNetConfigurations and Loading #
#####################################
# NeoNet is a protocol that links all NeoStats installations back to the main
# NeoStats sites, such as http://secure.irc-chat.net etc.
# This allows you to take advantage of some of the aditional features or modules
# that we support, such as updated definitions for SecureServ accounts, or
# reporting options for OPSB.
# You must visit http://accounts.neostats.net/ to create your NeoNet account
# and select what aditional options you would like. (some might require 3rd
# party modules, such as SecureServ or OPSB).
# If you have been using SecureServ on the 2.5 series, please visit
# http://accounts.neostats.net/migrate/ for information on how to
# use your existing Secure.irc-chat.net account with NeoNet.
NeoNet {
# This is the username, as supplied on the NeoNet pages.
# It should be your IRC Network user account and not your
# personal accounts.
# UserName = "somenet"
# This is your IRC Network User account password.
# PassWord = "password"
# Leave the port at 2960 unless otherwise instructed.
# Port = 2960
# This option handles how NeoNet connections are established. The available
# options are:
# yes - Connect to NeoNet during startup
# no - Never connect to NeoNet (Note, some features might not work if Connect
# is set to No
# demand - Only connect to NeoNet when there is a pending NeoNet Message
# to be sent.
Connect = "no"
}
###############################################################################
## End of Configuration ##
###############################################################################