diff options
author | José María Alonso <nimiux@gentoo.org> | 2013-02-19 22:33:15 +0000 |
---|---|---|
committer | José María Alonso <nimiux@gentoo.org> | 2013-02-19 22:33:15 +0000 |
commit | 447cc7f5605866dfead4f9fb803b9289b63adf69 (patch) | |
tree | 3bf36287b56e9670e6aa0a588741ddf6df32b12b /net-irc | |
parent | Version bump to latest stable release (diff) | |
download | historical-447cc7f5605866dfead4f9fb803b9289b63adf69.tar.gz historical-447cc7f5605866dfead4f9fb803b9289b63adf69.tar.bz2 historical-447cc7f5605866dfead4f9fb803b9289b63adf69.zip |
Move to EAPI5. Add pcre, posix and tre flags wrt bug #457654
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64
Manifest-Sign-Key: 0xD628E536
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/inspircd/ChangeLog | 8 | ||||
-rw-r--r-- | net-irc/inspircd/Manifest | 19 | ||||
-rw-r--r-- | net-irc/inspircd/inspircd-2.0.10-r1.ebuild | 102 | ||||
-rw-r--r-- | net-irc/inspircd/metadata.xml | 3 |
4 files changed, 122 insertions, 10 deletions
diff --git a/net-irc/inspircd/ChangeLog b/net-irc/inspircd/ChangeLog index 45813995f886..4a54fdda7071 100644 --- a/net-irc/inspircd/ChangeLog +++ b/net-irc/inspircd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-irc/inspircd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.69 2013/02/19 15:11:07 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.70 2013/02/19 22:33:07 nimiux Exp $ + +*inspircd-2.0.10-r1 (19 Feb 2013) + + 19 Feb 2013; Chema Alonso <nimiux@gentoo.org> +inspircd-2.0.10-r1.ebuild, + metadata.xml: + Move to EAPI5. Add pcre, posix and tre flags wrt bug #457654 19 Feb 2013; Chema Alonso <nimiux@gentoo.org> -files/inspircd-2.0.8-fix-path-builds.patch, -files/inspircd-2.0.8-init, diff --git a/net-irc/inspircd/Manifest b/net-irc/inspircd/Manifest index 2dd1e05a27b5..d2d80360624e 100644 --- a/net-irc/inspircd/Manifest +++ b/net-irc/inspircd/Manifest @@ -4,17 +4,18 @@ Hash: SHA256 AUX inspircd-2.0.10-fix-path-builds.patch 7231 SHA256 00bd6ab4a9cd823d33513eb339396d9e47e3c024b8f43ab613a37cc1fee1e291 SHA512 0a759d3b55b23dc8f4054b9a4554c8d68395a187be3853881445663f831e86fc1098866d0800c939054b6899f4bacf3dac16e076e01278b57a9335ca4e5b2884 WHIRLPOOL 7d45470db91a1871e9dc17f178b1439d00f2e063f3399c8a9c957ec39c43218a8ed9637d2f2731d1f1f272acb6e0007e704a40182ede568a45a41da6ea626a5e AUX inspircd-2.0.10-init 917 SHA256 6b0b81e69b156f5a8d85c2ae47ea904032de65584ee304342e5715c29710c368 SHA512 0c2be8690bcdfed10d645f73c615df16c952f4692e7bd7146a241d094b96dc55bfe128a62c1322880528d4113d8bf18cfa560392eaf95b52209eafc62100bbdb WHIRLPOOL 10953ecad02340adbf746a388e0e9d61ab32940707c84973d8581dd4f20fa677a8a1d80e332ae8d821e75e8c25029ba4aec32045d127743ab3d0fa7a888d0723 DIST inspircd-2.0.10.tar.gz 739126 SHA256 1f805a318677270a7bbf6a5abaeee5427e863a749ae69f16879014ff99a11f59 SHA512 fedff2e023066cedaa3ac5144aeff1ffc0930445cafcea1ebbed0946392cfa9a9ac42057151c70a8184af4d01d45f451c9b8d0481b7336f118e3e298875c9c27 WHIRLPOOL d6440e7e1db51518d9713a7df475984293be96e88a6ff00920617874bde5be54bafeeecc5e04a74e605efbdf812df13d99eccaee148a5e07efe730584091277f +EBUILD inspircd-2.0.10-r1.ebuild 2844 SHA256 1c9aa72c1ba0919a50c15e8d551e3170b7a0254cf5869cc55342dd33910c9cc6 SHA512 e9f6bd2fc15fadc40774114ea7c6251c02bb7b06a7707a019d431627bfaf89df9f9caba508ac130d4e931e9180b32d119e7a185f94c5d2caed824d916350b4bb WHIRLPOOL 2c9abe6563d29227e0d0f9ea1f7710667e816b9ad49df82bc8bdd9182e42a4b7db87d70416bc0a23979e88e8274c08f4ca7cb457ff30add6b4e5a4a3531d64bb EBUILD inspircd-2.0.10.ebuild 2824 SHA256 5942ce639595ddc186352c8a1df5111258fb2310285c204ddeb88b541aba4a69 SHA512 d2ab27c78b3c73cd37c23dc7b6dfeec2adee184d0cbc7e7b5560b03d7b292929e16d0c9c030cfb0e67ac0d5ed496c6b2a033a5b1209f4e590ecae5d4cd9743fe WHIRLPOOL be8f38f224440582d532a7e91a2f5cce3a02ffd5f70ae93cd43120553e2bbd87c38e0cca83327d7d82f13eb6cee749d82f357b78d7fcecf10b1133740512ac34 -MISC ChangeLog 12554 SHA256 a41fe649091a1a5b7434e3283c9e728938857809dbd1943eb53e5b13244fb29d SHA512 4cd3a767a4d5bcef075fd4b767e0060a55ab2e76d2a1e09d194cb5425a0fb3ba2d2aee8aa84d34a44a34132d942f6d51de062f510d2b16d421669e12285b4a1d WHIRLPOOL a358e84663c5ea3608de45571ae8401654d75018d9bed5aede13563cba6d2fdae0deb6ad97fcc5779fdd7352c7179ef194a84d6886321db2e795160813dea67a -MISC metadata.xml 1319 SHA256 4bf44810be93b3e6660f742ea2d4813adb8841cf327373c9637efc72bd3247ff SHA512 8090fb408220adc8b6ea86b6d8f59258f73c459f024fb894ce5f54ae73ee7b3b5115ad97b9f1b9451eda4f3c3ee3a8611495b728d7a4478891eccb92dd3f985a WHIRLPOOL 8e063b30373f1d0af201b8098cb48788fd2a7695af016e73aa6a3238f1f174f1e531500aa9e7c42d940bd70b1a89222c504004494ba6b15ffa8e3afa5e2d1df4 +MISC ChangeLog 12745 SHA256 5edf60e122c5c637dd94a000ec0feb850c126659fb2ec203baabd0ff4c3e2c84 SHA512 66c3e51091c9a0f23c0f92f8673d992314dae7c3b9fa6207145a7ef84d1b6f3fc522810cb89fa1cf5551863969427d43194962360052d21d8654c0429156cfb3 WHIRLPOOL 05f01195924f1f7b8f59d57f3ba40a04b67f0c983f2e24b1ef3321233eb12d1ec855120fda1e313b1842a22a40bc1ac4328294523f324adde47006080084b532 +MISC metadata.xml 1598 SHA256 08945125cec960ce56f66a1648f7aabbf6c59cd92af8ba9490bf57514e685a68 SHA512 769b575e864566e9c50826467df1c4b6607c7ca119003f1743f6d1fc4790e1481d417cf5da49f9f13992685dde9799028ac01ce00c9eee09db30e1676462816d WHIRLPOOL 90601e2de6f4d5499bacd0d95c806ad5aba39914f67a317751dec708657a76c7e4d2acb0379cbf3b57546d68cc37d4f67ed8834ace7f6ce5159be2637a1f6ae2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJRI5ZNAAoJEA2sAkrWKOU2wXoH/RRrAZHEIxnDC3kE9QD2OSF5 -6nhdD/oY12tQaMBN9h2zKUplYY8HTUv5S3Z4M7BdvohycvskFBlYalCrMYy/M024 -m4HOo3Su1dXTwYDIs76EwOS5FHCG0aSk7s9wdeou3V6HOgHoSI2p58mpzByBMube -X6DyqFtpYusmxa5gCODiGjB6T+gB/zbjeuutEe/EuVShEswhCO96Aia3KXav+kuB -flPB6su9hlDY6kCmrVPznC+dayNkUMjiogZvivQa7TUqYrxGl79Z2+bZ/GEFlSUL -SUCKMHzlPOP65+2eWsQ7U1KrkO5GkzX/t5wNCNMBLLhaJAEl4lhSH3KQOgX0Wnw= -=CVjj +iQEcBAEBCAAGBQJRI/3kAAoJEA2sAkrWKOU2DU4IAMQxXsqvJPnXv9GzUwZRqmuv +FGJ7fiWY90hCzeCYiN4/tbpXCPmUwCpmAJTLWv3A5untIvSjJYDSjnIg0mn+0ku2 +4UudjoNjmSQb16ESt2kXz9CmhQ1arqKoeckRYggfoC4sZ6OOeifwAgUK//EZzAkY +jSreLB2f6bI+PFqf/KTusqm+cNqgh56IFpuGFhF7abrwLi9+nTZiQdfhYB8VWa2n +sMUv/DzPhqATJ4QBn/u6j/wv45IAU3qBwJfijFd3J7uXkO0zYDtXpGhHCjbGFuH4 +HmTUhN/0JeWTmUJPR1UQBq1PAuqSfGLEcXvuCFFHW91GRpxir+snM/BwF4tQNTc= +=ftUQ -----END PGP SIGNATURE----- diff --git a/net-irc/inspircd/inspircd-2.0.10-r1.ebuild b/net-irc/inspircd/inspircd-2.0.10-r1.ebuild new file mode 100644 index 000000000000..a1cef338f364 --- /dev/null +++ b/net-irc/inspircd/inspircd-2.0.10-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-2.0.10-r1.ebuild,v 1.1 2013/02/19 22:33:07 nimiux Exp $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Inspire IRCd - The Stable, High-Performance Modular IRCd" +HOMEPAGE="http://inspircd.github.com/" +SRC_URI="http://www.github.com/inspircd/inspircd/archive/v${PV}.tar.gz -> +${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="geoip gnutls ipv6 ldap mysql pcre posix postgres sqlite ssl tre" + +RDEPEND=" + dev-lang/perl + ssl? ( dev-libs/openssl ) + geoip? ( dev-libs/geoip ) + gnutls? ( net-libs/gnutls dev-libs/libgcrypt ) + ldap? ( net-nds/openldap ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql-server ) + pcre? ( dev-libs/libpcre ) + sqlite? ( >=dev-db/sqlite-3.0 ) + tre? ( dev-libs/tre )" +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_prepare() { + # Patch the inspircd launcher with the inspircd user + sed -i -e "s/@UID@/${PN}/" "${S}/make/template/${PN}" || die + + epatch "${FILESDIR}/${P}-fix-path-builds.patch" +} + +src_configure() { + local extras="" + + use geoip && extras="${extras}m_geoip.cpp," + use ldap && extras="${extras}m_ldapauth.cpp,m_ldapoper.cpp," + use mysql && extras="${extras}m_mysql.cpp," + use pcre && extras="${extras}m_regex_pcre.cpp," + use posix && extras="${extras}m_regex_posix.cpp," + use postgres && extras="${extras}m_pgsql.cpp," + use sqlite && extras="${extras}m_sqlite3.cpp," + use tre && extras="${extras}m_regex_tre.cpp," + + if [ -n "${extras}" ]; then + ./configure --disable-interactive --enable-extras=${extras} + fi + + ./configure \ + --with-cc="$(tc-getCXX)" \ + --disable-interactive \ + --prefix="/usr/$(get_libdir)/${PN}" \ + --config-dir="/etc/${PN}" \ + --data-dir="/var/lib/${PN}/data" \ + --log-dir="/var/log/${PN}" \ + --binary-dir="/usr/bin" \ + --module-dir="/usr/$(get_libdir)/${PN}/modules" \ + $(use_enable ssl openssl) $(use_enable gnutls) \ + $(use_enable ipv6) +} + +src_compile() { + emake V=1 LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + emake INSTUID=${PN} \ + BINPATH="${D}/usr/bin" \ + BASE="${D}/usr/$(get_libdir)/${PN}/inspircd.launcher" \ + MODPATH="${D}/usr/$(get_libdir)/${PN}/modules/" \ + CONPATH="${D}/etc/${PN}" install + + insinto "/usr/include/${PN}" + doins include/* + + diropts -o"${PN}" -g"${PN}" -m0700 + dodir "/var/lib/${PN}" + dodir "/var/lib/${PN}/data" + + newinitd "${FILESDIR}/${P}-init" "${PN}" + keepdir "/var/log/${PN}"/ +} + +pkg_postinst() { + elog "Before starting ${PN} the first time, you should create" + elog "the /etc/${PN}/${PN}.conf file." + elog "You can find example configuration files under /etc/${PN}" + elog "Read the ${PN}.conf.example file carefully before " + elog "(re)starting the service." + elog +} diff --git a/net-irc/inspircd/metadata.xml b/net-irc/inspircd/metadata.xml index bbaab833285b..eb2ec7557702 100644 --- a/net-irc/inspircd/metadata.xml +++ b/net-irc/inspircd/metadata.xml @@ -26,8 +26,11 @@ <flag name="ipv6">Enable support for IP version 6</flag> <flag name="ldap">Enable LDAP support</flag> <flag name="mysql">Enable MySQL database backend</flag> + <flag name="pcre">Adds support for Perl Compatible Regular Expressions</flag> + <flag name="posix">Adds support for POSIX-compatible functions</flag> <flag name="postgres">Enable PostgreSQL database backend</flag> <flag name="sqlite">Enable Sqlite database backend</flag> <flag name="ssl">Enable SSL support</flag> + <flag name="tre">Enable support for TRE, a lightweight, robust, and efficient POSIX compliant regexp matching library</flag> </use> </pkgmetadata> |