diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-08-10 21:16:54 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-08-10 21:16:54 +0000 |
commit | fc4ef9a41ea43f754cb8a40bef516fe2c74e29d4 (patch) | |
tree | b5e214b03487713d10bc1c1b8351ab3e47c7a8a0 /net-irc/ircd-hybrid | |
parent | fix keywords (diff) | |
download | historical-fc4ef9a41ea43f754cb8a40bef516fe2c74e29d4.tar.gz historical-fc4ef9a41ea43f754cb8a40bef516fe2c74e29d4.tar.bz2 historical-fc4ef9a41ea43f754cb8a40bef516fe2c74e29d4.zip |
Version bump, bug #101156.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-irc/ircd-hybrid')
-rw-r--r-- | net-irc/ircd-hybrid/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/Manifest | 12 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 | 1 | ||||
-rw-r--r-- | net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild | 148 |
4 files changed, 162 insertions, 6 deletions
diff --git a/net-irc/ircd-hybrid/ChangeLog b/net-irc/ircd-hybrid/ChangeLog index e3b5e244bb46..0b439dd6dec4 100644 --- a/net-irc/ircd-hybrid/ChangeLog +++ b/net-irc/ircd-hybrid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/ircd-hybrid # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.15 2005/07/21 23:27:09 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ChangeLog,v 1.16 2005/08/10 21:16:54 swegener Exp $ + +*ircd-hybrid-7.1.1 (10 Aug 2005) + + 10 Aug 2005; Sven Wegener <swegener@gentoo.org> +ircd-hybrid-7.1.1.ebuild: + Version bump, bug #101156. 21 Jul 2005; Sven Wegener <swegener@gentoo.org> ircd-hybrid-7.1.0.ebuild: Some modifications suggested in bug #98493. diff --git a/net-irc/ircd-hybrid/Manifest b/net-irc/ircd-hybrid/Manifest index 89af8f49343d..d84cfdd212b5 100644 --- a/net-irc/ircd-hybrid/Manifest +++ b/net-irc/ircd-hybrid/Manifest @@ -1,23 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 3a54907722de2f43baf9f8b45cad7383 ChangeLog 2750 +MD5 b6680f91e8c47c28aba7e674c3a0bab5 ChangeLog 2891 MD5 2cc5330c07947c6e3ac113d1e1e8bc6b files/7.1.0-default-config.patch 1230 MD5 d7fb2ea1489aabedba9a5ec2f160eb23 files/conf.d_ircd 410 MD5 3fa170737a52ed587dfede306e503dcd files/config-ipv4-7.0.3.diff 4227 MD5 a60d0a00176f6ce75b380697db667e95 files/config-ipv6-7.0.3.diff 4227 MD5 12b134810a484d2ec3480bd5cdf8be76 files/digest-ircd-hybrid-7.0.3 67 MD5 be5e20539ebf85497a86bff5595ea2f6 files/digest-ircd-hybrid-7.1.0 67 +MD5 3ec327ab8324e319cc99f8f97c53bdd2 files/digest-ircd-hybrid-7.1.1 67 MD5 8950404b48f4f9a7455cf911bd1b94c1 files/init.d_ircd 1439 MD5 d9588c0a65883956055e2b4481ec9a67 files/init.d_ircd-7.1.0 662 MD5 8281bd4963f1a3b0168065602952946f files/ircd-hybrid-7.0.3.diff 2606 MD5 f54547aaa9e353a6c6a0ee5ebd235666 ircd-hybrid-7.0.3.ebuild 10127 MD5 58f3c265a1b55179419226dde74d8cd0 ircd-hybrid-7.1.0.ebuild 4895 +MD5 8b8685ca61f391f898fa49e8cbd7a662 ircd-hybrid-7.1.1.ebuild 4033 MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFC4C9aI1lqEGTUzyQRAp1eAKDJl/OGPKN1bZ7RPM7pJ5sRf7fFtACgqov3 -milxqwcdsijq0gPA1N1cyVw= -=7uBH +iD8DBQFC+m7UI1lqEGTUzyQRAlerAJ9oB1vrQ6unNY+jGg/Je8qBoBEppACeNeA4 +QpnI60mPTi0soqjlBtcmH50= +=pvi3 -----END PGP SIGNATURE----- diff --git a/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 new file mode 100644 index 000000000000..8fb16e24698c --- /dev/null +++ b/net-irc/ircd-hybrid/files/digest-ircd-hybrid-7.1.1 @@ -0,0 +1 @@ +MD5 97d5ca375831bb9cc42348383b836cf2 ircd-hybrid-7.1.1.tgz 1190396 diff --git a/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild b/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild new file mode 100644 index 000000000000..e4597400aea2 --- /dev/null +++ b/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircd-hybrid/ircd-hybrid-7.1.1.ebuild,v 1.1 2005/08/10 21:16:54 swegener Exp $ + +inherit eutils toolchain-funcs + +# Additional configuration options +MAX_NICK_LENGTH=30 +MAX_CLIENTS=512 +MAX_TOPIC_LENGTH=390 +ENABLE_SMALL_NETWORK=1 +ENABLE_EFNET=0 + +IUSE="debug ssl static zlib" + +DESCRIPTION="IRCD-Hybrid - High Performance Internet Relay Chat" +HOMEPAGE="http://ircd-hybrid.com/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~alpha ~ppc" + +RDEPEND="dev-libs/libelf + zlib? ( >=sys-libs/zlib-1.1.4-r2 ) + ssl? ( >=dev-libs/openssl-0.9.7d )" + +DEPEND="${RDEPEND} + >=sys-devel/flex-2.5.4a-r5 + >=sys-devel/bison-1.875 + >=sys-devel/gettext-0.12.1" + +pkg_setup() { + enewgroup hybrid + enewuser hybrid -1 -1 -1 hybrid +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/7.1.0-default-config.patch +} + +src_compile() { + local myconf="" + + ewarn + ewarn "Server administrators are encouraged to customize some variables in" + ewarn "the ebuild if actually deploying hybrid in an IRC network." + ewarn "The values below reflect a usable configuration but may not be" + ewarn "suitable for large networks in production environments." + ewarn + ewarn "To change the default settings below you must edit the ebuild." + ewarn + ewarn "Maximum nick length = ${MAX_NICK_LENGTH}" + ewarn " topic length = ${MAX_TOPIC_LENGTH}" + ewarn " number of clients = ${MAX_CLIENTS}" + ewarn + + if [ ${ENABLE_SMALL_NETWORK} -eq 1 ] + then + einfo "Configuring for small networks." + myconf="${myconf} --enable-small-net" + else + myconf="${myconf} --disable-small-net" + fi + if [ ${ENABLE_EFNET} -eq 1 ] + then + einfo "Configuring for Efnet." + myconf="${myconf} --enable-efnet" + else + myconf="${myconf} --disable-efnet" + fi + + epause 5 + + econf \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc/ircd \ + --includedir=/usr/include \ + --with-nicklen=${MAX_NICK_LENGTH} \ + --with-topiclen=${MAX_TOPIC_LENGTH} \ + --with-maxconn=${MAX_CLIENTS} \ + $(use_enable zlib) \ + $(use_enable ssl openssl) \ + $(use_enable !static shared-modules) \ + $(use_enable debug assert) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" + + # Build respond binary for using rsa keys instead of plain text oper passwords. + use ssl && $(tc-getCC) ${CFLAGS} -o respond tools/rsa_respond/respond.c -lcrypto +} + +src_install() { + dodir /usr/lib/ircd-hybrid-7 + keepdir /var/run/ircd /var/log/ircd + + make DESTDIR="${D}" install || die "make install failed" + + insinto /usr/share/ircd-hybrid-7/messages + doins messages/*.lang || die "doins failed" + + mv "${D}"/usr/{modules,lib/ircd-hybrid-7} + mv "${D}"/usr/bin/{,ircd-}mkpasswd + mv "${D}"/etc/ircd/{example,ircd}.conf + + sed -i \ + -e s:/usr/local/ircd/modules:/usr/lib/ircd-hybrid-7/modules: \ + "${D}"/etc/ircd/ircd.conf + + use ssl && dosbin "${S}"/respond + + dodoc BUGS ChangeLog Hybrid-team RELNOTES TODO + docinto doc + dodoc doc/*.txt doc/Tao-of-IRC.940110 doc/server-version-info + docinto doc/technical + dodoc doc/technical/* + + newinitd "${FILESDIR}"/init.d_ircd-7.1.0 ircd +} + +pkg_postinst() { + chown -R hybrid:hybrid "${ROOT}"/etc/ircd "${ROOT}"/var/{log,run}/ircd + chmod 700 "${ROOT}"/etc/ircd "${ROOT}"/var/log/ircd + + if use ssl + then + einfo "To create an RSA keypair for crypted links execute:" + einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + fi +} + +pkg_config() { + einfo "Generating 2048 bit RSA keypair /etc/ircd/ircd.rsa." + einfo "The public key is stored in /etc/ircd/ircd.pub." + + openssl genrsa -rand "${ROOT}"/var/run/random-seed -out "${ROOT}"/etc/ircd/ircd.rsa 2048 + openssl rsa -in "${ROOT}"/etc/ircd/ircd.rsa -pubout -out "${ROOT}"/etc/ircd/ircd.pub + + chown hybrid:hybrid "${ROOT}"/etc/ircd/ircd.rsa "${ROOT}"/etc/ircd/ircd.pub + chmod 600 "${ROOT}"/etc/ircd/ircd.rsa + chmod 644 "${ROOT}"/etc/ircd/ircd.pub + + einfo "Update the RSA keypair in /etc/ircd/ircd.conf and /REHASH." +} |