From 5021fe6e5eb3d9da29bd00a1215830ee22dde2ac Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sun, 9 Nov 2014 08:02:13 +0000 Subject: Bump to EAPI=5 (bug #527904) Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0xC42EB5D6 --- net-irc/atheme-services/ChangeLog | 11 ++- net-irc/atheme-services/Manifest | 28 ++---- .../atheme-services-6.0.11-r1.ebuild | 105 ++++++++++++++++++++ .../atheme-services/atheme-services-6.0.11.ebuild | 105 -------------------- .../atheme-services-7.0.6-r1.ebuild | 109 +++++++++++++++++++++ .../atheme-services/atheme-services-7.0.6.ebuild | 109 --------------------- .../atheme-services/atheme-services-9999.ebuild | 6 +- 7 files changed, 237 insertions(+), 236 deletions(-) create mode 100644 net-irc/atheme-services/atheme-services-6.0.11-r1.ebuild delete mode 100644 net-irc/atheme-services/atheme-services-6.0.11.ebuild create mode 100644 net-irc/atheme-services/atheme-services-7.0.6-r1.ebuild delete mode 100644 net-irc/atheme-services/atheme-services-7.0.6.ebuild (limited to 'net-irc') diff --git a/net-irc/atheme-services/ChangeLog b/net-irc/atheme-services/ChangeLog index 285d073686e6..230cedfde613 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.53 2014/01/08 06:36:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.54 2014/11/09 08:02:06 zlogene Exp $ + +*atheme-services-6.0.11-r1 (09 Nov 2014) +*atheme-services-7.0.6-r1 (09 Nov 2014) + + 09 Nov 2014; Mikle Kolyada + +atheme-services-6.0.11-r1.ebuild, +atheme-services-7.0.6-r1.ebuild, + -atheme-services-6.0.11.ebuild, -atheme-services-7.0.6.ebuild, + atheme-services-9999.ebuild: + Bump to EAPI=5 (bug #527904) 08 Jan 2014; Mike Frysinger atheme-services-6.0.11.ebuild: Inherit the user eclass for enewuser/etc... diff --git a/net-irc/atheme-services/Manifest b/net-irc/atheme-services/Manifest index f9a7178abd0a..548123a95843 100644 --- a/net-irc/atheme-services/Manifest +++ b/net-irc/atheme-services/Manifest @@ -5,25 +5,17 @@ AUX atheme-services-6.0.8-configure-disable.patch 4067 SHA256 861b9b458e6e2122ac AUX atheme-services.initd 975 SHA256 0cdcfb95d2399e132364127429618b44ce1830a61af0a5dc5bce1179b3810f75 SHA512 bea6499977c5195e5e50de46fcb176deda4cef2a9c83438b7922967281aad6837a3b0b072ba586af5f4a80296f17373848983c1f8c28f56e4c8490d46f4a4908 WHIRLPOOL 2fc4c809377458730c3f3a80af8619aeebd56383e8534d86a7d95f543f611ea15f64d1f394b644b9e1011d20ea4633970a962cb4099e7eb4a054db6b38200d86 DIST atheme-services-6.0.11.tar.bz2 859123 SHA256 762bc717d4710d135f8654025c34c4fc431a6a8cf7345e994fbe800fa78a9f74 SHA512 81b85744aba5ab5708a21c006d09f870be34a9ff15a791c0ed234de984d44e2b1a6021af1f1e21ad94010d7a42246f6ac3fa9daf3d7c379a1c19b7661a947c97 WHIRLPOOL 3664ef405ace32973d823dd37003c7f5c107a429228c46a72420ab829bde6af0a2bdfb7d2d69b4a6d1fbc537d7a1a1a20ce69f57568ad47016675b85158154f4 DIST atheme-services-7.0.6.tar.bz2 1086070 SHA256 314fd708dc63145e9db10c5a2ed5afebf16b398d617a633c5e80d003039afdeb SHA512 448dd532c1ece9f3d5f36891464a4fdf6b16e021fb24c9d3850c0bbe473cbd472bb7d5442a331bcf96fbdf8d09a261a6baeaeb96f41e1766d556b01bc8d0f8e3 WHIRLPOOL c8d6d6d4ca5a816f5e9b74ff0272cf797396722f0e0cfece29cc738e9396f9cf3ce070232aee9bcf99849be96cbdfa92c73a468d611caf1935cc7bb6443ede6e -EBUILD atheme-services-6.0.11.ebuild 2794 SHA256 ac13d8f5928f8401a9b59b51f35a7a971b1f8156294287320031daca9f5df90c SHA512 82a2bd47226685ddd024c602218cb7c7cc3f5a895555cb3925f038b14cd046f343ebae6fe75147034de1f3c2299cd6de5f21859a9646921553a93418d4930fb3 WHIRLPOOL 591c6906c84a45e5e601a7016580f4310e0e56e6b4d54695b7a9449a58ce8ca89ed64fe9f3c1baa81cdef291bbebb1e5c1b7992fd539422a7ca91d1f7b7eb10e -EBUILD atheme-services-7.0.6.ebuild 2910 SHA256 43d174cbc23ea3b52206c9d90e286336e5719629c9fa90725a05b61f19960755 SHA512 bdd867f97e78ca935ecc3559821ffa48c2331d355338cc174479583a0636420930389932e97fbfdc88f4046a759cc3abfc8b91e768d8a5b2294bed2bda0566f7 WHIRLPOOL 4abce609b51a8afd66cdd033916ea34b027f051b4caa768e5ef974048f0f63a826a59cea6f547eb82f416c00e3ba1e652a7afddbb6f0b357e6fc24c92b53284c -EBUILD atheme-services-9999.ebuild 3055 SHA256 b4d39ab796844ab8e09ff7a8ca7232ee373c8d0c3114f43f076d8b5e286af5ff SHA512 5587b06d97f55b8339ca54f8e5d2419c2608e682726d0ddeda7951569e7342c34e7bbcce1bed7a6238506353e8cb74b8b68a66b09260a7f356db2f8e283e9fdb WHIRLPOOL 333a4eb9a732d231f0768b6f85890e7ccd79d2d6d2201c9f4f60079c61fe4228040a3ab0cb192c0a55968fbae6e6fa06f843f3be12da626b18315f206740a3af -MISC ChangeLog 10635 SHA256 7727b930478e2e7a8046cfc7a15937584a99c5655d2ca1df1dcab581d7dc5215 SHA512 15bad8b6b709cb39a1494e7488e809791af48356dd84c5a8a04c1726e9ffac9315362caa6bc98e631bbfe50b96b23d1086016cf3168cb3cbcb98a8e7f02fef42 WHIRLPOOL a6302e5264b554c9773195391c7e1c6622145a15ac5f9ef4386a809d5081087362d7cbbb84f118ffca113003b0a589cdfff14f75f38b4400fab324e636d33f31 +EBUILD atheme-services-6.0.11-r1.ebuild 2798 SHA256 04fe2178fdc2773b72072474cb11f30a01bee394d7117b0f66aa93990af75d55 SHA512 aeab64518a2cf1b32c2ebb9cf6c952ed214203f28a38fc0c85b14bcc679ccd5f9e2f850e7cfee64592fe5f2bf55bd4edc30f58168e41c71415ced0b517987a01 WHIRLPOOL af3752931e2152ed2e5c097612aae84cfae25c8df32eca71b7b88d9bc5fae6dc94ca1dac63cf9950580d40c0ba601158a38ed04faa5e1dd71b81cf270b03cc4a +EBUILD atheme-services-7.0.6-r1.ebuild 2914 SHA256 049470ab0ad517ea99faeb495d893386ce7057fa7982c270a87392f37220a827 SHA512 8ce9522dcfa077041bf11cf868630128544453c800e8662a94cced09fc653d0d0e28119057ca0d1c7048ec775418e26ab24349eb224c0bf240db2b5aed8940fa WHIRLPOOL 791f6a22ad3c263486514619c4451bc11a0a358b7c5656ba51e73b8df212b0da486c72a4882634db4a43ab2958ef272d494b9263d204714d6a4b8c928b5c9b60 +EBUILD atheme-services-9999.ebuild 3056 SHA256 3b85f04228e8b2c432a59595c03eca2a4f99759944f6855028ca4dfd943307ed SHA512 0984e74461ff3530623c019ffccd5342546489eeed26c07354506d552c2786be6056803b9b41405edc3c3f244f8807ed38a9342a497145c654d7795c7687d16a WHIRLPOOL 6bf50ae0d5216d1025322195c020f67b15e58c78321446ea43f43d99a20363641f2e0fa229fa5a03136ee71d77d3f058cc5f6e93d64fe5a9bc44d36f562e4600 +MISC ChangeLog 10967 SHA256 29bc2d0972e82315ad9cab2001bfdbcb23a9a167e9e3e15b5416ef2064d724a2 SHA512 b05c3f72fd59d4285aefc140a3ed6fbdeac382889d4b11f9451736578d8fd7f298af07649e77c2e2beefa6abc229fff6cc598fbce7d74341b1a3d3dcc5e6dc90 WHIRLPOOL ffb0b69fbb416b8a3bb39a7b23e4cfe10f1a542b13f973fca9d0423c07c6ab67f58aa22e5305a71586e30aebccae7b788df10daf8c854c505e16940836d097b0 MISC metadata.xml 771 SHA256 a837c036193dc300db84f5539f463723abaa14e1fb15ca6314b7e850fdfac460 SHA512 1501132904779820376140ba212dbb7a29aa201329da10a203bbfaaa429f8af112a807f6daff335aad359b7d178c02adab8de75ae3e30f1fee0b440a0f385a38 WHIRLPOOL 83546d147d8d525d170bb846dcf6167cc64db5e38b3ff0be9d4017593bbaa58e451d6b15d3fa1b5064d3b089b4d12a20306d79c6ddc1ead2f037add386930b5b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2 -iQIcBAEBCAAGBQJSzPH+AAoJEPGu1DbS6WIAc7gP/iJp9RBM6TQuF4CvrOeGsGH1 -4ZSEu73LBjJUP7mBn4BpzBOOBq5wB8AZ6YNwHWysLmISHHHv5iuyKxp3MztH5YSu -ANL1jVMq7z2eEvMuFWGq+wzbFkt2i406BjTXonMtL8y8W6qXlALVEVQZw2jssfoQ -BDoWX+z3ykbzBlWDH015l4XDL5MK4DD/RBXJOJGKxb/hjnL+vCtXUexRM8remp3G -iLTduCYfFRaTikGPKJ0qIATPM/+aoNEm+o13i9Q+Xl4l5Dj1zzb4I8Vg0WCm1kM2 -ATA5/GuuDX1b1qLeWfl5mePBgsPY8SRCSMOPK3/6RQjsp2sPk/L/lpVpbg63sf39 -+EnKOF5rrdRjx0C3cD96xYHLPZcMqb2w77kdnglcRUMrmu+iL0+40z1lL6qk3Q/x -K/gupLI73ymhzM7GvO9oQFSg6RrfxyTohQb1pkJfLaz6ZN25dRAKlsJQTPgL8O2F -ghaXgVLt93uP8m85LHXxIik1wDwynaa12l5XISYcRzRt9lvTAqvez33D3zi7reBr -cbWlvaqf8pYDE5Sf2UhyyhycD2amCTtOiFrpvHo9J47GsQeGIGnDimDpzqOJJ8Bb -eMDkQwg6XIqn1Nw4PLFrRXpsIBe0ifA21IO9tGxEYhNHvu2TOVidvgFHlQjKd5ej -G2q9EeeM+56FJ3kRtRYS -=ySEE +iJwEAQEIAAYFAlRfHyoACgkQG9wOWsQutdY7/AP9FLqnmhV7hCdj8vQbej4JXXYK +7TG9sxtCOvfxR9PNWqUobPvcq2PxunzbjHWzHLLtQeffzRBOIRaD/7H4vUQsSnqN +0dfZ4mXC95LyteC+LifKLXZWa+O56fFolG3YGwFd/JUyc9StSPMWjlN/C+wWatpz +lp9tWqpMwcrnxI7GOBU= +=GYX5 -----END PGP SIGNATURE----- diff --git a/net-irc/atheme-services/atheme-services-6.0.11-r1.ebuild b/net-irc/atheme-services/atheme-services-6.0.11-r1.ebuild new file mode 100644 index 000000000000..5767298cc737 --- /dev/null +++ b/net-irc/atheme-services/atheme-services-6.0.11-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.11-r1.ebuild,v 1.1 2014/11/09 08:02:06 zlogene Exp $ + +EAPI=5 + +inherit autotools eutils flag-o-matic perl-module prefix user + +DESCRIPTION="A portable and secure set of open-source and modular IRC services" +HOMEPAGE="http://atheme.net/" +SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux" +IUSE="cracklib largenet ldap nls +pcre perl profile ssl" + +RDEPEND="dev-libs/libmowgli:0 + cracklib? ( sys-libs/cracklib ) + ldap? ( net-nds/openldap ) + nls? ( sys-devel/gettext ) + pcre? ( dev-libs/libpcre ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +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}"/${PN}-6.0.8-configure-disable.patch + eautoconf + + # 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 \ + --sysconfdir="${EPREFIX}"/etc/${PN} \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --localstatedir="${EPREFIX}"/var \ + --enable-fhs-paths \ + --enable-contrib \ + $(use_enable largenet large-net) \ + $(use_with cracklib) \ + $(use_with ldap) \ + $(use_with nls) \ + $(use_enable profile) \ + $(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/atheme-services-6.0.11.ebuild b/net-irc/atheme-services/atheme-services-6.0.11.ebuild deleted file mode 100644 index b3e14d557923..000000000000 --- a/net-irc/atheme-services/atheme-services-6.0.11.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.11.ebuild,v 1.4 2014/01/08 06:36:38 vapier Exp $ - -EAPI=4 - -inherit autotools eutils flag-o-matic perl-module prefix user - -DESCRIPTION="A portable and secure set of open-source and modular IRC services" -HOMEPAGE="http://atheme.net/" -SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux" -IUSE="cracklib largenet ldap nls +pcre perl profile ssl" - -RDEPEND="dev-libs/libmowgli:0 - cracklib? ( sys-libs/cracklib ) - ldap? ( net-nds/openldap ) - nls? ( sys-devel/gettext ) - pcre? ( dev-libs/libpcre ) - ssl? ( dev-libs/openssl )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -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}"/${PN}-6.0.8-configure-disable.patch - eautoconf - - # 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 \ - --sysconfdir="${EPREFIX}"/etc/${PN} \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --localstatedir="${EPREFIX}"/var \ - --enable-fhs-paths \ - --enable-contrib \ - $(use_enable largenet large-net) \ - $(use_with cracklib) \ - $(use_with ldap) \ - $(use_with nls) \ - $(use_enable profile) \ - $(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/atheme-services-7.0.6-r1.ebuild b/net-irc/atheme-services/atheme-services-7.0.6-r1.ebuild new file mode 100644 index 000000000000..092846f99872 --- /dev/null +++ b/net-irc/atheme-services/atheme-services-7.0.6-r1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2014 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.6-r1.ebuild,v 1.1 2014/11/09 08:02:06 zlogene Exp $ + +EAPI=5 + +inherit eutils flag-o-matic perl-module user + +DESCRIPTION="A portable and secure set of open-source and modular IRC services" +HOMEPAGE="http://atheme.net/" +SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux" +IUSE="cracklib largenet ldap nls +pcre perl profile ssl" + +RDEPEND=">=dev-libs/libmowgli-2.0.0:2 + cracklib? ( sys-libs/cracklib ) + ldap? ( net-nds/openldap ) + nls? ( sys-devel/gettext ) + perl? ( dev-lang/perl ) + pcre? ( dev-libs/libpcre ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +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() { + # 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-2 || die +} + +src_configure() { + # perl scriping module support is also broken in 7.0.0. Yay for QA failures. + 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 cracklib) \ + $(use_with ldap) \ + $(use_with nls) \ + $(use_enable profile) \ + $(use_with pcre) \ + $(use_with perl) \ + $(use_enable ssl) +} + +src_compile() { + emake V=1 +} + +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} + mv "${ED}"/usr/bin/{,atheme-}dbverify || die + + # 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/atheme-services-7.0.6.ebuild b/net-irc/atheme-services/atheme-services-7.0.6.ebuild deleted file mode 100644 index 3987acfbbc8d..000000000000 --- a/net-irc/atheme-services/atheme-services-7.0.6.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2013 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.6.ebuild,v 1.1 2013/10/31 01:25:56 jdhore Exp $ - -EAPI=4 - -inherit eutils flag-o-matic perl-module user - -DESCRIPTION="A portable and secure set of open-source and modular IRC services" -HOMEPAGE="http://atheme.net/" -SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux" -IUSE="cracklib largenet ldap nls +pcre perl profile ssl" - -RDEPEND=">=dev-libs/libmowgli-2.0.0:2 - cracklib? ( sys-libs/cracklib ) - ldap? ( net-nds/openldap ) - nls? ( sys-devel/gettext ) - perl? ( dev-lang/perl ) - pcre? ( dev-libs/libpcre ) - ssl? ( dev-libs/openssl )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -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() { - # 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-2 || die -} - -src_configure() { - # perl scriping module support is also broken in 7.0.0. Yay for QA failures. - 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 cracklib) \ - $(use_with ldap) \ - $(use_with nls) \ - $(use_enable profile) \ - $(use_with pcre) \ - $(use_with perl) \ - $(use_enable ssl) -} - -src_compile() { - emake V=1 -} - -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} - mv "${ED}"/usr/bin/{,atheme-}dbverify || die - - # 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/atheme-services-9999.ebuild b/net-irc/atheme-services/atheme-services-9999.ebuild index 50097ce3a72a..515dd0f41c50 100644 --- a/net-irc/atheme-services/atheme-services-9999.ebuild +++ b/net-irc/atheme-services/atheme-services-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-9999.ebuild,v 1.5 2012/05/17 00:48:10 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-9999.ebuild,v 1.6 2014/11/09 08:02:06 zlogene Exp $ -EAPI=4 +EAPI=5 inherit git-2 user eutils flag-o-matic perl-module -- cgit v1.2.3-65-gdbad