diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2015-06-21 04:05:52 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2015-06-21 04:05:52 +0300 |
commit | 41ca6f5ecca536e75790c5882465293b069f3f72 (patch) | |
tree | fe2c002e65b09b632d322ccbc6967ee21ef31da5 /sys-power | |
parent | libgcrypt: fixed in the portage tree (diff) | |
download | bircoph-41ca6f5ecca536e75790c5882465293b069f3f72.tar.gz bircoph-41ca6f5ecca536e75790c5882465293b069f3f72.tar.bz2 bircoph-41ca6f5ecca536e75790c5882465293b069f3f72.zip |
suspend: add live version, supports >=libgcrypt-1.6
Ported to new libgcrypt API, see #494638.
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/suspend/ChangeLog | 128 | ||||
-rw-r--r-- | sys-power/suspend/Manifest | 3 | ||||
-rw-r--r-- | sys-power/suspend/metadata.xml | 15 | ||||
-rw-r--r-- | sys-power/suspend/suspend-9999.ebuild | 58 |
4 files changed, 204 insertions, 0 deletions
diff --git a/sys-power/suspend/ChangeLog b/sys-power/suspend/ChangeLog new file mode 100644 index 0000000..34e3cc0 --- /dev/null +++ b/sys-power/suspend/ChangeLog @@ -0,0 +1,128 @@ +# ChangeLog for sys-power/suspend +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/ChangeLog,v 1.29 2015/04/29 19:35:35 mrueg Exp $ + + 29 Apr 2015; Manuel Rüger <mrueg@gentoo.org> + -files/suspend-overflow-gentoo.patch, -suspend-0.8-r1.ebuild: + Remove old. + + 01 Mar 2014; Michał Górny <mgorny@gentoo.org> suspend-0.8-r1.ebuild, + suspend-1.0.ebuild: + Update libgcrypt dep to use slot :0. + + 16 Jan 2014; Michael Weber <xmw@gentoo.org> suspend-0.8-r1.ebuild, + suspend-1.0.ebuild: + needs old libgcrypt (bug 494638) + + 11 May 2013; Agostino Sarubbo <ago@gentoo.org> suspend-1.0.ebuild: + Stable for x86, wrt bug #469386 + + 11 May 2013; Agostino Sarubbo <ago@gentoo.org> suspend-1.0.ebuild: + Stable for amd64, wrt bug #469386 + + 30 Apr 2013; Michael Weber <xmw@gentoo.org> + +files/suspend-1.0-automake-1.13.patch, suspend-1.0.ebuild: + Fix automake-1.13, thanks F. Delente, bug 467950. + + 22 May 2012; Michael Weber <xmw@gentoo.org> suspend-1.0.ebuild, + +files/suspend-1.0-bzip2.patch: + Fix freetype[bzip2] link problem (bug 416955, thanks tokiclover) + + 04 May 2012; Jeff Horelick <jdhore@gentoo.org> suspend-0.8-r1.ebuild, + suspend-1.0.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 15 May 2011; Michael Weber <xmw@gentoo.org> -suspend-0.8.ebuild: + Removed old version + + 15 May 2011; Michael Weber <xmw@gentoo.org> suspend-0.8-r1.ebuild, + -suspend-0.9_pre0.ebuild, -files/suspend-0.9_pre0-errno.patch, + suspend-1.0.ebuild, +files/suspend-1.0-errno.patch: + Removed old versions, reviewed -1.0.ebuild, added USE=static-libs to + dev-libs/lzo, dev-libs/libgcrypt and dev-libs/libgpg-error (edit on stable + version, thanks to IAN DELANEY, bug 366807) + +*suspend-1.0 (05 May 2011) + + 05 May 2011; Michael Weber <xmw@gentoo.org> +suspend-1.0.ebuild: + Version bump, thanks to Aleksey Kunitskiy for the hint (bug 365327) + + 14 Feb 2011; Sebastian Pipping <sping@gentoo.org> suspend-0.9_pre0.ebuild: + For USE=crypt depend on dev-libs/libgcrypt[static-libs] and + dev-libs/libgpg-error[static-libs]. Compile errors reported by K. Posern. + + 31 Dec 2010; Michael Weber <xmw@gentoo.org> suspend-0.9_pre0.ebuild: + Add use-dep on dev-libs/lzo[static-libs] (thanks to alexxy and Stefan Botz + <sbotz@gmx.net> on bug 348453) + + 04 Oct 2010; Michael Weber <xmw@gentoo.org> suspend-0.9_pre0.ebuild, + +files/suspend-0.9_pre0-errno.patch: + Add errno.patch by Ole Craig <olc@macmillan-craig.net> on bug #339759, + thank you. + +*suspend-0.9_pre0 (03 Oct 2010) + + 03 Oct 2010; Michael Weber <xmw@gentoo.org> +suspend-0.9_pre0.ebuild: + Version bump to git tag, thanks to Kevin Pyle on bug 339521 + + 24 Jun 2010; Pacho Ramos <pacho@gentoo.org> suspend-0.8-r1.ebuild: + stable amd64, bug 322491 + + 16 Jun 2010; Christian Faulhammer <fauli@gentoo.org> suspend-0.8-r1.ebuild: + stable x86, bug 322491 + +*suspend-0.8-r1 (10 May 2009) + + 10 May 2009; Daniel Black <dragonheart@gentoo.org> + +files/suspend-overflow-gentoo.patch, suspend-0.8.ebuild: + add amd64 fix as per bug #238511 thanks ferret. add crypt support in 0.8-r1. + remove amd64 for version =0.8. + + 16 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + + 28 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml: + Removing Alon Bar-Lev (alonbl) from metadata.xml (as per #147110). Assigning + to maintainer-needed. + + 01 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> suspend-0.8.ebuild: + Add prepalldocs + +*suspend-0.8 (01 Jan 2008) + + 01 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> +suspend-0.8.ebuild, + -suspend-0.9_pre20071208.ebuild: + Sync with upstream, not that it released all our work! The release is 0.8, + this is correct, sorry for the downgrade + +*suspend-0.9_pre20071208 (08 Dec 2007) + + 08 Dec 2007; Alon Bar-Lev <alonbl@gentoo.org> + -suspend-0.9_pre20071109.ebuild, +suspend-0.9_pre20071208.ebuild: + New snapshot + + 10 Nov 2007; Samuli Suominen <drac@gentoo.org> + suspend-0.9_pre20071109.ebuild: + Keyword ~amd64 wrt #197687. + +*suspend-0.9_pre20071109 (09 Nov 2007) + + 09 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org> + -suspend-0.9_pre20071001.ebuild, +suspend-0.9_pre20071109.ebuild: + Version bump + +*suspend-0.9_pre20071001 (01 Oct 2007) + + 01 Oct 2007; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml, + -suspend-0.9_pre20070917.ebuild, +suspend-0.9_pre20071001.ebuild: + Fix bug#194323 thanks to Jan Kundrát, resync with upstream + + 18 Sep 2007; Alon Bar-Lev <alonbl@gentoo.org> + suspend-0.9_pre20070917.ebuild: + Modify URI + +*suspend-0.9_pre20070917 (17 Sep 2007) + + 17 Sep 2007; Alon Bar-Lev <alonbl@gentoo.org> +metadata.xml, + +suspend-0.9_pre20070917.ebuild: + Initial add, bug#156431 diff --git a/sys-power/suspend/Manifest b/sys-power/suspend/Manifest new file mode 100644 index 0000000..80a8b21 --- /dev/null +++ b/sys-power/suspend/Manifest @@ -0,0 +1,3 @@ +EBUILD suspend-9999.ebuild 1358 SHA256 e88bf88a1b4205964f4ba947aba75f6916d90de5841480c44484fea5cd63d7f3 SHA512 4e58e086e57e0904df73b1f3941febcff5401f611b128a8efa3b47c9f981283c6c91957083c19ccd859120ccb70ce375b7c7b8dc0198c10b708570df6ead7323 WHIRLPOOL 185cb81ff6cbd599144441e06c244f9ae2cc74ea925299f4d241ab5da789cf28cb13d5c7ec4cdc63776c7902b365a87020a5bd13b69a0e04a0cb4b0f57658225 +MISC ChangeLog 4704 SHA256 0f55c285058e348cd93cc6bd6d0142ddc006f98206544e59c1f029b5febcb8d9 SHA512 b0b573cae9a64bddbc883eca0f2db2550cef3ca83e118a791d625c8b1a3230883dd13f12a4ce242f3b83850e6e41dabf8aee6de4bf9cbb054d52f960b7c7593b WHIRLPOOL e77a12790f94c772549cdf93a54696be997055b9f1eff5be7e252fc3d936f12c6b1439a338a292e75d8501c124e463b3cd196fc4c304d73fbdee539592d7f7c9 +MISC metadata.xml 461 SHA256 9a633660373b250a0c2633df4c4d5439552549885bbbb335a9b113cbf74a997e SHA512 72562dca1980eb0f3cca95f5fd2b7d963fcb1ed20b3a8f7ff940b4508ea8e0da3c9ae700936778ca5f9cca02c902d159f9535f9c4bee907f11b1217090141ca6 WHIRLPOOL f97a9f3d85f1e996be58f0e2b46d32b2007b4270ae4f8d2e97ffd1553a417d7234f8b499bdda16f258771804a6917f0d44c2badcb282fad1db7d4f6c815ea85a diff --git a/sys-power/suspend/metadata.xml b/sys-power/suspend/metadata.xml new file mode 100644 index 0000000..e40e74c --- /dev/null +++ b/sys-power/suspend/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> + <use> + <flag name="fbsplash">Add support for framebuffer splash</flag> + <flag name="crypt">Allows suspend and resume from encrypted disk</flag> + </use> + <upstream> + <remote-id type="sourceforge">suspend</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-power/suspend/suspend-9999.ebuild b/sys-power/suspend/suspend-9999.ebuild new file mode 100644 index 0000000..84fb2c7 --- /dev/null +++ b/sys-power/suspend/suspend-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/suspend/suspend-1.0.ebuild,v 1.9 2014/03/01 22:15:50 mgorny Exp $ + +EAPI=5 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/bircoph/suspend.git" +else + SRC_URI="mirror://sourceforge/${PN}/${P/-/-utils-}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${P/-/-utils-}" +fi + +inherit autotools + +DESCRIPTION="Userspace Software Suspend and S2Ram" +HOMEPAGE="http://suspend.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="crypt fbsplash +lzo threads" + +RDEPEND=" + dev-libs/libx86 + crypt? ( + >=dev-libs/libgcrypt-1.6.3:0[static-libs] + dev-libs/libgpg-error[static-libs] ) + fbsplash? ( >=media-gfx/splashutils-1.5.2 ) + lzo? ( >=dev-libs/lzo-2[static-libs] ) " +DEPEND="${RDEPEND} + >=sys-apps/pciutils-2.2.4 + virtual/pkgconfig" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + --docdir="/usr/share/doc/${PF}" \ + $(use_enable crypt encrypt) \ + $(use_enable fbsplash) \ + $(use_enable lzo compress) \ + $(use_enable threads) +} + +src_install() { + dodir etc + emake DESTDIR="${D}" install + rm "${D}/usr/share/doc/${PF}"/COPYING* || die +} + +pkg_postinst() { + elog "In order to make this package work with genkernel see:" + elog "http://bugs.gentoo.org/show_bug.cgi?id=156445" +} |