Changeset - f17c49fa1c90
[Not reviewed]
default
0 0 8
Nathan Brink (binki) - 16 years ago 2009-01-15 08:22:55
ohnobinki@ohnopublishing.net
net-irc/unrealircd: initial import, patches for see gentoo bug 254966
patches are to force unrealircd to compile against the system tre and c-ares
8 files changed with 690 insertions and 0 deletions:
0 comments (0 inline, 0 general)
net-irc/unrealircd/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for net-irc/unrealircd
 
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.70 2008/08/23 01:20:34 cardoe Exp $
 

	
 
  14 Jan 2009; Nathan Phillip Brink <ohnobinki@ohnopublishing.net> +unrealircd-system-tre.patch +unrealircd-system-cares.patch:
 
  Imported from portage tree, added patch that prevents unrealircd from statically linking to a bundled dev-libs/tre and net-dns/c-ares.
 
	
 
  23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
 
  add GLEP 56 USE flag desc from use.local.desc
 

	
 
  11 Aug 2008; Ricardo Mendoza <ricmm@gentoo.org>
 
  unrealircd-3.2.7-r2.ebuild:
 
  Add ~mips, bug #199362
 

	
 
  22 Dec 2007; Ulrich Mueller <ulm@gentoo.org> -unrealircd-3.2.7.ebuild:
 
  Remove old revision wrt bug #201682.
 

	
 
  22 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  unrealircd-3.2.7-r2.ebuild:
 
  ppc stable, bug #201682
 

	
 
  12 Dec 2007; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.7-r2.ebuild:
 
  sparc/x86 stable wrt #201682
 

	
 
*unrealircd-3.2.7-r2 (12 Dec 2007)
 

	
 
  12 Dec 2007; Ulrich Mueller <ulm@gentoo.org> -unrealircd-3.2.7-r1.ebuild,
 
  +unrealircd-3.2.7-r2.ebuild:
 
  Set correct owner for the installed certificates, fixes bug #201996.
 
  Thanks to Attila Tóth <atoth@atoth.sote.hu> and Stefan Becker
 
  <stefan.becker@ip-exchange.de> for reporting and providing a patch.
 

	
 
  10 Dec 2007; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.7-r1.ebuild:
 
  sparc/x86 stable wrt #201682
 

	
 
  08 Oct 2007; Raúl Porcel <armin76@gentoo.org>
 
  -unrealircd-3.2.6-r1.ebuild:
 
  old
 

	
 
  06 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  unrealircd-3.2.7.ebuild:
 
  ppc stable, bug #193233
 

	
 
  25 Sep 2007; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.7.ebuild:
 
  sparc stable wrt #193233
 

	
 
  20 Sep 2007; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.7.ebuild:
 
  x86 stable wrt #193233
 

	
 
*unrealircd-3.2.7 (20 Aug 2007)
 

	
 
  20 Aug 2007; Markus Ullmann <jokey@gentoo.org> +unrealircd-3.2.7.ebuild:
 
  Version bump wrt notify in bug #189199
 

	
 
  20 Aug 2007; Markus Ullmann <jokey@gentoo.org> unrealircd-3.2.6-r1.ebuild:
 
  Fix SRC_URI
 

	
 
*unrealircd-3.2.6-r1 (14 May 2007)
 

	
 
  14 May 2007; Markus Ullmann <jokey@gentoo.org> -unrealircd-3.2.6.ebuild,
 
  +unrealircd-3.2.6-r1.ebuild:
 
  revbump for new useflag to support displaying channel modes during compilation
 

	
 
  06 May 2007; Marius Mauch <genone@gentoo.org> unrealircd-3.2.6.ebuild:
 
  Replacing einfo with elog
 

	
 
  08 Apr 2007; Raúl Porcel <armin76@gentoo.org> -unrealircd-3.2.5.ebuild:
 
  drop old
 

	
 
  06 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
 
  unrealircd-3.2.6.ebuild:
 
  ppc stable, bug #171421
 

	
 
  24 Mar 2007; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.6.ebuild:
 
  Add local USE flag for chanadmin and chanowner prefix support.
 

	
 
  19 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
 
  unrealircd-3.2.6.ebuild:
 
  Stable on sparc wrt #171421
 

	
 
  19 Mar 2007; Raúl Porcel <armin76@gentoo.org> unrealircd-3.2.6.ebuild:
 
  x86 stable wrt bug 171421
 

	
 
