Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255497 Details for
Bug 291437
new ebuild: net-im/spectrum (xmpp transport system)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
spectrum-1.4.4.ebuild
spectrum-1.4.4.ebuild (text/plain), 3.08 KB, created by
Conrad Kostecki
on 2010-11-26 14:47:49 UTC
(
hide
)
Description:
spectrum-1.4.4.ebuild
Filename:
MIME Type:
Creator:
Conrad Kostecki
Created:
2010-11-26 14:47:49 UTC
Size:
3.08 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ >EAPI=2 > >inherit cmake-utils > >DESCRIPTION="Spectrum is an XMPP transport/gateway" >HOMEPAGE="http://spectrum.im" > >SRC_URI="http://spectrum.im/attachments/download/30/spectrum-${PV}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" > >IUSE="mysql sqlite symlinks tools" > >RDEPEND=">=dev-libs/poco-1.3.3[mysql?,sqlite?] > >=net-im/pidgin-2.6.0 > >=net-libs/gloox-1.0 > dev-python/xmpppy" >DEPEND="${RDEPEND} > sys-devel/gettext > dev-util/cmake" > >pkg_setup() { > if ! ( use sqlite || use mysql ); then > ewarn "No database use flag set!" > ewarn "You need to enable the mysql or sqlite use flag!" > die > fi >} >src_unpack() { > unpack ${A} >} > >src_install () { > cmake-utils_src_install > > # Install transports with seperate config files (default). > # If USE="symlinks" is set, install one config file with symlinks to all transports. > if ! use symlinks ; then > insinto /etc/spectrum > for protocol in aim facebook gg icq irc msn msn_pecan myspace qq simple sipe twitter xmpp yahoo; do > sed -e 's,S2P,'${protocol}',g' "${FILESDIR}/spectrum.cfg" > "${WORKDIR}/${protocol}.cfg" || die > doins "${WORKDIR}/${protocol}.cfg" || die > > sed -e 's,S2P,'${protocol}',g' "${FILESDIR}/spectrum.initd" > "${WORKDIR}/spectrum.initd.${protocol}" || die > newinitd "${WORKDIR}/spectrum.initd.${protocol}" "spectrum.${protocol}" || die > > sed -e 's,S2P,'${protocol}',g' "${FILESDIR}/spectrum.confd" > "${WORKDIR}/spectrum.confd.${protocol}" || die > newconfd "${WORKDIR}/spectrum.confd.${protocol}" "spectrum.${protocol}" || die > done > else > insinto /etc/spectrum > newins "${FILESDIR}/spectrum.symlink.cfg" "spectrum.cfg" || die > port=5437 > for protocol in aim facebook gg icq irc msn msn_pecan myspace qq simple sipe twitter xmpp yahoo; do > dosym "${IMAGE}/etc/spectrum/spectrum.cfg" "${IMAGE}/etc/spectrum/${protocol}:${port}.cfg" || die > port=$[${port}+1] > done > fi > > # Directories > dodir "${IMAGE}/var/lib/spectrum" || die > dodir "${IMAGE}/var/log/spectrum" || die > dodir "${IMAGE}/var/run/spectrum" || die > > # Directories for each transport > for protocol in aim facebook gg icq irc msn msn_pecan myspace qq simple sipe twitter xmpp yahoo; do > dodir "${IMAGE}/var/lib/spectrum/$protocol/database" || die > dodir "${IMAGE}/var/lib/spectrum/$protocol/userdir" || die > dodir "${IMAGE}/var/lib/spectrum/$protocol/filetransfer_cache" || die > done > > # Install mysql schema > if use mysql; then > insinto "${IMAGE}/usr/share/spectrum/schemas" > doins schemas/* || die > fi > > # Install misc tools > if use tools; then > insinto "${IMAGE}/usr/share/spectrum/tools" > doins tools/* || die > fi >} > >pkg_postinst() { > # Set correct rights > chown jabber:jabber -R "${IMAGE}/etc/spectrum" || die > chown jabber:jabber -R "${IMAGE}/var/lib/spectrum" || die > chown jabber:jabber -R "${IMAGE}/var/log/spectrum" || die > chown jabber:jabber -R "${IMAGE}/var/run/spectrum" || die > chmod 750 "${IMAGE}/etc/spectrum" || die > chmod 750 "${IMAGE}/var/lib/spectrum" || die > chmod 750 "${IMAGE}/var/log/spectrum" || die > chmod 750 "${IMAGE}/var/run/spectrum" || die >}
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 291437
:
208961
|
208984
|
208985
|
208986
|
209125
|
212809
|
212911
|
217077
|
225245
|
228411
|
228413
|
244171
|
244173
|
244209
|
244211
|
244213
|
244215
|
244549
|
251281
|
252359
|
255489
|
255491
|
255493
|
255495
|
255497
|
255499
|
255957
|
255959
|
258324
|
258563
|
259538
|
261173
|
261180
|
267675
|
267677
|
273479
|
276647
|
280513
|
307613
|
307723
|
308523
|
308525
|
311029
|
311031
|
311041
|
311343
|
326774
|
326776