Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 303681 Details for
Bug 383455
app-misc/openplacos/openplacos-0.3.0.ebuild New ebuild, latest stable releases on x86 and amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openplacos-0.3.0-r3.ebuild
file_383455.txt (text/plain), 4.40 KB, created by
jaypeche@gmail.com
on 2012-02-29 06:56:30 UTC
(
hide
)
Description:
openplacos-0.3.0-r3.ebuild
Filename:
MIME Type:
Creator:
jaypeche@gmail.com
Created:
2012-02-29 06:56:30 UTC
Size:
4.40 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit eutils git-2 > >DESCRIPTION="This utility is used to create a low cost home automation system controlled by computer" >HOMEPAGE="http://openplacos.tuxfamily.org/" > >EGIT_REPO_URI="git://github.com/openplacos/openplacos.git" >EGIT_BRANCH="master" >EGIT_COMMIT="a68afd6621dc8db2672f5ab3561c895d1387d76f" > >OPOS_PATH="/usr/lib/ruby/openplacos" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="x86 amd64" >IUSE="-arduino -debug -gtk2" > >DEPEND="dev-vcs/git > sys-apps/dbus > dev-lang/ruby > dev-db/mysql > >=dev-ruby/rubygems-1.3.7-r1 > arduino? ( dev-embedded/arduino ) > gtk2? ( dev-ruby/ruby-gnome2 > >=x11-libs/gtk+-2.20.1 )" > >pkg_setup() { > enewgroup dialout > enewuser openplacos -1 -1 -1 dialout >} > >src_unpack () { > git-2_src_unpack ${A} > cd "${S}" > if use debug; then > epatch "${FILESDIR}/${P}-debug.diff" || die "epatch failed !" > else > epatch "${FILESDIR}/${P}-gentoo.diff" || die "epatch failed !" > fi >} > >src_install () { > > # Copying files > einfo > einfo "Copying files" > insinto ${OPOS_PATH} > cp -dpR * ${D}/${OPOS_PATH} || die "copy failed !" > > # Ruby on Rails files (TODO: fix upstream) > dodir ${OPOS_PATH}/plugins/rorplacos/{tmp,log} || die "dodir failed !" > fowners -R openplacos ${OPOS_PATH}/plugins/rorplacos/{tmp,log} || die "fowners failed !" > > einfo "Linking common executables files" > # OPOS Server > dohard ${OPOS_PATH}/server/main.rb /usr/bin/openplacos-server || die > fperms +x /usr/bin/openplacos-server || die > > # CLI Client > dohard ${OPOS_PATH}/clients/CLI_client/opos-client.rb /usr/bin/openplacos || die > fperms +x /usr/bin/openplacos || die > > # XML-RPC Client > dohard ${OPOS_PATH}/clients/xml-rpc/xml-rpc-client.rb /usr/bin/openplacos-xmlrpc || die > fperms +x /usr/bin/openplacos-xmlrpc || die > > # SOAP Client > dohard ${OPOS_PATH}/clients/soap/soap-client.rb /usr/bin/openplacos-soap || die > fperms +x /usr/bin/openplacos-soap || die > > # GTK Client > if use gtk2 ; then > dohard ${OPOS_PATH}/clients/deprecated/gtk/gtk.rb /usr/bin/openplacos-gtk || die > fperms +x /usr/bin/openplacos-gtk || die > fi > > einfo "Checking default drivers permissions" > fperms a+x ${OPOS_PATH}/drivers/VirtualPlacos/{VirtualPlacos.rb,compensation_hygro.rb} || die "fperms failed !" > > einfo "Copying default configuration" > insinto /etc/default > doins server/config_with_VirtualPlacos_and_RoR.yaml || die "doins failed" > mv -f ${D}/etc/default/config_with_VirtualPlacos_and_RoR.yaml ${D}/etc/default/openplacos || die "move failed !" > > einfo "Copying Dbus integration files" > insinto /usr/share/dbus-1/system-services > doins setup_files/*.service || die "doins failed !" > insinto /etc/dbus-1/system.d > doins setup_files/openplacos.conf || die > insinto /etc/udev/rules.d/ > doins setup_files/10-openplacos.rules || die > > einfo "Installing daemon file" > doinitd setup_files/openplacos || die "doinitd failed !" >} > >pkg_postinst() { > > # Gems Bundler install for opos > einfo > einfo "OpenplacOS bundle install" > einfo "This could take a while.. please wait..." > gem install bundler --bindir /usr/bin --no-ri --no-rdoc || die "gem install failed !" > cd ${OPOS_PATH} && bundle install || die "bundle install failed !" > > einfo > einfo "Rails bundle install" > einfo "This could take a while.. please wait..." > cd ${OPOS_PATH}/plugins/rorplacos/ && bundle install || die "bundle install failed !" > > einfo > /etc/init.d/dbus reload || die > > einfo > einfo "Before running OpemplacOS for first time" > einfo "You should proceed your database configuration" > einfo "Please provide MySQL root password" > einfo > einfo "# /etc/init.d/mysql start" > einfo "# /usr/bin/mysqladmin -u root -h localhost password 'new-password'" > einfo > einfo "# mysql -u root -p < /usr/lib/ruby/openplacos/setup_files/install.sql" > einfo "# rc-update add mysql default" > > einfo > einfo "Start OpenplacOS daemon" > einfo "# /etc/init.d/openplacos start" > einfo "# rc-update add openplacos default" > > if use gtk2 ; then > einfo > einfo "Now, you can launch GTK client for example" > einfo "$ /usr/bin/openplacos-gtk" > else > einfo > einfo "Now, you can launch web interface for example," > einfo "URL: http://localhost:3000/login" > fi > > einfo > einfo "Look at http://openplacos.tuxfamily.org for more information" > einfo >}
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 383455
:
286863
|
286865
|
286867
|
286869
|
293417
|
293419
|
303679
| 303681 |
303683
|
303685
|
303687
|
303689
|
326300
|
326302
|
326304