Package Details: powerpanel 1.3.2-2

Git Clone URL: https://aur.archlinux.org/powerpanel.git (read-only)
Package Base: powerpanel
Description: CyberPower UPS daemon
Upstream URL: http://www.cyberpowersystems.com
Keywords: CyberPower powerpanel UPS
Licenses: custom:CyberPower
Submitter: das-ich
Maintainer: None
Last Packager: jquagga
Votes: 16
Popularity: 0.013294
First Submitted: 2010-01-28 20:51
Last Updated: 2016-01-21 16:14

Dependencies (1)

Required by (0)

Sources (0)

Latest Comments

ArchNemo commented on 2017-02-13 02:07

Sorry, official website: https://www.cyberpowersystems.com/product/software/powerpanel-for-linux/

ArchNemo commented on 2017-02-13 01:49

As of 2017-02-12, the download link has been changed to this one:
x86_64: https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-x86_64.tar.gz
i686: https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-i386.tar.gz

Official website: https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-x86_64.tar.gz

You may need to Edit PKGBUILD with the URL above.

kirkyd commented on 2016-12-31 23:11

here's the changes I made to get things working:

--- PKGBUILD-old 2016-01-21 10:13:45.000000000 -0600
+++ PKGBUILD-new 2016-12-31 17:01:03.000000000 -0600
@@ -2,6 +2,7 @@
# Contributor: Kyle Keen <keenerd [at] gmail.com>, das-ich <das-ich [at] yandex.ru>
pkgname=powerpanel
pkgver=1.3.2
+pkgverdl=132 # dl link doesnt include the .'s
pkgrel=2
pkgdesc="CyberPower UPS daemon"
arch=("x86_64" "i686")
@@ -12,13 +13,15 @@
etc/pwrstatd.conf)

if [[ $CARCH = 'x86_64' ]]; then
- source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-$CARCH.tar.gz pwrstatd.service)
+ source=(https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-$pkgverdl-$CARCH.tar.gz pwrstatd.service)
+# source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-$CARCH.tar.gz pwrstatd.service)
md5sums=('d69233e117f92611931cb820bad141df'
'b945ff7c15ef206022c8df29a96338c8')
fi

if [[ $CARCH = 'i686' ]]; then
- source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-i386.tar.gz pwrstatd.service)
+ source=(https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-$pkgverdl-i386.tar.gz pwrstatd.service)
+# source=(http://www.cyberpowersystems.com/software/powerpanel-$pkgver-i386.tar.gz pwrstatd.service)
md5sums=('833f35179a8b0ca303698de08f048c8b'
'b945ff7c15ef206022c8df29a96338c8')
fi

lpc123 commented on 2016-12-27 19:47

Yeah - tried that already.. the site returns this with makepkg -s for the cloudfront link:

url: (22) The requested URL returned error: 403 Forbidden

jquagga commented on 2016-12-27 15:33

Yeah, you don't even need to change the pkgsums. The file has the same checksum; it just has a new URL. It seems they moved it to cloudfront. If you change the URL in the file it builds fine but I haven't tested the package. I'm unsubscribing from future notifications after this message as I'm not much help here. I did update the Archwiki with directions to use NUT if anyone wants to go that way. Good luck with whatever you do!

jquagga commented on 2016-12-27 12:33

If you update the source URL in the PKGBUILD, updpkgsums and then makepkg -s hopefully it'll still build. I stopped maintaining the package as I use network-ups-tools on all my Cyberpower UPS these days.

lpc123 commented on 2016-12-27 04:24

Package needs a new owner. I am a newbie - not capable enough to adopt. Version 1.3.1-2 is the current version.

Links on Cyberpower website are: (64-bit) https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-x86_64.tar.gz and (32-bit) https://dl4jz3rbrsfum.cloudfront.net/software/powerpanel-132-i386.tar.gz

I was not able to install with Packer

Retrieving sources...
-> Downloading powerpanel-1.3.2-x86_64.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 371 100 371 0 0 1899 0 --:--:-- --:--:-- --:--:-- 1892
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://www.cyberpowersystems.com/software/powerpanel-1.3.2-x86_64.tar.gz
Aborting...

