diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-17 20:03:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-17 20:03:52 +0000 |
commit | 4935506e9a5cbfabd37c64093eac5f36c2ff0017 (patch) | |
tree | af9dd93ea349eacaf28286c7c45c7a083b0b7c31 /app-misc | |
parent | 434d713861b70f6c6563d6ee50a8e64f14c970d9 (diff) |
gentoo resync : 17.02.2018
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 48516 -> 48492 bytes | |||
-rw-r--r-- | app-misc/asciinema/Manifest | 2 | ||||
-rw-r--r-- | app-misc/asciinema/asciinema-2.0.0.ebuild | 32 | ||||
-rw-r--r-- | app-misc/away/Manifest | 2 | ||||
-rw-r--r-- | app-misc/away/away-0.9.5-r2.ebuild | 2 | ||||
-rw-r--r-- | app-misc/calendar/Manifest | 2 | ||||
-rw-r--r-- | app-misc/calendar/calendar-0.9.1-r1.ebuild | 2 | ||||
-rw-r--r-- | app-misc/khal/Manifest | 2 | ||||
-rw-r--r-- | app-misc/khal/khal-0.9.8.ebuild | 43 | ||||
-rw-r--r-- | app-misc/mosquitto/Manifest | 3 | ||||
-rw-r--r-- | app-misc/mosquitto/metadata.xml | 9 | ||||
-rw-r--r-- | app-misc/mosquitto/mosquitto-1.4.14-r1.ebuild | 97 |
12 files changed, 190 insertions, 6 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex d8241e4e9d03..688796b4ace2 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/asciinema/Manifest b/app-misc/asciinema/Manifest index 0908b38c2525..2909cb466951 100644 --- a/app-misc/asciinema/Manifest +++ b/app-misc/asciinema/Manifest @@ -1,3 +1,5 @@ DIST asciinema-1.4.0.tar.gz 35264 BLAKE2B 7a6eb179206afdcbe8d1a68cc7bdd7246cbb8d5ace870da40db2a1159a71f7cb18133c0bf286f0b0c1a4d2b7779fec9d1af602ca8b14d2fce478b84fe0e8adf4 SHA512 23c67a462acdbbbed495e6cc3e0e22ed028effcc945af30b5925854e216c6f74bb1b416d9b0001726732ae8be510796e996bbca69b225c20422143e5ed1aca5c +DIST asciinema-2.0.0.tar.gz 47724 BLAKE2B 28ee2f19bdd7ca27720713af86492d2ac2d3acd53cadfdc82c613e187bcdb4d349c0a7629b7c48630b80c2f62bd20db25ebea43471bd04f205c2afca15b8b9c3 SHA512 af11134af1e69eabbf5a177000026830d418ed5d91e381f27c0631692bbaae04afc3f1086ea2065c54f49f227f7e575938c69d6d3bc8b5f9f06eca3fe084598e EBUILD asciinema-1.4.0.ebuild 713 BLAKE2B 4617bdb9881a0449c26532cd76ac719a971c0f5f034c92dba3ecdb914e25a6029078833e005c0d61a2d982191b3f9f85adb36c568768ad3b20fd03820fd7d4b8 SHA512 2d1fd33eda04f63a60191c1ab8e2fe7289fb1c8925bfe589e1a69107c39c1ed1ddbaca22019468a6667080b3dcccb231b9a03aba158bf511d2b6ca835ed16bce +EBUILD asciinema-2.0.0.ebuild 714 BLAKE2B 6fab7f18d8344a662cda0c71ce546b6f2ebb693acec31749719a3be9e6f2581b60364fef2c32ff28e83812b709d04c5331a4af91bda4be53f0e0bd19437c6898 SHA512 393b45fbd10180a1044cff197964f02a5244f9099ce5f54ad9246f43f51dd42112c0888d5512fa3c05dd6b11c7c27df28feaf83680544e23a96d1eb4506f5274 MISC metadata.xml 352 BLAKE2B a3fc1910fe080d3617e64abfa1d758ac162556451fbdf1500b5b7b5ae0ecc703004483f2e0a322bccabe2857319faf3ad011f75ddf676c950b5fe59a5feeda1e SHA512 382168389e0950d78c6df79b6ad6dcf8bdf54fc9f877b23dd1e69c3983e931590c82a26694279b83834121af33a4aa8915a9c1907da2bd617b895a2cb4c31d74 diff --git a/app-misc/asciinema/asciinema-2.0.0.ebuild b/app-misc/asciinema/asciinema-2.0.0.ebuild new file mode 100644 index 000000000000..802f14de7615 --- /dev/null +++ b/app-misc/asciinema/asciinema-2.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5} ) +inherit distutils-r1 + +DESCRIPTION="Command line recorder for asciinema.org service" +HOMEPAGE="https://asciinema.org/ https://pypi.python.org/pypi/asciinema" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md doc/asciicast-v1.md ) + +python_test() { + nosetests || die +} + +src_install() { + distutils-r1_src_install + doman man/asciinema.1 +} diff --git a/app-misc/away/Manifest b/app-misc/away/Manifest index 75a85c9767df..683b21dc5dc0 100644 --- a/app-misc/away/Manifest +++ b/app-misc/away/Manifest @@ -1,4 +1,4 @@ DIST away-0.9.5.tar.bz2 16909 BLAKE2B 80bbdf50e565c94f37a51dffaf3650eee05c59c1e0ef499c15be13b7e8c8d90defa689b36489a532007d9b018cebb4c4ac9b791c60678dd34375d7ff286cae01 SHA512 9cb0ab5caf80e337ce524ec88ee0ffc5305080be807494ababd122d7c5a00b7e79711537d74d930eb3768a71a31156e9abe5e0d9d424a201a9af31aa1bbc1c2a EBUILD away-0.9.5-r1.ebuild 846 BLAKE2B d774832642767b543d15faf8ed8ef6dc497c4b3147d11e5c2a3a013845d0a9bc9baebc85b6f87259df1b726495d2aebac322e29dbdd9dcea2e7b7fc04b952289 SHA512 1ed2bf3c0a588bd5400c17f71859049b2c24dccaf3f00ac4c8374cf07838542a4e8069d1874b16143ce70daf0857d63adb3677c87d4cdbeb0b4c057ce50714e4 -EBUILD away-0.9.5-r2.ebuild 810 BLAKE2B 4161d711c3ced4d61e08b392024b7a502b25b5a6f3e58c139476460281074612210c49684b4cfe83eabe8de80d8af33d7872db9181df37befcd655dbe7324639 SHA512 210917b3ccab3eac9f052d3f985b2f944fc8122cf46e108b0f1713f0cb5080700c92cb87b8cc5500274412bff30c2ee2561c1a27940512c3869ae1761316fe27 +EBUILD away-0.9.5-r2.ebuild 809 BLAKE2B 08ae4dbcfb74647a12bf00319f21aadbd4edcefca21a759752f7b0dee17d5a9cf3d3f92b44a69ed2d12824575ec3be1f1f5427366f16d85cce6b950d9012b1f0 SHA512 acc209b29641ea731f29e7f0f3e7a456cdd2cf18d7dd33e87ba743ab9b3c0b69f5565ec9dbaf0f567435fa5b32cbc17759afc2071e4c5c7e2bf57228d7140339 MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-misc/away/away-0.9.5-r2.ebuild b/app-misc/away/away-0.9.5-r2.ebuild index e4f0e4077fa3..f9c221d9b662 100644 --- a/app-misc/away/away-0.9.5-r2.ebuild +++ b/app-misc/away/away-0.9.5-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~amd64 ~ppc ~ppc64 sparc x86" IUSE="" RDEPEND=">=sys-libs/pam-0.75" diff --git a/app-misc/calendar/Manifest b/app-misc/calendar/Manifest index 83c767fb4a49..966c3e6a9ed5 100644 --- a/app-misc/calendar/Manifest +++ b/app-misc/calendar/Manifest @@ -1,4 +1,4 @@ DIST calendar-0.9.1.tar.bz2 65225 BLAKE2B b8ee591005d57fdb3e18412c9665ee3447f607224efad261ca0cf7a3dc88e94e8bfb8309b19996e38e7e18c26bafcaddc9ebf7d612ed25d7d1d159b63b7b6827 SHA512 c8f373ad06265720ab6ba1edb9066cb5474806d023bf0cb3a35876c5bad72de8bac8ab58c2b6d3a9f418d20d04b1811e256abce9296c9c8547c9b7f8005adfb3 -EBUILD calendar-0.9.1-r1.ebuild 636 BLAKE2B daa79ee020fb60a151bd609abdc63c98b6babe9b8683e3ccfee26c95f41b5cd51c97935b8a6fcdd6e80e868ce7281fc7c491ba80c16b706323ff0a1edc4974cf SHA512 07c45d10f1765746ee30b103cb7f55841c3a1077b1783c683376f9d51d3d6d27374d509105c0e521409145b986d8ba047261b34c2943202c56698be0471fbb92 +EBUILD calendar-0.9.1-r1.ebuild 635 BLAKE2B d5f6b5787d41456f6008ac386246691bfdf95c714cde9fd0e28ca9877afa9e13f08ab147a2486c5a8cf10164e0d85451fa9d9811dfa38359663ba2419326c3c3 SHA512 7fa46be4e28d8275bc1c84dda763c9011312c48a9b1a7c1e9ddfa9b12c84b8213df3c75fe037b6cb997362779913650f85658590c24c38edcb5a4f1a8b1aa45d EBUILD calendar-0.9.1.ebuild 641 BLAKE2B 194b76a151bc43eb13e99f2ffa6cb0b3538f96b5aa3c79b52c1bc6f271c26492dc7cc7be4358f7138bfc5ea0819cdcb725e38788dc4ff69bb36c7b77059dd67b SHA512 24d3ca5ae255af3344c3ca2f9ff02af292ca388c7377d2f585e5be00ef6c4753f1ed2e81077138183be9b86eab087fe0861254fa1d3d651f9e4c42e2fc1d7651 MISC metadata.xml 346 BLAKE2B 365bbcf4fca5fb793b4b9499b021c028eb13d1634d21a1c1627cd528c0fe77c195f7f789ee7cce987297ed8e8e20cc9937e83f6d5292b3878a25426488a3d691 SHA512 9fb15d47c1b5ea5eba7614339ed44e8812550589416f8fdb5aa02dfc899c95b782526577f97a24e024c0298e09af634b8a3dc27474755728d81866100c8d066d diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild index 2d8dc85b28d2..a645952daef0 100644 --- a/app-misc/calendar/calendar-0.9.1-r1.ebuild +++ b/app-misc/calendar/calendar-0.9.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://bsdcalendar.sourceforge.net/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86" DOCS=( README ) diff --git a/app-misc/khal/Manifest b/app-misc/khal/Manifest index 1301f92c16be..686651cb9849 100644 --- a/app-misc/khal/Manifest +++ b/app-misc/khal/Manifest @@ -1,3 +1,5 @@ DIST khal-0.9.7.tar.gz 173401 BLAKE2B a0ab87f8ff4546f589b7cc05586c1aa36cf80760234df00241d9eaaced3bcf37bb8b4bb282c39491f69c9ad6fea0f89af3836c29e23294356847bb88fce645b8 SHA512 24fd1ee472971f029f998b061da719a0dfe4ee9584a5ea237b6cf0c886b5c45d7a7ee4bf9c23c41eb0dd0c5eba0bcabed7a5f05ae486a890150429031e215180 +DIST khal-0.9.8.tar.gz 173717 BLAKE2B d17a355bd4eddaaf3cf838bac6e66f6a4a72170d6e166aa9fe00d44295031d336651bbb74e2ab73a6ae85275f02f8bf035b6798e280055dd6e38dd139f30c6c8 SHA512 4c47bd18e7458ca7a6adf0684872923b4e49e6bfe481269cf9f77dee29dd47dbacf0d557890080618b4d3f08766fc8fae32de7682167642f0705e5b3b6b5dc01 EBUILD khal-0.9.7.ebuild 1207 BLAKE2B d7cfe30f0bc7bddab804832f705d4e71ad800886a98a9dc0fc2b6db98bbda40cd49a150cce0081d40ff69ad270eafd9ffe29e4c9f1a3858c92baa2e6187dbf21 SHA512 d7ca15a1a4003b4da7ae77e8917c5746b55c35c4286bdf82dbd8acf14ed0c468151466d5f279d4a4b5b066a48d9f6b48ec5f53bc7f109bf825184e9e53b62166 +EBUILD khal-0.9.8.ebuild 1206 BLAKE2B e27a03775b1c98238e145746743ccb8fe3c8d28633816dc6f8da37becc4b9933c21a354cc459c0276f65bf7369dd4e625954bdd65428f1726145d4aa1aea4b3c SHA512 0f73cd31b3d77d8e5b224ad310abff1ce32ea8fe05ee4a8302fffc601e98ef29debf89f9921cea5c2c0c97bdc066388ea558cfe32854f1b588cd02cd840b5fa3 MISC metadata.xml 284 BLAKE2B 4707a8b6986fae8507e28c42ab61a8cad2b420743fccb5cbfa1bd28b1b4cd507903a3dc59e82411309ae03cf94f10a393a24e94627a15c9698ad26ead19d3db6 SHA512 f820693ee6476d881b86783e810e6be3ad1df41f35dc1c30d03f44551ae71b1e5a99a1aa5f8543ffa15a0a5a1e420193c57d6ef4b88fa98257bf0d4f2fab5934 diff --git a/app-misc/khal/khal-0.9.8.ebuild b/app-misc/khal/khal-0.9.8.ebuild new file mode 100644 index 000000000000..ad2991cf1a98 --- /dev/null +++ b/app-misc/khal/khal-0.9.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A CalDAV based calendar" +HOMEPAGE="http://lostpackets.de/khal/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="zsh-completion" + +RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}] + >=dev-python/click-log-0.1.3[${PYTHON_USEDEP}] + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}] + >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + zsh-completion? ( app-shells/zsh )" +DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}] + dev-python/freezegun" + +DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample ) + +src_install() { + distutils-r1_src_install + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins misc/__khal + fi +} diff --git a/app-misc/mosquitto/Manifest b/app-misc/mosquitto/Manifest index a113d38e0ab9..66ef3f92f9ac 100644 --- a/app-misc/mosquitto/Manifest +++ b/app-misc/mosquitto/Manifest @@ -2,5 +2,6 @@ AUX mosquitto 559 BLAKE2B 16a34850c13d9fd6007b5fbd26b4db9e31caa0ee91b8eee8dbca60 AUX mosquitto-1.4.10-conditional-tests.patch 1142 BLAKE2B 66be5988681be543a1c9d61bbd47baa528be1d8d8b1206e7d711b0d7789aba41ae8bd28e2729d084c6bb64fc43386e31a426717b0719c5c26219d3fa0a166455 SHA512 d07a081830fe7d23db380033c0c68d366bf60652f86c43a39074faa9bbcc6286485aad225226b64ef3055b4bd7a6c6969fa9ddd97eb2e6d8d98e815a881e634c AUX mosquitto.service 261 BLAKE2B 6ea8059914acf8730f2e7d04bfd5f79c59a335b65ddecb4773bb4418260c6ed6d0120eaa2e3f7ba4842fc7014e5b51d1ba376cf1db2009b7a55a53a4e6747221 SHA512 3552618733fc106705375c5a1126db72e356694705312072f27f18e21c142cd75ae3ff1f17854ce54cdee092ff9e01fd75c1a8a12d68f75ead8a3697c69623e9 DIST mosquitto-1.4.14.tar.gz 365596 BLAKE2B 92bcb1fd9e67711d6ce8db5e767be31a1321866205cf4cad684d8b77a8b14a2eaf5e4367a74d5dd8f814f0d229dc77ce878879632c0c34c6a23f7975bf6ae8c7 SHA512 dc75a971354f87deeb79f32435acfae9bc561a1a24a75ee4940a35176ff91758071930d2105d8dee2a090e07527dbfaa5692bece67e03cc87e8b4b8b46f846c2 +EBUILD mosquitto-1.4.14-r1.ebuild 2462 BLAKE2B e747f7751b56d1f93a460985e19555fd7fdb1bf08540eec7ab2107ad8165797de2363f0383eeaab4b2bc5011d830022f63ec5baf73804a1f0492c03a7632de3b SHA512 59f100a47c98636c82f4ca5b4d2edb0c1e6399ef25d95dd62f576f9694b11fef32d01dc58c63d69d5aa4bd119dd467199f3d49d19760be9b8220ff7420749c0c EBUILD mosquitto-1.4.14.ebuild 2453 BLAKE2B e8785e9f2dcd4d8d1a627dff29a895b0ff1f149b0a63454371b31ff241a42e7bbb7288c7a5becf3175cafe29c4da11e5fd656f8bb311cb892909929e62e93034 SHA512 a7ce7e5f393cf6508415c044a51518891f7a953ecdaa680f952cfbfdb8905561a017b0a7dad5281d9fee41c909331b26712c0466a33e345a232d538ffafb2a7f -MISC metadata.xml 450 BLAKE2B 84dde075b0191289f092fb86400867c2cf347b66019350fbcd9b07ef5f0831a4f60e1a794135aad9c2215d99e08ded2d07f79473f36e4c1d7bdbc557d734dbbe SHA512 2abbb3c943e8f18b9a2da9d7761de88c8eff032877013b680c48e516f551ea3dd395d3945c7c7c2fca8c518f19d96978fe823d3fa7534b6cd7f72f27cef24707 +MISC metadata.xml 656 BLAKE2B 58ecef974e662c6dccf267ba8732116010a3db7679d6ee3e163cd351073a210f0bb06e5098945564f048353caf4ed7fe73d69bc96cce42c56ba298073fe95384 SHA512 2034ecb6ff73024cd905d275da23b27568d897dd616ca70a2485922667a74d4ac1d6df11b0a7a413bc8d595962697959e4cbe13c8934e8b3333c6a4e290d657f diff --git a/app-misc/mosquitto/metadata.xml b/app-misc/mosquitto/metadata.xml index 16890c32f16c..2b05da7a5d48 100644 --- a/app-misc/mosquitto/metadata.xml +++ b/app-misc/mosquitto/metadata.xml @@ -1,7 +1,14 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>ramage.lucas@openmailbox.org</email> + <name>Lucas Ramage</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="bridge">Enable bridge support in the MQTT broker.</flag> <flag name="persistence">Store messages and subscriptions to a file.</flag> diff --git a/app-misc/mosquitto/mosquitto-1.4.14-r1.ebuild b/app-misc/mosquitto/mosquitto-1.4.14-r1.ebuild new file mode 100644 index 000000000000..96530da48cb2 --- /dev/null +++ b/app-misc/mosquitto/mosquitto-1.4.14-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit systemd user toolchain-funcs python-any-r1 + +DESCRIPTION="An Open Source MQTT v3 Broker" +HOMEPAGE="http://mosquitto.org/" +SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz" +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="bridge examples +persistence +srv ssl tcpd websockets" + +RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + srv? ( net-dns/c-ares ) + websockets? ( net-libs/libwebsockets )" + +pkg_setup() { + enewgroup mosquitto + enewuser mosquitto -1 -1 -1 mosquitto +} + +src_prepare() { + eapply "${FILESDIR}/${PN}-1.4.10-conditional-tests.patch" + if use persistence; then + sed -i -e "s:^#autosave_interval:autosave_interval:" \ + -e "s:^#persistence false$:persistence true:" \ + -e "s:^#persistence_file:persistence_file:" \ + -e "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" \ + mosquitto.conf || die + fi + + # Remove prestripping + sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\ + client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die + + python_setup + python_fix_shebang test + eapply_user +} + +src_configure() { + LIBDIR=$(get_libdir) + makeopts=( + "CC=$(tc-getCC)" + "LIB_SUFFIX=${LIBDIR:3}" + "WITH_BRIDGE=$(usex bridge)" + "WITH_PERSISTENCE=$(usex persistence)" + "WITH_SRV=$(usex srv)" + "WITH_TLS=$(usex ssl)" + "WITH_WEBSOCKETS=$(usex websockets)" + "WITH_WRAP=$(usex tcpd)" + ) +} + +src_compile() { + emake "${makeopts[@]}" +} + +src_test() { + emake "${makeopts[@]}" test +} + +src_install() { + emake "${makeopts[@]}" DESTDIR="${D}" prefix=/usr install + keepdir /var/lib/mosquitto + fowners mosquitto:mosquitto /var/lib/mosquitto + dodoc readme.md CONTRIBUTING.md ChangeLog.txt + doinitd "${FILESDIR}"/mosquitto + insinto /etc/mosquitto + doins mosquitto.conf + systemd_dounit "${FILESDIR}/mosquitto.service" + + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + insinto "/usr/share/doc/${PF}/examples" + doins -r examples/* + fi +} + +pkg_postinst() { + elog "" + elog "The Python module has been moved out of mosquitto." + elog "See http://mosquitto.org/documentation/python/" + elog "" + elog "To start the mosquitto daemon at boot, add it to the default runlevel with:" + elog "" + elog " rc-update add mosquitto default" + elog " or" + elog " systemctl enable mosquitto" +} |