From b1ba90f7c2739b2f75f2bbb7a51792ea5bf73b15 Mon Sep 17 00:00:00 2001 From: "Andreas V. 'netrunner' Meier" Date: Mon, 2 Aug 2004 09:53:18 +0000 Subject: [PATCH] Andreas V. Meier: add avm/lphdisk [2004072717431301292] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3764 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/avm/lphdisk/gcc34.patch | 38 +++++++++++++++++++++++++ package/avm/lphdisk/lphdisk.conf | 23 +++++++++++++++ package/avm/lphdisk/lphdisk.desc | 48 ++++++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 package/avm/lphdisk/gcc34.patch create mode 100644 package/avm/lphdisk/lphdisk.conf create mode 100644 package/avm/lphdisk/lphdisk.desc diff --git a/package/avm/lphdisk/gcc34.patch b/package/avm/lphdisk/gcc34.patch new file mode 100644 index 000000000..fb88860be --- /dev/null +++ b/package/avm/lphdisk/gcc34.patch @@ -0,0 +1,38 @@ +diff -ruN lphdisk-0.9.1/lphdisk.c lphdisk-0.9.1-new/lphdisk.c +--- lphdisk-0.9.1/lphdisk.c 2002-02-12 12:04:27.000000000 +0100 ++++ lphdisk-0.9.1-new/lphdisk.c 2004-07-27 17:36:39.772379624 +0200 +@@ -719,20 +719,20 @@ + {0,0,0,0}}; + + const char usage_string[] = "\ +-Usage: %1$s [options] [device] +-Prepare a hibernation partition for APM suspend-to-disk. +- +-options: +- -h, --help Display brief usage and option information (this screen) +- -p, --probeonly Only calculate and display required size, do not format +- -q, --quiet Turn off informational messages, useful for scripts +- -d, --debug Turn on (verbose) debugging messages +- -n, --nowrite Do not actually write to the disk +- -f, --force **DANGEROUS** Format without regard to potential problems +- +-'device' should be a raw disk device (not a partition). The default device +-is /dev/hda. +- ++Usage: %1$s [options] [device]\n\ ++Prepare a hibernation partition for APM suspend-to-disk.\n\ ++\n\ ++options:\n\ ++ -h, --help Display brief usage and option information (this screen)\n\ ++ -p, --probeonly Only calculate and display required size, do not format\n\ ++ -q, --quiet Turn off informational messages, useful for scripts\n\ ++ -d, --debug Turn on (verbose) debugging messages\n\ ++ -n, --nowrite Do not actually write to the disk\n\ ++ -f, --force **DANGEROUS** Format without regard to potential problems\n\ ++\n\ ++'device' should be a raw disk device (not a partition). The default device\n\ ++is /dev/hda.\n\ ++\n\ + (%2$s)\n\n"; + + void print_usage (void) { diff --git a/package/avm/lphdisk/lphdisk.conf b/package/avm/lphdisk/lphdisk.conf new file mode 100644 index 000000000..1ff6657e6 --- /dev/null +++ b/package/avm/lphdisk/lphdisk.conf @@ -0,0 +1,23 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/avm/lphdisc/lphdisc.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +var_append makeinstopt " " "INSTALL_PREFIX=$root/$prefix" diff --git a/package/avm/lphdisk/lphdisk.desc b/package/avm/lphdisk/lphdisk.desc new file mode 100644 index 000000000..23b9fdee9 --- /dev/null +++ b/package/avm/lphdisk/lphdisk.desc @@ -0,0 +1,48 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/avm/lphdisc/lphdisc.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] utility for preparing a hibernation partition for APM Suspend-To-Disk + +[T] lphdisk is a Linux utility to format hibernation partitions for use +[T] with the APM Suspend-To-Disk features on laptops with Phoenix NoteBIOS. +[T] While one does not need this utility to use this notebook feature, if the +[T] memory size ever changes, disk gets upgraded/repartitioned, the hibernation +[T] partition may need to be recreated. Until now, this could only be +[T] accomplished by booting off of a DOS floppy and using a buggy utility +[T] called PHDISK.EXE provided either straight from Phoenix Technologies or the +[T] hardware manufacturer/distributor. + +[U] http://www.procyon.com/~pda/lphdisk/ + +[A] Patrick D. Ashmore +[M] Andreas V. 'netrunner' Meier + +[C] extra/tool + +[L] OpenSource +[S] Stable +[V] 0.9.1 +[P] X -----5---9 800.000 + +[D] 1251588017 lphdisk-0.9.1.tar.gz http://www.procyon.com/~pda/lphdisk/ +