pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/tphdisk This program is a replacement for phd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/daf03b3a44c2
branches:  trunk
changeset: 517725:daf03b3a44c2
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Aug 21 13:19:33 2006 +0000

description:
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:

 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(+), 0 deletions(-)

diffs (64 lines):

diff -r c5d030d73cbe -r daf03b3a44c2 sysutils/tphdisk/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tphdisk/DESCR    Mon Aug 21 13:19:33 2006 +0000
@@ -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 -r c5d030d73cbe -r daf03b3a44c2 sysutils/tphdisk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tphdisk/Makefile Mon Aug 21 13:19:33 2006 +0000
@@ -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@localhost
+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 -r c5d030d73cbe -r daf03b3a44c2 sysutils/tphdisk/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tphdisk/PLIST    Mon Aug 21 13:19:33 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/21 13:19:33 gdt Exp $
+bin/tphdisk
diff -r c5d030d73cbe -r daf03b3a44c2 sysutils/tphdisk/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tphdisk/distinfo Mon Aug 21 13:19:33 2006 +0000
@@ -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 -r c5d030d73cbe -r daf03b3a44c2 sysutils/tphdisk/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tphdisk/patches/patch-aa Mon Aug 21 13:19:33 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index