diff options
author | Nathan Phillip Brink <binki@gentoo.org> | 2011-09-30 03:38:22 +0000 |
---|---|---|
committer | Nathan Phillip Brink <binki@gentoo.org> | 2011-09-30 03:38:22 +0000 |
commit | e702fb526d2ea53ded73d1c276e5b9e1d6e92b1b (patch) | |
tree | 9badfd4f075edb109c9149299891cc63cd5e7b2c /net-irc | |
parent | [dev-db/mariadb] Bumped to 5.2.9 release. (diff) | |
download | historical-e702fb526d2ea53ded73d1c276e5b9e1d6e92b1b.tar.gz historical-e702fb526d2ea53ded73d1c276e5b9e1d6e92b1b.tar.bz2 historical-e702fb526d2ea53ded73d1c276e5b9e1d6e92b1b.zip |
Bump to atheme-services-7.0.0_alpha7 with patches pulled from git allowing it to compile.
Package-Manager: portage-2.2.0_alpha55-r1/cvs/Linux x86_64
Diffstat (limited to 'net-irc')
5 files changed, 272 insertions, 15 deletions
diff --git a/net-irc/atheme-services/ChangeLog b/net-irc/atheme-services/ChangeLog index 9fab8b66c597..3db74f65a824 100644 --- a/net-irc/atheme-services/ChangeLog +++ b/net-irc/atheme-services/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-irc/atheme-services # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.10 2011/07/27 15:11:36 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.11 2011/09/30 03:38:22 binki Exp $ + +*atheme-services-7.0.0_alpha7 (30 Sep 2011) + + 30 Sep 2011; Nathan Phillip Brink <binki@gentoo.org> + +atheme-services-7.0.0_alpha7.ebuild, + +files/atheme-services-7.0.0_alpha7-mowgli-strl.patch, + +files/atheme-services-7.0.0_alpha7-xmlrpc-mowgli-string.patch: + Bump to atheme-services-7.0.0_alpha7 with patches pulled from git allowing it + to compile. *atheme-services-7.0.0_alpha6 (27 Jul 2011) diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest index 647c08f5ff82..29ffdbb48070 100644 --- a/net-irc/atheme-services/Manifest +++ b/net-irc/atheme-services/Manifest @@ -3,27 +3,31 @@ Hash: SHA256 AUX atheme-services-6.0.8-configure-disable.patch 4067 RMD160 83b845addd7af78d10a4b8447e9ec3c88f7efa17 SHA1 a893c2fab189495b31525332a8c4c9ffdcbd3aaf SHA256 861b9b458e6e2122aca923425dec407a5d2a13fecde613544c5aafb2cb161595 AUX atheme-services-7.0.0_alpha6-destdir-perl.patch 2001 RMD160 2e90360f3ee805cc48d0a7deea1d4b0c2c975c9f SHA1 335b4022dcc7faad0aced18df9d373f7a252c7ee SHA256 3ffa46e34cf081c11ab7e029a9d1af9f03c6e1263f1f45def578d00761788f6e +AUX atheme-services-7.0.0_alpha7-mowgli-strl.patch 1699 RMD160 e5bf15a77152b59e6a1804eb2443086ed228b2fa SHA1 4a4d7c73e14135d964f278771ed3ff5ebfb6e431 SHA256 3131721a15a0973a282c24067ab4ec786717a12af5c4a7aab04b30221a701a6b +AUX atheme-services-7.0.0_alpha7-xmlrpc-mowgli-string.patch 2254 RMD160 9395b13bbd86ec60bdc797a7d4519150c2b97d31 SHA1 94e7e472107b9cb3aa8290a1de58815226229bb3 SHA256 82964377104ae7356187f07d3ef1bc493e7da74b497124da781a534ffd17789b AUX atheme-services.initd 957 RMD160 e28c12ab60e8d5835c7c2e004e366b136d90aa31 SHA1 40ebacb57dcdebfaff54093863a573c4bdbc40be SHA256 0dae7f602487568054fe4a75961899c7ea428ee331d2a17020aa1cf1dd32fbaf DIST atheme-services-6.0.8.tar.bz2 860407 RMD160 31c1ba46ee5ede98108b51970bde134b259f1b3b SHA1 d201a41592fe0137e00625d7d6ed99fd79a752a7 SHA256 7dffcf8e768ca442d1fcc2b0e3031c41e34f6b3d8ee47164f84f20cb30515c24 DIST atheme-services-7.0.0-alpha6.tar.bz2 938041 RMD160 47f21874c96cd11908748cf56c7b22a13d8d6b48 SHA1 bd8252cb898fb56df27c2f83faf9131d7f0443a7 SHA256 69c3b8e2b0cdae71aea393c1f0f111234ef177d9922fb707c95bf00253fb6b16 +DIST atheme-services-7.0.0-alpha7.tar.bz2 940000 RMD160 68ff2a9289205af7d9519a4e04b26f971df6d131 SHA1 767364054ec9efc4195ae264af533dca0254e064 SHA256 e4b940b8e6f66338507029b5d95021a706dba7ec8e802ca418c394c114c191ba EBUILD atheme-services-6.0.8-r2.ebuild 2703 RMD160 4a2c06940599531be1dca72f2627a1b57f68f456 SHA1 611621b6f8aadf0703ed7b298875a30a278ce42d SHA256 9613151cc34120bc9992e955464a651b8da3c68c1a9b6e0e636860faf0b0b3bd EBUILD atheme-services-7.0.0_alpha6.ebuild 2797 RMD160 47ef02aec605802263e174b0c88174bd950129ff SHA1 f1b28f49a0dfc07a67959aed7e451e26fd69389b SHA256 543bdbcee1efe8b1b71428af4264876d6c2a15bba130461e93a1944d88d31d1f -MISC ChangeLog 2888 RMD160 d1b5befcd7ff0cdac007960994f916bac071ec19 SHA1 39220715e0bab1869fe28ee55033808b4608b334 SHA256 3a012a153aad60582a64a603e4bf0728bb4a25a54bb6c3609fdc6f1df4902c75 +EBUILD atheme-services-7.0.0_alpha7.ebuild 2930 RMD160 dd5d62d81890caa5c71ff10f1cbbd9a754f40b50 SHA1 1f6526d47cbd9d4a87d8e0ecb8373e4ff986d4bb SHA256 d95fd0502a69c99405b5d91ccaad77ff498b0b06967e27a1edb57f3d2e430dd8 +MISC ChangeLog 3246 RMD160 481634097bf4823e27b384b2ceb339d50d8212a6 SHA1 d8db00a9335ccf17366d0e553ca02b9201c6102c SHA256 6d35679689a606f8b0f510eac34808b8767f57799737e3bb6894ec59fde5870e MISC metadata.xml 522 RMD160 62256e4afba65ef587fb4314adeeb178b57246c0 SHA1 6765fd4304513a1aca8ba55294f417e11f1a4c8d SHA256 0eb4b26200c6ae7b351c45b9744c0bedd49e2de925f09161af89e5aefb8a5dcf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iQIcBAEBCAAGBQJOMCs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7gefcuNBtt5I6gn2g4LBNQA7XgSQh+LX+KnEjh6zkvxe +L3HSQNea5y3msMH4h1TUh3h5j4KLEoF5kj28hxfIy3iSwg0WEEAeWuho9ykvwhic +iVV0oF7rdNpo2hXWjGXDwm+r6BZNS6chpgyFgtE4Qr+3v3RMokXw/7F3lBKtA3Ai +n3vNSE83pdiEC4d3S9zYRNkOhWffiunnpFozy+3IPIBWzqGlET6rCbCXjT+ijpYZ +OlBVB7HXZJ+LDGeksy18C5uX4saSnb2M1d0ORthzmL+lH4Yad1nSKwEl7xy0q8L7 +GAGXiwghugAdtmeemNw9cfL5vAmZr8iMHT4Zt3wyDLgRtHe2xfTcQQVmQweB5WHC ++HRVoovREe+Njrhk96V6 +=HAjj -----END PGP SIGNATURE----- diff --git a/net-irc/atheme-services/atheme-services-7.0.0_alpha7.ebuild b/net-irc/atheme-services/atheme-services-7.0.0_alpha7.ebuild new file mode 100644 index 000000000000..5e24f1f56404 --- /dev/null +++ b/net-irc/atheme-services/atheme-services-7.0.0_alpha7.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha7.ebuild,v 1.1 2011/09/30 03:38:22 binki Exp $ + +EAPI=4 + +inherit eutils flag-o-matic perl-module prefix + +MY_P=${P/_/-} + +DESCRIPTION="A portable and secure set of open-source and modular IRC services" +HOMEPAGE="http://atheme.net/" +SRC_URI="http://atheme.net/downloads/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" +IUSE="largenet ldap nls +pcre perl profile ssl" + +RDEPEND=">=dev-libs/libmowgli-0.9.90 + ldap? ( net-nds/openldap ) + nls? ( sys-devel/gettext ) + perl? ( dev-lang/perl ) + pcre? ( dev-libs/libpcre ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + # the dependency calculation puts all of the .c files together and + # overwhelms cc1 with this flag :-( + filter-flags -combine + + if use profile; then + # bug #371119 + ewarn "USE=\"profile\" is incompatible with the hardened profile's -pie flag." + ewarn "Disabling PIE. Please ignore any warning messages about -nopie being invalid." + append-flags -nopie + fi + + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/atheme ${PN} +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-mowgli-strl.patch \ + "${FILESDIR}"/${P}-xmlrpc-mowgli-string.patch + + # fix docdir + sed -i -e 's/\(^DOCDIR.*=.\)@DOCDIR@/\1@docdir@/' extra.mk.in || die + + # basic logging config directive fix + sed -i -e '/^logfile/s;var/\(.*\.log\);'"${EPREFIX}"'/var/log/atheme/\1;g' dist/* || die + + # QA against bundled libs + rm -rf libmowgli || die + + # Get useful information into build.log + sed -i -e '/^\.SILENT:$/d' buildsys.mk.in || die +} + +src_configure() { + econf \ + atheme_cv_c_gcc_w_error_implicit_function_declaration=no \ + --sysconfdir="${EPREFIX}"/etc/${PN} \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --localstatedir="${EPREFIX}"/var \ + --enable-fhs-paths \ + --disable-warnings \ + --enable-contrib \ + $(use_enable largenet large-net) \ + $(use_with ldap) \ + $(use_with nls) \ + $(use_enable profile) \ + $(use_with perl) \ + $(use_with pcre) \ + $(use_enable ssl) +} + +src_install() { + emake DESTDIR="${D}" install + + insinto /etc/${PN} + for conf in dist/*.example; do + # The .cron file isn't meant to live in /etc/${PN}, so only + # install a .example version. + [[ ${conf} == *cron* ]] && continue + + newins ${conf} $(basename ${conf} .example) + done + + fowners -R 0:${PN} /etc/${PN} + keepdir /var/{lib,log}/atheme + fowners ${PN}:${PN} /var/{lib,log,run}/atheme + fperms -R go-w,o-rx /etc/${PN} + fperms 750 /etc/${PN} /var/{lib,log,run}/atheme + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + + # contributed scripts and such: + insinto /usr/share/doc/${PF}/contrib + doins contrib/*.{c,pl,php,py,rb} + + if use perl; then + perlinfo + insinto "${VENDOR_LIB#${EPREFIX}}" + doins -r contrib/Atheme{,.pm} + fi +} diff --git a/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-mowgli-strl.patch b/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-mowgli-strl.patch new file mode 100644 index 000000000000..b9a1b8317748 --- /dev/null +++ b/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-mowgli-strl.patch @@ -0,0 +1,51 @@ +From e933fc04fea4636325fbe60c769e1e20da74496c Mon Sep 17 00:00:00 2001 +From: JD Horelick <jdhore1@gmail.com> +Date: Wed, 31 Aug 2011 03:09:11 -0400 +Subject: [PATCH] hostserv|rpgserv: Change some code in headers to use mowgli_strlcpy() and mowgli_strlcat(). + +--- + modules/hostserv/hostserv.h | 2 +- + modules/rpgserv/prettyprint.h | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/modules/hostserv/hostserv.h b/modules/hostserv/hostserv.h +index 10ec4de..953105a 100644 +--- a/modules/hostserv/hostserv.h ++++ b/modules/hostserv/hostserv.h +@@ -31,7 +31,7 @@ static inline void do_sethost(user_t *u, char *host) + return; + + svs = service_find("hostserv"); +- strlcpy(u->vhost, host ? host : u->host, HOSTLEN); ++ mowgli_strlcpy(u->vhost, host ? host : u->host, HOSTLEN); + user_sethost(svs->me, u, u->vhost); + } + +diff --git a/modules/rpgserv/prettyprint.h b/modules/rpgserv/prettyprint.h +index e643608..362eef6 100644 +--- a/modules/rpgserv/prettyprint.h ++++ b/modules/rpgserv/prettyprint.h +@@ -70,7 +70,7 @@ static inline const char *rs_prettyprint_keywords(metadata_t *md, const char **k + + *ppbuf = '\0'; + +- strlcpy(parsebuf, md->value, BUFSIZE); ++ mowgli_strlcpy(parsebuf, md->value, BUFSIZE); + + keyword = strtok_r(parsebuf, " ", &pos); + if (keyword == NULL) +@@ -85,9 +85,9 @@ static inline const char *rs_prettyprint_keywords(metadata_t *md, const char **k + if (!strcasecmp(keyword, keys[i])) + { + if (*ppbuf != '\0') +- strlcat(ppbuf, ", ", BUFSIZE); ++ mowgli_strlcat(ppbuf, ", ", BUFSIZE); + +- strlcat(ppbuf, values[i], BUFSIZE); ++ mowgli_strlcat(ppbuf, values[i], BUFSIZE); + } + } + } +-- +1.7.3.4 + diff --git a/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-xmlrpc-mowgli-string.patch b/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-xmlrpc-mowgli-string.patch new file mode 100644 index 000000000000..ca584161d90f --- /dev/null +++ b/net-irc/atheme-services/files/atheme-services-7.0.0_alpha7-xmlrpc-mowgli-string.patch @@ -0,0 +1,82 @@ +From 7759002d4f84301541e8b6e5eb4c7a20d559d98d Mon Sep 17 00:00:00 2001 +From: William Pitcock <nenolod@dereferenced.org> +Date: Wed, 31 Aug 2011 00:57:22 -0500 +Subject: [PATCH] transport/xmlrpc: unbreak build + +--- + modules/transport/xmlrpc/xmlrpclib.c | 17 ++++++++++------- + 1 files changed, 10 insertions(+), 7 deletions(-) + +diff --git a/modules/transport/xmlrpc/xmlrpclib.c b/modules/transport/xmlrpc/xmlrpclib.c +index c708985..11e3b7a 100644 +--- a/modules/transport/xmlrpc/xmlrpclib.c ++++ b/modules/transport/xmlrpc/xmlrpclib.c +@@ -315,7 +315,7 @@ void xmlrpc_generic_error(int code, const char *string) + { + char buf[1024]; + const char *ss; +- mowgli_string_t *s = mowgli_string_create(XMLRPC_BUFSIZE); ++ mowgli_string_t *s = mowgli_string_create(); + char *s2; + int len; + +@@ -353,7 +353,8 @@ void xmlrpc_generic_error(int code, const char *string) + } + else + xmlrpc.setbuffer(s->str, len); +- s->delete(s); ++ ++ s->destroy(s); + } + + /*************************************************************************/ +@@ -387,7 +388,7 @@ void xmlrpc_send(int argc, ...) + int len; + char buf[1024]; + const char *ss; +- mowgli_string_t *s = mowgli_string_create(XMLRPC_BUFSIZE); ++ mowgli_string_t *s = mowgli_string_create(); + char *s2; + char *header; + +@@ -438,7 +439,8 @@ void xmlrpc_send(int argc, ...) + free(xmlrpc.encode); + xmlrpc.encode = NULL; + } +- s->delete(s); ++ ++ s->destroy(s); + } + + /*************************************************************************/ +@@ -448,7 +450,7 @@ void xmlrpc_send_string(const char *value) + int len; + char buf[1024]; + const char *ss; +- mowgli_string_t *s = mowgli_string_create(XMLRPC_BUFSIZE); ++ mowgli_string_t *s = mowgli_string_create(); + char *s2; + char *header; + +@@ -493,7 +495,8 @@ void xmlrpc_send_string(const char *value) + free(xmlrpc.encode); + xmlrpc.encode = NULL; + } +- s->delete(s); ++ ++ s->destroy(s); + } + + /*************************************************************************/ +@@ -736,7 +739,7 @@ void xmlrpc_char_encode(char *outbuffer, const char *s1) + long unsigned int i; + unsigned char c; + char buf2[15]; +- mowgli_string_t *s = mowgli_string_create(XMLRPC_BUFSIZE); ++ mowgli_string_t *s = mowgli_string_create(); + *buf2 = '\0'; + *outbuffer = '\0'; + +-- +1.7.3.4 + |