Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355266 Details for
Bug 320159
app-misc/mosquitto - a message broker implementing the MQ Telemetry Transport protocol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
update for mosquitto-1.2
mosquitto-1.2.ebuild (text/plain), 2.77 KB, created by
Neil Bothwick
on 2013-08-06 20:26:16 UTC
(
hide
)
Description:
update for mosquitto-1.2
Filename:
MIME Type:
Creator:
Neil Bothwick
Created:
2013-08-06 20:26:16 UTC
Size:
2.77 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="4" >PYTHON_DEPEND="python? 2:2.6 3" >SUPPORT_PYTHON_ABIS="1" > >inherit eutils flag-o-matic multilib python > >DESCRIPTION="An Open Source MQTT v3 Broker" >HOMEPAGE="http://mosquitto.org/" > >if [[ "${PV}" == "${PV%%_rc[0-9]}" ]]; then > SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz" >else > SRC_URI="http://mosquitto.org/files/source/rc/${P/_/~}.tar.gz" > S="${WORKDIR}/${P/_/~}" >fi > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="bridge examples +persistence python ssl tcpd" > >RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) > ssl? ( >=dev-libs/openssl-1.0.0 )" >DEPEND="${RDEPEND}" > >pkg_setup() { > if use python; then > python_pkg_setup > fi > > enewuser mosquitto >} > >src_prepare() { > if use python; then > python_copy_sources lib/python > python_src_prepare > fi > > # Don't automatically build Python module > sed -i "s:\$(MAKE) -C python:#:g" lib/Makefile || die > > if use persistence; then > sed -i "s:^#autosave_interval:autosave_interval:" mosquitto.conf || die > sed -i "s:^#persistence false$:persistence true:" mosquitto.conf || die > sed -i "s:^#persistence_file:persistence_file:" mosquitto.conf || die > sed -i "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" mosquitto.conf || die > fi >} > >src_configure() { > local LIBDIR=$(get_libdir) > makeopts="LIB_SUFFIX=${LIBDIR:3}" > if use bridge ; then > makeopts="${makeopts} WITH_BRIDGE=yes" > else > makeopts="${makeopts} WITH_BRIDGE=no" > fi > if use persistence ; then > makeopts="${makeopts} WITH_PERSISTENCE=yes" > else > makeopts="${makeopts} WITH_PERSISTENCE=no" > fi > if use ssl ; then > makeopts="${makeopts} WITH_TLS=yes" > else > makeopts="${makeopts} WITH_TLS=no" > fi > if use tcpd ; then > makeopts="${makeopts} WITH_WRAP=yes" > else > makeopts="${makeopts} WITH_WRAP=no" > fi > einfo "${makeopts}" >} > >src_compile() { > emake || die > if use python; then > python_execute_function -d -s --source-dir lib/python > fi >} > >src_install() { > emake install ${makeopts} DESTDIR="${D}" prefix=/usr || die "Install failed" > dodir /var/lib/mosquitto > dodoc readme.txt ChangeLog.txt || die "dodoc failed" > doinitd "${FILESDIR}"/mosquitto > > if use python; then > python_execute_function -d -s --source-dir lib/python prefix=/usr > fi > > if use examples; then > docompress -x "/usr/share/doc/${PF}/examples" > insinto "/usr/share/doc/${PF}/examples" > doins -r examples/* > if use python; then > doins lib/python/sub.py > fi > fi >} > >pkg_postinst() { > if use python; then > python_mod_optimize mosquitto.py > fi > > chown mosquitto: /var/lib/mosquitto > elog "To start mosquitto at boot, add it to the default runlevel with:" > elog "" > elog " rc-update add mosquitto default" >} > >pkg_postrm() { > if use python; then > python_mod_cleanup mosquitto.py > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 320159
:
231789
|
231985
|
234691
|
235491
|
235493
|
237111
|
255813
|
256027
|
256029
|
256282
|
256283
|
262713
|
266611
|
271957
|
271959
|
272947
|
287957
|
293283
|
298483
|
323496
|
325284
|
326814
|
330148
|
355266
|
362384
|
376978
|
376980
|
376982
|
376984
|
433088
|
433090
|
433146
|
433242
|
433244
|
433246
|
433258
|
433278
|
433280
|
433340
|
433346
|
433354
|
433402
|
435358
|
440076
|
440078