Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128982 - sys-process/cryopid process freezer (new ebuild)
Summary: sys-process/cryopid process freezer (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://cryopid.berlios.de/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-04-05 17:25 UTC by Thomas Kear
Modified: 2012-04-19 01:50 UTC (History)
5 users (show)

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


Attachments
cryopid-0.5.9.ebuild (cryopid-0.5.9.ebuild,533 bytes, text/plain)
2006-04-05 17:26 UTC, Thomas Kear
Details
cryopid-0.5.9.ebuild (cryopid-0.5.9.ebuild,524 bytes, text/plain)
2006-04-05 19:37 UTC, Thomas Kear
Details
Patch 1 for cryopid 0.5.9.1 (cryopid_0.5.9.1-4build1.diff,4.57 KB, text/plain)
2009-03-03 04:13 UTC, Account removed
Details
Patch 1 for cryopid 0.5.9.1 (cryopid_0.5.9.1-4build1.diff,4.57 KB, patch)
2009-03-03 04:13 UTC, Account removed
Details | Diff
Patch 2 for cryopid 0.5.9.1 (user_h.patch,1.42 KB, patch)
2009-03-03 04:14 UTC, Account removed
Details | Diff
Ebuild for cryopid 0.5.9.1 (cryopid-0.5.9.1.ebuild,703 bytes, text/plain)
2009-03-03 04:15 UTC, Account removed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kear 2006-04-05 17:25:19 UTC
Description copied straight from http://cryopid.berlios.de/

CryoPID allows you to capture the state of a running process in Linux and save it to a file. This file can then be used to resume the process later on, either after a reboot or even on another machine.

CryoPID consists of a program called 'freeze' that captures the state of a running process and writes it into a file. The file is self-executing and self-extracting, so to resume a process, you simply run that file.


Attaching cryopid-0.5.9.ebuild, working on cryopid-9999.ebuild to resolve assembler errors.
Should work for i386 but unable to test, upstream releases per-arch tarballs.
Comment 1 Thomas Kear 2006-04-05 17:26:19 UTC
Created attachment 84041 [details]
cryopid-0.5.9.ebuild
Comment 2 Thomas Kear 2006-04-05 19:37:34 UTC
Created attachment 84045 [details]
cryopid-0.5.9.ebuild

Install docs
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-06-02 17:58:03 UTC
Upstream looks dead, nothing new since nov 2005.
Also, why do they distribute per-arch tarballs?
Comment 4 Marco Lui 2006-06-20 23:55:58 UTC
Compiles successfully on my centrino-based laptop after commenting out my cflags in  make.conf. As for functionality I wasn't able to get it to freeze an emerge properly. Can't really think of any other use i'd have for it.
Comment 5 Jeremy Johnson 2008-03-27 21:39:28 UTC
I tried to build this on an i386 system, but it complains about missing "arch" program, so it is missing a compile time dependency.

I see this program hasn't been updated in years, but I was wondering if anyone has tried using it to suspend an acroread edit session. There seem to be no linux programs for filling in pdfs so that they can be edited later. acroread fills in pdfs but flattens the form data with the form, so that re-editing is impossible (unless you write on an overlay image of the pdf using flpsed or scribus or kword -- but the image overlay looks pixelated)
Comment 6 Account removed 2009-03-03 04:13:50 UTC
Created attachment 183737 [details]
Patch 1 for cryopid 0.5.9.1
Comment 7 Account removed 2009-03-03 04:13:54 UTC
Created attachment 183738 [details, diff]
Patch 1 for cryopid 0.5.9.1
Comment 8 Account removed 2009-03-03 04:14:28 UTC
Created attachment 183740 [details, diff]
Patch 2 for cryopid 0.5.9.1
Comment 9 Account removed 2009-03-03 04:15:09 UTC
Created attachment 183741 [details]
Ebuild for cryopid 0.5.9.1
Comment 10 Account removed 2009-03-03 04:19:28 UTC
Hi,
I was able to compile cryopid 0.5.9.1 in linux 2.6.28 (after a lot troubles and searching + writing patches). My platform is amd64, so it might not compile in x86. The program works, but only for very simple processes (I successfully froze and restarted "top", e.g.).
TCP/IP and GTK support are switched off in the Makefile at the moment - turning them on turns to compile errors.
All the best
Stephan
Comment 11 Michael Weber (RETIRED) gentoo-dev 2012-04-19 01:49:31 UTC
Hello,

i tried to get this working (layman -a xmw ; emerge -av cryopid), but failed to get it linked. Any help would be appreciated.

Michael

http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=tree;f=sys-process/cryopid;hb=HEAD
Comment 12 Michael Weber (RETIRED) gentoo-dev 2012-04-19 01:50:01 UTC
Comment on attachment 183741 [details]
Ebuild for cryopid 0.5.9.1

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit eutils
>
>DESCRIPTION="Process freezing utility"
>HOMEPAGE="http://cryopid.berlios.de"
>SRC_URI="
>		amd64? ( http://dagobah.ucc.asn.au/wacky/cryopid-0.5.9.1-x86_64.tar.gz )
>		x86? ( http://dagobah.ucc.asn.au/wacky/cryopid-0.5.9.1-i386.tar.gz )"
>DEPEND="dev-libs/dietlibc"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64"
>
>src_unpack(){
>	unpack ${A}
>	cd "${S}"
>	epatch "${FILESDIR}/cryopid_0.5.9.1-4build1.diff"
>	epatch "${FILESDIR}/user_h.patch"
>}
>
>src_compile(){
>	cd ${S}/src
>	emake || die
>}
>
>src_install(){
>	dobin src/freeze src/fork2_helper
>	dodoc CREDITS ChangeLog README TODO
>}