From b296bee18a5bc60d3172f92c34e664665b6b0f08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Sat, 24 Feb 2007 14:15:11 +0000 Subject: [PATCH] old Package-Manager: portage-2.1.2-r11 --- net-irc/ircd-hybrid/ChangeLog | 10 +- .../files/7.1.0-default-config.patch | 29 -- .../files/7.2.1-amd64-multilib.patch | 23 -- .../files/7.2.1-default-config.patch | 101 ----- .../ircd-hybrid/files/config-ipv4-7.0.3.diff | 78 ---- .../ircd-hybrid/files/config-ipv6-7.0.3.diff | 78 ---- .../files/digest-ircd-hybrid-7.0.3 | 3 - .../files/digest-ircd-hybrid-7.1.0 | 3 - .../files/digest-ircd-hybrid-7.1.1 | 3 - .../files/digest-ircd-hybrid-7.2.1 | 3 - .../ircd-hybrid/files/ircd-hybrid-7.0.3.diff | 79 ---- net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild | 362 ------------------ net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild | 182 --------- net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild | 148 ------- net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild | 159 -------- 15 files changed, 9 insertions(+), 1252 deletions(-) delete mode 100644 net-irc/ircd-hybrid/files/7.1.0-default-config.patch delete mode 100644 net-irc/ircd-hybrid/files/7.2.1-amd64-multilib.patch delete mode 100644 net-irc/ircd-hybrid/files/7.2.1-default-config.patch delete mode 100644 net-irc/ircd-hybrid/files/config-ipv4-7.0.3.diff delete mode 100644 net-irc/ircd-hybrid/files/config-ipv6-7.0.3.diff delete mode 100644 net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0.3 delete mode 100644 net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.0 delete mode 100644 net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 delete mode 100644 net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.2.1 delete mode 100644 net-irc/ircd-hybrid/files/ircd-hybrid-7.0.3.diff delete mode 100644 net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild delete mode 100644 net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild delete mode 100644 net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild delete mode 100644 net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild diff --git a/net-irc/ircd-hybrid/ChangeLog b/net-irc/ircd-hybrid/ChangeLog index b92e430c1115..f85bcffe4094 100644 --- a/net-irc/ircd-hybrid/ChangeLog +++ b/net-irc/ircd-hybrid/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-irc/ircd-hybrid # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.23 2007/02/24 13:43:24 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.24 2007/02/24 14:15:11 armin76 Exp $ + + 24 Feb 2007; Raúl Porcel + -files/7.1.0-default-config.patch, -files/7.2.1-default-config.patch, + -files/config-ipv4-7.0.3.diff, -files/config-ipv6-7.0.3.diff, + -files/ircd-hybrid-7.0.3.diff, -files/7.2.1-amd64-multilib.patch, + -ircd-hybrid-7.0.3.ebuild, -ircd-hybrid-7.1.0.ebuild, + -ircd-hybrid-7.1.1.ebuild, -ircd-hybrid-7.2.1.ebuild: + old 24 Feb 2007; nixnut ircd-hybrid-7.2.2.ebuild: Added ~ppc wrt bug 167886 diff --git a/net-irc/ircd-hybrid/files/7.1.0-default-config.patch b/net-irc/ircd-hybrid/files/7.1.0-default-config.patch deleted file mode 100644 index ffa8ce950660..000000000000 --- a/net-irc/ircd-hybrid/files/7.1.0-default-config.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- include/defaults.h.orig 2005-07-20 16:37:34.918105546 +0000 -+++ include/defaults.h 2005-07-20 16:38:51.034577293 +0000 -@@ -46,12 +46,12 @@ - */ - - /* dirs */ --#define DPATH IRCD_PREFIX -+#define DPATH IRCD_PREFIX - #define BINPATH IRCD_PREFIX "/bin/" --#define MSGPATH IRCD_PREFIX "/messages/" --#define ETCPATH IRCD_PREFIX "/etc" --#define LOGPATH IRCD_PREFIX "/logs" --#define MODPATH IRCD_PREFIX "/modules/" -+#define MSGPATH IRCD_PREFIX "/share/ircd-hybrid-7/messages/" -+#define ETCPATH "/etc/ircd" -+#define LOGPATH "/var/log/ircd" -+#define MODPATH IRCD_PREFIX "/lib/ircd-hybrid-7/modules/" - - /* files */ - #define SPATH BINPATH "/ircd" /* ircd executable */ -@@ -65,7 +65,7 @@ - #define XPATH ETCPATH "/xline.conf" /* xline file */ - #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ - #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ --#define PPATH ETCPATH "/ircd.pid" /* pid file */ -+#define PPATH "/var/run/ircd/ircd.pid" /* pid file */ - #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ - #define LIPATH ETCPATH "/links.txt" /* cached links file */ - diff --git a/net-irc/ircd-hybrid/files/7.2.1-amd64-multilib.patch b/net-irc/ircd-hybrid/files/7.2.1-amd64-multilib.patch deleted file mode 100644 index e2e056781788..000000000000 --- a/net-irc/ircd-hybrid/files/7.2.1-amd64-multilib.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -urN ircd-hybrid-7.2.1.orig/src/lex.yy.c ircd-hybrid-7.2.1/src/lex.yy.c ---- ircd-hybrid-7.2.1.orig/src/lex.yy.c 2006-06-24 18:44:37.000000000 +0200 -+++ ircd-hybrid-7.2.1/src/lex.yy.c 2006-06-24 18:45:39.000000000 +0200 -@@ -7,8 +7,9 @@ - - #if defined(__FreeBSD__) - #include -+#define REALLOC_SUFFIX __unused - #else --#define __unused -+#define REALLOC_SUFFIX - #endif - - #define FLEX_SCANNER -@@ -247,7 +248,7 @@ - YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - - static void *yy_flex_alloc YY_PROTO(( yy_size_t )); --static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) __unused; -+static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) REALLOC_SUFFIX; - static void yy_flex_free YY_PROTO(( void * )); - - #define yy_new_buffer yy_create_buffer diff --git a/net-irc/ircd-hybrid/files/7.2.1-default-config.patch b/net-irc/ircd-hybrid/files/7.2.1-default-config.patch deleted file mode 100644 index fcd90360c84d..000000000000 --- a/net-irc/ircd-hybrid/files/7.2.1-default-config.patch +++ /dev/null @@ -1,101 +0,0 @@ -diff -urN ircd-hybrid-7.2.1.orig/contrib/Makefile.in ircd-hybrid-7.2.1/contrib/Makefile.in ---- ircd-hybrid-7.2.1.orig/contrib/Makefile.in 2006-03-27 01:36:56.000000000 +0200 -+++ ircd-hybrid-7.2.1/contrib/Makefile.in 2006-06-04 22:00:40.000000000 +0200 -@@ -17,7 +17,7 @@ - INSTALL = @INSTALL@ - INSTALL_DATA = @INSTALL_DATA@ - --prefix = $(DESTDIR)@prefix@ -+prefix = $(DESTDIR)@prefix@/lib/ircd-hybrid-7 - - AUTOMODULEDIR = ${prefix}/modules - -diff -urN ircd-hybrid-7.2.1.orig/contrib/help/Makefile.in ircd-hybrid-7.2.1/contrib/help/Makefile.in ---- ircd-hybrid-7.2.1.orig/contrib/help/Makefile.in 2006-03-27 01:36:56.000000000 +0200 -+++ ircd-hybrid-7.2.1/contrib/help/Makefile.in 2006-06-04 21:49:59.000000000 +0200 -@@ -5,7 +5,7 @@ - INSTALL_DATA= @INSTALL_DATA@ - RM= @RM@ - --prefix= @prefix@ -+prefix= ${DESTDIR}/usr/share/ircd-hybrid-7 - exec_prefix= @execprefix@ - uhelpdir= ${prefix}/help/users - ohelpdir= ${prefix}/help/opers -diff -urN ircd-hybrid-7.2.1.orig/help/Makefile.in ircd-hybrid-7.2.1/help/Makefile.in ---- ircd-hybrid-7.2.1.orig/help/Makefile.in 2006-03-27 01:36:55.000000000 +0200 -+++ ircd-hybrid-7.2.1/help/Makefile.in 2006-06-04 21:58:23.000000000 +0200 -@@ -5,7 +5,7 @@ - INSTALL_DATA= @INSTALL_DATA@ - RM= @RM@ - --prefix= @prefix@ -+prefix= ${DESTDIR}/usr/share/ircd-hybrid-7 - exec_prefix= @execprefix@ - uhelpdir= ${prefix}/help/users - ohelpdir= ${prefix}/help/opers -@@ -22,12 +22,12 @@ - install: - @echo installing help files... - -@if test ! -d $(prefix)/help; then \ -- echo "mkdir $(prefix)/help"; \ -- mkdir $(prefix)/help; \ -- echo "mkdir $(prefix)/help/users"; \ -- mkdir $(prefix)/help/users; \ -- echo "mkdir $(prefix)/help/opers"; \ -- mkdir $(prefix)/help/opers; \ -+ echo "mkdir -p $(prefix)/help"; \ -+ mkdir -p $(prefix)/help; \ -+ echo "mkdir -p $(prefix)/help/users"; \ -+ mkdir -p $(prefix)/help/users; \ -+ echo "mkdir -p $(prefix)/help/opers"; \ -+ mkdir -p $(prefix)/help/opers; \ - fi - @for help in opers/*; do \ - if [ -f $$help ]; then \ -diff -urN ircd-hybrid-7.2.1.orig/include/defaults.h ircd-hybrid-7.2.1/include/defaults.h ---- ircd-hybrid-7.2.1.orig/include/defaults.h 2006-03-27 01:36:51.000000000 +0200 -+++ ircd-hybrid-7.2.1/include/defaults.h 2006-06-04 16:04:45.000000000 +0200 -@@ -48,13 +48,13 @@ - */ - - /* dirs */ --#define DPATH IRCD_PREFIX -+#define DPATH IRCD_PREFIX - #define BINPATH IRCD_PREFIX "/bin/" --#define MSGPATH IRCD_PREFIX "/messages/" --#define ETCPATH IRCD_PREFIX "/etc" --#define LOGPATH IRCD_PREFIX "/logs" --#define MODPATH IRCD_PREFIX "/modules/" --#define AUTOMODPATH IRCD_PREFIX "/modules/autoload/" -+#define MSGPATH IRCD_PREFIX "/share/ircd-hybrid-7/messages/" -+#define ETCPATH "/etc/ircd" -+#define LOGPATH "/var/log/ircd" -+#define MODPATH IRCD_PREFIX "/lib/ircd-hybrid-7/modules/" -+#define AUTOMODPATH IRCD_PREFIX "/lib/ircd-hybrid-7/modules/autoload" - - /* files */ - #define SPATH BINPATH "/ircd" /* ircd executable */ -@@ -70,7 +70,7 @@ - #define RKPATH ETCPATH "/rkline.conf" - #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ - #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ --#define PPATH ETCPATH "/ircd.pid" /* pid file */ -+#define PPATH "/var/run/ircd/ircd.pid" /* pid file */ - #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ - #define LIPATH ETCPATH "/links.txt" /* cached links file */ - -diff -urN ircd-hybrid-7.2.1.orig/modules/m_help.c ircd-hybrid-7.2.1/modules/m_help.c ---- ircd-hybrid-7.2.1.orig/modules/m_help.c 2006-03-27 01:37:02.000000000 +0200 -+++ ircd-hybrid-7.2.1/modules/m_help.c 2006-06-04 16:07:18.000000000 +0200 -@@ -36,8 +36,8 @@ - #include "modules.h" - #include "irc_string.h" - --#define HPATH IRCD_PREFIX "/help/opers" --#define UHPATH IRCD_PREFIX "/help/users" -+#define HPATH IRCD_PREFIX "/share/ircd-hybrid-7/help/opers" -+#define UHPATH IRCD_PREFIX "/share/ircd-hybrid-7/help/users" - #define HELPLEN 400 - - static void m_help(struct Client *, struct Client *, int, char *[]); diff --git a/net-irc/ircd-hybrid/files/config-ipv4-7.0.3.diff b/net-irc/ircd-hybrid/files/config-ipv4-7.0.3.diff deleted file mode 100644 index 0b7fc0220ad2..000000000000 --- a/net-irc/ircd-hybrid/files/config-ipv4-7.0.3.diff +++ /dev/null @@ -1,78 +0,0 @@ ---- ircd-hybrid-7.0.2/include/config.h 2003-10-26 02:08:12.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/include/config.h 2004-05-15 15:26:11.346393560 +0000 -@@ -136,31 +136,31 @@ - - /* dirs */ - #define DPATH IRCD_PREFIX --#define BINPATH IRCD_PREFIX "/bin/" --#define MODPATH IRCD_PREFIX "/modules/" --#define AUTOMODPATH IRCD_PREFIX "/modules/autoload/" -+#define BINPATH "/usr/sbin/" -+#define MODPATH "/usr/lib/ircd-hybrid-7/ipv4/" -+#define AUTOMODPATH MODPATH "/autoload/" - #define MSGPATH IRCD_PREFIX "/messages/" --#define ETCPATH IRCD_PREFIX "/etc" --#define LOGPATH IRCD_PREFIX "/logs" -+#define ETCPATH "/etc/ircd" -+#define LOGPATH "/var/log/ircd" - #define UHPATH IRCD_PREFIX "/help/users" - #define HPATH IRCD_PREFIX "/help/opers" - - /* files */ --#define SPATH BINPATH "/ircd" /* ircd executable */ -+#define SPATH BINPATH "/ircd-ipv4" /* ircd executable */ - #define SLPATH BINPATH "/servlink" /* servlink executable */ --#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ --#define KPATH ETCPATH "/kline.conf" /* kline file */ --#define XPATH ETCPATH "/xline.conf" /* xline file */ --#define NRESVPATH ETCPATH "/nresv.conf" /* nick resv file */ --#define CRESVPATH ETCPATH "/cresv.conf" /* channel resv file */ --#define DLPATH ETCPATH "/dline.conf" /* dline file */ --#define GPATH LOGPATH "/gline.log" /* gline logfile */ --#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ --#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 LIPATH ETCPATH "/links.txt" /* cached links file */ -+#define CPATH ETCPATH "/ircd-ipv4.conf" /* ircd.conf file */ -+#define KPATH ETCPATH "/kline-ipv4.conf" /* kline file */ -+#define XPATH ETCPATH "/xline-ipv4.conf" /* xline file */ -+#define NRESVPATH ETCPATH "/nresv-ipv4.conf" /* nick resv file */ -+#define CRESVPATH ETCPATH "/cresv-ipv4.conf" /* channel resv file */ -+#define DLPATH ETCPATH "/dline-ipv4.conf" /* dline file */ -+#define GPATH LOGPATH "/gline-ipv4.log" /* gline logfile */ -+#define RPATH ETCPATH "/ircd-ipv4.rsa" /* ircd rsa private keyfile */ -+#define MPATH ETCPATH "/ircd-ipv4.motd" /* MOTD file */ -+#define LPATH LOGPATH "/ircd-ipv4.log" /* ircd logfile */ -+#define PPATH "/var/run/ircd/ircd-ipv4.pid" /* pid file */ -+#define OPATH ETCPATH "/opers-ipv4.motd" /* oper MOTD file */ -+#define LIPATH ETCPATH "/links-ipv4.txt" /* cached links file */ - #endif /* !VMS */ - - /* WANT_GETTEXT - toggle gettext support. -@@ -217,18 +217,18 @@ - * this option is used unless you tell the system administrator beforehand - * and obtain their permission to send messages to the system log files. - */ --#undef USE_SYSLOG -+#define USE_SYSLOG - - #ifdef USE_SYSLOG - /* SYSLOG_KILL SYSLOG_SQUIT SYSLOG_CONNECT SYSLOG_USERS SYSLOG_OPER - * If you use syslog above, you may want to turn some (none) of the - * spurious log messages for KILL,SQUIT,etc off. - */ --#undef SYSLOG_KILL /* log all operator kills to syslog */ --#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */ --#undef SYSLOG_CONNECT /* log remote connect messages for other all servs */ --#undef SYSLOG_USERS /* send userlog stuff to syslog */ --#undef SYSLOG_OPER /* log all users who successfully become an Op */ -+#define SYSLOG_KILL /* log all operator kills to syslog */ -+#define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */ -+#define SYSLOG_CONNECT /* log remote connect messages for other all servs */ -+#define SYSLOG_USERS /* send userlog stuff to syslog */ -+#define SYSLOG_OPER /* log all users who successfully become an Op */ - - /* LOG_FACILITY - facility to use for syslog() - * Define the facility you want to use for syslog(). Ask your diff --git a/net-irc/ircd-hybrid/files/config-ipv6-7.0.3.diff b/net-irc/ircd-hybrid/files/config-ipv6-7.0.3.diff deleted file mode 100644 index b86d866d9e53..000000000000 --- a/net-irc/ircd-hybrid/files/config-ipv6-7.0.3.diff +++ /dev/null @@ -1,78 +0,0 @@ ---- ircd-hybrid-7.0.2/include/config.h 2003-10-26 02:08:12.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/include/config.h 2004-05-15 15:19:20.101532544 +0000 -@@ -136,31 +136,31 @@ - - /* dirs */ - #define DPATH IRCD_PREFIX --#define BINPATH IRCD_PREFIX "/bin/" --#define MODPATH IRCD_PREFIX "/modules/" --#define AUTOMODPATH IRCD_PREFIX "/modules/autoload/" -+#define BINPATH "/usr/sbin/" -+#define MODPATH "/usr/lib/ircd-hybrid-7/ipv6/" -+#define AUTOMODPATH MODPATH "/autoload/" - #define MSGPATH IRCD_PREFIX "/messages/" --#define ETCPATH IRCD_PREFIX "/etc" --#define LOGPATH IRCD_PREFIX "/logs" -+#define ETCPATH "/etc/ircd" -+#define LOGPATH "/var/log/ircd" - #define UHPATH IRCD_PREFIX "/help/users" - #define HPATH IRCD_PREFIX "/help/opers" - - /* files */ --#define SPATH BINPATH "/ircd" /* ircd executable */ -+#define SPATH BINPATH "/ircd-ipv6" /* ircd executable */ - #define SLPATH BINPATH "/servlink" /* servlink executable */ --#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ --#define KPATH ETCPATH "/kline.conf" /* kline file */ --#define XPATH ETCPATH "/xline.conf" /* xline file */ --#define NRESVPATH ETCPATH "/nresv.conf" /* nick resv file */ --#define CRESVPATH ETCPATH "/cresv.conf" /* channel resv file */ --#define DLPATH ETCPATH "/dline.conf" /* dline file */ --#define GPATH LOGPATH "/gline.log" /* gline logfile */ --#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ --#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 LIPATH ETCPATH "/links.txt" /* cached links file */ -+#define CPATH ETCPATH "/ircd-ipv6.conf" /* ircd.conf file */ -+#define KPATH ETCPATH "/kline-ipv6.conf" /* kline file */ -+#define XPATH ETCPATH "/xline-ipv6.conf" /* xline file */ -+#define NRESVPATH ETCPATH "/nresv-ipv6.conf" /* nick resv file */ -+#define CRESVPATH ETCPATH "/cresv-ipv6.conf" /* channel resv file */ -+#define DLPATH ETCPATH "/dline-ipv6.conf" /* dline file */ -+#define GPATH LOGPATH "/gline-ipv6.log" /* gline logfile */ -+#define RPATH ETCPATH "/ircd-ipv6.rsa" /* ircd rsa private keyfile */ -+#define MPATH ETCPATH "/ircd-ipv6.motd" /* MOTD file */ -+#define LPATH LOGPATH "/ircd-ipv6.log" /* ircd logfile */ -+#define PPATH "/var/run/ircd/ircd-ipv6.pid" /* pid file */ -+#define OPATH ETCPATH "/opers-ipv6.motd" /* oper MOTD file */ -+#define LIPATH ETCPATH "/links-ipv6.txt" /* cached links file */ - #endif /* !VMS */ - - /* WANT_GETTEXT - toggle gettext support. -@@ -217,18 +217,18 @@ - * this option is used unless you tell the system administrator beforehand - * and obtain their permission to send messages to the system log files. - */ --#undef USE_SYSLOG -+#define USE_SYSLOG - - #ifdef USE_SYSLOG - /* SYSLOG_KILL SYSLOG_SQUIT SYSLOG_CONNECT SYSLOG_USERS SYSLOG_OPER - * If you use syslog above, you may want to turn some (none) of the - * spurious log messages for KILL,SQUIT,etc off. - */ --#undef SYSLOG_KILL /* log all operator kills to syslog */ --#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */ --#undef SYSLOG_CONNECT /* log remote connect messages for other all servs */ --#undef SYSLOG_USERS /* send userlog stuff to syslog */ --#undef SYSLOG_OPER /* log all users who successfully become an Op */ -+#define SYSLOG_KILL /* log all operator kills to syslog */ -+#define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */ -+#define SYSLOG_CONNECT /* log remote connect messages for other all servs */ -+#define SYSLOG_USERS /* send userlog stuff to syslog */ -+#define SYSLOG_OPER /* log all users who successfully become an Op */ - - /* LOG_FACILITY - facility to use for syslog() - * Define the facility you want to use for syslog(). Ask your diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0.3 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0.3 deleted file mode 100644 index 0b1e4a8d2487..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5e5d93dbd55e6865d75ee18a2b56170f ircd-hybrid-7.0.3.tgz 1147557 -RMD160 59169e36fd1a47e7279c20f90bb14f3b5cf7c60d ircd-hybrid-7.0.3.tgz 1147557 -SHA256 370c1dab6d3eb3d05ac5a4d7e5f8c4059e2771083c587af075e99d4d6a291437 ircd-hybrid-7.0.3.tgz 1147557 diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.0 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.0 deleted file mode 100644 index 8bbe0e6bfd30..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 87a6f28706584cebdd4e5ed2c315c9dc ircd-hybrid-7.1.0.tgz 1218466 -RMD160 04c12315169e67f4de43f33043f77bddd5cb9d0f ircd-hybrid-7.1.0.tgz 1218466 -SHA256 66de6966189116cf884e631b0f84ff0ab7e1d43a2ed0fec978044eebe4c939c5 ircd-hybrid-7.1.0.tgz 1218466 diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 deleted file mode 100644 index 832b24a0ea8f..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 97d5ca375831bb9cc42348383b836cf2 ircd-hybrid-7.1.1.tgz 1190396 -RMD160 4f912607c0c54db51a5df87aeb735e9bb3b8e2e4 ircd-hybrid-7.1.1.tgz 1190396 -SHA256 2f859990e54d4b4ed7306f495a2d007d32d397019637977fad9478e62b08c95a ircd-hybrid-7.1.1.tgz 1190396 diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.2.1 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.2.1 deleted file mode 100644 index 677a019db4a2..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.2.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 00901c5e2e9bf44ab37a28596af6608e ircd-hybrid-7.2.1.tgz 1013005 -RMD160 c8f859f7e6e956c6d738641b1993423212fbd377 ircd-hybrid-7.2.1.tgz 1013005 -SHA256 66479aa1aaf6fbca79c90789e8dae1b04ffe66dbd2aba72e9906deebbb4e7938 ircd-hybrid-7.2.1.tgz 1013005 diff --git a/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.3.diff b/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.3.diff deleted file mode 100644 index a82e451b6a60..000000000000 --- a/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.3.diff +++ /dev/null @@ -1,79 +0,0 @@ -diff -Naur ircd-hybrid-7.0.2/help/Makefile.in ircd-hybrid-7.0.2.gentoo/help/Makefile.in ---- ircd-hybrid-7.0.2/help/Makefile.in 2002-02-02 16:01:13.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/help/Makefile.in 2004-05-15 15:34:49.769274690 +0000 -@@ -80,11 +80,6 @@ - $(INSTALL_DATA) $$help $(uhelpdir); \ - fi \ - done -- @for link in $(SYMLINKS); do \ -- rm -f $(uhelpdir)/$$link; \ -- ln -s $(ohelpdir)/$$link $(uhelpdir); \ -- done -- - - distclean: - ${RM} -f Makefile -diff -Naur ircd-hybrid-7.0.2/include/Makefile.in ircd-hybrid-7.0.2.gentoo/include/Makefile.in ---- ircd-hybrid-7.0.2/include/Makefile.in 2002-04-29 22:30:24.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/include/Makefile.in 2004-05-15 15:37:28.783043062 +0000 -@@ -10,6 +10,7 @@ - exec_prefix= @exec_prefix@ - bindir= @bindir@ - sysconfdir= @sysconfdir@ -+includedir= @includedir@ - - all: - build: -@@ -19,13 +20,12 @@ - - install: - @echo installing header files... -- -@if test ! -d $(prefix)/include; then \ -- echo "mkdir $(prefix)/include"; \ -- mkdir $(prefix)/include; \ -- mkdir $(prefix)/include/ircd-hybrid-7; \ -+ -@if test ! -d $(includedir); then \ -+ echo "mkdir -p $(includedir)"; \ -+ mkdir -p $(includedir); \ - fi - @for header in *.h; do \ -- ${INSTALL_DATA} $$header $(prefix)/include/ircd-hybrid-7; \ -+ ${INSTALL_DATA} $$header $(includedir); \ - done - - distclean: -diff -Naur ircd-hybrid-7.0.2/src/Makefile.in ircd-hybrid-7.0.2.gentoo/src/Makefile.in ---- ircd-hybrid-7.0.2/src/Makefile.in 2003-10-26 02:08:20.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/src/Makefile.in 2004-05-15 15:38:04.377614108 +0000 -@@ -140,10 +140,6 @@ - echo "mkdir $(sysconfdir)"; \ - mkdir $(sysconfdir); \ - fi -- -@if test ! -d $(localstatedir)/logs; then \ -- echo "mkdir $(localstatedir)/logs"; \ -- mkdir $(localstatedir)/logs; \ -- fi - - install: install-mkdirs build - @for i in $(PROGS); do \ -diff -Naur ircd-hybrid-7.0.2/tools/Makefile.in ircd-hybrid-7.0.2.gentoo/tools/Makefile.in ---- ircd-hybrid-7.0.2/tools/Makefile.in 2002-07-11 23:40:27.000000000 +0000 -+++ ircd-hybrid-7.0.2.gentoo/tools/Makefile.in 2004-05-15 15:39:22.187764585 +0000 -@@ -129,10 +129,6 @@ - echo "mkdir $(sysconfdir)"; \ - mkdir $(sysconfdir); \ - fi -- -@if test ! -d $(localstatedir)/logs; then \ -- echo "mkdir $(localstatedir)/logs"; \ -- mkdir $(localstatedir)/logs; \ -- fi - - install: install-mkdirs build - @for i in $(PROGS); do \ -@@ -144,6 +140,4 @@ - $(INSTALL_BIN) $$i $(bindir); \ - done; \ - $(RM) -f $(bindir)/vimotd $(bindir)/viklines; \ -- $(LN) $(bindir)/viconf $(bindir)/vimotd; \ -- $(LN) $(bindir)/viconf $(bindir)/viklines - diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild deleted file mode 100644 index 8b5ed9aaa968..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild +++ /dev/null @@ -1,362 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ircd-hybrid-7.0.3.ebuild,v 1.6 2005/12/31 13:57:49 flameeyes Exp $ - -inherit eutils fixheadtails - -MAX_NICK_LENGTH=30 -MAX_CLIENTS=500 -MAX_TOPIC_LENGTH=512 -LARGE_NETWORK= -DISABLE_LARGE_NETWORK=1 -SMALL_NETWORK=1 -DISABLE_SMALL_NETWORK= -ENABLE_POLL=1 -DISABLE_POLL= -ENABLE_SELECT= -DISABLE_SELECT=1 -ENABLE_EFNET= -ENABLE_RTSIGIO= -DISABLE_RTSIGIO= -ENABLE_SHARED=1 -DISABLE_SHARED= -ENABLE_DEVPOLL= -DISABLE_DEVPOLL=1 -ENABLE_KQUEUE= -DISABLE_KQUEUE= - -IUSE="debug ipv6 ssl static zlib" - -DESCRIPTION="IRCD-Hybrid - High Performance Internet Relay Chat" -HOMEPAGE="http://ircd-hybrid.com/" -SRC_URI="mirror://sourceforge/ircd-hybrid/${P}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~ppc" - -DEPEND="virtual/libc - zlib? ( >=sys-libs/zlib-1.1.4-r2 ) - ssl? ( >=dev-libs/openssl-0.9.7d ) - || ( >=dev-libs/libelf-0.8.2 >=dev-libs/elfutils-0.94-r1 ) - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.875 - >=sys-devel/gettext-0.12.1 - >=sys-apps/sed-4.0.7" -RDEPEND="" - -pkg_setup() { - enewgroup hybrid - enewuser hybrid -1 -1 /dev/null hybrid -} - -src_unpack() { - unpack ${A} - cd ${S} - - ht_fix_file ${S}/configure - - # Patch Makefile.ins: - # * Add includedir variable where to install headers. - # * Remove creation of logdirs under prefix. Use /var/log/ircd instead. - # * Remove symlinking which won't work in sandbox. Done in src_install(). - # Sed hardcoded CFLAGS to those in make.conf. - epatch ${FILESDIR}/${PF}.diff || die "epatch failed" - sed -i -e "s:IRC_CFLAGS=\"-O2 -g \":IRC_CFLAGS=\"${CFLAGS}\":" configure - - # Store unmodified source tree for compiling necessary shared libs and - # binaries with ipv6 support. - if use ipv6 - then - mkdir ${T}/ipv6 - cp -r ${S} ${T}/ipv6 - fi -} - -src_compile() { - local myconf="" - - ewarn "Server administrators are encouraged to customize some variables in" - ewarn "the ebuild if actually deploying hybrid in an IRC network." - ewarn "The values below reflect a usable configuration but may not be" - ewarn "for large networks in production environments" - ewarn "Portage overlay would be benificial for such a senario" - ewarn - ewarn "If you require more than 1024 clients per ircd enable poll() support" - ewarn "or hybrid will not compile due to hard max file descriptor limits" - ewarn "To change the default settings below you must edit the ebuild" - ewarn - ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" - ewarn " topic length = ${MAX_TOPIC_LENGTH}" - ewarn " number of clients = ${MAX_CLIENTS}" - ewarn - - if [ ${LARGE_NETWORK} ] - then - ewarn "Configuring for large networks." - myconf="${myconf} --enable-large-net" - fi - if [ ${DISABLE_LARGE_NETWORK} ] - then - ewarn "Disabling large networks." - myconf="${myconf} --disable-large-net" - fi - if [ ${SMALL_NETWORK} ] - then - ewarn "Configuring for small networks." - myconf="${myconf} --enable-small-net" - fi - if [ ${DISABLE_SMALL_NETWORK} ] - then - ewarn "Disabling small networks." - myconf="${myconf} --disable-small-net" - fi - if [ ${ENABLE_POLL} ] - then - ewarn "Configuring with poll() enabled" - myconf="${myconf} --enable-poll" - fi - if [ ${DISABLE_POLL} ] - then - ewarn "Configuring with poll() disabled" - myconf="${myconf} --disable-poll" - fi - if [ ${ENABLE_SELECT} ] - then - ewarn "Configuring with select() enabled." - myconf="${myconf} --enable-select" - fi - if [ ${DISABLE_SELECT} ] - then - ewarn "Configuring with select() disabled." - myconf="${myconf} --disable-select" - fi - if [ ${ENABLE_EFNET} ] - then - ewarn "Configuring for Efnet." - myconf="${myconf} --enable-efnet" - fi - if [ ${ENABLE_RTSIGIO} ] - then - ewarn "Configuring with Superior RTSIGIO." - myconf="${myconf} --enable-rtsigio" - fi - if [ ${DISABLE_RTSIGIO} ] - then - ewarn "Disabling Superior RTSIGIO." - myconf="${myconf} --disable-rtsigio" - fi - if [ ${ENABLE_SHARED} ] - then - ewarn "Configuring for non-Efnet." - myconf="${myconf} --enable-shared" - fi - if [ ${ENABLE_KQUEUE} ] - then - ewarn "Configuring for Kqueue." - myconf="${myconf} --enable-kqueue" - fi - if [ ${DISABLE_KQUEUE} ] - then - ewarn "Disabling Kqueue." - myconf="${myconf} --disable-kqueue" - fi - - # Wait for admins to see the default variables. - epause 5 - - # Set ipv4 defaults to config.h. - patch include/config.h ${FILESDIR}/config-ipv4-${PVR}.diff \ - || die "ipv4 defaults patch failed" - - # Set prefix to /usr/share/ircd-hybrid-7 to save some patching. - econf \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} \ - $(use_enable zlib) \ - $(use_enable ssl openssl) \ - $(use_enable !static shared-modules) \ - $(use_enable debug assert) \ - ${myconf} \ - || die "ipv4 config failed" - emake || die "ipv4 make failed" - - # Enable help index. - cd help - make index || die "make index failed" - cd .. - - # Build respond binary for using rsa keys instead of plain text oper - # passwords. - use ssl && gcc ${CFLAGS} -o respond tools/rsa_respond/respond.c -lcrypto - - # Configure and compile with ipv6 support in temp. - if use ipv6 - then - einfo "IPv6 support" - cd ${T}/ipv6/${P} - - # Set ipv6 defaults to config.h. - patch include/config.h ${FILESDIR}/config-ipv6-${PVR}.diff \ - || die "ipv6 defaults patch failed" - - econf \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} \ - --enable-ipv6 \ - $(use_enable zlib) \ - $(use_enable ssl openssl) \ - $(use_enable !static shared-modules) \ - $(use_enable debug assert) \ - ${myconf} \ - || die "ipv6 config failed" - emake || die "ipv6 make failed" - fi -} - -src_install() -{ - # Directories need to exist beforehand or the install will fail. - dodir \ - /usr/share/man/man8 \ - /usr/lib/ircd-hybrid-7 \ - /usr/include/ircd-hybrid-7 \ - /var/log/ircd \ - /var/run/ircd \ - /etc/init.d \ - /etc/conf.d - keepdir /var/run/ircd /var/log/ircd - - # Override all install directories according to the patches with sandbox - # prefix. - make \ - prefix=${D}/usr/share/ircd-hybrid-7/ \ - bindir=${D}/usr/sbin/ \ - sysconfdir=${D}/etc/ircd/ \ - moduledir=${D}/usr/lib/ircd-hybrid-7/ipv4 \ - automoduledir=${D}/usr/lib/ircd-hybrid-7/ipv4/autoload/ \ - messagedir=${D}/usr/share/ircd-hybrid-7/messages/ \ - includedir=${D}/usr/include/ircd-hybrid-7 \ - mandir=${D}/usr/share/man/man8/ \ - install || die "ipv4 install failed" - mv ${D}/usr/sbin/{,ircd-}mkpasswd #6428 - - # Rename the binary according to config-ipv4.diff. - mv ${D}/usr/sbin/ircd ${D}/usr/sbin/ircd-ipv4 - - # Install the respond binary. - use ssl && dosbin ${S}/respond - - # Do the symlinking. - local link - local symlinks="topic accept cjoin cmode admin names links away whowas \ - version kick who invite quit join list nick oper part \ - time credits motd userhost users whois ison lusers \ - user help pass error challenge knock ping pong" - for link in ${symlinks} - do - dosym "../opers/${link}" "/usr/share/ircd-hybrid-7/help/users/${link}" - done - - dosym viconf /usr/sbin/vimotd - dosym viconf /usr/sbin/viklines - - # Install documentation. - dodoc BUGS ChangeLog Hybrid-team INSTALL LICENSE README.* RELNOTES TODO - docinto doc - dodoc \ - doc/*.txt doc/README.cidr_bans doc/Tao-of-IRC.940110 \ - doc/convertconf-example.conf doc/example.* doc/ircd.motd \ - doc/simple.conf doc/server-version-info - docinto doc/technical - dodoc doc/technical/* - - # Fix the config files according to the patches. - rm ${D}/etc/ircd/.convertconf-example.conf # No need for 2 copies. - local conf - for conf in ${D}/etc/ircd/*.conf; do - sed -e "s:/usr/local/ircd/modules:/usr/lib/ircd-hybrid-7/ipv4:g" \ - < ${conf} > ${conf/%.conf/-ipv4.conf} - rm ${conf} - done - mv ${D}/etc/ircd/ircd.motd ${D}/etc/ircd/ircd-ipv4.motd - - # Only the shared libraries and the ircd binary differ from the ipv4 - # installation. Thus installing those is sufficient to make ipv6 support - # work (and different config files, pid files etc. of cource). - if use ipv6 - then - cd ${T}/ipv6/${P}/modules - make \ - prefix=${D}/usr/share/ircd-hybrid-7/ \ - moduledir=${D}/usr/lib/ircd-hybrid-7/ipv6 \ - automoduledir=${D}/usr/lib/ircd-hybrid-7/ipv6/autoload/ \ - install || die "ipv6 install failed" - cp ../src/ircd ${D}/usr/sbin/ircd-ipv6 - - # Fix the config files according to the patches. - for conf in ${D}/etc/ircd/*.conf; do - sed -e "s:ircd-hybrid-7/ipv4:ircd-hybrid-7/ipv6:g" \ - < ${conf} > ${conf/ipv4/ipv6} - done - fi - - # Install the init script and the respective config file. - exeinto /etc/init.d - newexe ${FILESDIR}/init.d_ircd ircd - insinto /etc/conf.d - newins ${FILESDIR}/conf.d_ircd ircd -} - -pkg_postinst() { - if [ ! -f ${ROOT}/etc/ircd/ircd-ipv4.conf ] - then - cp ${ROOT}/etc/ircd/example-ipv4.conf \ - ${ROOT}/etc/ircd/ircd-ipv4.conf - fi - if use ipv6 && [ ! -f /etc/ircd/example-ipv6.conf ] - then - cp ${ROOT}/etc/ircd/example-ipv6.conf \ - ${ROOT}/etc/ircd/ircd-ipv6.conf - fi - - chown -R hybrid:hybrid \ - ${ROOT}/etc/ircd ${ROOT}/var/log/ircd ${ROOT}/var/run/ircd - chmod 700 ${ROOT}/etc/ircd ${ROOT}/var/log/ircd - find ${D}/etc/ircd -type f -exec chmod 600 {} \; - - einfo "Create /etc/ircd/ircd-{ipv4,ipv6}.conf files and edit" - einfo "/etc/conf.d/ircd otherwise the daemon(s) will quietly" - einfo "refuse to run." - - if use ssl - then - einfo "To create a rsa keypair for crypted links execute:" - einfo "emerge --config =${CATEGORY}/${PF}" - fi -} - -pkg_config() { - local proto="ipv4" - use ipv6 && proto="${proto} ipv6" - - local i - for i in ${proto} - do - einfo "Generating 2048 bit RSA keypair /etc/ircd/ircd-${i}.rsa" - einfo "The public key is stored in /etc/ircd/ircd-${i}.pub." - - openssl genrsa -rand ${ROOT}/var/run/random-seed \ - -out ${ROOT}/etc/ircd/ircd-${i}.rsa 2048 - openssl rsa -in ${ROOT}/etc/ircd/ircd-${i}.rsa -pubout \ - -out ${ROOT}/etc/ircd/ircd-${i}.pub - chown hybrid:hybrid ${ROOT}/etc/ircd/ircd-${i}.rsa ${ROOT}/etc/ircd/ircd-${i}.pub - chmod 600 ${ROOT}/etc/ircd/ircd-${i}.rsa - chmod 644 ${ROOT}/etc/ircd/ircd-${i}.pub - - einfo "Update the rsa keypair in /etc/ircd/ircd-${i}.conf and /REHASH." - done -} diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild deleted file mode 100644 index a355a06c7806..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ircd-hybrid-7.1.0.ebuild,v 1.3 2005/11/03 07:31:17 swegener Exp $ - -inherit eutils toolchain-funcs - -# Additional configuration options -MAX_NICK_LENGTH=30 -MAX_CLIENTS=512 -MAX_TOPIC_LENGTH=512 -ENABLE_SMALL_NETWORK=1 -ENABLE_POLL=1 -ENABLE_SELECT=0 -ENABLE_EFNET=0 -ENABLE_SHARED=1 -ENABLE_DEVPOLL=0 -ENABLE_KQUEUE=0 - -IUSE="debug ssl static zlib" - -DESCRIPTION="IRCD-Hybrid - High Performance Internet Relay Chat" -HOMEPAGE="http://ircd-hybrid.com/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~ppc" - -RDEPEND="zlib? ( >=sys-libs/zlib-1.1.4-r2 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" - -DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.875 - >=sys-devel/gettext-0.12.1" - -pkg_setup() { - enewgroup hybrid - enewuser hybrid -1 -1 -1 hybrid -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/7.1.0-default-config.patch -} - -src_compile() { - local myconf="" - - ewarn - ewarn "Server administrators are encouraged to customize some variables in" - ewarn "the ebuild if actually deploying hybrid in an IRC network." - ewarn "The values below reflect a usable configuration but may not be" - ewarn "suitable for large networks in production environments." - ewarn - ewarn "If you require more than 1024 clients per ircd enable poll() support" - ewarn "or hybrid will not compile due to hard max file descriptor limits" - ewarn "To change the default settings below you must edit the ebuild." - ewarn - ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" - ewarn " topic length = ${MAX_TOPIC_LENGTH}" - ewarn " number of clients = ${MAX_CLIENTS}" - ewarn - - if [ ${ENABLE_SMALL_NETWORK} -eq 1 ] - then - einfo "Configuring for small networks." - myconf="${myconf} --enable-small-net" - else - myconf="${myconf} --disable-small-net" - fi - if [ ${ENABLE_POLL} -eq 1 ] - then - einfo "Configuring with poll() enabled." - myconf="${myconf} --enable-poll" - else - myconf="${myconf} --disable-poll" - fi - if [ ${ENABLE_SELECT} -eq 1 ] - then - einfo "Configuring with select() enabled." - myconf="${myconf} --enable-select" - else - myconf="${myconf} --disable-select" - fi - if [ ${ENABLE_EFNET} -eq 1 ] - then - einfo "Configuring for Efnet." - myconf="${myconf} --enable-efnet" - else - myconf="${myconf} --disable-efnet" - fi - if [ ${ENABLE_SHARED} -eq 1 ] - then - einfo "Configuring with shared modules." - myconf="${myconf} --enable-shared" - else - myconf="${myconf} --disable-shared" - fi - if [ ${ENABLE_KQUEUE} -eq 1 ] - then - einfo "Configuring for Kqueue." - myconf="${myconf} --enable-kqueue" - else - myconf="${myconf} --disable-kqueue" - fi - - epause 5 - - econf \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sysconfdir=/etc/ircd \ - --includedir=/usr/include \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxconn=${MAX_CLIENTS} \ - $(use_enable zlib) \ - $(use_enable ssl openssl) \ - $(use_enable !static shared-modules) \ - $(use_enable debug assert) \ - ${myconf} \ - || die "econf failed" - emake || die "emake failed" - - # Build respond binary for using rsa keys instead of plain text oper passwords. - use ssl && $(tc-getCC) ${CFLAGS} -o respond tools/rsa_respond/respond.c -lcrypto -} - -src_install() { - dodir /usr/lib/ircd-hybrid-7 - keepdir /var/run/ircd /var/log/ircd - - make DESTDIR="${D}" install || die "make install failed" - - insinto /usr/share/ircd-hybrid-7/messages - doins messages/*.lang || die "doins failed" - - mv "${D}"/usr/{modules,lib/ircd-hybrid-7} - mv "${D}"/usr/bin/{,ircd-}mkpasswd - mv "${D}"/etc/ircd/{example,ircd}.conf - - sed -i \ - -e s:/usr/local/ircd/modules:/usr/lib/ircd-hybrid-7/modules: \ - "${D}"/etc/ircd/ircd.conf - - use ssl && dosbin "${S}"/respond - - dodoc BUGS ChangeLog Hybrid-team RELNOTES TODO - docinto doc - dodoc doc/*.txt doc/Tao-of-IRC.940110 doc/server-version-info - docinto doc/technical - dodoc doc/technical/* - - newinitd "${FILESDIR}"/init.d_ircd-7.1.0 ircd -} - -pkg_postinst() { - chown -R hybrid:hybrid "${ROOT}"/etc/ircd "${ROOT}"/var/{log,run}/ircd - chmod 700 "${ROOT}"/etc/ircd "${ROOT}"/var/log/ircd - - if use ssl - then - einfo "To create an RSA keypair for crypted links execute:" - einfo "emerge --config =${CATEGORY}/${PF}" - fi -} - -pkg_config() { - einfo "Generating 2048 bit RSA keypair /etc/ircd/ircd.rsa." - einfo "The public key is stored in /etc/ircd/ircd.pub." - - openssl genrsa -rand "${ROOT}"/var/run/random-seed -out "${ROOT}"/etc/ircd/ircd.rsa 2048 - openssl rsa -in "${ROOT}"/etc/ircd/ircd.rsa -pubout -out "${ROOT}"/etc/ircd/ircd.pub - - chown hybrid:hybrid "${ROOT}"/etc/ircd/ircd.rsa "${ROOT}"/etc/ircd/ircd.pub - chmod 600 "${ROOT}"/etc/ircd/ircd.rsa - chmod 644 "${ROOT}"/etc/ircd/ircd.pub - - einfo "Update the RSA keypair in /etc/ircd/ircd.conf and /REHASH." -} diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild deleted file mode 100644 index b05927867c1d..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild,v 1.3 2005/12/04 10:32:51 swegener Exp $ - -inherit eutils toolchain-funcs - -# Additional configuration options -MAX_NICK_LENGTH=30 -MAX_CLIENTS=512 -MAX_TOPIC_LENGTH=390 -ENABLE_SMALL_NETWORK=1 -ENABLE_EFNET=0 - -IUSE="debug ssl static zlib" - -DESCRIPTION="IRCD-Hybrid - High Performance Internet Relay Chat" -HOMEPAGE="http://ircd-hybrid.com/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~ppc" - -RDEPEND=" - zlib? ( >=sys-libs/zlib-1.1.4-r2 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" - -DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.875 - >=sys-devel/gettext-0.12.1" - -pkg_setup() { - enewgroup hybrid - enewuser hybrid -1 -1 -1 hybrid -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/7.1.0-default-config.patch -} - -src_compile() { - local myconf="" - - ewarn - ewarn "Server administrators are encouraged to customize some variables in" - ewarn "the ebuild if actually deploying hybrid in an IRC network." - ewarn "The values below reflect a usable configuration but may not be" - ewarn "suitable for large networks in production environments." - ewarn - ewarn "To change the default settings below you must edit the ebuild." - ewarn - ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" - ewarn " topic length = ${MAX_TOPIC_LENGTH}" - ewarn " number of clients = ${MAX_CLIENTS}" - ewarn - - if [ ${ENABLE_SMALL_NETWORK} -eq 1 ] - then - einfo "Configuring for small networks." - myconf="${myconf} --enable-small-net" - else - myconf="${myconf} --disable-small-net" - fi - if [ ${ENABLE_EFNET} -eq 1 ] - then - einfo "Configuring for Efnet." - myconf="${myconf} --enable-efnet" - else - myconf="${myconf} --disable-efnet" - fi - - epause 5 - - econf \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sysconfdir=/etc/ircd \ - --includedir=/usr/include \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxconn=${MAX_CLIENTS} \ - $(use_enable zlib) \ - $(use_enable ssl openssl) \ - $(use_enable !static shared-modules) \ - $(use_enable debug assert) \ - ${myconf} \ - || die "econf failed" - emake || die "emake failed" - - # Build respond binary for using rsa keys instead of plain text oper passwords. - use ssl && $(tc-getCC) ${CFLAGS} -o respond tools/rsa_respond/respond.c -lcrypto -} - -src_install() { - dodir /usr/lib/ircd-hybrid-7 - keepdir /var/run/ircd /var/log/ircd - - make DESTDIR="${D}" install || die "make install failed" - - insinto /usr/share/ircd-hybrid-7/messages - doins messages/*.lang || die "doins failed" - - mv "${D}"/usr/{modules,lib/ircd-hybrid-7} - mv "${D}"/usr/bin/{,ircd-}mkpasswd - mv "${D}"/etc/ircd/{example,ircd}.conf - - sed -i \ - -e s:/usr/local/ircd/modules:/usr/lib/ircd-hybrid-7/modules: \ - "${D}"/etc/ircd/ircd.conf - - use ssl && dosbin "${S}"/respond - - dodoc BUGS ChangeLog Hybrid-team RELNOTES TODO - docinto doc - dodoc doc/*.txt doc/Tao-of-IRC.940110 doc/server-version-info - docinto doc/technical - dodoc doc/technical/* - - newinitd "${FILESDIR}"/init.d_ircd-7.1.0 ircd -} - -pkg_postinst() { - chown -R hybrid:hybrid "${ROOT}"/etc/ircd "${ROOT}"/var/{log,run}/ircd - chmod 700 "${ROOT}"/etc/ircd "${ROOT}"/var/log/ircd - - if use ssl - then - einfo "To create an RSA keypair for crypted links execute:" - einfo "emerge --config =${CATEGORY}/${PF}" - fi -} - -pkg_config() { - einfo "Generating 2048 bit RSA keypair /etc/ircd/ircd.rsa." - einfo "The public key is stored in /etc/ircd/ircd.pub." - - openssl genrsa -rand "${ROOT}"/var/run/random-seed -out "${ROOT}"/etc/ircd/ircd.rsa 2048 - openssl rsa -in "${ROOT}"/etc/ircd/ircd.rsa -pubout -out "${ROOT}"/etc/ircd/ircd.pub - - chown hybrid:hybrid "${ROOT}"/etc/ircd/ircd.rsa "${ROOT}"/etc/ircd/ircd.pub - chmod 600 "${ROOT}"/etc/ircd/ircd.rsa - chmod 644 "${ROOT}"/etc/ircd/ircd.pub - - einfo "Update the RSA keypair in /etc/ircd/ircd.conf and /REHASH." -} diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild deleted file mode 100644 index c4ac78fe8049..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ircd-hybrid-7.2.1.ebuild,v 1.2 2006/06/30 14:54:22 jokey Exp $ - -inherit eutils toolchain-funcs - -# Additional configuration options -MAX_NICK_LENGTH=30 -MAX_CLIENTS=512 -MAX_TOPIC_LENGTH=390 -ENABLE_SMALL_NETWORK=0 -ENABLE_EFNET=0 - -IUSE="debug ssl static zlib contrib" - -DESCRIPTION="IRCD-Hybrid - High Performance Internet Relay Chat" -HOMEPAGE="http://ircd-hybrid.com/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~alpha ~amd64" - -RDEPEND=" - zlib? ( >=sys-libs/zlib-1.1.4-r2 ) - ssl? ( >=dev-libs/openssl-0.9.7d )" - -DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.875 - >=sys-devel/gettext-0.12.1" - -pkg_setup() { - enewgroup hybrid - enewuser hybrid -1 -1 -1 hybrid -} - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/7.2.1-default-config.patch - epatch "${FILESDIR}"/7.2.1-amd64-multilib.patch -} - -src_compile() { - local myconf="" - - ewarn - ewarn "Server administrators are encouraged to customize some variables in" - ewarn "the ebuild if actually deploying hybrid in an IRC network." - ewarn "The values below reflect a usable configuration but may not be" - ewarn "suitable for large networks in production environments." - ewarn - ewarn "To change the default settings below you must edit the ebuild." - ewarn - ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" - ewarn " topic length = ${MAX_TOPIC_LENGTH}" - ewarn " number of clients = ${MAX_CLIENTS}" - ewarn - - if [ ${ENABLE_SMALL_NETWORK} -eq 1 ] - then - einfo "Configuring for small networks." - myconf="${myconf} --enable-small-net" - else - myconf="${myconf} --disable-small-net" - fi - if [ ${ENABLE_EFNET} -eq 1 ] - then - einfo "Configuring for Efnet." - myconf="${myconf} --enable-efnet" - else - myconf="${myconf} --disable-efnet" - fi - - epause 5 - - econf \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sysconfdir=/etc/ircd \ - --includedir=/usr/include \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxconn=${MAX_CLIENTS} \ - $(use_enable zlib) \ - $(use_enable ssl openssl) \ - $(use_enable !static shared-modules) \ - $(use_enable debug assert) \ - ${myconf} \ - || die "econf failed" - emake || die "emake failed" - - # Build respond binary for using rsa keys instead of plain text oper passwords. - use ssl && $(tc-getCC) ${CFLAGS} -o respond tools/rsa_respond/respond.c -lcrypto - - # Build contrib Modules if requested by useflag contrib - if use contrib; then - cd ${S}/contrib - make || dir "make in contrib failed" - fi -} - -src_install() { - dodir /usr/lib/ircd-hybrid-7 - keepdir /var/run/ircd /var/log/ircd - - make DESTDIR="${D}" install || die "make install failed" - - insinto /usr/share/ircd-hybrid-7/messages - doins messages/*.lang || die "doins failed" - - mv "${D}"/usr/{modules,lib/ircd-hybrid-7} - mv "${D}"/usr/bin/{,ircd-}mkpasswd - mv "${D}"/etc/ircd/{example,ircd}.conf - - sed -i \ - -e s:/usr/local/ircd/modules:/usr/lib/ircd-hybrid-7/modules: \ - "${D}"/etc/ircd/ircd.conf - - use ssl && dosbin "${S}"/respond - - dodoc BUGS ChangeLog Hybrid-team RELNOTES TODO - docinto doc - dodoc doc/*.txt doc/server-version-info - docinto doc/technical - dodoc doc/technical/* - - newinitd "${FILESDIR}"/init.d_ircd-7.2.1 ircd - - # Install contrib Modules if requested by useflag contrib - if use contrib; then - cd ${S}/contrib - make DESTDIR="${D}" install || die "make install contrib failed" - fi -} - -pkg_postinst() { - chown -R hybrid:hybrid "${ROOT}"/etc/ircd "${ROOT}"/var/{log,run}/ircd - chmod 700 "${ROOT}"/etc/ircd "${ROOT}"/var/log/ircd - - if use ssl - then - einfo "To create an RSA keypair for crypted links execute:" - einfo "emerge --config =${CATEGORY}/${PF}" - fi -} - -pkg_config() { - einfo "Generating 2048 bit RSA keypair /etc/ircd/ircd.rsa." - einfo "The public key is stored in /etc/ircd/ircd.pub." - - openssl genrsa -rand "${ROOT}"/var/run/random-seed -out "${ROOT}"/etc/ircd/ircd.rsa 2048 - openssl rsa -in "${ROOT}"/etc/ircd/ircd.rsa -pubout -out "${ROOT}"/etc/ircd/ircd.pub - - chown hybrid:hybrid "${ROOT}"/etc/ircd/ircd.rsa "${ROOT}"/etc/ircd/ircd.pub - chmod 600 "${ROOT}"/etc/ircd/ircd.rsa - chmod 644 "${ROOT}"/etc/ircd/ircd.pub - - einfo "Update the RSA keypair in /etc/ircd/ircd.conf and /REHASH." -} -- 2.26.2