summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-11-05 11:37:38 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-11-05 11:37:38 +0000
commit368b025264a974447ea1f09afbbb21d8b248ff59 (patch)
tree41e7da3efb339a14aa566f6c937721b23f9b16fa /net-irc/inspircd
parentx86 stable wrt bug #343985 (diff)
downloadhistorical-368b025264a974447ea1f09afbbb21d8b248ff59.tar.gz
historical-368b025264a974447ea1f09afbbb21d8b248ff59.tar.bz2
historical-368b025264a974447ea1f09afbbb21d8b248ff59.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'net-irc/inspircd')
-rw-r--r--net-irc/inspircd/ChangeLog8
-rw-r--r--net-irc/inspircd/Manifest14
-rw-r--r--net-irc/inspircd/inspircd-1.2.8.ebuild130
3 files changed, 150 insertions, 2 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog
index 27bce36819ec..ae38da018e3e 100644
--- a/net-irc/inspircd/ChangeLog
+++ b/net-irc/inspircd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/inspircd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.30 2010/06/17 22:02:18 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.31 2010/11/05 11:37:38 fauli Exp $
+
+*inspircd-1.2.8 (05 Nov 2010)
+
+ 05 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
+ +inspircd-1.2.8.ebuild:
+ version bump
17 Jun 2010; Patrick Lauer <patrick@gentoo.org> inspircd-1.1.19.ebuild:
Migrating away from deprecated postgres virtuals
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
index a96943c39e9c..a4c00d9d1d10 100644
--- a/net-irc/inspircd/Manifest
+++ b/net-irc/inspircd/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX init.d_inspircd 835 RMD160 df90290dbbf1aba7e9b24cc8467798b20c571899 SHA1 83d5e24da808993f264481945c2c37911853b6d4 SHA256 9342982271398f3572305b8bd83007d9f0aab3ee374c19044153dd5b16cf5780
AUX inspircd-1.1.19-build.patch 263 RMD160 d00a39fef209b8cc0ea3f40704996600fa907e25 SHA1 16a3ac599e28f17b94593e945d9ff38b69620366 SHA256 e89742ed8347720b8b272a1e3d7d5e7a28441c8e0eb1f1d76473615aa31344a9
DIST InspIRCd-1.1.19.tar.bz2 505193 RMD160 c1f6230286c28c889060b961ea272f306eab8170 SHA1 d5ba49126585efc91d9c5021c76d56b067d3cc8e SHA256 4e1394749096e92ac976160c8d82a2017e718d5edd0a86f6049b3d473023c64e
DIST InspIRCd-1.1.23.tar.bz2 505853 RMD160 122ae3c269af0af3f8362f17eae29767d6c314d4 SHA1 0def2426fa60cb32a2514e64196c04f37fa67e5e SHA256 8ad4fcee9d78e77df98e8ecd4f57bc86f4c0c3c8893588f6da20c5d7ca049203
+DIST InspIRCd-1.2.8.tar.bz2 637194 RMD160 e2581b194419add2fe2918263a6d1d545cf8a4d0 SHA1 201d83459eddc899143b10c768378059c2669ae1 SHA256 fa856ddb6d7ab2b4dc6aa6b0f58bbb2360823ce296d4e9dd0f18d630d8c7cee5
EBUILD inspircd-1.1.19.ebuild 3233 RMD160 a3520d76e757fd117bbb6a4218cfb57d191cce18 SHA1 53c6f6a440d5161d44516917e71fc6943f5b1525 SHA256 5b96e3fa9f1b8ff22c5d75b5c7b5209b280a0193dee0e48863567a50ba08abcf
EBUILD inspircd-1.1.23.ebuild 3190 RMD160 b864969468725a8a154835cc06dbedc1944c61e5 SHA1 84440a6b6a8b94d8633ad8d9920a7479addc7e0a SHA256 da91b7394c56c7434f420278e44d83809b403b2db499b4b58e2db62252ee07f0
-MISC ChangeLog 5631 RMD160 6b33527e3c83afa32de8302c4b4df982cdaf2bcb SHA1 b7166a5b27f6ce80503eb200750d8fae34a4b686 SHA256 e0b3aa5eba7da29f642db71aa18abf9d94c63dcc12593ad0f85a33dec9db53b1
+EBUILD inspircd-1.2.8.ebuild 3372 RMD160 5e8990db69b8b551d407dbd9478c062bb4b76392 SHA1 7f505703a670b3c95fac04741156e1451f6353cf SHA256 329d7b7f3abecb6b6e58019d4b2d55c6995f5082b7f00b5e2be65d3695018b7a
+MISC ChangeLog 5757 RMD160 1f863766cd27b6ae97b9b6f6da4013fed1936aa4 SHA1 80e5d3ff949088fae52dad70531e687abd2e472e SHA256 60093ef69c08700018a40e19611e57909bfbc502ea3b8c73cdedecfde2225403
MISC metadata.xml 566 RMD160 acf38b66074b87645c0128316e73f3fad3cc7abe SHA1 1dd1807bb553426c6044c749b1e9beb9a3196981 SHA256 3ccdf8fde306ec9f8e0ad240be4fab1f017116f3e6675fd1a978974b17e6bcaf
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzT7J0ACgkQNQqtfCuFneOuCACdFbwF2f8fCZ3My4961xoU97ZR
+rcgAnjA/SkXiZr8M03fl2BWCIh2EjNeX
+=ZSGR
+-----END PGP SIGNATURE-----
diff --git a/net-irc/inspircd/inspircd-1.2.8.ebuild b/net-irc/inspircd/inspircd-1.2.8.ebuild
new file mode 100644
index 000000000000..e04acc39bcbe
--- /dev/null
+++ b/net-irc/inspircd/inspircd-1.2.8.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-1.2.8.ebuild,v 1.1 2010/11/05 11:37:38 fauli Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="InspIRCd - The Modular C++ IRC Daemon"
+HOMEPAGE="http://www.inspircd.org/"
+SRC_URI="http://www.inspircd.org/downloads/InspIRCd-${PV}.tar.bz2
+ mirror://sourceforge/${PN}/InspIRCd-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="openssl gnutls ipv6 mysql postgres sqlite zlib ldap"
+
+RDEPEND="
+ dev-lang/perl
+ openssl? ( dev-libs/openssl )
+ gnutls? ( net-libs/gnutls )
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-server )
+ sqlite? ( >=dev-db/sqlite-3.0 )
+ ldap? ( net-nds/openldap )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/inspircd"
+
+src_prepare() {
+ local SQL=0
+ cd src/modules || die
+
+ if use zlib ; then
+ cp extra/m_ziplink.cpp . || die
+ fi
+
+ if use openssl ; then
+ cp extra/m_ssl_openssl.cpp . || die
+ fi
+
+ if use gnutls ; then
+ cp extra/m_ssl_gnutls.cpp . || die
+ fi
+
+ if use ldap ; then
+ cp extra/m_ldapauth.cpp . || die
+ fi
+
+ if use mysql ; then
+ SQL=1
+ cp extra/m_mysql.cpp . || die
+ fi
+ if use postgres ; then
+ SQL=1
+ cp extra/m_pgsql.cpp . || die
+ fi
+ if use sqlite ; then
+ SQL=1
+ cp extra/m_sqlite3.cpp . || die
+ fi
+ if [ ${SQL} -eq 1 ] ; then
+ cp extra/m_sql{auth.cpp,log.cpp,oper.cpp,utils.cpp,utils.h,v2.h} . || die
+ fi
+}
+
+src_configure() {
+ # ./configure doesn't know --disable-gnutls, -ipv6 and -openssl options,
+ # so should be used only --enable-like.
+ local myconf=""
+ use gnutls && myconf="--enable-gnutls"
+ use ipv6 && myconf="${myconf} --enable-ipv6 --enable-remote-ipv6"
+ use openssl && myconf="${myconf} --enable-openssl"
+
+ # allow inspircd to be built by root
+ touch .force-root-ok || die
+
+ ./configure ${myconf} \
+ --enable-epoll \
+ --prefix="/usr/$(get_libdir)/inspircd" \
+ --config-dir="/etc/inspircd" \
+ --binary-dir="/usr/bin" \
+ --library-dir="/usr/$(get_libdir)/inspircd" \
+ --module-dir="/usr/$(get_libdir)/inspircd/modules" \
+ || die "configure failed"
+ ./configure -modupdate || die "modupdate failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" || die "emake failed"
+}
+
+src_install() {
+ # the inspircd buildsystem does not create these, its configure script
+ # does. so, we have to make sure they are there.
+ dodir /usr/$(get_libdir)/inspircd || die
+ dodir /usr/$(get_libdir)/inspircd/modules || die
+ dodir /etc/inspircd || die
+ dodir /var/log/inspircd || die
+ dodir /usr/include/inspircd || die
+
+ emake install \
+ LIBPATH="${D}/usr/$(get_libdir)/inspircd/" \
+ MODPATH="${D}/usr/$(get_libdir)/inspircd/modules/" \
+ CONPATH="${D}/etc/inspircd" \
+ BINPATH="${D}/usr/bin" \
+ BASE="${D}/usr/$(get_libdir)/inspircd/inspircd.launcher" || die
+
+ insinto /usr/include/inspircd/
+ doins include/* || die
+
+ newinitd "${FILESDIR}"/init.d_inspircd inspircd || die
+
+ keepdir "/var/log/inspircd/"
+}
+
+pkg_postinst() {
+ enewgroup inspircd
+ enewuser inspircd -1 -1 -1 inspircd
+ chown -R inspircd:inspircd "${ROOT}"/etc/inspircd
+ chmod 700 "${ROOT}"/etc/inspircd
+
+ chmod 750 "${ROOT}"/var/log/inspircd
+ chown -R inspircd:inspircd "${ROOT}"/var/log/inspircd
+
+ chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/inspircd
+ chmod -R 755 "${ROOT}"/usr/$(get_libdir)/inspircd
+
+ chmod -R 755 "${ROOT}"/usr/bin/inspircd
+}