diff options
-rw-r--r-- | net-irc/ircd-hybrid/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/config-ipv4.diff | 56 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/config-ipv6.diff | 56 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0 | 1 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0-r1 | 1 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff | 78 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/ircd-hybrid-7.0-r1.ebuild | 347 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/ircd-hybrid-7.0.ebuild | 271 | ||||
-rw-r--r-- | net-irc/unrealircd/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/unrealircd/files/3.1.5.1-Config.patch | 29 | ||||
-rw-r--r-- | net-irc/unrealircd/files/3.1.6-Config.patch | 29 | ||||
-rw-r--r-- | net-irc/unrealircd/files/digest-unrealircd-3.1.5.1 | 1 | ||||
-rw-r--r-- | net-irc/unrealircd/files/digest-unrealircd-3.1.6 | 1 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.1.5.1.ebuild | 70 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.1.6.ebuild | 72 |
15 files changed, 12 insertions, 1014 deletions
diff --git a/net-irc/ircd-hybrid/ChangeLog b/net-irc/ircd-hybrid/ChangeLog index 3734666ebc4b..961c7d2f0e84 100644 --- a/net-irc/ircd-hybrid/ChangeLog +++ b/net-irc/ircd-hybrid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/ircd-hybrid # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.12 2004/10/16 18:54:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.13 2004/10/17 01:18:07 swegener Exp $ + + 17 Oct 2004; Sven Wegener <swegener@gentoo.org> -files/config-ipv4.diff, + -files/config-ipv6.diff, -files/ircd-hybrid-7.0.diff, + -ircd-hybrid-7.0-r1.ebuild, -ircd-hybrid-7.0.ebuild: + Removed old ebuilds and files. 16 Oct 2004; Mike Frysinger <vapier@gentoo.org> ircd-hybrid-7.0.3.ebuild: Rename mkpasswd #6428. diff --git a/net-irc/ircd-hybrid/files/config-ipv4.diff b/net-irc/ircd-hybrid/files/config-ipv4.diff deleted file mode 100644 index 227b44647b10..000000000000 --- a/net-irc/ircd-hybrid/files/config-ipv4.diff +++ /dev/null @@ -1,56 +0,0 @@ -136,138c136,138 -< #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/" -140,141c140,141 -< #define ETCPATH IRCD_PREFIX "/etc" -< #define LOGPATH IRCD_PREFIX "/logs" ---- -> #define ETCPATH "/etc/ircd" -> #define LOGPATH "/var/log/ircd" -146c146 -< #define SPATH BINPATH "/ircd" /* ircd executable */ ---- -> #define SPATH BINPATH "/ircd-ipv4" /* ircd executable */ -148,157c148,157 -< #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ -< #define KPATH ETCPATH "/kline.conf" /* kline 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 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 */ -214c214 -< #undef USE_SYSLOG ---- -> #define USE_SYSLOG -221,225c221,225 -< #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 */ diff --git a/net-irc/ircd-hybrid/files/config-ipv6.diff b/net-irc/ircd-hybrid/files/config-ipv6.diff deleted file mode 100644 index 7303800a2a6a..000000000000 --- a/net-irc/ircd-hybrid/files/config-ipv6.diff +++ /dev/null @@ -1,56 +0,0 @@ -136,138c136,138 -< #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/" -140,141c140,141 -< #define ETCPATH IRCD_PREFIX "/etc" -< #define LOGPATH IRCD_PREFIX "/logs" ---- -> #define ETCPATH "/etc/ircd" -> #define LOGPATH "/var/log/ircd" -146c146 -< #define SPATH BINPATH "/ircd" /* ircd executable */ ---- -> #define SPATH BINPATH "/ircd-ipv6" /* ircd executable */ -148,157c148,157 -< #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ -< #define KPATH ETCPATH "/kline.conf" /* kline 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 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 */ -214c214 -< #undef USE_SYSLOG ---- -> #define USE_SYSLOG -221,225c221,225 -< #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 */ diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0 deleted file mode 100644 index 6b3db2d0d21d..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 bee69c994c70fb29a711614150587cd4 ircd-hybrid-7.0.tgz 1412385 diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0-r1 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0-r1 deleted file mode 100644 index 6b3db2d0d21d..000000000000 --- a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 bee69c994c70fb29a711614150587cd4 ircd-hybrid-7.0.tgz 1412385 diff --git a/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff b/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff deleted file mode 100644 index d3f963027493..000000000000 --- a/net-irc/ircd-hybrid/files/ircd-hybrid-7.0.diff +++ /dev/null @@ -1,78 +0,0 @@ -diff -Naur ircd-hybrid-7.0.orig/help/Makefile.in ircd-hybrid-7.0/help/Makefile.in ---- ircd-hybrid-7.0.orig/help/Makefile.in 2002-02-02 16:01:13.000000000 +0000 -+++ ircd-hybrid-7.0/help/Makefile.in 2003-10-10 20:46:34.000000000 +0000 -@@ -80,10 +80,6 @@ - $(INSTALL_DATA) $$help $(uhelpdir); \ - fi \ - done -- @for link in $(SYMLINKS); do \ -- rm -f $(uhelpdir)/$$link; \ -- ln -s $(ohelpdir)/$$link $(uhelpdir); \ -- done - - - distclean: -diff -Naur ircd-hybrid-7.0.orig/include/Makefile.in ircd-hybrid-7.0/include/Makefile.in ---- ircd-hybrid-7.0.orig/include/Makefile.in 2002-04-29 22:30:24.000000000 +0000 -+++ ircd-hybrid-7.0/include/Makefile.in 2003-10-10 20:46:34.000000000 +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.orig/src/Makefile.in ircd-hybrid-7.0/src/Makefile.in ---- ircd-hybrid-7.0.orig/src/Makefile.in 2003-05-29 03:02:15.000000000 +0000 -+++ ircd-hybrid-7.0/src/Makefile.in 2003-10-10 20:46:34.000000000 +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.orig/tools/Makefile.in ircd-hybrid-7.0/tools/Makefile.in ---- ircd-hybrid-7.0.orig/tools/Makefile.in 2002-07-11 23:40:27.000000000 +0000 -+++ ircd-hybrid-7.0/tools/Makefile.in 2003-10-10 20:46:34.000000000 +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-r1.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.0-r1.ebuild deleted file mode 100644 index 9ec79e6fbbb0..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.0-r1.ebuild +++ /dev/null @@ -1,347 +0,0 @@ -# Copyright 1999-2004 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-r1.ebuild,v 1.7 2004/09/06 19:01:27 ciaranm Exp $ - -inherit eutils - -MAX_NICK_LENGTH=30 -MAX_CLIENTS=500 -MAX_TOPIC_LENGTH=512 -LARGE_NETWORK= -DISABLE_LARGE_NETWORK=1 # true -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-r1 ) - ssl? ( >=dev-libs/openssl-0.9.6j ) - || ( >=dev-libs/libelf-0.8.2 >=dev-libs/elfutils-0.89 ) - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.35 - >=sys-devel/gettext-0.11.5-r1 - >=sys-apps/sed-4.0.7" -RDEPEND="" - -pkg_setup() -{ - # Create a dedicated user for running ircd. UID/GID combination was based - # on some *BSD passwd files. - if ! groupmod hybrid; then - einfo "Creating hybrid group (gid=72)." - groupadd hybrid -g 72 || die "failed to create group: hybrid (gid=72)" - fi - if ! id hybrid; then - einfo "Creating hybrid user (uid=72)." - useradd -d /usr/share/ircd-hybrid-7 -g hybrid -s /bin/false -u 72 hybrid \ - || die "failed to create user: ircd (uid=72)" - fi - - return 0 -} - -src_unpack() -{ - unpack ${A} - cd ${S} - - # 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. - patch -p1 < ${FILESDIR}/${P}.diff || die "patch failed" - cp configure configure.dist - sed -e "s:IRC_CFLAGS=\"-O2 -g \":IRC_CFLAGS=\"${CFLAGS}\":" \ - < configure.dist > 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" - ewarm "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="--enable-large-net" - fi - if [ ${DISABLE_LARGE_NETWORK} ]; then - ewarn "Disabling large networks." - myconf="--disable-large-net" - fi - if [ ${SMALL_NETWORK} ]; then - ewarn "Configuring for small networks." - myconf="--enable-small-net" - fi - if [ ${DISABLE_SMALL_NETWORK} ]; then - ewarn "Disabling small networks." - myconf="--disable-small-net" - fi - if [ ${ENABLE_POLL} ]; then - ewarn "Configuring with poll() enabled" - myconf="--enable-poll" - fi - if [ ${DISABLE_POLL} ]; then - ewarn "Configuring with poll() disabled" - myconf="--disable-poll" - fi - if [ ${ENABLE_SELECT} ]; then - ewarn "Configuring with select() enabled." - myconf="--enable-select" - fi - if [ ${DISABLE_SELECT} ]; then - ewarn "Configuring with select() disabled." - myconf="--disable-select" - fi - if [ ${ENABLE_EFNET} ]; then - ewarn "Configuring for Efnet." - myconf="--enable-efnet" - fi - if [ ${ENABLE_RTSIGIO} ]; then - ewarn "Configuring with Superior RTSIGIO." - myconf="--enable-rtsigio" - fi - if [ ${DISABLE_RTSIGIO} ]; then - ewarn "Disabling Superior RTSIGIO." - myconf="--disable-rtsigio" - fi - if [ ${ENABLE_SHARED} ]; then - ewarn "Configuring for non-Efnet." - myconf="--enable-shared" - fi - if [ ${ENABLE_KQUEUE} ]; then - ewarn "Configuring for Kqueue." - myconf="--enable-kqueue" - fi - if [ ${DISABLE_KQUEUE} ]; then - ewarn "Disabling Kqueue." - myconf="--disable-kqueue" - fi - # Wait for admins to see the default variables. - epause 5 - - use debug || myconf="${myconf} --disable-assert" - use ssl && myconf="${myconf} --enable-openssl" - use static && myconf="${myconf} --disable-shared-modules" - use zlib && myconf="${myconf} --enable-zlib" - - # Set ipv4 defaults to config.h. - patch include/config.h ${FILESDIR}/config-ipv4.diff \ - || die "ipv4 defaults patch failed" - - # Set prefix to /usr/share/ircd-hybrid-7 to save some patching. - ./configure \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} ${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.diff \ - || die "ipv6 defaults patch failed" - - ./configure \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} \ - --enable-ipv6 ${myconf} || die "ipv6 config failed" - emake || die "ipv6 make failed" - fi - - # Go back. - cd ${S} -} - -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 - - # 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" - - # Rename the binary according to config-ipv4.diff. - mv ${D}/usr/sbin/ircd ${D}/usr/sbin/ircd-ipv4 - - # Install the respond binary. - if use ssl; then - exeinto /usr/sbin - doexe ${S}/respond - fi - - # 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. - cp ${FILESDIR}/init.d_ircd ${D}/etc/init.d/ircd - cp ${FILESDIR}/conf.d_ircd ${D}/etc/conf.d/ircd - - chmod +x ${D}/etc/init.d/ircd - # Go back. - cd ${S} -} - -pkg_postinst() -{ - # Create the default config files out of example ones. - cp /etc/ircd/example-ipv4.conf /etc/ircd/ircd-ipv4.conf - if use ipv6; then - cp /etc/ircd/example-ipv6.conf /etc/ircd/ircd-ipv6.conf - fi - - chown -R ircd:ircd /etc/ircd /var/log/ircd /var/run/ircd - chmod 700 /etc/ircd /var/log/ircd - find /etc/ircd -type f -exec chmod 600 {} \; - - einfo "Modify /etc/ircd/ircd-{ipv4,ipv6}.conf and /etc/conf.d/ircd" - einfo "otherwise the daemon(s) will quietly refuse to run." - - if use ssl; then - einfo "To create a rsa keypair for crypted links execute:" - einfo "ebuild /var/db/pkg/net-irc/${PF}/${PF}.ebuild config" - fi -} - -pkg_config() -{ - local proto="ipv4" - [[ -x "/usr/sbin/ircd-ipv6" ]] && proto="ipv4 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 /var/run/random-seed \ - -out /etc/ircd/ircd-${i}.rsa 2048 - openssl rsa -in /etc/ircd/ircd-${i}.rsa -pubout \ - -out /etc/ircd/ircd-${i}.pub - chown ircd:ircd /etc/ircd/ircd-${i}.rsa /etc/ircd/ircd-${i}.pub - chmod 600 /etc/ircd/ircd-${i}.rsa - chmod 644 /etc/ircd/ircd-${i}.pub - - einfo "Update the rsa keypair in /etc/ircd/ircd-${i}.conf and /REHASH." - done -} - -# vim:ts=4 diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.0.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.0.ebuild deleted file mode 100644 index 5e33957676e4..000000000000 --- a/net-irc/ircd-hybrid/ircd-hybrid-7.0.ebuild +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright 1999-2004 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.ebuild,v 1.8 2004/09/06 19:01:27 ciaranm Exp $ - -inherit eutils - -MAX_NICK_LENGTH=16 -MAX_CLIENTS=256 -MAX_TOPIC_LENGTH=512 -SMALL_NETWORK=1 # true - -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-r1 ) - ssl? ( >=dev-libs/openssl-0.9.6j ) - || ( >=dev-libs/libelf-0.8.2 >=dev-libs/elfutils-0.89 ) - >=sys-devel/flex-2.5.4a-r5 - >=sys-devel/bison-1.35 - >=sys-devel/gettext-0.11.5-r1 - >=sys-apps/sed-4.0.7" -RDEPEND="" - -pkg_setup() -{ - # Create a dedicated user for running ircd. UID/GID combination was based - # on some *BSD passwd files. - if ! groupmod ircd; then - einfo "Creating ircd group (gid=72)." - groupadd ircd -g 72 || die "failed to create group: ircd (gid=72)" - fi - if ! id ircd; then - einfo "Creating ircd user (uid=72)." - useradd -d /usr/share/ircd-hybrid-7 -g ircd -s /bin/false -u 72 ircd \ - || die "failed to create user: ircd (uid=72)" - fi - - return 0 -} - -src_unpack() -{ - unpack ${A} - cd ${S} - - # 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. - patch -p1 < ${FILESDIR}/${PF}.diff || die "patch failed" - cp configure configure.dist - sed -e "s:IRC_CFLAGS=\"-O2 -g \":IRC_CFLAGS=\"${CFLAGS}\":" \ - < configure.dist > 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 - ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" - ewarn " topic length = ${MAX_TOPIC_LENGTH}" - ewarn " number of clients = ${MAX_CLIENTS}" - if [ ${SMALL_NETWORK} ]; then - ewarn "Configuring for small networks." - myconf="--enable-small-net" - fi - - # Wait for admins to see the default variables. - epause 5 - - use debug || myconf="${myconf} --disable-assert" - use ssl && myconf="${myconf} --enable-openssl" - use static && myconf="${myconf} --disable-shared-modules" - use zlib && myconf="${myconf} --enable-zlib" - - # Set ipv4 defaults to config.h. - patch include/config.h ${FILESDIR}/config-ipv4.diff \ - || die "ipv4 defaults patch failed" - - # Set prefix to /usr/share/ircd-hybrid-7 to save some patching. - ./configure \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} ${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.diff \ - || die "ipv6 defaults patch failed" - - ./configure \ - --prefix=/usr/share/ircd-hybrid-7 \ - --with-nicklen=${MAX_NICK_LENGTH} \ - --with-topiclen=${MAX_TOPIC_LENGTH} \ - --with-maxclients=${MAX_CLIENTS} \ - --enable-ipv6 ${myconf} || die "ipv6 config failed" - emake || die "ipv6 make failed" - fi - - # Go back. - cd ${S} -} - -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 - - # 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" - - # Rename the binary according to config-ipv4.diff. - mv ${D}/usr/sbin/ircd ${D}/usr/sbin/ircd-ipv4 - - # Install the respond binary. - if use ssl; then - exeinto /usr/sbin - doexe ${S}/respond - fi - - # 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. - cp ${FILESDIR}/init.d_ircd ${D}/etc/init.d/ircd - cp ${FILESDIR}/conf.d_ircd ${D}/etc/conf.d/ircd - - chmod +x ${D}/etc/init.d/ircd - # Go back. - cd ${S} -} - -pkg_postinst() -{ - # Create the default config files out of example ones. - cp /etc/ircd/example-ipv4.conf /etc/ircd/ircd-ipv4.conf - if use ipv6; then - cp /etc/ircd/example-ipv6.conf /etc/ircd/ircd-ipv6.conf - fi - - chown -R ircd:ircd /etc/ircd /var/log/ircd /var/run/ircd - chmod 700 /etc/ircd /var/log/ircd - find /etc/ircd -type f -exec chmod 600 {} \; - - einfo "Modify /etc/ircd/ircd-{ipv4,ipv6}.conf and /etc/conf.d/ircd" - einfo "otherwise the daemon(s) will quietly refuse to run." - - if use ssl; then - einfo "To create a rsa keypair for crypted links execute:" - einfo "ebuild /var/db/pkg/net-irc/${PF}/${PF}.ebuild config" - fi -} - -pkg_config() -{ - local proto="ipv4" - [[ -x "/usr/sbin/ircd-ipv6" ]] && proto="ipv4 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 /var/run/random-seed \ - -out /etc/ircd/ircd-${i}.rsa 2048 - openssl rsa -in /etc/ircd/ircd-${i}.rsa -pubout \ - -out /etc/ircd/ircd-${i}.pub - chown ircd:ircd /etc/ircd/ircd-${i}.rsa /etc/ircd/ircd-${i}.pub - chmod 600 /etc/ircd/ircd-${i}.rsa - chmod 644 /etc/ircd/ircd-${i}.pub - - einfo "Update the rsa keypair in /etc/ircd/ircd-${i}.conf and /REHASH." - done -} - -# vim:ts=4 diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog index e29227acdb7f..2f6fc427b947 100644 --- a/net-irc/unrealircd/ChangeLog +++ b/net-irc/unrealircd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/unrealircd # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.24 2004/10/09 20:36:31 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.25 2004/10/17 01:21:40 swegener Exp $ + + 17 Oct 2004; Sven Wegener <swegener@gentoo.org> + -files/3.1.5.1-Config.patch, -files/3.1.6-Config.patch, + -unrealircd-3.1.5.1.ebuild, -unrealircd-3.1.6.ebuild: + Removed old ebuilds and files. 09 Oct 2004; Sven Wegener <swegener@gentoo.org> files/unrealircd.rc: Modified to 'use net' not 'need net' in init script. Closes bug #66467. diff --git a/net-irc/unrealircd/files/3.1.5.1-Config.patch b/net-irc/unrealircd/files/3.1.5.1-Config.patch deleted file mode 100644 index 1b4cfce018c6..000000000000 --- a/net-irc/unrealircd/files/3.1.5.1-Config.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- Config.orig 2003-01-31 22:32:22.000000000 -0500 -+++ Config 2003-01-31 22:32:54.000000000 -0500 -@@ -21,7 +21,7 @@ - SETUP=include/setup.h - OPTIONS_H=include/settings.h - OPTIONS=Settings --AUTO_CONFIG="" -+AUTO_CONFIG="-n" - # - STDLIBH=undef - STDDEFH=undef -@@ -64,7 +64,7 @@ - # - # Some reasonable defaults - # --DEFOPT="-O -g" -+DEFOPT="GENTOO_CFLAGS" - DEFCFLAGS="$DEFOPT" - DEFLIBS="none" - MKPASSWDLIBS="-lcrypt" -@@ -73,7 +73,7 @@ - IRCNET="" - NOSPOOF="1" - KLINE_ADDRESS="" --DPATH="$DIR" -+DPATH="/etc/unrealircd/" - SPATH="$DIR/src/ircd" - MODE_X="" - TRUEHUB="" diff --git a/net-irc/unrealircd/files/3.1.6-Config.patch b/net-irc/unrealircd/files/3.1.6-Config.patch deleted file mode 100644 index 1b4cfce018c6..000000000000 --- a/net-irc/unrealircd/files/3.1.6-Config.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- Config.orig 2003-01-31 22:32:22.000000000 -0500 -+++ Config 2003-01-31 22:32:54.000000000 -0500 -@@ -21,7 +21,7 @@ - SETUP=include/setup.h - OPTIONS_H=include/settings.h - OPTIONS=Settings --AUTO_CONFIG="" -+AUTO_CONFIG="-n" - # - STDLIBH=undef - STDDEFH=undef -@@ -64,7 +64,7 @@ - # - # Some reasonable defaults - # --DEFOPT="-O -g" -+DEFOPT="GENTOO_CFLAGS" - DEFCFLAGS="$DEFOPT" - DEFLIBS="none" - MKPASSWDLIBS="-lcrypt" -@@ -73,7 +73,7 @@ - IRCNET="" - NOSPOOF="1" - KLINE_ADDRESS="" --DPATH="$DIR" -+DPATH="/etc/unrealircd/" - SPATH="$DIR/src/ircd" - MODE_X="" - TRUEHUB="" diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.1.5.1 b/net-irc/unrealircd/files/digest-unrealircd-3.1.5.1 deleted file mode 100644 index c501d9b2a3f6..000000000000 --- a/net-irc/unrealircd/files/digest-unrealircd-3.1.5.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d38463ee6c20fe7e5c0262abc86d2380 Unreal3.1.5.1-Valek.tar.gz 695183 diff --git a/net-irc/unrealircd/files/digest-unrealircd-3.1.6 b/net-irc/unrealircd/files/digest-unrealircd-3.1.6 deleted file mode 100644 index 1686c59f8ba7..000000000000 --- a/net-irc/unrealircd/files/digest-unrealircd-3.1.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 2b6043b8c16a61ac2f4c5b04dc68b87d Unreal3.1.6-Noon.tar.gz 693401 diff --git a/net-irc/unrealircd/unrealircd-3.1.5.1.ebuild b/net-irc/unrealircd/unrealircd-3.1.5.1.ebuild deleted file mode 100644 index 8c3081dd77c6..000000000000 --- a/net-irc/unrealircd/unrealircd-3.1.5.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.1.5.1.ebuild,v 1.8 2004/06/24 23:09:40 agriffis Exp $ - -inherit eutils - -MY_P=Unreal${PV}-Valek -DESCRIPTION="aimed to be an advanced, not an easy IRCd" -HOMEPAGE="http://www.unrealircd.com/" -SRC_URI="http://www.gower.net/unrealircd/${MY_P}.tar.gz - ftp://unreal.secure-tech.net/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86" -IUSE="ssl" - -DEPEND="ssl? ( dev-libs/openssl ) - >=sys-apps/sed-4" - -S=${WORKDIR}/Unreal${PV} - -src_unpack() { - unpack ${A} && cd ${S} - rm -f .CHANGES.NEW .RELEASE.NOTES - epatch ${FILESDIR}/${PV}-Config.patch - sed -i 's:^ID_CVS.*::' src/res_mkquery.c - - cp Config{,.orig} - sed -e "s:GENTOO_CFLAGS:${CFLAGS}:" \ - Config.orig > Config -} - -src_compile() { - ./Config || die "configure failed" - make RES="res_init.o res_comp.o res_mkquery.o" \ - || die "compiling failed" -} - -src_install() { - newbin src/ircd unrealircd || die - newbin makeconf unrealircd-makeconf || die - newbin src/chkconf unrealircd-chkconf || die - - insinto /etc/unrealircd - doins badwords.*.conf - insinto /etc/unrealircd/networks - doins networks/{template.network,unrealircd.conf} - - dodoc doc/* Changes Donation Unreal.nfo dynconf ircdcron/* - - exeinto /etc/init.d - newexe ${FILESDIR}/unrealircd.rc unrealircd - insinto /etc/conf.d - newins ${FILESDIR}/unrealircd.confd unrealircd -} - -pkg_postinst() { - einfo "UnrealIRCD will not run until you do a few things ..." - echo - einfo "Setup /etc/unrealircd/unrealircd.conf" - einfo " see /etc/unrealircd/template.network for more info" - einfo "Setup /etc/unrealircd/ircd.conf" - einfo " see /usr/share/doc/${PF}/example.conf.gz for more info" - echo - einfo "You can find example cron scripts here:" - einfo " /usr/share/doc/${PF}/ircd.cron" - einfo " /usr/share/doc/${PF}/ircdchk" - einfo "You can also use /etc/init.d/unrealircd to start at boot" -} diff --git a/net-irc/unrealircd/unrealircd-3.1.6.ebuild b/net-irc/unrealircd/unrealircd-3.1.6.ebuild deleted file mode 100644 index 4c729a8e2a60..000000000000 --- a/net-irc/unrealircd/unrealircd-3.1.6.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.1.6.ebuild,v 1.5 2004/06/24 23:09:40 agriffis Exp $ - -inherit eutils - -MY_P=Unreal${PV}-Noon -DESCRIPTION="aimed to be an advanced (not easy) IRCd" -HOMEPAGE="http://www.unrealircd.com/" -SRC_URI="http://www.gower.net/unrealircd/${MY_P}.tar.gz - ftp://unreal.secure-tech.net/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="ssl" - -DEPEND="ssl? ( dev-libs/openssl ) - >=sys-apps/sed-4" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} && cd ${S} - rm -f .CHANGES.NEW .RELEASE.NOTES - epatch ${FILESDIR}/${PV}-Config.patch - sed -i 's:^ID_CVS.*::' src/res_mkquery.c - - cp Config{,.orig} - sed -e "s:GENTOO_CFLAGS:${CFLAGS}:" \ - Config.orig > Config -} - -src_compile() { - ./Config || die "configure failed" - make RES="res_init.o res_comp.o res_mkquery.o" \ - || die "compiling failed" -} - -src_install() { - newbin src/ircd unrealircd || die - newbin makeconf unrealircd-makeconf || die - newbin src/chkconf unrealircd-chkconf || die - - insinto /etc/unrealircd - doins badwords.*.conf - insinto /etc/unrealircd/networks - doins networks/{template.network,unrealircd.conf} - - dodoc doc/* Changes Donation Unreal.nfo dynconf ircdcron/* - - exeinto /etc/init.d - newexe ${FILESDIR}/unrealircd.rc unrealircd - insinto /etc/conf.d - newins ${FILESDIR}/unrealircd.confd unrealircd -} - -pkg_postinst() { - einfo "UnrealIRCD will not run until you do a few things ..." - echo - einfo "Setup /etc/unrealircd/unrealircd.conf" - einfo " see /etc/unrealircd/template.network for more info" - einfo "Setup /etc/unrealircd/ircd.conf" - einfo " see /usr/share/doc/${PF}/example.conf.gz for more info" - echo - einfo "You can find example cron scripts here:" - einfo " /usr/share/doc/${PF}/ircd.cron" - einfo " /usr/share/doc/${PF}/ircdchk" - echo - einfo "You can also use /etc/init.d/unrealircd to start at boot" - echo -} |