Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584790 - net-dns/sleepproxyclient: A SleepProxyClient implementation
Summary: net-dns/sleepproxyclient: A SleepProxyClient implementation
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/awein/SleepProxyCl...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-06-01 18:14 UTC by hal
Modified: 2017-01-26 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,645 bytes, text/plain)
2016-06-01 18:14 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,644 bytes, text/plain)
2016-06-01 18:19 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,821 bytes, text/plain)
2016-06-01 22:36 UTC, hal
Details
Patch to find default config on Gentoo Linux (sleepproxyclient-0.7.3-find-config.patch,295 bytes, patch)
2016-06-01 22:36 UTC, hal
Details | Diff
Patch to call python2.7 explicitly (sleepproxyclient-0.7.3-python27.patch,514 bytes, patch)
2016-06-01 22:37 UTC, hal
Details | Diff
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,889 bytes, text/plain)
2016-06-01 23:54 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,1010 bytes, text/plain)
2016-06-06 18:35 UTC, hal
Details
Patch to find default config on Gentoo Linux (sleepproxyclient-0.7.3-find-config.patch,311 bytes, patch)
2016-06-06 18:36 UTC, hal
Details | Diff
Patch to find default config on Gentoo Linux (sleepproxyclient-0.7.3-find-config.patch,311 bytes, patch)
2016-06-06 18:37 UTC, hal
Details | Diff
Patch to call python2.7 explicitly (sleepproxyclient-0.7.3-python27.patch,530 bytes, patch)
2016-06-06 18:37 UTC, hal
Details | Diff
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,1007 bytes, text/plain)
2016-06-06 18:39 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,1.10 KB, text/plain)
2016-06-06 19:42 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,1.11 KB, text/plain)
2016-06-06 23:20 UTC, hal
Details
New ebuild for sleepproxyclient (sleepproxyclient-0.7.3.ebuild,1.14 KB, text/plain)
2016-06-07 00:03 UTC, hal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2016-06-01 18:14:25 UTC
Created attachment 436080 [details]
New ebuild for sleepproxyclient

Quote from https://github.com/awein/SleepProxyClient:


```
About
Wake on Demand (http://support.apple.com/kb/HT3774) is great. It enables an unused device to go to sleep while keeping the announced MDNS (Zeroconf) services alive. Just access one of the services and the device will be woken up again.

These scripts enables your Non-Apple server (or NAS) to save energy by going to sleep if it's currently not in use. But it will be instantly woken up again by the SleepProxyServer using Wake on Lan (WOL) if one of it's services is requested. See http://en.wikipedia.org/wiki/Bonjour_Sleep_Proxy for more details.

Requirements
To get this running, a SleepProxyServer on your local network is required. If present, it will announce itself via MDNS as _sleep-proxy._udp. Such a server is included in many Apple devices like its network products "Time Capsule" and "AirPort Express". But an Apple TV or any Mac running 10.6 or above can be turned into a sleep proxy server too.

Status
SleepProxyClient is pretty stable and ready for everyday use. Please report issues to make it even more stable.
```

Ebuild currently available at: https://github.com/frace/kodi-overlay
Comment 1 hal 2016-06-01 18:19:30 UTC
Created attachment 436082 [details]
New ebuild for sleepproxyclient
Comment 2 hal 2016-06-01 22:36:04 UTC
Created attachment 436106 [details]
New ebuild for sleepproxyclient
Comment 3 hal 2016-06-01 22:36:54 UTC
Created attachment 436108 [details, diff]
Patch to find default config on Gentoo Linux
Comment 4 hal 2016-06-01 22:37:26 UTC
Created attachment 436110 [details, diff]
Patch to call python2.7 explicitly
Comment 5 hal 2016-06-01 23:54:26 UTC
Created attachment 436116 [details]
New ebuild for sleepproxyclient
Comment 6 Alex Xu (Hello71) 2016-06-06 15:30:49 UTC
(In reply to hal from comment #5)
> Created attachment 436116 [details]
> New ebuild for sleepproxyclient

> EAPI="5"

add header, consider EAPI=6 for new ebuilds.

> RDEPEND="
> [ ... ]
> 	sys-power/upower-pm-utils

sys-power/upower will not work?

(In reply to hal from comment #4)
> Created attachment 436110 [details, diff] [details, diff]
> Patch to call python2.7 explicitly

use python-single-r1.eclass, ${EPYTHON}.
Comment 7 hal 2016-06-06 15:47:05 UTC
(In reply to Alex Xu (Hello71) from comment #6)
> (In reply to hal from comment #5)
> > Created attachment 436116 [details]
> > New ebuild for sleepproxyclient
> 
> > RDEPEND="
> > [ ... ]
> > 	sys-power/upower-pm-utils
> 
> sys-power/upower will not work?

Good question.
What it depends on is `sys-power/pm-utils` actually. Since I can't test it on a system based on `sys-apps/systemd` I made the ebuild depend on `sys-power/upower-pm-utils`.
Comment 8 hal 2016-06-06 18:35:48 UTC
Created attachment 436704 [details]
New ebuild for sleepproxyclient

Incorporated fixes as suggested.
Comment 9 hal 2016-06-06 18:36:26 UTC
Created attachment 436706 [details, diff]
Patch to find default config on Gentoo Linux

Upgraded patch to work with EAPI 6
Comment 10 hal 2016-06-06 18:37:08 UTC
Created attachment 436708 [details, diff]
Patch to find default config on Gentoo Linux

Upgraded patch to work with EAPI 6
Comment 11 hal 2016-06-06 18:37:34 UTC
Created attachment 436710 [details, diff]
Patch to call python2.7 explicitly

Upgraded patch to work with EAPI 6
Comment 12 hal 2016-06-06 18:39:53 UTC
Created attachment 436712 [details]
New ebuild for sleepproxyclient

Cosmetics
Comment 13 hal 2016-06-06 19:42:59 UTC
Created attachment 436722 [details]
New ebuild for sleepproxyclient

Added evaluation to emerge live git sources
Comment 14 hal 2016-06-06 23:20:49 UTC
Created attachment 436726 [details]
New ebuild for sleepproxyclient

Be more specific with patch naming
Comment 15 hal 2016-06-07 00:03:15 UTC
Created attachment 436728 [details]
New ebuild for sleepproxyclient

Added sys-devel/bc as a dependency
Comment 16 hal 2017-01-25 22:40:55 UTC
Pull request: https://github.com/gentoo/gentoo/pull/3654
Comment 17 hal 2017-01-26 13:07:31 UTC
(In reply to hal from comment #16)
> Pull request: https://github.com/gentoo/gentoo/pull/3654

Updated pull request: https://github.com/gentoo/gentoo/pull/3655