Browse Source

Tobias Schmidt:


			
			
				rocklinux
			
			
		
Tobias Schmidt 20 years ago
parent
commit
94f0522e91
5 changed files with 188 additions and 0 deletions
  1. +53
    -0
      package/tschmidt/unreal-ircd/config.in
  2. +10
    -0
      package/tschmidt/unreal-ircd/exampleconf.patch
  3. +34
    -0
      package/tschmidt/unreal-ircd/unreal-ircd.conf
  4. +47
    -0
      package/tschmidt/unreal-ircd/unreal-ircd.desc
  5. +44
    -0
      package/tschmidt/unreal-ircd/unreal-ircd.init

+ 53
- 0
package/tschmidt/unreal-ircd/config.in

@ -0,0 +1,53 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tschmidt/unreal-ircd/config.in
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if pkgcheck unreal-ircd X
then
menu_begin MENU_PKG_UNREAL 'Unreal Ircd Package Options'
text 'Install prefix for Unreal Ircd' \
ROCKCFG_PKG_UNREAL_PREFIX "opt/unrealircd"
text 'Maximum number of connections Unreal my have' \
ROCKCFG_PKG_UNREAL_MAXCON "150"
text 'What is the maximum sendq length you wish to have' \
ROCKCFG_PKG_UNREAL_MAXSENDQ "1000"
text 'How many buffer pools would you like?' \
ROCKCFG_PKG_UNREAL_BUFPOOLS "18"
text 'What listen() backlog value do you wish to use?' \
ROCKCFG_PKG_UNREAL_BACKLOG "4"
text 'How far back do you want to keep the nickname history?' \
ROCKCFG_PKG_UNREAL_NICKHIST "2000"
bool 'Use dynamic modules (recommended)' \
ROCKCFG_PKG_UNREAL_DMODS 1
bool 'Use zipped links (recommended)' \
ROCKCFG_PKG_UNREAL_ZIP 1
bool 'Use SSL-Libraries (needs ssl-libs)' \
ROCKCFG_PKG_UNREAL_SSL 0
bool 'Use IPv6 for Unreal-Ircd' \
ROCKCFG_PKG_UNREAL_IP6 0
bool 'Use anti-spoof functionality' \
ROCKCFG_PKG_UNREAL_ANTISPOOF 0
bool 'Enable Unreal-Ircd to act as Hub-Server (recommended)' \
ROCKCFG_PKG_UNREAL_HUB 1
text 'Addidtional configure options' \
ROCKCFG_PKG_UNREAL_ADDITIONAL ""
menu_end
fi

+ 10
- 0
package/tschmidt/unreal-ircd/exampleconf.patch

@ -0,0 +1,10 @@
--- Unreal3.2/doc/example.conf
+++ Unreal3.2/doc/example.conf
32c32
< loadmodule "src/modules/commands.so";
---
> loadmodule "modules/commands.so";
45c45
< include "spamfilter.conf";
---
>

+ 34
- 0
package/tschmidt/unreal-ircd/unreal-ircd.conf

@ -0,0 +1,34 @@
if [ "$prefix_auto" = 1 ] ; then
prefix=$ROCKCFG_PKG_UNREAL_PREFIX
fi
if [ "$ROCKCFG_PKG_UNREAL_DMODS" = 1 ] ; then
extraconfopt="$extraconfopt --enable-dynamic-linking"
fi
if [ "$ROCKCFG_PKG_UNREAL_ZIP" = 1 ] ; then
extraconfopt="$extraconfopt --enable-ziplinks"
fi
if [ "$ROCKCFG_PKG_UNREAL_SSL" = 1 ] ; then
extraconfopt="$extraconfopt --enable-ssl"
fi
if [ "$ROCKCFG_PKG_UNREAL_IP6" = 1 ] ; then
extraconfopt="$extraconfopt --enable-inet6"
fi
if [ "$ROCKCFG_PKG_UNREAL_ANTISPOOF" = 1 ] ; then
extraconfopt="$extraconfopt --enable-nospoof"
fi
if [ "$ROCKCFG_PKG_UNREAL_HUB" = 1 ] ; then
extraconfopt="$extraconfopt --enable-hub"
fi
extraconfopt="$extraconfopt --with-listen=$ROCKCFG_PKG_UNREAL_BACKLOG"
extraconfopt="$extraconfopt --with-nick-history=$ROCKCFG_PKG_UNREAL_NICKHIST"
extraconfopt="$extraconfopt --with-sendq=$ROCKCFG_PKG_UNREAL_MAXSENDQ"
extraconfopt="$extraconfopt --with-bufferpool=$ROCKCFG_PKG_UNREAL_BUFPOOLS"
extraconfopt="$extraconfopt --with-fd-setsize=$ROCKCFG_PKG_UNREAL_MAXCON"
extraconfopt="$extraconfopt $ROCKCFG_PKG_UNREAL_ADDITIONAL"
extraconfopt="$extraconfopt --with-dpath=$root/$prefix/config --with-spath=$root/$prefix/ircd"
postmake="mkdir -p $root/$prefix/config/tmp"
postmake="$postmake && install_init unreal-ircd $confdir/unreal-ircd.init"
set_confopt

+ 47
- 0
package/tschmidt/unreal-ircd/unreal-ircd.desc

@ -0,0 +1,47 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/tschmidt/unreal-ircd/unreal-ircd.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Internet Relay Chat Daemon
[T] Unreal was created from the Dreamforge IRCd that was formerly used by
[T] the DALnet IRC Network. Over the years, many new and exciting features
[T] have been added to Unreal. It is hard to even see a resemblance between
[T] the current Unreal and Dreamforge. Some of Unreal's most notable features
[T] include: Channel Half-ops (+h), Channel Owners (+q), Channel Admins (+a)
[T] Channel linking (+L),anti flood/spam functionality, ziplinks / ssl clients
[T] ssl server-links modern configuration style (no more A: O: I: etc...)
[U] http://www.unrealircd.com
[A] Stskeeps <stskeeps@unrealircd.com>
[M] Tobias Schmidt <nazgul@uvip-media.de>
[C] extra/server
[L] GPL
[S] Stable
[V] 3.2
[P] X -----5---9 800.000
[D] 3869000254 Unreal3.2.tar.gz http://mirror.nimsay-networks.com/unrealircd/

+ 44
- 0
package/tschmidt/unreal-ircd/unreal-ircd.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tschmidt/unreal-ircd/unreal-ircd.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: Unreal Internet Relay Chat Daemon
# Runlevel: 90 rcX
#
main_begin
block_begin(start, `Starting Unreal IRC Daemon.')
check(`D_prefix/ircd')
block_end
block_begin(rehash, `Rehashing Unreal IRC Daemon configuration')
check(`killall -1 ircd')
block_end
block_begin(restart, `Rehashing Unreal IRC Daemon configuration')
check(`killall -2 ircd')
block_end
block_begin(stop, `Stopping Unreal IRC Daemon')
check(`killall -15 ircd')
block_end
main_end

Loading…
Cancel
Save