*unrealircd-3.2.6 (18 Feb 2007)
 

	
 
  18 Feb 2007; Raúl Porcel <armin76@gentoo.org> +unrealircd-3.2.6.ebuild:
 
  Version bump wrt bug 164991
 

	
 
  19 Nov 2006; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.5.ebuild:
 
  Update SRC_URI and add mirror://gentoo/ to prevent future breakage.
 

	
 
  21 Oct 2006; Timothy Redaelli <drizzt@gentoo.org> unrealircd-3.2.5.ebuild:
 
  Applied patch for bug 152212 to make it compile on g/fbsd (authorized by
 
  Markus Ullmann) Added ~x86-fbsd keyword
 

	
 
  20 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
 
  unrealircd-3.2.5.ebuild:
 
  Stable on sparc
 

	
 
*unrealircd-3.2.5 (27 Jun 2006)
 

	
 
  27 Jun 2006; Markus Ullmann <jokey@gentoo.org> +unrealircd-3.2.5.ebuild:
 
  Version bump wrt bug #137266, thanks to Todd Merrill
 
  <todd.merrill@comcast.net> for testing the new version
 

	
 
  09 May 2006; Sven Wegener <swegener@gentoo.org> -unrealircd-3.2.3.ebuild,
 
  -unrealircd-3.2.3-r1.ebuild:
 
  Cleanup.
 

	
 
  03 May 2006; Tobias Scherbaum <dertobi123@gentoo.org>
 
  unrealircd-3.2.4.ebuild:
 
  ppc stable, bug #132012
 

	
 
  03 May 2006; Joshua Jackson <tsunam@gentoo.org> unrealircd-3.2.4.ebuild:
 
  Stable on x86; bug #132012
 

	
 
  27 Apr 2006; Alec Warner <antarus@gentoo.org>
 
  files/digest-unrealircd-3.2.3, files/digest-unrealircd-3.2.3-r1, Manifest:
 
  Fixing SHA256 digest, pass four
 

	
 
  18 Mar 2006; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.4.ebuild:
 
  Revert back to the myconf solution, the configure script is broken. This
 
  should fix bug #125705.
 

	
 
*unrealircd-3.2.4 (17 Feb 2006)
 

	
 
  17 Feb 2006; Alec Warner <antarus@gentoo.org> +unrealircd-3.2.4.ebuild:
 
  Revision bump to 3.2.4, thanks to Todd Merrill <todd.merrill@comcast.net>
 
  for reporting. Fixes bug #123173
 

	
 
  14 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  unrealircd-3.2.3-r1.ebuild:
 
  Keyworded ~sparc wrt #107146
 

	
 
  15 Aug 2005; Luis Medinas <metalgod@gentoo.org>
 
  unrealircd-3.2.3-r1.ebuild:
 
  Added ~amd64 keywords.
 

	
 
  14 Aug 2005; Sven Wegener <swegener@gentoo.org>
 
  unrealircd-3.2.3-r1.ebuild:
 
  Make ebuild multilib friendly.
 

	
 
  15 Aug 2005; Luis Medinas <metalgod@gentoo.org>
 
  unrealircd-3.2.3-r1.ebuild:
 
  Added ~amd64 keywords.
 

	
 
  29 Jun 2005; Sven Wegener <swegener@gentoo.org>
 
  unrealircd-3.2.3-r1.ebuild:
 
  Updated the curl check to also check for the ipv6 USE flag.
 

	
 
*unrealircd-3.2.3-r1 (03 May 2005)
 

	
 
  03 May 2005; Sven Wegener <swegener@gentoo.org>
 
  +unrealircd-3.2.3-r1.ebuild:
 
  Revision bump. Added support for the curl USE flag that allows
 
  network-based configuration includes. Closes bug #86307.
 

	
 
  01 May 2005; Michael Hanselmann <hansmi@gentoo.org>
 
  unrealircd-3.2.3.ebuild:
 
  Stable on ppc.
 

	
 
  26 Apr 2005; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.3.ebuild:
 
  Set ownership of configuration files the right way. Fixes bug #90075.
 

	
 
  22 Apr 2005; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.3.ebuild:
 
  Marked stable on x86.
 

	
 
*unrealircd-3.2.3 (14 Mar 2005)
 

	
 
  14 Mar 2005; Sven Wegener <swegener@gentoo.org> +unrealircd-3.2.3.ebuild:
 
  Version bump.
 

	
 
  18 Jan 2005; Sven Wegener <swegener@gentoo.org>
 
  -unrealircd-3.2.1-r1.ebuild, -unrealircd-3.2.2.ebuild:
 
  Removed old vulnerable ebuilds.
 

	
 
