summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-06-07 07:15:07 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-06-07 07:15:07 +0000
commit095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5 (patch)
tree100ca7fad01b13198d1cbfaaab67634dbddb5a8b /app-laptop/lphdisk
parentMoving to app-laptop/lphdisk (diff)
downloadgentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.tar.gz
gentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.tar.bz2
gentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.zip
Moved from app-misc/lphdisk to app-laptop/lphdisk.
Diffstat (limited to 'app-laptop/lphdisk')
-rw-r--r--app-laptop/lphdisk/ChangeLog34
-rw-r--r--app-laptop/lphdisk/Manifest7
-rw-r--r--app-laptop/lphdisk/files/digest-lphdisk-0.9.11
-rw-r--r--app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r11
-rw-r--r--app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch41
-rw-r--r--app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild37
-rw-r--r--app-laptop/lphdisk/lphdisk-0.9.1.ebuild28
-rw-r--r--app-laptop/lphdisk/metadata.xml9
8 files changed, 158 insertions, 0 deletions
diff --git a/app-laptop/lphdisk/ChangeLog b/app-laptop/lphdisk/ChangeLog
new file mode 100644
index 000000000000..a3bfe09dd9cc
--- /dev/null
+++ b/app-laptop/lphdisk/ChangeLog
@@ -0,0 +1,34 @@
+# ChangeLog for app-misc/lphdisk
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/lphdisk/ChangeLog,v 1.1 2004/06/07 07:15:07 dragonheart Exp $
+
+ 07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/lphdisk-0.9.1-gcc3.patch, +lphdisk-0.9.1-r1.ebuild,
+ +lphdisk-0.9.1.ebuild:
+ Moved from app-misc/lphdisk to app-laptop/lphdisk.
+
+ 07 Jun 2004; Daniel Black <dragonheart@gentoo.org> lphdisk-0.9.1-r1.ebuild,
+ lphdisk-0.9.1.ebuild, +metadata.xml:
+ x86 stable
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> lphdisk-0.9.1-r1.ebuild:
+ Add inherit eutils
+
+*lphdisk-0.9.1-r1 (26 Apr 2004)
+
+ 26 Apr 2004; Alastair Tse <liquidx@gentoo.org>
+ +files/lphdisk-0.9.1-gcc3.patch, +lphdisk-0.9.1-r1.ebuild:
+ added patch for gcc3 compat (#36531)
+
+ 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> lphdisk-0.9.1.ebuild:
+ Don't assign default to S; header fix
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*lphdisk-0.9.1 (19 Jul 2002)
+
+ 19 Jul 2002; Chad Huneycutt <chadh@gentoo.org> lphdisk-0.9.1.ebuild:
+
+ Initial import.
+ ebuild submitted by Hannes Mehnert <hannes@mehnert.org>
+ree, so the best we can hope (and expect!) to receive is credit.
diff --git a/app-laptop/lphdisk/Manifest b/app-laptop/lphdisk/Manifest
new file mode 100644
index 000000000000..c2ea13f8b6f2
--- /dev/null
+++ b/app-laptop/lphdisk/Manifest
@@ -0,0 +1,7 @@
+MD5 b4603f265ebc3ac56111faeec8f6761f ChangeLog 1072
+MD5 2898f7404fe72bb28f6c6ab409ff6b2b lphdisk-0.9.1.ebuild 831
+MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 2950ad0d40a4d4c7a4cf8613c832a9ec lphdisk-0.9.1-r1.ebuild 944
+MD5 b2e9b7b29c9d01766a62fb786f08e03f files/digest-lphdisk-0.9.1 65
+MD5 b2e9b7b29c9d01766a62fb786f08e03f files/digest-lphdisk-0.9.1-r1 65
+MD5 7c50f50ecfb1e5fc612363f9dff0929e files/lphdisk-0.9.1-gcc3.patch 1564
diff --git a/app-laptop/lphdisk/files/digest-lphdisk-0.9.1 b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1
new file mode 100644
index 000000000000..c58958c296ef
--- /dev/null
+++ b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1
@@ -0,0 +1 @@
+MD5 2ba99b08e7816ff3249eaf953fb5dc18 lphdisk-0.9.1.tar.bz2 26343
diff --git a/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1 b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1
new file mode 100644
index 000000000000..c58958c296ef
--- /dev/null
+++ b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1
@@ -0,0 +1 @@
+MD5 2ba99b08e7816ff3249eaf953fb5dc18 lphdisk-0.9.1.tar.bz2 26343
diff --git a/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch b/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch
new file mode 100644
index 000000000000..19cc0d6cac81
--- /dev/null
+++ b/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch
@@ -0,0 +1,41 @@
+--- lphdisk-0.9.1/lphdisk.c
++++ lphdisk-0.9.1/lphdisk.c
+@@ -718,22 +718,22 @@
+ {"force", 0, 0, 'f'},
+ {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.
+-
+-(%2$s)\n\n";
++const char usage_string[] = ""
++"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) {
+ char *progname = rindex(argv0, '/');
diff --git a/app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild b/app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..77f6edfe0fb7
--- /dev/null
+++ b/app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/lphdisk/lphdisk-0.9.1-r1.ebuild,v 1.1 2004/06/07 07:15:07 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="utility for preparing a hibernation partition for APM Suspend-To-Disk"
+HOMEPAGE="http://www.procyon.com/~pda/lphdisk/"
+SRC_URI="http://www.procyon.com/~pda/lphdisk/${P}.tar.bz2"
+
+# <chadh@gentoo.org> I haven't actually tested that this doesn't work
+# on all the below - arches, but it won't work. This only works on x86
+# laptops with Phoenix NoteBIOS.
+
+SLOT="0"
+IUSE=""
+KEYWORDS="x86 -ppc -sparc -alpha"
+LICENSE="Artistic"
+DEPEND=">=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s:/usr/local:usr:" \
+ -e "s:-g -Wall:${CFLAGS}:" \
+ Makefile
+ epatch ${FILESDIR}/${P}-gcc3.patch
+}
+
+src_compile() {
+
+ make || die
+}
+
+src_install() {
+ dosbin lphdisk
+ doman lphdisk.8
+}
diff --git a/app-laptop/lphdisk/lphdisk-0.9.1.ebuild b/app-laptop/lphdisk/lphdisk-0.9.1.ebuild
new file mode 100644
index 000000000000..ba8236161c9d
--- /dev/null
+++ b/app-laptop/lphdisk/lphdisk-0.9.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/lphdisk/lphdisk-0.9.1.ebuild,v 1.1 2004/06/07 07:15:07 dragonheart Exp $
+
+DESCRIPTION="utility for preparing a hibernation partition for APM Suspend-To-Disk"
+HOMEPAGE="http://www.procyon.com/~pda/lphdisk/"
+SRC_URI="http://www.procyon.com/~pda/lphdisk/${P}.tar.bz2"
+
+# <chadh@gentoo.org> I haven't actually tested that this doesn't work
+# on all the below - arches, but it won't work. This only works on x86
+# laptops with Phoenix NoteBIOS.
+
+SLOT="0"
+IUSE=""
+KEYWORDS="x86 -ppc -sparc -alpha"
+LICENSE="Artistic"
+
+src_compile() {
+ sed -i -e "s:/usr/local:usr:" \
+ -e "s:-g -Wall:${CFLAGS}:" \
+ Makefile
+ make || die
+}
+
+src_install() {
+ dosbin lphdisk
+ doman lphdisk.8
+}
diff --git a/app-laptop/lphdisk/metadata.xml b/app-laptop/lphdisk/metadata.xml
new file mode 100644
index 000000000000..d8b96be3c5cd
--- /dev/null
+++ b/app-laptop/lphdisk/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>bug-wranglers@gentoo.org</email>
+ <description>This package lacks a primary herd or maintainer.</description>
+ </maintainer>
+</pkgmetadata>