summaryrefslogtreecommitdiff
path: root/irc/ratbox-services/files
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ratbox-services/files')
-rw-r--r--irc/ratbox-services/files/patch-Makefile.in34
-rw-r--r--irc/ratbox-services/files/patch-help_Makefile.in27
-rw-r--r--irc/ratbox-services/files/patch-include-tools.h13
-rw-r--r--irc/ratbox-services/files/patch-include_config.h16
-rw-r--r--irc/ratbox-services/files/patch-langs_Makefile.in21
-rw-r--r--irc/ratbox-services/files/patch-src-lexer.l11
-rw-r--r--irc/ratbox-services/files/patch-tools_dbupgrade.pl23
-rw-r--r--irc/ratbox-services/files/patch-tools_generate-schema.pl17
-rw-r--r--irc/ratbox-services/files/pkg-install.in30
-rw-r--r--irc/ratbox-services/files/pkg-message.in69
-rw-r--r--irc/ratbox-services/files/ratbox-services.in37
11 files changed, 0 insertions, 298 deletions
diff --git a/irc/ratbox-services/files/patch-Makefile.in b/irc/ratbox-services/files/patch-Makefile.in
deleted file mode 100644
index 0a30b920a0c9..000000000000
--- a/irc/ratbox-services/files/patch-Makefile.in
+++ /dev/null
@@ -1,34 +0,0 @@
---- ./Makefile.in.orig 2008-02-17 15:33:40.000000000 +0000
-+++ ./Makefile.in 2008-06-26 15:48:13.000000000 +0100
-@@ -6,8 +6,8 @@
- LIBS=@LIBS@
- LDFLAGS=@LDFLAGS@
-
--SUBDIRS=@SQLITE_SUBDIR@ @PCRE_SUBDIR@ src help langs
--SUBDIRS_NOINSTALL=@SQLITE_SUBDIR@ src help langs
-+SUBDIRS=src help langs
-+SUBDIRS_NOINSTALL=src help langs
-
- prefix=@prefix@
- exec_prefix=@prefix@
-@@ -38,20 +38,6 @@
- done
-
- install: build
-- $(INSTALL) -m 750 -d $(DESTDIR)$(prefix)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(bindir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(sbindir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(sysconfdir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(includedir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(logdir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(rundir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(helpdir)
-- $(INSTALL) -m 750 -d $(DESTDIR)$(includedir)
-- $(INSTALL) -m 750 tools/ircd-shortcut.pl $(DESTDIR)$(bindir)
-- $(INSTALL) -m 750 tools/dbupgrade.pl $(DESTDIR)$(bindir)
-- $(INSTALL) -m 640 tools/definetolength.pl $(DESTDIR)$(bindir)
-- $(INSTALL) -m 750 src/$(BIN) $(DESTDIR)$(sbindir)
-- $(INSTALL) -m 640 doc/example.conf $(DESTDIR)$(sysconfdir)
- $(INSTALL) -m 640 include/setup.h $(DESTDIR)$(includedir)
- $(INSTALL) -m 640 include/rserv.h $(DESTDIR)$(includedir)
- $(INSTALL) -m 640 include/channel.h $(DESTDIR)$(includedir)
diff --git a/irc/ratbox-services/files/patch-help_Makefile.in b/irc/ratbox-services/files/patch-help_Makefile.in
deleted file mode 100644
index be20758dffc2..000000000000
--- a/irc/ratbox-services/files/patch-help_Makefile.in
+++ /dev/null
@@ -1,27 +0,0 @@
---- ./help/Makefile.in.orig 2007-09-08 14:36:57.000000000 +0100
-+++ ./help/Makefile.in 2008-06-26 13:29:10.000000000 +0100
-@@ -13,22 +13,12 @@
- SERVICES=alis main operbot chanserv userserv jupeserv operserv nickserv global banserv watchserv memoserv
-
- install:
-- @if [ -d $(DESTDIR)$(helpdir)-old ]; then \
-- echo "Removing old helpfiles"; \
-- $(RM) -rf $(DESTDIR)$(helpdir)-old; \
-- fi
-- @if [ -d $(DESTDIR)$(helpdir) ]; then \
-- echo "Backing up current helpfiles"; \
-- $(MV) $(DESTDIR)$(helpdir) $(DESTDIR)$(helpdir)-old; \
-- fi
--
- @echo "Installing new helpfiles"
-- @$(INSTALL) -m 750 -d $(DESTDIR)$(helpdir)
-
- @for k in $(LANGS); do \
-- $(INSTALL) -m 750 -d $(DESTDIR)$(helpdir)/$$k; \
-+ $(INSTALL) -d $(DESTDIR)$(helpdir)/$$k; \
- for i in $(SERVICES); do \
-- $(INSTALL) -m 750 -d $(DESTDIR)$(helpdir)/$$k/$$i; \
-+ $(INSTALL) -d $(DESTDIR)$(helpdir)/$$k/$$i; \
- for j in $$k/$$i/*; do \
- if [ -f $$j ]; then \
- $(INSTALL_DATA) $$j $(DESTDIR)$(helpdir)/$$k/$$i; \
diff --git a/irc/ratbox-services/files/patch-include-tools.h b/irc/ratbox-services/files/patch-include-tools.h
deleted file mode 100644
index b43f7cfa70b4..000000000000
--- a/irc/ratbox-services/files/patch-include-tools.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- include/tools.h.orig 2014-02-21 09:56:56.433232947 -0600
-+++ include/tools.h 2014-02-21 09:56:58.518249228 -0600
-@@ -26,8 +26,8 @@
- extern const char *lcase(const char *);
- extern const char *ucase(const char *);
-
--__inline int string_to_array(char *string, char *parv[]);
--__inline int string_to_array_delim(char *string, char *parv[], char delim, int maxpara);
-+int string_to_array(char *string, char *parv[]);
-+int string_to_array_delim(char *string, char *parv[], char delim, int maxpara);
-
- #ifndef HAVE_STRLCAT
- extern size_t strlcat(char *dst, const char *src, size_t siz);
diff --git a/irc/ratbox-services/files/patch-include_config.h b/irc/ratbox-services/files/patch-include_config.h
deleted file mode 100644
index 8ae71fc2e754..000000000000
--- a/irc/ratbox-services/files/patch-include_config.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- ./include/config.h.orig 2008-05-20 20:11:01.000000000 +0100
-+++ ./include/config.h 2008-06-26 15:50:19.000000000 +0100
-@@ -5,11 +5,12 @@
- * IMPORTANT: if you alter the directories these files go to,
- * you must create those paths yourself.
- */
-+#define DBDIR "%%DBDIR%%"
- #define CONF_PATH SYSCONFDIR "/ratbox-services.conf"
- #define PID_PATH RUNDIR "/ratbox-services.pid"
- #define LOG_PATH LOGDIR "/ratbox-services.log"
- #define HELP_PATH HELPDIR
--#define DB_PATH SYSCONFDIR "/ratbox-services.db"
-+#define DB_PATH DBDIR "/ratbox-services.db"
-
- /* SMALL_NETWORK
- * If your network is fairly small, enable this to save some memory.
diff --git a/irc/ratbox-services/files/patch-langs_Makefile.in b/irc/ratbox-services/files/patch-langs_Makefile.in
deleted file mode 100644
index f1918410b706..000000000000
--- a/irc/ratbox-services/files/patch-langs_Makefile.in
+++ /dev/null
@@ -1,21 +0,0 @@
---- ./langs/Makefile.in.orig 2008-06-26 13:29:27.000000000 +0100
-+++ ./langs/Makefile.in 2008-06-26 13:30:48.000000000 +0100
-@@ -12,17 +12,8 @@
- LANGS=bg.lang ru.lang
-
- install:
-- @if [ -d $(DESTDIR)$(langdir)-old ]; then \
-- echo "Removing old translations"; \
-- $(RM) -rf $(DESTDIR)$(langdir)-old; \
-- fi
-- @if [ -d $(DESTDIR)$(langdir) ]; then \
-- echo "Backing up current translations"; \
-- $(MV) $(DESTDIR)$(langdir) $(DESTDIR)$(langdir)-old; \
-- fi
--
- @echo "Installing new translations"
-- @$(INSTALL) -m 750 -d $(DESTDIR)$(langdir)
-+ @$(INSTALL) -d $(DESTDIR)$(langdir)
-
- @for k in $(LANGS); do \
- $(INSTALL_DATA) $$k $(DESTDIR)$(langdir)/$$k; \
diff --git a/irc/ratbox-services/files/patch-src-lexer.l b/irc/ratbox-services/files/patch-src-lexer.l
deleted file mode 100644
index c621da21c330..000000000000
--- a/irc/ratbox-services/files/patch-src-lexer.l
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/lexer.l.orig 2014-02-21 09:53:24.569248191 -0600
-+++ src/lexer.l 2014-02-21 09:53:27.494247058 -0600
-@@ -44,7 +44,7 @@
- int yyget_lineno(void);
- FILE *yyget_in(void);
- FILE *yyget_out(void);
--int yyget_leng(void);
-+size_t yyget_leng(void);
- char *yyget_text(void);
- void yyset_lineno(int line_number);
- void yyset_in(FILE * in_str);
diff --git a/irc/ratbox-services/files/patch-tools_dbupgrade.pl b/irc/ratbox-services/files/patch-tools_dbupgrade.pl
deleted file mode 100644
index 8ada4c52e9a4..000000000000
--- a/irc/ratbox-services/files/patch-tools_dbupgrade.pl
+++ /dev/null
@@ -1,23 +0,0 @@
---- ./tools/dbupgrade.pl.orig Fri Aug 24 13:01:39 2007
-+++ ./tools/dbupgrade.pl Fri Aug 24 13:38:23 2007
-@@ -27,9 +27,9 @@
- exit;
- }
-
--unless(-r "../include/setup.h")
-+unless(-r "%%PREFIX%%/include/setup.h")
- {
-- print("Unable to read ../include/setup.h, please run configure first\n");
-+ print("Unable to read %%PREFIX%%/include/setup.h, please run configure first\n");
- exit();
- }
-
-@@ -71,7 +71,7 @@
- }
- else
- {
-- %vals = &parse_includes("../include");
-+ %vals = &parse_includes("%%PREFIX%%/include");
- }
-
- while(my ($key, $value) = each(%vals))
diff --git a/irc/ratbox-services/files/patch-tools_generate-schema.pl b/irc/ratbox-services/files/patch-tools_generate-schema.pl
deleted file mode 100644
index af6b818b0b6d..000000000000
--- a/irc/ratbox-services/files/patch-tools_generate-schema.pl
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./tools/generate-schema.pl.orig 2006-09-09 16:41:27.000000000 +0100
-+++ ./tools/generate-schema.pl 2008-06-26 15:36:23.000000000 +0100
-@@ -15,11 +15,11 @@
- my @schemas = ("base/schema-mysql.txt", "base/schema-pgsql.txt");
- my @plain_schemas = ("base/schema-sqlite.txt");
-
--my %vals = &parse_includes("../include");
-+my %vals = &parse_includes("%%PREFIX%%/include");
-
--unless(-r "../include/setup.h")
-+unless(-r "%%PREFIX%%/include/setup.h")
- {
-- print("Unable to read ../include/setup.h, please run configure first\n");
-+ print("Unable to read %%PREFIX%%/include/setup.h, please run configure first\n");
- exit();
- }
-
diff --git a/irc/ratbox-services/files/pkg-install.in b/irc/ratbox-services/files/pkg-install.in
deleted file mode 100644
index 94da53a66f2b..000000000000
--- a/irc/ratbox-services/files/pkg-install.in
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# Adapted from irc/ircd-hybrid's script
-#
-
-#-----------------------------------------------------------------------
-if [ "x$2" = "xPRE-INSTALL" ]; then
-#-----------------------------------------------------------------------
-
-# ${DO_NADA}
-
-#-----------------------------------------------------------------------
-elif [ "x$2" = "xPOST-INSTALL" ]; then
-#-----------------------------------------------------------------------
-
-lf="%%LOGDIR%%/ratbox-services.log"
-
-touch $lf \
-&& chown ircservices:ircservices $lf \
-&& chmod 640 $lf
-
-cd %%DATADIR%% \
-&& %%PERL%% ./generate-schema.pl
-
-
-#-----------------------------------------------------------------------
-fi
-#-----------------------------------------------------------------------
-
-exit 0
diff --git a/irc/ratbox-services/files/pkg-message.in b/irc/ratbox-services/files/pkg-message.in
deleted file mode 100644
index aaf10aa5bcd7..000000000000
--- a/irc/ratbox-services/files/pkg-message.in
+++ /dev/null
@@ -1,69 +0,0 @@
-[
-{ type: install
- message: <<EOM
-ratbox-services has been successfully installed.
-
-A sample configuration file 'ratbox-services.conf' has been created in
-'%%PREFIX%%/etc/', you should edit this file as per the
-ratbox-services documentation. This file is required to start services.
-
-You may also need to perform the following steps, if you have not
-already done so:
-
-Initialize Database:
---------------------
-This must be done before the services server can start, even if you are
-converting from hybserv. Instructions for this are contained in:
-
- %%DOCSDIR%%/INSTALL.<database_backend>
-
-The following directory has been created for the database to be stored
-in. For consistency, please use this location when generating your
-database instead of the directory specified in the help documentation:
-
- %%DBDIR%%/
-
-The database schemas have been generated for you by the port, so this
-step in the documentation will not be necessary. For example, to create
-an sqlite database, you might do something like this:
-
- cd %%DATADIR%%
- sqlite3 %%DBDIR%%/ratbox-services.db < schema-sqlite.txt
-
-IRCD Server Config:
--------------------
-On the ircd ratbox-services will connect to, add a connect{} block.
-This should have services's server name (name in serverinfo{} in
-ratbox-services.conf) and no autoconnect. 'send_password' and
-'accept_password' should be equal and 'flags=encrypted' should
-not be used.
-
-If you use the ratbox-services compatibility code in ircd-ratbox,
-all servers need service { name = "<ratbox-services's server name>"; };
-
-Once you have added ratbox_services_enable="YES" to /etc/rc.conf, the
-server can be started by running:
-
- %%PREFIX%%/etc/rc.d/ratbox-services start
-
-Important UPGRADE Note:
------------------------
-Upgrading from 1.1.x to this current release will require modifications to
-the services configuration file and database so everything doesn't break.
-You must check the example configuration file and read the UPGRADING docs
-for information on how to do this before starting services.
-
- %%DOCSDIR%%/UPGRADING
-
-Common database update tools and scripts referenced in ratbox-services
-documentation can be found in:
- %%DATADIR%%/
-
-Database Support Note:
-----------------------
-In recent versions, support for MySQL and PgSQL lib detection has been slightly
-broken and currently does not work as expected. This problem should be resolved
-in the next release.
-EOM
-}
-]
diff --git a/irc/ratbox-services/files/ratbox-services.in b/irc/ratbox-services/files/ratbox-services.in
deleted file mode 100644
index 1ab25706fb13..000000000000
--- a/irc/ratbox-services/files/ratbox-services.in
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: ratbox-services
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-
-. /etc/rc.subr
-
-name="ratbox_services"
-rcvar=ratbox_services_enable
-load_rc_config $name
-
-ratbox_services_enable=${ratbox_services_enable:-"NO"}
-ratbox_services_user=${ratbox_services_user:-"ircservices"}
-ratbox_services_group=${ratbox_services_group:-"ircservices"}
-
-command="%%PREFIX%%/sbin/ratbox-services"
-pidfile=%%RUNDIR%%/ratbox-services.pid
-required_files="%%PREFIX%%/etc/ratbox-services.conf"
-
-start_precmd=prestart
-stop_precmd=prestop
-
-prestart()
-{
- touch $pidfile
- chown $ratbox_services_user:$ratbox_services_group $pidfile
-}
-
-prestop()
-{
- rm -f $pidfile
-}
-
-run_rc_command "$1"