summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-28 22:56:20 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-28 22:56:20 +0000
commit2c87b3042b5160e081cb16369a60efc254d06e03 (patch)
tree563d81027c284a8e56f4577e7ca1635e5abf0574 /net-irc
parentRemoved kudzu* masks since it has now been removed from the tree. (diff)
downloadgentoo-2-2c87b3042b5160e081cb16369a60efc254d06e03.tar.gz
gentoo-2-2c87b3042b5160e081cb16369a60efc254d06e03.tar.bz2
gentoo-2-2c87b3042b5160e081cb16369a60efc254d06e03.zip
Version bump #110719 by HiHinrik Örn Sigurðsson.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/bnc/ChangeLog10
-rw-r--r--net-irc/bnc/bnc-2.9.4.ebuild43
-rw-r--r--net-irc/bnc/files/bnc-2.9.4-build.patch33
-rw-r--r--net-irc/bnc/files/digest-bnc-2.9.41
4 files changed, 85 insertions, 2 deletions
diff --git a/net-irc/bnc/ChangeLog b/net-irc/bnc/ChangeLog
index c26e566c2cea..498bacbd4a04 100644
--- a/net-irc/bnc/ChangeLog
+++ b/net-irc/bnc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/bnc
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/bnc/ChangeLog,v 1.25 2005/10/08 12:11:50 blubb Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bnc/ChangeLog,v 1.26 2005/10/28 22:56:20 vapier Exp $
+
+*bnc-2.9.4 (28 Oct 2005)
+
+ 28 Oct 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/bnc-2.9.4-build.patch, +bnc-2.9.4.ebuild:
+ Version bump #110719 by HiHinrik Örn Sigurðsson.
08 Oct 2005; Simon Stelling <blubb@gentoo.org>
+files/bnc-2.9.3-64bit.patch, bnc-2.9.3-r2.ebuild:
diff --git a/net-irc/bnc/bnc-2.9.4.ebuild b/net-irc/bnc/bnc-2.9.4.ebuild
new file mode 100644
index 000000000000..82c24b65e2a1
--- /dev/null
+++ b/net-irc/bnc/bnc-2.9.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bnc/bnc-2.9.4.ebuild,v 1.1 2005/10/28 22:56:20 vapier Exp $
+
+inherit eutils
+
+MY_P=${P/-/}
+DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server"
+HOMEPAGE="http://gotbnc.com/"
+SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86"
+IUSE="ssl"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup || die
+ epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${PN}-2.9.3-64bit.patch
+}
+
+src_compile() {
+ econf $(use_with ssl) || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ mv "${D}"/usr/bin/{,bnc}mkpasswd || die
+ dodoc Changelog README example.conf motd
+}
+
+pkg_postinst() {
+ einfo "You can find an example motd/conf file here:"
+ einfo " /usr/share/doc/${PF}/{example.conf,motd}.gz"
+}
diff --git a/net-irc/bnc/files/bnc-2.9.4-build.patch b/net-irc/bnc/files/bnc-2.9.4-build.patch
new file mode 100644
index 000000000000..b6fb97623729
--- /dev/null
+++ b/net-irc/bnc/files/bnc-2.9.4-build.patch
@@ -0,0 +1,33 @@
+--- Makefile.in
++++ Makefile.in
+@@ -1,8 +1,17 @@
+ LIBS=@LIBS@
+-CFLAGS=-O3 -Wall -include config.h
++CFLAGS=@CFLAGS@ -Wall -include config.h
+ CC=@CC@
++
++DESTDIR =
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++bindir = @bindir@
+
+-ALL: bnc mkpasswd
++all ALL: bnc mkpasswd
++
++install: bnc mkpasswd
++ install -m 755 -d $(DESTDIR)$(bindir)
++ install -m 755 bnc mkpasswd bncchk bncsetup $(DESTDIR)$(bindir)
+
+ mkpasswd:mkpasswd.c
+ ${CC} ${CFLAGS} -o mkpasswd mkpasswd.c ${LIBS}
+--- configure.in
++++ configure.in
+@@ -35,7 +35,7 @@
+ dnl Check for SSL support.
+ AC_MSG_CHECKING(whether to enable SSL support)
+ AC_ARG_WITH(ssl,
+-[ -with-ssl Enable SSL support],
++[ --with-ssl Enable SSL support],
+ [ case "$withval" in
+ yes)
+ AC_MSG_RESULT(yes)
diff --git a/net-irc/bnc/files/digest-bnc-2.9.4 b/net-irc/bnc/files/digest-bnc-2.9.4
new file mode 100644
index 000000000000..64d444ae0048
--- /dev/null
+++ b/net-irc/bnc/files/digest-bnc-2.9.4
@@ -0,0 +1 @@
+MD5 190486d2346415e30f6381377e82eb3b bnc2.9.4.tar.gz 76896