Upgrade to ircd-hybrid 8.1.17.

ok sthen@
This commit is contained in:
brad 2014-05-08 14:36:49 +00:00
parent 5484c9d617
commit bba4331b6b
8 changed files with 38 additions and 43 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.30 2014/02/04 09:46:48 brad Exp $
# $OpenBSD: Makefile,v 1.31 2014/05/08 14:36:49 brad Exp $
SHARED_ONLY = Yes
COMMENT = Internet Relay Chat server
DISTNAME = ircd-hybrid-8.1.13
DISTNAME = ircd-hybrid-8.1.17
CATEGORIES = net
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
EXTRACT_SUFX = .tgz

View File

@ -1,2 +1,2 @@
SHA256 (ircd-hybrid-8.1.13.tgz) = n2nSdsPej8S6W8EcQ1qdqEuR0SEKbEGV/buynISZa5E=
SIZE (ircd-hybrid-8.1.13.tgz) = 1143544
SHA256 (ircd-hybrid-8.1.17.tgz) = RAydhrpryTDv75zarsVHtCXDXK0/CL7Y32nlV4jBJoo=
SIZE (ircd-hybrid-8.1.17.tgz) = 1146488

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-doc_reference_conf,v 1.2 2013/09/17 19:53:00 brad Exp $
--- doc/reference.conf.orig Sun Aug 18 16:12:33 2013
+++ doc/reference.conf Sun Sep 15 15:06:50 2013
$OpenBSD: patch-doc_reference_conf,v 1.3 2014/05/08 14:36:49 brad Exp $
--- doc/reference.conf.orig Thu May 1 16:58:12 2014
+++ doc/reference.conf Thu May 8 06:09:45 2014
@@ -108,7 +108,7 @@ serverinfo {
* chown <ircd-user>.<ircd.group> rsa.key
* chmod 0600 rsa.key
@ -29,7 +29,7 @@ $OpenBSD: patch-doc_reference_conf,v 1.2 2013/09/17 19:53:00 brad Exp $
/*
* ssl_cipher_list:
@@ -453,7 +453,7 @@ operator {
* A password should not be defined when this is used; see
* 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";
@ -37,7 +37,7 @@ $OpenBSD: patch-doc_reference_conf,v 1.2 2013/09/17 19:53:00 brad Exp $
/*
* ssl_certificate_fingerprint: enhances security by additionally checking
@@ -1233,8 +1233,8 @@ modules {
@@ -1235,8 +1235,8 @@ modules {
* path: other paths to search for modules specified below
* and in "/module load".
*/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-include_defaults_h,v 1.6 2013/08/07 23:41:08 brad Exp $
--- include/defaults.h.orig Thu May 23 16:00:07 2013
+++ include/defaults.h Thu May 30 18:58:14 2013
@@ -47,6 +47,11 @@
$OpenBSD: patch-include_defaults_h,v 1.7 2014/05/08 14:36:49 brad Exp $
--- include/defaults.h.orig Sun Apr 20 11:06:23 2014
+++ include/defaults.h Tue Apr 22 22:15:23 2014
@@ -48,15 +48,20 @@
* AUTOMODPATH = directory for autoloaded modules
*/
@ -11,18 +11,17 @@ $OpenBSD: patch-include_defaults_h,v 1.6 2013/08/07 23:41:08 brad Exp $
+#endif
+
/* dirs */
#define DPATH PREFIX
#define SBINPATH PREFIX "/sbin/"
@@ -55,9 +60,9 @@
#define MODPATH LIBDIR "/" PACKAGE "/modules/"
#define HPATH DATADIR "/" PACKAGE "/help"
#define AUTOMODPATH MODPATH "/autoload/"
-#define ETCPATH SYSCONFDIR
-#define LOGPATH LOCALSTATEDIR "/log"
-#define RUNPATH LOCALSTATEDIR "/run"
+#define ETCPATH SYSCONFDIR "/ircd-hybrid/"
+#define LOGPATH LOCALSTATEDIR "/log/ircd-hybrid"
+#define RUNPATH LOCALSTATEDIR "/run/ircd-hybrid"
#define DPATH PREFIX
#define BINPATH PREFIX "/bin/"
#define MODPATH LIBDIR "/" PACKAGE "/modules/"
#define HPATH DATADIR "/" PACKAGE "/help"
#define AUTOMODPATH MODPATH "/autoload/"
-#define ETCPATH SYSCONFDIR
-#define LOGPATH LOCALSTATEDIR "/log"
-#define RUNPATH LOCALSTATEDIR "/run"
+#define ETCPATH SYSCONFDIR "/ircd-hybrid/"
+#define LOGPATH LOCALSTATEDIR "/log/ircd-hybrid"
+#define RUNPATH LOCALSTATEDIR "/run/ircd-hybrid"
/* files */
#define SPATH SBINPATH "/ircd" /* ircd executable */
#define SPATH BINPATH "/ircd" /* ircd executable */

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_ircd_c,v 1.5 2013/10/31 01:23:26 brad Exp $
--- src/ircd.c.orig Fri Oct 25 16:40:44 2013
+++ src/ircd.c Wed Oct 30 20:44:28 2013
@@ -136,7 +136,6 @@ make_daemon(void)
$OpenBSD: patch-src_ircd_c,v 1.6 2014/05/08 14:36:49 brad Exp $
--- src/ircd.c.orig Tue Feb 25 07:27:20 2014
+++ src/ircd.c Fri Mar 28 16:56:14 2014
@@ -131,7 +131,6 @@ make_daemon(void)
}
else if (pid > 0)
{
@ -9,7 +9,7 @@ $OpenBSD: patch-src_ircd_c,v 1.5 2013/10/31 01:23:26 brad Exp $
exit(EXIT_SUCCESS);
}
@@ -468,8 +467,19 @@ main(int argc, char *argv[])
@@ -464,8 +463,19 @@ main(int argc, char *argv[])
/* Check to see if the user is running us as root, which is a nono */
if (geteuid() == 0)
{

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_rsa_c,v 1.1 2014/04/19 18:23:58 sthen Exp $
--- src/rsa.c.orig Sat Apr 19 19:23:13 2014
+++ src/rsa.c Sat Apr 19 19:23:27 2014
@@ -68,12 +68,6 @@ binary_to_hex(unsigned char *bin, char *hex, int lengt
$OpenBSD: patch-src_rsa_c,v 1.2 2014/05/08 14:36:49 brad Exp $
--- src/rsa.c.orig Sun Apr 20 11:06:24 2014
+++ src/rsa.c Tue Apr 22 22:15:23 2014
@@ -70,12 +70,6 @@ binary_to_hex(unsigned char *bin, char *hex, int lengt
int
get_randomness(unsigned char *buf, int length)
{

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.9 2014/02/04 09:46:48 brad Exp $
@comment $OpenBSD: PLIST,v 1.10 2014/05/08 14:36:49 brad Exp $
@conflict bnc-*
@conflict irc-*
@conflict ircd-ratbox-*
@newgroup _ircd-hybrid:616
@newuser _ircd-hybrid:616:616:daemon:IRC Daemon:/var/empty:/sbin/nologin
@bin bin/ircd
@bin bin/mkpasswd
@bin bin/respond
lib/ircd-hybrid/
@ -113,8 +113,6 @@ lib/ircd-hybrid/modules/autoload/m_user.la
lib/ircd-hybrid/modules/autoload/m_user.so
lib/ircd-hybrid/modules/autoload/m_userhost.la
lib/ircd-hybrid/modules/autoload/m_userhost.so
lib/ircd-hybrid/modules/autoload/m_users.la
lib/ircd-hybrid/modules/autoload/m_users.so
lib/ircd-hybrid/modules/autoload/m_version.la
lib/ircd-hybrid/modules/autoload/m_version.so
lib/ircd-hybrid/modules/autoload/m_wallops.la
@ -158,7 +156,6 @@ lib/ircd-hybrid/modules/m_sjoin.so
lib/ircd-hybrid/modules/m_squit.la
lib/ircd-hybrid/modules/m_squit.so
@man man/man8/ircd.8
@bin sbin/ircd
share/examples/ircd-hybrid/
@mode 700
@owner _ircd-hybrid
@ -241,7 +238,6 @@ share/ircd-hybrid/help/unresv
share/ircd-hybrid/help/unxline
share/ircd-hybrid/help/user
share/ircd-hybrid/help/userhost
share/ircd-hybrid/help/users
share/ircd-hybrid/help/version
share/ircd-hybrid/help/wallops
share/ircd-hybrid/help/who

View File

@ -1,8 +1,8 @@
#!/bin/sh
#
# $OpenBSD: ircd_hybrid.rc,v 1.4 2011/10/19 13:46:17 jasper Exp $
# $OpenBSD: ircd_hybrid.rc,v 1.5 2014/05/08 14:36:49 brad Exp $
daemon="${TRUEPREFIX}/sbin/ircd"
daemon="${TRUEPREFIX}/bin/ircd"
. /etc/rc.d/rc.subr