summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-08-21 13:19:33 +0000
committergdt <gdt@pkgsrc.org>2006-08-21 13:19:33 +0000
commitbd49c4c0c442481b297defb2c43e281dcf877cb8 (patch)
tree482fd4cd229c6a7e3257d42868c22d5eb4901f16 /sysutils
parent35f2c3461cd39a995ff63dead5bf4dc3d770f834 (diff)
downloadpkgsrc-bd49c4c0c442481b297defb2c43e281dcf877cb8.tar.gz
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.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tphdisk/DESCR3
-rw-r--r--sysutils/tphdisk/Makefile21
-rw-r--r--sysutils/tphdisk/PLIST2
-rw-r--r--sysutils/tphdisk/distinfo6
-rw-r--r--sysutils/tphdisk/patches/patch-aa12
5 files changed, 44 insertions, 0 deletions
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 <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+
+ typedef unsigned short u16;