diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-24 10:19:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-24 10:19:03 +0000 |
commit | b279bbe94522565b8feb19b8e5f377d3ea76f157 (patch) | |
tree | e4790abc54cd850232f7d7de49e371fdfe8976c7 /app-misc/carbon-c-relay | |
parent | c5283d322accc6097afec74eab24550829788bab (diff) |
gentoo resync : 24.03.2018
Diffstat (limited to 'app-misc/carbon-c-relay')
-rw-r--r-- | app-misc/carbon-c-relay/Manifest | 6 | ||||
-rw-r--r-- | app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild | 36 | ||||
-rw-r--r-- | app-misc/carbon-c-relay/carbon-c-relay-3.3.ebuild | 56 | ||||
-rw-r--r-- | app-misc/carbon-c-relay/metadata.xml | 2 |
4 files changed, 61 insertions, 39 deletions
diff --git a/app-misc/carbon-c-relay/Manifest b/app-misc/carbon-c-relay/Manifest index 29702d65b323..7500e034122f 100644 --- a/app-misc/carbon-c-relay/Manifest +++ b/app-misc/carbon-c-relay/Manifest @@ -2,10 +2,10 @@ AUX carbon-c-relay.confd 362 BLAKE2B 7d33b9087ab77f07606fef84c4ed3dcff41e5604002 AUX carbon-c-relay.confd-r1 365 BLAKE2B 10a531055296877bb027f5dc6546b054da7e5b84950bbcf8de8d4af552e61fcd9bbebeea3bc432a25f14103c4f2f30db4885259f855182e6923b79649e63fb60 SHA512 a432cf28c86ec45c807eeb5a7b506e7dcc6155c138aea5dc60eb8bcf5036ac0efc3a81fbc044af34dab5f05f250635892c5e706dfd69cc1087f0c283c3aa9393 AUX carbon-c-relay.initd 1678 BLAKE2B f97d7390e0d03ffaa9cca658ac206eff4ea22336f100e860aa81c72e593440c79596af6c0245a8f8759fff2c24084f1019581b44f21e984820a616f10543d09a SHA512 5a3415395affe6c4e315c650733d8e335d5fa8e490ffeba8dc7c944976f3b68ca14e801175a2136499b00fa6adf403428ae509cb9c3596b6a3188ef20d09c575 AUX carbon-c-relay.initd-r1 1801 BLAKE2B 4627b6e0d9a44d5c544ccff0c33557c73dd971929fbb442be79f3913752f39b1d534d4e4e936ebe94ebd5883d56e3f04314b9033c0a5ef7a3cbe7e05e1aeeb42 SHA512 5cf3c424a8be6bb55a80b58ce590838fec8ed26f8f407e8561c1e3ea094e80ad4021d153b3d816ab6d4e6589494d9ce621fe14196e223ef3a092d0aa26a63399 -DIST carbon-c-relay-3.0.tar.gz 153479 BLAKE2B 6b3f4baf1f6323eeb6747a06ce82682a72a7284df4235cdcbd50c765a6f890de46385bf3eab4f919bc11070bc63cafd4975654e9f16e399aa793dc03406d6da5 SHA512 046dd19be1791eaf2b50bd7029f0bbe8ad0805113faf9a80b37571c42d76c0f7661a9273876de8cd5bf1d13fdc8133a8eaf9def28dd8077bf667225726797fdc DIST carbon-c-relay-3.1.tar.gz 271011 BLAKE2B 62d97ba268f121db466a761001f0c5f49e2571edc26c90ee4f40d311cc3f9abb55178ea375c6663407d5fce78c5162a8460a260c9baa7faed3908fc2e4bb9870 SHA512 8c8062e4fa9ec22281b1848923dc73b39c4617b0c6297f57f69080a7aedf07ef8d5c6e0bebbd5ef0faf3a1255ab155475bc40aeee582838d604da1cc2e43ca4e DIST carbon-c-relay-3.2.tar.gz 291396 BLAKE2B 6a7ba4f30498c217505098b3cafa69a481a0bb78776b207cb4120d686a896156a39a0c87795b2766d39c3b0e69d4ed17943bee43e3218bf079931ad2b8360116 SHA512 11065303e18e9e2660150a7ba2137abe48b514abcdba93632a5fa46c8412bfb3472bfebb93584c629e5978be210237fad77f975eb1abb1e07b9cdba119c7eef4 -EBUILD carbon-c-relay-3.0.ebuild 763 BLAKE2B dbeef24e2bde653685aacae04eeda8832a4565692aa46f8cb4713dc4596a61ae6756211558661fcc593e858e1d9b140668935caf953bd1c59e7124bf5c4f7565 SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 +DIST carbon-c-relay-3.3.tar.gz 293055 BLAKE2B 96d4d230e233f20ce02d519804f36787fc30238ba4fb173600e18a52af6a28bb954c476baffefcb229e42f3c2e6ff1d97196c188c527fc72fd5b98982f74451f SHA512 285f5d90c31644543a674b60e017c4d65f39762fe211b14a99583473e6d80313c3f907e4432750e6f25851e4a693457d1609a9bc176744b217f6cf0533ab4879 EBUILD carbon-c-relay-3.1-r1.ebuild 765 BLAKE2B 6596ee93330fbe973d42479a8d8b1b1174464a5ffdc513cfb6235ed069873e59177fa1d9be862a579c2ed4c482b2a8df5b8cb3f9b8dc075ce4615133dbc5a381 SHA512 ab94696270aa31b1c4b48320aa211a4488f613a28497c6d08c502a9e14e642ea89d08233f6f128b7ddb5ef31e361bbe7053e91118d1fdbd4b40a9d1e12ce59fa EBUILD carbon-c-relay-3.2.ebuild 941 BLAKE2B 08b97db03e44cc14b3b1d3d8f8a5acfb9c23d7dead00c2e1c3088b524e5f19865e8599e915d1b84c7ed7414c66cc1c75dba20ba467b8b4d8b34aa69f942f7e22 SHA512 41808fed0c890a1e335986e93ee3fb0ec764ba3e364f151080d477b8546707857f36a834b755d25caab9c393c5e12409b48a497aab292b49921697c8c5546a85 -MISC metadata.xml 399 BLAKE2B 3b59f24909963ce1e8ff9c1291a95d81174eac64df80948990e523e5d75315e653b19ced888bbbc98faf67650086cf133a29373156ab66ef1c171156f2d48fda SHA512 95617c9e65ebec2caf7015ec6e4fdb7fbbdbeccca3375ad53ab5ba974e490ca111fb46b16dbf623648a0808cda4097c4cbb52aeea4c4a5f289d7b2f2ae126950 +EBUILD carbon-c-relay-3.3.ebuild 1468 BLAKE2B 682bd014531308e19c89b5ed966a04929c161d4ef338800e573d06dfa07173a121d490f5b02aeae90a2b76463adf9a03ecce325db8187d2abf04ed35e6568167 SHA512 2d5e58830ac28eefee38f254420d864d30512bd2ef6e60035e9cafe19d3bfa72de752cb672e1191b864d193d8823a4f856bb3f2b6f476dd175e33b2c56c8c967 +MISC metadata.xml 572 BLAKE2B 46f6020c9d2a5187eecbff60365a7d7649e3548c94b4d9f7981dc6efb1a0d66afe82c5e590ef658dbbe763fb6e7f45253420a7e83c181a874fca332035616b62 SHA512 f7811671d545fe45ba401b69c04cdf8118845414bc5f9f1f3869c4517ce72f298a6248752e6c9c140a1877857ca0f03832de83a0e02bb51fd1ef8ecf53f8e7be diff --git a/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild b/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild deleted file mode 100644 index 963456421ce6..000000000000 --- a/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs user - -DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter" -HOMEPAGE="https://github.com/grobian/carbon-c-relay" -SRC_URI="https://github.com/grobian/carbon-c-relay/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" - -pkg_preinst() { - enewgroup carbon - enewuser carbon -1 -1 -1 carbon -} - -src_configure() { - tc-export CC -} - -src_install() { - newbin relay ${PN} - dodoc ChangeLog.md - doman ${PN}.1 - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} diff --git a/app-misc/carbon-c-relay/carbon-c-relay-3.3.ebuild b/app-misc/carbon-c-relay/carbon-c-relay-3.3.ebuild new file mode 100644 index 000000000000..f5a67797fa22 --- /dev/null +++ b/app-misc/carbon-c-relay/carbon-c-relay-3.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter" +HOMEPAGE="https://github.com/grobian/carbon-c-relay" +SRC_URI="https://github.com/grobian/carbon-c-relay/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="lz4 ssl zlib pcre pcre2 +oniguruma" + +# ensure only one of pcre, pcre2 and oniguruma is set, or none (libc) +# unforunately pcre is in global USE, so we have to exclude that here +REQUIRED_USE=" + pcre2? ( !oniguruma ) + oniguruma? ( !pcre2 ) +" +RDEPEND="lz4? ( app-arch/lz4 ) + ssl? ( dev-libs/openssl:0 ) + zlib? ( app-arch/gzip ) + !oniguruma? ( !pcre2? ( pcre? ( dev-libs/libpcre ) ) ) + pcre2? ( dev-libs/libpcre2 ) + oniguruma? ( dev-libs/oniguruma )" +DEPEND="${RDEPEND}" + +pkg_preinst() { + enewgroup carbon + enewuser carbon -1 -1 -1 carbon +} + +src_configure() { + local pcrecfg + if use !pcre2 && use !oniguruma ; then + pcrecfg=$(use_with pcre) + else + pcrecfg="--without-pcre" + fi + + econf $(use_with lz4) $(use_with ssl) $(use_with zlib gzip) \ + "${pcrecfg}" $(use_with pcre2) $(use_with oniguruma) +} + +src_install() { + default + # rename too generic name + mv "${ED}"/usr/bin/{relay,${PN}} || die + dodoc ChangeLog.md + + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} +} diff --git a/app-misc/carbon-c-relay/metadata.xml b/app-misc/carbon-c-relay/metadata.xml index a9d0c9cb929f..5695b7a6de75 100644 --- a/app-misc/carbon-c-relay/metadata.xml +++ b/app-misc/carbon-c-relay/metadata.xml @@ -6,6 +6,8 @@ </maintainer> <use> <flag name="lz4">add support for LZ4 compressed transport</flag> + <flag name="pcre2">use <pkg>dev-libs/libpcre2</pkg> as regex implementation</flag> + <flag name="oniguruma">use <pkg>dev-libs/oniguruma</pkg> as regex implementation</flag> </use> <upstream> <remote-id type="github">grobian/carbon-c-relay</remote-id> |