--- /dev/null
+# ChangeLog for net-irc/znc
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/ChangeLog,v 1.1 2007/04/20 10:09:31 armin76 Exp $
+
+*znc-0.047 (20 Apr 2007)
+
+ 20 Apr 2007; Raúl Porcel <armin76@gentoo.org> +metadata.xml,
+ +znc-0.047.ebuild:
+ Initial import, initial ebuild by Uli Schlachter <tobespammed at web dot de>
+ bug 175212
+
--- /dev/null
+DIST znc-0.047.tar.gz 414605 RMD160 43476e1d6ef049c913efafd40a1401bcbeab0686 SHA1 2cbfc142e9468c48965a5587f94a268a491af731 SHA256 94cdb00d9f7f87f119efbd6737c7ead1b0bd42fd4cbb3f5b3513e7b868e327d9
+EBUILD znc-0.047.ebuild 1157 RMD160 c5c7a9cab5539e5b740badaef4bfedef7ec4569d SHA1 d83439beaf7770da54c0d7cd0ea99710ef8f5ed7 SHA256 c7d4853dc3e3ae39f43f098a7defbdb7d560a240258cc91dcfb2e6d65c358dbe
+MD5 81c2bd9f05224e07b64b38f380962216 znc-0.047.ebuild 1157
+RMD160 c5c7a9cab5539e5b740badaef4bfedef7ec4569d znc-0.047.ebuild 1157
+SHA256 c7d4853dc3e3ae39f43f098a7defbdb7d560a240258cc91dcfb2e6d65c358dbe znc-0.047.ebuild 1157
+MISC ChangeLog 400 RMD160 6062a0ce49ce6ec812d64f35eb1a14ba321256b7 SHA1 e1e167777c995a44c9c743b6a895dba3f0a28faf SHA256 4d3e228e165a7a88046887973f83eaf402cfd99672fc026989183f5d07738f48
+MD5 23fa2ae9a34af85b9236bc2817d94950 ChangeLog 400
+RMD160 6062a0ce49ce6ec812d64f35eb1a14ba321256b7 ChangeLog 400
+SHA256 4d3e228e165a7a88046887973f83eaf402cfd99672fc026989183f5d07738f48 ChangeLog 400
+MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
+MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
+RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
+SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata.xml 160
+MD5 e500a5643b000435bf83136dac2febf8 files/digest-znc-0.047 229
+RMD160 bf5bb9848ee2a51fce3e6aa2a59cb68c8c0d830b files/digest-znc-0.047 229
+SHA256 bcce26b684f50a85b3d100f1169c6a507aba28d594c4aaefb26e4561e2417ec0 files/digest-znc-0.047 229
--- /dev/null
+MD5 230e68947e1fea605de0fa21de10530f znc-0.047.tar.gz 414605
+RMD160 43476e1d6ef049c913efafd40a1401bcbeab0686 znc-0.047.tar.gz 414605
+SHA256 94cdb00d9f7f87f119efbd6737c7ead1b0bd42fd4cbb3f5b3513e7b868e327d9 znc-0.047.tar.gz 414605
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-irc</herd>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/znc/znc-0.047.ebuild,v 1.1 2007/04/20 10:09:31 armin76 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="debug ipv6 nomodules perl ssl"
+
+DEPEND="ssl? ( >=dev-libs/openssl-0.9.7d )
+ perl? ( dev-lang/perl )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable ipv6) \
+ $(use_enable !nomodules modules) \
+ $(use_enable perl) \
+ $(use_enable ssl openssl) \
+ || die "econf failed"
+
+ # Remove -s from CXXFLAGS as emerge handles stripping
+ sed -e 's/ -s / /' -i Makefile modules/Makefile || die "sed failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed."
+ dohtml docs/*.html || die "dohtml failed"
+ dodoc AUTHORS znc.conf || 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
+}