*unrealircd-3.2.2b (18 Jan 2005)
 

	
 
  18 Jan 2005; Sven Wegener <swegener@gentoo.org> +unrealircd-3.2.2b.ebuild:
 
  Version bump for security bug #78524. Marked stable on x86.
 

	
 
*unrealircd-3.2.2 (05 Dec 2004)
 

	
 
  05 Dec 2004; Sven Wegener <swegener@gentoo.org>
 
  unrealircd-3.2.1-r1.ebuild, +unrealircd-3.2.2.ebuild:
 
  Version bump.
 

	
 
  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.
 

	
 
  03 Oct 2004; Sven Wegener <swegener@gentoo.org>
 
  unrealircd-3.2.1-r1.ebuild:
 
  Marked stable on x86.
 

	
 
  15 Aug 2004; Sven Wegener <swegener@gentoo.org> files/unrealircd.rc,
 
  unrealircd-3.2.1-r1.ebuild, -unrealircd-3.2.1.ebuild:
 
  Updated init script with reload support.
 

	
 
  14 Aug 2004; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.1-r1.ebuild:
 
  Modified the ebuild to install configuration files for aliases and networks
 
  and always enable the channel owner and admin prefixes.
 

	
 
  14 Aug 2004; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.1-r1.ebuild:
 
  Added info to pkg_postinst().
 

	
 
*unrealircd-3.2.1-r1 (14 Aug 2004)
 

	
 
  14 Aug 2004; Sven Wegener <swegener@gentoo.org> +unrealircd-3.2.1-r1.ebuild:
 
  Revision bump. Made the hub support optional and added support for the ipv6
 
  USE flag.
 

	
 
  25 Jul 2004; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.1.ebuild:
 
  Fixed wrong path in ircdchk cron script.
 

	
 
  24 Jul 2004; Sven Wegener <swegener@gentoo.org> unrealircd-3.2.1.ebuild:
 
  Configuration files need to be owned by user unrealircd.
 

	
 
  24 Jul 2004; Sven Wegener <swegener@gentoo.org> files/unrealircd.rc,
 
  unrealircd-3.2.1.ebuild:
 
  Fixed typo in init script and modified ebuild to install cron example scripts.
 

	
 
*unrealircd-3.2.1 (24 Jul 2004)
 

	
 
  24 Jul 2004; Sven Wegener <swegener@gentoo.org> -files/mkunrealircd-cert,
 
  files/unrealircd.confd, files/unrealircd.rc, +unrealircd-3.2.1.ebuild,
 
  -unrealircd-3.2_rc2.ebuild:
 
  Version bump. Closes bug #48965 and bug #41919. Switched from
 
  mkunrealircd-cert to ssl-cert.eclass.
 

	
 
  27 Apr 2004; Aron Griffis <agriffis@gentoo.org> unrealircd-3.1.5.1.ebuild,
 
  unrealircd-3.1.6.ebuild, unrealircd-3.2_rc2.ebuild:
 
  Add inherit eutils
 

	
 
  23 Apr 2004; David Holm <dholm@gentoo.org> unrealircd-3.2_rc2.ebuild:
 
  Added to ~ppc.
 

	
 
*unrealircd-3.2_rc2 (22 Apr 2004)
 

	
 
  22 Apr 2004; Chuck Short <zul@gentoo.org> unrealircd-3.2_rc1.ebuild,
 
  unrealircd-3.2_rc2.ebuild:
 
  RemoRemoved 3.2rc1 in place for rc1.
 

	
 
  22 Apr 2004; Chuck Short <zul@gentoo.org> unrealircd-3.2_rc1.ebuild:
 
  Updated ebuild.
 
  Closes #42396.
 

	
 
  13 Apr 2004; Chuck Short <zul@gentoo.org> files/mkunrealircd-cert:
 
  Fix mkunrealircd-cert. Closes #42396.
 

	
 
  06 Mar 2004; Chuck Short <zul@gentoo.org> files/mkunrealircd-cert:
 
  Updated mkunrealircd-cert script.
 

	
 
  05 Mar 2004; Chuck Short <zul@gentoo.org> unrealircd-3.2_rc1.ebuild:
 
  DPATH and SPATH is hardcoded with the PORTDIR_TMP. Closes #42396.
 

	
 
  04 Mar 2004; Chuck Short <zul@gentoo.org> unrealircd-3.2_rc1.ebuild:
 
  Ebuild improvements. Closes #42396.
 

	
 
