summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2006-10-22 19:34:56 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2006-10-22 19:34:56 +0000
commit7273964ed9ff163c3f36fe7cb4dbf70a442d6fa0 (patch)
tree8c365fdecf1218981aa99ba9a3b0f1bfaf3908fd /net-irc/inspircd
parentpackage.use.mask files for jdks/jres because not all of them support the nspl... (diff)
downloadhistorical-7273964ed9ff163c3f36fe7cb4dbf70a442d6fa0.tar.gz
historical-7273964ed9ff163c3f36fe7cb4dbf70a442d6fa0.tar.bz2
historical-7273964ed9ff163c3f36fe7cb4dbf70a442d6fa0.zip
InspIRCd 1.0.7 ebuild by William Pitcock, bug 150542.
Package-Manager: portage-2.1.2_pre3-r5
Diffstat (limited to 'net-irc/inspircd')
-rw-r--r--net-irc/inspircd/ChangeLog12
-rw-r--r--net-irc/inspircd/Manifest16
-rw-r--r--net-irc/inspircd/files/digest-inspircd-1.0.73
-rw-r--r--net-irc/inspircd/inspircd-1.0.7.ebuild158
4 files changed, 184 insertions, 5 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog
index 346aca31b19f..8781b68dcab4 100644
--- a/net-irc/inspircd/ChangeLog
+++ b/net-irc/inspircd/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-irc/inspircd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.5 2006/08/25 19:23:29 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.6 2006/10/22 19:34:56 hansmi Exp $
+
+*inspircd-1.0.7 (22 Oct 2006)
+
+ 22 Oct 2006; Michael Hanselmann <hansmi@gentoo.org>
+ +inspircd-1.0.7.ebuild:
+ InspIRCd 1.0.7 ebuild by William Pitcock, bug 150542.
+ - updates to 1.0.7 release
+ - fixes improper SSL built_with_use
+ - changes USE=ssl to USE=openssl or USE=gnutls to select which SSL engine
+ modules to enable
25 Aug 2006; Michael Hanselmann <hansmi@gentoo.org> inspircd-1.0.6.ebuild:
Stable on ppc, x86. See bug #145079.
diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest
index 61e46f0ebb47..4f7030041822 100644
--- a/net-irc/inspircd/Manifest
+++ b/net-irc/inspircd/Manifest
@@ -3,14 +3,19 @@ MD5 b9b71d618e155083fa1c6839b39e6eef files/init.d_inspircd 644
RMD160 f5215e7be4ce8a8aee57a7595e0beb0747be96c0 files/init.d_inspircd 644
SHA256 730d0fd3b6b824f128758be23dd4fd192372c722284e4098bf97cd8bcfd39629 files/init.d_inspircd 644
DIST InspIRCd-1.0.6.tar.bz2 334304 RMD160 783c7351a0ad6ee609a41a50b18f404003358f89 SHA1 0acb3951cfcfa0a3b7b832c8939b1e39f7469fa7 SHA256 7f2f51c97f8fd7ac5e278a6266ffea408a0c4c25db04940b3ca59107f7b07a6d
+DIST InspIRCd-1.0.7.tar.bz2 337187 RMD160 a7387cf88f08f0e9487d25db79d88cde9e9c8283 SHA1 5c8a35b11928c6ad85d905b1bc34de096aa2cf11 SHA256 0ce029e92a0a1713de1d0665d1143295a054a8d925fa724795d709493a8b8d7f
EBUILD inspircd-1.0.6.ebuild 3531 RMD160 ff4fc269b6e56e4b80fda7ee4dfbf6b8b7533c2f SHA1 ab1150696775abb793949f0a2a1b06f43b73db40 SHA256 f5a09d04e604da1abb9339e544c9a1a9be94aadde6a7aa636a8dccea94832ea3
MD5 20ef72cb106ee97cd0cbb853dd04352f inspircd-1.0.6.ebuild 3531
RMD160 ff4fc269b6e56e4b80fda7ee4dfbf6b8b7533c2f inspircd-1.0.6.ebuild 3531
SHA256 f5a09d04e604da1abb9339e544c9a1a9be94aadde6a7aa636a8dccea94832ea3 inspircd-1.0.6.ebuild 3531
-MISC ChangeLog 799 RMD160 9a16c9ab374e4e46d758217a2cc3a758d0a406fe SHA1 5dea9dbf7fd571d882d857cccf529bf358ffde1b SHA256 e2b11d88d3f129e59f24786b1e46991ffb9c11b994e8adf0a188077a1abd16c8
-MD5 8e3b68808bc4cf7307e4c46ac6ecb8bd ChangeLog 799
-RMD160 9a16c9ab374e4e46d758217a2cc3a758d0a406fe ChangeLog 799
-SHA256 e2b11d88d3f129e59f24786b1e46991ffb9c11b994e8adf0a188077a1abd16c8 ChangeLog 799
+EBUILD inspircd-1.0.7.ebuild 4117 RMD160 b40f995923950cde68dfbbff426b94650e32859c SHA1 a364540be967c1c6d37955f8ee372501afe2c40b SHA256 c54108ca578af88a61ae0ecf59d00e038bbd1cebbfe99559d40a7923b1853cde
+MD5 b61a46c4273a0651e7e41826cb0daff8 inspircd-1.0.7.ebuild 4117
+RMD160 b40f995923950cde68dfbbff426b94650e32859c inspircd-1.0.7.ebuild 4117
+SHA256 c54108ca578af88a61ae0ecf59d00e038bbd1cebbfe99559d40a7923b1853cde inspircd-1.0.7.ebuild 4117
+MISC ChangeLog 1132 RMD160 910a412b396585132d2735c511269457e1d4f785 SHA1 c18a8d8a1a1124812637d85b0a2be23e9c59730d SHA256 5b401570d0117774d7bff71635fda0c2c3b18413f49cc1aba82949ea5f3b250e
+MD5 c2cac6ba2dbb243827b0e13bec5b70a5 ChangeLog 1132
+RMD160 910a412b396585132d2735c511269457e1d4f785 ChangeLog 1132
+SHA256 5b401570d0117774d7bff71635fda0c2c3b18413f49cc1aba82949ea5f3b250e ChangeLog 1132
MISC metadata.xml 351 RMD160 6a04fe543a2a59ca8b727f2f801d04fcef2199e8 SHA1 ced5b767dcbbcb58f5795f89be30336ed7b503ea SHA256 4a9690b4793f1693e49ee85c34a2c34efba4362d3590bf5c612c95bc24f642eb
MD5 6a06ee83b3346203820c72af04ba29cf metadata.xml 351
RMD160 6a04fe543a2a59ca8b727f2f801d04fcef2199e8 metadata.xml 351
@@ -18,3 +23,6 @@ SHA256 4a9690b4793f1693e49ee85c34a2c34efba4362d3590bf5c612c95bc24f642eb metadata
MD5 01225be3d44db351411c4e7c6b1d34ba files/digest-inspircd-1.0.6 247
RMD160 7a9e89bb05026d6912e60ec165b43602fd488efd files/digest-inspircd-1.0.6 247
SHA256 686bbf7755ab411b37db84aea061cb498c24c8583b6827742d5c91abb98ba7ba files/digest-inspircd-1.0.6 247
+MD5 4f189f3efdfeff01f4456fa8db3128dd files/digest-inspircd-1.0.7 247
+RMD160 22b0bf03b2b3937b3371b3ef377173ef6aa9e08b files/digest-inspircd-1.0.7 247
+SHA256 d03f8c939ebe8b65872994956881f6d21c6b6869ddbf1bc850fe7ead920a530c files/digest-inspircd-1.0.7 247
diff --git a/net-irc/inspircd/files/digest-inspircd-1.0.7 b/net-irc/inspircd/files/digest-inspircd-1.0.7
new file mode 100644
index 000000000000..701d53b28937
--- /dev/null
+++ b/net-irc/inspircd/files/digest-inspircd-1.0.7
@@ -0,0 +1,3 @@
+MD5 64c98e5b0724d544904100df9e699c52 InspIRCd-1.0.7.tar.bz2 337187
+RMD160 a7387cf88f08f0e9487d25db79d88cde9e9c8283 InspIRCd-1.0.7.tar.bz2 337187
+SHA256 0ce029e92a0a1713de1d0665d1143295a054a8d925fa724795d709493a8b8d7f InspIRCd-1.0.7.tar.bz2 337187
diff --git a/net-irc/inspircd/inspircd-1.0.7.ebuild b/net-irc/inspircd/inspircd-1.0.7.ebuild
new file mode 100644
index 000000000000..2b518d615a9f
--- /dev/null
+++ b/net-irc/inspircd/inspircd-1.0.7.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-1.0.7.ebuild,v 1.1 2006/10/22 19:34:56 hansmi Exp $
+
+inherit eutils toolchain-funcs multilib
+
+IUSE="openssl gnutls"
+
+DESCRIPTION="InspIRCd - The Modular C++ IRC Daemon"
+HOMEPAGE="http://www.inspircd.org"
+SRC_URI="mirror://sourceforge/${PN}/InspIRCd-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND="
+ openssl? ( >=dev-libs/openssl-0.9.7d )
+ gnutls? ( >=net-libs/gnutls-1.3.0 )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/inspircd"
+
+pkg_setup() {
+ enewgroup inspircd
+ enewuser inspircd -1 -1 -1 inspircd
+}
+
+# ============================================================
+# inspircd_use_enable ()
+#
+# If something is in our USE flags, then append it to
+# my_conf in the valid format as used by inspircd's configure
+# script.
+#
+# $1 = pkg name
+# $2 = inspircd variable
+# $3 = inspircd value if yes
+# $4 = inspircd value if no
+inspircd_use_enable() {
+ if use $1 ; then
+ echo "$2=\"$3\"" >> .config.cache
+ else
+ echo "$2=\"$4\"" >> .config.cache
+ fi
+}
+
+# Determines the appropriate value for the
+# GCC34= configuration option.
+inspircd-determine-gcc34() {
+ if [[ $(gcc-major-version) -gt 3 ]] ; then
+ echo "4"
+ else
+ if [[ $(gcc-minor-version) -lt 4 ]] ; then
+ echo "3"
+ else
+ echo "4"
+ fi
+ fi
+}
+
+src_compile() {
+ local myconf=""
+
+ ewarn
+ ewarn "Note that with InspIRCd 1.0.7 and later you can select"
+ ewarn "which SSL engine you wish to use."
+ ewarn
+ ewarn "USE=ssl is no longer supported."
+ ewarn
+ ewarn "To select OpenSSL, put USE='openssl' in your useflags."
+ ewarn "To select GnuTLS, put USE='gnutls' in your useflags."
+ ewarn
+ ewarn "You may compile in support for both SSL engines."
+ ewarn "To do so, just do USE='openssl gnutls'."
+ ewarn
+
+ # Write a configuration file
+ einfo "Building configuration parameters file."
+
+ if use openssl; then
+ einfo "Enabling OpenSSL SSL engine module."
+ fi
+
+ if use gnutls; then
+ einfo "Enabling GnuTLS SSL engine module."
+ fi
+
+ cat << _EOF_ > .config.cache
+CC="$(tc-getCXX)"
+MAKEPROG="make $MFLAGS"
+GCCVER="$(gcc-major-version)"
+GCC34="$(inspircd-determine-gcc34)"
+OPTIMISATI=""
+FLAGS="$CXXFLAGS"
+CONFIG_DIR="/etc/inspircd"
+MODULE_DIR="/usr/$(get_libdir)/inspircd/modules"
+BASE_DIR="/"
+LIBRARY_DIR="/usr/$(get_libdir)/inspircd"
+OSNAME="$(uname)"
+BINARY_DIR="/usr/bin"
+LDLIBS="-ldl -lstdc++"
+CHANGE_COMPILER="n"
+HAS_STRLCPY="false"
+MAKEORDER="ircd mods"
+
+# User defined parameters.
+MAX_KICK="${INSPIRCD_KICKLEN:-255}"
+MAX_IDENT="${INSPIRCD_IDENTLEN:-12}"
+MAX_GECOS="${INSPIRCD_GECOSLEN:-128}"
+MAX_CLIENT_T="${INSPIRCD_MAX_CLIENTS:-512}"
+MAXI_MODES="${INSPIRCD_MAX_MODES:-20}"
+MAX_CLIENT="${INSPIRCD_MAX_CLIENTS:-512}"
+MAX_CHANNE="${INSPIRCD_MAX_CHANNELS:-20}"
+NICK_LENGT="${INSPIRCD_NICKLEN:-31}"
+MAX_OPERCH="${INSPIRCD_MAX_OPERCHANS:-60}"
+MAX_AWAY="${INSPIRCD_AWAYLEN:-200}"
+MAX_TOPIC="${INSPIRCD_TOPICLEN:-307}"
+MAX_QUIT="${INSPIRCD_QUITLEN:-255}"
+_EOF_
+
+ inspircd_use_enable openssl HAS_OPENSSL y n
+ inspircd_use_enable gnutls HAS_GNUTLS y n
+
+ # build makefiles based on our configure params
+ # Please note that it's not the autoconf configure script, thus
+ # we don't use econf.
+ ./configure -update || die "configure failed"
+
+ emake DESTDIR="${D}" || die "emake failed"
+}
+
+src_install() {
+ # the inspircd buildsystem does not create these, it's configure script
+ # does. so, we have to at this point to make sure they are there.
+ dodir /usr/$(get_libdir)/inspircd
+ dodir /usr/$(get_libdir)/inspircd/modules
+ dodir /etc/inspircd
+ dodir /usr/bin/ircd
+
+ emake \
+ LIBPATH="${D}/usr/$(get_libdir)/inspircd" \
+ MODPATH="${D}/usr/$(get_libdir)/inspircd/modules" \
+ CONPATH="${D}/etc/inspircd" \
+ BINPATH="${D}/usr/bin" \
+ BASE="${D}/usr/bin/inspircd.launcher" \
+ install
+
+ newinitd "${FILESDIR}"/init.d_inspircd inspircd
+}
+
+pkg_postinst() {
+ chown -R inspircd:inspircd "${ROOT}"/etc/inspircd
+ chmod 700 "${ROOT}"/etc/inspircd
+
+ chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/inspircd
+ chmod -R 755 "${ROOT}"/usr/$(get_libdir)/inspircd
+
+ chmod -R 755 /usr/bin/inspircd
+}