From bd49c4c0c442481b297defb2c43e281dcf877cb8 Mon Sep 17 00:00:00 2001 From: gdt Date: Mon, 21 Aug 2006 13:19:33 +0000 Subject: This program is a replacement for phdisk.exe that allows you to create a save2dsk.bin hibernation file for Phoenix notebios laptops. It works with most IBM Thinkpads. --- sysutils/tphdisk/DESCR | 3 +++ sysutils/tphdisk/Makefile | 21 +++++++++++++++++++++ sysutils/tphdisk/PLIST | 2 ++ sysutils/tphdisk/distinfo | 6 ++++++ sysutils/tphdisk/patches/patch-aa | 12 ++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 sysutils/tphdisk/DESCR create mode 100644 sysutils/tphdisk/Makefile create mode 100644 sysutils/tphdisk/PLIST create mode 100644 sysutils/tphdisk/distinfo create mode 100644 sysutils/tphdisk/patches/patch-aa (limited to 'sysutils') diff --git a/sysutils/tphdisk/DESCR b/sysutils/tphdisk/DESCR new file mode 100644 index 00000000000..896a46b3517 --- /dev/null +++ b/sysutils/tphdisk/DESCR @@ -0,0 +1,3 @@ +This program is a replacement for phdisk.exe that allows you to create +a save2dsk.bin hibernation file for Phoenix notebios laptops. It +works with most IBM Thinkpads. diff --git a/sysutils/tphdisk/Makefile b/sysutils/tphdisk/Makefile new file mode 100644 index 00000000000..b78fee33b33 --- /dev/null +++ b/sysutils/tphdisk/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ + +DISTNAME= tphdisk +PKGNAME= tphdisk-20050112 +CATEGORIES= sysutils +MASTER_SITES= http://samba.anu.edu.au/ftp/unpacked/junkcode/ +EXTRACT_SUFX= .c + +MAINTAINER= gdt@NetBSD.org +HOMEPAGE= http://samba.anu.edu.au/ftp/unpacked/junkcode/ +COMMENT= Create hibernation partitions for Thinkpads + +WRKSRC= ${WRKDIR} + +do-build: + cd ${WRKSRC} && cc -o tphdisk tphdisk.c + +do-install: + cd ${WRKSRC} && ${INSTALL_PROGRAM} tphdisk ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/tphdisk/PLIST b/sysutils/tphdisk/PLIST new file mode 100644 index 00000000000..57f533d5612 --- /dev/null +++ b/sysutils/tphdisk/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ +bin/tphdisk diff --git a/sysutils/tphdisk/distinfo b/sysutils/tphdisk/distinfo new file mode 100644 index 00000000000..baf0744753f --- /dev/null +++ b/sysutils/tphdisk/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ + +SHA1 (tphdisk.c) = e13233642ac8b1514492097a43ab8529841422bf +RMD160 (tphdisk.c) = 16e7fe2e42fa0694fa2686129dd977653f706a42 +Size (tphdisk.c) = 2847 bytes +SHA1 (patch-aa) = 8fc91ceedb8f84828323215056a622d706456f84 diff --git a/sysutils/tphdisk/patches/patch-aa b/sysutils/tphdisk/patches/patch-aa new file mode 100644 index 00000000000..f3f8e8de89d --- /dev/null +++ b/sysutils/tphdisk/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $ + +--- tphdisk.c.orig 2006-08-21 09:16:45.000000000 -0400 ++++ tphdisk.c +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + + typedef unsigned short u16; -- cgit v1.2.3