jquagga commented on 2016-03-08 18:57

I've disowned the package since I've moved to network-ups-tools.

das-ich commented on 2014-12-05 12:09

pkg update

thanks, jquagga

jquagga commented on 2014-12-04 20:28

So, CyberPower is up to version 1.3.1 at the moment. You can basically update the package version in the PKGBUILD and rebuild with the newer version.

https://gist.github.com/jquagga/e2621fdd810ef24e0d87

That has a couple of other changes; adds the LICENSE file, etc.

F1nny commented on 2014-02-14 05:51

PKGBUILD broken again, around line 26 it tries to cd into the unpacked dir, it is something like $startdir/src/$pkgname or something of that sort and the /src needs to be removed from the middle, then builds no prob!

apoulos commented on 2013-09-05 15:47

PKGBUILD works without editing, now. Only problem I found was in /etc/powerpanel/pwrstatd-powerfail.sh and /etc/powerpanel/pwrstatd-lowbatt.sh; at the bottom, they refer to /etc/pwrstatd-email.sh when it should be /etc/powerpanel/pwrstatd-email.sh

aexoxea commented on 2013-06-08 15:48

Further to my comment below, I was able to get this package built and installed by modifying the PKGBUILD; see <https://bbs.archlinux.org/viewtopic.php?id=164841>.

aexoxea commented on 2013-06-03 16:56

Per <https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/>. As this is one of only a handful of packages on my system that are in need of patching/PKGBUILD updates, I will attempt to do so personally later in the week if there is no update by that time (I looked at doing so tonight, but it became clear identifying what needed to be changed would be complex in some cases -- or at least, complex for me -- and I lack the time for complex just this second).

Anonymous comment on 2013-02-24 20:48

with reguard to systemd unit file, the following worked for me. Create /etc/systemd/system/pwrstatd.service with the following content:

[Unit]
Description=CyberPower UPS

[Service]
ExecStart=/usr/sbin/pwrstatd

[Install]
WantedBy=multi-user.target

Then start the daemon with 'systemctl start pwrstatd'.

das-ich commented on 2013-02-14 08:28

add systemd unit file

lrm commented on 2013-02-12 14:57

any plans for systemd unit files for this guy?

das-ich commented on 2012-06-29 06:16

thanks, amstan

amstan commented on 2012-06-24 01:46

gzip should be a builddep.

And the last few commands at the bottom shouldn't be "/bin/gzip", because the "which gzip" says "/usr/bin/gzip". Ideally those /usr/share/man lines should start with just "gzip"

Anonymous comment on 2011-12-11 01:06

I try to start it as a daemon with "rc.d start pwrstatd". It says it started, but when I use "pwrstat -status" for example (as root), it says "Daemon service is not found. It says it has started with "rc.d status pwrstatd".

When I start it with "pwrstatd" as root, it works.

I think it's the daemon script that has a problem. I'll check it out at the end of the week.

Anonymous comment on 2011-12-11 01:06

I try to start it as a daemon with "rc.d start pwrstatd". It says it started, but when I use "pwrstat -status" for example (as root), it says "Daemon service is not found. It says it has started with "rc.d status pwrstatd".

When I start it with "pwrstatd" as root, it works.

I think it's the daemon script that has a problem. I'll check it out at the end of the week.

Anonymous comment on 2010-08-11 12:54

Just tried the new one with yaourt, built and installed perfectly and is working fine. Thank You.

das-ich commented on 2010-08-11 07:43

Thanks for reporting.
I has updated PKGBUILD
I has tried yaourt, and it has perfectly build package.

Anonymous comment on 2010-08-10 18:35

And when I try to just build it with makepkg -s I get:

==> WARNING: Invalid backup entry : etc/pwrstatd-powerfail.sh
==> WARNING: Invalid backup entry : etc/pwrstatd-lowbatt.sh
==> WARNING: Invalid backup entry : etc/pwrstatd-email.sh

Anonymous comment on 2010-08-10 18:13

I tried to install this with yaourt, but I keep getting an "unable to read PKGBUILD for powerpanel" and yaourt terminates.