diff --git a/hardware/powermanagement/suspend/actions.py b/hardware/powermanagement/suspend/actions.py index 045c5a933c..f46e9ad3d5 100644 --- a/hardware/powermanagement/suspend/actions.py +++ b/hardware/powermanagement/suspend/actions.py @@ -12,9 +12,9 @@ from pisi.actionsapi import get def setup(): #autotools.autoreconf("-vif") + shelltools.system("sh autogen.sh") autotools.configure("--enable-threads \ --enable-compress \ - --enable-plymouth \ --disable-encrypt \ --disable-resume-static \ --with-initramfsdir=/usr/sbin") @@ -23,8 +23,9 @@ def build(): autotools.make() def install(): + pisitools.dodir("/etc") autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.removeDir("/dev") + #pisitools.removeDir("/dev") shelltools.touch("%s/etc/suspend.key" % get.installDIR()) diff --git a/hardware/powermanagement/suspend/files/suspend-1.0_p20150810.patch.xz b/hardware/powermanagement/suspend/files/suspend-1.0_p20150810.patch.xz new file mode 100644 index 0000000000..3497b85034 Binary files /dev/null and b/hardware/powermanagement/suspend/files/suspend-1.0_p20150810.patch.xz differ diff --git a/hardware/powermanagement/suspend/pspec.xml b/hardware/powermanagement/suspend/pspec.xml index c777611038..d13ed2afab 100644 --- a/hardware/powermanagement/suspend/pspec.xml +++ b/hardware/powermanagement/suspend/pspec.xml @@ -13,29 +13,15 @@ app:console A set of tools to support sleep modes suspend package allows users to suspend-to-ram, suspend-to-disk, and suspend-to-both. - http://sourceforge.net/projects/suspend/files/suspend/suspend-1.0/suspend-utils-1.0.tar.bz2 + http://dev.gentoo.org/~bircoph/distfiles/suspend-1.0_p20120915.tar.xz lzo-devel - pciutils-devel + pciutils-devel libx86-devel - plymouth-devel + libgcrypt-devel - suse/suspend-comment-configfile-options.diff - suse/suspend-default-compress.diff - suse/suspend-default-splash.diff - suse/suspend-0.80-dont-return-eintr-on-abort.diff - - suse/suspend-0.80-keygen-new-defaults.diff - suse/suspend-0.80-vbetool-retry-on-errors.diff - - mandriva/suspend-0.8-printf_format.patch - - - - resume-dont-ask-questions.patch - suppress-outputs.patch - + suspend-1.0_p20150810.patch.xz @@ -44,7 +30,6 @@ lzo libx86 - plymouth-core-libs pciutils @@ -52,6 +37,7 @@ /etc/suspend.key /usr/sbin /usr/share/doc + /usr/share/man suse/configure-suspend-encryption.sh @@ -60,8 +46,8 @@ - 2014-03-09 - 1.0 + 2016-04-02 + 1.0_p20120915 First release Varol Maksutoğlu waroi@pisilinux.org