diff options
author | Rene Ladan <rene@FreeBSD.org> | 2024-09-01 16:13:49 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2024-09-01 16:13:49 +0200 |
commit | 691a53204e47f0d4fe6e214b3d19127f53fd6063 (patch) | |
tree | 0a438ca841afde6e69d19a62a86920f9c64774f9 /irc/ircd-ratbox-devel/files | |
parent | devel/py-jaraco.timing: Remove expired port (diff) |
irc/ircd-ratbox-devel: Remove expired port
2024-08-31 irc/ircd-ratbox-devel: Development stalled upstream, consider switching to irc/ircd-ratbox
Diffstat (limited to 'irc/ircd-ratbox-devel/files')
-rw-r--r-- | irc/ircd-ratbox-devel/files/ircd-ratbox.in | 44 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-contrib_Makefile.in | 13 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-contrib_ircd-shortcut.pl | 11 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-doc_Makefile.in | 27 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-doc_example.conf | 76 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-doc_example.efnet.conf | 76 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/patch-include_config.h | 22 | ||||
-rw-r--r-- | irc/ircd-ratbox-devel/files/pkg-message.in | 35 |
8 files changed, 0 insertions, 304 deletions
diff --git a/irc/ircd-ratbox-devel/files/ircd-ratbox.in b/irc/ircd-ratbox-devel/files/ircd-ratbox.in deleted file mode 100644 index 464cb9521f11..000000000000 --- a/irc/ircd-ratbox-devel/files/ircd-ratbox.in +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -# PROVIDE: ircd-ratbox -# REQUIRE: DAEMON -# BEFORE: LOGIN - -. /etc/rc.subr - -name="ircd_ratbox" -rcvar=ircd_ratbox_enable -load_rc_config $name - -ircd_ratbox_enable=${ircd_ratbox_enable:-"NO"} -ircd_ratbox_user=${ircd_ratbox_user:-"ircd"} -ircd_ratbox_group=${ircd_ratbox_group:-"ircd"} - -conftest_cmd="ircd_ratbox_conftest" -command="%%PREFIX%%/bin/ircd" -pidfile=%%RUNDIR%%/ircd.pid -required_files="%%PREFIX%%/etc/ircd-ratbox/ircd.conf" - -start_precmd=prestart -stop_precmd=prestop - -prestart() -{ - touch $pidfile - chown $ircd_ratbox_user:$ircd_ratbox_group $pidfile -} - -prestop() -{ - rm -f $pidfile -} - -ircd_ratbox_conftest() -{ - echo "Starting ircd-ratbox in configuration test only mode." - command_args="-conftest" - run_rc_command "start" -} - -extra_commands="conftest" -run_rc_command "$1" diff --git a/irc/ircd-ratbox-devel/files/patch-contrib_Makefile.in b/irc/ircd-ratbox-devel/files/patch-contrib_Makefile.in deleted file mode 100644 index 065b00023cfb..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-contrib_Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- contrib/Makefile.in.orig 2012-03-11 01:12:06.000000000 +0100 -+++ contrib/Makefile.in 2014-07-02 01:22:20.963771475 +0200 -@@ -429,8 +429,8 @@ - $(LIBTOOL) --mode=clean $(RB_RM) -f $(S_OBJS) $(S_CORE_OBJS) $(ST_OBJS) - - install_modules: $(S_OBJS) -- -@@$(MKDIR_P) $(contribdir); \ -- for x in $(S_OBJS); do $(SHELL) ../install-mod.sh $$x $(contribdir);done -+ -@@$(MKDIR_P) $(DESTDIR)$(contribdir); \ -+ for x in $(S_OBJS); do $(SHELL) ../install-mod.sh $$x $(DESTDIR)$(contribdir);done - - #install-mkdirs: - # @echo "ircd: setting up modular directory structure" diff --git a/irc/ircd-ratbox-devel/files/patch-contrib_ircd-shortcut.pl b/irc/ircd-ratbox-devel/files/patch-contrib_ircd-shortcut.pl deleted file mode 100644 index 8e2b4532bf84..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-contrib_ircd-shortcut.pl +++ /dev/null @@ -1,11 +0,0 @@ ---- ./contrib/ircd-shortcut.pl.orig 2008-04-24 16:43:42.000000000 +0100 -+++ ./contrib/ircd-shortcut.pl 2008-11-15 02:55:35.000000000 +0000 -@@ -36,7 +36,7 @@ - ###################################### - - --open(FILE, '>', 'm_rsshortcut.c'); -+open(FILE, '>', '%%WRKSRC%%/contrib/m_rsshortcut.c'); - - print FILE <<".EOF."; - /* m_rsshortcut.c diff --git a/irc/ircd-ratbox-devel/files/patch-doc_Makefile.in b/irc/ircd-ratbox-devel/files/patch-doc_Makefile.in deleted file mode 100644 index fd1595236f2d..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-doc_Makefile.in +++ /dev/null @@ -1,27 +0,0 @@ ---- ./doc/Makefile.in.orig 2008-04-23 20:59:46.000000000 +0100 -+++ ./doc/Makefile.in 2008-11-15 02:55:35.000000000 +0000 -@@ -43,24 +43,6 @@ - fi - - install: install-mkdirs build -- @echo "ircd: installing example config files ($(CONFS))" -- @for i in $(CONFS); do \ -- if test -f $(DESTDIR)$(confdir)/$$i; then \ -- $(MV) $(DESTDIR)$(confdir)/$$i $(DESTDIR)$(confdir)/$$i.old; \ -- fi; \ -- $(INSTALL_DATA) $$i $(DESTDIR)$(confdir); \ -- done -- -- -@if test ! -f $(DESTDIR)$(confdir)/ircd.motd; then \ -- echo "ircd: installing motd file (ircd.motd)"; \ -- $(INSTALL_DATA) ircd.motd $(DESTDIR)$(confdir); \ -- fi -- -- $(INSTALL_BIN) genssl.sh $(DESTDIR)$(confdir) -- -- -@if test -f $(DESTDIR)$(confdir)/links.txt; then \ -- $(RM) $(DESTDIR)$(confdir)/links.txt; \ -- fi - - all: - build: diff --git a/irc/ircd-ratbox-devel/files/patch-doc_example.conf b/irc/ircd-ratbox-devel/files/patch-doc_example.conf deleted file mode 100644 index da5a6f1c74d6..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-doc_example.conf +++ /dev/null @@ -1,76 +0,0 @@ ---- ./doc/example.conf.orig 2012-04-13 14:54:05.000000000 +0100 -+++ ./doc/example.conf 2012-04-13 14:59:46.000000000 +0100 -@@ -98,13 +98,13 @@ - default_max_clients = 10000; - - /* ssl_private_key: our ssl private key */ -- ssl_private_key = "etc/test.key"; -+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key"; - - /* ssl_cert: certificate for our ssl server */ -- ssl_cert = "etc/test.cert"; -+ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert"; - - /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ -- ssl_dh_params = "etc/dh.pem"; -+ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem"; - - /* ssld_count: number of ssld processes you want to start, if you - * have a really busy server, using N-1 where N is the number of -@@ -115,7 +115,7 @@ - ssld_count = 1; - - /* bandb: path to the ban database - default is PREFIX/etc/ban.db */ -- bandb = "etc/ban.db"; -+ bandb = "%%DBDIR%%/ban.db"; - }; - - /* admin {}: contains admin information about the server. (OLD A:) */ -@@ -142,16 +142,16 @@ - * - operspylog: operspy usage - * - ioerrorlog: IO errors - */ -- fname_userlog = "logs/userlog"; -- #fname_fuserlog = "logs/fuserlog"; -- fname_operlog = "logs/operlog"; -- #fname_foperlog = "logs/foperlog"; -- fname_serverlog = "logs/serverlog"; -- fname_glinelog = "logs/glinelog"; -- #fname_klinelog = "logs/klinelog"; -- fname_killlog = "logs/killlog"; -- fname_operspylog = "logs/operspylog"; -- #fname_ioerrorlog = "logs/ioerror"; -+ fname_userlog = "%%LOGDIR%%/userlog"; -+ #fname_fuserlog = "%%LOGDIR%%/fuserlog"; -+ fname_operlog = "%%LOGDIR%%/operlog"; -+ #fname_foperlog = "%%LOGDIR%%/foperlog"; -+ fname_serverlog = "%%LOGDIR%%/serverlog"; -+ fname_glinelog = "%%LOGDIR%%/glinelog"; -+ #fname_klinelog = "%%LOGDIR%%/klinelog"; -+ fname_killlog = "%%LOGDIR%%/killlog"; -+ fname_operspylog = "%%LOGDIR%%/operspylog"; -+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror"; - }; - - /* class {}: contain information about classes for users (OLD Y:) */ -@@ -354,7 +354,7 @@ - * A password should not be defined when this is used, see - * doc/challenge.txt for more information. - */ -- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; -+ #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub"; - - /* umodes: the specific umodes this oper gets when they oper. - * If this is specified an oper will not be given oper_umodes -@@ -1022,8 +1022,9 @@ - /* module path: paths to search for modules specified below and - * in /modload. - */ -- path = "/usr/local/ircd/modules"; -- path = "/usr/local/ircd/modules/autoload"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/"; - - /* module: the name of a module to load on startup/rehash */ - #module = "some_module.so"; diff --git a/irc/ircd-ratbox-devel/files/patch-doc_example.efnet.conf b/irc/ircd-ratbox-devel/files/patch-doc_example.efnet.conf deleted file mode 100644 index 9200b6d79d4a..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-doc_example.efnet.conf +++ /dev/null @@ -1,76 +0,0 @@ ---- ./doc/example.efnet.conf.orig 2012-04-13 14:59:57.000000000 +0100 -+++ ./doc/example.efnet.conf 2012-04-13 15:02:33.000000000 +0100 -@@ -101,13 +101,13 @@ - default_max_clients = 10000; - - /* ssl_private_key: our ssl private key */ -- ssl_private_key = "etc/test.key"; -+ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key"; - - /* ssl_cert: certificate for our ssl server */ -- ssl_cert = "etc/test.cert"; -+ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert"; - - /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ -- ssl_dh_params = "etc/dh.pem"; -+ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem"; - - /* ssld_count: number of ssld processes you want to start, if you - * have a really busy server, using N-1 where N is the number of -@@ -118,7 +118,7 @@ - ssld_count = 1; - - /* bandb: path to the ban database - default is PREFIX/etc/ban.db */ -- bandb = "etc/ban.db"; -+ bandb = "%%DBDIR%%/ban.db"; - }; - - /* admin {}: contains admin information about the server. (OLD A:) */ -@@ -145,16 +145,16 @@ - * - operspylog: operspy usage - * - ioerrorlog: IO errors - */ -- fname_userlog = "logs/userlog"; -- #fname_fuserlog = "logs/fuserlog"; -- fname_operlog = "logs/operlog"; -- #fname_foperlog = "logs/foperlog"; -- fname_serverlog = "logs/serverlog"; -- fname_glinelog = "logs/glinelog"; -- #fname_klinelog = "logs/klinelog"; -- fname_killlog = "logs/killlog"; -- fname_operspylog = "logs/operspylog"; -- #fname_ioerrorlog = "logs/ioerror"; -+ fname_userlog = "%%LOGDIR%%/userlog"; -+ #fname_fuserlog = "%%LOGDIR%%/fuserlog"; -+ fname_operlog = "%%LOGDIR%%/operlog"; -+ #fname_foperlog = "%%LOGDIR%%/foperlog"; -+ fname_serverlog = "%%LOGDIR%%/serverlog"; -+ fname_glinelog = "%%LOGDIR%%/glinelog"; -+ #fname_klinelog = "%%LOGDIR%%/klinelog"; -+ fname_killlog = "%%LOGDIR%%/killlog"; -+ fname_operspylog = "%%LOGDIR%%/operspylog"; -+ #fname_ioerrorlog = "%%LOGDIR%%/ioerror"; - }; - - /* class {}: contain information about classes for users (OLD Y:) */ -@@ -357,7 +357,7 @@ - * A password should not be defined when this is used, see - * doc/challenge.txt for more information. - */ -- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; -+ #rsa_public_key_file = "%%PREFIX%%/etc/ircd-ratbox/oper.pub"; - - /* umodes: the specific umodes this oper gets when they oper. - * If this is specified an oper will not be given oper_umodes -@@ -1038,8 +1038,9 @@ - /* module path: paths to search for modules specified below and - * in /modload. - */ -- path = "/usr/local/ircd/modules"; -- path = "/usr/local/ircd/modules/autoload"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib"; - - /* module: the name of a module to load on startup/rehash */ - #module = "some_module.so"; diff --git a/irc/ircd-ratbox-devel/files/patch-include_config.h b/irc/ircd-ratbox-devel/files/patch-include_config.h deleted file mode 100644 index 7bb614ee8244..000000000000 --- a/irc/ircd-ratbox-devel/files/patch-include_config.h +++ /dev/null @@ -1,22 +0,0 @@ ---- ./include/config.h.orig 2012-04-13 15:02:51.000000000 +0100 -+++ ./include/config.h 2012-04-13 15:06:23.000000000 +0100 -@@ -54,15 +54,17 @@ - #define LOGPATH LOG_DIR - #define UHPATH HELP_DIR "/users" - #define HPATH HELP_DIR "/opers" -+#define RUNPATH "%%RUNDIR%%" -+#define DBPTH "%%DBDIR%%" - - /* files */ - #define SPATH BINPATH "/ircd" /* ircd executable */ - #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ --#define DBPATH ETCPATH "/ban.db" -+#define DBPATH DBPTH "/ban.db" - #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ - #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ - #define PPATH ETCPATH "/ircd.pid" /* pid file */ --#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ -+#define OPATH RUNPATH "/opers.motd" /* oper MOTD file */ - - /* HANGONGOODLINK and HANGONGOODLINK - * Often net breaks for a short time and it's useful to try to diff --git a/irc/ircd-ratbox-devel/files/pkg-message.in b/irc/ircd-ratbox-devel/files/pkg-message.in deleted file mode 100644 index 796b5c987e81..000000000000 --- a/irc/ircd-ratbox-devel/files/pkg-message.in +++ /dev/null @@ -1,35 +0,0 @@ -[ -{ type: install - message: <<EOM -ircd-ratbox-devel has been successfully installed. - -Sample 'ircd.conf' and 'ircd.motd' files have been created in the -ircd-ratbox configuration directory. A sample configuration file is -included for EFNet-like configurations that can be used instead. You -should now edit these files as per the ratbox documentation. -A configured ircd.conf file is required to start the server. - -Once you have added ircd_ratbox_enable="YES" to /etc/rc.conf, the -server can be started by running: - - %%PREFIX%%/etc/rc.d/ircd-ratbox start - -You can check your ircd.conf configuration file for syntactical errors -using the following rc.d script command: - - %%PREFIX%%/etc/rc.d/ircd-ratbox conftest - -The ban.db database can be checked and updated using 'bantool -u'. -For safety, updates should be done while no ircd is running and before -starting the new version. - - %%PREFIX%%/bin/bantool -u - -Note that the ssl_only_channel compile option has been removed, and -should be added as a configuration setting (use_sslonly) in the -ircd.conf file in order to activate the +S channel mode. - -Be sure to check out 'ratbox-services' if you need a services package. -EOM -} -] |