Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326302 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]
[patch]
openplacos-9999-gentoo.diff
openplacos-9999-gentoo.diff (text/plain), 2.84 KB, created by
jaypeche@gmail.com
on 2012-10-11 17:17:59 UTC
(
hide
)
Description:
openplacos-9999-gentoo.diff
Filename:
MIME Type:
Creator:
jaypeche@gmail.com
Created:
2012-10-11 17:17:59 UTC
Size:
2.84 KB
patch
obsolete
>diff -urN openplacos.orig//Makefile.defs openplacos//Makefile.defs >--- openplacos.orig//Makefile.defs 1970-01-01 01:00:00.000000000 +0100 >+++ openplacos//Makefile.defs 2012-10-10 16:31:08.248349233 +0200 >@@ -0,0 +1,8 @@ >+OS=$(shell uname) >+DESTDIR="${D}" >+INSTALLDIR=/usr/lib/ruby/openplacos >+INITDIR=/etc/init.d >+UDEVDIR=/etc/udev/rules.d >+DBUSCONFDIR=/etc/dbus-1/system.d >+DEFAULTCONFDIR=/etc/default >+BINDIR=/usr/bin >diff -urN openplacos.orig//Makefile.defs-default openplacos//Makefile.defs-default >--- openplacos.orig//Makefile.defs-default 2012-10-09 17:17:22.328136546 +0200 >+++ openplacos//Makefile.defs-default 1970-01-01 01:00:00.000000000 +0100 >@@ -1,8 +0,0 @@ >-OS=$(shell uname) >-DESTDIR= >-INSTALLDIR=/usr/lib/ruby/openplacos >-INITDIR=/etc/init.d >-UDEVDIR=/etc/udev/rules.d >-DBUSCONFDIR=/etc/dbus-1/system.d >-DEFAULTCONFDIR=/etc/default >-BINDIR=/usr/bin >diff -urN openplacos.orig//setup_files/openplacos openplacos//setup_files/openplacos >--- openplacos.orig//setup_files/openplacos 2012-10-09 17:17:22.458136546 +0200 >+++ openplacos//setup_files/openplacos 2012-10-10 15:38:07.552976881 +0200 >@@ -1,31 +1,42 @@ >-#!/bin/bash >+#!/sbin/runscript >+# Copyright 1999-2011 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ > >-case "$1" in >- start) >- echo "Starting OpenplacOS" >- su -l openplacos -s /bin/sh -c "dbus-launch /usr/bin/openplacos-server -f /etc/default/openplacos &" >- if [ $? -gt 0 ]; then >- exit 1 >- else >- exit 0 >- fi >- ;; >- stop) >- echo "Stopping OpenplacOS" >- pkill openplacos -u openplacos >- if [ $? -gt 0 ]; then >- exit 1 >- else >- exit 0 >- fi >- >- ;; >- restart) >- $0 stop >- sleep 1 >- $0 start >- ;; >- *) >- echo "usage: $0 {start|stop|restart}" >-esac >-exit 0 >+DESCRIPTION="This utility is used to create a low cost home automation system controlled by computer" >+HOMEPAGE="http://openplacos.tuxfamily.org" >+ >+SVCNAME="openplacos-server" >+USER=openplacos >+DAEMON=/usr/bin/openplacos-server >+DBUS_LAUNCHER=/usr/bin/dbus-launch >+PIDFILE=/var/run/openplacos.pid >+CONFIGFILE=/etc/default/openplacos >+LOGFILE=/tmp/openplacos.log >+ >+depend() { >+ need dbus >+ after logger >+} >+ >+checkconfig() { >+ if [ ! -r ${CONFIGFILE} ]; then >+ eerror "ERROR: Unable to read configuration file: ${CONFIGFILE}" >+ return 1 >+ fi >+} >+ >+start() { >+ ebegin "Starting openplacos" >+ start-stop-daemon --start --quiet --user ${USER} \ >+ --exec ${DBUS_LAUNCHER} ${DAEMON} \ >+ --background --stdout ${LOGFILE} \ >+ --pidfile ${PIDFILE} --make-pidfile >+ eend $? "Failed to start openplacos !" >+} >+ >+stop() { >+ ebegin "Stopping openplacos" >+ start-stop-daemon --stop --quiet --user ${USER} --pidfile ${PIDFILE} >+ eend $? "Failed to stop openplacos !" >+}
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 383455
:
286863
|
286865
|
286867
|
286869
|
293417
|
293419
|
303679
|
303681
|
303683
|
303685
|
303687
|
303689
|
326300
| 326302 |
326304