From 0422753aaade435d4e5a11873415da605513f1dc Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Thu, 29 Jan 2004 09:38:18 +0000 Subject: [PATCH] added iostat git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2324 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/iostat/iostat.desc | 41 +++++++++++++++++++++ package/base/iostat/usr-loca-prefix.patch | 43 +++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 package/base/iostat/iostat.desc create mode 100644 package/base/iostat/usr-loca-prefix.patch diff --git a/package/base/iostat/iostat.desc b/package/base/iostat/iostat.desc new file mode 100644 index 000000000..470259e96 --- /dev/null +++ b/package/base/iostat/iostat.desc @@ -0,0 +1,41 @@ + +[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/base/iostat/iostat.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] Linux I/O performance monitoring utility + +[T] iostat is a command line I/O performance monitoring utility. + +[U] http://linux.inet.hr/ + +[A] +[M] Rene Rebe + +[C] base/tool + +[L] GPL +[S] Stable +[V] 2.0 +[P] X -----5---9 800.000 + +[D] 0 iostat-2.0.tar.gz http://linux.inet.hr/ + diff --git a/package/base/iostat/usr-loca-prefix.patch b/package/base/iostat/usr-loca-prefix.patch new file mode 100644 index 000000000..bee88f5a9 --- /dev/null +++ b/package/base/iostat/usr-loca-prefix.patch @@ -0,0 +1,43 @@ +# --- 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/base/iostat/usr-loca-prefix.patch +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +--- iostat-2.0/Makefile 2004-01-06 23:35:49.000000000 +0100 ++++ iostat-2.0-fix/Makefile 2004-01-29 10:34:56.000000000 +0100 +@@ -5,6 +5,8 @@ + CFLAGS = -g -O2 -Wall -fomit-frame-pointer + LDFLAGS = + ++prefix = /usr/local ++ + SRC = iostat.c + BIN = iostat + +@@ -14,9 +16,9 @@ + $(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS) + + install: $(BIN) +- install -d /usr/local/bin /usr/local/man/man8 +- install -o root -g root -m 755 -s iostat /usr/local/bin +- install -o root -g root -m 644 iostat.8 /usr/local/man/man8 ++ install -d $(prefix)/bin $(prefix)/man/man8 ++ install -o root -g root -m 755 -s iostat $(prefix)/bin ++ install -o root -g root -m 644 iostat.8 $(prefix)/man/man8 + + clean: + rm -f $(BIN) core