*unrealircd-3.2_rc1 (20 Feb 2004)
 

	
 
  20 Feb 2004; Chuck Short <zul@gentoo.org> unrealircd-3.1.5.1.ebuild,
 
  unrealircd-3.1.6.ebuild, unrealircd-3.2_rc1.ebuild:
 
  Updated headers, version bump. Closes #41919.
 

	
 
*unrealircd-3.1.6 (02 Jul 2003)
 

	
 
  02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Version bump + patches to fix compat with newer glibc #23825.
 

	
 
*unrealircd-3.1.5.1 (31 Jan 2003)
 

	
 
  02 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Patches to fix compat with newer glibc #23825.
 

	
 
  25 Mar 2003; Seemant Kulleen <seemant@gentoo.org> unrealircd-3.1.5.1.ebuild:
 
  openssl USE is actually ssl
 

	
 
  31 Jan 2003; Mike Frysinger <vapier@gentoo.org> :
 
  Initial import.  Ebuild submitted by me.
net-irc/unrealircd/Manifest
Show inline comments
 
new file 100644
 
AUX unrealircd-system-cares.patch 2836 RMD160 7dd7492273ae9a50f612eba14041e789bb26e655 SHA1 d212867dd9091d72076c4b86c561881721e8cef9 SHA256 6d20691999a3a6af6782a711abee6aee52fd4aa9a5f0ab885a871528c9138787
 
AUX unrealircd-system-tre.patch 3289 RMD160 784c62c2a5a0c0f6801e8acd94b1db751c10558d SHA1 6d3e6a204b94148db05a9b82b6100cab0a2776d5 SHA256 bfdf0893cddb809aa19b37ad541957cadc4bf1a9b0b8610c1a577508f2055288
 
AUX unrealircd.confd 499 RMD160 666439c6e992d3314f8694ba58e8f3e018421f1c SHA1 5cb49d7e9a79c7f8e0b2182dff47811a2f3fb885 SHA256 ae6ce779fae68c1380a7d37950c5ef3b695e434bb435dcdc0f6d3d2282f72582
 
AUX unrealircd.rc 640 RMD160 186125558866976380eddae397aba4534a088732 SHA1 815d6950ddb79ca86fa8c887a4386ae9ddd58abe SHA256 a1ac6330e573dc5429153de98c9a8619a92d7ae3502a06e47f392dcaf90f2b07
 
DIST Unreal3.2.7.tar.gz 2801622 RMD160 49e00dbe4fdda672b20be16ceb116971f514d62b SHA1 a6c83c186008c429bc5a476fc0b9e3b174092efb SHA256 f80078da5e9efa1487ab22957aeb295f94c2d4efd144f825f1efc5ee8df72d46
 
EBUILD unrealircd-3.2.7-r2.ebuild 4475 RMD160 3b16c41b85a98f577a0c82b595c2ebbbddaafd52 SHA1 1e3217cabd4221bebbc753faf234277d121f2e6b SHA256 e7459592fb18acb79d10e0f79820b1c8c66222f6456bc799c6f67273289f02ad
 
MISC ChangeLog 10068 RMD160 2f4488a9457a3f3fcc53746e1efb1194b08ec776 SHA1 a4b6da530222840174b3500856b1b3da91c482e8 SHA256 cd1df736f0ca3facec726b324385e10103090d12fe7a6ad571c21a1f7d45ae4a
 
MISC metadata.xml 376 RMD160 62b344feca2e09d554426e39e91a36e48e6c255e SHA1 42a9ba4afb8b8d3d13c7babc13a5a66f0a41d395 SHA256 d5fe303d93d8469ffe66e09541b913847cd5a8964eb90f205898359827d4a048
net-irc/unrealircd/files/unrealircd-system-cares.patch
Show inline comments
 
new file 100644
 
diff -u /var/tmp/portage/net-irc/unrealircd-3.2.7-r2/work/Unreal3.2.7/configure.in /tmp/buffer-content-12842m3P
 
--- /autoconf/configure.in	2009-01-14 22:57:09.000000000 -0500
 
+++ /tmp/buffer-content-12842m3P	2009-01-14 23:04:01.000000000 -0500
 
@@ -461,35 +461,40 @@
 
 dnl cd $cur_dir
 
 PKG_CHECK_MODULES([TRE], tre)
 
 
 
-dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE!
 
-cares_version="1.4.0"
 
-AC_MSG_RESULT(extracting c-ares resolver library)
 
