# HG changeset patch # User Hans-G?nter Theisgen # Date 1658152521 -3600 # Node ID 65021c2417fe3da9a6c8cf2b9927b91ed34d633b # Parent 2f18a0e99af7a3a0fdb27864b2b5516000f18126 updated reptyr (0.7.0 -> 0.9.0) diff -r 2f18a0e99af7 -r 65021c2417fe reptyr/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/reptyr/description.txt Mon Jul 18 14:55:21 2022 +0100 @@ -0,0 +1,5 @@ +Reptyr is a utility for taking an existing running program and attaching +it to a new terminal. +Started a long-running process over ssh, but have to leave and don't want +to interrupt it? Just start a screen, use reptyr to grab it, and then kill +the ssh session and head on home. diff -r 2f18a0e99af7 -r 65021c2417fe reptyr/receipt --- a/reptyr/receipt Mon Jul 18 14:37:03 2022 +0100 +++ b/reptyr/receipt Mon Jul 18 14:55:21 2022 +0100 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="reptyr" -VERSION="0.7.0" +VERSION="0.9.0" CATEGORY="system-tools" -SHORT_DESC="Reparent a running program to a new terminal" +SHORT_DESC="Reparent a running program to a new terminal." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="https://github.com/nelhage/reptyr" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/nelhage/reptyr" WGET_URL="$WEB_SITE/archive/$TARBALL" DEPENDS="" @@ -22,17 +23,14 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|/usr/local|/usr|' Makefile sed -i 's|PTRACE_GETREGSET|0x4204|;s|PTRACE_SETREGSET|0x4205|' \ platform/linux/linux_ptrace.c - make && - make DESTDIR=$DESTDIR install + make PREFIX=/usr && + make install PREFIX=/usr DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin } -