From 34dea8e38f88007799629d0a56b12dec480b1d21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Jun 2021 14:45:01 +0100 Subject: gentoo resync : 20.06.2021 --- net-irc/Manifest.gz | Bin 8205 -> 8214 bytes net-irc/limnoria-plugins-chantracker/Manifest | 4 +- ...mnoria-plugins-chantracker-1.5_p20210210.ebuild | 35 ---- ...mnoria-plugins-chantracker-1.5_p20210619.ebuild | 35 ++++ net-irc/limnoria-plugins-jlu5/Manifest | 4 +- ...limnoria-plugins-jlu5-20200105_p20210305.ebuild | 41 ----- ...limnoria-plugins-jlu5-20200105_p20210610.ebuild | 41 +++++ net-irc/limnoria-plugins-progval/Manifest | 2 + .../limnoria-plugins-progval-20210616.ebuild | 38 +++++ net-irc/limnoria/Manifest | 4 +- net-irc/limnoria/limnoria-20210411.ebuild | 78 --------- net-irc/limnoria/limnoria-20210617.ebuild | 78 +++++++++ net-irc/unrealircd/Manifest | 4 +- net-irc/unrealircd/unrealircd-5.2.0.1.ebuild | 176 +++++++++++++++++++++ net-irc/unrealircd/unrealircd-5.2.0.ebuild | 176 --------------------- 15 files changed, 378 insertions(+), 338 deletions(-) delete mode 100644 net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210210.ebuild create mode 100644 net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210619.ebuild delete mode 100644 net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210305.ebuild create mode 100644 net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210610.ebuild create mode 100644 net-irc/limnoria-plugins-progval/limnoria-plugins-progval-20210616.ebuild delete mode 100644 net-irc/limnoria/limnoria-20210411.ebuild create mode 100644 net-irc/limnoria/limnoria-20210617.ebuild create mode 100644 net-irc/unrealircd/unrealircd-5.2.0.1.ebuild delete mode 100644 net-irc/unrealircd/unrealircd-5.2.0.ebuild (limited to 'net-irc') diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz index 1d1ac49bc728..ab06ccc802d7 100644 Binary files a/net-irc/Manifest.gz and b/net-irc/Manifest.gz differ diff --git a/net-irc/limnoria-plugins-chantracker/Manifest b/net-irc/limnoria-plugins-chantracker/Manifest index bd5018456e72..50021b135583 100644 --- a/net-irc/limnoria-plugins-chantracker/Manifest +++ b/net-irc/limnoria-plugins-chantracker/Manifest @@ -1,5 +1,5 @@ -DIST limnoria-plugins-chantracker-1.5_p20210210.tar.gz 46836 BLAKE2B f97418160f6261a87ef6239def036b629ffe88d06e5f4980722ca1b6d05c1cd0c12d8c6d425150c8aa2a43a1b21e3f0070dfe55fc71a8aa0cf5bed20d57adcaa SHA512 c6d25d2d84cda24a5e589952e75dd79569296d23e24f3872c553d1b78ebb782c2f6257248238a4bdd9d6a1efdad2836e4fad1546adb81581d7daedcc153a90b5 DIST limnoria-plugins-chantracker-1.5_p20210530.tar.gz 47071 BLAKE2B b38cbe399d6cda9ee9d5e873a50d2f529d91b697c32ed4d74fb8812b8090a42103283878f8874f0a974cfdf1d117e2401935edef678d1d71af338760555a7a92 SHA512 7b5e459d17b28fd00b9306a7acd8c2a36eb668031c24eb05b9c51354e5cf270fb1b388949047c0531d9e8cd62291d8f7ec9bd339d3b3b6c1680dc184c44d3b21 -EBUILD limnoria-plugins-chantracker-1.5_p20210210.ebuild 1020 BLAKE2B 8972efe119592362c5768bd18fe3e24f5237f70d6f42b05dd683ea5e1300dec11bf73e72b9cb72a214afb9efc3b76f70d5a14f24fa9921b2ca87c4f10b542416 SHA512 1d1f2794f08ccbd72be61cb596e85e3c0a9539a1c41b688f3668d70fb5353ce7639ced78623cf4115317a103880ab4c3bff1dd3be98b529a678acbe67963aed1 +DIST limnoria-plugins-chantracker-1.5_p20210619.tar.gz 47777 BLAKE2B 14e44e025d4044c38504ec9cea31b08d9a442769b5dc3cf6d71b89526ec98a43a31068a5557b3fc257c6254b0f6aab989d148066b79667b17c75f01e741c10ea SHA512 8ef99fbd41929172ae362a656030fda7f4d522eddfd29a3f9e8f9e9a138903faa672c4b872ce76da39d716f3443c159e7c40111cee015230e781bc387c299718 EBUILD limnoria-plugins-chantracker-1.5_p20210530.ebuild 1020 BLAKE2B 7a02667ec17f684398142d2df570f17a99dda5564655b370257dd9568abca29ba02b8c184d456505c627f6d2860cc8a798ebe5a3ad2bc2b9abd1ade4017cb191 SHA512 b8ae2b4c6ca1e5a6169512289347d4ac5a4ec5eae8da573a7c9050f5b4e82aa6a4b8fab4c206b952b9395be318e6e5b0d3b06d4606333a2cf3c23f970aadf84d +EBUILD limnoria-plugins-chantracker-1.5_p20210619.ebuild 1020 BLAKE2B e1c2c4c2cb7fbf29939cb80db319b53ac365add58b87b8a6553c1eca4a02837814fb305d442e66467c14b5192640ecbe835d6244e761ee6b26fcf4c3fac317ec SHA512 dfa0b2e9e309d6b8aa5143b83caaa9f24e4dad85d3e75e2c80739eae0fa0e4f0420170a4c02d8251e538f764f7f791aedd7d83ef270e872e6d84e18a6a51fc56 MISC metadata.xml 419 BLAKE2B ca36300026f95b2e652403a70dba11234c7695c1a881de7d569843cf218fa0e6e7b55f00f76b1ac6c61dc9a2651a2bcbe762219c831e5bd9e6bfbe1472e47877 SHA512 470f1ca9228028f7303dac8795c9e61622347eb1d1f95b6139bd249d7cc367fca91093854f9c8d808b1400b437eac4cf1290212c3022451ec56b3bcf5c95a552 diff --git a/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210210.ebuild b/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210210.ebuild deleted file mode 100644 index ac0863ae66d4..000000000000 --- a/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210210.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit vcs-snapshot - -COMMIT="2962c3190b72f432d60a558bb711983a235e7bb9" - -DESCRIPTION="supybot ban management and channel flood/spam/repeat protections plugin" -HOMEPAGE="https://github.com/ncoevoet/ChanTracker" -SRC_URI="https://github.com/ncoevoet/ChanTracker/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" -SLOT=0 - -RDEPEND="net-irc/limnoria" - -DOCS="README.md" - -src_install() { - default - insinto /usr/share/limnoria-extra-plugins/ncoevoet/ChanTracker - doins -r * -} - -pkg_postinst() { - elog "Before this plugin can be used, your bot will need to be told where to" - elog "load it from. To do this, add /usr/share/limnoria-extra-plugins/ncoevoet when" - elog "prompted during the bot creation wizard, or add it to a running bots config" - elog "with the command" - elog - elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/ncoevoet" -} diff --git a/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210619.ebuild b/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210619.ebuild new file mode 100644 index 000000000000..b1b787904b84 --- /dev/null +++ b/net-irc/limnoria-plugins-chantracker/limnoria-plugins-chantracker-1.5_p20210619.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vcs-snapshot + +COMMIT="a3d25c44b7a56e3af7b3d8b48ee68a311deed5df" + +DESCRIPTION="supybot ban management and channel flood/spam/repeat protections plugin" +HOMEPAGE="https://github.com/ncoevoet/ChanTracker" +SRC_URI="https://github.com/ncoevoet/ChanTracker/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT=0 + +RDEPEND="net-irc/limnoria" + +DOCS="README.md" + +src_install() { + default + insinto /usr/share/limnoria-extra-plugins/ncoevoet/ChanTracker + doins -r * +} + +pkg_postinst() { + elog "Before this plugin can be used, your bot will need to be told where to" + elog "load it from. To do this, add /usr/share/limnoria-extra-plugins/ncoevoet when" + elog "prompted during the bot creation wizard, or add it to a running bots config" + elog "with the command" + elog + elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/ncoevoet" +} diff --git a/net-irc/limnoria-plugins-jlu5/Manifest b/net-irc/limnoria-plugins-jlu5/Manifest index e8cb1829f939..ec7a61316cf7 100644 --- a/net-irc/limnoria-plugins-jlu5/Manifest +++ b/net-irc/limnoria-plugins-jlu5/Manifest @@ -1,5 +1,5 @@ -DIST limnoria-plugins-jlu5-20200105_p20210305.tar.gz 95273 BLAKE2B cfdea4fadbfa050c56dd0f307cf43506391d0e35e31b46a649aaf70cfd4c8979e14192d66af408e33b4cc8c0e1917fdb5d2d2cf86029a9b6b204a56936c22b76 SHA512 b031cd9be28989499ed063e8bd2af8079415075710be4dcfd73051eb325e2e321a1589c6d7adc69a0e5ce8b4a0a96c4bb6b1108c4ee479bc074b70738727dd64 DIST limnoria-plugins-jlu5-20200105_p20210530.tar.gz 99973 BLAKE2B a67e53a75a99ed406782cc74cc93c19ad4e7298a4e9b47781559609c7ed77fed157febb646147254f0fb8e73627f1fdfa23e80cd1893d394c779ee54f93357d9 SHA512 03f537b7100a747c408a754d368e679ceea313747cd27dea9ca26cc7d3cf9b4319faf37656b0c7b5134d8ca6a94a9bbf4c345aa8015bcab2a99648d38dddc272 -EBUILD limnoria-plugins-jlu5-20200105_p20210305.ebuild 1031 BLAKE2B 19ce4496278d49f9bdde443be28309603012c04833fbc680a4461b0d12dd9a522f647ef68c60010fa1e183dc103d9c7c4ad74b953b61f93569ddce7cc877d448 SHA512 c9a26be989eb83338568148d90bd64d32cc0b32d6230c3492c5de9d52c44b5e92f57af199ac14dfcc5ee9b2752a7fc1f165d281f504d2714471cfc7b58f26958 +DIST limnoria-plugins-jlu5-20200105_p20210610.tar.gz 100971 BLAKE2B 4000ce710f287d40e0ce84946fc682f702bfa562cfc114b98a8951714d30cdceff32a599850818cf4e2072167797e6db1f3fa9a3209712a04b16ecea491b87ba SHA512 bd1eaa294af7909f400c622008dfcedbe0ac9df2eb2414f2bfe97b5eff83c0d635c09861686359ec1d8103f404ce6ea606db3434917caf1b406a8875bbfb1dac EBUILD limnoria-plugins-jlu5-20200105_p20210530.ebuild 1031 BLAKE2B b594e855da77e4b4b811d25092f087cce7c59fbcf2a6732c2fbf54fd030515ba69844b2a8755c484f59b4eca1df9ef9211251de6b082f6e13a3dbf0904ff98a2 SHA512 fe89093287d636b27406234d70afeefcff7a54914439e6f32b918c8d0a40574ae46bbebd1661bf5cd10e6f02d20cee539c8462debe866525f7eabd68a75d647b +EBUILD limnoria-plugins-jlu5-20200105_p20210610.ebuild 1031 BLAKE2B 4cf2cfa4a35bfb153e1bf5fc6da77b8afc3ac86422a7c0e43801c024d64c6b392183d951498da29c69fb44d6a70832c7de9c6dd800f18a2fbecb8bd9ee4e10d9 SHA512 5a0664e6e269fcc36cc4bfabdcb1f2ad8a81d45fe7db082b33cc8278457296344aa9288158b414a973d23216521e638b99f7cc03294857e46cba615b48db7843 MISC metadata.xml 411 BLAKE2B bed572da8c5e82c8cda548c287e3ecdfbfc8b7db97144f55b8d5e075eb794e6f1c6ff6c20eb3be15f01f71e244ecc9d64a112886b990cd5a09659b836e8102df SHA512 63d0c4ce1e98bb3068293b6f7fd33842085be1d7edfc4f3f63f9ceadda23531e99abb0e6a1ec1877baec3e8f0a1e6edda5742085a615c9404e0975d1fd102ddd diff --git a/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210305.ebuild b/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210305.ebuild deleted file mode 100644 index 49b7c565b8c5..000000000000 --- a/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210305.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit vcs-snapshot - -COMMIT="f9b6b4c24786460a4ad12d39af4d7865ebdf2904" - -DESCRIPTION="A collection of plugins for the Limnoria IRC bot." -HOMEPAGE="https://github.com/jlu5/SupyPlugins" -SRC_URI="https://github.com/jlu5/SupyPlugins/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -KEYWORDS="~amd64 ~x86" -SLOT=0 - -RDEPEND=" - net-irc/limnoria - dev-python/beautifulsoup -" - -DOCS=( - "README.md" - "requirements.txt" -) - -src_install() { - default - insinto /usr/share/limnoria-extra-plugins/jlu5 - doins -r * -} - -pkg_postinst() { - elog "Before these plugins can be used, your bot will need to be told where to" - elog "load them from. To do this, add /usr/share/limnoria-extra-plugins/jlu5 when" - elog "prompted during the bot creation wizard, or add it to a running bots config" - elog "with the command" - elog - elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/jlu5" -} diff --git a/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210610.ebuild b/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210610.ebuild new file mode 100644 index 000000000000..09cf4219cae2 --- /dev/null +++ b/net-irc/limnoria-plugins-jlu5/limnoria-plugins-jlu5-20200105_p20210610.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vcs-snapshot + +COMMIT="3ea070a8036e7262c6fdbd39bf2c7d6407a20f7c" + +DESCRIPTION="A collection of plugins for the Limnoria IRC bot." +HOMEPAGE="https://github.com/jlu5/SupyPlugins" +SRC_URI="https://github.com/jlu5/SupyPlugins/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD GPL-2+" +KEYWORDS="~amd64 ~x86" +SLOT=0 + +RDEPEND=" + net-irc/limnoria + dev-python/beautifulsoup +" + +DOCS=( + "README.md" + "requirements.txt" +) + +src_install() { + default + insinto /usr/share/limnoria-extra-plugins/jlu5 + doins -r * +} + +pkg_postinst() { + elog "Before these plugins can be used, your bot will need to be told where to" + elog "load them from. To do this, add /usr/share/limnoria-extra-plugins/jlu5 when" + elog "prompted during the bot creation wizard, or add it to a running bots config" + elog "with the command" + elog + elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/jlu5" +} diff --git a/net-irc/limnoria-plugins-progval/Manifest b/net-irc/limnoria-plugins-progval/Manifest index c3865962630b..8fb89e0f52b5 100644 --- a/net-irc/limnoria-plugins-progval/Manifest +++ b/net-irc/limnoria-plugins-progval/Manifest @@ -1,3 +1,5 @@ DIST limnoria-plugins-progval-20210523.tar.gz 4936882 BLAKE2B 3404d6d07f1d2e55357759000734df37566f2b9563149ea2efbcc2b4b3dbbc73e321280ee2846ed61df8b23400bcd8e1f5088921ffa1a77bf86625713c00aa98 SHA512 6a3b9d0c65070b8c6c4f762f273f4ebee37550c4aca00e82fc7232a957863aaff5bd5d1768eb8b00b40666b71f4d83ec6253d0f42132ebf7563208aadaacd48d +DIST limnoria-plugins-progval-20210616.tar.gz 4940211 BLAKE2B c6bdc9e1949303c18081d7ab16bb12e6c51b3af6ac70c5ba5cf5352fe13befe7b1896a8178df4b60c19ff10bb81f9454d20cff89218ead55ea218bb9d5e5c728 SHA512 b2f962890bf0d125ec77f0cdfec0e4449444565bd429c3bb6c2f0386e2dfdee9f9bdaa8c25334fced4866c19cb29220a045e83f40c6e35476d44e2c1d0d4c325 EBUILD limnoria-plugins-progval-20210523.ebuild 1043 BLAKE2B 9d736be8c03ddae9992f96702629a0c7102797f3ad27938cbd383193669022c09dfdac9bdd8b2efbd545db922cc1100d7d5b443598d6c8caed1818b2c1e3d9c8 SHA512 7e8ef11988437d18f331c121b73ddc79ff66bbf40814397d23c2984c24fee9e54bb54b3f2dcc787d4ba73a84089baa7f349552a2fbe5e24c9fcc3b8acc773efd +EBUILD limnoria-plugins-progval-20210616.ebuild 1042 BLAKE2B 3f6bc0242c97373d1f6f2dd22aa408813a33d01b77ac13b10ed8c3af25951b728c4b4d808a53bfd854f60a11e7dda3918e153c1db8a81cf924688ce81938ad85 SHA512 cda409ffec963f212b2d8fdaf999de8959d239c950ccd3ca9812c40c8884059d1ba4d963642dfa1ac10ddc8862ee6efac1ae99cb5e99811558c638a8eac2c5e7 MISC metadata.xml 425 BLAKE2B cbe61a9744a8e26cd1c10bbf799eb2957e76befa76b350565383543b2b1373327c61aa011778b6688f15e58ec7b727365980b195609e085d4c5ceb2aab45e2e8 SHA512 efd2dc704d5fa2f11df62ca009d7fb7c2f2abc6244917c87b6dddcfd7dff22587c20172a4c3136ef79c7f534fd2f52181dc3557567abfa804f0748dc69942585 diff --git a/net-irc/limnoria-plugins-progval/limnoria-plugins-progval-20210616.ebuild b/net-irc/limnoria-plugins-progval/limnoria-plugins-progval-20210616.ebuild new file mode 100644 index 000000000000..be3aa84bc1c1 --- /dev/null +++ b/net-irc/limnoria-plugins-progval/limnoria-plugins-progval-20210616.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vcs-snapshot + +COMMIT="2049ffbf1fe1e6f26ffad74e628c2adbb84097fb" + +DESCRIPTION="Collection of plugins for Supybot/Limnoria I wrote or forked." +HOMEPAGE="https://github.com/ProgVal/Supybot-plugins" +SRC_URI="https://github.com/ProgVal/Supybot-plugins/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD GPL-2 GPL-3 MIT" +KEYWORDS="~amd64 ~x86" +SLOT=0 + +RDEPEND="net-irc/limnoria" + +DOCS=( + "README.md" + "requirements.txt" +) + +src_install() { + default + insinto /usr/share/limnoria-extra-plugins/ProgVal + doins -r * +} + +pkg_postinst() { + elog "Before this plugin can be used, your bot will need to be told where to" + elog "load it from. To do this, add /usr/share/limnoria-extra-plugins/ProgVal when" + elog "prompted during the bot creation wizard, or add it to a running bots config" + elog "with the command" + elog + elog " config directories.plugins [config directories.plugins], /usr/share/limnoria-extra-plugins/ProgVal" +} diff --git a/net-irc/limnoria/Manifest b/net-irc/limnoria/Manifest index e9d2f1167867..3e9f0a0ec217 100644 --- a/net-irc/limnoria/Manifest +++ b/net-irc/limnoria/Manifest @@ -1,6 +1,6 @@ -DIST limnoria-20210411.tar.gz 1084991 BLAKE2B 6bca9a2583748ae2b1c26670a762d0ee1307478b6d587e32c816c880d4d1ac6495f79d07bd8d7068867b1a9dd1bff51233e5636c0d0371e2ee1c19617a9a7872 SHA512 2c53d6ecd2457fae77076ad5ee0c4fa61c42970f8d43891b6d9adbabae80176ccab2789fc6a7129db3545a76f1850cf86de50aa3814b335d42f1220a2818c36c DIST limnoria-20210527.tar.gz 1092017 BLAKE2B 1c01ecbb47927d62e30e1768bb8e4574bad7422fea379ddd3d6700351a2f8dd006370a24aeeb7a5b10003e53f1010c8fb3998ecf1ef4f11a2ce48f9145605d30 SHA512 2e09415931cb3bdc358d4a243be3f1abccd569f2371d5d2b2c67e856492475affa473c8c32c77cb2c973b64202f9c6657397fa35b5b16086fbaf4e5b44706184 -EBUILD limnoria-20210411.ebuild 2410 BLAKE2B 0063b7338075380d0707970ea907e2a02b1148e98a352e2931ea0012a7de69a3960d1d055c154d28bcb0c6c78e067e03e90dc8c89a2331f2e0f7af2579df1a20 SHA512 36fbd82577f27757a7c1ddaf699d1b50c1fc910ad4a8ab443ca193c30f7a675d39223cbd28b8cfe3975f8eb5c18f87c1075c7c7b271a2855c06698917dbf8767 +DIST limnoria-20210617.tar.gz 1094438 BLAKE2B 3253af8ad764acfaadf90ce49d0f40a47f32554d75c3860079284f98373eb3bc8f60f1f308b501265973c0e6c2a552211415f4f9c3044ce78f818d305b598cbe SHA512 25dddf843e22967a95c769c62f9398129830f63e23d506f0a9abaf7044fa9ffbeca95138c494caf3b36813919c7b1f0880b0715a06bc519de1a87837a948a039 EBUILD limnoria-20210527.ebuild 2410 BLAKE2B 0063b7338075380d0707970ea907e2a02b1148e98a352e2931ea0012a7de69a3960d1d055c154d28bcb0c6c78e067e03e90dc8c89a2331f2e0f7af2579df1a20 SHA512 36fbd82577f27757a7c1ddaf699d1b50c1fc910ad4a8ab443ca193c30f7a675d39223cbd28b8cfe3975f8eb5c18f87c1075c7c7b271a2855c06698917dbf8767 +EBUILD limnoria-20210617.ebuild 2410 BLAKE2B 0063b7338075380d0707970ea907e2a02b1148e98a352e2931ea0012a7de69a3960d1d055c154d28bcb0c6c78e067e03e90dc8c89a2331f2e0f7af2579df1a20 SHA512 36fbd82577f27757a7c1ddaf699d1b50c1fc910ad4a8ab443ca193c30f7a675d39223cbd28b8cfe3975f8eb5c18f87c1075c7c7b271a2855c06698917dbf8767 EBUILD limnoria-9999.ebuild 2410 BLAKE2B 0063b7338075380d0707970ea907e2a02b1148e98a352e2931ea0012a7de69a3960d1d055c154d28bcb0c6c78e067e03e90dc8c89a2331f2e0f7af2579df1a20 SHA512 36fbd82577f27757a7c1ddaf699d1b50c1fc910ad4a8ab443ca193c30f7a675d39223cbd28b8cfe3975f8eb5c18f87c1075c7c7b271a2855c06698917dbf8767 MISC metadata.xml 537 BLAKE2B b5b3c724a256cfeb8c99426ebe011fab7aa09f099c92f5ab4684989a4553a6820816bebeb12e8fbe1801c54d9b279e47e9ca4f46f654f3575d5bc5f7badb1b53 SHA512 7583b486dbc023fc3dadd694ca8bc123296685b613e2eebd4f4f8de0105c68a58f0dc7c3997c3b1a5a93bb689758199e59f8e25fc136a310bea7568ce90cf5dd diff --git a/net-irc/limnoria/limnoria-20210411.ebuild b/net-irc/limnoria/limnoria-20210411.ebuild deleted file mode 100644 index 03b9171f694b..000000000000 --- a/net-irc/limnoria/limnoria-20210411.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 - -MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" -MY_PN="Limnoria" -MY_P="${MY_PN}-${MY_PV}" - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/ProgVal/${MY_PN}.git" - EGIT_BRANCH="testing" - inherit git-r3 -else - SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${MY_PN}-master-${MY_PV}" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Python based extensible IRC infobot and channel bot" -HOMEPAGE="https://docs.limnoria.net" -LICENSE="BSD GPL-2 GPL-2+" -SLOT="0" -IUSE="crypt ssl test" -RESTRICT=" !test? ( test )" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/ecdsa[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/PySocks[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] ) - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - !net-irc/supybot - !net-irc/supybot-plugins" -BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" - -python_prepare() { - einfo "Removing the RSS plugin because of clashes between libxml2's Python3" - einfo "bindings and feedparser." - rm -r "plugins/RSS" || die -} - -python_test() { - pushd "${T}" > /dev/null || die - PLUGINS_DIR="${BUILD_DIR}"/lib/supybot/plugins - EXCLUDE_PLUGINS=() - # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD - # runs successfully when running the tests on the installed system - EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Unix" ) - # Runs despite --no-network (GH #1392) - EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Aka" ) - "${EPYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \ - --plugins-dir="${PLUGINS_DIR}" --no-network \ - --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \ - || die "Tests failed under ${EPYTHON}" - popd > /dev/null || die -} - -python_install_all() { - distutils-r1_python_install_all - doman man/* -} - -pkg_postinst() { - elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/" - elog "" - elog "Use supybot-wizard to create a configuration file." - elog "Run supybot to use the bot." -} diff --git a/net-irc/limnoria/limnoria-20210617.ebuild b/net-irc/limnoria/limnoria-20210617.ebuild new file mode 100644 index 000000000000..03b9171f694b --- /dev/null +++ b/net-irc/limnoria/limnoria-20210617.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-r1 + +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PN="Limnoria" +MY_P="${MY_PN}-${MY_PV}" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/ProgVal/${MY_PN}.git" + EGIT_BRANCH="testing" + inherit git-r3 +else + SRC_URI="https://github.com/ProgVal/${MY_PN}/archive/master-${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_PN}-master-${MY_PV}" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Python based extensible IRC infobot and channel bot" +HOMEPAGE="https://docs.limnoria.net" +LICENSE="BSD GPL-2 GPL-2+" +SLOT="0" +IUSE="crypt ssl test" +RESTRICT=" !test? ( test )" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/ecdsa[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + crypt? ( dev-python/python-gnupg[${PYTHON_USEDEP}] ) + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) + !net-irc/supybot + !net-irc/supybot-plugins" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +python_prepare() { + einfo "Removing the RSS plugin because of clashes between libxml2's Python3" + einfo "bindings and feedparser." + rm -r "plugins/RSS" || die +} + +python_test() { + pushd "${T}" > /dev/null || die + PLUGINS_DIR="${BUILD_DIR}"/lib/supybot/plugins + EXCLUDE_PLUGINS=() + # intermittent failure due to issues loading libsandbox.so from LD_PRELOAD + # runs successfully when running the tests on the installed system + EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Unix" ) + # Runs despite --no-network (GH #1392) + EXCLUDE_PLUGINS+=( --exclude="${PLUGINS_DIR}/Aka" ) + "${EPYTHON}" "${BUILD_DIR}"/scripts/supybot-test "${BUILD_DIR}/../test" \ + --plugins-dir="${PLUGINS_DIR}" --no-network \ + --disable-multiprocessing "${EXCLUDE_PLUGINS[@]}" \ + || die "Tests failed under ${EPYTHON}" + popd > /dev/null || die +} + +python_install_all() { + distutils-r1_python_install_all + doman man/* +} + +pkg_postinst() { + elog "Complete user documentation is available at https://limnoria-doc.readthedocs.org/" + elog "" + elog "Use supybot-wizard to create a configuration file." + elog "Run supybot to use the bot." +} diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest index 68fc8b4ae4c8..00c160bff6aa 100644 --- a/net-irc/unrealircd/Manifest +++ b/net-irc/unrealircd/Manifest @@ -3,8 +3,8 @@ AUX unrealircd.initd-r2 1162 BLAKE2B f4b073662d6428122b91e89350bca346daa71af0070 AUX unrealircd.service 177 BLAKE2B 9a58ce4e7785a66beac53afa2ecd276dd6f8e9927de8dfc3e9eab968008ad681a8b9f353bff4951bba8023d5c04affda6b58fde5db8232d0f1f9ae3e470424f0 SHA512 99163776104f2f27a585332004221fac16a9fbf9c8930b0603b5f33aca4c5ac13bdded4d5917143796b3893a19d2f709b0c4d4d635d85bd681f643b3b59131f5 DIST unrealircd-5.0.8.tar.gz 5013231 BLAKE2B 57365a06b8108239ab10f6cff7d4553b08aa428acb5c635c4b9241c3f82459a5aac18c916a4534f3a8fc9ac1fd4c1d9418c7395233603e576eda40c56d81b110 SHA512 45fc0758a870dbb9c3ff55fc7029d1ecff9dcf65680f31ff331f012efbf9c9bffa60a6fe27b9bab69302d26b8293a1089cfaf1c550a3f2802a549f25e4644770 DIST unrealircd-5.0.9.1.tar.gz 5210836 BLAKE2B 1b71c54106a038501782004b183bfc4b148c381150cd293bdbf74f33dd8a244083e7ce55adcf16aee5cd344707d6b1d1843bbf3d83fea0749532f68a954da950 SHA512 1d45be1904c415a60bd5b7e279ee528e0f559207fe763ea8b10a9809a253b0e10d781b8624c85600206a8484bde0ba162c62dc96e12d581d904d483b0b89193a -DIST unrealircd-5.2.0.tar.gz 7166711 BLAKE2B 1bae69bdbe1a33dd87e1c5d5a9965af2c9aba6653a4354d57bd833ea3547a4120a66c649b21620b1fb3991300a30185dee6999cbc144fbc4f744e407f3409c6d SHA512 76d6a28db7cd91ecd155d9e8b2cceede769f58f831d3a6881fd980bc82e88345e62a3fd2c0c88414f58fad88c97cfda6c55523888f58391f1b4307ba13bbdfb8 +DIST unrealircd-5.2.0.1.tar.gz 7166934 BLAKE2B cfaf0d268e6c59aeb05f0b671749a13538e87dd69d98c80ac4eccf9a72876cf991bddec7a84b5bbedb049553819bf02299fe92aee3157f9e4dab143f2a36a388 SHA512 617cb9abf409142e9d31ccde524039d668c0e1d6c254db38c8fe5de2c7b1899b581874cc3f8bc1a4577466baba6fcfc57a429554e688e04b7e957fe8f991ae19 EBUILD unrealircd-5.0.8.ebuild 5083 BLAKE2B 72e72a0b9d169e83eea716169d352265ab56c17dcf0ad80b6b5ca99706c5b37bc9c02329b5c6842c0310002ecfb0c5f0dcd34786f93761de27a860abd603181e SHA512 9b59ddb1ac70b6c332f04445a67130d8bd16f30f1f359f44ae02a2d13aa32eb3c25c6d6c132b31d3297c16cebbba577cefd24e558af92ae0d796c477b4ee9d6d EBUILD unrealircd-5.0.9.1.ebuild 5212 BLAKE2B e557f44267a1b0ac99c65ab057fac0ff7dbad35a38cee8a35fadef2c5760f86df5af0e41082d972d70cee581063d070fbd89b230e4b0541c05610042c3c6c9f0 SHA512 a037f04a5f3d976094fa2214af549d63e6d4c469687a891a3c6185fd0324ce3b0a6bdfc1ce46333f205e59ad38ae296c704c06f067f43f140e86c2ca7397fc0d -EBUILD unrealircd-5.2.0.ebuild 5234 BLAKE2B 094674a2d20833a7a2e04d1207d4c709b7a513cce087f76ba76438aa342b7d16339ddfce711d209ab8b9d51b829854532f3c4be62bf47243a74d36be99f44a2e SHA512 72e69a869e9442b263e73aa3887ff26c38b3bb7b059c3c8b7741df61c72ac92d26541099766eaaa297140a800f03e41f1249710867466d338efdf4b2093773fc +EBUILD unrealircd-5.2.0.1.ebuild 5234 BLAKE2B 094674a2d20833a7a2e04d1207d4c709b7a513cce087f76ba76438aa342b7d16339ddfce711d209ab8b9d51b829854532f3c4be62bf47243a74d36be99f44a2e SHA512 72e69a869e9442b263e73aa3887ff26c38b3bb7b059c3c8b7741df61c72ac92d26541099766eaaa297140a800f03e41f1249710867466d338efdf4b2093773fc MISC metadata.xml 859 BLAKE2B bea2149aa6ecf19297e79bbffe9d3d76cac8016324f40cd056ae34544cf9aacb9976b36f0090ab1bb60a21c40cd735d85cc6766cb741393e106326f61bb5b2e3 SHA512 7b35b9fa89319fc0c7743ce4b2af6244b9d56a715ecbc74a0385f93c66651153c7e8be0171a1e0642a90767a94e1b809b49741d26472e9e5f40809450b222237 diff --git a/net-irc/unrealircd/unrealircd-5.2.0.1.ebuild b/net-irc/unrealircd/unrealircd-5.2.0.1.ebuild new file mode 100644 index 000000000000..5716205a4010 --- /dev/null +++ b/net-irc/unrealircd/unrealircd-5.2.0.1.ebuild @@ -0,0 +1,176 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SSL_CERT_MANDATORY=1 +inherit autotools ssl-cert systemd + +DESCRIPTION="An advanced Internet Relay Chat daemon" +HOMEPAGE="https://www.unrealircd.org/" +SRC_URI="https://www.unrealircd.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" +IUSE="class-nofakelag curl +operoverride operoverride-verify +prefixaq showlistmodes" + +RDEPEND=" + acct-group/unrealircd + acct-user/unrealircd + >=app-crypt/argon2-20171227-r1:= + dev-libs/libpcre2 + dev-libs/libsodium:= + >=net-dns/c-ares-1.7:= + dev-libs/openssl:0= + curl? ( net-misc/curl[adns] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( doc/{Authors,Donation,RELEASE-NOTES.md,tao.of.irc,technical/,translations.txt} ) + +src_prepare() { + # QA check against bundled pkgs + rm -r extras || die + + # building third-party modules (which we don't do) cause a sandbox violation + # bug 704444 + echo "" > src/buildmod || die + + sed -e 's/$(MODULEFLAGS)/$(LDFLAGS) &/' -i src/modules/{,*/}Makefile.in || die + + if use class-nofakelag; then + sed -i -e 's:^//#undef\( FAKELAG_CONFIGURABLE\):#define\1:' include/config.h || die + fi + + # File is missing from the 5.0.9.1 tarball + sed -i -e '/unrealircd-upgrade-script/d' configure.ac || die + + default + eautoreconf +} + +src_configure() { + # Default value for privatelibdir adds a build path to -Wl,-rpath. + econf \ + --with-bindir="${EPREFIX}"/usr/bin \ + --with-cachedir="${EPREFIX}"/var/lib/${PN} \ + --with-confdir="${EPREFIX}"/etc/${PN} \ + --with-datadir="${EPREFIX}"/var/lib/${PN} \ + --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --with-logdir="${EPREFIX}"/var/log/${PN} \ + --with-modulesdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \ + --without-privatelibdir \ + --with-pidfile="${EPREFIX}"/run/${PN}/ircd.pid \ + --with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ + --with-maxconnections=1024 \ + --with-nick-history=2000 \ + --with-permissions=0640 \ + --with-system-argon2 \ + --with-system-cares \ + --with-system-pcre2 \ + --enable-dynamic-linking \ + --enable-ssl="${EPREFIX}"/usr \ + $(use_enable curl libcurl "${EPREFIX}"/usr) \ + $(use_enable prefixaq) \ + $(use_with showlistmodes) \ + $(use_with !operoverride no-operoverride) \ + $(use_with operoverride-verify) +} + +src_install() { + keepdir /var/log/${PN} + keepdir /var/lib/${PN}/tmp + + newbin src/ircd ${PN} + + ( + cd src/modules || die + for subdir in $(find . -type d -print); do + if [[ -n $(shopt -s nullglob; echo ${subdir}/*.so) ]]; then + exeinto /usr/$(get_libdir)/${PN}/modules/"${subdir}" + doexe "${subdir}"/*.so + fi + done + ) + + insinto /etc/${PN} + # Purposefully omitting the examples/ and ssl/ subdirectories. ssl + # is redundant with app-misc/ca-certificates and examples will all + # be in docs anyway. + doins -r doc/conf/{aliases,help} + doins doc/conf/*.conf + newins doc/conf/examples/example.conf ${PN}.conf + keepdir /etc/${PN}/tls + + einstalldocs + + newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} + newconfd "${FILESDIR}"/${PN}.confd-r3 ${PN} + + # config should be read-only + fperms -R 0640 /etc/${PN} + fperms 0750 /etc/${PN}{,/aliases,/help} + fperms 0750 /etc/${PN}/tls + # state is editable but not owned by unrealircd directly + fperms 0770 /var/log/${PN} + fperms 0770 /var/lib/${PN}{,/tmp} + fowners -R root:unrealircd /{etc,var/{lib,log}}/${PN} + + # By default looks in /etc/unrealircd/ssl/curl-ca-bundle.crt. Fix + # that to look for ca-certificates-provided file instead. %s is + # CONFDIR. #618066 + dosym ../../ssl/certs/ca-certificates.crt /etc/${PN}/tls/curl-ca-bundle.crt + + systemd_dounit "${FILESDIR}"/${PN}.service +} + +pkg_postinst() { + # Move docert call from src_install() to install_cert in pkg_postinst for + # bug #201682 + if [[ ! -f "${EROOT}"/etc/${PN}/tls/server.cert.key ]]; then + if [[ -f "${EROOT}"/etc/${PN}/ssl/server.cert.key ]]; then + ewarn "The location ${PN} looks for SSL certificates has changed" + ewarn "from ${EROOT}/etc/${PN}/ssl to ${EROOT}/etc/${PN}/tls." + ewarn "Please move your existing certificates." + else + ( + umask 0037 + install_cert /etc/${PN}/tls/server.cert + chown unrealircd "${EROOT}"/etc/${PN}/tls/server.cert.* + ln -snf server.cert.key "${EROOT}"/etc/${PN}/tls/server.key.pem + ) + fi + fi + + local unrealircd_conf="${EROOT}"/etc/${PN}/${PN}.conf + # Fix up the default cloak keys. + if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then + ebegin "Generating cloak-keys" + local keys=( + $(su ${PN} -s /bin/sh -c "${PN} -k 2>&1 | tail -n 3") + ) + [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]] + eend $? + + ebegin "Substituting cloak-keys into ${unrealircd_conf}" + sed -i \ + -e '/cloak-keys/ { +n +s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/ +n +s/"and another one";/"'"${keys[1]}"'";/ +n +s/"and another one";/"'"${keys[2]}"'";/ +}' \ + "${unrealircd_conf}" + eend $? + fi + + elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" + elog + elog "You can also configure ${PN} start at boot with rc-update(1)." + elog "It is recommended to run unrealircd as an unprivileged user." + elog "The provided init.d script does this for you." +} diff --git a/net-irc/unrealircd/unrealircd-5.2.0.ebuild b/net-irc/unrealircd/unrealircd-5.2.0.ebuild deleted file mode 100644 index 5716205a4010..000000000000 --- a/net-irc/unrealircd/unrealircd-5.2.0.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -SSL_CERT_MANDATORY=1 -inherit autotools ssl-cert systemd - -DESCRIPTION="An advanced Internet Relay Chat daemon" -HOMEPAGE="https://www.unrealircd.org/" -SRC_URI="https://www.unrealircd.org/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" -IUSE="class-nofakelag curl +operoverride operoverride-verify +prefixaq showlistmodes" - -RDEPEND=" - acct-group/unrealircd - acct-user/unrealircd - >=app-crypt/argon2-20171227-r1:= - dev-libs/libpcre2 - dev-libs/libsodium:= - >=net-dns/c-ares-1.7:= - dev-libs/openssl:0= - curl? ( net-misc/curl[adns] ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( doc/{Authors,Donation,RELEASE-NOTES.md,tao.of.irc,technical/,translations.txt} ) - -src_prepare() { - # QA check against bundled pkgs - rm -r extras || die - - # building third-party modules (which we don't do) cause a sandbox violation - # bug 704444 - echo "" > src/buildmod || die - - sed -e 's/$(MODULEFLAGS)/$(LDFLAGS) &/' -i src/modules/{,*/}Makefile.in || die - - if use class-nofakelag; then - sed -i -e 's:^//#undef\( FAKELAG_CONFIGURABLE\):#define\1:' include/config.h || die - fi - - # File is missing from the 5.0.9.1 tarball - sed -i -e '/unrealircd-upgrade-script/d' configure.ac || die - - default - eautoreconf -} - -src_configure() { - # Default value for privatelibdir adds a build path to -Wl,-rpath. - econf \ - --with-bindir="${EPREFIX}"/usr/bin \ - --with-cachedir="${EPREFIX}"/var/lib/${PN} \ - --with-confdir="${EPREFIX}"/etc/${PN} \ - --with-datadir="${EPREFIX}"/var/lib/${PN} \ - --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --with-logdir="${EPREFIX}"/var/log/${PN} \ - --with-modulesdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \ - --without-privatelibdir \ - --with-pidfile="${EPREFIX}"/run/${PN}/ircd.pid \ - --with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ - --with-maxconnections=1024 \ - --with-nick-history=2000 \ - --with-permissions=0640 \ - --with-system-argon2 \ - --with-system-cares \ - --with-system-pcre2 \ - --enable-dynamic-linking \ - --enable-ssl="${EPREFIX}"/usr \ - $(use_enable curl libcurl "${EPREFIX}"/usr) \ - $(use_enable prefixaq) \ - $(use_with showlistmodes) \ - $(use_with !operoverride no-operoverride) \ - $(use_with operoverride-verify) -} - -src_install() { - keepdir /var/log/${PN} - keepdir /var/lib/${PN}/tmp - - newbin src/ircd ${PN} - - ( - cd src/modules || die - for subdir in $(find . -type d -print); do - if [[ -n $(shopt -s nullglob; echo ${subdir}/*.so) ]]; then - exeinto /usr/$(get_libdir)/${PN}/modules/"${subdir}" - doexe "${subdir}"/*.so - fi - done - ) - - insinto /etc/${PN} - # Purposefully omitting the examples/ and ssl/ subdirectories. ssl - # is redundant with app-misc/ca-certificates and examples will all - # be in docs anyway. - doins -r doc/conf/{aliases,help} - doins doc/conf/*.conf - newins doc/conf/examples/example.conf ${PN}.conf - keepdir /etc/${PN}/tls - - einstalldocs - - newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} - newconfd "${FILESDIR}"/${PN}.confd-r3 ${PN} - - # config should be read-only - fperms -R 0640 /etc/${PN} - fperms 0750 /etc/${PN}{,/aliases,/help} - fperms 0750 /etc/${PN}/tls - # state is editable but not owned by unrealircd directly - fperms 0770 /var/log/${PN} - fperms 0770 /var/lib/${PN}{,/tmp} - fowners -R root:unrealircd /{etc,var/{lib,log}}/${PN} - - # By default looks in /etc/unrealircd/ssl/curl-ca-bundle.crt. Fix - # that to look for ca-certificates-provided file instead. %s is - # CONFDIR. #618066 - dosym ../../ssl/certs/ca-certificates.crt /etc/${PN}/tls/curl-ca-bundle.crt - - systemd_dounit "${FILESDIR}"/${PN}.service -} - -pkg_postinst() { - # Move docert call from src_install() to install_cert in pkg_postinst for - # bug #201682 - if [[ ! -f "${EROOT}"/etc/${PN}/tls/server.cert.key ]]; then - if [[ -f "${EROOT}"/etc/${PN}/ssl/server.cert.key ]]; then - ewarn "The location ${PN} looks for SSL certificates has changed" - ewarn "from ${EROOT}/etc/${PN}/ssl to ${EROOT}/etc/${PN}/tls." - ewarn "Please move your existing certificates." - else - ( - umask 0037 - install_cert /etc/${PN}/tls/server.cert - chown unrealircd "${EROOT}"/etc/${PN}/tls/server.cert.* - ln -snf server.cert.key "${EROOT}"/etc/${PN}/tls/server.key.pem - ) - fi - fi - - local unrealircd_conf="${EROOT}"/etc/${PN}/${PN}.conf - # Fix up the default cloak keys. - if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then - ebegin "Generating cloak-keys" - local keys=( - $(su ${PN} -s /bin/sh -c "${PN} -k 2>&1 | tail -n 3") - ) - [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]] - eend $? - - ebegin "Substituting cloak-keys into ${unrealircd_conf}" - sed -i \ - -e '/cloak-keys/ { -n -s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/ -n -s/"and another one";/"'"${keys[1]}"'";/ -n -s/"and another one";/"'"${keys[2]}"'";/ -}' \ - "${unrealircd_conf}" - eend $? - fi - - elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" - elog - elog "You can also configure ${PN} start at boot with rc-update(1)." - elog "It is recommended to run unrealircd as an unprivileged user." - elog "The provided init.d script does this for you." -} -- cgit v1.2.3