-cur_dir=`pwd`
 
-cd extras
 
-dnl remove old c-ares directory to force a recompile...
 
-rm -rf c-ares-$cares_version
 
-if test "x$ac_cv_path_GUNZIP" = "x" ; then
 
-	tar xfz c-ares.tar.gz
 
-else
 
-	cp c-ares.tar.gz c-ares.tar.gz.bak
 
-	gunzip -f c-ares.tar.gz
 
-	cp c-ares.tar.gz.bak c-ares.tar.gz
 
-	tar xf c-ares.tar
 
-fi
 
-AC_MSG_RESULT(configuring c-ares library)
 
-cd c-ares-$cares_version
 
-./configure --prefix=$cur_dir/extras/c-ares || exit 1
 
-AC_MSG_RESULT(compiling c-ares resolver library)
 
-$ac_cv_prog_MAKER || exit 1
 
-AC_MSG_RESULT(installing c-ares resolver library)
 
-$ac_cv_prog_MAKER install || exit 1
 
-CARESINCDIR="$cur_dir/extras/c-ares/include"
 
-AC_SUBST(CARESINCDIR)
 
-CARESLIBDIR="-L../extras/c-ares/lib"
 
+dnl dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE!
 
+dnl cares_version="1.4.0"
 
+dnl AC_MSG_RESULT(extracting c-ares resolver library)
 
+dnl cur_dir=`pwd`
 
+dnl cd extras
 
+dnl dnl remove old c-ares directory to force a recompile...
 
+dnl rm -rf c-ares-$cares_version
 
+dnl if test "x$ac_cv_path_GUNZIP" = "x" ; then
 
+dnl 	tar xfz c-ares.tar.gz
 
+dnl else
 
+dnl 	cp c-ares.tar.gz c-ares.tar.gz.bak
 
+dnl 	gunzip -f c-ares.tar.gz
 
+dnl 	cp c-ares.tar.gz.bak c-ares.tar.gz
 
+dnl 	tar xf c-ares.tar
 
+dnl fi
 
+dnl AC_MSG_RESULT(configuring c-ares library)
 
+dnl cd c-ares-$cares_version
 
+dnl ./configure --prefix=$cur_dir/extras/c-ares || exit 1
 
+dnl AC_MSG_RESULT(compiling c-ares resolver library)
 
+dnl $ac_cv_prog_MAKER || exit 1
 
+dnl AC_MSG_RESULT(installing c-ares resolver library)
 
+dnl $ac_cv_prog_MAKER install || exit 1
 
+dnl CARESINCDIR="$cur_dir/extras/c-ares/include"
 
+dnl AC_SUBST(CARESINCDIR)
 
+dnl CARESLIBDIR="-L../extras/c-ares/lib"
 
+dnl AC_SUBST(CARESLIBDIR)
 
+dnl CARESLIBS="-lcares"
 
+dnl AC_SUBST(CARESLIBS)
 
+dnl cd $cur_dir
 
+CARESLIBDIR=""
 
 AC_SUBST(CARESLIBDIR)
 
 CARESLIBS="-lcares"
 
 AC_SUBST(CARESLIBS)
 
-cd $cur_dir
 
+
 
 
 
 
 
 AC_OUTPUT(Makefile src/modules/Makefile unreal ircdcron/ircdchk)
 

	
 
diff -u /var/tmp/portage/net-irc/unrealircd-3.2.7-r2/work/Unreal3.2.7/Makefile.in /tmp/buffer-content-12842zBW
 
--- /Makefile.in	2009-01-14 22:57:09.000000000 -0500
 
+++ /tmp/buffer-content-12842zBW	2009-01-14 23:04:34.000000000 -0500
 
@@ -38,7 +38,7 @@
 
 CRYPTOLIB=@CRYPTOLIB@
 
 OPENSSLINCLUDES=
 
 
 
-XCFLAGS=@TRE_CFLAGS@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@
 
+XCFLAGS=@TRE_CFLAGS@ @CARESLIBDIR@ @CFLAGS@
 
 #
 
 # use the following on MIPS:
 
 #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR)
 

	
net-irc/unrealircd/files/unrealircd-system-tre.patch
Show inline comments
 
new file 100644
 
diff -u /var/tmp/portage/net-irc/unrealircd-3.2.7-r2/work/Unreal3.2.7/autoconf/configure.in /tmp/buffer-content-12842aZ0
 
--- /autoconf/configure.in	2007-06-11 20:06:33.000000000 -0400
 
