1 |
commit: 774f69ba399f8e47633426257c0106b6cbb1df50 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 17:37:58 2019 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 17:39:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774f69ba |
7 |
|
8 |
sys-power/suspend: fix checksum buffer size |
9 |
|
10 |
Closes: https://bugs.gentoo.org/687386 |
11 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
12 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
13 |
|
14 |
sys-power/suspend/Manifest | 1 + |
15 |
sys-power/suspend/metadata.xml | 1 + |
16 |
sys-power/suspend/suspend-1.0_p20190605.ebuild | 60 ++++++++++++++++++++++++++ |
17 |
3 files changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/sys-power/suspend/Manifest b/sys-power/suspend/Manifest |
20 |
index 36f7d408c65..5c4c2f3d50b 100644 |
21 |
--- a/sys-power/suspend/Manifest |
22 |
+++ b/sys-power/suspend/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST suspend-1.0_p20120915.tar.xz 111080 BLAKE2B 99eea1d9808219373501001f0af90973c9176c1b19d62bff7be26886b11ebb514134b68434e9b453146ef1a4af2c4cc8e26326b956a1b2378c38c100638af17c SHA512 bb714b4a7c0f5749c4b711a5c38ca5d8cb5078176a75387957123f75cfe8348adc3aa4e96335eb65c14ad1dd2f99fd6dbca3b415525dd39b3c547f9b13b775be |
25 |
DIST suspend-1.0_p20150810.patch.xz 6172 BLAKE2B 026aee69c59119b2d51ec1bf396633b2a3df018c95eecc53106a2d99017169a95951f8296a4962b32e5ea4c8d8cf4ea77f693367866137390048bc137456fe4d SHA512 cb186bdb0619ed4852e2ba12d6048f26fa23c7556d7c95713f14a4258fbb014bbec2281edee6478ebf5916600b674d47d8ba53e7644391de933b03e9fd1b96e9 |
26 |
+DIST suspend-1.0_p20190605.patch.xz 6224 BLAKE2B 0eefbef5a8d777590f69c85b02edb5575a357b373b78d94846e2c2bd59430cbd55af59ee0e676faa7f60388cb3910adb2182dedadb1fdc1df38a409411ea2df1 SHA512 cf576a029b35306368cbdabb9863965e055198920b86eab7205083f3502ae69ec3e8a4267fb6ceaaf1560a8bdb0c59543453f1baad4758c8adc4ac4ae92736bc |
27 |
|
28 |
diff --git a/sys-power/suspend/metadata.xml b/sys-power/suspend/metadata.xml |
29 |
index 886b7a4a794..4c01d221abe 100644 |
30 |
--- a/sys-power/suspend/metadata.xml |
31 |
+++ b/sys-power/suspend/metadata.xml |
32 |
@@ -10,5 +10,6 @@ |
33 |
</use> |
34 |
<upstream> |
35 |
<remote-id type="sourceforge">suspend</remote-id> |
36 |
+ <remote-id type="github">bircoph/suspend</remote-id> |
37 |
</upstream> |
38 |
</pkgmetadata> |
39 |
|
40 |
diff --git a/sys-power/suspend/suspend-1.0_p20190605.ebuild b/sys-power/suspend/suspend-1.0_p20190605.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..4987f5237b2 |
43 |
--- /dev/null |
44 |
+++ b/sys-power/suspend/suspend-1.0_p20190605.ebuild |
45 |
@@ -0,0 +1,60 @@ |
46 |
+# Copyright 1999-2019 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+inherit autotools |
52 |
+ |
53 |
+BASE_PV="1.0_p20120915" |
54 |
+ |
55 |
+DESCRIPTION="Userspace Software Suspend and S2Ram" |
56 |
+HOMEPAGE="http://suspend.sourceforge.net |
57 |
+https://github.com/bircoph/suspend" |
58 |
+SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${PN}-${BASE_PV}.tar.xz |
59 |
+ https://dev.gentoo.org/~bircoph/patches/${P}.patch.xz" |
60 |
+ |
61 |
+LICENSE="GPL-2" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="crypt +lzo threads" |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ dev-libs/libx86 |
68 |
+ >=sys-apps/pciutils-2.2.4 |
69 |
+ crypt? ( |
70 |
+ >=dev-libs/libgcrypt-1.6.3:0[static-libs] |
71 |
+ dev-libs/libgpg-error[static-libs] ) |
72 |
+ lzo? ( >=dev-libs/lzo-2[static-libs] ) " |
73 |
+DEPEND="${RDEPEND}" |
74 |
+BDEPEND=" |
75 |
+ >=dev-lang/perl-5.10 |
76 |
+ virtual/pkgconfig" |
77 |
+ |
78 |
+S="${WORKDIR}/${PN}" |
79 |
+ |
80 |
+PATCHES=( "${WORKDIR}/${P}.patch" ) |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ eautoreconf |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ econf \ |
89 |
+ --docdir="/usr/share/doc/${PF}" \ |
90 |
+ --disable-fbsplash \ |
91 |
+ $(use_enable crypt encrypt) \ |
92 |
+ $(use_enable lzo compress) \ |
93 |
+ $(use_enable threads) |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ dodir etc |
98 |
+ emake DESTDIR="${D}" install |
99 |
+ rm "${D}/usr/share/doc/${PF}"/COPYING* || die |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ elog "In order to make this package work with genkernel see:" |
104 |
+ elog "https://bugs.gentoo.org/show_bug.cgi?id=156445" |
105 |
+} |