]> Pileus Git - ~andy/sunrise/commitdiff
net-irc/bip: version bump, added vim-syntax USE flag
authorAli Polatel <hawking@gentoo.org>
Wed, 25 Apr 2007 05:33:29 +0000 (05:33 +0000)
committerAli Polatel <hawking@gentoo.org>
Wed, 25 Apr 2007 05:33:29 +0000 (05:33 +0000)
svn path=/sunrise/; revision=3518

net-irc/bip/ChangeLog
net-irc/bip/Manifest
net-irc/bip/bip-0.5.3.ebuild [deleted file]
net-irc/bip/bip-0.6.0.ebuild [new file with mode: 0644]
net-irc/bip/files/bip.vim [new file with mode: 0644]

index 950f1a7ab174750fc13b95fc7f589c0868fc2417..7cf410c2b85bff60efc8fe8b974329136a3ce21a 100644 (file)
@@ -2,6 +2,10 @@
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  25 Apr 2007; Ali Polatel (hawking) <polatel@gmail.com> -bip-0.5.3.ebuild,
+  +bip-0.6.0.ebuild, +files/bip.vim:
+  version bump, added vim-syntax USE flag
+
   18 Oct 2006; Markus Ullmann <jokey@gentoo.org> ChangeLog:
   Initial commit for bug #116414 thanks to chris@protonlab.net for providing
   the ebuild
index c79105c945829d17acab51299f34916245ec8dc6..b23e931db354e96e7e786454c3ddf1f3390bd174 100644 (file)
@@ -1,4 +1,5 @@
-DIST bip-0.5.3.tar.bz2 130089 RMD160 d45c6ec43b73e26fb7d74abf78570bee1a13c2bf SHA1 60d4e64dafb67146dd6cfd50328f6ca3180d614b SHA256 ad58abc810c1cedd51333d4d1a2195d4c41be7077da7f9a42f66bf91d74e3a31
-EBUILD bip-0.5.3.ebuild 1057 RMD160 49a31e5fc08184788c71c5badd4106367457c6f1 SHA1 9c8ff3262db06a00536f179cc929bd9e42fcb5ab SHA256 7048b6dbfbccaef37ec66d636dd12adf7f2d21b3a2a09f678809f7b103a74304
-MISC ChangeLog 263 RMD160 a919bbfed4181b375ce76bb9e7b05c6579ba26c7 SHA1 797c784353c3497a792e88baf311ef7c6b1ae4f1 SHA256 b44fe75605b2293e46e6940ecc145ba78e2d675fdf2a57e71b0073c373a2288e
+AUX bip.vim 109 RMD160 f4d5920126d87c4b1adda73d45890a22e7a3dfaa SHA1 62ee9f9b20c9aa53ab8806132ab697ee586a6446 SHA256 a3c86edb0b251d308267f4b1fde5439974937083e32175eacbcedb72891cb4dc
+DIST bip-0.6.0.tar.bz2 145880 RMD160 80da6d8680790f9ea883d95d0419162fa99a8343 SHA1 05be942826ac7d859b02aabeadbe4536ef22054b SHA256 a8247f2235040d9821cf0cdba09a184bc8890357a8539f63ca261940ad152b8d
+EBUILD bip-0.6.0.ebuild 1363 RMD160 473e8e2dc91cefe9c2de01fb51b3ac8ee1984246 SHA1 9b8bd9a40ff1fbdb0cd36d4a0b312c26bcb9d4c6 SHA256 08d55980e8f1e6381ae7075edcce4b1e043e55bda0f283d22f6642c577ef074f
+MISC ChangeLog 419 RMD160 4e1ad22d9276e6f53f2b008a74c4d43a096834b4 SHA1 6db54119785ae08a1f7d70b11fa48d3cc919f004 SHA256 3ad68eae363df16d2071f03ead1c5f87ddec166560dd27652fb5cfa70633a7a8
 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-irc/bip/bip-0.5.3.ebuild b/net-irc/bip/bip-0.5.3.ebuild
deleted file mode 100644 (file)
index e966ea4..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit autotools
-
-DESCRIPTION="Multiuser IRC proxy with ssl support"
-SRC_URI="mirror://berlios/bip/${P}.tar.bz2"
-HOMEPAGE="http://bip.berlios.de/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-IUSE="ssl"
-
-DEPEND="ssl? ( dev-libs/openssl )"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       # Respect CFLAGS
-       sed -i -e "s/CFLAGS=\"-O2 -W -Wall\"/CFLAGS=\"${CFLAGS}\"/g" \
-               configure.in || die "sed failed"
-
-       eautoreconf
-}
-
-src_compile() {
-       local myconf=""
-       use ssl || myconf="--disable-ssl"
-
-       econf ${myconf} || die "econf failed"
-       emake || die "emake failed"
-}
-
-src_install() {
-       dobin src/bip src/bipmkpw || "dobin failed"
-       insinto "/usr/share/${PN}"
-       doins samples/bip.conf
-
-       dodoc AUTHORS ChangeLog README NEWS TODO
-       doman bip.1 bip.conf.1 bipmkpw.1
-}
-
-pkg_postinst() {
-       elog
-       elog "Copy the /usr/share/${PN}/bip.conf file to ~/.bip/bip.conf"
-       elog "and modify it according to your needs"
-       elog
-}
diff --git a/net-irc/bip/bip-0.6.0.ebuild b/net-irc/bip/bip-0.6.0.ebuild
new file mode 100644 (file)
index 0000000..7776cf0
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Multiuser IRC proxy with ssl support"
+HOMEPAGE="http://bip.berlios.de/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ssl vim-syntax"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}
+       vim-syntax? ( || ( app-editors/vim
+       app-editors/gvim ) )"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # Fix bip.vim
+       if use vim-syntax; then
+               sed -i \
+                       -e 's/^\(no_client_away_msg\)/\t\\ \1/' \
+                       -e 's/always_backlog/backlog_always/' \
+                       -e 's/bl_msg_only/backlog_msg_only/' \
+                       samples/bip.vim || die "sed failed"
+       fi
+}
+
+src_compile() {
+       econf $(use_enable oidentd) \
+               $(use_enable ssl) || die "econf failed"
+       emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+       dobin src/bip src/bipmkpw
+
+       dodoc AUTHORS ChangeLog README README.floodcontrol NEWS TODO
+       newdoc samples/bip.conf bip.conf.sample
+       doman bip.1 bip.conf.1 bipmkpw.1
+
+       if use vim-syntax; then
+               insinto /usr/share/vim/vimfiles/syntax
+               doins samples/bip.vim
+               insinto /usr/share/vim/vimfiles/ftdetect
+               doins "${FILESDIR}"/bip.vim
+       fi
+}
+
+pkg_postinst() {
+       elog 'Default configuration file is "~/.bip/bip.conf"'
+       elog "You can find a sample configuration file in"
+       elog "/usr/share/doc/${PF}/bip.conf.sample"
+}
diff --git a/net-irc/bip/files/bip.vim b/net-irc/bip/files/bip.vim
new file mode 100644 (file)
index 0000000..b99ad1b
--- /dev/null
@@ -0,0 +1,5 @@
+" Vim filetype detection file for bip config files
+"
+" $Id$
+
+au BufNewFile,BufRead bip.conf set filetype=bip