+++ /tmp/buffer-content-12842aZ0	2009-01-14 17:06:18.000000000 -0500
 
@@ -53,6 +53,9 @@
 
 AC_SUBST(IRCDLIBS)
 
 AC_SUBST(MKPASSWDLIBS)
 
 
 
+dnl for getting info about TRE
 
+PKG_PROG_PKG_CONFIG(0.17)
 
+
 
 dnl module checking based on Hyb7's module checking code
 
 AC_DEFUN([AC_ENABLE_DYN],
 
 [
 
@@ -425,38 +428,38 @@
 
 ;;
 
 esac
 
 
 
-dnl REMEMBER TO CHANGE WITH A NEW TRE RELEASE!
 
-tre_version="0.7.5"
 
-AC_MSG_RESULT(extracting TRE regex library)
 
-cur_dir=`pwd`
 
-cd extras
 
-dnl remove old tre directory to force a recompile...
 
-rm -rf tre-$tre_version
 
-if test "x$ac_cv_path_GUNZIP" = "x" ; then
 
-	tar xfz tre.tar.gz
 
-else
 
-	cp tre.tar.gz tre.tar.gz.bak
 
-	gunzip -f tre.tar.gz
 
-	cp tre.tar.gz.bak tre.tar.gz
 
-	tar xf tre.tar
 
-fi
 
-AC_MSG_RESULT(configuring TRE regex library)
 
-cd tre-$tre_version
 
-./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp || exit 1
 
-AC_MSG_RESULT(compiling TRE regex library)
 
-$ac_cv_prog_MAKER || exit 1
 
-AC_MSG_RESULT(installing TRE regex library)
 
-$ac_cv_prog_MAKER install || exit 1
 
-TREINCDIR="$cur_dir/extras/regexp/include"
 
-AC_SUBST(TREINCDIR)
 
-if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
 
-	TRELIBS="-L../extras/regexp/lib -ltre"
 
-else
 
-	TRELIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc`
 
-fi
 
-AC_SUBST(TRELIBS)
 
-cd $cur_dir
 
-
 
+dnl dnl REMEMBER TO CHANGE WITH A NEW TRE RELEASE!
 
+dnl tre_version="0.7.5"
 
+dnl AC_MSG_RESULT(extracting TRE regex library)
 
+dnl cur_dir=`pwd`
 
+dnl cd extras
 
+dnl dnl remove old tre directory to force a recompile...
 
+dnl rm -rf tre-$tre_version
 
+dnl if test "x$ac_cv_path_GUNZIP" = "x" ; then
 
+dnl	tar xfz tre.tar.gz
 
+dnl else
 
+dnl 	cp tre.tar.gz tre.tar.gz.bak
 
+dnl 	gunzip -f tre.tar.gz
 
+dnl 	cp tre.tar.gz.bak tre.tar.gz
 
+dnl 	tar xf tre.tar
 
+dnl fi
 
+dnl AC_MSG_RESULT(configuring TRE regex library)
 
+dnl cd tre-$tre_version
 
+dnl ./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp || exit 1
 
+dnl AC_MSG_RESULT(compiling TRE regex library)
 
+dnl $ac_cv_prog_MAKER || exit 1
 
+dnl AC_MSG_RESULT(installing TRE regex library)
 
+dnl $ac_cv_prog_MAKER install || exit 1
 
+dnl TREINCDIR="$cur_dir/extras/regexp/include"
 
+dnl AC_SUBST(TREINCDIR)
 
+dnl if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
 
+dnl	TRELIBS="-L../extras/regexp/lib -ltre"
 
+dnl  else
 
+dnl	TRELIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc`
 
+dnl fi
 
+dnl AC_SUBST(TRE_LIBS) AC_SUBST(TRE_CFLAGS)
 
+dnl cd $cur_dir
 
+PKG_CHECK_MODULES([TRE], tre)
 
 
 
 dnl REMEMBER TO CHANGE WITH A NEW C-ARES RELEASE!
 
 cares_version="1.4.0"
 

	
 

	
 
--- /Makefile.in	2006-06-05 19:16:34.000000000 -0400
 
+++ /tmp/buffer-content-12842MjD	2009-01-14 17:07:21.000000000 -0500
 
@@ -34,11 +34,11 @@
 
 #
 
 
 
 #XCFLAGS=-O -g -export-dynamic
 
-IRCDLIBS=@IRCDLIBS@ @TRELIBS@ @CARESLIBS@
 
+IRCDLIBS=@IRCDLIBS@ @TRE_LIBS@ @CARESLIBS@
 
 CRYPTOLIB=@CRYPTOLIB@
 
 OPENSSLINCLUDES=
 
 
 
-XCFLAGS=-I@TREINCDIR@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@
 
+XCFLAGS=@TRE_CFLAGS@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@
 
 #
 
 # use the following on MIPS:
 
 #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR)
net-irc/unrealircd/files/unrealircd.confd
Show inline comments
 
new file 100644
 
# Copyright 1999-2004 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.confd,v 1.4 2004/07/24 00:17:37 swegener Exp $
 

	
 
# user to run unrealircd as
 
UNREALIRCD_USER="unrealircd"
 

	
 
# extra options to pass to unrealircd ...
 
# useful if you want to specify conf files other
 
# than the default
 
#
 
# [-h servername]
 
# [-p portnumber]
 
# [-x loglevel]
 
# [-t] (to enable debug output)
 
UNREALIRCD_OPTS=""
net-irc/unrealircd/files/unrealircd.rc
Show inline comments
 
new file 100755
 
#!/sbin/runscript
 
# Copyright 1999-2004 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.rc,v 1.7 2004/10/09 20:36:31 swegener Exp $
 

	
 
opts="reload start stop"
 

	
 
depend() {
 
	use dns net
 
	provide ircd
 
}
 

	
 
start() {
 
	ebegin "Starting unrealircd"
 
	start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \
 
		--chuid ${UNREALIRCD_USER} -- ${UNREALIRCD_OPTS} &>/dev/null
 
	eend $?
 
}
 

	
 
stop() {
 
	ebegin "Shutting down unrealircd"
 
	killall unrealircd
 
	eend $?
 
}
 

	
 
reload() {
 
	ebegin "Re-Loading unrealircd"
 
	killall -1 unrealircd
 
	eend $?
 
}
net-irc/unrealircd/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>net-irc</herd>
 
<use>
 
	<flag name='hub'>Enable hub support</flag>
 
	<flag name='prefixaq'>Enable chanadmin and chanowner prefixes</flag>
 
	<flag name='showlistmodes'>Support displaying channel modes during
 
		compilation</flag>
 
</use>
 
</pkgmetadata>
net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.7-r2.ebuild,v 1.4 2008/08/11 21:31:36 ricmm Exp $
 

	
 
inherit eutils autotools ssl-cert versionator multilib
 

	
 
MY_P=Unreal${PV}
 

	
 
DESCRIPTION="aimed to be an advanced (not easy) IRCd"
 
HOMEPAGE="http://www.unrealircd.com/"
 
SRC_URI="http://unreal.brueggisite.de/${MY_P}.tar.gz
 
	http://www.blurryfox.com/unreal/${MY_P}.tar.gz
 
	mirror://gentoo/${MY_P}.tar.gz"
 

	
 
SLOT="0"
 
LICENSE="GPL-2"
 
KEYWORDS="~amd64 ~mips ppc sparc x86 ~x86-fbsd"
 
IUSE="hub ipv6 ssl zlib curl prefixaq showlistmodes"
 

	
 
RDEPEND="ssl? ( dev-libs/openssl )
 
	zlib? ( sys-libs/zlib )
 
	curl? ( net-misc/curl )
 
	dev-libs/tre
 
	>=net-dns/c-ares-1.5.3-r1"
 
DEPEND="${RDEPEND}
 
	>=sys-apps/sed-4"
 

	
 
S="${WORKDIR}/Unreal${PV}"
 

	
 
pkg_setup() {
 
	if use curl && ( ! built_with_use net-misc/curl ares || built_with_use net-misc/curl ipv6 )
 
	then
 
		eerror "You need net-misc/curl compiled with the ares USE flag to be able to use"
 
		eerror "net-irc/unrealircd with the curl USE flag. Please note that ares support"
 
		eerror "for net-misc/curl is incompatible with the ipv6 USE flag."
 
		die "need net-misc/curl with ares support"
 
	fi
 

	
 
	enewuser unrealircd
 
}
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
#QA check against bundled pkgs:
 
	rm extras/*.gz
 

	
 
	sed -i \
 
		-e "s:ircd\.pid:/var/run/unrealircd/ircd.pid:" \
 
		-e "s:ircd\.log:/var/log/unrealircd/ircd.log:" \
 
		-e "s:debug\.log:/var/log/unrealircd/debug.log:" \
 
		-e "s:ircd\.tune:/var/lib/unrealircd/ircd.tune:" \
 
		include/config.h
 

	
 
	epatch "${FILESDIR}"/unrealircd-system-tre.patch \
 
		&& epatch "${FILESDIR}"/unrealircd-system-cares.patch || die "epatch failed"
 

	
 
	mv autoconf/configure.in ./
 
	mv autoconf/aclocal.m4 ./acinclude.m4
 
	#can't call eautoreconf because aclocal's source files aren't even in unearlircd's svn!
 
	eaclocal || die "eaclocal failed"
 
	eautoconf || die "eautoconf failed"
 
}
 

	
 
src_compile() {
 
	local myconf=""
 
	use curl     && myconf="${myconf} --enable-libcurl=/usr"
 
	use ipv6     && myconf="${myconf} --enable-inet6"
 
	use zlib     && myconf="${myconf} --enable-ziplinks"
 
	use hub      && myconf="${myconf} --enable-hub"
 
	use ssl      && myconf="${myconf} --enable-ssl"
 
	use prefixaq && myconf="${myconf} --enable-prefixaq"
 
	use showlistmodes && myconf="${myconf} --with-showlistmodes"
 

	
 
	econf \
 
		--with-listen=5 \
 
		--with-dpath="${D}"/etc/unrealircd \
 
		--with-spath=/usr/bin/unrealircd \
 
		--with-nick-history=2000 \
 
		--with-sendq=3000000 \
 
		--with-bufferpool=18 \
 
		--with-hostname=$(hostname -f) \
 
		--with-permissions=0600 \
 
		--with-fd-setsize=1024 \
 
		--enable-dynamic-linking \
 
		${myconf} \
 
		|| die "econf failed"
 

	
 
	sed -i \
 
		-e "s:${D}::" \
 
		include/setup.h \
 
		ircdcron/ircdchk
 

	
 
	emake MAKE=make IRCDDIR=/etc/unrealircd || die "emake failed"
 
}
 

	
 
src_install() {
 
	keepdir /var/{lib,log,run}/unrealircd
 

	
 
	newbin src/ircd unrealircd
 

	
 
	exeinto /usr/$(get_libdir)/unrealircd/modules
 
	doexe src/modules/*.so
 

	
 
	dodir /etc/unrealircd
 
	dosym /var/lib/unrealircd /etc/unrealircd/tmp
 

	
 
	insinto /etc/unrealircd
 
	doins {badwords.*,help,spamfilter,dccallow}.conf
 
	newins doc/example.conf unrealircd.conf
 

	
 
	insinto /etc/unrealircd/aliases
 
	doins aliases/*.conf
 
	insinto /etc/unrealircd/networks
 
	doins networks/*.network
 

	
 
	sed -i \
 
		-e s:src/modules:/usr/$(get_libdir)/unrealircd/modules: \
 
		-e s:ircd\\.log:/var/log/unrealircd/ircd.log: \
 
		"${D}"/etc/unrealircd/unrealircd.conf
 

	
 
	dodoc \
 
		Changes Donation Unreal.nfo networks/makenet \
 
		ircdcron/{ircd.cron,ircdchk} \
 
		|| die "dodoc failed"
 
	dohtml doc/*.html
 

	
 
	newinitd "${FILESDIR}"/unrealircd.rc unrealircd
 
	newconfd "${FILESDIR}"/unrealircd.confd unrealircd
 

	
 
	fperms 700 /etc/unrealircd
 
	chown -R unrealircd "${D}"/{etc,var/{lib,log,run}}/unrealircd
 
}
 

	
 
pkg_postinst() {
 
	# Move docert call from scr_install() to install_cert in pkg_postinst for
 
	# bug #201682
 
	use ssl && \
 
		if [[ ! -f "${ROOT}"/etc/unrealircd/server.cert.key ]]; then
 
			install_cert /etc/unrealircd/server.cert
 
			chown unrealircd "${ROOT}"/etc/unrealircd/server.cert.*
 
			ln -snf server.cert.key "${ROOT}"/etc/unrealircd/server.key.pem
 
		fi
 

	
 
	elog
 
	elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf"
 
	elog
 
	elog "You can find example cron scripts here:"
 
	elog "   /usr/share/doc/${PF}/ircd.cron.gz"
 
	elog "   /usr/share/doc/${PF}/ircdchk.gz"
 
	elog
 
	elog "You can also use /etc/init.d/unrealircd to start at boot"
 
	elog
 
}
0 comments (0 inline, 0 general)