summaryrefslogtreecommitdiff
path: root/community/unrealircd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
commitb82f11fd76e83d60504649838e60a235b394160f (patch)
tree4914b89dc1dbc3ea44ae87c567ac7e9fc821c529 /community/unrealircd
parente13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 (diff)
Tue Aug 30 23:14:43 UTC 2011
Diffstat (limited to 'community/unrealircd')
-rw-r--r--community/unrealircd/PKGBUILD8
-rw-r--r--community/unrealircd/arch-fixes.patch51
2 files changed, 46 insertions, 13 deletions
diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD
index bcb80f277..e0b22e2e4 100644
--- a/community/unrealircd/PKGBUILD
+++ b/community/unrealircd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 54707 2011-08-23 12:04:07Z spupykin $
+# $Id: PKGBUILD 54970 2011-08-29 09:48:35Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zerial <fernando@zerial.org>
pkgname=unrealircd
pkgver=3.2.8.1
-pkgrel=7
-pkgdesc="Open Source IRC Server."
+pkgrel=8
+pkgdesc="Open Source IRC Server"
arch=('i686' 'x86_64')
url="http://unrealircd.com"
license=('GPL2')
@@ -18,7 +18,7 @@ source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz
arch-fixes.patch)
md5sums=('7b741e94e867c0a7370553fd01506c66'
'0d728240132a97a2cef61be9558750b1'
- '670f0a5ecd60789cd5f296a1901cf1b7')
+ '77807313c4578f2c30286b9f9e3fb21c')
build() {
mkdir -p $pkgdir/etc/unrealircd
diff --git a/community/unrealircd/arch-fixes.patch b/community/unrealircd/arch-fixes.patch
index 02bbb18b3..a1741968d 100644
--- a/community/unrealircd/arch-fixes.patch
+++ b/community/unrealircd/arch-fixes.patch
@@ -1,6 +1,6 @@
-diff -wbBur Unreal3.2/doc/example.conf Unreal3.2.my/doc/example.conf
---- Unreal3.2/doc/example.conf 2009-04-13 15:03:55.000000000 +0400
-+++ Unreal3.2.my/doc/example.conf 2011-08-23 15:48:46.000000000 +0400
+diff -wbBur Unreal3.2.org/doc/example.conf Unreal3.2/doc/example.conf
+--- Unreal3.2.org/doc/example.conf 2009-04-13 15:03:55.000000000 +0400
++++ Unreal3.2/doc/example.conf 2011-08-29 13:39:25.000000000 +0400
@@ -33,8 +33,8 @@
*/
@@ -12,9 +12,9 @@ diff -wbBur Unreal3.2/doc/example.conf Unreal3.2.my/doc/example.conf
/* FOR Windows, uncomment the following 2 lines: */
//loadmodule "modules/commands.dll";
-diff -wbBur Unreal3.2/src/ircd.c Unreal3.2.my/src/ircd.c
---- Unreal3.2/src/ircd.c 2009-03-01 21:37:58.000000000 +0300
-+++ Unreal3.2.my/src/ircd.c 2011-08-23 15:44:30.000000000 +0400
+diff -wbBur Unreal3.2.org/src/ircd.c Unreal3.2/src/ircd.c
+--- Unreal3.2.org/src/ircd.c 2009-03-01 21:37:58.000000000 +0300
++++ Unreal3.2/src/ircd.c 2011-08-29 13:39:25.000000000 +0400
@@ -844,7 +844,7 @@
const char *compiledfor, *runtime;
int error = 0;
@@ -42,9 +42,9 @@ diff -wbBur Unreal3.2/src/ircd.c Unreal3.2.my/src/ircd.c
/* Perhaps someone should tell them to do this a bit more easy ;)
* problem is runtime output is like: 'libcurl/7.11.1 zlib/1.2.1 c-ares/1.2.0'
* while header output is like: '7.11.1'.
-diff -wbBur Unreal3.2/unreal.in Unreal3.2.my/unreal.in
---- Unreal3.2/unreal.in 2009-03-01 21:37:55.000000000 +0300
-+++ Unreal3.2.my/unreal.in 2011-08-23 15:49:20.000000000 +0400
+diff -wbBur Unreal3.2.org/unreal.in Unreal3.2/unreal.in
+--- Unreal3.2.org/unreal.in 2009-03-01 21:37:55.000000000 +0300
++++ Unreal3.2/unreal.in 2011-08-29 13:39:37.000000000 +0400
@@ -7,7 +7,7 @@
if [ -r $PID_FILE ] ; then
mv -f $PID_FILE $PID_BACKUP
@@ -54,3 +54,36 @@ diff -wbBur Unreal3.2/unreal.in Unreal3.2.my/unreal.in
sleep 1
if [ ! -r $PID_FILE ] ; then
echo "Possible error encountered (IRCd seemingly not started)"
+@@ -31,11 +31,11 @@
+ echo "Restarting UnrealIRCd"
+ kill -2 `cat $PID_FILE`
+ elif [ "$1" = "mkpasswd" ] ; then
+- @BINDIR@ -P $2 $3
++ @BINDIR@/ircd -P $2 $3
+ elif [ "$1" = "version" ] ; then
+- @BINDIR@ -v
++ @BINDIR@/ircd -v
+ elif [ "$1" = "gencloak" ] ; then
+- @BINDIR@ -k
++ @BINDIR@/ircd -k
+ elif [ "$1" = "backtrace" ] ; then
+ cd @IRCDDIR@
+
+@@ -90,7 +90,7 @@
+ fi
+
+ # Some ugly prepare work -- ignore errors
+- (echo quit|gdb @BINDIR@ $corefile 2>&1)|\
++ (echo quit|gdb @BINDIR@/ircd $corefile 2>&1)|\
+ grep -i 'no such file'|\
+ awk -F ':' '{ print $1 }'|sort|uniq|\
+ awk -F '.' "{ system(\"ln -s ../$modpath/\" \$2 \".so \" \$0) }"
+@@ -110,7 +110,7 @@
+ quit
+ __EOF__
+
+- gdb -batch -x gdb.commands @BINDIR@ $corefile
++ gdb -batch -x gdb.commands @BINDIR@/ircd $corefile
+ rm -f gdb.commands
+ echo "GCC: `gcc -v 2>&1|tail -n 1`"
+ echo "UNAME: `uname -a`"