Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 20 years ago
parent
commit
b1ba90f7c2
3 changed files with 109 additions and 0 deletions
  1. +38
    -0
      package/avm/lphdisk/gcc34.patch
  2. +23
    -0
      package/avm/lphdisk/lphdisk.conf
  3. +48
    -0
      package/avm/lphdisk/lphdisk.desc

+ 38
- 0
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) {

+ 23
- 0
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"

+ 48
- 0
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 <pda@procyon.com>
[M] Andreas V. 'netrunner' Meier <avmeier@web.de>
[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/

Loading…
Cancel
Save