summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2010-01-19 14:23:53 +0000
committerDawid Węgliński <cla@gentoo.org>2010-01-19 14:23:53 +0000
commit8298ff0debd54f23c21c80fc017b029499163b30 (patch)
treedf2b269475e57bc071e2f5cc897663df9ab4ff50 /net-irc/znc
parentVersion bump (diff)
downloadgentoo-2-8298ff0debd54f23c21c80fc017b029499163b30.tar.gz
gentoo-2-8298ff0debd54f23c21c80fc017b029499163b30.tar.bz2
gentoo-2-8298ff0debd54f23c21c80fc017b029499163b30.zip
Version bump, add extras useflag for extra modules set to be build
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/znc')
-rw-r--r--net-irc/znc/ChangeLog10
-rw-r--r--net-irc/znc/metadata.xml1
-rw-r--r--net-irc/znc/znc-0.078.ebuild46
3 files changed, 55 insertions, 2 deletions
diff --git a/net-irc/znc/ChangeLog b/net-irc/znc/ChangeLog
index a396b91abc5d..38e0d512e064 100644
--- a/net-irc/znc/ChangeLog
+++ b/net-irc/znc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/znc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.27 2009/12/28 20:35:44 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.28 2010/01/19 14:23:53 cla Exp $
+
+*znc-0.078 (19 Jan 2010)
+
+ 19 Jan 2010; Dawid Węgliński <cla@gentoo.org> +znc-0.078.ebuild,
+ metadata.xml:
+ Version bump, add extras useflag for extra modules set to be build
28 Dec 2009; Raúl Porcel <armin76@gentoo.org> znc-0.066.ebuild,
znc-0.074.ebuild, znc-0.076.ebuild:
diff --git a/net-irc/znc/metadata.xml b/net-irc/znc/metadata.xml
index c17924a6ef30..d7c0b7b7cb60 100644
--- a/net-irc/znc/metadata.xml
+++ b/net-irc/znc/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>net-irc</herd>
<use>
+ <flag name="extras">Enable some additional modules</flag>
<flag name="nomodules">Don't build modules</flag>
<flag name="ares">Enables support for asynchronous DNS using the c-ares library</flag>
</use>
diff --git a/net-irc/znc/znc-0.078.ebuild b/net-irc/znc/znc-0.078.ebuild
new file mode 100644
index 000000000000..ba5afc9283af
--- /dev/null
+++ b/net-irc/znc/znc-0.078.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-0.078.ebuild,v 1.1 2010/01/19 14:23:53 cla Exp $
+
+DESCRIPTION="An advanced IRC Bouncer"
+HOMEPAGE="http://znc.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ares debug extras ipv6 nomodules perl ssl sasl"
+
+DEPEND="ssl? ( >=dev-libs/openssl-0.9.7d )
+ perl? ( dev-lang/perl )
+ sasl? ( >=dev-libs/cyrus-sasl-2 )
+ ares? ( net-dns/c-ares )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable extras extra) \
+ $(use_enable ipv6) \
+ $(use_enable !nomodules modules) \
+ $(use_enable perl) \
+ $(use_enable ssl openssl) \
+ $(use_enable sasl) \
+ $(use_enable ares c-ares) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed."
+ dodoc AUTHORS || die "dodoc failed"
+}
+
+pkg_postinst() {
+ elog
+ elog "Run 'znc --makeconf' as the user you want to run ZNC as"
+ elog "to make a configuration file"
+ elog "If you are using SSL you should also run 'znc --makepem'"
+ elog
+}