Version bump #110719 by HiHinrik Örn Sigurðsson.
authorMike Frysinger <vapier@gentoo.org>
Fri, 28 Oct 2005 22:56:20 +0000 (22:56 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 28 Oct 2005 22:56:20 +0000 (22:56 +0000)
Package-Manager: portage-2.0.53_rc6

net-irc/bnc/ChangeLog
net-irc/bnc/Manifest
net-irc/bnc/bnc-2.9.4.ebuild [new file with mode: 0644]
net-irc/bnc/files/bnc-2.9.4-build.patch [new file with mode: 0644]
net-irc/bnc/files/digest-bnc-2.9.4 [new file with mode: 0644]

index c26e566c2cea5eff870d64041c7c2d66ce11e9fc..498bacbd4a04bdd93a0d3b69477b3015f669b5e2 100644 (file)
@@ -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:
index 7208678396050920be720ad4b86fc0365faaf6ca..49230d31a4e27b9405b785a75b7deca5d76b138f 100644 (file)
@@ -1,7 +1,20 @@
-MD5 ae8e64bd9eee8c8027174e01ef029362 ChangeLog 3529
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 2b5faf2e05f475d4be565cc209a7f759 ChangeLog 3711
 MD5 d1e5886d87cfe90f8ede10a68de0e6b0 bnc-2.9.3-r1.ebuild 976
 MD5 0230592900cfd7b3857cab0207d91d4b bnc-2.9.3-r2.ebuild 1064
-MD5 b2fd9f07925d7c1a3f1ed2366d0c74ba metadata.xml 221
+MD5 57079f4ae38f545e0d1bccb60972fc55 bnc-2.9.4.ebuild 1061
+MD5 2f9e8261e9af06984792f0ee03ab40c2 files/bnc-2.9.3-64bit.patch 402
+MD5 5834a42ea841a6e9834af47976af0eba files/bnc-2.9.4-build.patch 791
 MD5 a6f25e4b520bc1540a80f78bb419d53f files/digest-bnc-2.9.3-r1 59
 MD5 a6f25e4b520bc1540a80f78bb419d53f files/digest-bnc-2.9.3-r2 59
-MD5 2f9e8261e9af06984792f0ee03ab40c2 files/bnc-2.9.3-64bit.patch 402
+MD5 03b8633d6f52645050cadf01d4d6334c files/digest-bnc-2.9.4 59
+MD5 b2fd9f07925d7c1a3f1ed2366d0c74ba metadata.xml 221
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDYqymgIKl8Uu19MoRAm+cAJ9fEjjHSWSuXAnOsi2yS/F76DJfdwCcC6EE
+iVS2EqZBwjzkLfSfwCEndaw=
+=xvCk
+-----END PGP SIGNATURE-----
diff --git a/net-irc/bnc/bnc-2.9.4.ebuild b/net-irc/bnc/bnc-2.9.4.ebuild
new file mode 100644 (file)
index 0000000..82c24b6
--- /dev/null
@@ -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 (file)
index 0000000..b6fb976
--- /dev/null
@@ -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 (file)
index 0000000..64d444a
--- /dev/null
@@ -0,0 +1 @@
+MD5 190486d2346415e30f6381377e82eb3b bnc2.9.4.tar.gz 76896